/* =====================================================================
   BRAYNIXX EDTECH - OFFICIAL DESIGN SYSTEM
   
   Purpose: Complete stylesheet for Braynixx EdTech website
   Target Audience: Students (Class 6-12) & Parents
   Focus: Future-ready skills, trust-building, conversion optimization
   
   Table of Contents:
   1. Brand Colors & Design Tokens
   2. Global Reset & Typography  
   3. Reusable Components
   4. Navigation System
   5. Hero Sections
   6. Content Sections
   7. Interactive Cards
   8. Forms & CTAs
   9. Footer
   10. Animations & Effects
   11. Mobile Responsive Design
===================================================================== */


/* =====================================================================
   1. BRAND COLORS & DESIGN TOKENS
   Official Braynixx color palette and design constants
===================================================================== */

:root {
  /* Official Brand Colors */
  --brand-primary: #003153;     /* Dark Azure - Primary brand color */
  --brand-secondary: #007aa0;   /* Vivid Azure - Secondary actions */
  --brand-accent: #4094A0;      /* Azure - Accents & highlights */
  --bg-main: #FDFEFE;           /* Light Cyan - Main background */
  
  /* Extended Color Palette */
  --brand-primary-light: rgba(0, 49, 83, 0.1);
  --brand-secondary-light: rgba(0, 122, 160, 0.1);
  --brand-accent-light: rgba(64, 148, 160, 0.1);
  
  /* Text Colors */
  --text-primary: #003153;      /* Main headings */
  --text-secondary: #5f7285;    /* Body text & descriptions */
  --text-light: #ffffff;        /* Light text for dark backgrounds */
  
  /* UI Colors */
  --card-bg: #ffffff;           /* Card backgrounds */
  --section-bg-alt: #f5fbfd;    /* Alternate section background */
  --border-light: rgba(0, 49, 83, 0.12);
  --shadow-sm: 0 4px 12px rgba(0, 49, 83, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 49, 83, 0.12);
  --shadow-lg: 0 20px 40px rgba(0, 49, 83, 0.15);
  
  /* Success & Alert Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Design Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --transition-fast: all 0.2s ease;
  --transition-base: all 0.35s ease;
  --transition-slow: all 0.5s ease;
}


/* =====================================================================
   2. GLOBAL RESET & TYPOGRAPHY
   Base styles and font configuration
===================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* =====================================================================
   3. REUSABLE COMPONENTS
   Layout helpers and utility classes
===================================================================== */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Spacing */
.section {
  padding: 80px 0;
  position: relative;
}

/* Section Headers */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.section-title.centered {
  display: block;
  text-align: center;
}

/* Animated underline for section titles */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-accent), var(--brand-secondary));
  border-radius: var(--radius-full);
  animation: slideIn 0.6s ease-out;
}

.section-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Highlight Badge */
.highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-accent-light);
  color: var(--brand-secondary);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 30px;
  border: 1px solid var(--brand-accent);
  animation: pulse 2s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
  color: var(--text-light) !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--brand-accent);
  color: var(--brand-secondary);
  margin-left: 12px;
}

.btn-secondary:hover {
  background: var(--brand-accent);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* Logo Styling */
.logo img {
  height: 180px;
  width: auto;
  display: block;
  transition: var(--transition-base);
}

.logo img:hover {
  transform: scale(1.05);
}


/* =====================================================================
   4. NAVIGATION SYSTEM
   Sticky header with mobile hamburger menu
===================================================================== */

.navbar {
  position: sticky;
  top: 0;
  background: rgba(253, 254, 254, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 49, 83, 0.05);
  transition: var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 20px;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 20px;
  width: 0;
  height: 2px;
  background: var(--brand-accent);
  transition: var(--transition-fast);
}

.nav-links a:not(.btn-primary):hover::after {
  width: calc(100% - 40px);
}

.nav-links a:hover {
  color: var(--brand-secondary);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.hamburger:hover {
  background: var(--brand-primary-light);
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}


/* =====================================================================
   5. HERO SECTIONS
   Main hero sections with animated content
===================================================================== */

.hero,
.program-hero,
.why-hero,
.enroll-hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    var(--bg-main) 0%,
    rgba(64, 148, 160, 0.05) 100%
  );
  position: relative;
  overflow: hidden;
}

