/*
Theme Name:  Nirmala College
Description: World-class modern theme for Nirmala College of Education, Ujjain.
Author:      AITS
Version:     1.0.0
Text Domain: nirmala-college
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root{
  /* Core brand — derived directly from the college crest */
  --navy:       #1B3A6B;   /* deep academic navy */
  --navy-dark:  #0D1F3C;   /* darkest navy */
  --navy-light: #2D5AA3;
  --sky:        #0FA3CC;   /* cerulean/sky blue from crest ring */
  --sky-dark:   #0B7EA0;   /* darker sky for hover states */
  --sky-light:  #E0F5FB;   /* very light sky tint */
  --gold:       #D4A017;   /* gold from crest laurels */
  --gold-light: #FBF0C4;
  --white:      #FFFFFF;
  --off-white:  #F8F9FC;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-400:   #9CA3AF;
  --gray-600:   #4B5563;
  --gray-800:   #1F2937;
  --text:       #111827;
  --text-muted: #6B7280;

  /* Legacy aliases so existing rules keep working */
  --maroon:      var(--sky);
  --maroon-dark: var(--sky-dark);

  --font-h: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --pad-section: clamp(4rem, 7vw, 7rem);
  --max-w: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.07);
  --shadow:    0 4px 20px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
body{
  font-family:var(--font-b);
  color:var(--text);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--sky-dark);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--navy-dark)}
/* Telephone and mailto links always show clearly */
a[href^="tel:"],a[href^="mailto:"]{color:var(--sky-dark);font-weight:500}
a[href^="tel:"]:hover,a[href^="mailto:"]:hover{color:var(--navy-dark)}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input,textarea,select{font-family:inherit}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════════ */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-h);
  font-weight:700;
  line-height:1.2;
  color:var(--navy-dark);
}
h1{font-size:clamp(2rem,4.5vw,3.5rem)}
h2{font-size:clamp(1.75rem,3.5vw,2.75rem)}
h3{font-size:clamp(1.3rem,2.5vw,1.75rem)}
h4{font-size:1.25rem}
h5{font-size:1.1rem}
p{margin-bottom:1em;color:var(--gray-600)}
p:last-child{margin-bottom:0}
strong{color:var(--text);font-weight:600}

