/* 
  EDUCUS Abacus - Main Stylesheet
  Design System: Deep Purple & Bright Yellow
*/

:root {
  /* Exact Colors Provided by User */
  --primary-color: #24104F;
  /* Deep Purple */
  --primary-dark: #190B38;
  /* Slightly darker than primary for depths */
  --primary-light: #4B1B87;
  /* Royal Purple (Secondary) */
  --accent-color: #FFD21F;
  /* Bright Yellow (Main Accent) */
  --accent-hover: #FFB703;
  /* Orange (Highlight) */
  --bg-light: #F3EDFF;
  /* Light Background */
  --bg-white: #FFFFFF;
  /* White */
  --text-dark: #1E1B2D;
  /* Text */
  --text-muted: #5A5766;
  /* Slightly lighter text for secondary text */
  --text-light: #FFFFFF;

  --font-family: 'Outfit', sans-serif;
  --transition-fast: 0.3s;
  --transition-normal: 0.5s;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(36, 16, 79, 0.1);
  --shadow-lg: 0 20px 40px rgba(36, 16, 79, 0.15);

  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(74, 20, 140, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.opacity-80 {
  opacity: 0.8;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
}

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

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

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

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

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

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

.btn-large {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
  padding: 14px;
}

/* Detailed Course Cards (Courses Page) */
.detailed-course-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  /* --- CHANGE THIS COLOR TO EDIT THE RIGHT SIDE BACKGROUND --- */
  background-color: #FFF2CC;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.detailed-course-left {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detailed-course-right {
  padding: 40px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  margin-bottom: 50px;
}

/* Custom Styles for Inner Page Headers (About, Gallery, etc.) */
.page-header-section {
  padding: 15px 0 20px !important;
  background: linear-gradient(135deg, #F3EDFF 0%, #FAFCFF 100%) !important;
  border-bottom: 1px solid #E9D8FD;
}

.page-header-section .hero-title {
  font-size: 2rem !important;
  color: var(--primary-color) !important;
  margin: 0 0 5px 0 !important;
  font-weight: 800;
  line-height: 1.2 !important;
}

.page-header-section .section-desc {
  font-size: 0.95rem !important;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto !important;
  line-height: 1.4 !important;
}

@media (max-width: 768px) {
  .page-header-section {
    padding: 15px 0 !important;
  }

  .page-header-section .hero-title {
    font-size: 1.7rem !important;
  }
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Top Information Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}

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

.top-bar-info {
  display: flex;
  gap: 20px;
}

.top-bar-announce {
  color: var(--accent-color);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: #da9e05;
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: padding var(--transition-normal);
}

.header.scrolled {
  padding: 10px 0;
}

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

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

.logo a {
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 800;
  margin: 0;
}

.logo span {
  color: var(--accent-hover);
  font-weight: 400;
}

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

.footer-logo-img {
  max-height: 60px;
  width: auto;
  display: block;
  margin-bottom: 15px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Reduced gap to fit more links */
}

.nav-list a:not(.btn) {
  font-weight: 700;
  font-size: 1.05rem;
  /* Larger font to highlight links */
  color: var(--text-light);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
}

.nav-list a.active:not(.btn),
.nav-list a:not(.btn):hover {
  color: var(--primary-color);
}

.nav-list a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-list a.active:not(.btn)::after,
.nav-list a:not(.btn):hover::after {
  width: 100%;
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-white);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  border-radius: 12px;
  padding: 10px 0;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  animation: fadeIn 0.2s ease;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
  width: 100%;
}

.dropdown-menu li a {
  padding: 10px 20px;
  display: block;
  color: var(--text-dark) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  text-shadow: none !important;
  border-radius: 0;
}

.dropdown-menu li a::after {
  display: none;
  /* No underline in dropdown */
}

.dropdown-menu li a:hover {
  background-color: var(--accent-hover);
  color: var(--primary-dark) !important;
  padding-left: 25px;
  /* Slight indent on hover */
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}


.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 180px 0 120px;
  color: var(--text-light);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title span {
  color: var(--accent-color);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

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

.banner-mockup {
  width: 100%;
  height: 350px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: float 6s ease-in-out infinite;
}

.abacus-icon {
  font-size: 4rem;
  margin-bottom: 10px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Floating Elements in Hero */
.floating-item {
  position: absolute;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  z-index: 1;
  pointer-events: none;
  animation: jumpRandom 4s infinite ease-in-out;
  -webkit-text-stroke: 3px #FFFFFF;
}

.float-1 {
  font-size: 4.5rem;
  color: #EF476F;
  top: 5%;
  left: 2%;
  animation-delay: 0s;
  animation-duration: 3.5s;
  text-shadow: 0 5px 0 #C1121F, 0 10px 15px rgba(0, 0, 0, 0.2);
}

.float-2 {
  font-size: 3.5rem;
  color: #8338EC;
  top: 8%;
  right: 5%;
  animation-delay: 1.2s;
  animation-duration: 4.2s;
  text-shadow: 0 4px 0 #5A189A, 0 10px 15px rgba(0, 0, 0, 0.2);
}

.float-3 {
  font-size: 5rem;
  color: #06D6A0;
  bottom: 5%;
  left: 2%;
  animation-delay: 0.5s;
  animation-duration: 3.8s;
  text-shadow: 0 6px 0 #04916B, 0 10px 15px rgba(0, 0, 0, 0.2);
}

.float-4 {
  font-size: 4rem;
  color: #FFD166;
  bottom: 5%;
  right: 5%;
  animation-delay: 2s;
  animation-duration: 4.5s;
  text-shadow: 0 5px 0 #E09F3E, 0 10px 15px rgba(0, 0, 0, 0.2);
}

.float-5 {
  font-size: 5.5rem;
  color: #FF006E;
  top: 40%;
  right: 2%;
  animation-delay: 0.8s;
  animation-duration: 3.2s;
  text-shadow: 0 7px 0 #C1121F, 0 12px 15px rgba(0, 0, 0, 0.2);
}

.float-6 {
  font-size: 4rem;
  color: #118AB2;
  top: 15%;
  left: 48%;
  animation-delay: 1.5s;
  animation-duration: 4s;
  text-shadow: 0 5px 0 #073B4C, 0 10px 15px rgba(0, 0, 0, 0.2);
}

.float-7 {
  font-size: 3.5rem;
  color: #F77F00;
  bottom: 20%;
  left: 45%;
  animation-delay: 2.2s;
  animation-duration: 4.8s;
  text-shadow: 0 4px 0 #D62828, 0 10px 15px rgba(0, 0, 0, 0.2);
}

@keyframes jumpRandom {
  0% {
    transform: translateY(0) scale(1) rotate(-5deg);
  }

  50% {
    transform: translateY(-40px) scale(1.1) rotate(10deg);
  }

  100% {
    transform: translateY(0) scale(1) rotate(-5deg);
  }
}

.hero-shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.hero-shape-divider .shape-fill {
  fill: var(--bg-white);
}

/* Features/About Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Colorful Feature Cards - Dynamic Design for Kids */
.feature-card {
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary-color);
  color: var(--text-dark);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.8rem;
  transition: all 0.3s ease;
}

.feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.feature-card p {
  color: var(--text-muted);
  transition: all 0.3s ease;
}

/* Card Specific Colors & Hover Effects */
.feature-card:nth-child(1) {
  border-top-color: #E74C3C;
  background: #FFF5F5;
}

.feature-card:nth-child(1) .feature-icon {
  background: rgba(231, 76, 60, 0.15);
  color: #E74C3C;
}

.feature-card:nth-child(1):hover {
  box-shadow: 0 15px 30px rgba(231, 76, 60, 0.2);
  border-top-color: #E74C3C;
}

.feature-card:nth-child(2) {
  border-top-color: #2ECC71;
  background: #F2FEF6;
}

.feature-card:nth-child(2) .feature-icon {
  background: rgba(46, 204, 113, 0.15);
  color: #2ECC71;
}

.feature-card:nth-child(2):hover {
  box-shadow: 0 15px 30px rgba(46, 204, 113, 0.2);
  border-top-color: #2ECC71;
}

.feature-card:nth-child(3) {
  border-top-color: #3498DB;
  background: #F4FAFE;
}

.feature-card:nth-child(3) .feature-icon {
  background: rgba(52, 152, 219, 0.15);
  color: #3498DB;
}

.feature-card:nth-child(3):hover {
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
  border-top-color: #3498DB;
}

.feature-card:nth-child(4) {
  border-top-color: #F1C40F;
  background: #FFFCF0;
}

.feature-card:nth-child(4) .feature-icon {
  background: rgba(241, 196, 15, 0.15);
  color: #F1C40F;
}

.feature-card:nth-child(4):hover {
  box-shadow: 0 15px 30px rgba(241, 196, 15, 0.2);
  border-top-color: #F1C40F;
}

.feature-card:nth-child(5) {
  border-top-color: #E67E22;
  background: #FFF7F0;
}

.feature-card:nth-child(5) .feature-icon {
  background: rgba(230, 126, 34, 0.15);
  color: #E67E22;
}

.feature-card:nth-child(5):hover {
  box-shadow: 0 15px 30px rgba(230, 126, 34, 0.2);
  border-top-color: #E67E22;
}

.feature-card:nth-child(6) {
  border-top-color: #9B59B6;
  background: #FBF6FC;
}

.feature-card:nth-child(6) .feature-icon {
  background: rgba(155, 89, 182, 0.15);
  color: #9B59B6;
}

.feature-card:nth-child(6):hover {
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.2);
  border-top-color: #9B59B6;
}

/* Universal Hover Changes */
.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

/* About Section Background Override - Light Yellow from Logo */
.about-section {
  background-color: #FFFAEC !important;
}

.about-section .section-title {
  color: var(--primary-color);
}

.about-section .section-desc {
  color: var(--text-muted);
}

/* Courses Section */
.courses-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), background 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary-color);
  border-bottom: 5px solid var(--primary-color);
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.course-card.highlight {
  background: var(--primary-color);
  color: var(--text-light);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border-top: none;
}

