/* ============================================================
   Ashford Institute of Technology — style.css
   Theme  : Minimal Clean Academic
   Colors : Forest Green + Cardinal Red + Slate
   Fonts  : Playfair Display (headings) + Inter (body)
   Author : Crestwood Studio
============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- Custom Properties ---- */
:root {
  --green:          #166534;
  --green-mid:      #16a34a;
  --green-light:    #86efac;
  --green-pale:     #f0fdf4;
  --red:            #b91c1c;
  --red-mid:        #dc2626;
  --red-light:      #fca5a5;
  --red-pale:       #fef2f2;
  --gold:           #92400e;
  --gold-mid:       #d97706;
  --gold-pale:      #fffbeb;
  --slate:          #0f172a;
  --slate-mid:      #1e293b;
  --slate-light:    #334155;
  --gray:           #475569;
  --gray-mid:       #64748b;
  --gray-light:     #94a3b8;
  --border:         #e2e8f0;
  --border-dark:    #cbd5e1;
  --bg:             #ffffff;
  --bg-alt:         #f8fafc;
  --bg-warm:        #fafaf9;
  --text:           #475569;
  --text-dark:      #1e293b;
  --heading:        #0f172a;
  --white:          #ffffff;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --shadow-xs:      0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm:      0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -2px rgba(0,0,0,.06);
  --shadow-md:      0 10px 25px -5px rgba(0,0,0,.09), 0 4px 10px -5px rgba(0,0,0,.06);
  --shadow-lg:      0 20px 40px -12px rgba(0,0,0,.12);
  --transition:     .25s ease;
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;
}

/* ---- Dark Mode ---- */
[data-theme="dark"] {
  --bg:             #0b1120;
  --bg-alt:         #111827;
  --bg-warm:        #0f172a;
  --text:           #94a3b8;
  --text-dark:      #cbd5e1;
  --heading:        #f1f5f9;
  --white:          #1e293b;
  --border:         #1e293b;
  --border-dark:    #334155;
  --green-pale:     #052e16;
  --red-pale:       #1c0707;
  --gold-pale:      #1c1000;
  --gray-light:     #64748b;
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background var(--transition), color var(--transition);
}
a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--heading); line-height: 1.25; }

/* ---- Utilities ---- */
.section-padding { padding: 88px 0; }
.section-padding-sm { padding: 60px 0; }
.bg-light-ait { background: var(--bg-alt); }
.ait-divider { width: 48px; height: 3px; background: var(--green); margin-bottom: 24px; }
.ait-divider-center { margin-left: auto; margin-right: auto; }

/* ---- Section Title ---- */
.section-title { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-title .badge-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green); background: var(--green-pale); border: 1px solid var(--green-light);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-title h2 { font-size: clamp(24px, 3vw, 36px); color: var(--heading); margin-bottom: 16px; }
.section-title p { font-size: 16px; color: var(--text); }
.section-title.left { text-align: left; margin: 0 0 40px; }
.section-title.left .badge-label { display: inline-flex; }
.ait-hl { color: var(--green); }

/* ---- Preloader ---- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .45s ease, visibility .45s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.ait-preloader-logo {
  font-family: var(--font-heading); font-size: 36px; font-weight: 800;
  color: var(--green); letter-spacing: -.02em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.ait-preloader-logo span { font-style: italic; color: var(--red); }
.ait-loader-bar {
  width: 200px; height: 3px; background: var(--border);
  border-radius: 2px; overflow: hidden; margin: 0 auto 14px;
}
.ait-loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--green), var(--green-mid));
  border-radius: 2px;
  animation: loaderFill 1.2s ease forwards;
}
@keyframes loaderFill { to { width: 100%; } }
.preloader-inner p {
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gray-light); font-weight: 600;
}

/* ---- Dark Mode Toggle ---- */
#dark-mode-toggle {
  position: fixed; bottom: 80px; right: 22px; z-index: 999;
  width: 42px; height: 42px;
  background: var(--white); border: 1.5px solid var(--border-dark);
  border-radius: 9px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); box-shadow: var(--shadow-sm);
  transition: var(--transition); font-size: 15px;
}
#dark-mode-toggle:hover { color: var(--green); border-color: var(--green); }

