/* =========================================
   AFI WATER — Clean Corporate Design System
   ========================================= */

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

/* ---- CSS Variables ---- */
:root {
  --navy:        #0f172a; /* Slate 900 */
  --deep-blue:   #1e293b; /* Slate 800 */
  --blue:        #1e40af; /* Blue 800 */
  --mid-blue:    #2563eb; /* Blue 600 */
  --cyan:        #3b82f6; /* Blue 500 */
  --cyan-light:  #60a5fa; /* Blue 400 */
  --white:       #ffffff;
  --off-white:   #f8fafc; /* Slate 50 */
  --ice-blue:    #f1f7fc; /* Very soft light blue */
  --gray:        #475569; /* Slate 600 */
  --glass-bg:    #ffffff;
  --glass-border:#e2e8f0; /* Soft gray border */
  --shadow:      0 8px 30px rgba(15, 23, 42, 0.04);
  --radius:      16px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main:   'Outfit', sans-serif;
  --font-body:   'Inter', sans-serif;
}

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

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--deep-blue);
  overflow-x: hidden;
  line-height: 1.7;
}

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

a { text-decoration: none; color: inherit; }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--cyan-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: -0.5px;
  transition: color var(--transition);
}
#navbar.scrolled .nav-logo {
  color: var(--navy);
}

.nav-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
#navbar.scrolled .nav-links a {
  color: var(--deep-blue);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--mid-blue);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
#navbar.scrolled .nav-links a:hover { color: var(--mid-blue); }
#navbar.scrolled .nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--white);
  color: var(--mid-blue) !important;
  font-weight: 600 !important;
  padding: 9px 22px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), background var(--transition), color var(--transition) !important;
}
#navbar.scrolled .nav-cta {
  background: var(--mid-blue) !important;
  color: var(--white) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  background: var(--ice-blue);
}
#navbar.scrolled .nav-cta:hover {
  background: var(--blue) !important;
}
.nav-cta::after { display: none !important; }

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none;
  padding: 6px;
}
#hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled #hamburger span {
  background: var(--navy);
}
#hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
#hamburger.open span:nth-child(2) { opacity: 0; }
#hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
#mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  padding: 1.5rem 5%;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--deep-blue);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: color var(--transition);
}
#mobile-nav a:hover { color: var(--mid-blue); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 5% 180px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url('images/use-this-image-in-hero-section.png');
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) saturate(1.1);
  transform: scale(1.02);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,23,42,0.4) 0%,
    rgba(15,23,42,0.2) 50%,
    rgba(15,23,42,0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.8s ease both;
}
.hero-badge .badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan-light);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(3rem, 7.5vw, 5.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero-title .gradient-text {
  color: var(--cyan-light);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.45s ease both;
}

.btn-primary {
  background: var(--mid-blue);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 110px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeUp 1s 1s ease both;
}
.scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.scroll-mouse {
  width: 22px; height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--cyan-light);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  100%      { top: 18px; opacity: 0; }
}

/* Stats strip */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  z-index: 3;
  animation: fadeUp 1s 0.7s ease both;
  box-shadow: 0 -4px 30px rgba(15, 23, 42, 0.03);
}
.stat-item {
  padding: 1.8rem 3rem;
  text-align: center;
  border-right: none;
  transition: background var(--transition);
}
.stat-item:hover { background: var(--off-white); }
.stat-number {
  font-family: var(--font-main);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--mid-blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ============================================================
   SECTION SHARED STYLES
   ============================================================ */
section {
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mid-blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

.accent-text {
  color: var(--mid-blue);
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
#about {
  padding: 120px 0;
  background: var(--white);
}

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

.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  height: 480px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.05);
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--mid-blue);
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 800;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}
.about-img-badge .badge-year {
  font-size: 2.2rem;
  line-height: 1;
}
.about-img-badge .badge-text {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}
.about-img-glow {
  display: none;
}

.about-content h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1.3rem;
  letter-spacing: -0.5px;
}
.about-content p {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.about-feat {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--off-white);
  border: 1px solid var(--glass-border);
  padding: 1.1rem 1.5rem;
  border-radius: 12px;
  transition: border-color var(--transition), transform var(--transition);
}
.about-feat:hover {
  border-color: var(--cyan-light);
  transform: translateY(-2px);
}
.about-feat-icon {
  width: 42px;
  height: 42px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--mid-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.about-feat:hover .about-feat-icon {
  background: var(--mid-blue);
  color: var(--white);
}
.about-feat-icon-svg {
  width: 20px;
  height: 20px;
}
.about-feat-text strong {
  font-family: var(--font-main);
  font-size: 0.95rem;
  display: block;
  color: var(--navy);
}
.about-feat-text span {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
#products {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  background: var(--white);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
  border-color: var(--cyan-light);
}
.product-img-wrap {
  overflow: hidden;
  height: 240px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.product-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}
.product-card-body {
  padding: 1.5rem;
  text-align: center;
}
.product-card-body h3 {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
}


/* ============================================================
   VIDEO SECTION
   ============================================================ */
#video-section {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.video-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.video-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 45px rgba(15, 23, 42, 0.06);
  background: var(--navy);
  line-height: 0;
}
.video-wrapper video {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  display: block;
}
.video-overlay-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(15,23,42,0.85) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  gap: 1rem;
}
.video-control-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: var(--white);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  flex-shrink: 0;
}
.video-control-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.video-title-bar {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  text-align: center;
  flex: 1;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-bottom: 3rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--mid-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-light);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}
