@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  --blue: #003B9A;
  --green: #52C234;
  --green50: rgba(82,194,52,0.5);
  --bg: #F7F8FA;
  --dark: #1E1E1E;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 48px; object-fit: contain; cursor: pointer; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
#navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a:hover { color: var(--blue); }
.btn-nav {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-nav:hover { background: #002f7d; transform: translateY(-1px); }
#navbar.scrolled .btn-nav { background: var(--blue); }

.hamburger { display: none; background: none; border: none; cursor: pointer; color: white; }
#navbar.scrolled .hamburger { color: var(--dark); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 24px;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--dark);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid #f1f1f1;
}
.mobile-menu .btn-nav { margin-top: 12px; text-align: center; }

/* ── HERO ── */
#home {
  min-height: 100vh;
  background: var(--blue);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}
@media (min-width: 768px) {
  #home { min-height: 0; height: 82vh; padding: 0; }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,31,92,0.7) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 740px; }
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  margin-bottom: 40px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s 0.45s forwards;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.8s 0.65s forwards;
}
.btn-primary {
  background: var(--white);
  color: var(--blue);
  border: 2px solid transparent;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}
.btn-primary:hover { background: #f0f4ff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline {
  background: transparent;
  color: rgba(82,194,52,0.85);
  border: 2px solid rgba(82,194,52,0.5);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}
.btn-outline:hover { background: rgba(82,194,52,0.1); border-color: var(--green); color: var(--green); transform: translateY(-2px); }

/* ── SECTION BASE ── */
section { padding: 96px 0; }
.section-title { text-align: center; margin-bottom: 64px; }
.section-title h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.section-title .divider { width: 64px; height: 4px; background: var(--green50); border-radius: 4px; margin: 0 auto; }
.section-title.light h2 { color: var(--white); }
.section-title.light .divider { background: var(--green50); }

/* ── ABOUT ── */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .about-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: repeat(4, 1fr); } }
.about-card {
  background: #f9fafb;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.about-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.about-icon {
  width: 52px; height: 52px;
  background: rgba(0,59,154,0.1);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}
.about-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.about-card p { font-size: 0.875rem; color: var(--muted); }

/* ── PRODUCTS ── */
#products { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.product-img { aspect-ratio: 4/3; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 24px; }
.product-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.product-body p { font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.btn-learn {
  display: block; width: 100%;
  text-align: center;
  padding: 10px;
  border: 2px solid rgba(0,59,154,0.2);
  border-radius: 8px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-learn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── WHY US ── */
#why-us { background: var(--blue); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: background 0.25s;
  opacity: 0; transform: translateY(24px);
}
.why-card.visible { animation: fadeUp 0.6s forwards; }
.why-card:hover { background: rgba(255,255,255,0.15); }
.why-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: var(--green50);
  color: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.why-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.why-card p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* ── GALLERY ── */
#gallery { background: var(--white); }
.gallery-grid {
  columns: 1;
  gap: 16px;
}
@media (min-width: 640px) { .gallery-grid { columns: 2; } }
@media (min-width: 1024px) { .gallery-grid { columns: 3; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay span {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.8);
  padding: 8px 24px;
  border-radius: 50px;
}

/* ── TESTIMONIALS ── */
#testimonials { background: var(--bg); overflow: hidden; }
.carousel-wrap { position: relative; max-width: 960px; margin: 0 auto; }
.carousel-track-outer { overflow: hidden; border-radius: var(--radius); }
.carousel-track { display: flex; transition: transform 0.45s ease; }
.testimonial-card {
  min-width: 100%;
  padding: 0 12px;
}
@media (min-width: 768px) { .testimonial-card { min-width: 50%; } }
@media (min-width: 1024px) { .testimonial-card { min-width: 33.333%; } }
.tcard-inner {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  height: 100%;
}
.stars { color: #facc15; font-size: 16px; margin-bottom: 20px; letter-spacing: 2px; }
.tcard-inner p { color: var(--muted); font-size: 0.9rem; font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.tcard-inner h4 { font-weight: 600; font-size: 0.95rem; }
.tcard-inner span { font-size: 0.8rem; color: var(--blue); font-weight: 500; }
.carousel-controls {
  display: flex; gap: 12px; justify-content: center; margin-top: 32px;
}
.car-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(0,59,154,0.2);
  background: var(--white);
  color: var(--blue);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.car-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* ── CONTACT ── */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.contact-grid h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; color: var(--dark); }
input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,59,154,0.1); }
textarea { min-height: 120px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-submit:hover { background: #002f7d; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,59,154,0.3); }
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-icon {
  width: 48px; height: 48px; min-width: 48px;
  background: rgba(0,59,154,0.08);
  color: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.info-row h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 4px; }
.info-row p { font-size: 0.875rem; color: var(--muted); line-height: 1.5; }
.contact-btns { display: flex; gap: 12px; margin-bottom: 28px; }
.btn-wa {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: var(--white);
  padding: 12px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; font-family: 'Poppins', sans-serif;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-wa:hover { background: #20bd5a; }
.btn-call {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: var(--white);
  padding: 12px; border-radius: 50px;
  font-size: 0.9rem; font-weight: 600; font-family: 'Poppins', sans-serif;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.btn-call:hover { background: #002f7d; }
.map-placeholder {
  width: 100%; height: 220px;
  background: #f1f3f5;
  border-radius: var(--radius);
  border: 1.5px solid #e5e7eb;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); gap: 8px;
  font-size: 0.875rem; font-weight: 500;
}
.map-placeholder .map-pin { font-size: 40px; color: var(--blue); }

/* ── FLOATING WHATSAPP ── */
.float-wa {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-wa:hover { transform: scale(1.12); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; } }
.footer-brand img { height: 40px; object-fit: contain; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.875rem; color: #9ca3af; line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s;
}
.social-link:hover { background: var(--blue); }
.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.8rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 90px; right: 24px;
  background: #1a1a1a;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s;
  max-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE HELPERS ── */
@media (max-width: 767px) {
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; padding: 4px; }
  section { padding: 72px 0; }
  .section-title { margin-bottom: 48px; }
}