/* ---- Back to Top ---- */
#back-to-top {
  position: fixed; bottom: 24px; right: 22px; z-index: 999;
  width: 42px; height: 42px;
  background: var(--green); color: #fff;
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transition: var(--transition);
  border: none;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--green-mid); color: #fff; transform: translateY(-2px); }

/* ---- Fixed Site Header (ticker + nav wrapper, homepage) ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
}
#site-header #mainNav {
  position: relative;
}
#site-header.scrolled { box-shadow: var(--shadow-sm); }

/* ---- Navbar ---- */
#mainNav {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0;
  transition: var(--transition);
}
#mainNav.scrolled { box-shadow: var(--shadow-sm); }
[data-theme="dark"] #mainNav { background: var(--bg); }
.ait-brand {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
}
.ait-brand-shield {
  width: 42px; height: 42px;
  background: var(--green); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-heading); font-style: italic;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
  letter-spacing: -.01em;
}
.ait-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.ait-brand-name {
  font-family: var(--font-heading); font-weight: 700; font-size: 15.5px;
  color: var(--slate); letter-spacing: -.01em;
}
[data-theme="dark"] .ait-brand-name { color: var(--heading); }
.ait-brand-sub { font-size: 10.5px; font-weight: 600; color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
.navbar-nav .nav-link {
  font-size: 13.5px; font-weight: 500; color: var(--gray);
  padding: 8px 12px !important; border-radius: var(--radius-sm);
  transition: var(--transition); position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--green); background: var(--green-pale); }
.nav-cta-ait {
  background: var(--green) !important; color: #fff !important;
  padding: 8px 20px !important; border-radius: 6px !important;
  font-weight: 600 !important;
}
.nav-cta-ait:hover { background: var(--green-mid) !important; color: #fff !important; }

/* ---- Page Header ---- */
.ait-page-header {
  padding: 80px 0 64px;
  margin-top: 57px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.ait-page-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-mid), var(--red));
}
.ait-page-header h1 { font-size: clamp(28px, 4vw, 46px); color: var(--heading); margin-bottom: 12px; }
.ait-page-header .breadcrumb { background: none; padding: 0; margin: 0; }
.ait-page-header .breadcrumb-item { font-size: 13.5px; color: var(--gray); }
.ait-page-header .breadcrumb-item a { color: var(--green); font-weight: 500; }
.ait-page-header .breadcrumb-item.active { color: var(--heading); }
.ait-page-header .breadcrumb-item+.breadcrumb-item::before { color: var(--border-dark); }
.ait-ph-bg-text {
  position: absolute; right: -30px; top: 0; bottom: 0;
  display: flex; align-items: center;
  font-family: var(--font-heading); font-size: 140px; font-weight: 800; font-style: italic;
  color: var(--green); opacity: .05; pointer-events: none;
  white-space: nowrap; user-select: none;
}

/* ---- Buttons ---- */
.btn-ait-green {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff !important;
  padding: 13px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600; border: 2px solid var(--green);
  transition: var(--transition); cursor: pointer; font-family: var(--font-body);
}
.btn-ait-green:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,101,52,.25); }
.btn-ait-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff !important;
  padding: 13px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600; border: 2px solid var(--red);
  transition: var(--transition); cursor: pointer; font-family: var(--font-body);
}
.btn-ait-red:hover { background: var(--red-mid); border-color: var(--red-mid); transform: translateY(-1px); }
.btn-ait-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--heading) !important;
  padding: 13px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600; border: 2px solid var(--border-dark);
  transition: var(--transition); cursor: pointer; font-family: var(--font-body);
}
.btn-ait-outline:hover { border-color: var(--green); color: var(--green) !important; }
.btn-ait-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--green) !important;
  padding: 11px 22px; border-radius: 6px;
  font-size: 13.5px; font-weight: 600; border: 1.5px solid var(--green);
  transition: var(--transition); cursor: pointer; font-family: var(--font-body);
}
.btn-ait-ghost:hover { background: var(--green-pale); }
.btn-sm-ait { padding: 8px 18px !important; font-size: 13px !important; }

