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

/* ----------------- CSS Variables for Consistent Design ----------------- */
:root {
  /* Purple Color Scheme inspired by modern language learning platforms */
  --primary-color: #8b5cf6;
  --primary-dark: #7c3aed;
  --primary-light: #a78bfa;
  --primary-lighter: #ddd6fe;
  --primary-lightest: #f3f0ff;
  
  --secondary-color: #06b6d4;
  --secondary-dark: #0891b2;
  --secondary-light: #22d3ee;
  
  --accent-color: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --text-white: #ffffff;
  
  --background: #ffffff;
  --background-alt: #f9fafb;
  --background-light: #f3f4f6;
  --background-purple: #faf5ff;
  
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --border-purple: #e9d5ff;
  
  /* Enhanced shadows for depth */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-purple: 0 10px 25px -5px rgba(139, 92, 246, 0.3);
  
  /* Enhanced gradients */
  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  --gradient-hero: linear-gradient(135deg, rgba(139, 92, 246, 0.95) 0%, rgba(124, 58, 237, 0.9) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --border-radius: 16px;
  --border-radius-lg: 24px;
  --border-radius-xl: 32px;
}

/* ----------------- Global Reset & Base Styles ----------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #ffffff;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* ----------------- Enhanced Typography System ----------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2rem;
  position: relative;
  color: var(--text-primary);
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  opacity: 0.8;
}

h2.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-large {
  font-size: 1.375rem;
  line-height: 1.8;
  font-weight: 400;
}

.text-center {
  text-align: center;
}

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

ul {
  list-style: none;
}

/* ----------------- Enhanced Button System ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  min-width: fit-content;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: rgba(139, 92, 246, 0.1);
  color: var(--primary-dark);
  box-shadow: var(--shadow-purple);
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(10px);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -5px rgba(139, 92, 246, 0.4);
  background: var(--primary-color);
  color: white;
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-md);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

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

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #128C7E;
  border: 2px solid #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
  backdrop-filter: blur(10px);
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  color: white;
}

.btn-whatsapp svg {
  fill: currentColor;
}

/* Solid purple styling for buttons in hero section - matching reference button */
.hero .btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: white;
  border: 2px solid transparent;
  box-shadow: 
    0 8px 25px rgba(139, 92, 246, 0.4),
    0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: none;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 
    0 15px 35px rgba(139, 92, 246, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: transparent;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--border-radius-lg);
}

.btn-xl {
  padding: 1.5rem 3rem;
  font-size: 1.25rem;
  border-radius: var(--border-radius-lg);
}

/* ----------------- Enhanced Header & Navigation ----------------- */
.navbar {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled .logo {
  color: var(--primary-color);
  text-shadow: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar.scrolled .logo img {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}


.navbar.scrolled nav a {
  color: var(--text-secondary);
  text-shadow: none;
}

.navbar.scrolled nav a:hover,
.navbar.scrolled nav a.active {
  color: var(--primary-color);
  background: var(--primary-lightest);
  text-shadow: none;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 65px;
  width: 65px;
  object-fit: scale-down;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

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

nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

/* Optimization for larger monitors (1600px-1920px) */
@media (max-width: 1920px) and (min-width: 1600px) {
  .navbar .container {
    padding: 0.75rem 1.5rem;
    max-width: 1600px;
  }
  
  .logo {
    font-size: 1.8rem;
  }
  
  .logo img {
    height: 65px;
    width: 65px;
  }
  
  nav ul {
    gap: 1.25rem;
  }
  
  nav a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  .cta {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

/* Optimization for mid-range screens (1440px-1600px) */
@media (max-width: 1600px) and (min-width: 1440px) {
  .navbar .container {
    padding: 0.65rem 1.375rem;
    max-width: 1440px;
  }
  
  .logo {
    font-size: 1.75rem;
  }
  
  .logo img {
    height: 62px;
    width: 62px;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  nav a {
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
  }
  
  .cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Responsive navbar adjustments for 15.6" screens and similar */
@media (max-width: 1440px) and (min-width: 1366px) {
  /* Moderate reduction for 1440px-1366px range */
  .navbar .container {
    padding: 0.5rem 1.2rem;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .logo img {
    height: 56px;
    width: 56px;
  }
  
  nav ul {
    gap: 0.7rem;
  }
  
  nav a {
    padding: 0.6rem 0.8rem;
    font-size: 0.875rem;
  }
  
  .dropdown-arrow {
    margin-left: 0.25rem;
    font-size: 0.65em;
  }
  
  .cta {
    padding: 0.7rem 1.3rem;
    font-size: 0.875rem;
  }
  
  .programs-hero,
  .expertise-hero,
  .lecture-hero {
    padding-top: 85px;
  }
}

/* Additional optimization for screens around 1380px */
@media (max-width: 1400px) and (min-width: 1366px) {
  .navbar .container {
    padding: 0.45rem 1.1rem;
  }
  
  nav ul {
    gap: 0.6rem;
  }
  
  nav a {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .cta {
    padding: 0.65rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .logo {
    font-size: 1.55rem;
  }
  
  .logo img {
    height: 54px;
    width: 54px;
  }
}

/* Standard 15.6" screen optimizations (1366px and below) */
@media (max-width: 1366px) {
  /* Reduce navbar container padding */
  .navbar .container {
    padding: 0.5rem 1.25rem;
  }
  
  /* Reduce logo size to save space */
  .logo {
    font-size: 1.625rem;
  }
  
  .logo img {
    height: 56px;
    width: 56px;
  }
  
  /* Reduce gap between navigation items more aggressively */
  nav ul {
    gap: 0.75rem;
  }
  
  /* Reduce padding and font size for navigation links */
  nav a {
    padding: 0.6rem 0.75rem;
    font-size: 0.875rem;
  }
  
  /* Optimize dropdown arrow spacing */
  .dropdown-arrow {
    margin-left: 0.25rem;
    font-size: 0.65em;
  }
  
  /* Reduce CTA button size */
  .cta {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;  
  }
  
  /* Adjust hero section padding for smaller navbar */
  .programs-hero,
  .expertise-hero,
  .lecture-hero {
    padding-top: 80px; /* Slightly less padding for smaller screens */
  }
}

/* Additional optimization for very tight 1366px screens */
@media (max-width: 1366px) and (min-width: 1280px) {
  /* Even tighter spacing for borderline cases */
  nav ul {
    gap: 0.5rem;
  }
  
  nav a {
    padding: 0.55rem 0.65rem;
    font-size: 0.85rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 54px;
    width: 54px;
  }
  
  .dropdown-content {
    min-width: 160px; /* Reduce dropdown width */
  }
}

/* Critical optimization for 13-inch screens (1280px and below) */
@media (max-width: 1280px) {
  /* More efficient navbar for 13-inch screens */
  .navbar .container {
    padding: 0.3rem 0.75rem;
    max-width: 100%;
  }
  
  /* Slightly smaller logo */
  .logo {
    font-size: 1.2rem;
  }
  
  .logo img {
    height: 50px;
    width: 50px;
  }
  
  /* Tighter gaps between nav items */
  nav ul {
    gap: 0.2rem;
  }
  
  /* More compact navigation links */
  nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.2px;
  }
  
  /* Smaller dropdown arrow */
  .dropdown-arrow {
    margin-left: 0.15rem;
    font-size: 0.55em;
  }
  
  /* Compact CTA button */
  .cta {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0px;
    border-radius: 12px;
  }
  
  /* Smaller dropdown */
  .dropdown-content {
    min-width: 120px;
    font-size: 0.8rem;
  }
  
  .dropdown-content a {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Additional optimization for smaller 13-inch screens */
@media (max-width: 1200px) {
  /* Even more compact navbar for smaller displays */
  .navbar .container {
    padding: 0.25rem 0.6rem;
    max-width: 100%;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .logo img {
    height: 46px;
    width: 46px;
  }
  
  /* Very tight gaps */
  nav ul {
    gap: 0.1rem;
  }
  
  /* Condensed links */
  nav a {
    padding: 0.35rem 0.45rem;
    font-size: 0.7rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.3px;
  }
  
  .dropdown-arrow {
    margin-left: 0.1rem;
    font-size: 0.5em;
  }
  
  /* More compact CTA */
  .cta {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.1px;
    border-radius: 10px;
  }
  
  /* Smaller dropdown */
  .dropdown-content {
    min-width: 100px;
    font-size: 0.75rem;
  }
  
  .dropdown-content a {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }
  
  /* Adjust hero sections for smaller navbar */
  .programs-hero,
  .expertise-hero,
  .lecture-hero,
  .contact-hero {
    padding-top: 70px;
  }
}

/* Ultra-tight optimization for critical 13-inch screens */
@media (max-width: 1150px) {
  /* Maximum compactness while keeping desktop nav */
  .navbar .container {
    padding: 0.2rem 0.5rem;
    max-width: 100%;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo img {
    height: 42px;
    width: 42px;
  }
  
  /* Almost no gaps */
  nav ul {
    gap: 0.05rem;
  }
  
  /* Extremely condensed links */
  nav a {
    padding: 0.3rem 0.3rem;
    font-size: 0.65rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.4px;
  }
  
  .dropdown-arrow {
    margin-left: 0.05rem;
    font-size: 0.4em;
  }
  
  /* Minimal CTA */
  .cta {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.6rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.2px;
    border-radius: 8px;
  }
  
  /* Tiny dropdown */
  .dropdown-content {
    min-width: 85px;
    font-size: 0.65rem;
  }
  
  .dropdown-content a {
    padding: 0.3rem 0.45rem;
    font-size: 0.65rem;
  }
}

/* Emergency fallback for very small 13-inch screens or high zoom */
@media (max-width: 1100px) {
  /* Switch to hamburger menu earlier for better UX */
  .hamburger {
    display: flex;
  }
  
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    text-align: left;
  }
  
  nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
    top: 65px; /* Adjust for smaller navbar */
  }
  
  .logo {
    font-size: 1.125rem;
  }
  
  .logo img {
    height: 40px;
    width: 40px;
  }
}

/* Specific fix for 15.6 inch screens (1366x768) - Height adjustments */
@media (max-width: 1366px) and (max-height: 768px) {
  .expertise-hero,
  .programs-hero,
  .lecture-hero {
    min-height: auto;
    padding: 100px 0 40px 0;
  }
  
  /* Expertise Hero Adjustments */
  .expertise-content {
    gap: 2rem;
    grid-template-columns: 1fr 320px;
  }
  
  .expertise-main {
    padding-right: 1rem;
  }
  
  .expertise-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.1;
  }
  
  .expertise-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .expertise-cta-group {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }
  
  .expertise-cta-group .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .expertise-credentials {
    padding: 1.5rem;
  }
  
  .credential-card {
    padding: 0.75rem;
    margin-bottom: 0.75rem;
  }
  
  .credential-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .credential-info h3 {
    font-size: 1rem;
    margin-bottom: 0.125rem;
  }
  
  .credential-info p {
    font-size: 0.8rem;
  }
  
  .expertise-stats-display {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .stat-circle .stat-number {
    font-size: 1.25rem;
  }
  
  .stat-circle .stat-label {
    font-size: 0.7rem;
  }
  
  .expertise-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  /* Lecture Hero Adjustments */
  .lecture-content {
    gap: 2rem;
    grid-template-columns: 1fr 320px;
  }
  
  .lecture-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.1;
  }
  
  .lecture-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .lecture-cta-group {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }
  
  .lecture-cta-group .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .lecture-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  .lecture-methodology-showcase {
    padding: 1.5rem;
  }
  
  .methodology-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .methodology-card h3 {
    font-size: 1rem;
  }
  
  .methodology-card p {
    font-size: 0.875rem;
  }
  
  /* Programs Hero Adjustments */
  .programs-header {
    margin-bottom: 2rem;
  }
  
  .programs-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    line-height: 1.25;
  }
  
  .programs-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .programs-badge {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
  }
  
  .programs-preview {
    gap: 1rem;
  }
  
  .preview-card {
    padding: 1.25rem;
  }
  
  .preview-card h3 {
    font-size: 1rem;
  }
  
  .preview-price {
    font-size: 1.5rem;
  }
}

nav a {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  border-radius: var(--border-radius);
}

nav a:hover,
nav a.active {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: var(--transition);
  transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
  width: 30%;
}

/* Dropdown arrow using dedicated span element */
.dropdown-arrow {
  font-size: 0.7em;
  margin-left: 0.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  transform-origin: center center;
  vertical-align: middle;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg) translateY(1px);
}

/* Prevent dropdown links from having underlines on ::after */
.navbar nav .dropdown > a::after {
  display: none !important;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  min-width: 180px;
  margin-top: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dropdown-content a {
  color: var(--text-primary) !important;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  display: block;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
  text-shadow: none;
  background: none !important;
  border-radius: 0;
}

.dropdown-content a:first-child {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dropdown-content a:last-child {
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.dropdown-content a:hover {
  background: var(--primary-lighter) !important;
  color: var(--primary-dark) !important;
  padding-left: 1.5rem;
}

.dropdown-content a::after {
  display: none;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDropdown 0.3s ease-out;
}



@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Hamburger Menu Styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: var(--transition);
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.navbar.scrolled .hamburger span {
  background: var(--text-primary);
}

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

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

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

/* Mobile Navigation - Elegant Dropdown Style */
.mobile-nav {
  display: none;
  position: fixed;
  top: 89px;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .mobile-nav {
    top: 74px;
  }
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-content {
  padding: 1rem 0 2rem 0;
  max-width: 100%;
  margin: 0 auto;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0 1.5rem;
}

.mobile-nav li {
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.mobile-nav li:last-child {
  border-bottom: none;
}

.mobile-nav a {
  display: block;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  background: transparent;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 0 2px 2px 0;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary-color);
  background: rgba(139, 92, 246, 0.05);
  transform: translateX(8px);
}

.mobile-nav a:hover::before,
.mobile-nav a.active::before {
  transform: scaleY(1);
}

/* Mobile dropdown in mobile nav */
.mobile-nav .dropdown-content {
  display: none;
  background: rgba(139, 92, 246, 0.02);
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.mobile-nav .dropdown.active .dropdown-content {
  display: block;
}

.mobile-nav .dropdown-content a {
  color: var(--text-secondary) !important;
  padding: 0.875rem 3rem;
  font-size: 1rem;
  font-weight: 400;
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(139, 92, 246, 0.05);
}

.mobile-nav .dropdown-content a:last-child {
  border-bottom: none;
}

.mobile-nav .dropdown-content a:hover {
  background: rgba(139, 92, 246, 0.08) !important;
  color: var(--primary-color) !important;
  transform: translateX(12px);
}

.mobile-nav .dropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.mobile-nav .dropdown-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.mobile-nav .dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-color);
}

/* Mobile dropdown items - Inline menu items */
.mobile-nav .dropdown-item {
  border-bottom: 1px solid rgba(139, 92, 246, 0.08);
}

.mobile-nav .dropdown-item a {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 1rem 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  background: rgba(139, 92, 246, 0.03);
}

.mobile-nav .dropdown-item a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  border-radius: 0 2px 2px 0;
}

.mobile-nav .dropdown-item a::after {
  content: '→';
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: rgba(139, 92, 246, 0.6);
  transition: all 0.3s ease;
}

.mobile-nav .dropdown-item a:hover,
.mobile-nav .dropdown-item a.active {
  color: var(--primary-color);
  background: rgba(139, 92, 246, 0.08);
  transform: translateX(8px);
}

.mobile-nav .dropdown-item a:hover::before,
.mobile-nav .dropdown-item a.active::before {
  transform: scaleY(1);
}

.mobile-nav .dropdown-item a:hover::after,
.mobile-nav .dropdown-item a.active::after {
  color: var(--primary-color);
  transform: translateY(-50%) translateX(4px);
}

.mobile-nav .cta {
  margin: 1.5rem 1.5rem 0.5rem 1.5rem;
  padding: 1rem 2rem;
  /* Ensure CTA button is always accessible */
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white !important;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 1.3rem !important;
  border: none;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
  /* Prevent text wrapping that could cause poor placement */
  line-height: 1.2;
  /* Better text vertical alignment */
  text-decoration: none;
}

.mobile-nav .cta::before {
  display: none;
}

.mobile-nav .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
  background: var(--gradient-primary);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    text-align: left;
  }
  
  nav {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 50px;
    width: 50px;
  }
}

/* Enhanced CTA Button Styling - Fix for "ders rezervasyonu" button issues */

/* Base CTA button styling with improved consistency */
.cta {
  background: var(--gradient-primary);
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-purple);
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 44px;
}

/* Active state for CTA button when on current page */
.cta.active {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4) !important;
  color: white !important;
}

.cta::after,
.cta::before {
  display: none !important;
}

.cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3) !important;
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: white !important;
  transition: all 0.3s ease !important;
}

.cta:hover::before,
.cta:hover::after {
  display: none !important;
}

/* Improved navbar CTA styling across different screen sizes */
nav .cta {
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  margin-left: 1rem;
}

/* Enhanced scrolled navbar CTA styling */
.navbar.scrolled nav a.cta,
.navbar.scrolled .cta {
  color: white !important;
  background: var(--gradient-primary) !important;
  border-color: var(--primary-color) !important;
}

.navbar.scrolled nav a.cta.active,
.navbar.scrolled .cta.active {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4) !important;
}

.navbar.scrolled nav a.cta:hover,
.navbar.scrolled .cta:hover {
  color: white !important;
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3) !important;
}

/* Mobile navigation CTA - Completely redesigned for better appearance */
.mobile-nav .cta {
  margin: 1rem 1.5rem 1rem 1.5rem;
  padding: 0.875rem 1.75rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: white !important;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  font-size: 1rem !important;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
  max-width: calc(100% - 3rem);
  width: auto;
}

.mobile-nav .cta.active {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4) !important;
  color: white !important;
}

.mobile-nav .cta::before {
  display: none;
}

.mobile-nav .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: white !important;
}

