/* Base Styles */
:root {
    --primary: #002E6D;
    --secondary: #F5A623;
    --light: #FFFFFF;
    --dark: #333333;
    --gray: #F5F5F5;
    --dark-gray: #777777;
}

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

#hero-section {
  position: relative;
  overflow: hidden;
  min-height: 650px; /* adjust as needed */
  background-color: #000;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0; /* behind content */
}

#hero-section .navbar {
  position: fixed;
  z-index: 9999;
}

#hero-section .hero {
  position: relative;
  z-index: 2;
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    color: var(--secondary);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.btn-primary {
    background-color: var(--secondary);
    color: var(--light);
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.2);
}

.btn-primary:hover {
    background-color: #E6951F;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn-primary:hover::after {
    animation: ripple 1s ease-out;
}
.btn-secondary {
    background-color: #25D366;
    color: var(--light);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.2);
}

.btn-secondary:hover {
    background-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
}
.btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.btn-secondary:hover::after {
    animation: ripple 1s ease-out;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background-color: transparent;
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 46, 109, 0.2);
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(2, 54, 123, 0.1);
    color: var(--light);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(2, 54, 123, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    padding: 8px 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a:not(.btn-whatsapp)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}
.btn-whatsapp {
    background-color: var(--secondary);
    color: #02367b;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
    margin-left: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(245, 166, 35, 0.2);
}

.btn-whatsapp:hover {
    background-color: #02367b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 166, 35, 0.3);
}

.btn-whatsapp i {
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover i {
    transform: scale(1.1);
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: none;
    color: var(--light);
}

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

.hero-content {
    flex: 1;
    max-width: 620px;
}

.hero-content p {
  margin-top: 10px;
}

/* viewport */

.hero-text-slider {
  position: relative;
  overflow: hidden;
}

.hero-text-slider h1 {
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 700;
  margin: 0;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}


.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}
.hero-buttons .btn {
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    padding: 16px 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--secondary), #E6951F);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 100px;
}
.hero-buttons .btn-secondary {
    background-color: #25D366;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 100px;
}
.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:active {
    transform: translateY(1px);
}

.hero-buttons .btn i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(3px);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}
.hero-image {
    width: 100%;
    max-width: 500px;
    height: 320px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: 300%;
    animation: slide 21s infinite ease-in-out;
    width: 100%;
    height: auto;
    object-fit: cover;
    
}

.carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
    padding: 0 5px; /* creates 10px gap total */
    box-sizing: border-box;
}

