/* Core colours and typography */
:root {
  --primary: #0a9d6f; /* green hue */
  --primary-dark: #087d59;
  --secondary: #ffffff;
  --gray-light: #f7f9fa;
  --gray: #f0f2f4;
  --text-dark: #222;
  /* Darken light text slightly for better contrast against white backgrounds */
  --text-light: #444;
  --border-radius: 8px;
  --highlight: #f5b84b;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background-color: var(--secondary);
  line-height: 1.6;
}

/* Smooth scrolling for anchor navigation */
html {
  scroll-behavior: smooth;
}

/* Utility classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.primary-btn {
  background-color: var(--primary);
  color: #fff;
}

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

/* Secondary buttons styled with border to stand out */
.secondary-btn {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.secondary-btn:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--secondary);
  border-bottom: 1px solid var(--gray);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-left: auto;
}

.nav-links li a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: var(--primary);
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: 1rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* transform bars into X when menu open */
.navbar.open .hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.navbar.open .hamburger span:nth-child(2) {
  opacity: 0;
}
.navbar.open .hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 8px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  .navbar.open .nav-links {
    right: 0;
  }
  .hamburger {
    display: flex;
  }
  /* hide nav links in header row by default when mobile */
  .nav-links li {
    margin: 0;
  }

  /* Ensure hamburger aligns to far right on mobile and nav links no longer push it */
  .nav-links {
    margin-left: 0;
  }
  .hamburger {
    margin-left: auto;
  }
}