.course-card.highlight:hover {
  transform: scale(1.05) translateY(-5px);
}

.course-level {
  display: inline-block;
  padding: 5px 15px;
  background: var(--accent-color);
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Colorful Course Cards - Dynamic Hover */
.course-card * {
  transition: all 0.3s ease;
}

.course-card:nth-child(1) {
  border-top-color: #E74C3C;
  border-bottom-color: #E74C3C;
  background: #FFF5F5;
}

.course-card:nth-child(1) .course-level {
  background: rgba(231, 76, 60, 0.15);
  color: #E74C3C;
}

.course-card:nth-child(1) .course-features li::before {
  color: #E74C3C;
}

.course-card:nth-child(1) .course-btn {
  border-color: #E74C3C;
  color: #E74C3C;
}

.course-card:nth-child(1):hover {
  background: #FFE0E0;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(231, 76, 60, 0.3);
}

.course-card:nth-child(2) {
  border-top-color: #2ECC71;
  border-bottom-color: #2ECC71;
  background: #F2FEF6;
}

.course-card:nth-child(2) .course-level {
  background: rgba(46, 204, 113, 0.15);
  color: #2ECC71;
}

.course-card:nth-child(2) .course-features li::before {
  color: #2ECC71;
}

.course-card:nth-child(2) .course-btn {
  border-color: #2ECC71;
  color: #2ECC71;
}

.course-card:nth-child(2):hover {
  background: #E0FCEB;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(46, 204, 113, 0.3);
}

.course-card:nth-child(3) {
  border-top-color: #3498DB;
  border-bottom-color: #3498DB;
  background: #F4FAFE;
}

.course-card:nth-child(3) .course-level {
  background: rgba(52, 152, 219, 0.15);
  color: #3498DB;
}

.course-card:nth-child(3) .course-features li::before {
  color: #3498DB;
}

.course-card:nth-child(3) .course-btn {
  border-color: #3498DB;
  color: #3498DB;
}

.course-card:nth-child(3):hover {
  background: #E2F2FC;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(52, 152, 219, 0.3);
}

.course-card:nth-child(4) {
  border-top-color: #9B59B6;
  border-bottom-color: #9B59B6;
  background: #FBF6FC;
}

.course-card:nth-child(4) .course-level {
  background: rgba(155, 89, 182, 0.15);
  color: #9B59B6;
}

.course-card:nth-child(4) .course-features li::before {
  color: #9B59B6;
}

.course-card:nth-child(4) .course-btn {
  border-color: #9B59B6;
  color: #9B59B6;
}

.course-card:nth-child(4):hover {
  background: #F4E8F8;
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(155, 89, 182, 0.3);
}

/* Removed Universal Hover Color Inversion */

.course-card h4 {
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.course-features {
  margin-top: 25px;
}

.course-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.course-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-hover);
  font-weight: bold;
}

