/* 
   My Story App - Main CSS
   A colorful, playful design for a children's storybook maker app
   Version: 2.1 - Updated with new color scheme
*/

/* ======= CSS RESET & BASE STYLES ======= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Primary Colors - Inspired by Gluten design */
  --primary: #0095FF;
  --primary-dark: #007BE6;
  --secondary: #6C5CE7;
  --secondary-dark: #5D4FD6;
  
  /* Background Colors */
  --bg-light: #F5F9FF;
  --bg-alt: #FFFFFF;
  --bg-gradient: linear-gradient(135deg, #0095FF 0%, #6C5CE7 100%);
  
  /* Text Colors */
  --text-dark: #18214D;
  --text-medium: #3B4465;
  --text-light: #7E8BB6;
  --text-white: #FFFFFF;
  
  /* Accent Colors - Vibrant circles from design */
  --accent-yellow: #FDCB6E;
  --accent-pink: #FFAFBD;
  --accent-purple: #A29BFE;
  --accent-green: #55EFC4;
  
  /* Font Families - Modern sans-serif like in the design */
  --font-heading: 'Outfit', 'Nunito', sans-serif;
  --font-body: 'DM Sans', 'Poppins', sans-serif;
  
  /* Other Variables */
  --border-radius: 16px;
  --border-radius-sm: 12px;
  --box-shadow: 0 10px 30px rgba(24, 33, 77, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style-type: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-header.left-aligned {
  text-align: left;
  margin: 0 0 2rem 0;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* ======= NAVIGATION ======= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
}

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

.navbar-logo img {
  height: 50px;
  width: auto;
  border-radius: 0;
  object-fit: contain;
}

.navbar-menu {
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 1rem;
  padding: 0.5rem;
  position: relative;
}

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

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

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

.nav-cta {
  background-color: var(--primary);
  color: white;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  margin-left: 1.5rem;
  transition: var(--transition);
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 149, 255, 0.3);
}

.navbar-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ======= HERO SECTION ======= */
.hero-section {
  background: var(--bg-light);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  flex: 1;
  max-width: 600px;
  margin-right: 2rem;
  position: relative;
  z-index: 4;
}

.hero-content h1 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.hero-content h2 {
  color: var(--text-medium);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  z-index: 4;
}

.hero-ratings-badge {
  display: inline-flex;
  align-items: center;
  background: white;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(24, 33, 77, 0.1);
  position: relative;
  z-index: 5;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.stars {
  color: var(--accent-yellow);
  margin-right: 0.7rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.hero-ratings-badge p {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  max-width: 550px;
  position: relative;
  z-index: 2;
}

.device-mockup {
  position: relative;
  padding: 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(24, 33, 77, 0.1);
  overflow: hidden;
}

.hero-swiper {
  border-radius: 12px;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* Background dot pattern like in the Gluten design */
.hero-section:before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: 30%;
  background-image: radial-gradient(var(--text-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: 1;
}

/* ======= TRUSTED SECTION ======= */
.trusted-section {
  padding: 3rem 0;
  background-color: var(--bg-alt);
  text-align: center;
}

.trusted-section h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-logo {
  height: 50px;
  opacity: 0.8;
  filter: grayscale(1);
  transition: var(--transition);
}

.trust-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ======= FEATURES SECTION ======= */
.features-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(24, 33, 77, 0.1);
}

.feature-card:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

.feature-card:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background-color: rgba(0, 149, 255, 0.1);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-card:nth-child(2n) .feature-icon {
  background-color: rgba(108, 92, 231, 0.1);
  color: var(--secondary);
}

.feature-card:nth-child(3n) .feature-icon {
  background-color: rgba(253, 203, 110, 0.1);
  color: var(--accent-yellow);
}

.feature-card:nth-child(4n) .feature-icon {
  background-color: rgba(162, 155, 254, 0.1);
  color: var(--accent-purple);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* ======= HOW IT WORKS SECTION ======= */
.how-it-works-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
  position: relative;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 20px rgba(0, 149, 255, 0.2);
  order: 1;
}

.step-content {
  flex: 1;
  margin: 0 2rem;
  order: 2;
}

.step-image {
  flex: 1;
  text-align: center;
  max-width: 400px;
  order: 3;
}

.step-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.step.reverse {
}

.step.reverse .step-number {
  order: 2;
  margin: 0 2rem;
}

.step.reverse .step-content {
  order: 3;
  margin: 0;
  text-align: left;
}

.step.reverse .step-image {
  order: 1;
  text-align: center;
}

/* ======= BENEFITS SECTION ======= */
.benefits-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
  position: relative;
}

/* Add dot pattern background like in the design */
.benefits-section:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20%;
  height: 20%;
  background-image: radial-gradient(var(--text-light) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  z-index: 0;
}

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

.benefit-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(24, 33, 77, 0.1);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--primary);
}

.benefit-card:nth-child(2) .benefit-icon {
  color: var(--secondary);
}

.benefit-card:nth-child(3) .benefit-icon {
  color: var(--accent-yellow);
}

.benefit-card:nth-child(4) .benefit-icon {
  color: var(--accent-green);
}

.benefit-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* ======= SCHOOLS SECTION ======= */
.schools-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.schools-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.schools-content {
  flex: 1;
}

.notification-banner {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e1efff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 149, 255, 0.1);
    border: 1px solid rgba(0, 149, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.notification-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 149, 255, 0.15);
}