.why-card:hover::before { transform: scaleX(1); }

.why-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--mid-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition), color var(--transition);
}
.why-card:hover .why-icon-wrap {
  background: var(--mid-blue);
  color: var(--white);
}
.why-icon-svg {
  width: 24px;
  height: 24px;
}
.why-card h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.7rem;
}
.why-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   GALLERY
   ============================================================ */
#gallery {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.gallery-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid-blue);
  letter-spacing: 1px;
  margin-top: 1.2rem;
}
.gallery-count-dot {
  width: 7px; height: 7px;
  background: var(--mid-blue);
  border-radius: 50%;
}

.gallery-masonry {
  columns: 4;
  column-gap: 14px;
}
@media (max-width: 1100px) { .gallery-masonry { columns: 3; } }
@media (max-width: 760px)  { .gallery-masonry { columns: 2; } }
@media (max-width: 480px)  { .gallery-masonry { columns: 1; } }

.gallery-card {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.gallery-card:hover .gallery-card-inner {
  border-color: var(--cyan-light);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.gallery-card-inner img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: brightness(0.98);
}
.gallery-card:hover .gallery-card-inner img {
  transform: scale(1.03);
  filter: brightness(0.7);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-card-zoom {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transform: scale(0.85);
  transition: transform 0.3s ease, background 0.3s ease;
  backdrop-filter: blur(4px);
}
.gallery-card-zoom svg {
  width: 20px; height: 20px;
  stroke: var(--white);
}
.gallery-card:hover .gallery-card-zoom {
  transform: scale(1);
  background: rgba(255, 255, 255, 0.4);
}

.gallery-card-num {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
}
.gallery-card:hover .gallery-card-num {
  color: var(--white);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox.active { display: flex; }

#lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 88vw;
  max-height: 82vh;
}

#lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: contain;
  animation: lbScaleIn 0.3s ease;
}
@keyframes lbScaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

#lightbox-close {
  position: fixed;
  top: 22px; right: 28px;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 10001;
  line-height: 1;
}
#lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  transition: background var(--transition), transform var(--transition);
}
.lightbox-nav svg {
  width: 20px; height: 20px;
  stroke: var(--white);
}
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.05);
}
#lightbox-prev { left: 22px; }
#lightbox-next { right: 22px; }

#lightbox-counter {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 22px;
  border-radius: 50px;
  z-index: 10001;
  user-select: none;
}



/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4.5rem 5% 3.5rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1.2rem; font-size: 1.6rem; color: var(--white); }
.footer-brand p { color: #94a3b8; font-size: 0.9rem; line-height: 1.7; max-width: 250px; }
.footer-socials {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  cursor: pointer;
  color: var(--white);
}
.social-btn:hover {
  background: var(--mid-blue);
  border-color: var(--mid-blue);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  margin-bottom: 0.7rem;
}
.footer-col ul li a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition);
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1220px;
  margin: 3.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: #64748b;
  font-size: 0.85rem;
}
.footer-bottom .water-drop {
  color: var(--mid-blue);
  display: inline-block;
}

/* ============================================================
   LOCATIONS SECTION
   ============================================================ */
#locations {
  padding: 120px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.location-card {
  background: var(--off-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--mid-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.location-card:hover {
  background: var(--white);
  transform: translateY(-5px);
  border-color: var(--cyan-light);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.location-icon {
  width: 48px;
  height: 48px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--mid-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.location-icon svg {
  width: 24px;
  height: 24px;
}

.location-card:hover .location-icon {
  background: var(--mid-blue);
  color: var(--white);
  transform: scale(1.05) rotate(5deg);
}

.location-title-wrap h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.location-type {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-body p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.location-info {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--glass-border);
  padding-top: 1rem;
}

.location-info li {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.location-info li:last-child {
  margin-bottom: 0;
}

.location-info li strong {
  color: var(--navy);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }
.delay-4 { transition-delay: 0.2s; }
.delay-5 { transition-delay: 0.25s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { order: -1; }
  .about-img { height: 360px; }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  #hamburger { display: flex; }
  #navbar { height: 70px; }
  #mobile-nav { top: 70px; }

  /* Compact sections to reduce scrolling */
  section { padding: 60px 0 !important; }
  .section-header { margin-bottom: 2rem; }

  /* Fix Hero Section on mobile */
  #hero {
    min-height: auto;
    padding: 100px 5% 0 !important;
    flex-direction: column;
    justify-content: flex-start;
  }
  .hero-title {
    font-size: 2.8rem;
    line-height: 1.15;
  }
  .hero-content {
    margin-bottom: 2rem;
  }
  .hero-stats { 
    display: flex; 
    flex-direction: row;
    flex-wrap: wrap; 
    width: 100%;
    position: relative; 
    border-top: none;
    box-shadow: none;
    background: transparent;
  }
  .stat-item {
    flex: 1 1 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 10px;
    border-radius: var(--radius);
  }
  .scroll-indicator { display: none; } /* Hide mouse icon on mobile to save space */

  .products-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { 
    font-size: 2.2rem; 
    letter-spacing: -1px; 
  }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { 
    width: 100%; 
    justify-content: center; 
    white-space: nowrap; 
  }
  .about-img-badge { right: 10px; bottom: 10px; padding: 15px 18px; }
  .about-img-badge .badge-year { font-size: 1.8rem; }
}