/* ═══════════════════════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════════════════════ */
.container{max-width:var(--max-w);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.container--wide{max-width:1400px;margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.section{padding:var(--pad-section) 0}
.section--light{background:var(--off-white)}
.section--navy{background:var(--navy-dark);color:var(--white)}
.section--navy h2,.section--navy h3{color:var(--white)}
.section--maroon{background:var(--maroon);color:var(--white)}
.section--maroon h2,.section--maroon h3{color:var(--white)}

.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:2.5rem;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:2rem}
.grid-4{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1.5rem}
.flex-center{display:flex;align-items:center;justify-content:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.text-center{text-align:center}

/* Section heading pattern */
.section-label{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-b);font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--sky-dark);background:var(--sky-light);
  padding:.35rem .9rem;border-radius:99px;margin-bottom:1rem;
}
.section-heading{margin-bottom:1rem}
.section-subtext{font-size:1.05rem;color:var(--text-muted);max-width:600px}
.section-header{margin-bottom:3rem}
.section-header.text-center .section-subtext{margin-inline:auto}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.8rem 1.8rem;border-radius:var(--radius-sm);
  font-size:.95rem;font-weight:600;letter-spacing:.01em;
  transition:all var(--transition);white-space:nowrap;
}
.btn--primary{background:var(--sky);color:var(--white);box-shadow:0 4px 14px rgba(15,163,204,.25)}
.btn--primary:hover{background:var(--sky-dark);color:var(--white);transform:translateY(-1px);box-shadow:0 6px 20px rgba(15,163,204,.35)}
.btn--navy{background:var(--navy);color:var(--white)}
.btn--navy:hover{background:var(--navy-dark);color:var(--white);transform:translateY(-1px)}
.btn--gold{background:var(--gold);color:var(--navy-dark);font-weight:700}
.btn--gold:hover{background:#b8931f;color:var(--navy-dark);transform:translateY(-1px)}
.btn--outline{border:2px solid var(--navy);color:var(--navy);background:transparent}
.btn--outline:hover{background:var(--navy);color:var(--white)}
.btn--outline-white{border:2px solid rgba(255,255,255,.7);color:var(--white);background:transparent}
.btn--outline-white:hover{background:rgba(255,255,255,.1);border-color:var(--white)}
.btn--lg{padding:1rem 2.4rem;font-size:1.05rem}
.btn--sm{padding:.5rem 1.2rem;font-size:.85rem}
.btn-arrow{display:inline-flex;align-items:center;gap:.4rem;font-weight:600;color:var(--maroon);font-size:.95rem}
.btn-arrow svg{transition:transform var(--transition)}
.btn-arrow:hover svg{transform:translateX(4px)}
.btn-arrow:hover{color:var(--maroon-dark)}

/* ═══════════════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════════════ */
.top-bar{
  background:var(--navy-dark);
  color:rgba(255,255,255,.7);
  font-size:.78rem;
  padding:.45rem 0;
}
.top-bar__inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.top-bar__contact{display:flex;align-items:center;gap:1.4rem}
.top-bar__contact-item{
  display:flex;align-items:center;gap:.4rem;
  color:rgba(255,255,255,.7);text-decoration:none;
  transition:color var(--transition);
}
.top-bar a.top-bar__contact-item:hover{color:var(--gold)}
.top-bar__hours{color:rgba(255,255,255,.5)}
.top-bar__social{display:flex;align-items:center;gap:.5rem}
.top-bar__social a{
  width:24px;height:24px;border-radius:50%;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;
  color:rgba(255,255,255,.65);transition:all var(--transition);
}
.top-bar__social a:hover{background:var(--sky);border-color:var(--sky);color:#fff}

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header{
  background:var(--white);
  position:sticky;top:0;z-index:1000;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  transition:box-shadow var(--transition);
}
.site-header.scrolled{box-shadow:0 4px 24px rgba(0,0,0,.12)}

/* ── Brand Row ──────────────────────────── */
.header-brand{
  border-bottom:1px solid var(--gray-100);
  padding:.65rem 0;
}
.header-brand__inner{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.header-brand__actions{display:flex;align-items:center;gap:.75rem}

/* Logo */
.site-logo__link{
  display:flex;align-items:center;gap:.9rem;text-decoration:none;flex-shrink:0;
}
.site-logo__crest{
  width:64px;height:64px;object-fit:contain;flex-shrink:0;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,.12));
}
.site-logo__text{display:flex;flex-direction:column;line-height:1}
.site-logo__name{
  font-family:var(--font-h);font-size:1.1rem;font-weight:700;
  color:var(--navy-dark);letter-spacing:-.01em;display:block;margin-bottom:.3rem;
  transition:color var(--transition);
}
.site-logo__link:hover .site-logo__name{color:var(--sky-dark)}
.site-logo__tagline{
  font-size:.64rem;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:var(--sky-dark);display:block;
}
.header-apply-btn{white-space:nowrap}

/* ── Nav Row ────────────────────────────── */
.header-nav{
  background:var(--navy-dark);
  position:relative;
}
.header-nav>.container{
  display:flex;align-items:stretch;
}

/* Primary Nav */
.primary-nav{
  display:flex;align-items:stretch;
  list-style:none;margin:0;padding:0;
  flex-wrap:nowrap;overflow:visible;
}
.primary-nav>li{
  position:relative;display:flex;align-items:stretch;
}
.primary-nav>li>a{
  display:flex;align-items:center;gap:.35rem;
  padding:.75rem .95rem;
  font-size:.82rem;font-weight:600;color:rgba(255,255,255,.85);
  letter-spacing:.02em;white-space:nowrap;
  transition:all var(--transition);border-bottom:2px solid transparent;
  text-decoration:none;
}
.primary-nav>li>a>svg{opacity:.6;flex-shrink:0}
.primary-nav>li>a:hover,
.primary-nav>li.current-menu-item>a,
.primary-nav>li.current_page_ancestor>a{
  color:#fff;background:rgba(255,255,255,.08);border-bottom-color:var(--sky);
}
.primary-nav>li.current-menu-item>a>svg,
.primary-nav>li>a:hover>svg{opacity:1}

/* Dropdown */
.primary-nav .sub-menu{
  position:absolute;top:100%;left:0;
  background:var(--white);
  border:none;border-top:3px solid var(--sky);
  border-radius:0 0 var(--radius-sm) var(--radius-sm);
  box-shadow:0 8px 32px rgba(0,0,0,.16);
  min-width:220px;padding:.4rem 0;
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:all .2s ease;z-index:200;
}
.primary-nav li:hover>.sub-menu{
  opacity:1;visibility:visible;transform:translateY(0);
}
.primary-nav .sub-menu li a{
  display:flex;align-items:center;padding:.6rem 1.1rem;
  font-size:.83rem;font-weight:500;color:var(--gray-800);
  transition:all var(--transition);border-left:2px solid transparent;
  text-decoration:none;
}
.primary-nav .sub-menu li a:hover{
  background:var(--sky-light);color:var(--sky-dark);
  border-left-color:var(--sky);padding-left:1.4rem;
}
.primary-nav .sub-menu .sub-menu{top:0;left:100%;margin-top:-3px;border-top-color:var(--sky)}

/* Hamburger */
.nav-toggle{
  display:none;flex-direction:column;justify-content:center;
  gap:5px;width:40px;height:40px;border-radius:var(--radius-sm);
  border:1.5px solid var(--gray-200);padding:8px;flex-shrink:0;
}
.nav-toggle span{display:block;height:2px;background:var(--navy-dark);border-radius:2px;transition:all var(--transition)}
.nav-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle.active span:nth-child(2){opacity:0;transform:scaleX(0)}
.nav-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ── Responsive header ──────────────────── */
@media(max-width:1024px){
  .primary-nav>li>a{padding:.75rem .7rem;font-size:.79rem}
}

@media(max-width:768px){
  .top-bar__hours,.top-bar__contact-item:nth-child(2){display:none}

  .site-logo__crest{width:50px;height:50px}
  .site-logo__name{font-size:.95rem}
  .site-logo__tagline{display:none}
  .header-apply-btn{display:none}
  .nav-toggle{display:flex}

  /* Mobile nav: slides down from the header */
  .header-nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    background:var(--navy-dark);z-index:999;
    box-shadow:0 12px 32px rgba(0,0,0,.3);
    max-height:calc(100vh - 80px);overflow-y:auto;
  }
  .header-nav.open{display:block}

  .primary-nav{flex-direction:column;align-items:stretch}
  .primary-nav>li>a{
    padding:.85rem 1.25rem;font-size:.9rem;border-bottom:1px solid rgba(255,255,255,.06);
    border-left:none;
  }
  .primary-nav>li>a:hover,.primary-nav>li.current-menu-item>a{
    background:rgba(255,255,255,.08);border-bottom-color:rgba(255,255,255,.06);border-left:3px solid var(--sky);
  }

  .primary-nav .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border:none;border-top:none;border-radius:0;
    background:rgba(0,0,0,.2);display:none;min-width:0;
  }
  .primary-nav .has-children.open>.sub-menu{display:block}
  .primary-nav .sub-menu li a{
    padding:.6rem 1rem .6rem 2rem;color:rgba(255,255,255,.75);
    border-left:none;background:none;
  }
  .primary-nav .sub-menu li a:hover{
    background:rgba(255,255,255,.06);color:#fff;padding-left:2.25rem;border-left:none;
  }

  /* Show apply btn in nav row on mobile */
  .header-nav>.container::after{
    content:'Apply Now →';
    display:block;margin:1rem;padding:.75rem 1rem;
    background:var(--sky);color:#fff;border-radius:var(--radius-sm);
    font-size:.88rem;font-weight:700;text-align:center;
    cursor:pointer;
  }
}

