:root{
    --fsm-green-dark: #0f3d2e;
    --fsm-green: #1f6b45;
    --fsm-green-light: #e9f4ec;
    --fsm-green-pale: #f2f8f3;
    --fsm-brown: #7a4b2a;
    --fsm-text: #26332c;
    --fsm-muted: #5b6a62;
    --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; }

  /* ---------- Gradient button (signature element) ---------- */
  /* ---- 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-fsm{
    background: linear-gradient(90deg, var(--fsm-green) 0%, var(--fsm-brown) 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 26px;
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  }
  .btn-fsm:hover{
    color:#fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15,61,46,.25);
    filter: brightness(1.05);
  }
  .btn-fsm-sm{ padding: 7px 20px; font-size: .85rem; }

  /* ---------- Top announcement bar ---------- */
  .announce-bar{
    background: var(--fsm-green-dark);
    color: #eaf3ee;
    font-size: .85rem;
    padding: 8px 0;
    white-space: nowrap;
    overflow: hidden;
  }
  .announce-bar .marquee{
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 60s linear infinite;
  }
  .announce-bar .highlight{ color:#ff9a6b; font-weight: 600; margin: 0 6px;}
  @keyframes scroll-left{
    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: 460px;
    display:flex;
    align-items:center;
    background:
      linear-gradient(90deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.55) 42%, rgba(20,20,20,0.35) 70%),
      url('https://images.unsplash.com/photo-1553913861-c0fddf2619ee?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  } */

  .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 h1{
    font-size: 2.6rem;
    line-height: 1.15;
    max-width: 640px;
    color: #16241c;
  }
  @media (max-width: 768px){
    .hero h1{ font-size: 1.9rem; }
    .hero{ min-height: 380px; text-align:left;}
  }

  /* ---------- Section paddings ---------- */
  .section-pad{ padding: 60px 0; }

  .info-card{
    background: var(--fsm-green-pale);
    border-radius: 14px;
    padding: 30px;
    height: 100%;
  }
  .info-img{
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    min-height: 260px;
  }
  .info-img img{
    width:100%; height:100%; object-fit:cover; display:block;
  }

  .section-gray{ background: #f4f6f5; }

  .course-list-card{
    background:#fff;
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15,61,46,.06);
  }
  .course-row{
    background: var(--fsm-green-pale);
    border-radius: 10px;
    padding: 14px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--fsm-green-dark);
  }

  /* ---------- Why study ---------- */
  .why-card{
    background: var(--fsm-green-pale);
    border: 1px dashed #c9dccf;
    border-radius: 12px;
    padding: 26px 20px;
    text-align: center;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .why-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15,61,46,.1);
  }
  .why-icon{
    width: 48px; height:48px;
    border-radius: 10px;
    background: var(--fsm-green-dark);
    color:#fff;
    display:flex; align-items:center; justify-content:center;
    margin: 0 auto 14px;
    font-size: 1.3rem;
  }
  .why-card p{
    font-weight: 600;
    color: var(--fsm-green-dark);
    margin:0;
  }

  /* ---------- CTA banner ---------- */
  .cta-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;
  }
  .cta-banner h3{
    color: var(--fsm-green-dark);
    max-width: 700px;
    margin: 0 auto 22px;
  }

  .intl-block{
    text-align:center;
    padding: 30px 0 50px;
  }

  footer.fsm-footer{
    background: #3d403e;
    color: #cfd3d0;
    font-size: .85rem;
    padding: 22px 0;
  }

  .navbar-toggler{ border:none; }
  .navbar-toggler:focus{ box-shadow:none; }

  a.nav-link:focus-visible,
  button:focus-visible,
  .btn-fsm:focus-visible{
    outline: 3px solid #7a4b2a;
    outline-offset: 2px;
  }