/* 
   FLUENT FLOW - PREMIUM DESIGN SYSTEM
   URL: fluentflowattingal.in
   Spoken English Coaching Academy, Attingal, Kerala
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #1E40AF;
  --secondary-hover: #1E3A8A;
  --accent: #06B6D4;
  --accent-hover: #0891B2;
  --accent-light: #ECFDF5;
  --success: #10B981;
  --success-hover: #059669;
  --dark: #0F172A;
  --dark-light: #1E293B;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --gray-light: #E2E8F0;
  --gray: #64748B;
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 20px 25px -5px rgba(37, 99, 235, 0.2), 0 8px 10px -6px rgba(37, 99, 235, 0.2);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Poppins', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--light);
}
::-webkit-scrollbar-thumb {
  background: var(--gray-light);
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gray);
}

/* --- REUSABLE UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

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

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
}

h1 {
  font-size: 3rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--gray);
  font-size: 1rem;
}

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

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

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

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

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.05);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  background-color: transparent;
  padding: 20px 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* Desktop Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
}

header:not(.scrolled) .nav-link {
  color: var(--dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  border-radius: 3px;
  transition: var(--transition-normal);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin: 20px 0 36px 0;
  color: var(--gray);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.05));
}

/* --- WHY CHOOSE CARDS --- */
.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-title {
  margin-top: 10px;
  font-size: 2.25rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition-normal);
}

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

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

.why-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(37, 99, 235, 0.06);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: bold;
}