@media(max-width:480px){
  .top-bar{display:none}
  .site-logo__name{font-size:.88rem}
  .site-logo__crest{width:44px;height:44px}
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
/* ── Hero wrapper ─────────────────────────────────────────── */
.hero{
  position:relative;
  min-height:calc(100vh - 120px);
  overflow:hidden;
  background:var(--navy-dark);
  display:grid;
  place-items:stretch;
}

/* Full-bleed video */
.hero__video-wrap{
  position:absolute;inset:0;overflow:hidden;z-index:0;
}
.hero__video-wrap::after{
  content:'';position:absolute;inset:0;
  /* Strong dark panel on left, opens to video on right */
  background:
    linear-gradient(90deg,
      rgba(10,24,50,.97) 0%,
      rgba(10,24,50,.92) 35%,
      rgba(10,24,50,.65) 55%,
      rgba(10,24,50,.15) 80%,
      transparent 100%);
}
.hero__video{width:100%;height:100%;object-fit:cover;opacity:.6}

/* Dedicated hero stage: content is anchored to the left, not centered by .container */
.hero__stage{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:minmax(0,620px) 1fr;
  min-height:inherit;
  align-items:center;
  width:100%;
  max-width:none;
  padding-left:clamp(1.5rem,10vw,8rem);
  padding-right:clamp(1rem,5vw,4rem);
}

/* Left column – the actual content */
.hero__content{
  padding:clamp(4rem,8vh,6rem) 0 clamp(6rem,12vh,9rem);
  text-align:left;
}

/* Accreditation badge */
.hero__badge{
  display:inline-flex;align-items:center;flex-wrap:nowrap;gap:.42rem;
  background:rgba(255,255,255,.07);backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.16);border-radius:99px;
  padding:.4rem 1rem;margin-bottom:1.75rem;
  font-size:.64rem;font-weight:700;letter-spacing:.075em;text-transform:uppercase;
  color:rgba(255,255,255,.78);
  white-space:nowrap;
  max-width:100%;
}
.hero__badge-sep{color:rgba(255,255,255,.25);font-size:.65rem}
.hero__badge-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--sky);box-shadow:0 0 6px var(--sky);flex-shrink:0;
}

/* Main title – gold left border anchors it clearly to the left */
.hero__title{
  font-family:var(--font-h);
  font-size:clamp(2.8rem,6.5vw,5rem);
  font-weight:800;
  color:var(--white);
  line-height:1.0;
  letter-spacing:-.025em;
  margin-bottom:1rem;
  border-left:5px solid var(--gold);
  padding-left:1.25rem;
}
.hero__title span{
  display:block;
  color:rgba(255,255,255,.82);
  font-size:.9em;
}

/* Gold accent rule under title */
.hero__title-rule{
  width:60px;height:3px;
  background:linear-gradient(90deg,var(--gold),rgba(212,160,23,.0));
  border-radius:2px;margin:.9rem 0 1.25rem;
}