/* ---- Form Controls ---- */
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 16px; font-size: 14px; font-family: var(--font-body);
  color: var(--text-dark); background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,101,52,.12); outline: none;
}
.form-label { font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
  background: var(--bg-alt); border-color: var(--border);
  color: var(--text-dark);
}

/* ========== HERO ========== */
.ait-hero {
  padding-top: 110px; /* #site-header height: ticker (~42px) + navbar (~68px) */
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: var(--bg);
}
.ait-hero-left { padding: 80px 0 80px; }
.ait-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-pale); border: 1px solid var(--green-light);
  color: var(--green); padding: 6px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 24px;
}
.ait-hero h1 {
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.1;
  color: var(--heading);
  letter-spacing: -.025em;
  margin-bottom: 24px;
}
.ait-hero h1 em { color: var(--green); font-style: italic; }
.ait-hero h1 .ait-h1-red { color: var(--red); }
.ait-hero-desc { font-size: 17px; color: var(--text); max-width: 520px; margin-bottom: 36px; line-height: 1.75; }
.ait-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.ait-hero-stats {
  display: flex; gap: 32px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 28px;
}
.ait-hero-stat-box { text-align: left; }
.ait-hero-stat-box strong {
  display: block; font-family: var(--font-heading); font-size: 30px; font-weight: 800;
  color: var(--heading); line-height: 1;
}
.ait-hero-stat-box strong sup { font-size: 18px; }
.ait-hero-stat-box span { font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; }

/* Hero Right Panel */
.ait-hero-right {
  position: relative; padding: 60px 0;
  display: flex; align-items: center; justify-content: center;
}
.ait-hero-img-wrap {
  position: relative; max-width: 480px; width: 100%;
}
.ait-hero-img-wrap img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
}
.ait-hero-accent {
  position: absolute; top: -20px; right: -20px; z-index: -1;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--green-pale); border: 1.5px dashed var(--green-light);
}
.ait-hero-accent-2 {
  position: absolute; bottom: 20px; left: -30px; z-index: -1;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--red-pale); border: 1.5px dashed var(--red-light);
}
.ait-hero-card {
  position: absolute; bottom: 30px; right: -20px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow-md); min-width: 180px;
}
.ait-hero-card strong { display: block; font-family: var(--font-heading); font-size: 22px; font-weight: 800; color: var(--green); }
.ait-hero-card span { font-size: 12px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .05em; }
.ait-hero-card-2 {
  position: absolute; top: 40px; left: -20px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
}
.ait-hero-card-2 .card-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--red-pale); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.ait-hero-card-2 strong { display: block; font-size: 14px; font-weight: 700; color: var(--heading); line-height: 1.2; }
.ait-hero-card-2 span { font-size: 11.5px; color: var(--gray); }

/* ---- Announcement Ticker ---- */
.ait-ticker {
  background: var(--green); color: #fff;
  padding: 10px 0; overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.ait-ticker-inner {
  display: inline-flex; gap: 48px; align-items: center;
  animation: tickerMove 30s linear infinite;
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ait-ticker-inner span { font-size: 13px; font-weight: 500; }
.ait-ticker-inner .ticker-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); flex-shrink: 0; }

/* ---- About Preview ---- */
.ait-about-img-wrap { position: relative; }
.ait-about-img-wrap img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.ait-about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--green); color: #fff;
  border-radius: var(--radius); padding: 20px 24px;
  text-align: center; box-shadow: var(--shadow-md);
}
.ait-about-badge strong { display: block; font-family: var(--font-heading); font-size: 34px; font-weight: 800; line-height: 1; }
.ait-about-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; opacity: .85; }
.ait-checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.ait-checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-dark);
}
.ait-checklist li i { color: var(--green); margin-top: 3px; font-size: 13px; }
.ait-checklist li:last-child { border-bottom: none; }

