/* ==========================================================================
   GLOBIFY INTERNATIONAL PVT LTD - DESIGN SYSTEM & STYLESHEET
   Color Theme Palette:
   - Navy: #0B2F5B
   - Teal: #00A79D
   - Emerald: #079A78
   - Gold: #D9A62E
   - White: #FFFFFF
   ========================================================================== */

:root {
  --navy: #0B2F5B;
  --navy-dark: #071f3e;
  --teal: #00A79D;
  --emerald: #079A78;
  --gold: #D9A62E;
  --gold-hover: #b88a22;
  --white: #FFFFFF;
  --bg-light: #F4F7FA;
  --card-bg: #FFFFFF;
  --text-main: #0E1A2B;
  --text-muted: #5B6B7C;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: clip;
}

body {
  overflow-x: clip;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   TOP BAR & NAVIGATION
   ========================================================================== */
.top-bar {
  background-color: var(--navy);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 167, 157, 0.3);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-info span, .top-bar-info a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: #E2E8F0;
  text-decoration: none;
  transition: color 0.2s;
}

.top-bar-info a:hover {
  color: var(--gold);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.exporter-badge {
  background: rgba(7, 154, 120, 0.25);
  color: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  border: 1px solid rgba(7, 154, 120, 0.5);
}

.btn-top-wa {
  background: var(--emerald);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.btn-top-wa:hover {
  background: var(--teal);
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--navy);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(11, 47, 91, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 0.65rem 0;
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--emerald), var(--gold));
  padding: 2px;
  box-shadow: 0 4px 12px rgba(0, 167, 157, 0.3);
}

.logo-icon-inner {
  width: 100%;
  height: 100%;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-tag-mini {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.brand-subtext {
  font-size: 0.65rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-link {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: transparent;
  border: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav-link.active-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
}

/* Search Input */
.search-box {
  position: relative;
  width: 220px;
}

.search-input {
  width: 100%;
  background: var(--navy-dark);
  border: 1px solid rgba(0, 167, 157, 0.4);
  border-radius: 20px;
  padding: 0.45rem 1rem 0.45rem 2.25rem;
  font-size: 0.75rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--gold);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--teal);
  pointer-events: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 167, 157, 0.4);
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    border-bottom: 3px solid var(--teal);
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin: 0 auto 1.25rem;
  }

  .hero-pills {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary, .btn-gold {
    width: 100%;
    justify-content: center;
  }

  .product-card {
    width: 270px;
  }

  .product-main-image-box {
    height: 280px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .top-bar-info {
    justify-content: center;
    font-size: 0.7rem;
    text-align: center;
  }
  .top-bar-actions {
    width: 100%;
    justify-content: center;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .brand-text-name {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   SECTION 1: BRANDING & HERO (PARALLAX EFFECT)
   ========================================================================== */
.hero-section {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 95vh;
  padding: 6.5rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.45;
  filter: brightness(0.8) contrast(1.1);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(11, 47, 91, 0.92) 0%, rgba(7, 31, 62, 0.88) 50%, rgba(0, 167, 157, 0.4) 100%);
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 3;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 167, 157, 0.5);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.hero-title-highlight {
  background: linear-gradient(90deg, var(--teal), var(--emerald), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
  max-width: 600px;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pill {
  background: rgba(11, 47, 91, 0.8);
  border: 1px solid;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pill-salt { border-color: var(--emerald); color: var(--emerald); }
.pill-rice { border-color: var(--teal); color: var(--teal); }
.pill-fruit { border-color: var(--gold); color: var(--gold); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  color: var(--white);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 167, 157, 0.4);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 167, 157, 0.6);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
  font-size: 0.875rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(217, 166, 46, 0.4);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

/* Right Hero Card */
.hero-card {
  background: rgba(11, 47, 91, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 167, 157, 0.4);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-card-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-body {
  background: rgba(7, 31, 62, 0.7);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: #CBD5E1;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 2: PRODUCT CATEGORIES GRID (PARALLAX OVERLAP ONTO HERO)
   ========================================================================== */
.categories-section {
  position: relative;
  z-index: 2;
  margin-top: -5.5rem; /* Parallax Overlap onto Hero */
  border-radius: 40px 40px 0 0;
  padding: 5rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.35);
  border-top: 2px solid rgba(0, 167, 157, 0.4);
}

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

.section-tag {
  display: inline-block;
  background: rgba(11, 47, 91, 0.1);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: 24px;
  padding: 1.5rem;
  border: 2px solid #E2E8F0;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--teal);
  box-shadow: 0 25px 50px rgba(0, 167, 157, 0.2);
}

.category-card-img-banner {
  position: relative;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--navy);
}

.category-card-img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card-img-banner img {
  transform: scale(1.1);
}

.category-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 47, 91, 0.8) 0%, transparent 60%);
  pointer-events: none;
}

.category-card-floating-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(11, 47, 91, 0.85);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 166, 46, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-card-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.bar-salt { background: linear-gradient(90deg, var(--navy), var(--emerald)); }
.bar-rice { background: linear-gradient(90deg, var(--teal), var(--navy)); }
.bar-fruits { background: linear-gradient(90deg, var(--gold), var(--emerald)); }

.category-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}

.cat-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(11, 47, 91, 0.08);
  color: var(--navy);
}

.category-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.category-card-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 0.85rem;
}

.category-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.category-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
}

/* ==========================================================================
/* ==========================================================================
   SECTIONS 4, 5, 6: CONTINUOUS AUTO-SCROLL CAROUSELS
   ========================================================================== */