/* Motto line – left-aligned, clean */
.hero__motto-line{
  display:flex;align-items:center;gap:.6rem;
  margin-bottom:1.5rem;
}
.hero__motto-ornament{color:var(--gold);font-size:.75rem;flex-shrink:0;opacity:.7}
.hero__motto-text{
  font-size:.82rem;
  font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--gold);
}

/* Tagline */
.hero__tagline{
  font-size:clamp(.95rem,1.5vw,1.1rem);
  color:rgba(255,255,255,.68);line-height:1.75;
  max-width:520px;margin-bottom:2.5rem;
}
.hero__tagline strong{color:rgba(255,255,255,.92);font-weight:600}

/* CTA buttons */
.hero__cta{
  display:flex;flex-wrap:wrap;gap:.875rem;
  margin-bottom:3rem;align-items:center;
  justify-content:flex-start;
}
.hero__btn{
  display:inline-flex;align-items:center;gap:.6rem;
  padding:.9rem 1.9rem;border-radius:6px;
  font-size:.93rem;font-weight:700;letter-spacing:.01em;
  white-space:nowrap;text-decoration:none;
  transition:all .22s ease;
}
.hero__btn svg{transition:transform .22s ease}
.hero__btn:hover svg{transform:translateX(4px)}
.hero__btn--primary{
  background:var(--sky);color:#fff;
  box-shadow:0 4px 20px rgba(15,163,204,.5);
}
.hero__btn--primary:hover{
  background:#0d8fb0;color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 28px rgba(15,163,204,.6);
}
.hero__btn--ghost{
  background:rgba(255,255,255,.06);
  border:1.5px solid rgba(255,255,255,.35);
  color:rgba(255,255,255,.88);
  backdrop-filter:blur(4px);
}
.hero__btn--ghost:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.65);
  color:#fff;transform:translateY(-2px);
}

/* Scroll indicator */
.hero__scroll{
  display:flex;align-items:center;gap:.7rem;
  font-size:.68rem;color:rgba(255,255,255,.35);
  letter-spacing:.12em;text-transform:uppercase;
}
.hero__scroll-line{width:36px;height:1px;background:rgba(255,255,255,.2)}

/* Hero stats strip */
.hero__stats{
  position:absolute;bottom:0;left:0;right:0;
  background:rgba(255,255,255,.08);backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,.12);z-index:2;
}
.hero__stats-inner{
  display:grid;grid-template-columns:repeat(4,1fr);
  padding:.1rem 0;
}
.hero__stat{
  padding:1rem .5rem;text-align:center;
  border-right:1px solid rgba(255,255,255,.1);
}
.hero__stat:last-child{border-right:none}
.hero__stat-value{
  font-family:var(--font-h);font-size:1.8rem;font-weight:700;color:var(--gold);
  line-height:1;
}
.hero__stat-label{font-size:.75rem;color:rgba(255,255,255,.65);margin-top:.25rem;text-transform:uppercase;letter-spacing:.06em}

/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════ */
.about__image-wrap{position:relative;border-radius:var(--radius);overflow:hidden}
.about__image-wrap img{width:100%;height:500px;object-fit:cover}
.about__badge{
  position:absolute;bottom:-1.5rem;right:-1rem;
  background:var(--sky);color:var(--white);
  padding:1.2rem 1.5rem;border-radius:var(--radius-sm);
  text-align:center;box-shadow:var(--shadow-lg);
}
.about__badge-num{font-family:var(--font-h);font-size:2rem;font-weight:700;line-height:1;display:block}
.about__badge-text{font-size:.75rem;text-transform:uppercase;letter-spacing:.08em;opacity:.85}
.about__text{padding-left:clamp(0px,3vw,2rem)}
.about__text h2{margin-bottom:1rem}
.about__text .section-label{margin-bottom:1rem}
.about__features{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:2rem}
.about__feature{display:flex;align-items:flex-start;gap:.75rem}
.about__feature-icon{
  width:40px;height:40px;border-radius:var(--radius-sm);
  background:var(--gold-light);color:var(--navy);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  font-size:1.1rem;
}
.about__feature-title{font-weight:600;font-size:.9rem;color:var(--navy-dark);margin-bottom:.2rem}
.about__feature-desc{font-size:.82rem;color:var(--text-muted)}

/* ═══════════════════════════════════════════════════════════════
   PROGRAMMES
═══════════════════════════════════════════════════════════════ */
.programme-card{
  background:var(--white);border:1px solid var(--gray-200);border-radius:var(--radius);
  padding:2rem;transition:all var(--transition);position:relative;overflow:hidden;
  display:flex;flex-direction:column;
}
.programme-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,var(--navy),var(--sky));transition:opacity var(--transition);
}
.programme-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.programme-card:hover::before{opacity:.8}
.programme-card__icon{
  width:56px;height:56px;border-radius:var(--radius-sm);
  background:var(--gold-light);display:flex;align-items:center;justify-content:center;
  margin-bottom:1.25rem;font-size:1.5rem;
}
.programme-card__duration{
  font-size:.75rem;font-weight:600;color:var(--gold);text-transform:uppercase;
  letter-spacing:.08em;margin-bottom:.5rem;
}
.programme-card h3{font-size:1.25rem;margin-bottom:.75rem}
.programme-card p{font-size:.9rem;color:var(--text-muted);flex:1}
.programme-card__meta{
  display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem;padding-top:1.25rem;
  border-top:1px solid var(--gray-200);
}
.programme-card__tag{
  font-size:.75rem;background:var(--gray-100);color:var(--gray-600);
  padding:.25rem .7rem;border-radius:99px;font-weight:500;
}
.programme-card__cta{margin-top:1.5rem}

