/* 
 * Edualist Stylesheet
 * Elegant, premium, and multilingual education coaching website.
 * Designed with a Warm Ivory background, deep Navy base, and luxury Champagne Gold accents.
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================
   DESIGN SYSTEM VARIABLES
   ========================================== */
:root {
  --primary: hsl(212, 66%, 13%);
  --primary-light: hsl(212, 66%, 22%);
  --primary-rgb: 11, 33, 58;
  --accent: hsl(43, 60%, 52%);
  --accent-hover: hsl(43, 60%, 44%);
  --accent-rgb: 219, 175, 46;
  --bg-warm: hsl(35, 40%, 98%);
  --bg-warm-secondary: hsl(35, 30%, 94%);
  --bg-card: hsla(212, 66%, 13%, 0.02);
  --border-card: hsla(212, 66%, 13%, 0.08);
  --text-dark: hsl(215, 25%, 15%);
  --text-muted: hsl(215, 12%, 40%);
  --text-light: hsl(35, 40%, 98%);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --shadow-sm: 0 4px 12px hsla(212, 66%, 13%, 0.03);
  --shadow-md: 0 12px 32px hsla(212, 66%, 13%, 0.06);
  --shadow-lg: 0 20px 48px hsla(212, 66%, 13%, 0.1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
  
  scroll-behavior: smooth;
}

/* ==========================================
   RESET & GLOBAL BASICS
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-warm);
}
::-webkit-scrollbar-thumb {
  background: hsl(212, 30%, 80%);
  border-radius: var(--radius-sm);
  border: 2px solid var(--bg-warm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ==========================================
   MULTILINGUAL SWITCHING ENGINE
   ========================================== */
html[lang="tr"] .en-only {
  display: none !important;
}

html[lang="en"] .tr-only {
  display: none !important;
}

/* Smooth fade on change */
.tr-only, .en-only {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   LAYOUT CONTAINERS & UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-warm-secondary);
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-sm);
}

.glass-dark {
  background: rgba(11, 33, 58, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-light);
}

/* Custom Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline-white:hover {
  background-color: var(--text-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.btn-text:hover {
  color: var(--accent);
}

.btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ==========================================
   NAVIGATION BAR (SHRINKING ON SCROLL)
   ========================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px; /* Initial state */
  z-index: 1000;
  transition: var(--transition-smooth);
}

/* Floating Navigation Content wrapper */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-family: var(--font-serif);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  opacity: 0.85;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--accent-hover);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Language Toggle Switch */
.lang-toggle {
  display: flex;
  background-color: rgba(11, 33, 58, 0.06);
  padding: 4px;
  border-radius: 50px;
  border: 1px solid rgba(11, 33, 58, 0.08);
}

.lang-btn {
  background: none;
  border: none;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.6;
  cursor: pointer;
  border-radius: 50px;
  transition: var(--transition-fast);
}

.lang-btn.active {
  background-color: var(--primary);
  color: var(--text-light);
  opacity: 1;
  box-shadow: var(--shadow-sm);
}

/* Scroll shrinking classes (Native CSS + JS Fallback) */
@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @keyframes shrinkHeader {
    to {
      height: 70px;
      background-color: rgba(255, 255, 255, 0.92);
      box-shadow: var(--shadow-sm);
      border-bottom: 1px solid rgba(11, 33, 58, 0.06);
    }
  }
  
  .header-nav {
    animation: shrinkHeader auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

.header-scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(11, 33, 58, 0.06);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: radial-gradient(circle at 10% 20%, hsla(35, 40%, 98%, 0.8) 0%, hsla(35, 20%, 96%, 0.9) 100%), 
              url('assets/hero-bg.png') no-repeat center center / cover;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: hsla(43, 60%, 52%, 0.12);
  border: 1px solid hsla(43, 60%, 52%, 0.25);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-tag svg {
  fill: var(--accent);
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.5;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

/* Decorative Card element for Hero right side */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.hero-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  max-width: 400px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent);
}

.hero-card-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero-card-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-card-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================
   WHY EDUALIST SECTION
   ========================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-left-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.why-left-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.why-badge-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.why-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  font-size: 1.05rem;
}

