/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* CSS Variables */
:root {
  --primary-blue: #183B7A;
  --secondary-blue: #3A86C8;
  --soft-sky: #EAF5FF;
  --warm-gold: #F4C65A;
  --soft-cream: #FFF7E8;
  --leaf-green: #65A866;
  --dark-text: #1F2A37;
  --light-bg: #FAFCFF;
  --white: #FFFFFF;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  
  --font-heading: 'DM Serif Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background-color: var(--light-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-blue);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: normal;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  background-color: var(--warm-gold);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: #e5b646;
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

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

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.wa-btn {
  background-color: var(--leaf-green);
  color: var(--white);
}

.wa-btn:hover {
  background-color: #539454;
  color: var(--white);
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 48px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--dark-text);
  font-weight: 500;
  font-size: 1rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-blue);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-blue);
  margin: 5px 0;
  transition: var(--transition);
}

/* Header UI state classes */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-soft-bg {
  background-color: var(--soft-cream);
}

.section-blue-bg {
  background-color: var(--soft-sky);
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--dark-text);
}

/* Hero Section */
.hero {
  padding: 6rem 0 5rem;
  background: linear-gradient(to bottom, var(--soft-sky) 0%, var(--light-bg) 100%);
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--dark-text);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.875rem;
  color: #666;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Program Cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  width: 64px;
  height: 64px;
  background-color: var(--soft-sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
  font-size: 2rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-desc {
  color: #555;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-list {
  margin-top: auto;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.card-list li::before {
  content: "•";
  color: var(--warm-gold);
  position: absolute;
  left: 0;
  font-size: 1.25rem;
  line-height: 1;
}

/* Methods Checklist */
.checklist-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-soft);
}

.check-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background-color: var(--soft-sky);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-content h4 {
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
}

.check-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--primary-blue);
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: var(--soft-sky);
}

.faq-icon {
  margin-left: 1rem;
  transition: var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
}

/* Call to Action Banner */
.cta-banner {
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  margin: 4rem 0;
  background-image: radial-gradient(circle at top right, var(--secondary-blue) 0%, transparent 50%),
                    radial-gradient(circle at bottom left, #122c5e 0%, transparent 50%);
}

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

.cta-banner p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

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

/* Text Center Section */
.text-center-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Location Map */
.map-container {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-details {
  background-color: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Footer */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-about p {
  opacity: 0.8;
  max-width: 400px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--warm-gold);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--warm-gold);
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

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

/* Floating Action Button (WhatsApp) */
.fab-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.fab-wa:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  color: white;
}

.fab-wa.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-container, .two-col {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    order: 2;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .section { padding: 4rem 0; }
  .hero { padding: 4rem 0; }
  
  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    gap: 0;
  }
  
  .nav-menu.active {
    max-height: 400px;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #eee;
  }
  
  .nav-actions {
    display: none; /* Hide header CTA on mobile, maybe show sticky banner instead */
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .fab-wa {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}
