 :root{
    --fsm-green-dark:#0e3b2e;
    --fsm-green:#1f6f4a;
    --fsm-green-light:#e8f3ec;
    --fsm-clay:#8a5a3b;
    --fsm-text:#20302a;
    --fsm-muted:#5a6b63;
    --deep-green: #00381e;
    --light-green: #BDE1D0;
    --mid-green: #1c6b4d;
    --leaf-green: #2f8a5b;
    --clay: #e50202;
    --mint-bg: #eaf6ef;
    --mint-bg-2: #e3f3ea;
    --cream: #fbfdfb;
    --ink: #12291f;
  }

  *{box-sizing:border-box;}

  body{
    font-family:'Poppins', sans-serif;
    color:var(--fsm-text);
    background:#fff;
  }

  h1,h2,h3,h4{
    font-weight:600;
  }

  .swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

a {
    text-decoration: none;
}

  /* ---------- Top marquee bar ---------- */
  .top-bar{
    background:var(--fsm-green-light);
    font-size:.85rem;
    white-space:nowrap;
    overflow:hidden;
    border-bottom:1px solid #d7e6dd;
  }
  .top-bar .marquee{
    display:inline-block;
    padding-left:100%;
    animation:scrollLeft 60s linear infinite;
  }
  .top-bar .marquee span{ padding:0 .35rem; }
  .top-bar .highlight{ color:var(--fsm-clay); font-weight:600; }
  @keyframes scrollLeft{
    0%{ transform:translateX(0); }
    100%{ transform:translateX(-100%); }
  }

  /* ---------- Navbar ---------- */
  .navbar-custom {
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
    width: 100%;
    margin-left: 30px;
    margin-right: 30px;
    border-radius: 25px;
    z-index: 999;
}

@media(max-width:767px) {
    .navbar-custom {
        margin-left: 10px;
        margin-right: 10px;
    }
}

.navbar-brand img {
    width: 190px;
}

.brand-text {
    line-height: 1.05;
}

.brand-text .top {
    font-weight: 800;
    color: var(--ink);
    font-size: 1.05rem;
}

.brand-text .sub {
    font-size: .6rem;
    letter-spacing: .03em;
    color: #7a8a80;
}

.nav-link-custom {
    color: var(--ink);
    font-weight: 500;
    font-size: .92rem;
    padding: .4rem .7rem !important;
}

.nav-link-custom.active {
    color: var(--mid-green);
    font-weight: 700;
    border-bottom: 2px solid var(--mid-green);
}
  /* ---------- Hero ---------- */
  /* .hero{
    position:relative;
    min-height:420px;
    display:flex;
    align-items:center;
    overflow:hidden;
    background:#0e2233;
  } */
  .first_slider {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 40%, rgba(10, 20, 15, .55) 55%, rgba(135, 135, 135, 0.35) 100%),url("./slider1.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 130px 0;
}

.second_slider {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 40%, rgba(10, 20, 15, .55) 55%, rgba(135, 135, 135, 0.35) 100%),url("./slider2.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 130px 0;
}
  .hero-imgs .tile.t2{
    background:
      radial-gradient(circle at 50% 20%, rgba(255,255,255,.12), transparent 45%),
      linear-gradient(180deg,#26466a 0%, #16324a 55%, #0c1b28 100%);
  }
  .hero-imgs .tile.t2::before,
  .hero-imgs .tile.t2::after{
    content:"";
    position:absolute;
    bottom:0;
    width:14%;
    background:#0c2033;
  }
  .hero-imgs .tile.t2::before{ left:20%; height:70%; }
  .hero-imgs .tile.t2::after{ right:20%; height:70%; }
  .hero-imgs .tile.t3{
    background:linear-gradient(160deg,#1c3a56,#0c1b28);
  }
  .hero-overlay-fade{
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.75) 28%, rgba(255,255,255,0) 46%);
  }
  .hero-content{
    position:relative;
    z-index:2;
    padding:3rem 0;
  }
  .hero-content h1{
    font-size:2.5rem;
    color:var(--fsm-green-dark);
    max-width:600px;
    line-height:1.2;
  }
  @media (max-width:767px){
    .hero-content h1{ font-size:1.7rem; }
    .hero{ min-height:auto; }
    .hero-overlay-fade{ background:linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.85) 55%, rgba(255,255,255,.15) 100%); }
  }

  /* ---- Gradient pill button used everywhere ---- */