/* ---- Program Cards ---- */
.ait-program-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); height: 100%;
  position: relative; overflow: hidden;
}
.ait-program-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--green); transform: scaleY(0) translateY(100%);
  transform-origin: bottom; transition: transform .3s ease;
}
.ait-program-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ait-program-card:hover::before { transform: scaleY(1) translateY(0); }
.ait-program-card:hover .ait-pc-arrow { color: var(--green); }
.ait-pc-icon {
  width: 52px; height: 52px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
}
.ait-pc-title { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 8px; font-family: var(--font-heading); }
.ait-pc-desc { font-size: 13.5px; color: var(--text); line-height: 1.65; margin-bottom: 16px; }
.ait-pc-meta { font-size: 12px; color: var(--gray-light); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.ait-pc-arrow { color: var(--border-dark); font-size: 12px; transition: var(--transition); font-weight: 700; font-size: 13px; }

/* ---- Stats ---- */
.ait-stats-section {
  background: var(--slate); position: relative; overflow: hidden;
  padding: 72px 0;
}
.ait-stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,101,52,.15), transparent 60%);
}
.ait-stat-item { text-align: center; color: #fff; }
.ait-stat-num {
  font-family: var(--font-heading); font-size: clamp(36px, 5vw, 58px);
  font-weight: 800; color: #fff; line-height: 1;
  margin-bottom: 8px; display: block;
}
.ait-stat-num sup { font-size: .55em; color: var(--green-light); }
.ait-stat-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .1em; }
.ait-stat-divider { width: 1px; background: rgba(255,255,255,.12); }

/* ---- Faculty Cards ---- */
.ait-faculty-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); height: 100%;
}
.ait-faculty-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--green); }
.ait-fac-photo { position: relative; overflow: hidden; }
.ait-fac-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .4s ease; }
.ait-faculty-card:hover .ait-fac-photo img { transform: scale(1.05); }
.ait-fac-social-overlay {
  position: absolute; inset: 0;
  background: rgba(22,101,52,.82);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity .3s ease;
}
.ait-faculty-card:hover .ait-fac-social-overlay { opacity: 1; }
.ait-fac-social-overlay a {
  width: 36px; height: 36px; background: rgba(255,255,255,.18);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; transition: background .2s;
}
.ait-fac-social-overlay a:hover { background: rgba(255,255,255,.35); }
.ait-fac-body { padding: 18px 20px; }
.ait-fac-title { font-size: 15.5px; font-weight: 700; color: var(--heading); margin-bottom: 4px; font-family: var(--font-heading); }
.ait-fac-dept { font-size: 11.5px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.ait-fac-spec { font-size: 13px; color: var(--text); margin-bottom: 12px; }
.ait-fac-badge { display: inline-flex; align-items: center; gap: 5px; background: var(--green-pale); color: var(--green); padding: 3px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 600; }

/* ---- News / Research Cards ---- */
.ait-news-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); height: 100%;
}
.ait-news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ait-news-card:hover .ait-news-img img { transform: scale(1.05); }
.ait-news-img { overflow: hidden; }
.ait-news-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s ease; }
.ait-news-body { padding: 22px; }
.ait-news-tag {
  display: inline-flex; align-items: center;
  background: var(--red-pale); color: var(--red);
  padding: 3px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 10px;
}
.ait-news-tag.green { background: var(--green-pale); color: var(--green); }
.ait-news-tag.gold { background: var(--gold-pale); color: var(--gold); }
.ait-news-title { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 8px; font-family: var(--font-heading); line-height: 1.35; }
.ait-news-title a:hover { color: var(--green); }
.ait-news-meta { font-size: 12px; color: var(--gray-light); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* ---- Dept Filter / Gallery Filter ---- */
.ait-dept-filter, .ait-gal-filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px;
}
.ait-dept-filter button, .ait-gal-filter button {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--gray); padding: 7px 18px; border-radius: 6px;
  font-size: 13px; font-weight: 600; font-family: var(--font-body);
  cursor: pointer; transition: var(--transition);
}
.ait-dept-filter button:hover, .ait-gal-filter button:hover { border-color: var(--green); color: var(--green); }
.ait-dept-filter button.active, .ait-gal-filter button.active {
  background: var(--green); border-color: var(--green); color: #fff;
}