/* Split Section */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

/* Mission & Vision Cards */
.mission-card,
.vision-card {
  background: var(--bg-white);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.2s ease, border-bottom-width 0.2s ease;
  margin-bottom: 10px;
  /* Space for the translation */
}

.mission-card {
  border: 3px solid #E74C3C;
  border-bottom: 10px solid #E74C3C;
}

.mission-card:hover {
  transform: translateY(6px);
  border-bottom-width: 4px;
}

.promo-modal-content {
  background-color: #fff;
  border-radius: 20px;
  width: 90%;
  max-width: 550px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Outfit', sans-serif;
  overflow: visible;
  /* Changed to visible to let the close button hang outside */
}

.promo-modal.show .promo-modal-content {
  transform: scale(1) translateY(0);
}

.promo-modal-close {
  position: absolute;
  top: -15px;
  /* Half outside */
  right: -15px;
  /* Half outside */
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  background: #E74C3C;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
  transition: all 0.3s ease;
  line-height: 1;
}

.promo-modal-close:hover {
  background: #C0392B;
  transform: scale(1.1) rotate(90deg);
}

.promo-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  overflow: hidden;
  /* Hide overflow inside the body to keep the left image rounded */
  border-radius: 20px;
}

.mission-card .card-icon {
  width: 80px;
  height: 80px;
  background: #E74C3C;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.mission-card h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.vision-card {
  border: 3px solid #E67E22;
  border-bottom: 10px solid #E67E22;
}