/* ═══════════════════════════════════════════════════════════════
   LEADERSHIP MESSAGES
═══════════════════════════════════════════════════════════════ */
.leadership-card{
  background:var(--white);border-radius:var(--radius);
  box-shadow:var(--shadow);overflow:hidden;
  display:flex;flex-direction:column;
}
.leadership-card__photo-wrap{
  height:260px;overflow:hidden;background:var(--gray-100);position:relative;
}
.leadership-card__photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:top}
.leadership-card__body{padding:1.75rem}
.leadership-card__role{
  font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;
  color:var(--gold);margin-bottom:.3rem;
}
.leadership-card__name{font-size:1.1rem;color:var(--navy-dark);margin-bottom:1rem}
.leadership-card__quote{
  font-size:.9rem;color:var(--text-muted);line-height:1.7;
  position:relative;padding-left:1.2rem;border-left:3px solid var(--sky);
  font-style:italic;
}
.leadership-card__sign{
  margin-top:1.2rem;font-size:.8rem;color:var(--text-muted);
  display:flex;align-items:center;gap:.5rem;
}
.leadership-card__sign::before{content:'';display:block;width:20px;height:1px;background:var(--gray-400)}

/* ═══════════════════════════════════════════════════════════════
   WHY CHOOSE US
═══════════════════════════════════════════════════════════════ */
.why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem}
.why-card{text-align:center;padding:2rem 1.5rem}
.why-card__icon{
  width:72px;height:72px;border-radius:50%;background:rgba(255,255,255,.1);
  border:2px solid rgba(255,255,255,.2);margin:0 auto 1.25rem;
  display:flex;align-items:center;justify-content:center;font-size:1.8rem;
  transition:all var(--transition);
}
.why-card:hover .why-card__icon{background:var(--gold);border-color:var(--gold);transform:scale(1.05)}
.why-card h4{color:var(--white);margin-bottom:.6rem;font-size:1rem}
.why-card p{font-size:.85rem;color:rgba(255,255,255,.65);line-height:1.6;margin:0}

/* ═══════════════════════════════════════════════════════════════
   GALLERY / CAMPUS LIFE
═══════════════════════════════════════════════════════════════ */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:repeat(2,240px);
  gap:.75rem;border-radius:var(--radius);overflow:hidden;
}
.gallery-grid__item{overflow:hidden;position:relative}
.gallery-grid__item:first-child{grid-row:span 2}
.gallery-grid__item img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.gallery-grid__item:hover img{transform:scale(1.05)}
.gallery-grid__item::after{
  content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.4),transparent);
  opacity:0;transition:opacity var(--transition);
}
.gallery-grid__item:hover::after{opacity:1}

/* ═══════════════════════════════════════════════════════════════
   ACCREDITATION BAR
═══════════════════════════════════════════════════════════════ */
.accred-bar{background:var(--white);border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200)}
.accred-bar__inner{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:1rem;
  padding:2rem 0;
}
.accred-item{
  display:flex;align-items:center;gap:.65rem;color:var(--text-muted);
  font-size:.82rem;min-width:0;
}
.accred-item__icon{
  width:38px;height:38px;border-radius:var(--radius-sm);
  background:var(--gold-light);display:flex;align-items:center;justify-content:center;font-size:1.05rem;
  flex-shrink:0;
}
.accred-item>div{min-width:0}
.accred-item strong{
  color:var(--navy-dark);font-weight:700;display:block;font-size:.9rem;
  white-space:nowrap;line-height:1.25;
}
.accred-item span{
  display:block;color:var(--text-muted);font-size:.78rem;line-height:1.35;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ═══════════════════════════════════════════════════════════════
   ADMISSION CTA
═══════════════════════════════════════════════════════════════ */
.admission-cta{
  background:linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 60%,var(--sky-dark) 100%);
  padding:5rem 0;position:relative;overflow:hidden;
}
.admission-cta::before{
  content:'';position:absolute;top:-50%;right:-10%;
  width:600px;height:600px;border-radius:50%;
  background:rgba(255,255,255,.03);
}
.admission-cta__inner{
  display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap;
  position:relative;z-index:1;
}
.admission-cta__text h2{color:var(--white);margin-bottom:.75rem}
.admission-cta__text p{color:rgba(255,255,255,.7);max-width:520px;font-size:1.05rem}
.admission-cta__actions{display:flex;flex-wrap:wrap;gap:1rem;flex-shrink:0}

