/* Base */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

/* Header */
header {
  background: #0a2540;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.logo {
  width: 60px;
  height: auto;
}

header h1 {
  font-size: 3rem;
  margin: 0;
  letter-spacing: 2px;
}

header p {
  font-size: 1.25rem;
  margin-top: 1rem;
}

/* Old header language switch (kept if used elsewhere) */
.language-switch {
  position: absolute;
  top: 20px;
  right: 20px;
}
.language-switch select {
  padding: 0.4rem 0.8rem;
  border: none;
  background: #ffffff;
  color: #0a2540;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

/* Buttons */
.whatsapp-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 0.6rem 0.8rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

/* Layout */
main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}
section {
  margin-bottom: 2.5rem;
}

.hero-image img {
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

h2 {
  color: #0a2540;
  border-bottom: 2px solid #0a2540;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

ul { line-height: 1.6; }

/* Media */
.media video {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* Contact */
.contact {
  background: #eee;
  padding: 1.5rem;
  border-radius: 8px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #888;
}

/* Simple product cards (used on homepage) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-card {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}
.product-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 4px;
}
.product-card h3 {
  margin: 0.5rem 0;
  color: #0a2540;
}
.product-card p {
  font-size: 0.95rem;
  color: #333;
}

/* =========================
   Sticky Navbar + Burger
========================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Use ONE grid layout, and make it positioning context for the dropdown */
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: grid;
  grid-template-columns: auto auto 1fr auto; /* brand | burger | spacer/menu | lang */
  align-items: center;
  gap: 0.5rem 1rem;
  position: relative; /* anchor for absolute .nav-menu on mobile */
}

/* Brand */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #0a2540;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.nav-logo {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  justify-self: start;
}
.nav-menu a {
  text-decoration: none;
  color: #0a2540;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
}
.nav-menu a:hover,
.nav-menu a:focus {
  background: #f2f6fb;
  outline: none;
}

/* Burger */
.nav-burger {
  display: none;
  border: none;
  background: transparent;
  padding: 0.4rem;
  border-radius: 6px;
}
.nav-burger:focus {
  outline: 2px solid #0a2540;
  outline-offset: 2px;
}
.burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #0a2540;
  margin: 5px 0;
  border-radius: 2px;
}

/* Right-side (language select) */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-left: 0.5rem;
}
#langSelect {
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(0,0,0,0.1);
  background: #ffffff;
  color: #0a2540;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 720px) {
  .nav-burger { display: block; }

  .nav-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: none;               /* hidden by default */
    flex-direction: column;
    padding: 0.5rem;
    z-index: 1001;               /* above page content */
    width: 100%;
  }
  .nav-menu.open { display: flex; }

  .nav-menu li a { padding: 0.8rem; }

  .nav-inner {
    grid-template-columns: auto auto 1fr auto; /* brand | burger | spacer | lang */
  }
  .nav-right { justify-self: end; }
}

/* Smooth anchor offset so content isn't hidden under the sticky bar */
:target { scroll-margin-top: 80px; }
/* Optional: smooth scrolling */
html { scroll-behavior: smooth; }

/* =========================
   Pricing Cards
========================= */
.pricing { padding: 2rem 0; }

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.pricing-grid > div {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 300px;
  padding: 1.5rem;
}
.pricing-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 200px;
  padding: 1.5rem;
}
.pricing-card h3 {
  color: #0a2540;
  text-align: center;
}
.pricing-card ul {
  padding-left: 1.2rem;
  line-height: 1.6;
}
.pricing-card p {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
}

/* =========================
   Comparison Table
========================= */
.comparison { margin-top: 2rem; }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 0.95rem;
}
.compare-table thead th {
  background: #f2f6fb;
  color: #0a2540;
  text-align: left;
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.compare-table th[scope="row"] {
  font-weight: 700;
  color: #0a2540;
  width: 34%;
}
.compare-table td, .compare-table th {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
}
.table-wrap { overflow-x: auto; }

@media (max-width: 720px) {
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr,
  .compare-table td, .compare-table th {
    display: block; width: 100%;
  }
  .compare-table tr {
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 0.8rem;
  }
  .compare-table th[scope="row"] {
    background: #f7f9fc;
    padding: 0.8rem;
    border-bottom: none;
  }
  .compare-table td {
    padding: 0.6rem 0.8rem;
    position: relative;
  }
  .compare-table td::before {
    content: attr(data-label) " ";
    display: inline-block;
    min-width: 90px;
    font-weight: 600;
    color: #0a2540;
    margin-right: 0.5rem;
  }
}

/* =========================
   Stacked Video Cards
========================= */
.video-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.video-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center; /* centers text with video */
}
.video-title {
  margin: 0 0 0.75rem 0;
  color: #0a2540;
  font-size: 1.1rem;
  font-weight: 700;
}
.video-desc {
  margin: 0.75rem 0 0 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Frame base */
.video-frame {
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  background: #000;
  overflow: hidden;
}
.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Horizontal default: 16:9 */
.video-card.horizontal .video-frame {
  aspect-ratio: 16 / 9;
  max-width: 100%;
}
.video-card.horizontal .video-title,
.video-card.horizontal .video-desc {
  max-width: 100%;
  text-align: center;
}

/* Vertical: 9:16, slimmer width */
.video-card.vertical .video-frame {
  aspect-ratio: 9 / 16;
  max-width: 360px;
}
.video-card.vertical .video-title,
.video-card.vertical .video-desc {
  max-width: 360px;
  text-align: center;
}

/* =========================
   Product Catalog (stacked)
========================= */
.catalog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
.catalog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1rem 1rem 1.25rem;
}
.catalog-title {
  margin: 0 0 0.75rem 0;
  color: #0a2540;
  font-size: 1.35rem;
  font-weight: 800;
}
.catalog-media {
  margin: 0 0 1rem 0;
  background: #f7f9fc;
  border-radius: 10px;
  overflow: hidden;
}
.catalog-media img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
}
.catalog-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
}
.catalog-subtitle {
  margin: 0 0 0.35rem 0;
  font-size: 1.05rem;
  color: #0a2540;
  font-weight: 700;
}
.catalog-col ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.55;
  font-size: 0.97rem;
}
.catalog-col li + li { margin-top: 0.15rem; }

@media (max-width: 640px) {
  .catalog-details { grid-template-columns: 1fr; }
  .catalog-media img { height: 220px; }
}