.vision-card:hover {
  transform: translateY(6px);
  border-bottom-width: 4px;
}

.vision-card .card-icon {
  width: 80px;
  height: 80px;
  background: #3498DB;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.vision-card h3 {
  color: var(--primary-dark);
  margin-bottom: 15px;
}

.activity-list li {
  margin-bottom: 15px;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 10px;
  border-left: 4px solid var(--accent-color);
}

.parent-info {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 40px;
  border-radius: 20px;
}

.parent-info .section-title {
  color: var(--accent-color);
}

.parent-resources {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.resource-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  transition: background var(--transition-fast);
}

.resource-item:hover {
  background: rgba(255, 255, 255, 0.2);
}

.resource-icon {
  font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  padding: 100px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-details {
  margin-top: 40px;
  color: var(--text-light);
}

.contact-details p {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form-wrapper {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.enquiry-form h4 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 20, 140, 0.1);
}

/* Global Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
  font-size: 0.95rem;
}

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

.footer-logo {
  font-size: 1.8rem;
  color: var(--text-light);
  font-weight: 800;
}

.footer-logo span {
  color: var(--accent-hover);
  font-weight: 400;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col ul {
  list-style: none;
  padding: 0;
}

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

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact li span {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

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

.footer-links a:hover {
  color: var(--text-light);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-links a {
    margin: 0 10px;
  }
}

/* Responsive Design */
@media (max-width: 992px) {

  .hero-container,
  .split-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    order: 2;
  }

  .hero-image-placeholder {
    order: 1;
  }

  .hero {
    text-align: center;
    padding: 150px 0 100px;
  }

  .hero-actions {
    justify-content: center;
  }

  .course-card.highlight {
    transform: none;
  }

  .course-card.highlight:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-list {
    flex-direction: column;
    gap: 20px;
  }

  .nav-list a:not(.btn) {
    color: var(--text-dark) !important;
  }

  .nav-list a.active:not(.btn),
  .nav-list a:not(.btn):hover {
    color: #d88126 !important;
    background-color: #fffdf5;
  }

  .mobile-only-btn {
    display: flex !important;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-desc {
    font-size: 1.1rem;
  }

  .split-content {
    grid-template-columns: 1fr;
  }

  .btn {
    width: auto;
    margin-bottom: 10px;
    padding: 12px 20px;
    font-size: 0.95rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  /* Make square feature boxes side by side on mobile */
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .feature-card {
    padding: 20px 15px;
  }

  .feature-card h4 {
    font-size: 1rem;
  }

  .section {
    padding: 60px 0;
  }
}

/* Admissions Badge */
.admissions-badge {
  display: inline-block;
  background: rgba(255, 234, 0, 0.2);
  color: var(--accent-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  border: 1px solid var(--accent-color);
}

/* Intro Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.intro-points {
  margin-top: 20px;
}

.intro-points li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.point-icon {
  color: var(--primary-color);
  font-weight: bold;
}

@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
}

/* Learning Journey */
.journey-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
  padding-top: 20px;
}

.journey-steps::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, transparent, rgba(74, 20, 140, 0.2), var(--primary-color), rgba(74, 20, 140, 0.2), transparent);
  z-index: 0;
}

.journey-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--bg-white);
  padding: 35px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(74, 20, 140, 0.03);
  overflow: hidden;
}

.journey-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.journey-step:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(74, 20, 140, 0.12);
  border-color: rgba(74, 20, 140, 0.1);
}