/* ═══════════════════════════════════════════════════════════════
   NEWS / DOWNLOADS
═══════════════════════════════════════════════════════════════ */
.news-card{
  background:var(--white);border:1px solid var(--gray-200);
  border-radius:var(--radius);padding:1.5rem;
  transition:all var(--transition);display:flex;flex-direction:column;
}
.news-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}
.news-card__meta{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;flex-wrap:wrap}
.news-card__date{font-size:.78rem;color:var(--text-muted)}
.news-card__tag{
  font-size:.7rem;background:var(--gold-light);color:var(--navy);
  padding:.2rem .6rem;border-radius:99px;font-weight:600;
}
.news-card h4{font-size:1rem;margin-bottom:.6rem;color:var(--navy-dark)}
.news-card p{font-size:.88rem;color:var(--text-muted);flex:1}
.news-card__link{
  margin-top:1rem;font-size:.85rem;font-weight:600;color:var(--maroon);
  display:flex;align-items:center;gap:.4rem;
}
.news-card__link:hover{color:var(--maroon-dark)}

/* ═══════════════════════════════════════════════════════════════
   PAGE BANNER (inner pages)
═══════════════════════════════════════════════════════════════ */
.page-banner{
  background:linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 100%);
  padding:4rem 0 3rem;position:relative;overflow:hidden;
}
.page-banner::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner__inner{position:relative;z-index:1}
.page-banner h1{color:var(--white);font-size:clamp(1.6rem,3vw,2.4rem)}
.breadcrumb{display:flex;align-items:center;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}
.breadcrumb a,.breadcrumb span{font-size:.82rem;color:rgba(255,255,255,.65);transition:color var(--transition)}
.breadcrumb a:hover{color:var(--gold)}
.breadcrumb .sep{color:rgba(255,255,255,.3)}
.breadcrumb .current{color:var(--gold);font-weight:600}

/* ═══════════════════════════════════════════════════════════════
   CONTENT LAYOUT (inner pages)
═══════════════════════════════════════════════════════════════ */
.content-area{padding:4rem 0}
.content-wrap{display:grid;grid-template-columns:1fr 300px;gap:2.5rem;align-items:start}
.entry-content{
  background:var(--white);border:1px solid var(--gray-200);
  border-radius:var(--radius);padding:2.5rem;
}
.entry-content h1,.entry-content h2,.entry-content h3,.entry-content h4{
  color:var(--navy-dark);margin-bottom:.75rem;margin-top:1.5rem;
}
.entry-content h2{font-size:1.5rem}
.entry-content h3{font-size:1.2rem}
.entry-content p{color:var(--gray-600);margin-bottom:1rem}
.entry-content ul,.entry-content ol{margin-left:1.5rem;margin-bottom:1rem;list-style:initial}
.entry-content ol{list-style:decimal}
.entry-content li{margin-bottom:.4rem;color:var(--gray-600)}
.entry-content strong{color:var(--text)}
.entry-content a{color:var(--navy);text-decoration:underline}
.entry-content a:hover{color:var(--maroon)}
.entry-content table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.9rem;overflow-x:auto;display:block}
.entry-content th,.entry-content td{padding:.7rem 1rem;border:1px solid var(--gray-200);text-align:left}
.entry-content th{background:var(--navy);color:var(--white);font-weight:600}
.entry-content a{color:var(--sky-dark);text-decoration:underline}
.entry-content a:hover{color:var(--navy)}
.entry-content tr:nth-child(even) td{background:var(--gray-50)}
.entry-content img{border-radius:var(--radius-sm);max-width:100%;margin:.5rem 0}
.entry-content .alignleft{float:left;margin:0 1.5rem 1rem 0}
.entry-content .alignright{float:right;margin:0 0 1rem 1.5rem}
.entry-content .aligncenter{margin-inline:auto;display:block}
.entry-content .wp-caption{max-width:100%!important}
.entry-content .wp-caption-text{font-size:.8rem;color:var(--text-muted);text-align:center;margin-top:.4rem}

/* Sidebar */
.sidebar{}
.widget{
  background:var(--white);border:1px solid var(--gray-200);
  border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem;
}
.widget-title{
  font-size:1rem;font-weight:700;color:var(--navy-dark);
  padding-bottom:.75rem;border-bottom:2px solid var(--sky);margin-bottom:1rem;
}
.widget ul li{border-bottom:1px solid var(--gray-100)}
.widget ul li:last-child{border-bottom:none}
.widget ul li a{
  display:flex;align-items:center;justify-content:space-between;
  padding:.6rem .3rem;font-size:.88rem;color:var(--gray-800);
  transition:all var(--transition);
}
.widget ul li a:hover{color:var(--maroon);padding-left:.5rem}
.widget ul li.current_page_item a,.widget ul li.current-menu-item a{
  color:var(--maroon);font-weight:600;
}
.widget ul li a svg{opacity:.4;transition:opacity var(--transition)}
.widget ul li a:hover svg{opacity:1;color:var(--maroon)}
/* Contact widget */
.contact-widget__item{display:flex;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--gray-100)}
.contact-widget__item:last-child{border-bottom:none}
.contact-widget__icon{width:32px;height:32px;background:var(--gold-light);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.9rem}
.contact-widget__info label{font-size:.7rem;text-transform:uppercase;letter-spacing:.07em;color:var(--text-muted);font-weight:600}
.contact-widget__info a,.contact-widget__info span{font-size:.85rem;color:var(--gray-800);display:block}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer{background:var(--navy-dark);color:rgba(255,255,255,.75)}
.footer__main{padding:4.5rem 0 3rem}
.footer__grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:3rem;
}
.footer__brand .site-logo img{filter:brightness(0) invert(1);opacity:.85}
.footer__brand .site-logo__name{color:var(--white)}
.footer__brand .site-logo__tagline{color:var(--gold)}
.footer-logo-link{gap:.8rem}