/* ---- Gallery ---- */
.ait-gal-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--bg-alt);
  border: 1px solid var(--border);
  cursor: pointer; transition: var(--transition);
}
.ait-gal-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.ait-gal-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s ease; }
.ait-gal-item:hover img { transform: scale(1.05); }
.ait-gal-overlay {
  position: absolute; inset: 0;
  background: rgba(15,23,42,.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transition: opacity .3s ease;
}
.ait-gal-item:hover .ait-gal-overlay { opacity: 1; }
.ait-gal-overlay i { font-size: 22px; color: #fff; }
.ait-gal-overlay span { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85); text-align: center; padding: 0 12px; }

/* ---- Contact ---- */
.ait-con-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 0; align-items: flex-start;
  transition: var(--transition);
}
.ait-con-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.ait-con-icon {
  width: 48px; height: 48px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 17px;
  background: color-mix(in srgb, var(--icon-clr, var(--green)) 12%, transparent);
  color: var(--icon-clr, var(--green)); margin-bottom: 14px;
}
.ait-con-card h5 { font-size: 15px; font-weight: 700; color: var(--heading); margin-bottom: 6px; font-family: var(--font-heading); }
.ait-con-card p { font-size: 13.5px; color: var(--text); line-height: 1.7; margin-bottom: 3px; }
.ait-con-card a { font-size: 13.5px; color: var(--text); }
.ait-con-card a:hover { color: var(--green); }
.ait-con-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--green);
  text-decoration: none; margin-top: 12px; transition: var(--transition);
}
.ait-con-link:hover { gap: 10px; color: var(--green-mid); }
/* Social Follow Cards */
.ait-social-follow-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; padding: 28px 16px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); text-decoration: none;
  transition: var(--transition); color: var(--heading); text-align: center;
}
.ait-social-follow-card i { font-size: 22px; color: var(--sfc-clr, var(--green)); }
.ait-social-follow-card span { font-size: 13.5px; font-weight: 600; color: var(--heading); }
.ait-social-follow-card small { font-size: 12px; color: var(--text); }
.ait-social-follow-card:hover {
  border-color: var(--sfc-clr, var(--green)); box-shadow: var(--shadow-sm);
  transform: translateY(-3px); color: var(--heading);
}
.ait-form-box {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.ait-map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
.ait-map-wrap iframe { width: 100%; height: 340px; display: block; }
.success-alert { display: none; margin-bottom: 18px; border-radius: var(--radius-sm); }

/* ---- Timeline ---- */
.ait-timeline { position: relative; padding-left: 28px; }
.ait-timeline::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0;
  width: 2px; background: linear-gradient(to bottom, var(--green), var(--border));
}
.ait-tl-item { position: relative; margin-bottom: 32px; }
.ait-tl-dot {
  position: absolute; left: -35px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--green); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
}
.ait-tl-year { font-family: var(--font-heading); font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: .06em; margin-bottom: 4px; }
.ait-tl-title { font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 4px; font-family: var(--font-heading); }
.ait-tl-desc { font-size: 14px; color: var(--text); }

/* ---- Admissions Steps ---- */
.ait-step-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px; height: 100%;
  transition: var(--transition); position: relative; overflow: hidden;
}
.ait-step-card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.ait-step-num {
  font-family: var(--font-heading); font-size: 48px; font-weight: 800; font-style: italic;
  position: absolute; top: 16px; right: 20px;
  color: var(--border); line-height: 1; pointer-events: none;
  transition: var(--transition);
}
.ait-step-card:hover .ait-step-num { color: var(--green-light); }
.ait-step-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--green-pale); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.ait-step-title { font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 8px; font-family: var(--font-heading); }
.ait-step-desc { font-size: 13.5px; color: var(--text); line-height: 1.65; }