.journey-step:hover::before {
  opacity: 1;
}

.step-number {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: var(--accent-color);
  font-size: 2.2rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  border: 5px solid var(--bg-white);
  box-shadow: 0 10px 20px rgba(74, 20, 140, 0.2), 0 0 0 8px rgba(74, 20, 140, 0.04);
  position: relative;
  transition: transform 0.4s ease;
}

.journey-step:hover .step-number {
  transform: scale(1.1) rotate(5deg);
}

.journey-step h4 {
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.journey-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .journey-steps::before {
    display: none;
  }

  .journey-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-bottom: 10px;
  }

  .journey-step {
    padding: 15px 10px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
  }

  .journey-step:nth-child(1) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 7.5px);
  }

  .journey-step p:last-child {
    display: block;
    font-size: 0.75rem;
    line-height: 1.3;
    margin-top: 5px;
  }

  .journey-step h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
}

/* Testimonials Section */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--bg-white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast);
}

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

.stars {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.reviewer-photo {
  width: 50px;
  height: 50px;
  background: var(--bg-light);
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.reviewer-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

/* Gallery Section */
.gallery-filters {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.filter-btn {
  background: var(--bg-white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-family);
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.gallery-item.hide {
  display: none;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.gallery-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  width: 80%;
  max-width: 800px;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-color);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question {
  background: var(--primary-color);
  color: var(--bg-white);
}

.faq-item.active .faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: var(--bg-white);
}

.faq-answer p {
  padding: 20px;
  margin: 0;
  color: var(--text-dark);
  line-height: 1.6;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Colorful feature cards added via script */
.feature-card:nth-child(6n+1) {
  border-top: 6px solid #FF4757;
}

.feature-card:nth-child(6n+2) {
  border-top: 6px solid #2ED573;
}

.feature-card:nth-child(6n+3) {
  border-top: 6px solid #1E90FF;
}

.feature-card:nth-child(6n+4) {
  border-top: 6px solid #FFA502;
}

.feature-card:nth-child(6n+5) {
  border-top: 6px solid #FF6B81;
}

.feature-card:nth-child(6n+6) {
  border-top: 6px solid #9C88FF;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .feature-icon {
  font-size: 2.2rem;
  margin: 0 auto 20px auto;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

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

.feature-card:nth-child(6n+1) .feature-icon {
  color: #FF4757;
  background: rgba(255, 71, 87, 0.15);
}

.feature-card:nth-child(6n+2) .feature-icon {
  color: #2ED573;
  background: rgba(46, 213, 115, 0.15);
}

.feature-card:nth-child(6n+3) .feature-icon {
  color: #1E90FF;
  background: rgba(30, 144, 255, 0.15);
}

.feature-card:nth-child(6n+4) .feature-icon {
  color: #FFA502;
  background: rgba(255, 165, 2, 0.15);
}

.feature-card:nth-child(6n+5) .feature-icon {
  color: #FF6B81;
  background: rgba(255, 107, 129, 0.15);
}

.feature-card:nth-child(6n+6) .feature-icon {
  color: #9C88FF;
  background: rgba(156, 136, 255, 0.15);
}

/* Custom Nav Styles */
.nav-list a.nav-pill {
  background-color: #fffdf5;
  color: #d88126 !important;
  padding: 8px 18px !important;
  border-radius: 25px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.nav-list a.nav-pill:hover {
  background-color: #fcf1d4;
}

.nav-list a.nav-pill::after {
  display: none !important;
}

.nav-list a.nav-login {
  color: #e73c3e !important;
  font-weight: 700;
}

.nav-list a.nav-login::after {
  display: none !important;
}

/* Universal Pill Hover for Nav */
.nav-list a:not(.btn) {
  padding: 8px 18px !important;
  border-radius: 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-list a:not(.btn):hover,
.nav-list a.active:not(.btn) {
  background-color: #fffdf5;
  color: #d88126 !important;
}

.nav-list a:not(.btn)::after {
  display: none !important;
}

/* =========================================
   PROMOTIONAL MODAL
   ========================================= */
.promo-modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.promo-modal.show {
  display: flex;
  opacity: 1;
}

.promo-modal-content {
  background-color: #fff;
  border-radius: 15px;
  width: 90%;
  max-width: 420px;
  /* Portrait layout */
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(50px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Outfit', sans-serif;
  overflow: visible;
}

.promo-modal.show .promo-modal-content {
  transform: scale(1) translateY(0);
}

.promo-modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  background: #E74C3C;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.4);
  transition: all 0.3s ease;
  line-height: 1;
}

.promo-modal-close:hover {
  background: #C0392B;
  transform: scale(1.1) rotate(90deg);
}

/* ----------------------
   NEW POSTER LAYOUT
   ---------------------- */
.promo-body {
  display: block;
  position: relative;
  height: 480px;
  background: #ffffff;
  border-radius: 15px 15px 0 0;
  overflow: hidden;
}

.promo-left {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 75%;
  background: transparent;
  z-index: 1;
  display: block;
}

.promo-left::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -5%;
  width: 100%;
  height: 85%;
  background: #E0F2F1;
  border-radius: 50%;
  z-index: 1;
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  mix-blend-mode: multiply;
  filter: contrast(1.1) brightness(1.05);
  position: relative;
  z-index: 2;
}

.floating-math-icon {
  position: absolute;
  font-size: 2rem;
  font-weight: 800;
  z-index: 1;
  /* Behind the boy and text */
  opacity: 0.35;
  /* Subtle background watermark */
  color: #2E7D32;
  /* Dark green on white as requested */
}

/* Distribute across the entire 480px tall background */
.icon-plus {
  top: 15%;
  left: 8%;
}

.icon-minus {
  top: 35%;
  right: 10%;
  font-size: 2.5rem;
}

.icon-multiply {
  top: 60%;
  left: 10%;
}

.icon-divide {
  top: 25%;
  left: 45%;
  font-size: 2.2rem;
}

.icon-equals {
  top: 80%;
  right: 15%;
  font-size: 2rem;
}

.icon-idea {
  top: 10%;
  right: 15%;
  font-size: 2.8rem;
}

.promo-right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 3;
  pointer-events: none;
}

.promo-right>* {
  pointer-events: auto;
}

.promo-logo {
  position: absolute;
  top: 25px;
  left: 25px;
}

.promo-logo img {
  height: 45px;
}

.promo-headline {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 50%;
  text-align: right;
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.promo-headline .highlight {
  color: var(--primary-color);
  font-weight: 800;
}

.promo-subhead {
  position: absolute;
  top: 95px;
  right: 25px;
  width: 50%;
  text-align: right;
  font-size: 0.85rem;
  opacity: 0.9;
}

.promo-subhead strong {
  color: var(--accent-hover);
}

.promo-benefits-box {
  position: absolute;
  bottom: 25px;
  right: -10px;
  width: 60%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 20px 0 0 20px;
  padding: 15px 15px 15px 25px;
  box-shadow: -5px 10px 20px rgba(74, 20, 140, 0.25);
}

.promo-benefits-box h4 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.helps-build {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 0.8rem;
}

.promo-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promo-benefits-list li {
  color: #fff;
  margin-bottom: 8px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
}

.promo-benefits-list li i {
  color: #FFF;
  margin-right: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Footer layout stays mostly same but adjusted for single column */
.promo-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  background: var(--accent-color);
  padding: 15px 25px;
  border-radius: 0 0 15px 15px;
  color: var(--primary-dark);
}

.promo-website i,
.promo-phone i {
  font-size: 1.2rem;
  margin-right: 8px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
}

.promo-phone {
  justify-content: flex-end;
  text-align: right;
  display: flex;
  align-items: center;
}

.promo-website {
  display: flex;
  align-items: center;
}

.promo-phone i {
  margin-right: 0;
  margin-left: 8px;
  order: 2;
}

.promo-phone div {
  order: 1;
}

.promo-website small,
.promo-phone small {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
}

.promo-website strong,
.promo-phone strong {
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .features-grid .feature-card {
    padding: 20px 10px;
  }

  .features-grid .feature-card h4 {
    font-size: 0.85rem;
    margin-bottom: 5px;
  }

  .features-grid .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin: 0 auto 10px;
  }

  .promo-modal-content {
    /* Exact same layout as laptop, just scaled to fit mobile */
    width: 420px !important;
    max-width: none !important;
    transform: scale(0.6) translateY(50px) !important;
  }

  .promo-modal.show .promo-modal-content {
    /* Scale down based on average mobile screen */
    transform: scale(0.85) translateY(0) !important;
  }

  .promo-footer {
    padding: 15px 10px;
    gap: 5px;
  }

  .promo-website strong,
  .promo-phone strong {
    white-space: nowrap;
    font-size: 0.8rem;
  }

  .promo-website small,
  .promo-phone small {
    white-space: nowrap;
    font-size: 0.55rem;
  }
}