.btn-gradient {
    background: linear-gradient(90deg, var(--leaf-green) 0%, var(--mid-green) 45%, var(--clay) 100%);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: .55rem 1.6rem;
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 3px 10px rgba(15, 61, 46, .25);
}

.btn-gradient:hover {   
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 61, 46, .35);
    color: #fff;
}

.btn-gradient-sm {
    padding: .4rem 1.2rem;
    font-size: .82rem;
}

  /* ---------- Intro / About ---------- */
  .about-photo{
    background:linear-gradient(150deg,#a8433c,#7a2f2a);
    border-radius:10px;
    min-height:280px;
    position:relative;
    overflow:hidden;
  }
  .about-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(0deg, rgba(0,0,0,.35), transparent 40%),
      repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 40px, transparent 40px 80px);
  }
  .about-photo .cap{
    position:absolute;
    bottom:10px;left:10px;right:10px;
    color:#fff;
    font-size:.72rem;
    opacity:.85;
    z-index:2;
  }
  .soft-card{
    background:var(--fsm-green-light);
    border-radius:10px;
    padding:1.6rem;
    color:var(--fsm-muted);
    font-size:.95rem;
  }
  .soft-card p{ margin-bottom:0.9rem; }
  .soft-card p:last-child{ margin-bottom:0; }

  .tower-photo{
    background:linear-gradient(160deg,#cfe3f0,#8fa9bb 55%, #3f5063);
    border-radius:10px;
    min-height:260px;
  }

  /* ---------- Courses section ---------- */
  .courses-section{
    background:var(--fsm-green-light);
  }
  .courses-inner{
    background:#fff;
    border-radius:14px;
    padding:2.5rem 2rem;
  }
  .course-row{
    background:var(--fsm-green-light);
    border-radius:8px;
    padding:.85rem 1.2rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-bottom:1rem;
    font-weight:600;
    color:var(--fsm-green-dark);
  }
  .btn-apply-sm{
    background:linear-gradient(135deg,var(--fsm-green) 0%, var(--fsm-clay) 140%);
    color:#fff;
    border:none;
    border-radius:30px;
    padding:.4rem 1.2rem;
    font-weight:600;
    font-size:.85rem;
    white-space:nowrap;
    transition:transform .2s ease;
  }
  .btn-apply-sm:hover{
    color:#fff;
    transform:translateY(-2px);
  }


  /* ---------- Why study ---------- */
  .why-card{
    background:var(--fsm-green-light);
    border-radius:8px;
    padding:1.6rem 1.2rem;
    text-align:center;
    height:100%;
  }
  .why-icon{
    width:46px;height:46px;
    border-radius:8px;
    background:var(--light-green);
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    margin:0 auto .9rem;
    font-size:1.2rem;
  }
  .why-card p{
    font-weight:600;
    color:var(--fsm-green-dark);
    margin:0;
    font-size:.95rem;
  }

  /* ---------- Contact banner ---------- */
  .contact-banner{
    position: relative;
    overflow: hidden;
    background-image: url("./bg2.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0;
    padding: 3rem 1rem;
    text-align: center;
  }
  .contact-banner h3{
    color:var(--fsm-green-dark);
    max-width:750px;
    margin:0 auto 1.5rem;
  }

  .intl-section{
    padding:3rem 1rem;
    text-align:center;
  }

  footer.site-footer{
    background:#3a3f3d;
    color:#d8dcd9;
    font-size:.8rem;
    padding:1.2rem 0;
  }

  section{ scroll-margin-top:90px; }