/*
Theme Name: IAH Consultancy v2
Theme URI: https://iahconsultancy.com
Author: Izdihar Al Haya Management Consultancy LLC
Description: Premium education & AI consultancy theme — warm ivory, deep navy, gold accents. Single-page design with ACF editable fields.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: iah-v2
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Ivory palette */
  --ivory:        #FAFAF8;
  --ivory-2:      #F4F3EF;
  --ivory-3:      #EAE9E3;
  --ivory-4:      #E0DED6;

  /* Navy palette */
  --navy:         #1B2B4B;
  --navy-2:       #243760;
  --navy-light:   #2E4578;
  --navy-muted:   rgba(27,43,75,0.65);
  --navy-faint:   rgba(27,43,75,0.12);

  /* Gold palette */
  --gold:         #C9A84C;
  --gold-light:   #E8C97A;
  --gold-dark:    #9A7530;
  --gold-pale:    rgba(201,168,76,0.10);
  --gold-border:  rgba(201,168,76,0.25);

  /* Text */
  --text-primary:   #1B2B4B;
  --text-secondary: rgba(27,43,75,0.65);
  --text-muted:     rgba(27,43,75,0.40);
  --text-gold:      #9A7530;

  /* Borders */
  --border:       rgba(27,43,75,0.10);
  --border-gold:  rgba(201,168,76,0.22);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  /* Spacing */
  --section-pad:  110px;
  --max-w:        1180px;
  --radius:       6px;
  --radius-lg:    14px;
  --radius-xl:    22px;

  /* Motion */
  --ease:         cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t:            0.35s;

  /* Shadows */
  --shadow-sm:    0 2px 12px rgba(27,43,75,0.08);
  --shadow-md:    0 8px 32px rgba(27,43,75,0.10);
  --shadow-lg:    0 20px 60px rgba(27,43,75,0.12);
  --shadow-gold:  0 8px 32px rgba(201,168,76,0.18);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--ivory);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color var(--t) var(--ease); }
a:hover { color: var(--gold); }
h1,h2,h3,h4,h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }
.section { padding: var(--section-pad) 0; }
.section--alt { background: var(--ivory-2); }
.section--navy { background: var(--navy); }
.section--navy-2 { background: var(--navy-2); }
.section--ivory-3 { background: var(--ivory-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.85;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: all var(--t) var(--ease);
  position: relative; overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--ivory);
}
.btn--primary:hover {
  color: var(--ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
}
.btn--gold:hover {
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--navy-faint);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn--outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 1.5px solid var(--gold-border);
}
.btn--outline-gold:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--ivory);
  color: var(--navy);
}
.btn--white:hover {
  color: var(--navy);
  background: var(--ivory-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Tags */
.tag {
  display: inline-flex; align-items: center;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  color: var(--gold-dark);
  background: var(--gold-pale);
  margin: 2px;
}

/* Cards */
.card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.card--navy {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--ivory);
}
.card--navy:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(201,168,76,0.30);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.page-loader.done { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700; color: var(--ivory);
}
.loader-logo span { color: var(--gold); }
.loader-track {
  width: 180px; height: 1px;
  background: rgba(255,255,255,0.15);
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  animation: loaderGrow 1.2s var(--ease) forwards;
}
@keyframes loaderGrow { to { width: 100%; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: all var(--t) var(--ease);
}
.site-header.scrolled {
  background: rgba(250,250,248,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700;
  color: var(--navy); letter-spacing: 0.02em;
}
/* On hero (transparent header) — logo stays navy on ivory hero */
.site-header:not(.scrolled) .logo-name { color: var(--navy); }
.site-header:not(.scrolled) .logo-name span { color: var(--gold); }
.logo-name span { color: var(--gold); }
.logo-tagline {
  font-size: 0.54rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-dark); margin-top: 3px;
}
.site-header:not(.scrolled) .logo-tagline { color: var(--gold-dark); }

.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.74rem; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
}
.nav-link:hover { background: var(--navy-faint); color: var(--navy); }
.site-header:not(.scrolled) .nav-link { color: var(--text-secondary); }
.site-header:not(.scrolled) .nav-link:hover { background: var(--navy-faint); color: var(--navy); }

.nav-btn {
  margin-left: 8px;
  padding: 10px 22px;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
}
.nav-btn:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.site-header:not(.scrolled) .nav-btn { background: var(--gold); color: var(--navy); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--navy);
  transition: all var(--t) var(--ease);
}
.site-header:not(.scrolled) .menu-toggle span { background: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 140px 0 100px;
  background: var(--ivory);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(201,168,76,0.04) 0%, transparent 55%),
    linear-gradient(160deg, #FAFAF8 0%, #F4F3EF 60%, #FAFAF8 100%);
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27,43,75,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,43,75,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 65% 30%, black 0%, transparent 75%);
}