.notification-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #0095FF;
    border-radius: 50%;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.notification-content {
    flex: 1;
}

.notification-content h3 {
    color: #0095FF;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
}

.notification-content p {
    color: #555;
    margin-bottom: 0;
    font-family: 'DM Sans', sans-serif;
}

.schools-features {
  margin-bottom: 2rem;
}

.schools-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.schools-features i {
  color: var(--secondary);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.schools-image {
  flex: 1;
  text-align: center;
  position: relative;
}

/* Circle background for the image, inspired by the Gluten design */
.schools-image:before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--accent-pink);
  z-index: 0;
  opacity: 0.2;
}

.schools-image:after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--accent-yellow);
  z-index: 0;
  opacity: 0.2;
}

.schools-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.schools-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(24, 33, 77, 0.1);
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.testimonials-swiper {
  padding: 2rem 1rem;
  overflow: visible;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.swiper-slide-active .testimonial-card {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(24, 33, 77, 0.1);
}

.testimonial-rating {
  color: var(--accent-yellow);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-medium);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ======= FAQ SECTION ======= */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-question i {
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 1000px;
}

.faq-item.active .faq-question {
  background-color: rgba(0, 149, 255, 0.05);
}

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

/* ======= DOWNLOAD CTA SECTION ======= */
.download-cta-section {
  padding: 5rem 0;
  background: var(--bg-gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.download-cta-content h2 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.download-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Add dot pattern background like in the design */
.download-cta-section:after {
  content: '';
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 15px 15px;
  z-index: 1;
}

/* ======= FOOTER ======= */
.footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-right: 2rem;
  margin-bottom: 2rem;
}

.footer-logo img {
  margin-bottom: 1rem;
  border-radius: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

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

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

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

.copyright {
  margin-bottom: 0.5rem;
}

.legal {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ======= BUTTON STYLES ======= */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.cta-button.large {
  padding: 1rem 2rem;
}

.cta-button i {
  font-size: 1.5rem;
  margin-right: 0.8rem;
}

.cta-button .button-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.cta-button .button-text small {
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
}

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

.cta-button.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 149, 255, 0.3);
}

.cta-button.secondary {
  background-color: var(--secondary);
  color: white;
}

.cta-button.secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.cta-button.school {
  background-color: var(--accent-purple);
  color: white;
}

.cta-button.school:hover {
  background-color: #8A7BFC;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(162, 155, 254, 0.3);
}

/* Back to top button */
#back-to-top {
  display: none; /* Hide the button completely */
  position: fixed;
  bottom: 30px;
  right: 100px;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* ======= RESPONSIVE STYLES ======= */
@media only screen and (min-width: 1441px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-section {
    padding: 10rem 0 6rem;
  }
  
  h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
}

@media only screen and (max-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media only screen and (max-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-section .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .hero-ratings-badge {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .schools-section .container {
    flex-direction: column;
  }
  
  .schools-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }
  
  .section-header.left-aligned {
    text-align: center;
    margin: 0 auto 2rem;
  }
  
  .schools-features {
    max-width: 500px;
    margin: 0 auto 2rem;
  }
  
  .schools-image {
    max-width: 80%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .navbar-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.active {
    left: 0;
  }
  
  .nav-link {
    margin: 1rem 0;
    font-size: 1.2rem;
  }
  
  .nav-cta {
    margin: 1.5rem 0 0;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .step, .step.reverse {
    flex-direction: column;
    text-align: center;
  }
  
  .step-content, .step.reverse .step-content {
    margin: 1.5rem 0;
    order: 2;
  }
  
  .step-image {
    order: 1;
  }
  
  .step-number, .step.reverse .step-number {
    order: 0;
    margin: 0 0 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-logo {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .footer-column {
    margin-bottom: 2rem;
    min-width: 160px;
  }
}

@media only screen and (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .cta-button {
    width: 100%;
    max-width: 280px;
    margin-bottom: 1rem;
  }
  
  .trust-logos {
    gap: 1.5rem;
  }
  
  .trust-logo {
    height: 40px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .cta-button {
    width: 100%;
    max-width: 280px;
    margin-bottom: 1rem;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .feature-card, .benefit-card, .testimonial-card {
    padding: 1.5rem;
  }
  
  .features-section, .how-it-works-section, .benefits-section, .schools-section, .testimonials-section, .faq-section, .download-cta-section {
    padding: 3rem 0;
  }
  
  .footer {
    padding: 3rem 0 2rem;
  }
  
  #back-to-top {
    width: 40px;
    height: 40px;
    bottom: 30px;
    right: 90px;
  }
}

@media only screen and (max-width: 375px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-section {
    padding: 6rem 0 3rem;
  }
  
  .navbar-logo img {
    height: 40px;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .feature-card h3, .benefit-card h3 {
    font-size: 1.3rem;
  }
  
  #back-to-top {
    width: 40px;
    height: 40px;
    bottom: 30px;
    right: 80px;
  }
  
  .social-icons {
    gap: 0.5rem;
  }
  
  .social-icons a {
    width: 35px;
    height: 35px;
  }
}

/* Chrome-specific fix for mobile devices */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  body {
    -webkit-text-size-adjust: 100%;
    width: 100%;
  }
  
  .container {
    width: 100%;
    overflow-x: hidden;
  }
  
  /* Force Chrome to respect the viewport */
  html, body {
    overflow-x: hidden;
    position: relative;
  }
}

/* ======= SCROLLBAR HIDING RULES ======= */
/* Hide scrollbars on all internal sections to ensure only the main page is scrollable */

/* Hide scrollbars for WebKit browsers (Chrome, Safari, Edge) */
.feature-card::-webkit-scrollbar,
.benefit-card::-webkit-scrollbar,
.testimonial-card::-webkit-scrollbar,
.faq-item::-webkit-scrollbar,
.faq-answer::-webkit-scrollbar,
.schools-features::-webkit-scrollbar,
.step-content::-webkit-scrollbar,
.section-header::-webkit-scrollbar,
.hero-content::-webkit-scrollbar,
.download-cta-content::-webkit-scrollbar,
.features-section::-webkit-scrollbar,
.benefits-section::-webkit-scrollbar,
.how-it-works-section::-webkit-scrollbar,
.schools-section::-webkit-scrollbar,
.testimonials-section::-webkit-scrollbar,
.faq-section::-webkit-scrollbar,
.download-cta-section::-webkit-scrollbar {
  display: none;
}

/* Additional rule for WebKit to hide scrollbars */
.feature-card,
.benefit-card,
.testimonial-card,
.faq-item,
.faq-answer,
.schools-features,
.step-content,
.section-header,
.hero-content,
.download-cta-content,
.features-section,
.benefits-section,
.how-it-works-section,
.schools-section,
.testimonials-section,
.faq-section,
.download-cta-section {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

/* Ensure content containers don't create their own scroll contexts */
.features-grid,
.benefits-grid,
.steps,
.faq-container,
.cta-buttons {
  overflow: visible;
}

/* Specifically target any div within sections that might be creating scroll bars */
.features-section div,
.benefits-section div,
.how-it-works-section div,
.schools-section div,
.testimonials-section div,
.faq-section div,
.download-cta-section div {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.features-section div::-webkit-scrollbar,
.benefits-section div::-webkit-scrollbar,
.how-it-works-section div::-webkit-scrollbar,
.schools-section div::-webkit-scrollbar,
.testimonials-section div::-webkit-scrollbar,
.faq-section div::-webkit-scrollbar,
.download-cta-section div::-webkit-scrollbar {
  display: none;
}

/* End of file */ 