.carousel-section {
  position: relative;
  z-index: 15;
  padding: 4.5rem 0;
  border-bottom: 1px solid #E2E8F0;
  background: var(--white);
  box-shadow: 0 -20px 45px rgba(0, 0, 0, 0.08);
}

#pink-salt.carousel-section { z-index: 3; }
#rice.carousel-section { z-index: 4; }
#fruits.carousel-section { z-index: 5; }

.carousel-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.carousel-title-group h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
}

.carousel-title-group p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.carousel-track-outer {
  position: relative;
  width: 100%;
  padding: 1rem 0;
  display: flex;
  align-items: center;
}

.carousel-marquee-track {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.carousel-marquee-track::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.carousel-marquee-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.carousel-marquee-track > * {
  scroll-snap-align: start;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 20;
  color: var(--navy);
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.carousel-btn.prev {
  left: -1rem;
}

.carousel-btn.next {
  right: -1rem;
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none; /* Hide arrows on mobile for thumb scrolling */
  }
}

/* Product Card */
.product-card {
  width: 320px;
  flex-shrink: 0;
  background: var(--bg-light);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(11, 47, 91, 0.12);
  border-color: var(--teal);
}

.product-image-box {
  position: relative;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.08);
}

.product-badge-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(11, 47, 91, 0.85);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(217, 166, 46, 0.4);
}

.product-origin-overlay {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.product-info h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-info h3:hover {
  color: var(--teal);
}

.product-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-card-footer {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid #E2E8F0;
}

.btn-card-details {
  flex: 1;
  background: var(--white);
  color: var(--navy);
  border: 1px solid #CBD5E1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-details:hover {
  background: #F1F5F9;
}

.btn-card-wa {
  flex: 1;
  background: var(--emerald);
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.btn-card-wa:hover {
  background: var(--teal);
}

/* ==========================================================================
   SECTION 3 & 15: PRODUCT DETAIL MODAL (EVERY PRODUCT HAS ITS OWN PAGE/MODAL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(11, 47, 91, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--white);
  width: 100%;
  max-width: 900px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .modal-container {
    flex-direction: column;
    overflow-y: auto;
  }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: var(--gold);
  color: var(--navy);
}

.modal-left {
  width: 42%;
  background: var(--navy);
  color: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .modal-left { width: 100%; }
}

.modal-left-img {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  object-fit: cover;
  margin: 1rem 0;
  border: 2px solid rgba(0, 167, 157, 0.4);
}

.modal-right {
  width: 58%;
  padding: 2rem;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .modal-right { width: 100%; }
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1rem 0;
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 14px;
}

.spec-item {
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.spec-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.spec-value {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
}

.pkg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pkg-tag {
  background: rgba(11, 47, 91, 0.06);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

/* ==========================================================================
   SECTION 16: DEDICATED CONTACT US PAGE
   ========================================================================== */
.contact-view {
  display: block;
  padding-top: 4rem;
  padding-bottom: 5rem;
  background: var(--bg-light);
}

.contact-header {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 6rem;
  text-align: center;
  position: relative;
}

.contact-header h1 {
  font-size: 2.75rem;
  font-weight: 900;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: -3rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.contact-card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border: 1px solid #E2E8F0;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 167, 157, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 800;
}

.contact-card p, .contact-card a {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  display: block;
  margin-top: 0.25rem;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-box {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #E2E8F0;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  font-size: 0.85rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-control:focus {
  border-color: var(--teal);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (REQUIREMENT 7)
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  color: var(--white);
  border: 3px solid var(--white);
  box-shadow: 0 10px 30px rgba(7, 154, 120, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(7, 154, 120, 0.7);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 5px solid var(--teal);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer h4 {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #94A3B8;
}

/* ==========================================================================
   DEDICATED PRODUCT DETAIL PAGE STYLES
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
}

.product-main-image-box {
  position: relative;
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(0, 167, 157, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  background: var(--navy);
}

.product-main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-main-image-box:hover img {
  transform: scale(1.05);
}

.product-detail-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-detail-origin {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(11, 47, 91, 0.85);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   ADVANCED MOBILE RESPONSIVE MEDIA QUERIES (320px - 768px SMARTPHONES & TABLETS)
   ========================================================================== */

/* Universal Mobile Overflow Safeguard */
img, video, iframe, canvas {
  max-width: 100%;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .top-bar-info {
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    text-align: center;
  }
  
  .top-bar-actions {
    width: 100%;
    justify-content: center;
  }

  .navbar .container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .hero-section {
    padding: 4.5rem 0 3rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6vw, 2.75rem);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .hero-pills {
    justify-content: center;
    gap: 0.5rem;
  }

  .pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-primary, .btn-gold {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .hero-card {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .categories-section {
    margin-top: -3.5rem;
    border-radius: 28px 28px 0 0;
    padding: 3.5rem 0 4rem;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .category-card {
    padding: 1.5rem;
  }

  .carousel-section {
    padding: 2.5rem 0;
  }

  .product-card {
    width: 270px;
  }

  .product-main-image-box {
    height: 260px;
    border-radius: 18px;
  }

  .contact-cards-grid {
    grid-template-columns: 1fr;
    margin-top: -2rem;
  }

  .contact-form-box {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .brand-text-name {
    font-size: 1.05rem;
  }
  .brand-tag-mini {
    font-size: 0.6rem;
  }
  .brand-subtext {
    display: none;
  }
  .product-card {
    width: 250px;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .contact-header {
    padding: 3rem 0 4.5rem;
  }
  .contact-header h1 {
    font-size: 1.85rem;
  }
  .contact-card {
    padding: 1.25rem;
    gap: 0.85rem;
  }
  .contact-card p, .contact-card a {
    font-size: 0.85rem;
  }
  .form-control {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}