.why-card:hover .why-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: rotate(6deg) scale(1.05);
  transition: var(--transition-normal);
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* --- COURSES / CLASSES CARDS --- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.course-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.course-banner {
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.course-card:nth-child(2n) .course-banner {
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.course-card:nth-child(3n) .course-banner {
  background: linear-gradient(90deg, var(--accent), var(--success));
}

.course-body {
  padding: 40px 32px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.course-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.course-body h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.course-body p {
  margin-bottom: 24px;
  flex-grow: 1;
}

.course-outcomes {
  list-style: none;
  margin-bottom: 32px;
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.course-outcomes li {
  font-size: 0.9rem;
  color: var(--dark-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-outcomes li::before {
  content: "✓";
  color: var(--success);
  font-weight: 800;
}

/* --- STUDENT BENEFITS --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-item {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-sm);
  padding: 24px;
  text-align: center;
  transition: var(--transition-normal);
}

.benefit-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.benefit-check {
  width: 40px;
  height: 40px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-weight: 700;
}

.benefit-item h4 {
  font-size: 1rem;
  color: var(--dark);
}

/* --- TESTIMONIAL CARDS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.rating {
  color: #FBBF24;
  margin-bottom: 16px;
  font-size: 1.125rem;
}

.quote {
  font-size: 0.95rem;
  color: var(--dark-light);
  font-style: italic;
  margin-bottom: 24px;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.student-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gray-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  border: 2px solid var(--primary);
}

.student-name h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.student-name span {
  font-size: 0.8rem;
  color: var(--gray);
}

/* --- CALL TO ACTION SECTION --- */
.cta {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta .btn-white {
  background-color: var(--white);
  color: var(--primary);
}

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

.cta .btn-outline-white {
  border-color: var(--white);
  color: var(--white);
}

.cta .btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* --- ABOUT PAGE SPECIFICS --- */
.about-hero {
  padding-top: 180px;
  padding-bottom: 60px;
  background-color: var(--light);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.mv-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.mv-card h3 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.value-card {
  background-color: var(--white);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  transition: var(--transition-normal);
}

.value-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.value-card h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* --- CLASSES PAGE SPECIFICS --- */
.floating-enroll-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: 90%;
  max-width: 800px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  padding: 12px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition-slow);
}

.floating-enroll-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.floating-text {
  color: var(--white);
}

.floating-text h4 {
  color: var(--white);
  font-size: 1.1rem;
}

.floating-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* --- CONTACT PAGE SPECIFICS --- */
.contact-details-wrapper {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-info-content p, .contact-info-content a {
  font-size: 0.95rem;
  color: var(--gray);
}

.contact-info-content a:hover {
  color: var(--primary);
}

.hours-card {
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  padding: 32px;
  margin-top: 32px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-light);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span {
  font-weight: 500;
}

.hours-row span.closed {
  color: var(--gray);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.action-btn-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.action-btn-large:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.action-btn-large .icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.action-btn-large.whatsapp .icon {
  color: var(--success);
}

.action-btn-large h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.action-btn-large p {
  font-size: 0.85rem;
}

/* --- PRIVACY POLICY PAGE --- */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.75rem;
  margin: 40px 0 16px 0;
  color: var(--dark);
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p {
  margin-bottom: 20px;
  color: var(--dark-light);
}

.privacy-content ul {
  margin-bottom: 24px;
  padding-left: 24px;
}

.privacy-content li {
  margin-bottom: 10px;
  color: var(--dark-light);
}

/* --- FOOTER --- */
footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px 0;
  border-top: 1px solid var(--dark-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0 24px 0;
  max-width: 350px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: var(--dark-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.social-icon:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
  color: var(--white);
}

.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-contact .icon {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--dark-light);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
}

/* --- CONVERSION / UTILITIES --- */
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(12deg);
  background-color: #20BA56;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  width: 90%;
  max-width: 550px;
  padding: 48px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--gray);
  cursor: pointer;
  background: none;
  border: none;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-card h3 {
  font-size: 1.85rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.modal-card p {
  margin-bottom: 32px;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.modal-option-btn:hover {
  border-color: var(--primary);
  background-color: rgba(37, 99, 235, 0.04);
  transform: translateY(-2px);
}

.modal-option-btn.whatsapp-opt {
  border-color: rgba(37, 211, 102, 0.4);
}

.modal-option-btn.whatsapp-opt:hover {
  border-color: #25D366;
  background-color: rgba(37, 211, 102, 0.04);
}

.modal-option-btn .icon {
  font-size: 1.25rem;
  color: var(--primary);
}

.modal-option-btn.whatsapp-opt .icon {
  color: #25D366;
}

/* Mobile Quick Action Bar */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.08);
  grid-template-columns: repeat(3, 1fr);
  z-index: 990;
  border-top: 1px solid var(--gray-light);
}

.action-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-light);
}

.action-bar-item .icon {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.action-bar-item.call {
  border-right: 1px solid var(--gray-light);
}

.action-bar-item.whatsapp {
  border-right: 1px solid var(--gray-light);
  color: #25D366;
}

.action-bar-item.enroll {
  background-color: var(--primary);
  color: var(--white);
}

/* --- ANIMATION CLASS PRESETS --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE STYLES (MOBILE-FIRST PRINCIPLE) --- */

/* Medium Devices (Tablets, 1024px and down) */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid, .courses-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-brand p {
    max-width: 100%;
  }
}

/* Small Devices (Mobile & Small Tablets, 768px and down) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  section {
    padding: 60px 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-illustration {
    margin-top: 16px;
  }
  
  /* Mobile Menu Mechanics */
  .mobile-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 74px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 74px);
    background-color: var(--white);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    align-items: stretch;
    transition: var(--transition-normal);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
    z-index: 1001;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-cta {
    display: none; /* Hide header CTA button on mobile */
  }
  .nav-cta-mobile {
    display: block; /* Show header CTA inside overlay on mobile */
  }
  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Why Choose, Courses, Testimonials, Benefits layout for mobile */
  .why-grid, .courses-grid, .testimonials-grid, .values-grid, .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-brand {
    grid-column: span 1;
  }
  
  /* Contact page updates */
  .map-container {
    min-height: 300px;
  }
  .contact-details-wrapper {
    padding: 32px 24px;
  }
  
  /* Keep WhatsApp float visible on mobile, hide mobile bottom bar */
  .whatsapp-float {
    display: flex;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .mobile-action-bar {
    display: none;
  }
  
  /* Reset bottom padding on body since bottom bar is removed */
  body {
    padding-bottom: 0;
  }
  .floating-enroll-bar {
    display: none; /* Hide floating bar on classes page on mobile */
  }
}

/* Very Small Mobile Devices (480px and down) */
@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .modal-card {
    padding: 32px 20px;
  }
  .modal-card h3 {
    font-size: 1.5rem;
  }
}

/* --- MODERN HERO TWEAKS --- */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-badge {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  backdrop-filter: blur(8px);
  color: var(--primary);
}

.hero-trust-indicators {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item .check-icon {
  color: var(--success);
  font-weight: bold;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-image-blob {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, rgba(6, 182, 212, 0.06) 50%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
  animation: blobFloat 12s infinite alternate ease-in-out;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15px, 20px) scale(1.08); }
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg), 0 30px 60px -15px rgba(15, 23, 42, 0.18);
  border: 4px solid var(--white);
  background-color: var(--white);
  transition: var(--transition-normal);
}

.hero-image-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 35px 70px -10px rgba(15, 23, 42, 0.22);
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--border-radius-lg) - 4px);
  display: block;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 10px 16px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
  animation: badgeFloat 6s infinite ease-in-out;
}

.floating-badge.badge-top-right {
  top: 30px;
  right: -25px;
}

.floating-badge.badge-bottom-left {
  bottom: 30px;
  left: -25px;
  animation-delay: -3s;
}

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

.floating-badge .icon {
  font-size: 1.15rem;
  width: 32px;
  height: 32px;
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge.badge-top-right .icon {
  background-color: #FEF3C7;
  color: #D97706;
}

.floating-badge h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  color: var(--dark);
}

.floating-badge p {
  font-size: 0.7rem;
  margin: 0;
  color: var(--gray);
}

@media (max-width: 768px) {
  .hero-image-container {
    max-width: 380px;
    margin-top: 20px;
  }
  .floating-badge.badge-top-right {
    right: -10px;
  }
  .floating-badge.badge-bottom-left {
    left: -10px;
  }
  .hero-trust-indicators {
    justify-content: center;
    gap: 16px;
  }
}