/* Animated background particles */
.hero::before,
.program-hero::before,
.why-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, var(--brand-accent-light) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, var(--brand-secondary-light) 0%, transparent 50%);
  animation: backgroundMove 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes backgroundMove {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.hero-grid,
.program-hero-grid,
.why-hero-grid,
.enroll-hero-grid,
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-content,
.program-hero-content,
.why-hero-content,
.enroll-hero-content,
.about-content {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p,
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* Hero Visual with Floating Animation */
.hero-visual,
.program-hero-visual,
.why-hero-visual,
.about-visual,
.pricing-visual {
  position: relative;
  text-align: center;
  animation: fadeInRight 0.8s ease-out;
}

.hero-visual img,
.program-hero-visual img,
.why-hero-visual img,
.about-visual img,
.pricing-visual img {
  max-width: 360px;
  filter: drop-shadow(0 25px 40px rgba(0, 49, 83, 0.2));
  animation: float 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  75% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

/* Decorative elements around hero character */
.hero-visual::before,
.hero-visual::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.15;
  animation: pulse 3s ease-in-out infinite;
  z-index: -1;
}

.hero-visual::before {
  top: 10%;
  right: 0;
  background: var(--brand-accent);
  animation-delay: 0.5s;
}

.hero-visual::after {
  bottom: 10%;
  left: 0;
  background: var(--brand-secondary);
}


/* =====================================================================
   6. CONTENT SECTIONS
   Main content areas with alternating backgrounds
===================================================================== */

.program-overview,
.trust-section,
.program-modules,
.pricing-section,
.whatsapp-section {
  background: var(--section-bg-alt);
}

.about-braynixx,
.program-value,
.why-approach,
.why-outcomes,
.parent-assurance,
.contact-form-section {
  background: var(--bg-main);
}


/* =====================================================================
   7. INTERACTIVE CARDS
   Hover-enabled cards for programs, features, etc.
===================================================================== */

.program-grid,
.trust-grid,
.approach-grid,
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.program-card,
.trust-card,
.approach-card,
.assurance-card,
.module-card {
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Card hover effect with gradient overlay */
.program-card::before,
.trust-card::before,
.approach-card::before,
.assurance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-accent-light), var(--brand-secondary-light));
  opacity: 0;
  transition: var(--transition-base);
  z-index: 0;
}

.program-card:hover::before,
.trust-card:hover::before,
.approach-card:hover::before,
.assurance-card:hover::before {
  opacity: 1;
}

.program-card:hover,
.trust-card:hover,
.approach-card:hover,
.assurance-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-accent);
}

.program-card > *,
.trust-card > *,
.approach-card > *,
.assurance-card > * {
  position: relative;
  z-index: 1;
}

.program-card h3,
.trust-card h3,
.approach-card h3,
.assurance-card h3,
.module-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 700;
}

.program-card p,
.trust-card p,
.approach-card p,
.assurance-card p,
.module-card p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Module List (Program Page) */
.module-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 40px;
}

.module-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-accent);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  animation: fadeInUp 0.5s ease-out;
  animation-fill-mode: both;
}

.module-card:nth-child(1) { animation-delay: 0.1s; }
.module-card:nth-child(2) { animation-delay: 0.2s; }
.module-card:nth-child(3) { animation-delay: 0.3s; }
.module-card:nth-child(4) { animation-delay: 0.4s; }
.module-card:nth-child(5) { animation-delay: 0.5s; }
.module-card:nth-child(6) { animation-delay: 0.6s; }

.module-card:hover {
  border-left-color: var(--brand-secondary);
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

/* Value List & Outcome List */
.value-list,
.outcome-list {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.value-list li,
.outcome-list li {
  font-size: 1.05rem;
  color: var(--text-secondary);
  padding-left: 35px;
  position: relative;
  line-height: 1.6;
}

.value-list li::before,
.outcome-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: var(--brand-accent-light);
  color: var(--brand-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.program-cta {
  margin-top: 60px;
  text-align: center;
}


/* =====================================================================
   8. FORMS & CTAs
   Contact forms, pricing, and call-to-action sections
===================================================================== */

/* Pricing Section */
.pricing-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
}

.pricing-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--brand-accent);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--brand-accent-light) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pricing-card > * {
  position: relative;
  z-index: 1;
}