/* Responsive CTA button improvements across all breakpoints */

/* Large screens (1920px+) */
@media (min-width: 1920px) {
  .cta {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
  
  nav .cta {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Desktop screens (1200px-1919px) */
@media (max-width: 1919px) and (min-width: 1200px) {
  .cta {
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
  }
  
  nav .cta {
    font-size: 0.9rem;
    padding: 0.7rem 1.4rem;
  }
}

/* Medium desktop (1024px-1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
  .cta {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
  
  nav .cta {
    font-size: 0.85rem;
    padding: 0.65rem 1.3rem;
  }
}

/* Tablets and small laptops (768px-1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .cta {
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
  }
  
  nav .cta {
    font-size: 0.85rem;
    padding: 0.65rem 1.2rem;
  }
  
  .mobile-nav .cta {
    font-size: 0.95rem !important;
    padding: 0.8rem 1.6rem;
    margin: 1rem 1.25rem;
  }
}

/* Mobile devices (up to 768px) */
@media (max-width: 768px) {
  .mobile-nav .cta {
    margin: 0.875rem 1rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem !important;
    min-height: 44px;
    max-width: calc(100% - 2rem);
  }
}

/* Small mobile devices (up to 480px) */
@media (max-width: 480px) {
  .mobile-nav .cta {
    margin: 0.75rem 0.875rem;
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem !important;
    min-height: 42px;
    max-width: calc(100% - 1.75rem);
  }
}

/* Very small devices (up to 360px) */
@media (max-width: 360px) {
  .mobile-nav .cta {
    margin: 0.625rem 0.75rem;
    padding: 0.65rem 1rem;
    font-size: 0.8rem !important;
    min-height: 40px;
    max-width: calc(100% - 1.5rem);
  }
}

/* Ultra-small devices (up to 280px) */
@media (max-width: 280px) {
  .mobile-nav .cta {
    margin: 0.5rem 0.625rem;
    padding: 0.6rem 0.875rem;
    font-size: 0.75rem !important;
    min-height: 38px;
    max-width: calc(100% - 1.25rem);
  }
}

/* ----------------- Enhanced Hero Section with Photo Slider ----------------- */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  width: 100vw;
  position: relative;
  margin-left: calc(-50vw + 50%);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

/* Beautiful background images for each slide with lighter overlay */
.hero-slide[data-bg="slide1"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), 
                    url('https://images.squarespace-cdn.com/content/v1/5ed035e46fb71b623aaf3d1b/adfad282-4ea0-40d8-b05a-99a9130a066d/Laughing+coworkers+1.jpg');
}

.hero-slide[data-bg="slide2"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), 
                    url('https://images.contentstack.io/v3/assets/blte031836cf13220c5/blte258af9fee38d501/5fac897b72a3526f28dbb317/Berlitz_Website_CyberTeachers_Home.png?auto=webp&format=pjpg&quality=80&width=900&height=500&fit=crop');
}

.hero-slide[data-bg="slide3"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), 
                    url('https://www.amacad.org/sites/default/files/styles/article_image_1x/public/media/images/foreign-language-scarce.jpg.webp?itok=vlXpxveO');
}

.hero-slide[data-bg="slide4"] {
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25)), 
                    url('https://speechling.com/blog/content/images/2017/07/languageclass.jpg');
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.hero .container {
  position: relative;
  z-index: 3;
  color: white;
}

.hero .container::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  right: -2rem;
  bottom: -2rem;
  background: 
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 70%);
  z-index: -1;
  border-radius: 20px;
}

.hero h1 {
  color: white !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: white !important;
  background-clip: initial !important;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.9);
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease-out;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.375rem;
  color: rgba(255, 255, 255, 0.98);
  margin-bottom: 5rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.8),
    0 1px 3px rgba(0, 0, 0, 0.9);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Hero Navigation */