.why-badge-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.why-right-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.why-feature-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.why-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.why-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background-color: hsla(43, 60%, 52%, 0.12);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.why-feature-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.why-feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================
   ABOUT THE FOUNDER
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: flex-start;
}

.about-photo-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 500px;
}

.about-photo-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-md);
}

.about-card-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

.about-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-bio h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-bio-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-bio-text p {
  margin-bottom: 1.25rem;
}

.about-schools-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.school-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.school-tag {
  background-color: var(--bg-warm-secondary);
  border: 1px solid rgba(11, 33, 58, 0.05);
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  border-radius: 50px;
  transition: var(--transition-fast);
}

.school-tag:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background-color: var(--bg-card);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  background-color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1);
  background-color: var(--accent);
  color: var(--primary);
}

.service-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-includes-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list-item {
  display: flex;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  gap: 0.5rem;
  align-items: flex-start;
}

.service-list-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-for-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.service-for-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-for-tag {
  background-color: hsla(212, 66%, 13%, 0.05);
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  color: var(--primary);
  font-weight: 500;
}

/* ==========================================
   MONTHLY FREE WEBINAR
   ========================================== */
.webinar-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.webinar-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.webinar-info p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.webinar-next-session {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(219, 175, 46, 0.25);
  background-color: hsla(43, 60%, 52%, 0.05);
  align-items: flex-start;
  margin-top: 2rem;
}

.webinar-next-icon {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background-color: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.webinar-next-details h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}

.webinar-topic {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary) !important;
  margin-bottom: 0.75rem !important;
}

.webinar-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.webinar-time svg {
  color: var(--accent-hover);
}

.webinar-reg-card {
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.reg-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

/* ==========================================
   CONSULTATION BOOKING
   ========================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
}

.booking-info h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.booking-info-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.booking-feat-item {
  display: flex;
  gap: 1rem;
}

.booking-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: hsla(43, 60%, 52%, 0.12);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.booking-feat-text h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.booking-feat-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.whatsapp-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(37, 211, 102, 0.2);
  background-color: rgba(37, 211, 102, 0.03);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.whatsapp-card:hover {
  background-color: rgba(37, 211, 102, 0.06);
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.wa-icon {
  width: 48px;
  height: 48px;
  border-radius: 50px;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-text h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #128c7e;
  margin-bottom: 0.25rem;
}

.wa-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Consultation Request Form */
.booking-form-wrap {
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--primary-light);
}

.form-control {
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid hsl(212, 10%, 80%);
  background-color: var(--bg-warm);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(212, 66%, 13%, 0.08);
  background-color: #ffffff;
}

/* Form Invalid/Valid styling with :has() */
.form-group:has(.form-control:focus:invalid:not(:placeholder-shown)) .form-label {
  color: hsl(0, 75%, 45%);
}
.form-group:has(.form-control:focus:invalid:not(:placeholder-shown)) .form-control {
  border-color: hsl(0, 75%, 45%);
  box-shadow: 0 0 0 3px hsla(0, 75%, 45%, 0.08);
}

.form-group:has(.form-control:focus:valid) .form-label {
  color: hsl(140, 60%, 30%);
}

.form-alert {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #27ae60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 6rem 0 3rem 0;
  font-size: 0.95rem;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-bio-col h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-bio-text {
  color: hsl(212, 20%, 80%);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links-col h4::after,
.footer-contact-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: hsl(212, 20%, 80%);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: hsl(212, 20%, 80%);
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: hsl(212, 15%, 70%);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (PROGRESSIVE ENHANCEMENT)
   ========================================== */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
    }
    
    .scroll-reveal {
      animation: revealUp auto linear backwards;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }
  }
}

/* JS-driven fallback for scroll reveal */
.reveal-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .service-card:last-child {
    grid-column: span 2;
  }
  .webinar-grid,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .footer-bio-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .hero {
    min-height: auto;
    padding: 140px 0 60px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-visual {
    justify-content: center;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image {
    height: 350px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card:last-child {
    grid-column: span 1;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
  
  /* Mobile Menu */
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: var(--bg-warm);
    border-bottom: 1px solid rgba(11, 33, 58, 0.08);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .header-scrolled .nav-links {
    top: 70px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .why-badge-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .booking-form-wrap {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bio-col {
    grid-column: span 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