.offer-badge,
.big-offer {
  display: inline-block;
  background: linear-gradient(135deg, var(--warning), #fbbf24);
  color: #78350f;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}

.price-wrapper {
  margin: 20px 0 30px;
  display: flex;
  align-items: baseline;
  gap: 15px;
}

.new-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.old-price {
  font-size: 1.5rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  opacity: 0.6;
}

.price-note {
  color: var(--brand-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.pricing-features li {
  font-size: 1rem;
  color: var(--text-secondary);
  padding-left: 30px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Contact Form */
.contact-form-container {
  max-width: 640px;
  margin: 0 auto;
}

.contact-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 15px;
}

.contact-meta {
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-secondary);
}

.contact-meta strong {
  color: var(--brand-primary);
  font-weight: 600;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  background: var(--card-bg);
  color: var(--text-primary);
  transition: var(--transition-base);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px var(--brand-accent-light);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-btn {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--brand-secondary), var(--brand-accent));
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.form-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.form-btn:active {
  transform: translateY(0);
}

#formStatus {
  text-align: center;
  font-size: 1rem;
  margin-top: 15px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

#formStatus.success {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

#formStatus.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid var(--error);
}

/* WhatsApp CTA Section */
.whatsapp-content {
  text-align: center;
}

.whatsapp-content h2 {
  margin-bottom: 30px;
  color: var(--text-primary);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: white !important;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition-base);
  box-shadow: var(--shadow-md);
}

.whatsapp-btn::before {
  content: '💬';
  font-size: 1.3rem;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Final CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: var(--text-light);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 30s linear infinite;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  color: var(--text-light);
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin-bottom: 25px;
}

.cta-content h2 span {
  color: var(--brand-accent);
  display: block;
  margin-top: 10px;
}

.cta-content p {
  color: var(--text-light);
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.15rem;
}

.cta-btn {
  background: white;
  color: var(--brand-primary) !important;
  padding: 18px 40px;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
}


/* =====================================================================
   9. FOOTER
   Site footer with links and branding
===================================================================== */

.footer {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-links h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  font-size: 1rem;
  transition: var(--transition-fast);
  padding-left: 0;
  position: relative;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: var(--transition-fast);
}

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

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-links p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}


/* =====================================================================
   10. ANIMATIONS & EFFECTS
   Keyframe animations and interactive effects
===================================================================== */

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 60px;
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Scroll Reveal Effect */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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


/* =====================================================================
   11. MOBILE RESPONSIVE DESIGN
   Optimized layouts for tablets and mobile devices
===================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .program-hero-grid,
  .why-hero-grid,
  .enroll-hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pricing-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  
  /* Critical Reset */
  html, body {
    width: 100%;
    overflow-x: hidden;
  }
  
  * {
    max-width: 100%;
  }
  
  /* Container & Spacing */
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0;
  }
  
  .nav-wrapper {
    height: auto;
    min-height: 80px;
    padding: 15px 0;
  }
  
  .hamburger {
    display: flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }
  
  .logo img {
    height: 150px;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--card-bg);
    margin-top: 15px;
    padding: 20px 0;
    gap: 10px;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 10px 20px rgba(0, 49, 83, 0.1);
  }
  
  .nav-links.active {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
  }
  
  .nav-links a {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    padding: 12px 20px;
  }
  
  .nav-links a::after {
    display: none;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  /* Hero Sections */
  .hero,
  .program-hero,
  .why-hero,
  .enroll-hero {
    padding: 80px 0 60px;
  }
  
  .hero-grid,
  .program-hero-grid,
  .why-hero-grid,
  .enroll-hero-grid,
  .about-grid {
    text-align: center;
    gap: 40px;
  }
  
  .hero-content,
  .program-hero-content,
  .why-hero-content,
  .enroll-hero-content,
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content h1 span,
  .section-title::after {
    display: block;
  }
  
  .section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  /* Character Sizes */
  .hero-visual img,
  .program-hero-visual img,
  .why-hero-visual img,
  .about-visual img,
  .pricing-visual img {
    max-width: 200px;
    margin: 0 auto;
  }
  
  /* Cards */
  .program-grid,
  .trust-grid,
  .approach-grid,
  .assurance-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .program-card,
  .trust-card,
  .approach-card,
  .assurance-card,
  .module-card {
    padding: 24px;
  }
  
  /* Pricing */
  .pricing-layout {
    text-align: center;
  }
  
  .pricing-content {
    order: 1;
  }
  
  .pricing-visual {
    order: 2;
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
  
  .new-price {
    font-size: 2.5rem;
  }
  
  .old-price {
    font-size: 1.2rem;
  }
  
  .price-wrapper {
    justify-content: center;
  }
  
  /* Forms */
  .contact-form input,
  .contact-form textarea {
    padding: 14px 16px;
  }
  
  .form-btn,
  .whatsapp-btn {
    width: 100%;
    padding: 16px;
  }
  
  /* CTA Strip */
  .cta-strip {
    padding: 60px 0;
  }
  
  .cta-btn {
    width: 100%;
    padding: 16px 30px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-links a:hover {
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .btn-secondary {
    margin-left: 0;
    margin-top: 0;
  }
}


/* =====================================================================
   END OF STYLESHEET
===================================================================== */