.hero-navigation {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.hero-dots {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.hero-dot.active {
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Smooth fade transition for content */
.hero-slide .container > * {
  transition: opacity 0.6s ease-in-out 0.3s;
}

.hero-slide:not(.active) .container > * {
  opacity: 0;
}

.hero-slide.active .container > * {
  opacity: 1;
}

/* Remove weird hover effects from scroll buttons */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 5;
  background: rgba(139, 92, 246, 0.9) !important;
  border: 2px solid rgba(139, 92, 246, 1) !important;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: none !important;
  backdrop-filter: none !important;
  animation: none !important;
  box-shadow: none !important;
}

.scroll-indicator:hover {
  background: rgba(139, 92, 246, 1) !important;
  border-color: rgba(139, 92, 246, 1) !important;
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

.scroll-indicator::before {
  content: '↓';
  color: white !important;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: none !important;
}

.scroll-indicator.dark {
  background: rgba(139, 92, 246, 0.9) !important;
  border-color: rgba(139, 92, 246, 1) !important;
  box-shadow: none !important;
}

.scroll-indicator.dark:hover {
  background: rgba(139, 92, 246, 1) !important;
  border-color: rgba(139, 92, 246, 1) !important;
  box-shadow: none !important;
  transform: none !important;
}

.scroll-indicator.dark::before {
  color: white !important;
  text-shadow: none !important;
}

/* Remove bounce animation */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
}

/* Floating Navigation Buttons */
.floating-nav {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-btn {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.9);
  border: 2px solid rgba(139, 92, 246, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
  position: relative;
}

.floating-btn::before {
  content: '';
  width: 0;
  height: 0;
  position: absolute;
}

.floating-btn.scroll-up::before {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 12px solid white;
}

.floating-btn.scroll-down::before {
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid white;
}

.floating-btn:hover {
  background: rgba(139, 92, 246, 1);
  border-color: rgba(139, 92, 246, 1);
  color: white;
  text-decoration: none;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.floating-btn:active {
  transform: scale(0.95);
}

/* Mobile floating navigation adjustments */
@media (max-width: 768px) {
  .floating-nav {
    right: 1rem;
    bottom: 1rem;
    gap: 0.75rem;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* ----------------- Enhanced Card System ----------------- */
.card {
  background: var(--gradient-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  transition: var(--transition);
  border: 1px solid var(--border-purple);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
  border-color: var(--primary-light);
}

.card:hover::before {
  opacity: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.card-feature {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border-purple);
}

.card-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-purple);
}

.card-feature .icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.25rem;
  color: white;
  box-shadow: var(--shadow-purple);
  transition: var(--transition);
}

.card-feature:hover .icon {
  transform: scale(1.1);
}

/* ----------------- Enhanced Feature Sections ----------------- */
.features {
  min-height: calc(100vh - 85px); /* Subtract navbar height */
  display: flex;
  align-items: center;
  padding: 1rem 0;
  background: 
    linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(168, 85, 247, 0.30) 100%),
    #faf7ff;
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 70% 20%, rgba(139, 92, 246, 0.28) 0%, transparent 40%),
    radial-gradient(circle at 30% 80%, rgba(139, 92, 246, 0.25) 0%, transparent 40%);
  pointer-events: none;
}

.features::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: 
    conic-gradient(from 0deg, transparent 0deg, rgba(139, 92, 246, 0.15) 90deg, transparent 180deg, rgba(168, 85, 247, 0.15) 270deg, transparent 360deg);
  animation: rotate 40s linear infinite;
  pointer-events: none;
}

.features .container {
  max-width: 1400px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.features h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--text-primary);
  font-weight: 700;
}

.features p.text-large {
  text-align: center;
  margin-bottom: -1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.features.bg-light {
  background: var(--background-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-item {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 
    0 10px 30px -5px rgba(139, 92, 246, 0.1),
    0 4px 15px -2px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px -8px rgba(139, 92, 246, 0.2),
    0 8px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item .icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.feature-item:hover .icon {
  transform: scale(1.1);
}

.feature-item .icon svg {
  width: 64px;
  height: 64px;
}

.feature-item h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  margin-bottom: 0;
}

/* ----------------- Enhanced About Section ----------------- */
.about {
  min-height: calc(100vh - 85px); /* Subtract navbar height */
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: 
    linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(147, 51, 234, 0.28) 100%),
    #faf9ff;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.28) 0%, transparent 40%);
  pointer-events: none;
}

.about::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: 
    conic-gradient(from 90deg, transparent 0deg, rgba(168, 85, 247, 0.16) 90deg, transparent 180deg, rgba(147, 51, 234, 0.16) 270deg, transparent 360deg);
  animation: rotate 45s linear infinite reverse;
  pointer-events: none;
}

.about .container {
  max-width: 1400px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.about h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
}

.about p {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.about .card-feature {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 
    0 10px 30px -5px rgba(139, 92, 246, 0.1),
    0 4px 15px -2px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about .card-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.about .card-feature:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px -8px rgba(139, 92, 246, 0.2),
    0 8px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.about .card-feature:hover::before {
  transform: scaleX(1);
}

.about .card-feature .icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.about .card-feature:hover .icon {
  transform: scale(1.1);
}

.about .card-feature .icon svg {
  width: 64px;
  height: 64px;
}

.about .card-feature h3 {
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.about .card-feature p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  margin-bottom: 0;
  text-align: left;
}

/* ----------------- Enhanced Testimonials Section ----------------- */
.testimonials {
  min-height: calc(100vh - 85px); /* Subtract navbar height */
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background: 
    linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(124, 58, 237, 0.05) 100%),
    var(--background);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: 
    conic-gradient(from 180deg, transparent 0deg, rgba(139, 92, 246, 0.04) 90deg, transparent 180deg, rgba(124, 58, 237, 0.04) 270deg, transparent 360deg);
  animation: rotate 60s linear infinite;
  pointer-events: none;
}

.testimonials .container {
  max-width: 1400px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials blockquote {
  background: var(--background);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem 2rem;
  margin: 0;
  box-shadow: 
    0 4px 20px rgba(139, 92, 246, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(139, 92, 246, 0.1);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.testimonials blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  font-weight: 700;
  z-index: 1;
}

.testimonials blockquote::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.testimonials blockquote:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 8px 30px rgba(139, 92, 246, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.testimonials blockquote:hover::after {
  transform: scaleX(1);
}

.testimonials blockquote p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.1rem;
  margin-top: 1rem;
  font-weight: 400;
}

.testimonials blockquote footer {
  color: var(--primary-color);
  font-weight: 600;
  font-style: normal;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.2rem;
}

.testimonials blockquote footer::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
}

/* ----------------- Content Pages ----------------- */
.content {
  padding: 8rem 0 6rem;
}

.content h1 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.content ul {
  margin: 2rem 0;
}

.content li {
  background: var(--background-alt);
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.content li:hover {
  background: white;
  box-shadow: var(--shadow);
  transform: translateX(4px);
}

.content li strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.expertise-list li {
  background: white;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.expertise-list li:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

/* ----------------- Enhanced Stats Section ----------------- */
.stats {
  min-height: calc(100vh - 85px); /* Subtract navbar height */
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: 
    linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(124, 58, 237, 0.30) 100%),
    var(--background);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.32) 0%, transparent 35%),
    radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.28) 0%, transparent 35%);
  pointer-events: none;
}

.stats::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: 
    conic-gradient(from 45deg, transparent 0deg, rgba(139, 92, 246, 0.12) 90deg, transparent 180deg, rgba(139, 92, 246, 0.12) 270deg, transparent 360deg);
  animation: rotate 30s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.stats .container {
  max-width: 1400px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.stats h2 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 5rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.stats h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 
    0 15px 35px -5px rgba(139, 92, 246, 0.15),
    0 5px 20px -3px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(139, 92, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 25px 50px -10px rgba(139, 92, 246, 0.25),
    0 10px 30px -5px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-light);
}

.stat-item:hover::before {
  opacity: 1;
}

.stat-item h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 1;
}

.stat-item p {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ----------------- Enhanced Process Section ----------------- */
.process {
  min-height: calc(100vh - 85px); /* Subtract navbar height */
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: 
    linear-gradient(135deg, rgba(251, 113, 133, 0.28) 0%, rgba(244, 114, 182, 0.35) 100%),
    #fef7ff;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.32) 0%, transparent 35%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.28) 0%, transparent 35%);
  pointer-events: none;
}

.process::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: 
    conic-gradient(from 45deg, transparent 0deg, rgba(251, 113, 133, 0.16) 90deg, transparent 180deg, rgba(244, 114, 182, 0.16) 270deg, transparent 360deg);
  animation: rotate 35s linear infinite;
  pointer-events: none;
}

.process .container {
  max-width: 1400px;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  width: 100%;
}

.process h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--text-primary);
  position: relative;
}

