:root{
  --teal: #0d2751;
  --teal-dark: #0f6b5e;
  --gold: #f2c200;
  --gold-dark: #e0b400;
  --cream: #fdfaf1;
}

*{ font-family: 'Poppins', sans-serif; }

body{ margin:0; 
  background-color: #ffffff;
    /* Tileable SVG pattern: a grid of thin diamond outlines.
       The pattern itself lives in a 60x60 tile, encoded as a data URI,
       so it repeats seamlessly with plain CSS background-repeat. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%231d7a70' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* ============ HERO SECTION ============ */
.hero{
  position: relative;
  min-height: 100vh;
  color:#fff;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  background:#1a1410; /* shows briefly while the first slide image loads */
}

/* ============ CAROUSEL ============ */
.hero-carousel{
  position:absolute;
  inset:0;
  z-index:1;
}
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item{
  height:100vh;
}
.hero-slide-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.slide-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(15,20,20,.55) 0%, rgba(15,20,20,.35) 40%, rgba(15,20,20,.75) 100%);
}

/* ============ NAVBAR ============ */
/* ============ NAVBAR ============ */
.custom-navbar {
  position: fixed;
  background: var(--teal);
  /* Use standard container padding/margins so it aligns with page content */
  width: calc(100% - 3rem);
  max-width: 1320px; /* Matches standard Bootstrap container max-width */
  left: 50%;
  transform: translateX(-50%);
  margin-top: 20px; /* Space from the very top of the viewport */
  border-radius: 14px;
  padding: 10px 2rem; /* Matches typical section padding */
  z-index: 10;
}
.nav-inner{ align-items:center; }

.logo-circle{
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: var(--teal);
}
.logo-circle img{
  width: 6em;
  height: 6em;
  letter-spacing:.5px;
  text-align:center;
  line-height:1.3;
}

.nav-links .nav-link{
  color: var(--gold);
  font-weight:600;
  font-size:.98rem;
  padding: .5rem .85rem;
}
.nav-links .nav-link:hover,
.nav-links .nav-link.active{
  color:#fff;
}
.nav-links .dropdown-menu{
  border:none;
  border-radius:10px;
  overflow:hidden;
}
.nav-links .dropdown-item:hover{
  background: var(--teal);
  color:#fff;
}