.hero-content { position: relative; z-index: 2; max-width: 700px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 32px;
  font-family: var(--font-body);
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,168,76,0.4); }
  50% { opacity: .7; box-shadow: 0 0 0 5px rgba(201,168,76,0); }
}

.hero-title {
  font-size: clamp(3rem, 6.5vw, 5.2rem);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--gold); }

.hero-desc {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 540px; line-height: 1.85;
  margin-bottom: 40px; font-weight: 300;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex; gap: 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  padding-right: 36px; margin-right: 36px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-muted); margin-top: 5px;
  font-family: var(--font-body);
}

/* Floating cards */
.hero-float {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 38%; z-index: 2; pointer-events: none;
}
.hero-float-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 14px;
  animation: floatAnim 7s ease-in-out infinite;
}
.hero-float-card:nth-child(2) { animation-delay: 2.5s; margin-left: 32px; }
.hero-float-card:nth-child(3) { animation-delay: 5s; }
@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hfc-label {
  font-size: 0.60rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 4px; font-family: var(--font-body);
}
.hfc-value {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: var(--ivory);
}

/* ============================================================
   WHO WE SERVE STRIP
   ============================================================ */
.serve-strip {
  background: var(--ivory-3);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.serve-inner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.serve-label {
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
  font-family: var(--font-body);
}
.serve-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.serve-tag {
  font-size: 0.78rem; color: var(--text-secondary);
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-weight: 400;
}

/* ============================================================
   EDUCATION SECTION
   ============================================================ */
.edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.edu-stages { display: flex; flex-direction: column; gap: 0; }
.edu-stage {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.edu-stage:last-child { border-bottom: none; }
.stage-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700; color: var(--gold-dark);
  flex-shrink: 0;
}
.stage-title { font-size: 0.95rem; font-weight: 500; color: var(--navy); margin-bottom: 3px; font-family: var(--font-body); }
.stage-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; font-family: var(--font-body); }

.edu-feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 28px;
}
.edu-feature {
  padding: 16px 18px;
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}
.edu-feature-title {
  font-size: 0.88rem; font-weight: 500; color: var(--navy);
  margin-bottom: 3px; font-family: var(--font-body);
}
.edu-feature-desc { font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-body); }

/* Institution type cards */
.inst-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  margin-top: 48px;
}
.inst-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 24px 18px; text-align: center;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
}
.inst-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.inst-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.inst-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.inst-desc { font-size: 0.72rem; color: var(--text-muted); line-height: 1.65; font-family: var(--font-body); }

/* ============================================================
   AI SECTION
   ============================================================ */
.ai-section { background: var(--navy); color: var(--ivory); }
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

.ai-solution-list { display: flex; flex-direction: column; gap: 12px; }
.ai-solution {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  transition: all var(--t) var(--ease);
}
.ai-solution:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(201,168,76,0.35);
}
.ai-solution-icon { font-size: 1.5rem; flex-shrink: 0; }
.ai-solution-title { font-size: 0.95rem; font-weight: 500; color: var(--ivory); margin-bottom: 3px; font-family: var(--font-body); }
.ai-solution-desc { font-size: 0.80rem; color: rgba(250,250,248,0.50); line-height: 1.65; font-family: var(--font-body); }

.ai-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px; }
.ai-stat {
  text-align: center; padding: 18px 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.ai-stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.ai-stat-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,250,248,0.38); margin-top: 5px; font-family: var(--font-body); }

/* ============================================================
   OTHER SERVICES
   ============================================================ */
.other-grid {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 2px;
  background: var(--border); margin-top: 48px;
}
.other-card {
  background: var(--ivory); padding: 28px 18px; text-align: center;
  transition: all var(--t) var(--ease);
}
.other-card:hover { background: var(--ivory-2); }
.other-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.other-name { font-family: var(--font-display); font-size: 1rem; color: var(--navy); margin-bottom: 5px; }
.other-desc { font-size: 0.70rem; color: var(--text-muted); font-family: var(--font-body); }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.why-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
}
.why-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.why-icon { font-size: 1.8rem; margin-bottom: 16px; display: block; }
.why-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.why-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.80; font-family: var(--font-body); }

/* ============================================================
   JURISDICTIONS
   ============================================================ */