/* ---- School/Course Cards ---- */
.ait-school-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  transition: var(--transition);
}
.ait-school-card:hover { box-shadow: var(--shadow-md); }
.ait-school-banner { height: 90px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.ait-school-banner-bg { position: absolute; inset: 0; opacity: .07; }
.ait-school-icon { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; }
.ait-school-body { padding: 22px 24px; }
.ait-school-title { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.ait-school-desc { font-size: 13.5px; color: var(--text); margin-bottom: 16px; }
.ait-prog-list { list-style: none; padding: 0; margin: 0 0 18px; }
.ait-prog-list li { font-size: 13px; color: var(--text); padding: 5px 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.ait-prog-list li:last-child { border-bottom: none; }
.ait-prog-list li i { color: var(--green); font-size: 10px; }
.ait-school-footer { padding: 14px 24px; background: var(--bg-alt); border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.ait-school-footer span { font-size: 11.5px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .07em; }

/* ---- Values / Mission Cards ---- */
.ait-mv-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 30px; height: 100%;
  transition: var(--transition); border-top: 4px solid transparent;
}
.ait-mv-card.green { border-top-color: var(--green); }
.ait-mv-card.red   { border-top-color: var(--red);   }
.ait-mv-card.gold  { border-top-color: var(--gold-mid); }
.ait-mv-card:hover { box-shadow: var(--shadow-sm); }
.ait-mv-icon { width: 50px; height: 50px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; }
.ait-mv-title { font-family: var(--font-heading); font-size: 19px; font-weight: 700; color: var(--heading); margin-bottom: 10px; }
.ait-mv-desc { font-size: 14.5px; color: var(--text); line-height: 1.7; }

/* ---- Testimonials ---- */
.ait-testimonial {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; height: 100%;
  position: relative; transition: var(--transition);
}
.ait-testimonial::before {
  content: '\201C';
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-heading); font-size: 72px; color: var(--green-light);
  line-height: 1; pointer-events: none;
}
.ait-testimonial:hover { box-shadow: var(--shadow-md); }
.ait-testi-text { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 22px; font-style: italic; }
.ait-testi-author { display: flex; align-items: center; gap: 12px; }
.ait-testi-photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-dark); }
.ait-testi-name { font-size: 14.5px; font-weight: 700; color: var(--heading); margin-bottom: 2px; }
.ait-testi-meta { font-size: 12px; color: var(--gray-light); }