/* Hero section */
.hero {
  background-color: var(--gray-light);
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

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

.hero-text .badge {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  /* Use clamp to scale heading size across viewport widths for better balance */
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0 0 1rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Highlight within hero title */
.hero-text h1 .highlight {
  color: var(--highlight);
  font-weight: 800;
}


.hero-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

/* Ensure hero buttons sit side by side on small screens */
.hero-buttons .button {
  flex: 0 1 auto;
}

@media (max-width: 480px) {
  .hero-buttons {
    justify-content: space-between;
  }
  .hero-buttons .button {
    flex: 1 1 48%;
    padding: 0.5rem 0.5rem;
    font-size: 0.9rem;
  }
}

.trust-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Hero image styling */

/* Wrap hero image to allow absolute positioning of overlay */
.hero-image {
  position: relative;
  display: inline-block;
}

.hero-image img {
  width: 320px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  /* Apply a subtle floating animation; rotation handled within keyframes */
  animation: float 6s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Slider overlay inside hero phone */
/* Slider overlay inside hero phone */
.phone-slider {
  position: absolute;
  /* Position and size of the phone screen overlay relative to the hero image */
  left: 28%;
  top: 17%;
  width: 50%;
  height: 70%;
  overflow: hidden;
  border-radius: 20px;
  pointer-events: none;
}

.phone-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.phone-slider .slide.active {
  opacity: 1;
}

/* On hover, straighten and enlarge slightly */
.hero-image img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Stats section */
.stats {
  background-color: var(--secondary);
  padding: 2rem 0;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

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

/* Generic card styles */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card,
.feature-card {
  background-color: #fff;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.card h3,
.feature-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.card p,
.feature-card p,
.pricing-card .price-subtext {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Solutions section */
.solutions {
  /* will be overridden below */
  padding: 3rem 0;
  background-color: var(--secondary);
}

/* Style the challenges and solutions sections for a more polished look */
.challenges {
  background-color: var(--gray-light);
  padding: 3rem 0;
}

.challenges h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.challenges .cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.challenges .card {
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenges .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Add a slight scale effect to icons on hover */
.challenges .card:hover .card-icon,
.solutions .card:hover .card-icon,
.learning-highlights .card:hover .card-icon,
.tool-card:hover .tool-icon,
.pricing-card:hover .check {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Colour-coded backgrounds for challenge cards */
.challenges .cards-grid .card:nth-child(1) {
  background-color: #e8f5e9; /* pale green */
}
.challenges .cards-grid .card:nth-child(2) {
  background-color: #fffde7; /* pale yellow */
}
.challenges .cards-grid .card:nth-child(3) {
  background-color: #e3f2fd; /* pale blue */
}

.challenges .card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

.solutions {
  background-color: var(--secondary);
  padding: 3rem 0;
}

.solutions h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.solutions .cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.solutions .card {
  background-color: #fff;
  border: 1px solid var(--gray);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solutions .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.solutions .card-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}

@media (max-width: 480px) {
  .challenges .cards-grid,
  .solutions .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* Core features section */
.core-features {
  padding: 3rem 0;
  background-color: var(--gray-light);
}

.core-features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-card {
  min-height: 180px;
}

/* Layout for core features with phone image */
.core-features-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  /* Add top padding to ensure phone image is fully visible when section enters viewport */
  padding-top: 2rem;
}

.core-left {
  flex: 1;
  display: flex;
  justify-content: center;
}

.core-phone {
  max-width: 340px;
  width: 100%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

.core-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.core-right h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: left;
}

.core-right p {
  color: var(--text-light);
  margin-bottom: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .core-features-inner {
    flex-direction: row;
    align-items: center;
  }
  .core-left, .core-right {
    flex: 1;
  }
  .core-right h2, .core-right p {
    text-align: left;
  }
}

@media (max-width: 767px) {
  .core-right h2, .core-right p {
    text-align: center;
  }
}

/* App preview section */
/* App preview section */
.app-preview {
  padding: 4rem 0;
  background-color: var(--gray-light);
}

/* Scroll animation base class */
.scroll-effect {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Animation directions */
.fade-up {
  transform: translateY(30px);
}

.fade-left {
  transform: translateX(-30px);
}

.fade-right {
  transform: translateX(30px);
}

/* When element becomes visible */
.scroll-effect.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Container for text and phone side-by-side */
.app-preview-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .app-preview-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

/* Text area styling */
.app-preview-text {
  flex: 1;
  max-width: 500px;
}

.app-preview-text h2 {
  font-size: 1.8rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Highlight span inside headings for accent */
.app-preview-text .highlight {
  color: var(--primary);
}

.app-preview-text p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Larger text sizes on bigger screens */
@media (min-width: 768px) {
  .app-preview-text h2 {
    font-size: 2.6rem;
  }
  .app-preview-text p {
    font-size: 1.2rem;
    max-width: 500px;
  }
}

/* Slightly larger heading on very large screens */
@media (min-width: 1024px) {
  .app-preview-text h2 {
    font-size: 3rem;
  }
  .app-preview-text p {
    font-size: 1.25rem;
    max-width: 550px;
  }
}

/* Adjust text sizes on small screens */
@media (max-width: 480px) {
  .app-preview-text h2 {
    font-size: 1.6rem;
  }
  .app-preview-text p {
    font-size: 0.9rem;
  }
}

/* Phone container styling */
.app-preview-phone {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Frame to mimic a smartphone */
.phone-frame {
  position: relative;
  width: 260px;
  height: 520px;
  border: 12px solid #333;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  background-color: #000;
}

@media (min-width: 768px) {
  .phone-frame {
    width: 300px;
    height: 600px;
  }
}

/* Reuse phone slider within phone frame */
.phone-frame .phone-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}


/* Pricing section */
.pricing {
  padding: 3rem 0;
  background-color: var(--secondary);
}

.pricing h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.pricing-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  color: var(--primary);
  margin: 0.5rem 0;
}

.pricing-card.best-value {
  border: 2px solid var(--primary);
}

.pricing-card.locked {
  opacity: 0.7;
}

.pricing-card button {
  margin-top: 1rem;
  width: 100%;
}

/* Learning tools section */
.learning-tools {
  padding: 3rem 0;
  background-color: var(--gray-light);
}

.learning-tools h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.tools-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.tool-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.tool-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.tool-card p {
  flex-grow: 1;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.tool-card .tool-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.tool-card.locked {
  background-image: repeating-linear-gradient(45deg, #fafafa 0%, #fafafa 10%, #f0f2f4 10%, #f0f2f4 20%);
  color: var(--text-light);
}
.tool-card.locked .tool-icon {
  color: var(--primary-dark);
}
.tool-card.locked button {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Features list inside pricing cards */
.features-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}
.features-list .check {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Pricing cards enhancements */
.pricing-card {
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  padding: 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.pricing-card.best-value {
  border: 2px solid var(--primary);
}
.pricing-card.locked {
  background-image: repeating-linear-gradient(45deg, #fafafa 0%, #fafafa 10%, #f0f2f4 10%, #f0f2f4 20%);
  opacity: 1;
}
.pricing-card.locked .price {
  color: var(--text-light);
}
.pricing-card.locked button {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Best value tag */
.best-tag {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .features-list li {
    font-size: 0.9rem;
  }
  .pricing-card h3 {
    font-size: 1.25rem;
  }
  .pricing-card .price {
    font-size: 1.75rem;
  }
}

/* Testimonials section */
.testimonials {
  padding: 4rem 0;
  background-color: var(--gray-light);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 1.5rem;
  background-color: var(--secondary);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.testimonial.active {
  display: block;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 0.75rem;
}

/* Global support section */
.global-support {
  padding: 3rem 0;
  background-color: var(--secondary);
}

.global-support h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.global-intro {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.global-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

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

.global-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.global-desc {
  color: var(--text-light);
  font-size: 1rem;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  justify-items: center;
}
.language-item {
  background-color: var(--gray-light);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.language-item {
  background-color: var(--gray-light);
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 0 0 auto;
}

/* horizontal slider for languages */
.language-slider {
  overflow: hidden;
  width: 100%;
  margin-top: 1rem;
}

.language-track {
  display: flex;
  gap: 1rem;
  animation: slide-left 20s linear infinite;
}

@keyframes slide-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Floating animation for hero image */
@keyframes float {
  0% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-10px);
  }
  100% {
    transform: rotate(-3deg) translateY(0);
  }
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
}

/* FAQ section */
.faq {
  padding: 4rem 0;
  background-color: var(--secondary);
}

.faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* FAQ items become collapsible cards */
.faq-item {
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  cursor: pointer;
  position: relative;
}

.faq-item h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.1rem;
  /* Title appears on its own; arrow indicator handled via pseudo-element */
  display: block;
}

.faq-item p {
  color: var(--text-light);
  margin-top: 0.5rem;
  display: none;
}

.faq-item.open p {
  display: block;
}

/* Add plus/minus indicator */
.faq-item::after {
  /* Use a downward arrow for FAQ toggle */
  content: '\25BC';
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  position: absolute;
  right: 1rem;
  top: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.open::after {
  /* Rotate arrow to point up when open */
  content: '\25BC';
  transform: rotate(180deg);
}

/* Learning highlights section */
.learning-highlights {
  padding: 3rem 0;
  background-color: var(--secondary);
}

.learning-highlights h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Social media section */
.social-media {
  padding: 3rem 0;
  background-color: var(--gray-light);
  text-align: center;
}

.social-media h2 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2rem;
}

.social-icons a {
  color: var(--primary);
  transition: transform 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

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

/* Video demo section */
.video-demo {
  padding: 4rem 0;
  background-color: var(--secondary);
}

.video-wrapper {
  position: relative;
  width: 100%;
  /* Maintain 16:9 aspect ratio */
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Fallback text/link displayed below video if embed fails */
.video-demo .video-fallback {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
}
.video-demo .video-fallback a {
  color: var(--primary);
  text-decoration: underline;
}

/* CTA section */
.cta {
  padding: 3rem 0;
  background-color: var(--gray-light);
  text-align: center;
}

.cta-container h2 {
  margin-bottom: 0.75rem;
}

.cta-container p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--secondary);
  border-top: 1px solid var(--gray);
  padding: 2rem 0;
  font-size: 0.9rem;
}

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

.footer-left .logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-nav a {
  margin-right: 1rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

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

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .hero-text {
    text-align: left;
  }
  .hero-image img {
    width: 400px;
  }
}

@media (min-width: 1024px) {
  .hero-image img {
    width: 480px;
  }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float img {
    width: 28px;
    height: 28px;
  }
}