/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.7;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HEADER / NAV ===== */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 52px;
  width: auto;
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 28px 18px;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.main-nav > li > a:hover,
.main-nav > li > a.active { color: #3b82f6; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 280px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 100;
  border-top: 2px solid #3b82f6;
}
.dropdown-menu li a {
  display: block;
  padding: 11px 22px;
  color: #374151;
  font-size: 0.88rem;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid #f3f4f6;
}
.dropdown-menu li a:hover {
  background: #f0f9ff;
  color: #3b82f6;
}
.main-nav > li:hover > .dropdown-menu { display: block; }

/* Sub-dropdown */
.dropdown-menu li { position: relative; }
.dropdown-menu .sub-dropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 240px;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border-top: 2px solid #3b82f6;
}
.dropdown-menu li:hover > .sub-dropdown { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #374151;
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  background: #fff;
  color: #1e293b;
  padding: 80px 0 60px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; }
.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: #1e293b;
}
.hero-text h1 span { color: #1e293b; }
.hero-text p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 16px;
}
.hero-image { flex: 1; }
.hero-image img {
  border-radius: 12px;
  width: 100%;
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  background: #e2e5ea;
}
.hero-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.hero-carousel-track img {
  min-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f2f4f7;
  border-radius: 0;
  flex-shrink: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dots span.active { background: #fff; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: #22c55e;
  color: #fff;
}
.btn-primary:hover { background: #22c55e; }
.btn-outline {
  background: #22c55e;
  color: #fff;
  border: 2px solid #22c55e;
}
.btn-outline:hover {
  background: #22c55e;
  color: #fff;
}
.btn-white {
  background: #22c55e;
  color: #fff;
}
.btn-white:hover { background: #22c55e; }

/* ===== SECTION COMMON ===== */
.section { padding: 80px 0; }
.section-dark { background: #1e293b; color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .card { background: #2d3a4d; border-color: #374a5e; }
.section-dark .card h3 { color: #fff; }
.section-dark .card p { color: #94a3b8; }
.section-gray { background: #f2f4f7; }
.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  margin-bottom: 40px;
  max-width: 700px;
}

/* ===== FACILITIES SECTION ===== */
.facilities {
  background: #1e293b;
  padding: 80px 0;
  color: #fff;
}
.facilities-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.facilities-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.facilities-header .label {
  background: #22c55e;
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.facilities h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.facilities p {
  color: #94a3b8;
  max-width: 700px;
  margin-bottom: 40px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: #1e293b;
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner p {
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ===== TESTIMONIAL / QUOTE ===== */
.testimonial-section {
  background: #f8fafc;
  padding: 80px 0;
}
.testimonial-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.testimonial-text { flex: 1; }
.testimonial-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1e293b;
}
.testimonial-text .quote {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-text .author {
  font-weight: 600;
  color: #22c55e;
}
.testimonial-text .author-title {
  color: #6b7280;
  font-size: 0.9rem;
}
.testimonial-image { flex: 1; }
.testimonial-image img {
  border-radius: 12px;
  width: 100%;
}

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  background: #f2f4f7;
  color: #1e293b;
  padding: 60px 0 40px;
}
.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}
.page-header-text { flex: 1; }
.page-header-text h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #1e293b;
}
.page-header-text p {
  color: #4b5563;
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-header-image { flex: 1; }
.page-header-image img {
  border-radius: 12px;
  width: 100%;
}

/* ===== CONTENT SECTIONS (inner pages) ===== */
.content-section {
  padding: 60px 0;
}
.content-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
}
.content-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e293b;
}
.content-section p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 16px;
}
.content-section ul {
  margin-bottom: 16px;
}
.content-section ul li {
  padding: 6px 0 6px 28px;
  position: relative;
  color: #4b5563;
}
.content-section ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* ===== WHY CHOOSE US / CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: #f0fdf4;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1e293b;
}
.card p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-items: stretch;
}
/* Centre the 4th and 5th cards on desktop (last 2 in a 3-col grid) */
.product-grid > *:nth-child(4) { grid-column: 1; justify-self: end; }
.product-grid > *:nth-child(5) { grid-column: 2; justify-self: start; }
@media (max-width: 992px) {
  .product-grid > *:nth-child(4),
  .product-grid > *:nth-child(5) { grid-column: auto; justify-self: stretch; }
}
.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.product-card-image {
  height: 280px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.product-card-body {
  padding: 20px;
}
.product-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}
.product-card-body p {
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== BENEFITS ROW ===== */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.benefit-item {
  text-align: center;
  padding: 24px;
}
.benefit-icon {
  width: 56px;
  height: 56px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
}
.benefit-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
}

/* ===== TABLE ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.data-table thead {
  background: #1e293b;
  color: #fff;
}
.data-table th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.9rem;
  color: #374151;
}
.data-table tbody tr:hover {
  background: #f8fafc;
}

/* ===== CHECKLIST ===== */
.checklist li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #4b5563;
}
.checklist li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

/* ===== ARROW LIST ===== */
.arrow-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #4b5563;
}
.arrow-list li::before {
  content: '➤';
  position: absolute;
  left: 0;
  color: #ef4444;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1e293b;
}
.contact-info p {
  color: #6b7280;
  margin-bottom: 24px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: #f0fdf4;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-text h4 {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}
.contact-detail-text p {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 0;
}
.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-family: inherit;
  background: #fff;
}
.contact-form textarea { height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

/* ===== MAP ===== */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: #f2f4f7;
  padding: 60px 0;
  text-align: center;
}
.newsletter-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e293b;
}
.newsletter-section p {
  color: #6b7280;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
}
.newsletter-form button {
  padding: 12px 24px;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}
