 /* RESET & BASE */
    *,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }
    html { font-size:16px; }
    body { font-family:'Lato',sans-serif; background:#fafafa; color:#333; line-height:1.6; }
    img,svg { max-width:100%; display:block; }
    a { text-decoration:none; color:inherit; }
    ul { list-style:none; }

    /* COLORS */
    :root {
      --navy: #0b1f3e;
      --emerald: #2a623d;
      --gold: #d4af37;
      --light: #fafafa;
      --shadow: 0 4px 16px rgba(0,0,0,0.06);
    }

    /* INFO BAR */
.info-bar {
  background: var(--emerald);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: var(--shadow);
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  /* ❌ Removed flex-wrap: wrap here */
}

.info-container span {
  margin: 0.5rem 1rem; 
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-container a {
  color: #fff;
  text-decoration: none;
}

.info-container i {
  min-width: 20px;
}

/* ✅ Mobile View: Allow wrapping and reduce spacing */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    flex-wrap: wrap; /* Wrapping allowed only in mobile */
  }

  .info-container span {
    margin: 0.2rem 0;
    line-height: 1.1;
  }
}


/* ✅ Mobile View: Allow wrapping and reduce spacing */
@media (max-width: 768px) {
  .info-container {
    flex-direction: column;
    flex-wrap: wrap; /* Wrapping allowed only in mobile */
  }

  .info-container span {
    margin: 0.2rem 0;
    line-height: 1.1;
  }
}

    /* TOP BAR */
    .top-bar {
      background:var(--light);
      padding:.75rem 2rem;
      box-shadow:var(--shadow);
      display:flex;
      justify-content:space-between;
      align-items:center;
    }
    .top-bar .logo img { height:48px; }

    .top-bar .social {
      display:flex;
      align-items:center;
      gap:.5rem;
    }
    .top-bar .social a {
      color:var(--navy);
      font-size:1.1rem;
      padding:0 .2rem;
      position:relative;
      transition:color .3s,opacity .3s;
    }
    /* separator bar between icons */
    .top-bar .social a:not(:last-child)::after {
      content:''; position:absolute;
      right:0; top:50%; transform:translateY(-50%);
      width:1px; height:20px; background:var(--gold);
    }
    .top-bar .social a:hover { color:var(--emerald); opacity:.8; }

  .top-bar .actions .login-btn {
      padding:.4rem .8rem;
      background:var(--emerald);
      color:#fff;
      border-radius:4px;
      font-weight:600;
      transition:background .3s,opacity .3s;
    }
    .top-bar .actions .login-btn:hover { background:#265038; opacity:.9; }

    /* MAIN NAV */
    .main-nav {
      background: var(--navy);
      box-shadow: var(--shadow);
      position: sticky; top:0; z-index:100;
    }
    .main-nav .container {
      max-width:1200px; margin:0 auto; padding:.75rem 2rem;
      display:flex; align-items:center; justify-content:space-between;
    }
    .menu { display:flex; gap:1.5rem; }
    .menu > li { position:relative; }
    .menu a {
      color:#fff; font-weight:600; padding:.5rem 0;
      display:inline-flex; align-items:center; transition:color .2s;
    }
    .menu a:hover { color:var(--gold); }

    /* dropdown arrow */
    .has-sub > a::after {
      content:"\f0d7"; font-family:"Font Awesome 5 Free"; font-weight:900;
      margin-left:.5rem; transition:transform .3s;
    }
    .has-sub.open > a::after { transform:rotate(180deg); }

    /* SUBMENU */
    .sub-menu {
      position:absolute; top:120%; left:0;
      background:#fff; border:1px solid var(--emerald);
      border-radius:6px; box-shadow:var(--shadow);
      padding:.5rem 0; min-width:200px;
      opacity:0; visibility:hidden; transform:translateY(-10px);
      transition:all .2s ease; z-index:10;
    }
    .has-sub:hover .sub-menu {
      opacity:1; visibility:visible; transform:translateY(0);
    }
    .sub-menu li { white-space:nowrap; }
    .sub-menu a {
      display:block; padding:.75rem 1.25rem; font-weight:400;
      color:var(--navy); transition:background .2s,color .2s;
    }
    .sub-menu a:hover { background:var(--emerald); color:#fff; }

    /* BURGER */
    .burger {
      display:none; flex-direction:column; gap:5px;
      background:none; border:none; cursor:pointer;
    }
    .burger span { width:25px; height:3px; background:#fff; border-radius:2px; }

    /* DIVIDERS */
    .menu-bar-divider { width:100%; height:5px; background:var(--gold); }
    .under-slider-bar { width:100%; height:8px; background:var(--emerald); }

   /* SLIDER */
/* SLIDER */
#slider {
  position: relative;
  height: 75vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  align-items: flex-end;
  padding: 0 1rem;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

/* Quotation Box */
.slide > div {
  position: absolute;
  bottom: 5%;
  left: 5%;
  background: rgba(11, 31, 62, 0.5);
  padding: 0.8rem 1rem;  /* Compact padding */
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--navy);
  max-width: 50%;  /* Controlled box width */
  border-left: 6px solid gold;
  border-right: 6px solid darkgreen;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

.slide.active > div {
  opacity: 1;
  transform: translateY(0);
}

.slide > div:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

/* Quote Text */
.quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);  /* Slightly smaller font */
  font-weight: 700;
  line-height: 1.3;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* Slider Dots */
.dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border: 2px solid var(--emerald);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--emerald);
}