.process h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.process p.text-large {
  text-align: center;
  margin-bottom: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: var(--text-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  counter-reset: step-counter;
}

/* Top horizontal line connecting steps 1-2-3 */
.process-steps::before {
  content: '';
  position: absolute;
  top: 120px;
  left: 16.67%;
  right: 16.67%;
  height: 3px;
  background: var(--primary-light);
  z-index: 0;
  border-radius: 2px;
}

/* Bottom horizontal line connecting steps 4-5-6 */
.process-steps::after {
  content: '';
  position: absolute;
  top: calc(120px + 240px + 3rem);
  left: 16.67%;
  right: 16.67%;
  height: 3px;
  background: var(--primary-light);
  z-index: 0;
  border-radius: 2px;
}

/* Vertical connecting line - use absolute positioning relative to process-steps container */
.process-steps {
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 120px;
  left: 16.67%;
  right: 16.67%;
  height: 3px;
  background: var(--primary-light);
  z-index: 0;
  border-radius: 2px;
}

.process-steps::after {
  content: '';
  position: absolute;
  top: calc(120px + 240px + 3rem);
  left: 16.67%;
  right: 16.67%;
  height: 3px;
  background: var(--primary-light);
  z-index: 0;
  border-radius: 2px;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 120px;
  left: 16.67%;
  right: 16.67%;
  height: 3px;
  background: var(--primary-light);
  z-index: 0;
  border-radius: 2px;
}

/* Vertical connector line - connects step 3 to step 4 */
.vertical-connector {
  position: absolute;
  top: 50%;
  right: calc(16.67% - 10px); /* Move further right */
  width: 3px; /* Match horizontal line thickness */
  height: 60px;
  background: var(--primary-light); /* Match horizontal line color */
  border-radius: 2px; /* Match horizontal line border-radius */
  z-index: 1;
  transform: translateY(-50%);
  opacity: 1; /* Full opacity like horizontal lines */
}

.process-step {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 0;
  text-align: center;
  position: relative;
  box-shadow: 
    0 10px 30px -5px rgba(139, 92, 246, 0.1),
    0 4px 15px -2px rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  counter-increment: step-counter;
  overflow: visible;
  height: 240px;
  display: flex;
  flex-direction: column;
}

/* Reorder steps: 1-2-3 on top, 6-5-4 on bottom */
/* Note: vertical-connector is first child, so process-steps start from nth-child(2) */
.process-step:nth-child(2) {
  order: 1;
}

.process-step:nth-child(3) {
  order: 2;
}

.process-step:nth-child(4) {
  order: 3;
}

.process-step:nth-child(5) {
  order: 6;
}

.process-step:nth-child(6) {
  order: 5;
}

.process-step:nth-child(7) {
  order: 4;
}

.process-step::before {
  content: counter(step-counter);
  position: relative;
  width: 65px;
  height: 65px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 
    0 8px 25px -5px rgba(139, 92, 246, 0.4);
  z-index: 2;
  font-family: 'Inter', sans-serif;
  margin: 2rem auto 0;
  flex-shrink: 0;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px -8px rgba(139, 92, 246, 0.2),
    0 8px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.process-step:hover::before {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
  transform: scale(1.1);
  box-shadow: 
    0 12px 35px -5px rgba(139, 92, 246, 0.6),
    0 0 0 4px white,
    0 0 0 8px rgba(139, 92, 246, 0.2);
}

.process-step .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 2rem 2rem;
}

.process-step h3 {
  margin: 0 0 1rem 0;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

.process-step p {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 400;
}

/* ----------------- Footer ----------------- */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ----------------- Original Responsive Design (Updated) ----------------- */
/* This section is now replaced by the comprehensive responsive design above */

/* Mobile layout adjustments that work with hamburger menu */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }
  
  .scroll-indicator {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
  
  .scroll-indicator::before {
    font-size: 1.2rem;
  }
  
  /* Mobile section spacing - maintain viewport height approach */
  .features,
  .about,
  .testimonials,
  .stats,
  .process {
    min-height: calc(100vh - 70px); /* Smaller navbar height on mobile */
    padding: 2rem 0;
  }
  
  /* Mobile grid layouts */
  .features-grid,
  .about .card-grid,
  .stats-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  /* Remove connecting lines on mobile */
  .process-steps::before,
  .process-steps::after,
  .vertical-connector {
    display: none;
  }
  
  /* Reset order on mobile */
  .process-step:nth-child(4),
  .process-step:nth-child(5),
  .process-step:nth-child(6) {
    order: unset;
  }
  
  /* Mobile container adjustments */
  .features .container,
  .about .container,
  .testimonials .container,
  .stats .container,
  .process .container {
    padding: 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }

  .hero-navigation {
    bottom: 2rem;
  }

  .hero-dots {
    gap: 0.75rem;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .content {
    padding: 6rem 0 4rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Mobile card adjustments */
  .feature-item,
  .about .card-feature,
  .stat-item,
  .testimonials blockquote {
    padding: 2rem 1.5rem;
  }
  
  .process-step {
    padding: 1.8rem 1.3rem 1.2rem;
    min-height: 170px;
    max-height: 200px;
    justify-content: flex-end;
  }
  
  /* Smaller numbers on mobile */
  .process-step::before {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    top: -15px;
  }
  
  .process-step h3 {
    margin-top: 1.3rem;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
  }
  
  .process-step p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }
}



/* ----------------- Contact Page Styles ----------------- */
.contact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
  padding-top: 90px;
}

.contact-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.contact-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.2) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(139, 92, 246, 0.1) 70%),
    linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(124, 58, 237, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px, 50px 50px;
  animation: waveFloat 20s ease-in-out infinite;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: start;
}

.contact-main {
  color: var(--text-primary);
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.1);
}

.contact-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.contact-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(139, 92, 246, 0.2);
  border-color: var(--primary-light);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px -5px rgba(139, 92, 246, 0.3);
}

.contact-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-details a {
  font-size: 1rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-details a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-details span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: var(--transition);
  box-shadow: 0 5px 15px -5px rgba(139, 92, 246, 0.1);
}

.contact-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(139, 92, 246, 0.2);
  border-color: var(--primary-light);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.contact-feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.contact-faq {
  padding: 6rem 0;
  background: var(--background-light);
}

.contact-faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -10px rgba(139, 92, 246, 0.15);
  border-color: var(--primary-light);
}

.faq-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Contact Page Responsive Design */
@media (max-width: 1024px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-features {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .contact-features {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
  
  .contact-cta-group {
    flex-direction: column;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 2rem;
  }
  
  .contact-subtitle {
    font-size: 1.125rem;
  }
  
  .contact-feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
}

/* ----------------- Utility Classes ----------------- */
/* ----------------- Additional Utility Classes & Enhancements ----------------- */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.bg-primary { background: var(--primary-color); }
.bg-light { background: var(--background-light); }
.bg-purple { background: var(--background-purple); }
.bg-gradient { background: var(--gradient-primary); }

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* Hover effects for improved UX */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-2px);
}

/* Enhanced call-to-action styles */
.cta-section {
  background: var(--gradient-primary);
  color: white;
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  opacity: 0.7;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: white;
  margin-bottom: 2rem;
}

.cta-section h2::after {
  background: rgba(255, 255, 255, 0.3);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



.navbar.scrolled nav a.cta,
.navbar.scrolled .cta {
  color: white !important;
  background: var(--gradient-primary);
}

.navbar.scrolled nav a.cta:hover,
.navbar.scrolled .cta:hover {
  color: white !important;
  background: var(--primary-dark);
}

/* Ensure unified styling for all full-height sections */
.features h2,
.about h2,
.testimonials h2,
.stats h2,
.process h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 1.5rem;
  text-align: center;
}

.features p.text-large,
.about p,
.testimonials p.text-large {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
}

/* ----------------- Modern Hero Section Styles ----------------- */
.hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(139, 92, 246, 0.9) 0%, 
    rgba(124, 58, 237, 0.8) 50%, 
    rgba(6, 182, 212, 0.7) 100%);
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  z-index: 3;
  animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

.hero-content-modern {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 0;
}

.hero-text-container {
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge span {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-title-modern {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle-modern {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats-modern {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  animation: slideInRight 0.8s ease-out 0.8s both;
}

.hero-stat-modern {
  text-align: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.hero-stat-modern:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Modern Hero Responsive Design */
@media (max-width: 1024px) {
  .hero-content-modern {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-stats-modern {
    flex-direction: row;
    justify-content: space-around;
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-modern {
    min-height: 90vh;
  }
  
  .hero-content-modern {
    padding: 4rem 0;
    gap: 2rem;
  }
  
  .hero-stats-modern {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-cta-group .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-content-modern {
    padding: 3rem 0;
  }
  
  .hero-title-modern {
    font-size: 2rem;
  }
  
  .hero-subtitle-modern {
    font-size: 1.1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* ----------------- Expertise Hero Section ----------------- */
.expertise-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
  padding-top: 90px; /* Account for fixed navbar */
}

.expertise-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.expertise-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.3) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(124, 58, 237, 0.25) 0%, transparent 55%),
    linear-gradient(45deg, transparent 20%, rgba(168, 85, 247, 0.15) 80%),
    linear-gradient(90deg, rgba(139, 92, 246, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px, 50px 50px;
  animation: waveFloat 15s ease-in-out infinite;
}

.expertise-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.expertise-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.expertise-main {
  padding-right: 2rem;
}

.expertise-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.expertise-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.expertise-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.expertise-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.expertise-cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.expertise-credentials {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.1);
}

.credential-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.credential-card:hover {
  background: rgba(139, 92, 246, 0.05);
  transform: translateX(5px);
}

.credential-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-info h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.credential-info p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.expertise-stats-display {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.stat-circle {
  text-align: center;
  position: relative;
}

.stat-circle .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-circle .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

@keyframes gridFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-10px, -10px); }
}

/* ----------------- Programs Hero Section ----------------- */
.programs-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f9f5ff 0%, #f1e8ff 100%);
  color: var(--text-primary);
  overflow: hidden;
  padding-top: 90px; /* Account for fixed navbar */
}

.programs-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.programs-wave-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(167, 139, 250, 0.08) 0%, transparent 55%),
    linear-gradient(45deg, transparent 20%, rgba(139, 92, 246, 0.06) 80%),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(167, 139, 250, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px, 50px 50px;
  animation: waveFloat 15s ease-in-out infinite;
}

.programs-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 4rem;
}

.programs-intro {
  margin-bottom: 3rem;
  padding-top: 3rem;
}

.programs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.programs-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.programs-subtitle {
  font-size: 1.375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.programs-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Adjust programs preview for 15.6" screens */
@media (max-width: 1366px) {
  .programs-preview {
    gap: 1.5rem;
    max-width: 850px;
  }
  
  .preview-card {
    padding: 1.5rem;
  }
  
  .programs-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  }
}

.preview-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: left;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 4px 12px -2px rgba(139, 92, 246, 0.1);
}

.preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.preview-card.popular {
  background: rgba(139, 92, 246, 0.15);
  border-color: var(--primary-color);
  border-width: 2px;
  transform: scale(1.05);
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.2);
}

.preview-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.preview-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-align: center;
}

.program-highlight {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin: 0.6rem 0;
  border-radius: 8px;
  font-weight: 500;
  text-align: left;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  font-size: 0.875rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  letter-spacing: 0.2px;
  height: 2.5rem;
  min-height: 2.5rem;
}

.program-highlight::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 8px 0 0 8px;
  transition: var(--transition);
  opacity: 0.6;
}

.program-highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: var(--transition);
}

.program-highlight.premium {
  color: var(--text-secondary);
}

.program-highlight.premium::before {
  background: linear-gradient(to bottom, #f59e0b, #d97706);
}

.program-highlight.standard {
  color: var(--text-secondary);
}

.program-highlight.standard::before {
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
}

.program-highlight.group {
  color: var(--text-secondary);
}

.program-highlight.group::before {
  background: linear-gradient(to bottom, #10b981, #059669);
}

.program-highlight:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.program-highlight:hover::before {
  width: 4px;
  opacity: 0.8;
}

.program-highlight:hover::after {
  opacity: 0.5;
}

.highlight-icon {
  font-size: 1.2rem;
}

.highlight-text {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.preview-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-features span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.programs-cta-section {
  position: relative;
  z-index: 2;
  text-align: center;
}

.programs-cta-section .btn {
  margin: 0 0.5rem;
}

.programs-highlights {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

@keyframes waveFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

/* ----------------- Responsive Design for New Heroes ----------------- */
@media (max-width: 1024px) {
  .expertise-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .expertise-main {
    padding-right: 0;
  }
  
  .expertise-credentials {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .programs-preview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }
  
  .preview-card.popular {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .lecture-hero,
  .expertise-hero,
  .programs-hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .expertise-cta-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .expertise-stats-display {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .programs-highlights {
    flex-direction: column;
    gap: 1rem;
  }
  
  .programs-cta-section .btn {
    display: block;
    margin: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .credential-card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .preview-card {
    padding: 1.5rem;
  }
  
  .programs-title {
    font-size: 2rem;
  }
  
  .expertise-title {
    font-size: 2rem;
  }
}

/* ----------------- Lecture Hero Section ----------------- */
.lecture-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  overflow: hidden;
  padding-top: 90px; /* Account for fixed navbar */
}

.lecture-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.lecture-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(251, 113, 133, 0.2) 0%, transparent 50%),
    linear-gradient(45deg, transparent 30%, rgba(239, 68, 68, 0.1) 70%),
    linear-gradient(90deg, rgba(245, 158, 11, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(251, 113, 133, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px, 50px 50px;
  animation: waveFloat 15s ease-in-out infinite;
}

.lecture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}

.lecture-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.lecture-main-content {
  color: var(--text-primary);
}

.lecture-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 2rem;
  box-shadow: 
    0 4px 20px -4px rgba(139, 92, 246, 0.15),
    0 2px 8px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.lecture-badge:hover {
  transform: translateY(-1px);
  background: rgba(139, 92, 246, 0.15);
  box-shadow: 
    0 6px 25px -4px rgba(139, 92, 246, 0.25),
    0 3px 12px -2px rgba(0, 0, 0, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: #7c3aed;
}

.lecture-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
}

.lecture-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  border-radius: 2px;
}

.lecture-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.lecture-cta-group {
  display: flex;
  gap: 1rem;
}

.lecture-methodology-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  position: relative;
}

.methodology-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(251, 113, 133, 0.2);
  transition: var(--transition);
  box-shadow: 0 10px 25px -5px rgba(251, 113, 133, 0.1);
}

.methodology-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(251, 113, 133, 0.25);
}

.method-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.methodology-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}

.methodology-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.lecture-stats-circle {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 140px;
  height: 140px;
  z-index: 10;
}

.central-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid #8b5cf6;
  box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.2);
}