.newsletter-form button:hover { background: #22c55e; }

/* ===== FOOTER ===== */
.site-footer {
  background: #f2f4f7;
  color: #6b7280;
  padding: 32px 0;
  border-top: 1px solid #e2e5ea;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.footer-inner p {
  font-size: 0.85rem;
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  /* Nav */
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 20px 24px;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  .main-nav.open > li > a {
    padding: 12px 0;
    color: #374151;
    font-size: 1rem;
    border-bottom: 1px solid #f3f4f6;
    display: block;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 16px;
    border-top: none;
    min-width: 0;
  }
  .main-nav > li:hover > .dropdown-menu { display: none; }
  .main-nav > li.open > .dropdown-menu { display: block; }
  .sub-dropdown {
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding-left: 16px;
    border-top: none !important;
    min-width: 0 !important;
  }
  .dropdown-menu li:hover > .sub-dropdown { display: none; }
  .dropdown-menu li.open > .sub-dropdown { display: block; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 48px 0; }
  .hero-inner {
    flex-direction: column;
    gap: 32px;
  }
  .hero-carousel {
    width: 100%;
    aspect-ratio: 4/3;
  }

  /* Page header */
  .page-header-inner { flex-direction: column; gap: 32px; }
  .page-header-image { width: 100%; }

  /* Layouts */
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-row { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Tables */
  .data-table { font-size: 0.82rem; }
  .data-table th, .data-table td { padding: 10px 10px; }

  /* Hero text */
  .hero-text h1 { font-size: 2rem; }
  .page-header-text h1 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
  /* Section spacing */
  .section { padding: 48px 0; }
  .hero { padding: 40px 0; }

  /* Cards single column */
  .cards-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }

  /* Newsletter form stacks */
  .newsletter-form { flex-direction: column; max-width: 100%; }
  .newsletter-form input { width: 100%; }
  .newsletter-form button { width: 100%; }

  /* CTA banner */
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 1.8rem; }

  /* Section title */
  .section-title { font-size: 1.7rem; }
}

@media (max-width: 576px) {
  /* Base */
  .container { padding: 0 16px; }
  .hero { padding: 36px 0; }
  .section { padding: 40px 0; }

  /* Prevent any child from breaking out */
  .section > *, .hero > *, .container > * { max-width: 100%; }

  /* Typography */
  .hero-text h1 { font-size: 1.6rem; }
  .page-header-text h1 { font-size: 1.5rem; }
  .section-title { font-size: 1.4rem; }
  .cta-banner h2 { font-size: 1.5rem; }

  /* Single column everything */
  .benefits-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }

  /* Table: horizontal scroll */
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Logo */
  .logo-img { height: 40px; }

  /* Carousel */
  .hero-carousel { aspect-ratio: 3/2; }
  .carousel-btn { width: 32px; height: 32px; font-size: 0.9rem; }

  /* Images */
  img { max-width: 100%; height: auto; }
}