/* Institution meta */
.site-footer .footer__institution-meta{
  margin:1rem 0 0;padding:1rem 0 0;border-top:1px solid rgba(255,255,255,.09);
  color:rgba(255,255,255,.84) !important;
}
.site-footer .footer__institution-meta p{
  font-size:.83rem;
  color:rgba(255,255,255,.84) !important;
  line-height:1.65;
  margin-bottom:.45rem;
}
.site-footer .footer__institution-meta strong{
  color:#fff !important;
  font-weight:700;
}

.footer__brand-social{display:flex;gap:.5rem;margin-top:1.25rem}
.footer__brand-social a{
  width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
  display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.65);
  transition:all var(--transition);
}
.footer__brand-social a:hover{background:var(--gold);border-color:var(--gold);color:var(--navy-dark)}

.footer__col-title{
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;
  color:var(--gold);margin-bottom:1rem;padding-bottom:.5rem;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.footer__links{list-style:none;margin:0;padding:0}
.footer__links li{margin-bottom:.4rem}

/* Explicit .site-footer prefix beats the global a{color:var(--sky-dark)} */
.site-footer .footer__links a{
  font-size:.86rem;
  color:rgba(255,255,255,.82) !important;
  transition:all var(--transition);display:inline-flex;align-items:center;gap:.35rem;
  text-decoration:none;
}
.site-footer .footer__links a::before{
  content:'›';color:var(--sky);font-size:1rem;line-height:1;flex-shrink:0;
  transition:transform var(--transition);
}
.site-footer .footer__links a:hover{color:#fff !important}
.site-footer .footer__links a:hover::before{transform:translateX(2px);color:var(--gold)}

.footer__contact-item{
  display:flex;gap:.7rem;margin-bottom:.85rem;
  font-size:.84rem;color:rgba(255,255,255,.82) !important;line-height:1.55;
}
.site-footer .footer__contact-item a{
  color:#fff !important;
  transition:color var(--transition);text-decoration:none;
  font-weight:600;
}
.site-footer .footer__contact-item a:hover{color:var(--gold) !important}
.site-footer a[href^="tel:"],
.site-footer a[href^="mailto:"]{
  color:#fff !important;
  font-weight:600;
}
.footer__contact-icon{flex-shrink:0;margin-top:.1rem;color:var(--gold);opacity:1}

.footer__apply-btn{
  display:inline-flex;align-items:center;gap:.5rem;
  margin-top:.85rem;padding:.6rem 1.2rem;
  background:var(--sky);color:#fff !important;
  border-radius:5px;font-size:.82rem;font-weight:700;
  transition:all var(--transition);text-decoration:none !important;
}
.footer__apply-btn:hover{background:#0d8fb0;transform:translateY(-1px)}
.footer__apply-btn svg{transition:transform var(--transition)}
.footer__apply-btn:hover svg{transform:translateX(3px)}

.footer__bottom{border-top:1px solid rgba(255,255,255,.07);padding:1rem 0}
.footer__bottom-inner{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;
}
.footer__bottom p{margin:0;font-size:.78rem;color:rgba(255,255,255,.32)}
.footer__bottom nav{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.site-footer .footer__bottom nav a{font-size:.78rem;color:rgba(255,255,255,.45) !important;transition:color var(--transition);text-decoration:none}
.site-footer .footer__bottom nav a:hover{color:var(--gold) !important}
.footer__bottom nav span{color:rgba(255,255,255,.18);font-size:.75rem}

/* Institution meta – make strong text clearly visible */
.site-footer .footer__institution-meta strong{color:#fff !important;font-weight:700}

/* ═══════════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════════ */
.form-group{margin-bottom:1.25rem}
.form-label{font-size:.85rem;font-weight:600;color:var(--navy-dark);display:block;margin-bottom:.4rem}
.form-control{
  width:100%;padding:.7rem 1rem;
  border:1.5px solid var(--gray-200);border-radius:var(--radius-sm);
  font-size:.9rem;color:var(--text);background:var(--white);
  transition:border-color var(--transition),box-shadow var(--transition);
}
.form-control:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(27,58,107,.1)}

/* ═══════════════════════════════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════════════════════════════ */
.search-form{display:flex;gap:.5rem}
.search-form input{
  flex:1;padding:.65rem 1rem;border:1.5px solid var(--gray-200);
  border-radius:var(--radius-sm);font-size:.9rem;
}
.search-form button{padding:.65rem 1.2rem;background:var(--navy);color:var(--white);border-radius:var(--radius-sm)}
.search-form button:hover{background:var(--maroon)}

/* ═══════════════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════════════ */
.error-404{padding:8rem 0;text-align:center}
.error-404 .error-code{font-family:var(--font-h);font-size:8rem;color:var(--gray-200);line-height:1;font-weight:700}
.error-404 h2{font-size:2rem;color:var(--navy-dark);margin:.5rem 0 1rem}
.error-404 p{color:var(--text-muted);max-width:400px;margin-inline:auto 1.5rem}

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════════ */
.pagination{display:flex;align-items:center;justify-content:center;gap:.4rem;margin-top:3rem}
.pagination a,.pagination span{
  display:inline-flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:var(--radius-sm);
  font-size:.9rem;border:1.5px solid var(--gray-200);color:var(--gray-800);
  transition:all var(--transition);
}
.pagination a:hover,.pagination .current{background:var(--navy);border-color:var(--navy);color:var(--white)}

/* ═══════════════════════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════════════════════ */
.back-to-top{
  position:fixed;bottom:2rem;right:2rem;
  width:44px;height:44px;border-radius:50%;
  background:var(--navy);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-lg);z-index:900;
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:all var(--transition);font-size:1rem;
}
.back-to-top.visible{opacity:1;visibility:visible;transform:translateY(0)}
.back-to-top:hover{background:var(--maroon);color:var(--white)}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.fade-up{opacity:0;transform:translateY(30px);transition:opacity .7s ease,transform .7s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}
.fade-up:nth-child(2){transition-delay:.1s}
.fade-up:nth-child(3){transition-delay:.2s}
.fade-up:nth-child(4){transition-delay:.3s}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media(max-width:1100px){
  .footer__grid{grid-template-columns:1fr 1fr;gap:2.5rem}
}
@media(max-width:900px){
  .content-wrap{grid-template-columns:1fr;gap:2rem}
  .sidebar{order:-1}
  .gallery-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:auto}
  .gallery-grid__item:first-child{grid-row:span 1}
  .hero__stats-inner{grid-template-columns:repeat(2,1fr)}
  .hero__stat{border-right:none;border-bottom:1px solid rgba(255,255,255,.1)}
  .hero__stat:nth-child(odd){border-right:1px solid rgba(255,255,255,.1)}
  .hero__stat:last-child,.hero__stat:nth-last-child(2):nth-child(odd){border-bottom:none}
  .accred-bar__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.5rem}
  .about__badge{right:0;bottom:-1rem}
  /* Hero: collapse to single column on tablet */
  .hero__stage{
    grid-template-columns:1fr;
    padding-left:clamp(1.25rem,7vw,3rem);
    padding-right:clamp(1.25rem,7vw,3rem);
  }
  .hero__title{font-size:clamp(2.4rem,7vw,3.5rem)}
}
@media(max-width:768px){
  .top-bar__contact .top-bar__contact-item:not(:first-child){display:none}
  .primary-nav{
    display:none;position:absolute;top:100%;left:0;right:0;
    background:var(--white);border-top:1px solid var(--gray-200);
    flex-direction:column;padding:1rem 0;box-shadow:var(--shadow-lg);
    max-height:calc(100vh - 80px);overflow-y:auto;
  }
  .primary-nav.open{display:flex}
  .primary-nav>li>a{padding:.75rem 1.5rem;font-size:.95rem}
  .primary-nav>li>a::after{display:none}
  .primary-nav .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;
    box-shadow:none;border:none;padding:0;min-width:0;
    background:var(--gray-50);display:none;
  }
  .primary-nav .has-children.open>.sub-menu{display:block}
  .primary-nav .sub-menu li a{padding:.6rem 2rem;font-size:.88rem}
  .nav-toggle{display:flex}
  .header-cta .btn{display:none}
  .header-cta .btn--primary{display:inline-flex}
  .site-header{position:sticky;top:0}
  .site-logo img{height:48px}
  .footer__grid{grid-template-columns:1fr}
  .admission-cta__inner{flex-direction:column;text-align:center}
  .admission-cta__actions{justify-content:center}
  .about__features{grid-template-columns:1fr}
  .about__text{padding-left:0;margin-top:3rem}
}
@media(max-width:480px){
  .hero__stats-inner{grid-template-columns:1fr 1fr}
  .accred-bar__inner{grid-template-columns:1fr}
  .accred-item span{white-space:normal;overflow:visible;text-overflow:clip}
  .gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .hero__badge{display:none}
  .hero__stage{padding-left:1.15rem;padding-right:1.15rem}
  .hero__title{padding-left:.85rem;border-left-width:4px}
}