.translate-btn{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#fff;
  border:none;
  color: var(--teal-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  position:relative;
}
.translate-btn::after{
  content:"";
  position:absolute;
  top:2px;
  right:2px;
  width:8px;
  height:8px;
  background: var(--gold);
  border-radius:50%;
}

.apply-btn{
  background: var(--gold);
  color:#20241f;
  font-weight:700;
  border-radius:8px;
  padding: .6rem 1.4rem;
  border:none;
}
.apply-btn:hover{
  background: var(--gold-dark);
  color:#20241f;
}

/* ============ HERO CONTENT ============ */
.hero-carousel .carousel-item{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

/* ============ HERO CONTENT PADDING FIX ============ */
.hero-content {
  position: absolute;
  z-index: 2;
  width: 100%;
  max-width: 1320px; /* Matches your navbar's max-width */
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  top: 50%;
  padding: 0 2rem; /* Matches your navbar's left/right inner padding */
  box-sizing: border-box;
}

.hero-title{
  font-size: 4.2rem;
  font-weight: 800;
  margin-bottom: .6rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-subtitle{
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.join-btn{
  background: var(--gold);
  color:#20241f;
  font-weight:700;
  border-radius:6px;
  padding: .75rem 2rem;
  font-size:1.05rem;
  width: fit-content;
}
.join-btn:hover{
  background: var(--gold-dark);
  color:#20241f;
}

/* ============ BOTTOM STAGE TABS ============ */
.stage-tabs{
  position:absolute;
  left:3em;
  right:3em;
  bottom:0;
  z-index:3;
  padding: 0 60px 26px;
}
.stage-tab{
  padding-bottom: 6px;
  cursor:pointer;
}
.stage-label{
  display:block;
  font-weight:600;
  font-size:1.05rem;
  margin-bottom: 10px;
  text-shadow: 0 1px 6px rgba(0,0,0,.3);
}
.stage-progress{
  height:4px;
  width:100%;
  background: rgba(255,255,255,.35);
  border-radius: 2px;
  overflow:hidden;
}
.stage-fill{
  height:100%;
  width:0%;
  background:#fff;
}
.stage-fill.full{
  width:100%;
}
.stage-tab.active .stage-label{
  font-weight:700;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991.98px){
  .custom-navbar{ margin top: 14px; }
  .custom-navbar{
      width:100%;
      padding:auto;
  }
  .nav-links{ text-align:center; padding-top:.5rem; }
  .nav-right{ justify-content:center; margin-top:.75rem; }
  .hero-content{ padding: 0 24px; text-align:center; align-items:center; }
  .hero-title{ font-size: 2.6rem; }
  .join-btn{ margin: 0 auto; }
  .stage-tabs{ padding: 0 24px 20px; }
}


@media (max-width: 767.98px) {
    .about-section .row.g-5 {
        --bs-gutter-x: 2rem; /* down from 3rem (g-5) */
    }
}

  /* ============ SECTION SHELL ============ */
  .about-section{ padding: 5.5rem 0; background:#fff; }


   /* Hero image */
  .hero-wrap{
    position: relative;
    overflow: hidden;
  }
  .hero-wrap img{
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
  }

  /* Stats bar, overlapping the bottom of the hero image */
  .stats-bar{
    position: relative;
    margin-top: -80px;   /* pulls it up over the image */
    z-index: 5;
  }
  .stats-bar .stat-box{
    background: var(--teal);
    padding: 28px 10px 22px;
    text-align: center;
    color: #fff;
  }
  /* subtle separators between the three boxes */
  .stats-bar .col-md-4:not(:last-child) .stat-box{
    border-right: 1px solid rgba(255,255,255,0.15);
  }
  .stat-icon{
    color: var(--gold);
    font-size: 1.4rem;
    margin-right: 8px;
    vertical-align: middle;
  }
  .stat-number{
    font-size: 2.6rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .stat-label{
    color: var(--gold);
    font-size: 1rem;
    margin-top: 6px;
    letter-spacing: .3px;
  }

  @media (max-width: 767px){
    .stats-bar .col-md-4:not(:last-child) .stat-box{
      border-right: none;
      border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    .stat-number{ font-size: 2rem; }
  }



    /* Footer */




  .site-footer {
  background-color: var(--teal);
  background-image: 
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 40px);
  padding: 50px 0 30px;
  color: #fff;
}

/* Top row */
.footer-top {
  margin-bottom: 40px;
}

.footer-logo img {
  height: 80px;
  width: auto;
}

.footer-socials {
  gap: 15px;
}

.social-icon {
  width: 45px;
  height: 45px;
  background-color: #fff;
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background-color: #f0c419;
  color: #1a6b5c;
}

/* Bordered box */
.footer-box {
  border: 1px solid #d4b12a;
  border-radius: 20px;
  padding: 45px 40px;
  margin-bottom: 25px;
}

.footer-col h5 {
  font-family: 'Georgia', serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: #fff;
}

.footer-col ul li {
  margin-bottom: 14px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #f0c419;
}

.footer-col-border {
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 40px;
}

.working-hours {
  max-width: 280px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Bottom row */
.footer-bottom {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 10px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #f0c419;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-col-border {
    border-left: none;
    padding-left: 15px;
    margin-top: 30px;
  }
  .footer-box {
    padding: 30px 20px;
  }
  .footer-bottom {
    text-align: center;
    flex-direction: column;
    gap: 10px;
  }
}





  .about-section{
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    background-color: #ffffff;
    /* Tileable SVG pattern: a grid of thin diamond outlines.
       The pattern itself lives in a 60x60 tile, encoded as a data URI,
       so it repeats seamlessly with plain CSS background-repeat. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%231d7a70' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
  }
 
  .about-eyebrow{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--teal);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: .95rem;
    margin-bottom: 22px;
  }
  .about-eyebrow svg{
    color: var(--teal);
  }
 
  .about-heading{
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--ink);
  }
 
  .about-text{
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4a5555;
    max-width: 520px;
    margin-bottom: 34px;
  }
 
  .btn-about{
    background: var(--gold);
    border: none;
    color: #1c2b2a;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 1rem;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn-about:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(242,195,24,0.4);
    color: #1c2b2a;
  }
 
  .about-media{
    position: relative;
  }
  .about-media img{
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
  }
 
  @media (max-width: 991px){
    .about-heading{ font-size: 2.1rem; }
    .about-media{ margin-top: 50px; }
    .about-media img{ height: 380px; }
  }



   .mv-section{
    padding: 80px 0;
    position: relative;
    /* same faint diamond grid used on the page body */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%231d7a70' stroke-opacity='0.10' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
  }
 
  .mv-card{
    position: relative;
    background: var(--teal);
    border-radius: 24px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    /* faint contour-line texture on the teal panel, see SVG pattern below */
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.06' stroke-width='1.5'%3E%3Ccircle cx='70' cy='70' r='18'/%3E%3Ccircle cx='70' cy='70' r='34'/%3E%3Ccircle cx='70' cy='70' r='50'/%3E%3Ccircle cx='70' cy='70' r='66'/%3E%3C/g%3E%3C/svg%3E"),
      linear-gradient(var(--teal), var(--teal));
    background-repeat: repeat, no-repeat;
  }
 
  .mv-content{
    flex: 0 0 70%;
    max-width: 70%;
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
  }
  .mv-content h3{
    color: #fff;
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 18px;
  }
  .mv-content p{
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
  }
 
  .mv-values{
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mv-values li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255,255,255,0.92);
    font-size: .98rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }
  .mv-values li:last-child{
    margin-bottom: 0;
  }
  .mv-values svg{
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
  }
  .mv-values strong{
    color: #fff;
    font-weight: 600;
  }
 
  .mv-media{
    flex: 0 0 30%;
    max-width: 50%;
    position: relative;
  }
  .mv-media img{
    position: absolute;
    /*inset: 0;*/
    height: 100%;
    object-fit: cover;
    /* the signature swoop: huge curve top-left, sharp corner bottom-left */
    border-radius: 220px 0 0 0;

    /* Pushes the image container slightly to the right to create a neat offset */
    left: 20px; 
    width: calc(100% - 20px);
    height: 100%;
    /* Keeps your signature curved swoop intact */
    border-radius: 220px 0 0 0;
  }
 
  @media (max-width: 767px){
    .mv-card{
      flex-direction: column;
      min-height: auto;
    }
    .mv-content, .mv-media{
      flex: 0 0 100%;
      max-width: 100%;
    }
    .mv-media{
      height: 260px;
    }
    .mv-media img{
      border-radius: 0 0 24px 24px;
    }
    .mv-content{
      order: 1;
    }
    .mv-media{
      order: 2;
    }
  }




.blog-section {
  background-color: #fff;
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background-color: #ffffff;
    /* same faint diamond grid used on the page body */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%231d7a70' stroke-opacity='0.10' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

.text-teal {
  color: var(--teal);
}

.letter-spacing {
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.diamond-icon {
  font-size: 0.8rem;
}

.blog-card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.blog-card .card-img-top {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6c757d;
  flex-wrap: wrap;
}

.blog-card h5 {
  color: #1a1a2e;
  font-size: 1rem;
  line-height: 1.4;
}

.blog-card .card-body {
  padding: 1.25rem;
}
















.logos-section {
  background-color: #fff;
  overflow: hidden;
  /* Tileable SVG pattern: a grid of thin diamond outlines.
       The pattern itself lives in a 60x60 tile, encoded as a data URI,
       so it repeats seamlessly with plain CSS background-repeat. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%231d7a70' stroke-opacity='0.12' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

.logos-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 10%,
    #000 90%,
    transparent 100%
  );
}

.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: slide-logos 25s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0%);
  transition: transform 0.3s ease;
}

.logo-item img:hover {
  transform: scale(1.08);
}

@keyframes slide-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.logos-slider:hover .logos-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-item {
    padding: 0 20px;
  }
  .logo-item img {
    height: 60px;
  }
}



/* Fading image section */
.fade-image-section {
  position: relative;
  width: 100%;
  margin-top: -80px; /* pulls the image up so the fade overlaps the section above */
  z-index: 1;
}

.fade-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fade-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 180px, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 180px, #000 100%);
}

/* Extra soft overlay for a smoother blend into white */
.fade-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 220px;
  background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0) 100%);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 768px) {
  .fade-image {
    height: 320px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 100px, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 100px, #000 100%);
  }
  .fade-image-wrapper::before {
    height: 120px;
  }
}