.central-stat .stat-number {
  font-size: 1rem;
  font-weight: 700;
  color: #8b5cf6;
  line-height: 1;
}

.central-stat .stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.orbit-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-70px) rotate(calc(-1 * var(--angle)));
  animation: orbitFloat 20s linear infinite;
}

.mini-stat {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes gridFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-8px, -8px) scale(1.02); }
  66% { transform: translate(5px, -3px) scale(0.98); }
}

@keyframes orbitFloat {
  0% { transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-70px) rotate(calc(-1 * var(--angle))); }
  100% { transform: translate(-50%, -50%) rotate(calc(var(--angle) + 360deg)) translateY(-70px) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* ----------------- Responsive Design for Lecture Hero ----------------- */
@media (max-width: 1024px) {
  .lecture-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .lecture-methodology-showcase {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .lecture-hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .lecture-methodology-showcase {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
  
  .lecture-cta-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .lecture-stats-circle {
    width: 100px;
    height: 100px;
    bottom: 15px;
    right: 15px;
  }
  
  .central-stat {
    width: 70px;
    height: 70px;
  }
  
  .orbit-stat {
    width: 35px;
    height: 35px;
  }
  
  .mini-stat {
    width: 35px;
    height: 35px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .lecture-title {
    font-size: 2rem;
  }
  
  .lecture-subtitle {
    font-size: 1.125rem;
  }
  
  .methodology-card {
    padding: 1rem;
  }
  
  .method-icon {
    font-size: 2rem;
  }
  
  .lecture-stats-circle {
    width: 80px;
    height: 80px;
    bottom: 10px;
    right: 10px;
  }
  
  .central-stat {
    width: 55px;
    height: 55px;
  }
  
  .central-stat .stat-number {
    font-size: 0.875rem;
  }
  
  .central-stat .stat-label {
    font-size: 0.6rem;
  }
  
  .orbit-stat {
    width: 30px;
    height: 30px;
  }
  
  .mini-stat {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
  }
}

/* ----------------- Pricing Grid and Card Styles ----------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.02);
  background: var(--gradient-card);
}

.pricing-card.featured::before {
  height: 6px;
  background: var(--gradient-accent);
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow);
}

.pricing-card .icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.pricing-card h3 {
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  text-align: center;
}

.value-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.6rem 0;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  flex-direction: row-reverse;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
  height: 2.5rem;
  min-height: 2.5rem;
}

.value-badge::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 6px 0 0 6px;
  transition: var(--transition);
  opacity: 0.4;
}

.value-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 6px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: var(--transition);
}

.value-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-0.5px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}

.value-badge:hover::before {
  width: 3px;
  opacity: 0.6;
}

.value-badge:hover::after {
  opacity: 0.3;
}

.value-badge.premium::before {
  background: linear-gradient(to bottom, #f59e0b, #d97706);
}

.value-badge.intensive::before {
  background: linear-gradient(to bottom, #06b6d4, #0891b2);
}

.value-badge.group::before {
  background: linear-gradient(to bottom, #10b981, #059669);
}

.value-badge.conversation::before {
  background: linear-gradient(to bottom, #a855f7, #7c3aed);
}

.value-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.4) 100%);
  border-radius: 8px;
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 1px 2px rgba(0, 0, 0, 0.02),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}

.value-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  opacity: 0;
  transition: var(--transition);
}

.value-badge:hover .value-icon {
  transform: translateY(-0.5px) scale(1.02);
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.06),
    0 2px 4px rgba(0, 0, 0, 0.03),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%);
}

.value-badge:hover .value-icon::before {
  opacity: 0.5;
}

.value-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  text-align: left;
  align-items: flex-start;
}

.value-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
}

.value-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.7;
  text-align: left;
  margin-left: 1rem;
  position: relative;
}

.value-desc::before {
  content: '✓';
  position: absolute;
  left: -1rem;
  top: 0;
  color: var(--success-color);
  font-weight: 700;
  font-size: 0.85rem;
}

.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem;
  margin: 0.8rem 0;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 2px solid var(--primary-lighter);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  flex-direction: row-reverse;
}

.achievement-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.6s;
}

.achievement-badge:hover::before {
  left: 100%;
}

.achievement-badge:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.achievement-badge:hover .achievement-text {
  color: white;
}

.achievement-badge:hover .achievement-icon {
  transform: scale(1.1);
}

.achievement-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(139, 92, 246, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  position: relative;
}

.achievement-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.03));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
}

.achievement-text {
  font-size: 1.05rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: left;
  flex: 1;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.feature-list li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li:hover {
  color: var(--primary-color);
  background: var(--background-purple);
  margin: 0 -0.8rem;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card {
    padding: 1.5rem;
  }
}

/* ----------------- Comprehensive Responsive Design ----------------- */

/* Extra Large Screens (1920px and up) */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
    padding: 0 2rem;
  }
  
  .hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

/* Large Desktop Screens (1440px - 1919px) */
@media (max-width: 1919px) and (min-width: 1440px) {
  .container {
    max-width: 1300px;
    padding: 0 1.75rem;
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* Large Desktop Screens (1600px - 1920px) - Modern monitors */
@media (max-width: 1920px) and (min-width: 1600px) {
  .container {
    max-width: 1540px;
    padding: 0 2rem;
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  
  .hero h1 {
    font-size: clamp(3.5rem, 5vw, 5rem);
  }
  
  .hero p {
    font-size: 1.375rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mid-range Desktop Screens (1440px - 1600px) - Popular laptop/monitor size */
@media (max-width: 1600px) and (min-width: 1440px) {
  .container {
    max-width: 1380px;
    padding: 0 1.75rem;
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.75rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem;
  }
  
  .hero h1 {
    font-size: clamp(3rem, 4.5vw, 4.5rem);
  }
  
  .hero p {
    font-size: 1.25rem;
    max-width: 88%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Standard Laptop Screens (1200px - 1439px) - Common 15.6" laptop range */
@media (max-width: 1439px) and (min-width: 1200px) {
  .container {
    max-width: 1140px;
    padding: 0 1.5rem;
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: clamp(2.75rem, 4.5vw, 4rem);
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Small Laptop Screens (1024px - 1199px) - Smaller laptops and tablets landscape */
@media (max-width: 1199px) and (min-width: 1024px) {
  .container {
    max-width: 960px;
    padding: 0 1.25rem;
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }
  
  .hero p {
    font-size: 1.125rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .navbar .container {
    padding: 0 1.25rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  .feature-item,
  .about .card-feature,
  .stat-item {
    padding: 2rem 1.5rem;
  }
}

/* 13-inch Screen Optimizations (1280px and below) */
@media (max-width: 1280px) {
  .container {
    max-width: 1140px;
    padding: 0 1rem;
  }
  
  /* Reduce font sizes for better fit */
  h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  }
  
  h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  }
  
  h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  }
  
  .hero h1 {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
  }
  
  .hero p {
    font-size: 1.125rem;
    max-width: 90%;
  }
  
  /* Compact grid layouts */
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  
  /* Reduce card padding */
  .feature-item,
  .about .card-feature,
  .stat-item {
    padding: 1.75rem 1.25rem;
  }
  
  .testimonials blockquote {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  /* Optimize hero sections for 13-inch */
  .features,
  .about,
  .testimonials,
  .stats,
  .process {
    min-height: calc(100vh - 75px);
    padding: 2.5rem 0;
  }
}

/* Ultra-compact for smaller 13-inch displays */
@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
    padding: 0 0.875rem;
  }
  
  /* Further reduce font sizes */
  h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
  }
  
  h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
  }
  
  .hero h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
  
  .hero p {
    font-size: 1rem;
    max-width: 95%;
  }
  
  /* More compact grids */
  .features-grid,
  .about .card-grid {
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    gap: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Smaller card padding */
  .feature-item,
  .about .card-feature,
  .stat-item {
    padding: 1.5rem 1rem;
  }
  
  .testimonials blockquote {
    padding: 1.75rem 1.25rem 1.25rem;
  }
  
  /* Compact sections */
  .features,
  .about,
  .testimonials,
  .stats,
  .process {
    min-height: calc(100vh - 70px);
    padding: 2rem 0;
  }
}

/* Tablet Screens (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 1rem;
  }
  
  .features-grid,
  .about .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero h1 {
    font-size: clamp(2.25rem, 4vw, 3rem);
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .navbar .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .feature-item,
  .about .card-feature,
  .stat-item {
    padding: 1.75rem 1.25rem;
  }
}

/* ===============================================
   English Learning Path Timeline Styles
   =============================================== */

/* Learning Timeline Styles - Compact Version */
.learning-timeline {
  padding: 0;
  margin-top: -1.5rem;
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 1200px; /* Increased width to allow more space for positioning */
  margin: 0 auto;
  width: 100%; /* Full width of container */
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-milestone {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  min-height: 200px; /* Reduced from potentially larger values */
}

.timeline-milestone:nth-child(even) {
  flex-direction: row;
  justify-content: flex-end;
  margin-left: -15%;
}

.timeline-milestone:nth-child(odd) {
  flex-direction: row;
  justify-content: flex-start;
  margin-right: -15%;
}

.timeline-milestone:nth-child(even) .milestone-content {
  margin-right: 0;
  margin-left: 0;
}

.timeline-milestone:nth-child(odd) .milestone-content {
  margin-left: 0;
  margin-right: 0;
}

.milestone-marker {
  display: none; /* Hide the number badges */
}

.marker-inner {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.milestone-content {
  background: white;
  border-radius: 1rem;
  padding: 2rem; /* Back to normal padding */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.1);
  width: calc(70% - 50px); /* Increased from 50% to 70% for wider cards */
  min-width: 600px; /* Added minimum width to ensure content fits */
  transition: all 0.3s ease;
}

.milestone-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.milestone-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem; /* Reduced padding */
  background: var(--primary-lighter);
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 0.8rem; /* Smaller font */
  font-weight: 600;
  margin-bottom: 0.75rem; /* Reduced margin */
}

.milestone-badge.popular {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.milestone-badge.advanced {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: white;
}

.milestone-content h3 {
  font-size: 1.5rem; /* Increased for more impact */
  margin-bottom: 1rem; /* Reduced margin */
  font-weight: 700; /* Bold weight */
  background: linear-gradient(135deg, #2563EB, #1E40AF); /* Blue gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px; /* Slight letter spacing for elegance */
  position: relative;
  text-shadow: 0 2px 4px rgba(139, 92, 246, 0.15); /* Subtle shadow */
}

.skill-meters {
  margin: 1rem 0; /* Reduced margin */
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem; /* Reduced from 0.75rem */
}

.skill-item span {
  font-size: 0.9rem; /* Smaller font */
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 80px;
}

.skill-bar {
  flex: 1;
  height: 6px; /* Reduced from 8px */
  background: var(--background-light);
  border-radius: 3px;
  margin-left: 1rem;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  width: 0;
  transition: width 1s ease-in-out;
  border-radius: 3px;
}

.milestone-features {
  list-style: none;
  padding: 0;
  margin-top: 1rem; /* Reduced margin */
}

.milestone-features li {
  padding: 0.3rem 0 0.3rem 1rem; /* Added left padding to the list items */
  font-size: 0.9rem; /* Smaller font */
  color: var(--text-secondary);
}

/* Method Showcase Styles - Compact Version */
.method-showcase {
  background: var(--background-light);
  padding: 4rem 0; /* Reduced from 6rem */
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem; /* Reduced gap */
  margin-top: 2rem; /* Reduced margin */
}

.method-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem; /* Reduced padding */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.method-tag {
  display: inline-block;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem; /* Reduced padding */
  border-radius: 15px;
  font-size: 0.8rem; /* Smaller font */
  font-weight: 600;
  margin-bottom: 0.75rem; /* Reduced margin */
}

.method-card h3 {
  font-size: 1.25rem; /* Reduced size */
  margin-bottom: 0.75rem; /* Reduced margin */
  color: var(--text-primary);
}

.method-card p {
  color: var(--text-secondary);
  margin-bottom: 1rem; /* Reduced margin */
  font-size: 0.95rem; /* Slightly smaller */
}

.method-card ul {
  list-style: none;
  padding: 0;
}

.method-card li {
  padding: 0.3rem 0; /* Reduced padding */
  font-size: 0.9rem; /* Smaller font */
  color: var(--text-secondary);
}

/* Success Stories Styles - Compact Version */
.success-stories {
  padding: 4rem 0; /* Reduced from 6rem */
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem; /* Reduced gap */
  margin-top: 2rem; /* Reduced margin */
}

.story-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem; /* Reduced padding */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.story-card h4 {
  color: var(--primary-dark);
  margin-bottom: 0.5rem; /* Reduced margin */
  font-size: 1.1rem; /* Reduced size */
}

.achievement {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-lighter), var(--secondary-light));
  padding: 0.25rem 0.75rem; /* Reduced padding */
  border-radius: 15px;
  font-size: 0.8rem; /* Smaller font */
  font-weight: 600;
  margin-bottom: 0.75rem; /* Reduced margin */
  color: var(--primary-dark);
}

.story-card p {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 0.75rem; /* Reduced margin */
  font-size: 0.95rem; /* Slightly smaller */
  line-height: 1.5; /* Tighter line height */
}

.author-info {
  font-size: 0.85rem; /* Smaller font */
  color: var(--text-muted);
  font-weight: 500;
}

/* Responsive Design for Timeline */
@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
  }
  
  .timeline-milestone {
    flex-direction: row !important;
    margin-bottom: 2rem; /* Further reduced for mobile */
  }
  
  .timeline-milestone:nth-child(even) .milestone-content,
  .timeline-milestone:nth-child(odd) .milestone-content {
    margin-left: 80px;
    margin-right: 0;
    width: calc(100% - 80px);
  }
  
  .milestone-marker {
    left: 30px;
    width: 40px; /* Smaller marker on mobile */
    height: 40px;
  }
  
  .marker-inner {
    font-size: 1rem; /* Smaller font on mobile */
  }
  
  .milestone-content {
    padding: 1.5rem; /* Adjusted padding on mobile */
    width: calc(100% - 80px); /* Full width minus marker space on mobile */
    min-width: auto; /* Remove min-width constraint on mobile */
  }
  
  .milestone-content h3 {
    font-size: 1.1rem; /* Smaller heading on mobile */
  }
  
  .method-grid {
    grid-template-columns: 1fr;
    gap: 1rem; /* Reduced gap on mobile */
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 1rem; /* Reduced gap on mobile */
  }
}

/* Horizontal Card Layout - New styles for milestone cards */
.milestone-header {
  margin-bottom: 1.5rem;
  margin-left: 1rem; /* Add left spacing to text elements */
  text-align: left; /* Changed from center to left */
  display: flex; /* Make badge and title inline */
  align-items: center; /* Vertically center align */
  justify-content: space-between; /* Push badge to right, title to left with max space */
}

.milestone-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-left: 1rem; /* Add left spacing to body content */
}

.milestone-body .skill-meters {
  margin: 0;
}

.milestone-body .milestone-features {
  margin: 0;
  padding-left: 1rem;
}

.milestone-body .milestone-features li {
  padding-left: 1rem; /* Add left padding to the list items specifically */
  background-color: rgba(139, 92, 246, 0.1); /* Slightly darker purple background */
  border-radius: 6px; /* Rounded corners for better appearance */
  margin-bottom: 0.5rem; /* Space between list items */
}

/* Enhanced visual separation */
.milestone-body .skill-meters {
  padding: 0.8rem;
  border: 1px solid transparent;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.8)) padding-box, 
              linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(139, 92, 246, 0.3), rgba(59, 130, 246, 0.35)) border-box;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08), 
              0 1px 3px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  margin-right: 1rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.milestone-body .skill-meters:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12),
              0 2px 6px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments for horizontal layout */
@media (max-width: 768px) {
  .milestone-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .milestone-body .milestone-features {
    padding-left: 0;
  }
  
  .milestone-body .skill-meters {
    padding-right: 0;
    border-right: none;
    border-bottom: 2px solid var(--border-purple);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
}

/* Contact page optimization for 15.6" screens (1366px) */
@media (max-width: 1366px) {
  .contact-hero {
    min-height: 95vh;
    padding-top: 80px;
    padding-bottom: 3rem;
  }
  
  /* Adjust main content grid for better fit */
  .contact-content {
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }
  
  /* Reduce title size for better proportion */
  .contact-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    margin-bottom: 1.25rem;
  }
  
  /* Reduce subtitle size */
  .contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  
  /* Optimize contact cards */
  .contact-card {
    padding: 1.75rem;
    gap: 1.25rem;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
  }
  
  .contact-details h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
  }
  
  .contact-details span,
  .contact-details a {
    font-size: 0.925rem;
  }
  
  /* Reduce feature cards padding */
  .contact-feature-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 2.25rem;
    margin-bottom: 0.875rem;
  }
  
  .contact-feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-feature-card p {
    font-size: 0.825rem;
  }
  
  /* Optimize badges and CTA buttons */
  .contact-badge {
    padding: 0.625rem 1.25rem;
    font-size: 0.8rem;
    margin-bottom: 1.75rem;
  }
  
  .contact-cta-group .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Adjust info cards spacing */
  .contact-info-cards {
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
  
  /* Add extra bottom spacing for features section */
  .contact-features {
    margin-bottom: 2rem;
  }
}

/* Additional tight spacing for borderline 1366px scenarios */
@media (max-width: 1366px) and (min-width: 1280px) {
  .contact-content {
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
  }
  
  .contact-feature-card {
    padding: 1.25rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
}

/* Optimizations for mid-range screens (1440px-1600px) */
@media (max-width: 1600px) and (min-width: 1440px) {
  /* Expertise Hero optimizations */
  .expertise-hero {
    min-height: 100vh;
    padding-top: 90px;
  }
  
  .expertise-content {
    grid-template-columns: 1fr 420px;
    gap: 3.5rem;
  }
  
  .expertise-title {
    font-size: clamp(2.75rem, 4.5vw, 4rem);
  }
  
  .expertise-subtitle {
    font-size: 1.375rem;
  }
  
  /* Programs Hero optimizations */
  .programs-hero {
    min-height: 100vh;
    padding-top: 90px;
  }
  
  .programs-title {
    font-size: clamp(2.75rem, 4.5vw, 4.25rem);
  }
  
  .programs-subtitle {
    font-size: 1.375rem;
  }
  
  .programs-preview {
    gap: 2.25rem;
    max-width: 950px;
  }
  
  /* Lecture Hero optimizations */
  .lecture-hero {
    min-height: 100vh;
    padding-top: 90px;
  }
  
  .lecture-content {
    grid-template-columns: 1fr 420px;
    gap: 3.5rem;
  }
  
  .lecture-title {
    font-size: clamp(2.75rem, 4.5vw, 4rem);
  }
  
  .lecture-subtitle {
    font-size: 1.375rem;
  }
  
  /* Contact Hero optimizations */
  .contact-hero {
    min-height: 100vh;
    padding-top: 90px;
  }
  
  .contact-content {
    grid-template-columns: 1fr 420px;
    gap: 3.5rem;
  }
  
  .contact-title {
    font-size: clamp(2.75rem, 4.5vw, 4rem);
  }
  
  .contact-subtitle {
    font-size: 1.375rem;
  }
}

/* 13-inch screen optimizations for specialized hero sections */
@media (max-width: 1280px) {
  /* Expertise Hero optimizations */
  .expertise-hero {
    min-height: 95vh;
    padding-top: 75px;
    padding-bottom: 2rem;
  }
  
  .expertise-content {
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
  }
  
  .expertise-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
  }
  
  .expertise-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  
  .expertise-credentials {
    padding: 1.5rem;
  }
  
  .credential-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .credential-icon {
    width: 55px;
    height: 55px;
    font-size: 1.75rem;
  }
  
  /* Programs Hero optimizations */
  .programs-hero {
    min-height: 95vh;
    padding-top: 75px;
    padding-bottom: 2rem;
  }
  
  .programs-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1.25rem;
  }
  
  .programs-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  
  .programs-preview {
    gap: 1.5rem;
    max-width: 800px;
  }
  
  .preview-card {
    padding: 1.5rem;
  }
  
  /* Lecture Hero optimizations */
  .lecture-hero {
    min-height: 95vh;
    padding-top: 75px;
    padding-bottom: 2rem;
  }
  
  .lecture-content {
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
  }
  
  .lecture-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.25rem;
  }
  
  .lecture-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
  }
  
  .lecture-methodology-showcase {
    padding: 1.5rem;
    gap: 1.25rem;
  }
  
  .methodology-card {
    padding: 1.25rem;
  }
  
  /* Contact Hero optimizations for 13-inch */
  .contact-hero {
    min-height: 90vh;
    padding-top: 75px;
    padding-bottom: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr 300px;
    gap: 2rem;
  }
  
  .contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-card {
    padding: 1.5rem;
    gap: 1rem;
  }
  
  .contact-icon {
    width: 55px;
    height: 55px;
  }
  
  .contact-feature-card {
    padding: 1.25rem;
  }
}