/* ---- Accreditation Badges ---- */
.ait-accred { display: flex; flex-wrap: wrap; gap: 12px; }
.ait-accred-badge {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 18px;
  font-size: 13px; font-weight: 600; color: var(--text-dark);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.ait-accred-badge i { color: var(--green); }
.ait-accred-badge:hover { border-color: var(--green); color: var(--green); }

/* ---- CTA Section ---- */
.ait-cta {
  background: var(--slate); color: #fff;
  padding: 88px 0; position: relative; overflow: hidden;
}
.ait-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(22,101,52,.2) 0%, rgba(22,101,52,0) 60%);
}
.ait-cta-body { position: relative; z-index: 1; max-width: 700px; }
.ait-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 42px); margin-bottom: 16px; }
.ait-cta p { color: rgba(255,255,255,.7); font-size: 16.5px; margin-bottom: 30px; }
.ait-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ait-cta-deco {
  position: absolute; right: 0; bottom: 0; top: 0; width: 400px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.ait-cta-deco-text {
  font-family: var(--font-heading); font-size: 200px; font-weight: 800; font-style: italic;
  color: rgba(255,255,255,.04); line-height: 1;
  white-space: nowrap; pointer-events: none;
}

/* ---- Footer ---- */
.ait-footer {
  background: var(--bg-alt);
  border-top: 1.5px solid var(--border);
  padding: 72px 0 0;
}
.ait-footer h5 { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--heading); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--green); display: inline-block; }
.ait-footer p { font-size: 14px; color: var(--text); line-height: 1.75; }
.ait-flinks { list-style: none; padding: 0; margin: 0; }
.ait-flinks li { border-bottom: 1px solid var(--border); }
.ait-flinks li:last-child { border-bottom: none; }
.ait-flinks a { font-size: 13.5px; color: var(--text); padding: 8px 0; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.ait-flinks a:hover { color: var(--green); padding-left: 4px; }
.ait-flinks a i { font-size: 10px; color: var(--green); }
.ait-fsocial { display: flex; gap: 8px; margin-top: 18px; }
.ait-fsocial a {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--border); color: var(--gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: var(--transition);
}
.ait-fsocial a:hover { color: #fff; }
.ait-fsocial a.fb:hover { background: #1877f2; border-color: #1877f2; }
.ait-fsocial a.tw:hover { background: #1da1f2; border-color: #1da1f2; }
.ait-fsocial a.ig:hover { background: #e1306c; border-color: #e1306c; }
.ait-fsocial a.li:hover { background: #0077b5; border-color: #0077b5; }
.ait-fsocial a.yt:hover { background: #ff0000; border-color: #ff0000; }
.ait-fcontact { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.ait-fcontact i { color: var(--green); margin-top: 4px; font-size: 13px; }
.ait-fcontact p, .ait-fcontact a { font-size: 13.5px; color: var(--text); }
.ait-fcontact a:hover { color: var(--green); }
.ait-footer-bottom {
  margin-top: 48px; padding: 18px 0;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--gray-light);
}
.ait-footer-bottom a { color: var(--green); }
.ait-footer-bottom a:hover { text-decoration: underline; }

/* ---- Accordion Override ---- */
.ait-accordion .accordion-item {
  border: 1.5px solid var(--border); border-radius: var(--radius) !important;
  margin-bottom: 10px; overflow: hidden; background: var(--white);
}
.ait-accordion .accordion-button {
  font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--heading);
  background: var(--white); padding: 16px 20px;
}
.ait-accordion .accordion-button:not(.collapsed) { color: var(--green); background: var(--green-pale); box-shadow: none; }
.ait-accordion .accordion-button:focus { box-shadow: none; }
.ait-accordion .accordion-button::after { filter: none; }
.ait-accordion .accordion-body { font-size: 14.5px; color: var(--text); padding: 18px 20px; background: var(--bg); }
[data-theme="dark"] .ait-accordion .accordion-button { background: var(--bg-alt); color: var(--heading); }
[data-theme="dark"] .ait-accordion .accordion-button:not(.collapsed) { background: var(--green-pale); }

/* ---- Table ---- */
.ait-table { width: 100%; border-collapse: collapse; }
.ait-table th { background: var(--green); color: #fff; padding: 13px 16px; font-size: 13px; font-weight: 700; text-align: left; font-family: var(--font-body); letter-spacing: .04em; text-transform: uppercase; }
.ait-table td { padding: 13px 16px; font-size: 14px; color: var(--text-dark); border-bottom: 1px solid var(--border); }
.ait-table tr:last-child td { border-bottom: none; }
.ait-table tr:nth-child(even) td { background: var(--bg-alt); }
.ait-table-wrap { border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .navbar-collapse { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-top: 10px; }
  [data-theme="dark"] .navbar-collapse { background: var(--bg-alt); }
  .ait-hero-right { display: none; }
  .ait-hero-left { padding: 60px 0; text-align: center; }
  .ait-hero-btns { justify-content: center; }
  .ait-hero-stats { justify-content: center; }
  .ait-about-badge { right: 0; bottom: -10px; }
  .ait-cta-deco { display: none; }
}
@media (max-width: 767px) {
  .section-padding { padding: 60px 0; }
  .ait-page-header { padding: 60px 0 44px; }
  .ait-form-box { padding: 24px; }
  .ait-ph-bg-text { display: none; }
}
