/* --------------------------------------------------
   Global Styles
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f4f6f9;
  color: #1e1e1e;
  line-height: 1.7;
  width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
}

.section {
  margin-top: 60px;
  width: 100%;
  padding: 0 20px; /* inner padding for content spacing */
}

h1, h2, h3 {
  color: #0f172a;
  margin-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center; /* vertically center logo with text */
  gap: 12px;           /* space between logo and text */
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0;           /* remove default margins */
  line-height: 1.1;    /* make title and subtitle closer */
}

.subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0;           /* remove default margins */
  line-height: 1.2;    /* tighter spacing under title */
}

.brand-text-link {
  text-decoration: none; /* remove underline */
  color: inherit;        /* keep original color */
  display: inline-block; /* allow proper spacing */
}

.brand-text-link:hover {
  cursor: pointer;
}


p {
  color: #475569;
  font-size: 16px;
}

/* --------------------------------------------------
   Header
-------------------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px; /* full-width with horizontal padding */
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.logo-img, .logo-svg {
  width: 58px;
  height: 58px;
}

.brand-title {
  font-size: 22px;
  font-weight: 700;
}

.subtitle {
  font-size: 14px;
  color: #64748b;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
  transition: 0.3s;
}

.nav a:hover {
  color: #0ea5e9;
}

.nav .cta {
  padding: 10px 16px;
  background: #0ea5e9;
  color: white;
  border-radius: 6px;
}

/* --------------------------------------------------
   Hero Section
-------------------------------------------------- */
.hero-vertical {
  background: #fff;
  width: 100vw;
  padding: 40px 20px;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  margin-bottom: 40px;
  margin-left: calc(-50vw + 50%);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.tagline {
  font-size: 18px;
  margin: 10px 0 20px;
  color: #475569;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 0;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* keeps container filled horizontally */
  object-position: top;   /* aligns image to top */
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;

  transform: scale(0.99); /* slightly zoomed out */
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

/* Hero text centered */
.hero-copy {
  text-align: center;          /* center text */
  display: flex;
  flex-direction: column;
  align-items: center;         /* center buttons horizontally */
  justify-content: center;
  gap: 0px;                   /* spacing between elements */
}


@media(max-width: 650px) {
  .hero-slider {
    height: 300px;
  }
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.slider-dots .dot.active {
  background: #0ea5e9;
}

/* --------------------------------------------------
   Buttons
-------------------------------------------------- */
.btn {
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

.btn-primary {
  background: #0ea5e9;
  color: #fff;
}

.btn-primary:hover {
  background: #0284c7;
  transform: translateY(-3px)
}

.btn-secondary {
  border: 2px solid #0ea5e9;
  color: #0ea5e9;
}

.btn-secondary:hover {
  background: #0ea5e9;
  color: white;
  transform: translateY(-3px)
}

/* WhatsApp Button */
.btn-whatsapp {
  display: inline-block;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-whatsapp:hover {
  background-color: #1ebe5c; /* darker green on hover */
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}


.whatsapp-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #25D366;
  color: white;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.whatsapp-btn:hover {
  background-color: #1ebe5c;
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.nav a {
  font-weight: 800;                   /* bold text */
  color: #1e293b;                     /* default color */
  text-decoration: none;              /* remove underline */
  transition: transform 0.2s ease, color 0.2s ease;
  display: inline-block;
  padding: 5px 8px;                  /* clickable area and spacing */
}

.nav a:hover {
  transform: translateY(-2px);        /* slight lift on hover */
  color: #0ea5e9;                     /* optional hover color */
  cursor: pointer;
}

/* Even spacing between links */
.nav {
  display: flex;
  align-items: center;
  gap: 0;                           /* spacing between each link */
}


/* --------------------------------------------------
   Services Section
-------------------------------------------------- */
/* Services container */
/* Services section vertical layout */
.services-vertical {
  display: flex;
  flex-direction: column; /* vertical stacking */
  align-items: center;    /* center cards horizontally */
  gap: 25px;              /* spacing between cards */
  margin-top: 30px;
}

/* Keep all cards same width */
.svc-card {
  width: 100%;            /* max-width for container */
  max-width: 800px;       /* optional, controls card width */
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #0ea5e9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: left;
}

.svc-card:hover {
  transform: translateY(-3px);
  transition: 0.3s;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

/* Responsive: 2 columns on tablet, 1 on mobile */
@media (max-width: 1024px) {
  #services .services-vertical {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  #services .services-vertical {
    grid-template-columns: 1fr;
  }
}

#services .section-lead {
  text-align: center;      /* optional: center text */
}

#services .section-lead {
  margin-bottom: 30px;     /* add gap below description */
}

.svc-card:hover {
  transform: translateY(-3px);
  transition: 0.3s;
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

.svc-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.svc-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* Center section titles and leads */
.section-title,
.section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Optional: ensure services cards stay left-aligned if you want */
.services-vertical {
  text-align: center; /* If you want the cards centered, otherwise leave as is */
}

.svc-carousel {
  position: relative;
  width: 100%;
  height: 400px; /* adjust height as needed */
  overflow: hidden;
  margin-bottom: 15px;
}

.svc-carousel img.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: none;
}

.svc-carousel img.svc-img.active {
  display: block;
}

/* Carousel buttons */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }



/* --------------------------------------------------
   About Section
-------------------------------------------------- */
.about-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.stat {
  background: #fff;
  padding: 20px;
  width: 30%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.stat strong {
  font-size: 26px;
  color: #0ea5e9;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: #475569;
}


/* --------------------------------------------------
   Join Section
-------------------------------------------------- */
.join-form {
  margin-top: 25px;
}

.input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: white;
}

textarea.input {
  min-height: 130px;
}

/* Center join form elements */
.join-form {
  display: flex;
  flex-direction: column;
  align-items: center;         /* center button and inputs */
  text-align: center;
}

.join-form .btn-primary {
  margin-top: 10px;            /* spacing from form fields */
}

#join {
  margin-bottom: 30px; /* default might be 60px, reduce it */
}
/* --------------------------------------------------
   Contact Section
-------------------------------------------------- */
.contact-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Center contact section */
.contact {
  text-align: center;
  gap: 10px;
}

.contact .contact-actions {
  display: flex;
  justify-content: center;     /* center buttons */
  flex-wrap: wrap;             /* wrap on smaller screens */
  gap: 10px;
}

#contact {
  margin-top: 10px; /* reduce gap above contact */
}
/* --------------------------------------------------
   Footer
-------------------------------------------------- */
.footer {
  background: #0ea5e9;
  padding: 10px;
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 20px;
}

/* --------------------------------------------------
   Animations
-------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s forwards;
}

.fade-up[data-delay] {
  animation-delay: calc(attr(data-delay ms));
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------------------
   Responsive
-------------------------------------------------- */
@media(max-width: 650px) {
  .header {
    flex-direction: column;
    gap: 15px;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }

  .about-stats .stat {
    width: 100%;
  }

  .nav a {
    margin-left: 10px;
  }
}