.juris-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px;
  margin-top: 48px;
}
.juris-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 22px 16px; text-align: center;
  transition: all var(--t) var(--ease);
}
.juris-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: var(--gold-border);
  transform: translateY(-3px);
}
.juris-flag { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.juris-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--ivory); margin-bottom: 5px; }
.juris-desc { font-size: 0.68rem; color: var(--gold-light); letter-spacing: 0.10em; text-transform: uppercase; font-family: var(--font-body); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.about-card {
  background: var(--ivory-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.about-detail {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.about-detail:last-child { border-bottom: none; }
.about-detail-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.about-detail-label { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 3px; font-family: var(--font-body); }
.about-detail-value { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; font-family: var(--font-body); }
.about-arabic {
  margin-top: 16px; padding: 16px 18px;
  background: var(--ivory-3); border: 1px solid var(--border);
  border-radius: var(--radius); text-align: right; direction: rtl;
}
.about-arabic-label { font-size: 0.60rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 6px; direction: ltr; text-align: left; font-family: var(--font-body); }
.about-arabic-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; font-family: Arial, sans-serif; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  transition: border-color var(--t) var(--ease);
  box-shadow: var(--shadow-sm);
}
.contact-info-item:hover { border-color: var(--gold-border); }
.contact-icon-wrap {
  width: 40px; height: 40px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-label { font-size: 0.60rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 3px; font-family: var(--font-body); }
.contact-value { font-size: 0.88rem; color: var(--text-secondary); font-family: var(--font-body); line-height: 1.55; }

.form-wrap {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}
.form-title { font-size: 1.8rem; margin-bottom: 6px; }
.form-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; font-family: var(--font-body); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 7px; font-family: var(--font-body); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--ivory-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 300;
  color: var(--text-primary);
  transition: border-color var(--t) var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--ivory); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--ivory); }
.form-message { font-size: 0.85rem; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 14px; display: none; }
.form-message.success { background: rgba(201,168,76,0.10); color: var(--gold-dark); border: 1px solid var(--gold-border); }
.form-message.error { background: rgba(200,60,60,0.08); color: #c0392b; border: 1px solid rgba(200,60,60,0.25); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-xl);
  padding: 80px 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,168,76,0.08), transparent);
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ivory); margin-bottom: 14px; position: relative; }
.cta-banner p { font-size: 1rem; color: rgba(250,250,248,0.58); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.8; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-contacts { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; position: relative; }
.cta-contact-item { font-size: 0.80rem; color: rgba(250,250,248,0.40); font-family: var(--font-body); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 52px;
  margin-bottom: 52px;
}
.footer-brand-desc { font-size: 0.86rem; color: rgba(250,250,248,0.40); margin-top: 16px; line-height: 1.85; max-width: 260px; font-family: var(--font-body); }
.footer-col-title { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.86rem; color: rgba(250,250,248,0.40); transition: color var(--t); font-family: var(--font-body); }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 0.75rem; color: rgba(250,250,248,0.28); font-family: var(--font-body); }
.footer-licence {
  font-size: 0.68rem; color: rgba(201,168,76,0.50);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  padding: 4px 14px; border-radius: 100px;
  font-family: var(--font-body);
}

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 160px 0 80px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,168,76,0.06), transparent);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); color: var(--ivory); margin-bottom: 18px; }
.page-hero p { font-size: 1.05rem; color: rgba(250,250,248,0.58); max-width: 560px; line-height: 1.85; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; letter-spacing: 0.10em;
  color: rgba(250,250,248,0.35); margin-bottom: 24px; font-family: var(--font-body);
}
.breadcrumb a { color: rgba(250,250,248,0.35); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); }
.bc-sep { color: rgba(250,250,248,0.20); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--ivory);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1rem;
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(10px);
  transition: all var(--t) var(--ease);
  z-index: 800; cursor: pointer;
}
#back-to-top.show { opacity: 1; transform: none; }
#back-to-top:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .edu-grid, .ai-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .inst-grid { grid-template-columns: repeat(2,1fr); }
  .hero-float { display: none; }
  .juris-grid { grid-template-columns: repeat(2,1fr); }
  .other-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }
  .container { padding: 0 20px; }
  .menu-toggle { display: flex; }
  .header-nav {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center;
    background: rgba(250,250,248,0.98);
    display: none; gap: 10px; padding: 40px;
  }
  .header-nav.open { display: flex; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat { border-right: none; padding-right: 0; margin-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .cta-banner { padding: 48px 28px; }
  .why-grid { grid-template-columns: 1fr; }
  .other-grid { grid-template-columns: repeat(2,1fr); }
  .juris-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .edu-feature-grid { grid-template-columns: 1fr; }
  .inst-grid { grid-template-columns: repeat(2,1fr); }
}