/* Ultra-compact optimizations for smaller 13-inch displays */
@media (max-width: 1200px) {
  /* Switch to single column layouts earlier */
  .expertise-content,
  .lecture-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  /* Reduce hero section heights */
  .expertise-hero,
  .programs-hero,
  .lecture-hero,
  .contact-hero {
    min-height: 85vh;
    padding-top: 70px;
    padding-bottom: 1.5rem;
  }
  
  /* Further reduce font sizes */
  .expertise-title,
  .programs-title,
  .lecture-title,
  .contact-title {
    font-size: clamp(1.875rem, 3.5vw, 2.75rem);
    margin-bottom: 1rem;
  }
  
  .expertise-subtitle,
  .programs-subtitle,
  .lecture-subtitle,
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Compact specialized sections */
  .expertise-credentials,
  .lecture-methodology-showcase {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.25rem;
  }
  
  .programs-preview {
    grid-template-columns: 1fr;
    max-width: 400px;
    gap: 1.25rem;
  }
  
  .preview-card {
    padding: 1.25rem;
  }
  
  /* Reduce card sizes */
  .credential-card,
  .methodology-card {
    padding: 1rem;
  }
  
  .contact-features {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .contact-hero {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .contact-features {
    grid-template-columns: 1fr;
    max-width: 350px;
  }
  
  .contact-cta-group {
    flex-direction: column;
  }
  
  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Fix for extremely small screens and maximum zoom levels */
@media (max-width: 280px) {
  .container {
    padding: 0 0.25rem;
  }
  
  .navbar .container {
    padding: 0.5rem 0.25rem;
  }
  
  .logo {
    font-size: 0.875rem;
  }
  
  .logo img {
    height: 28px;
    width: 28px;
  }
  
  .hamburger {
    width: 20px;
    height: 20px;
  }
  
  .hamburger span {
    width: 20px;
    height: 2px;
  }
  
  .mobile-nav {
    top: 50px;
    /* Ensure menu doesn't overflow on tiny screens */
    max-height: calc(100vh - 50px);
    overflow-y: auto;
  }
  
  .mobile-nav a {
    font-size: 0.9rem;
    padding: 0.75rem 0.75rem;
    /* Improved touch targets even on tiny screens */
    min-height: 40px;
    display: flex;
    align-items: center;
    line-height: 1.3;
  }
  
  .mobile-nav-content {
    padding: 0.5rem 0 1rem 0;
  }
  
  .mobile-nav ul {
    padding: 0 0.75rem;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.65rem 2rem;
    font-size: 0.85rem;
    min-height: 38px;
    line-height: 1.2;
  }
  
  .mobile-nav .dropdown-item a {
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
    min-height: 38px;
  }
  
  .mobile-nav .cta {
    margin: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 1rem !important;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.1;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
  }
}

/* Fix for ultra-small screens and very high zoom levels */
@media (max-width: 360px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .navbar .container {
    padding: 0.75rem 0.5rem;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo img {
    height: 32px;
    width: 32px;
  }
  
  .hamburger {
    width: 24px;
    height: 24px;
  }
  
  .hamburger span {
    width: 24px;
    height: 2px;
  }
  
  .mobile-nav {
    top: 60px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  .mobile-nav a {
    font-size: 1rem;
    padding: 0.875rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.4;
  }
  
  .mobile-nav-content {
    padding: 0.75rem 0 1.5rem 0;
  }
  
  .mobile-nav ul {
    padding: 0 1rem;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.75rem 2.5rem;
    font-size: 0.925rem;
    min-height: 42px;
    line-height: 1.3;
  }
  
  .mobile-nav .dropdown-item a {
    padding: 0.8rem 2rem;
    font-size: 0.925rem;
    min-height: 42px;
  }
  
  .mobile-nav .cta {
    margin: 1rem;
    padding: 0.875rem 1.5rem;
    font-size: 1.1rem !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .btn-primary {
    padding: 0.875rem 1.25rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  .navbar .container {
    padding: 1rem 0.75rem;
  }
  
  /* Remove problematic nav ul styles that conflict with mobile menu */
  /* nav ul styles should not apply when hamburger menu is active */
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn-primary {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .card,
  .feature-item,
  .testimonials blockquote {
    padding: 1.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  /* Enhanced mobile navigation for better phone compatibility */
  .mobile-nav {
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    /* Smoother scrolling on mobile */
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-nav a {
    font-size: 1.05rem;
    padding: 0.9rem 1.25rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    line-height: 1.5;
    /* Better visual feedback on touch */
    -webkit-tap-highlight-color: rgba(139, 92, 246, 0.1);
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.8rem 2.75rem;
    font-size: 0.95rem;
    min-height: 44px;
    line-height: 1.4;
  }
  
  .mobile-nav .dropdown-item a {
    padding: 0.85rem 2.4rem;
    font-size: 0.95rem;
    min-height: 44px;
  }
  
  .mobile-nav .cta {
    margin: 1.25rem;
    padding: 0.9rem 1.75rem;
    font-size: 1.15rem !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
  }
}

/* Large Phones and Small Tablets in Portrait - 481px to 667px */
@media (max-width: 667px) and (min-width: 481px) and (orientation: portrait) {
  .hamburger {
    width: 28px;
    height: 28px;
  }
  
  .hamburger span {
    width: 28px;
    height: 3px;
  }
  
  .mobile-nav {
    top: 74px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .mobile-nav a {
    font-size: 1.1rem;
    padding: 1rem 1.3rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    line-height: 1.5;
    -webkit-tap-highlight-color: rgba(139, 92, 246, 0.1);
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.9rem 3rem;
    font-size: 1rem;
    min-height: 48px;
    line-height: 1.4;
  }
  
  .mobile-nav .dropdown-item a {
    padding: 0.95rem 2.5rem;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .mobile-nav .cta {
    margin: 1.3rem 1.3rem 1rem 1.3rem;
    padding: 1rem 2rem;
    font-size: 1.2rem !important;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
  }
}

/* Enhanced responsive optimizations for lower resolution desktops - Contact Page */

/* 1440px screens - high-end laptops with tight spacing */
@media (max-width: 1440px) and (min-width: 1367px) {
  .contact-hero {
    min-height: 95vh;
    padding-top: 85px;
    padding-bottom: 2.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr 380px;
    gap: 3.25rem;
  }
  
  .contact-title {
    font-size: clamp(2.5rem, 4.5vw, 3.75rem);
    margin-bottom: 1.375rem;
  }
  
  .contact-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.75rem;
  }
  
  .contact-card {
    padding: 1.875rem;
    gap: 1.375rem;
  }
  
  .contact-icon {
    width: 65px;
    height: 65px;
  }
  
  .contact-feature-card {
    padding: 1.75rem;
  }
  
  .contact-badge {
    padding: 0.75rem 1.375rem;
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
  
  .contact-cta-group .btn {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }
}

/* 1366px screens - most common laptop resolution */
@media (max-width: 1366px) and (min-width: 1281px) {
  .contact-hero {
    min-height: 90vh;
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr 340px;
    gap: 2.75rem;
  }
  
  .contact-title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    margin-bottom: 1.25rem;
  }
  
  .contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.25rem;
  }
  
  .contact-card {
    padding: 1.5rem;
    gap: 1.125rem;
  }
  
  .contact-icon {
    width: 58px;
    height: 58px;
  }
  
  .contact-details h3 {
    font-size: 0.975rem;
    margin-bottom: 0.325rem;
  }
  
  .contact-details span,
  .contact-details a {
    font-size: 0.9rem;
  }
  
  .contact-feature-card {
    padding: 1.375rem;
  }
  
  .feature-icon {
    font-size: 2.125rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-feature-card h3 {
    font-size: 0.975rem;
    margin-bottom: 0.425rem;
  }
  
  .contact-feature-card p {
    font-size: 0.8rem;
  }
  
  .contact-badge {
    padding: 0.625rem 1.125rem;
    font-size: 0.8rem;
    margin-bottom: 1.75rem;
  }
  
  .contact-cta-group .btn {
    padding: 0.825rem 1.375rem;
    font-size: 0.875rem;
  }
  
  .contact-info-cards {
    gap: 1.125rem;
    margin-bottom: 2.25rem;
  }
}

/* 1280px screens - smaller laptops and high-res tablets */
@media (max-width: 1280px) and (min-width: 1201px) {
  .contact-hero {
    min-height: 85vh;
    padding-top: 75px;
    padding-bottom: 1.75rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr 300px;
    gap: 2.25rem;
  }
  
  .contact-title {
    font-size: clamp(2rem, 3.75vw, 2.875rem);
    margin-bottom: 1rem;
  }
  
  .contact-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  
  .contact-card {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .contact-icon {
    width: 52px;
    height: 52px;
  }
  
  .contact-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .contact-details h3 {
    font-size: 0.925rem;
    margin-bottom: 0.25rem;
  }
  
  .contact-details span,
  .contact-details a {
    font-size: 0.85rem;
  }
  
  .contact-feature-card {
    padding: 1.125rem;
  }
  
  .feature-icon {
    font-size: 1.875rem;
    margin-bottom: 0.625rem;
  }
  
  .contact-feature-card h3 {
    font-size: 0.9rem;
    margin-bottom: 0.375rem;
  }
  
  .contact-feature-card p {
    font-size: 0.775rem;
    line-height: 1.5;
  }
  
  .contact-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-cta-group .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.825rem;
  }
  
  .contact-info-cards {
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-features {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }
}

/* 1200px screens - standard smaller laptops */
@media (max-width: 1200px) and (min-width: 1025px) {
  .contact-hero {
    min-height: 80vh;
    padding-top: 70px;
    padding-bottom: 1.5rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-title {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    margin-bottom: 0.875rem;
    text-align: center;
  }
  
  .contact-subtitle {
    font-size: 0.975rem;
    margin-bottom: 1.75rem;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-badge {
    margin: 0 auto 1.5rem;
    padding: 0.5rem 0.875rem;
    font-size: 0.725rem;
  }
  
  .contact-cta-group {
    justify-content: center;
    margin-bottom: 2rem;
  }
  
  .contact-cta-group .btn {
    padding: 0.75rem 1.125rem;
    font-size: 0.8rem;
  }
  
  .contact-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.75rem;
  }
  
  .contact-card {
    padding: 1.125rem;
    gap: 0.875rem;
    text-align: center;
    flex-direction: column;
  }
  
  .contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
  }
  
  .contact-icon svg {
    width: 26px;
    height: 26px;
  }
  
  .contact-details h3 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
  }
  
  .contact-details span,
  .contact-details a {
    font-size: 0.825rem;
  }
  
  .contact-features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.125rem;
    margin-bottom: 1.25rem;
  }
  
  .contact-feature-card {
    padding: 1rem;
    text-align: center;
  }
  
  .feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-feature-card h3 {
    font-size: 0.875rem;
    margin-bottom: 0.325rem;
  }
  
  .contact-feature-card p {
    font-size: 0.75rem;
    line-height: 1.4;
  }
}

/* Enhanced Mobile Navigation - Optimized for All Phone Resolutions */

/* Modern Phones (landscape) - 667px to 896px wide */
@media (max-width: 896px) and (min-width: 668px) and (orientation: landscape) {
  .mobile-nav {
    top: 65px;
    max-height: calc(100vh - 65px);
    overflow-y: auto;
  }
  
  .mobile-nav-content {
    padding: 0.5rem 0 1rem 0;
  }
  
  .mobile-nav ul {
    padding: 0 1rem;
  }
  
  .mobile-nav a {
    font-size: 0.95rem;
    padding: 0.7rem 1.2rem;
    line-height: 1.4;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.6rem 2.8rem;
    font-size: 0.9rem;
  }
  
  .mobile-nav .cta {
    margin: 1rem 1rem 0.5rem 1rem;
    padding: 0.8rem 1.6rem;
    font-size: 1.1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
    min-height: 44px;
  }
}

/* Standard Portrait Phones - 375px to 414px */
@media (max-width: 414px) and (min-width: 375px) {
  .hamburger {
    width: 26px;
    height: 26px;
  }
  
  .hamburger span {
    width: 26px;
    height: 2.5px;
  }
  
  .mobile-nav {
    top: 68px;
  }
  
  .mobile-nav a {
    font-size: 1rem;
    padding: 1rem 1.2rem;
    line-height: 1.5;
    /* Better touch target for thumbs */
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.85rem 2.8rem;
    font-size: 0.95rem;
    min-height: 44px;
  }
  
  .mobile-nav .dropdown-item a {
    padding: 0.9rem 2.2rem;
    min-height: 46px;
  }
  
  .mobile-nav .cta {
    margin: 1.2rem 1.2rem 0.8rem 1.2rem;
    padding: 1rem 1.8rem;
    font-size: 1.15rem !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
  }
}

/* Small Portrait Phones - 320px to 374px */
@media (max-width: 374px) and (min-width: 320px) {
  .hamburger {
    width: 24px;
    height: 24px;
  }
  
  .hamburger span {
    width: 24px;
    height: 2px;
  }
  
  .mobile-nav {
    top: 62px;
  }
  
  .mobile-nav a {
    font-size: 0.95rem;
    padding: 0.9rem 1rem;
    line-height: 1.4;
    min-height: 46px;
    display: flex;
    align-items: center;
  }
  
  .mobile-nav .dropdown-content a {
    padding: 0.8rem 2.5rem;
    font-size: 0.9rem;
    min-height: 42px;
  }
  
  .mobile-nav .dropdown-item a {
    padding: 0.85rem 2rem;
    min-height: 44px;
    font-size: 0.9rem;
  }
  
  .mobile-nav .cta {
    margin: 1rem 1rem 0.6rem 1rem;
    padding: 0.9rem 1.5rem;
    font-size: 1.1rem !important;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1.2;
    text-align: center;
  }
}

/* Enhanced Mobile Responsiveness Fixes */

/* Additional Mobile Responsiveness for Cards and Components */
@media (max-width: 768px) {
  /* Feature Items Mobile Fixes */
  .feature-item {
    padding: 1.5rem 1rem !important;
  }
  
  .feature-item .icon {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .feature-item .icon svg {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* About Section Card Fixes */
  .about .card-feature {
    padding: 1.5rem 1rem !important;
  }
  
  .about .card-feature .icon {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  /* Pricing Card Mobile Enhancements */
  .pricing-card {
    padding: 1.25rem !important;
  }
  
  /* Value Badge Mobile Fixes */
  .value-badge {
    height: auto !important;
    min-height: auto !important;
    padding: 0.4rem 0.6rem !important;
    flex-direction: row !important;
    gap: 0.4rem !important;
  }
  
  .value-icon {
    min-width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
  }
  
  .value-content {
    gap: 0.2rem !important;
  }
  
  .value-label {
    font-size: 0.8rem !important;
  }
  
  /* Feature List Mobile Optimization */
  .feature-list {
    padding: 0 !important;
  }
  
  .feature-list li {
    padding: 0.5rem 0 !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Achievement Badge Mobile */
  .achievement-badge {
    padding: 0.75rem !important;
    margin: 0.5rem 0 !important;
  }
  
  .achievement-icon {
    min-width: 32px !important;
    height: 32px !important;
  }
  
  .achievement-text {
    font-size: 0.8rem !important;
  }
  
  /* Contact Card Mobile Improvements */
  .contact-card {
    padding: 1.25rem !important;
    gap: 1rem !important;
  }
  
  .contact-icon {
    width: 50px !important;
    height: 50px !important;
  }
  
  /* Contact Feature Card Mobile */
  .contact-feature-card {
    padding: 1.25rem !important;
  }
  
  .feature-icon {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* Credential Card Mobile */
  .credential-card {
    padding: 0.75rem !important;
    gap: 0.75rem !important;
  }
  
  .credential-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.5rem !important;
  }
  
  /* Preview Card Mobile */
  .preview-card {
    padding: 1.25rem !important;
  }
  
  /* Methodology Card Mobile */
  .methodology-card {
    padding: 1.25rem !important;
  }
  
  .method-icon {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* FAQ Item Mobile */
  .faq-item {
    padding: 1.25rem !important;
  }
  
  /* Milestone Content Mobile */
  .milestone-content {
    padding: 1.25rem !important;
  }
  
  /* Method Card Mobile */
  .method-card {
    padding: 1.25rem !important;
  }
  
  /* Story Card Mobile */
  .story-card {
    padding: 1.25rem !important;
  }
}

/* Tablet and Small Desktop Responsive Fixes */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Feature Items Tablet Optimization */
  .feature-item {
    padding: 2rem 1.5rem !important;
  }
  
  .feature-item .icon {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  /* About Section Cards Tablet */
  .about .card-feature {
    padding: 2rem 1.5rem !important;
  }
  
  /* Pricing Card Tablet */
  .pricing-card {
    padding: 1.75rem !important;
  }
  
  /* Value Badge Tablet */
  .value-badge {
    height: 2.25rem !important;
    min-height: 2.25rem !important;
    padding: 0.45rem 0.7rem !important;
  }
  
  .value-icon {
    min-width: 32px !important;
    height: 32px !important;
  }
  
  /* Contact Cards Tablet */
  .contact-card {
    padding: 1.75rem !important;
  }
  
  .contact-icon {
    width: 60px !important;
    height: 60px !important;
  }
  
  .contact-feature-card {
    padding: 1.75rem !important;
  }
}

/* Enhanced Small Mobile Devices (480px and below) */
@media (max-width: 480px) {
  /* Ultra-compact card padding */
  .feature-item,
  .about .card-feature,
  .contact-feature-card,
  .faq-item,
  .milestone-content,
  .method-card,
  .story-card {
    padding: 1rem 0.75rem !important;
  }
  
  .pricing-card,
  .preview-card,
  .methodology-card {
    padding: 1rem !important;
  }
  
  .contact-card,
  .credential-card {
    padding: 1rem !important;
    gap: 0.75rem !important;
  }
  
  /* Compact icon sizes */
  .feature-item .icon,
  .about .card-feature .icon {
    font-size: 2rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .feature-item .icon svg,
  .about .card-feature .icon svg {
    width: 32px !important;
    height: 32px !important;
  }
  
  .contact-icon {
    width: 45px !important;
    height: 45px !important;
  }
  
  .credential-icon {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.25rem !important;
  }
  
  .feature-icon {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .method-icon {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Value badge ultra-compact */
  .value-badge {
    padding: 0.3rem 0.5rem !important;
    gap: 0.3rem !important;
  }
  
  .value-icon {
    min-width: 24px !important;
    height: 24px !important;
    font-size: 0.875rem !important;
  }
  
  .value-label {
    font-size: 0.75rem !important;
  }
  
  .value-desc {
    font-size: 0.65rem !important;
  }
  
  /* Achievement badge compact */
  .achievement-badge {
    padding: 0.5rem !important;
    margin: 0.25rem 0 !important;
  }
  
  .achievement-icon {
    min-width: 28px !important;
    height: 28px !important;
  }
  
  .achievement-text {
    font-size: 0.75rem !important;
  }
}

/* Ultra-small devices (360px and below) */
@media (max-width: 360px) {
  /* Minimize all padding for very small screens */
  .feature-item,
  .about .card-feature,
  .pricing-card,
  .preview-card,
  .methodology-card,
  .contact-card,
  .contact-feature-card,
  .credential-card,
  .faq-item,
  .milestone-content,
  .method-card,
  .story-card {
    padding: 0.75rem 0.5rem !important;
  }
  
  /* Minimize gaps */
  .contact-card,
  .credential-card {
    gap: 0.5rem !important;
  }
  
  /* Smallest icon sizes */
  .feature-item .icon,
  .about .card-feature .icon {
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .feature-item .icon svg,
  .about .card-feature .icon svg {
    width: 28px !important;
    height: 28px !important;
  }
  
  .contact-icon {
    width: 40px !important;
    height: 40px !important;
  }
  
  .credential-icon {
    width: 35px !important;
    height: 35px !important;
    font-size: 1rem !important;
  }
  
  .feature-icon,
  .method-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  /* Minimal value badge */
  .value-badge {
    padding: 0.25rem 0.4rem !important;
    gap: 0.25rem !important;
  }
  
  .value-icon {
    min-width: 20px !important;
    height: 20px !important;
    font-size: 0.75rem !important;
  }
  
  .value-label {
    font-size: 0.7rem !important;
  }
  
  .value-desc {
    font-size: 0.6rem !important;
  }
  
  /* Minimal achievement badge */
  .achievement-badge {
    padding: 0.4rem !important;
    margin: 0.25rem 0 !important;
  }
  
  .achievement-icon {
    min-width: 24px !important;
    height: 24px !important;
  }
  
  .achievement-text {
    font-size: 0.7rem !important;
  }
}

/* Prevent horizontal overflow on all cards */
@media (max-width: 768px) {
  .feature-item,
  .about .card-feature,
  .pricing-card,
  .preview-card,
  .methodology-card,
  .contact-card,
  .contact-feature-card,
  .credential-card,
  .faq-item,
  .milestone-content,
  .method-card,
  .story-card,
  .value-badge,
  .achievement-badge {
    overflow: hidden !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
  }
  
  /* Ensure text doesn't overflow */
  .feature-item h3,
  .feature-item p,
  .about .card-feature h3,
  .about .card-feature p,
  .pricing-card h3,
  .contact-feature-card h3,
  .contact-feature-card p,
  .credential-info h3,
  .credential-info p,
  .faq-item h3,
  .faq-item p,
  .value-label,
  .value-desc,
  .achievement-text {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
  }
}