/* Slider Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--emerald);
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  z-index: 2;
}

.slider-arrow--prev {
  left: 1rem;
  opacity: 0.5;
}

.slider-arrow--next {
  right: 1rem;
  opacity: 0.5;
}

.slider-arrow:hover {
  background: rgb(129, 10, 10);
  color: var(--gold);
}

/* INTRO SECTION */
.intro-bar {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.intro-bar h1 {
  font-family: 'Playfair Display', serif;
  color: var(--emerald);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.intro-bar p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: #555;
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

.btn-group {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 700;
  transition: opacity 0.3s;
}

.btn.admissions {
  background: var(--emerald);
  color: #fff;
}

.btn.enquiry {
  background: var(--gold);
  color: var(--navy);
}

.btn:hover {
  opacity: 0.9;
}

.accented-bar {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--gold) 100%);
  margin-bottom: 2rem;
}

    /* PRINCIPAL + NEWS */
    .principal-news {
      max-width:1200px; margin:4rem auto; padding:0 2rem;
      display:grid; grid-template-columns:2fr 1fr; gap:2rem;
    }
    .principal-block {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  overflow: hidden; /* Important: clears float */
}

.principal-block img {
  float: left; /* Key: enables text wrapping around image */
  width: 150px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  margin: 0 1.5rem 1rem 0; /* Space around image: top-right-bottom-left */
}

.principal-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--emerald);
  margin-bottom: .5rem;
  
}
.principal-block h1 {
  font-family: 'Playfair Display', serif;
font-size: clamp(1rem, 2vw, 1.5rem);
  color: #b8860b;
  margin-bottom: .5rem;
  
}

.principal-block p {
  margin-bottom: 1rem;
  text-align: justify; /* Optional: aligns text edges neatly */
}

.principal-block .btn {
  background: var(--emerald);
  color: #fff;
}

.principal-block .btn:hover {
  background: var(--gold);
}

    .news-block {
      background:var(--emerald); color:#fff; padding:1.5rem;
      border-radius:8px; box-shadow:var(--shadow);
    }
    .news-block h3 {
      background:var(--gold); color:var(--navy);
      padding:.5rem; border-radius:4px; margin-bottom:1rem;
    }
    .news-block li {
      padding:.4rem 0; border-bottom:1px solid rgba(255,255,255,0.3);
    }
    .news-block li:last-child { border:none; }

    /* TWO-COLUMN SECTION */
    .two-col {
      max-width:1200px; margin:2rem auto; padding:0 2rem;
      display:grid; grid-template-columns:2fr 1fr; gap:2rem;
    }
    .two-col .main-col, .two-col .side-col {
      background:#fff; padding:1.5rem; border-radius:8px; box-shadow:var(--shadow);
    }

    /* BRAND BAR */
    .brand-bar {
      background:var(--gold); padding:1rem 2rem;
      display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center;
      box-shadow:0 4px 12px rgba(0,0,0,0.1);
    }
    .brand-bar__container {
      display:flex; flex-wrap:wrap; gap:1.5rem; justify-content:center; flex:1;
    }
    .brand-bar__container a {
      color:var(--navy); font-weight:600; font-size:.9rem;
      text-transform:uppercase; transition:opacity .3s;
    }
    .brand-bar__container a:hover { opacity:.8; text-decoration:underline; }
    .brand-bar__login a {
      background:#fff; color:var(--navy); border:2px solid var(--navy);
      padding:.5rem 1rem; border-radius:4px; font-weight:600;
      transition:background .3s,color .3s;
    }
    .brand-bar__login a:hover { background:var(--navy); color:#fff; opacity:.9; }

    /* FOOTER */
    footer {
      background:var(--navy); color:#fff; text-align:center; padding:3rem 2rem; box-shadow:var(--shadow);
    }
    .footer-grid {
      max-width:1200px; margin:0 auto 1.5rem;
      display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:2rem;
    }
    .footer-copyright {
  background: #1a3b5d; /* Beautiful matching dark blue shade */
  color: #ddd; /* Soft light grey text for contrast */
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-bottom: 1rem;
}

    /* MOBILE */
    @media(max-width:768px) {
      .top-bar { padding:.5rem 1rem; }
      .top-bar .actions .login-btn { padding:.4rem .6rem; }

      .burger { display:flex; }
      .menu {
        position:fixed; top:0; right:0; bottom:0;
        background:var(--navy); flex-direction:column;
        padding:4rem 1.5rem; gap:1rem; width:80%; max-width:300px;
        transform:translateX(100%); transition:transform .3s ease;
        box-shadow:-4px 0 12px rgba(0,0,0,0.1); overflow-y:auto;
      }
      .menu.open { transform:translateX(0); }
      .menu a { padding:.75rem 0; color:#fff; }

      .has-sub .sub-menu {
        position:static; box-shadow:none; background:none;
        border:none; padding:0; max-height:0; overflow:hidden;
        transition:max-height .3s ease;
      }
      .has-sub.open .sub-menu { max-height:500px; padding:.5rem 0; }
      .sub-menu a { color:#fff; padding-left:1.5rem; }

      #slider { height:50vh; }
      .principal-news, .two-col {
        grid-template-columns:1fr; gap:1.5rem;
        padding:0 1rem; margin:2rem auto;
      }
    }