body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0e1b3d;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #0d1b2a;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Desktop Nav (visible on large screens) */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.nav-links a:hover {
  color: #3fb950;
}

/* Hamburger (mobile only) */
.hamburger {
  display: none;        /* hidden by default, shown on mobile */
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Turn bars into an "X" when active (optional flair) */
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

/* Mobile Drawer Panel */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(80vw, 320px);
  height: 100vh;
  background: #14213d;
  color: white;
  padding: 80px 20px 70px;
  transform: translateX(100%);           /* off-canvas */
  transition: transform 0.3s ease;
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0,0,0,0.25);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li { padding: 14px 0; }
.mobile-menu ul li a { color: white; text-decoration: none; font-size: 1.05rem; }
.mobile-menu ul li a:hover { color: #fca311; }

/* Close "X" button inside drawer */
.close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
}

.close-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* Footer in drawer */
.mobile-menu-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.85rem;
  color: #fca311; /* brighter contrasting color */
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Prevent body scroll when drawer open */
.no-scroll { overflow: hidden; }

/* Responsive rules */
@media (max-width: 768px) {
  .nav-links { display: none; }  /* hide desktop links on mobile */
  .hamburger { display: flex; }  /* show hamburger on mobile */
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
}

.hero-content {
  flex: 1;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content h1 span {
  color: #ff6b00; /* brand accent */
}

.hero-content p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-inline: auto;
  opacity: 0.85;
}

.cta-btn {
  display: inline-block;
  background-color: #cc6600; /* Darker orange */
  color: white;
  padding: 12px 28px;
  border-radius: 9999px; /* Fully rounded pill shape */
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #b35900; /* Even darker on hover */
}

/* Slide-in animation */
.slide-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease-out forwards;
  animation-delay: 0.3s; /* small delay after hero text */
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth scroll for anchor link */
html {
  scroll-behavior: smooth;
}


.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.image-bg {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at center, #ff6b00, #ff9068);
  border-radius: 50%;
  z-index: 0;
  filter: blur(20px);
}

.hero-image img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}

/* Desktop layout */
@media (min-width: 768px) {
  .hero {
    flex-wrap: nowrap;
    padding: 4rem 2rem;
  }
  .hero-content {
    text-align: left;
  }
  .hero-content p {
    margin-inline: 0;
  }
}

/* === Animations === */
.fade-left {
  animation: fadeLeft 1s ease forwards;
  opacity: 0;
}
.fade-right {
  animation: fadeRight 1s ease forwards;
  opacity: 0;
}
.bounce-in {
  animation: bounceIn 1s ease forwards;
  opacity: 0;
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}


/* Section */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}

/* Title */
.section-title2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: #ffffff;
  position: relative;
}

.section-title2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #e43f5a;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Feature Cards */
.feature-card {
  background: linear-gradient(135deg, #1f4068, #162a4c);
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  background: linear-gradient(135deg, #e43f5a, #1f4068);
}

/* Icon Circle */
.icon-circle2 {
  width: 65px;
  height: 65px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e43f5a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.feature-card:hover .icon-circle2 {
  background: #ffffff;
  transform: scale(1.1);
}

.feature-card svg {
  stroke: #fff;
  transition: stroke 0.3s ease;
}

.feature-card:hover svg {
  stroke: #e43f5a;
}

/* Mobile Responsiveness */
@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}


/* App Preview Section */
.carousel-section {
  background: #ffffff; /* clean white base */
  padding: 80px 20px;
  text-align: center;
  position: relative; /* for gradient blobs */
  overflow: hidden; /* hide overflow */
}

/* Top-right blob */
.carousel-section::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(228, 63, 90, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Bottom-left blob */
.carousel-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(31, 64, 104, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.carousel-section .section-title2 {
  color: #1f1f1f;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1; /* keep text above blobs */
}

/* Phone Frame */
.carousel-container {
  overflow: hidden;
  position: relative;
  max-width: 300px;
  margin: auto;
  padding: 20px;
  background: #1f4068;
  border-radius: 40px;
  border: 6px solid #333;
  box-shadow: 0 0 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  perspective: 1000px;
  z-index: 1; /* above blobs */
}

/* Camera Notch */
.carousel-container::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 10px;
  background: #333;
  border-radius: 0 0 10px 10px;
  z-index: 10;
}

/* Hover Tilt */
.carousel-container:hover {
  transform: rotateY(6deg) rotateX(2deg) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Carousel Slides */
.carousel-slide {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  border-radius: 25px;
}

/* Carousel Dots */
.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #e43f5a; /* brand accent */
}

/* Mobile responsiveness */
@media (max-width: 500px) {
  .carousel-container {
    max-width: 220px;
    padding: 15px;
    border-radius: 30px;
  }

  .carousel-slide img {
    border-radius: 20px;
  }

  .carousel-section::before,
  .carousel-section::after {
    width: 180px;
    height: 180px;
  }
}


/* App Overview */
.app-overview {
  padding: 4rem 1rem;
  background: #f9fafb;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: black;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #cc5500; /* Darker orange */
  margin: 0.5rem auto 1.5rem;
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #555;
}

.overview-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.overview-feature {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.overview-feature:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: #cc5500; /* Darker orange */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 1rem;
}

.overview-feature h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.overview-feature p {
  color: #666;
  font-size: 0.95rem;
}

/* Mobile-friendly */
@media (max-width: 768px) {
  .overview-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* FAQ Section */
#faq {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  background: #1f4068;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  transition: background 0.3s ease;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 1.05rem; 
  font-weight: 700; 
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.arrow {
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  color: #f1f1f1;
  line-height: 1.5;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px;
}

footer {
  text-align: center;
  background: #142850;
  padding: 20px;
  color: white;
}

.footer-email {
  color: #fca311;
  text-decoration: none;
}
.footer-email:hover,
.footer-email:focus {
  text-decoration: underline;
}

/* Social icons container */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

/* Smaller social icons */
.footer-socials a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Default brand colors */
.footer-socials a[aria-label="Facebook"] {
  background-color: #1877f2;
}
.footer-socials a[aria-label="X (Twitter)"] {
  background-color: #000000;
}
.footer-socials a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
}
.footer-socials a[aria-label="WhatsApp"] {
  background-color: #25d366;
}

/* Hover + Focus + Mobile tap */
.footer-socials a:hover,
.footer-socials a:focus,
.footer-socials a:active {
  transform: scale(1.1);
  opacity: 0.85;
}