@keyframes slide {
    0%,15%   { transform: translateX(0%); }
    25%,40%  { transform: translateX(-100%); }
    50%,65%  { transform: translateX(-200%); }
    75%,90%  { transform: translateX(-100%); }
    100%     { transform: translateX(0%); }
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.shape-divider {
  position: absolute;
  bottom: 0;              /* stays in hero */
  left: 0;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.shape-divider svg {
  width: 100%;
  height: 160px;
  display: block;
  transform: scaleY(-1);  /* ⬅️ vertical flip */
}

/* About Section */
.about {
    padding: 10px 0 50px;
    background-color: var(--gray);
}

.about .section-title h2{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 36px !important;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-image {
    flex: 1;
    background-color: var(--gray);
}

.about-image img {
    width: 70%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-left: 80px;
}

.about-content {
    flex: 1;
}

.about-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.about-content p {
    color: var(--dark);
}

/* Services Section */
.services-program {
  padding: 50px 0;
  background-color: var(--gray);
}

.section-title {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  color: var(--dark);
  margin-bottom: 40px;
  text-align: center;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.program-card {
  background: var(--light);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.program-card h3 {
  font-size: 20px;
  color: var(--primary);
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-title i {
    font-size: 20px;
    color: var(--secondary);
    border-radius: 12px;
    background: rgba(245,166,35,0.15);
    padding: 10px;
}

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.program-desc {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-weight: bold;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.program-card ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.program-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.program-card .btn {
  margin-top: auto;
}

.programs {
  padding: 50px 0;
  background-color: var(--gray);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.programs-card {
  background: var(--light);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.programs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.program-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.program-icon i {
  font-size: 24px;
  color: var(--secondary);
}

.programs-card h3 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
}

.programs-card p {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.6;
}

/* Floating WhatsApp Button */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
}

.float-whatsapp:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #128C7E;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4);
}
.float-whatsapp::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 60%;
    border: 3px solid rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Testimonies */
.testimony {
  padding: 50px 0;
  background-color: var(--gray);
}

.testimony h2 {
  text-align: center;
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 5px;
}

.testimony-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.testimony-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  scrollbar-width: none;
}

.testimony-track::-webkit-scrollbar {
  display: none;
}

.testimony-card {
  width: 260px;
  background: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.testimony-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.testimony-card:hover .stars {
  color: var(--primary);
}

.testimony-card:hover h4 {
  color: var(--secondary);
}

.testimony-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 5px;
  border: 2px solid var(--secondary);
}

.testimony-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
}

.stars {
  color: #F5A623;
  font-size: 20px;
  margin-bottom: 5px;
}

.testimony-card p {
  font-size: 14px;
  color: var(--dark);
  line-height: 1.5;
}

.testimony-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 10%;
  position: absolute;
  z-index: 2;
}

.testimony-btn.prev { left: -40px; }
.testimony-btn.next { right: -40px; }


/* Contact */
.contact {
  padding: 50px 0 80px;
  background-color: var(--gray);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.contact-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon i {
  font-size: 26px;
  color: var(--secondary);
}

.contact-card h3 {
  font-size: 16px;
  color: var(--primary);
  margin: 0;
  font-weight: 600;
}

/* FAQ  */
.faq {
  padding: 20px 0 50px;
  background-color: var(--gray);
}

.faq h2 {
  font-size: 42px;
  color: var(--primary);
  text-align: center;
}

.faq-subtitle {
  font-size: 16px;
  color: var(--dark-gray);
  margin-bottom: 35px;
  text-align: center;
}

.faq-list {
  max-width: 1200px;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 30px;
  font-size: 17px;
  font-weight: 550;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question .icon {
  font-size: 30px;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 30px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--dark);
  line-height: 1.6;
}

/* Active state */
.faq-item.active .faq-answer {
  max-height: 200px;
}

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


/* Footer */
footer {
    background-color: var(--primary);
    color: var(--light);
    padding: 30px 0 0px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 10px;
    text-align: center;
}

.footer-about .logo {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.footer-about .logo img {
    height: 40px;
}

.footer-about p {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-bottom: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* Responsive Styles */

/* =========================================================
   RESPONSIVE STYLES
   Desktop-first approach
   ========================================================= */
@media (max-width: 1024px) {
  .navbar {
    padding-right: 20px;
  } 
  
  .nav-links a {
    font-size: 13px;
  }
  .testimony-btn.prev { left: -20px; }
  .testimony-btn.next { right: -20px; }

}


/* ---------- TABLET (≤ 992px) ---------- */
@media (max-width: 992px) {

  .shape-divider {
    display: none;
  }

  /* Layout */
  .nav-links a {
    font-size: 11px;
  }

  .logo {
    height: 30px;
  }

  .hero .container,
  .about .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content,
  .about-content {
    max-width: 100%;
    margin-bottom: 40px;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Grids */
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About image */
  .about-image img {
    width: 80%;
    margin: 0 auto;
  }

  /* Navbar spacing */
  .navbar {
    padding: 12px 0;
  }

  /* Testimony */
  .testimony-btn {
    background: rgba(0, 0, 0, 0.4);
    font-size: 16px;
    padding: 7px 12px;
  }

  .testimony-btn.prev { left: -20px; }
  .testimony-btn.next { right: -20px; }
}


  .faq-question .icon {
    margin-left: 10px;
  }

/* ---------- MOBILE (≤ 768px) ---------- */
@media (max-width: 768px) {

  .shape-divider {
    display: none;
  }

  /* Navigation */
  .menu-toggle {
    display: block;
    z-index: 1100;
  }

  .navbar .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 20px 0;
    display: none;
  }

  .navbar.scrolled .nav-links {
    background-color: var(--primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px)
  }
  
  .nav-links.active {
    display: flex;
  }

  .nav-links.active a:not(.btn-whatsapp) {
    padding: 8px 140px;
  }

  .nav-links.active a {
    margin: 0px;
  }

  /* Hero */
  .hero {
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .animated-text {
    height: 100px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-image {
    max-width: 100%;
    height: auto;
  }

  /* Buttons */
  .btn {
    padding: 12px 22px;
    font-size: 15px;
  }

  /* Sections */
  .section-title,
  .testimony h2,
  .faq h2 {
    font-size: 30px;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .faq-question .icon {
    margin-left: 20px;
  }
  .faq-answer p {
    font-size: 13px;
  }

  /* Floating WhatsApp */
  .float-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

  .footer-bottom p {
    font-size: 11px;
  }

/* ---------- SMALL MOBILE (≤ 576px) ---------- */
@media (max-width: 576px) {

  .shape-divider {
    display: none;
  }

  /* Grids */
  .program-grid,
  .programs-grid{
    grid-template-columns: 1fr;
  }

  /* Hero text */
  .hero {
    padding-top: 85px;
  }
  .hero-content h1 {
    font-size: 27px;
    padding-bottom: 20px;
  }

  .hero-content p {
    font-size: 15px;
  }

  /* Cards padding */
  .program-card,
  .programs-card,
  .contact-card,
  .testimony-card {
    padding: 20px;
  }

  /* FAQ */
  .faq-question {
    font-size: 15px;
    padding: 14px 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  /* Footer */
  .footer-content {
    gap: 20px;
  }

}
