/* Toltopola Enterprises — responsive corporate website system */

/* --- DARK THEME VARIABLES --- */
[data-theme="dark"] {
  --navy: #3B82F6; /* Lighter blue for visibility */
  --navy-2: #60A5FA;
  --gold: #F59E0B;
  --gold-dark: #FBBF24;
  --ink: #E5E7EB; /* Light text */
  --muted: #9CA3AF;
  --paper: #111827; /* Dark background */
  --surface: #1F2937;
  --line: #374151;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
}

/* Force the header and specific cards to be dark in dark mode */
[data-theme="dark"] .site-header,
[data-theme="dark"] .topbar,
[data-theme="dark"] .trust-strip,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .form-panel,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .pricing-card {
  background-color: var(--surface) !important;
  border-color: var(--line) !important;
}

/* FIX FOR DARK MODE TEXT VISIBILITY */
[data-theme="dark"] .primary-nav > a { color: var(--ink); }
[data-theme="dark"] .primary-nav > a:hover, 
[data-theme="dark"] .primary-nav > a.active { background: #374151; color: #FFF; }
[data-theme="dark"] .topbar { color: #eaf1fa; }
[data-theme="dark"] .topbar-note { color: #d4deeb; }
[data-theme="dark"] .topbar-contact a { color: #eaf1fa; }
[data-theme="dark"] .topbar-contact a:hover { color: var(--gold); }

/* The rest of the dark mode overrides */
[data-theme="dark"] .brand-name { color: #FFF; }
[data-theme="dark"] .brand-name small { color: #9CA3AF; }
[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea { background: #111827; color: #FFF; border-color: #374151; }
[data-theme="dark"] .gallery-grid img { box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
[data-theme="dark"] .testimonial-text { color: #D1D5DB; }

/* --- LIGHT THEME VARIABLES --- */
:root {
  --navy: #08264b;
  --navy-2: #103b68;
  --gold: #f4b51b;
  --gold-dark: #d99a08;
  --ink: #172b45;
  --muted: #64748b;
  --paper: #fff;
  --surface: #f4f7fb;
  --line: #e2e8f0;
  --shadow: 0 18px 45px rgba(8, 38, 75, 0.10);
  --radius: 18px;
  --font-body: 'DM Sans', Arial, sans-serif;
  --font-head: 'Manrope', 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body, button, input, select, textarea { font-family: var(--font-body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(244, 181, 27, 0.7);
  outline-offset: 3px;
}
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 3000;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }

/* --- TOPBAR & HEADER --- */
.topbar { background: var(--navy); color: #eaf1fa; font-size: 0.82rem; }
.topbar-inner, .topbar-contact { display: flex; align-items: center; }
.topbar-inner { min-height: 42px; justify-content: space-between; gap: 20px; }
.topbar-contact { gap: 25px; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: inherit; }
.topbar a:hover { color: var(--gold); }
.topbar i { color: var(--gold); margin-right: 7px; }
.topbar-note { color: #d4deeb; font-style: italic; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}
.nav-wrap { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; }
.brand-mark {
  width: 49px;
  height: 49px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), #ffcf52);
  color: var(--navy);
  font-size: 1.45rem;
  box-shadow: 0 6px 14px rgba(244, 181, 27, 0.24);
}
.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.brand-name strong { color: var(--gold-dark); font-size: 1.02rem; }
.brand-name small {
  font-family: var(--font-body);
  font-size: 0.54rem;
  letter-spacing: 1.65px;
  color: #64748b;
  font-weight: 700;
  margin-top: 5px;
}
.primary-nav { display: flex; align-items: center; gap: 7px; }
.primary-nav > a {
  padding: 11px 15px;
  border-radius: 9px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.primary-nav > a:hover, .primary-nav > a.active { background: #eef3f9; color: var(--navy); }
.primary-nav > a.nav-cta { background: var(--gold); color: var(--navy); padding: 12px 18px; margin-left: 8px; }
.primary-nav > a.nav-cta:hover { background: #ffd05a; transform: translateY(-1px); }
.nav-cta i { margin-left: 8px; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* --- HERO SLIDESHOW (Home Page) --- */
.home-hero {
  min-height: 610px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background-color: var(--navy);
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active { opacity: 1; }
.slide-1, .slide-2, .slide-3, .slide-4 { background-color: var(--navy); }

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 27, 55, 0.96) 0%, rgba(8, 38, 75, 0.88) 43%, rgba(8, 38, 75, 0.24) 100%);
  z-index: 2;
}

.hero-content { position: relative; z-index: 3; padding-block: 100px 110px; }
.hero-scroll { z-index: 3; }

.eyebrow { display: inline-block; color: var(--gold-dark); font-size: 0.75rem; letter-spacing: 2px; font-weight: 800; margin-bottom: 14px; }
.eyebrow-light { color: #ffd15c; }
.home-hero h1, .page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -2.2px;
  max-width: 760px;
  margin: 0 0 22px;
  color: white;
}
.home-hero h1 span, .page-hero h1 span { color: var(--gold); }
.home-hero p, .page-hero-content > p { font-size: 1.12rem; max-width: 650px; color: #e3ebf5; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 22px rgba(244, 181, 27, 0.22); }
.btn-gold:hover { background: #ffd05a; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, 0.65); color: white; background: rgba(255, 255, 255, 0.07); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-2); }

.hero-assurance { display: flex; gap: 25px; flex-wrap: wrap; margin-top: 34px; color: #e5edf7; font-size: 0.88rem; }
.hero-assurance i { color: var(--gold); margin-right: 7px; }
.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  text-decoration: none;
}

/* --- TRUST STRIP --- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 28px rgba(8, 38, 75, 0.04); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 24px; gap: 20px; }
.trust-grid > div { display: flex; align-items: center; gap: 13px; padding-inline: 15px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border: 0; }
.trust-grid > div > i { font-size: 1.5rem; color: var(--gold-dark); }
.trust-grid span { display: flex; flex-direction: column; }
.trust-grid strong { font-family: var(--font-head); font-size: 0.91rem; color: var(--navy); }
.trust-grid small { font-size: 0.77rem; color: var(--muted); }

/* --- NEW STATS SECTION --- */
.stats-section {
  background: linear-gradient(115deg, var(--navy-2), var(--navy));
  padding: 40px 0;
  color: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item { border-right: 1px solid rgba(255, 255, 255, 0.15); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin: 0 0 5px;
  color: var(--gold);
  line-height: 1;
}
.stat-number span { font-size: 0.6em; }
.stat-label {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #d1d5db;
}

/* --- SECTIONS & LAYOUT --- */
.section { padding: 88px 0; }
.section-soft { background: var(--surface); }
.intro-grid, .split-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 68px; }
.intro-photo, .split-image { position: relative; }
.intro-photo > img, .split-image > img { width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-caption, .image-note {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 38, 75, 0.92);
  color: white;
  padding: 15px 18px;
  border-radius: 11px;
  font-weight: 700;
}
.photo-caption i, .image-note i { color: var(--gold); font-size: 1.3rem; }
.intro-copy h2, .section-heading h2, .split-copy h2, .form-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--navy);
  margin: 0 0 18px;
}
.intro-copy p, .split-copy > p { color: #596a80; margin: 0 0 15px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 13px; color: var(--navy); font-weight: 800; text-decoration: none; }
.text-link i { color: var(--gold-dark); transition: transform 0.2s; }
.text-link:hover i { transform: translateX(4px); }
.section-heading { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { margin: 0; color: var(--muted); }

/* --- PRODUCT PREVIEW --- */
.product-preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-preview {
  position: relative;
  overflow: hidden;
  display: block;
  height: 260px;
  border-radius: 14px;
  background: var(--navy);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.product-preview img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.product-preview:after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(4, 24, 48, 0.9)); }
.product-preview span {
  position: absolute;
  z-index: 1;
  bottom: 17px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-weight: 800;
}
.product-preview span i { color: var(--gold); }
.product-preview:hover img { transform: scale(1.06); }
.center-action { text-align: center; margin-top: 34px; }

/* --- NEW PRICING SECTION --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}
.pricing-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(8, 38, 75, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.pricing-header h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 5px;
}
.pricing-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 20px;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 25px;
}
.pricing-price .currency {
  font-size: 1.2rem;
  vertical-align: super;
}
.pricing-price .period {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
  text-align: left;
  flex-grow: 1;
}
.pricing-features li {
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li i {
  color: #21b86b;
  font-size: 0.8rem;
}
.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
}
.pricing-note i {
  color: var(--gold-dark);
  margin-right: 5px;
}

/* --- NEW TESTIMONIALS SECTION --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(8, 38, 75, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.95rem;
  color: #4b5563;
  font-style: italic;
  margin: 0 0 20px;
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.testimonial-author i {
  font-size: 2rem;
  color: var(--navy);
  opacity: 0.8;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 0.9rem;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- CTA BAND --- */
.cta-band { background: linear-gradient(115deg, #08264b, #123f6d); color: white; padding: 58px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner h2 { font-family: var(--font-head); font-size: clamp(1.65rem, 3vw, 2.25rem); line-height: 1.2; margin: 0 0 8px; color: white; }
.cta-inner p { margin: 0; color: #d5e0ed; }
.cta-inner .eyebrow { margin-bottom: 10px; }

/* --- PAGE HERO (Inner Pages) --- */
.page-hero { position: relative; overflow: hidden; background-color: var(--navy); background-position: center; background-size: cover; }
.why-hero { background-image: linear-gradient(90deg, rgba(5, 27, 55, 0.96), rgba(8, 38, 75, 0.75)), url('https://images.unsplash.com/photo-1586528116311-ad8ed7c508b0?auto=format&fit=crop&w=1900&q=85'); }
.contact-hero { background-image: linear-gradient(90deg, rgba(5, 27, 55, 0.96), rgba(8, 38, 75, 0.76)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1900&q=85'); }
.gallery-hero { 
  background-image: linear-gradient(90deg, rgba(5, 27, 55, 0.96), rgba(8, 38, 75, 0.76)), url('10.jpeg'); 
  background-position: center;
  background-size: cover;
}
.page-hero-content { padding-block: 76px 68px; }
.page-hero h1 { font-size: clamp(2.45rem, 4.5vw, 3.8rem); margin-bottom: 14px; }
.page-hero-content > p { font-size: 1.02rem; margin-bottom: 24px; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #d9e3ef; font-size: 0.84rem; }
.breadcrumbs a { color: var(--gold); text-decoration: none; }
.breadcrumbs i { font-size: 0.65rem; color: #9eb0c6; }

/* --- WHY US PAGE --- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  padding: 30px 27px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 28px rgba(8, 38, 75, 0.055);
  transition: transform 0.22s, box-shadow 0.22s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff5d9;
  color: #b98200;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 22px;
}
.feature-card h3 { font-family: var(--font-head); font-size: 1.12rem; color: var(--navy); margin: 0 0 10px; }
.feature-card p { color: var(--muted); font-size: 0.93rem; margin: 0; }
.split-copy h2 { margin-bottom: 15px; }
.steps-list { list-style: none; padding: 0; margin: 28px 0 30px; display: grid; gap: 20px; }
.steps-list li { display: flex; gap: 16px; align-items: flex-start; }
.steps-list li > span {
  flex: 0 0 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff1c8;
  color: #9a6b00;
  font-weight: 800;
}
.steps-list strong { color: var(--navy); font-family: var(--font-head); }
.steps-list p { margin: 3px 0 0; color: var(--muted); font-size: 0.91rem; }

/* --- CONTACT PAGE --- */
.contact-section { padding-top: 72px; }
.contact-layout { display: grid; grid-template-columns: 0.82fr 1.35fr; gap: 26px; align-items: start; }
.contact-panel {
  background: linear-gradient(155deg, #08264b, #123e69);
  padding: 34px 30px;
  border-radius: 17px;
  color: white;
  box-shadow: var(--shadow);
}
.contact-panel h2 { font-family: var(--font-head); font-size: 1.55rem; margin: 0 0 8px; color: white; }
.contact-panel-intro { color: #d5e0ed; font-size: 0.91rem; margin: 0 0 25px; }
.contact-method { display: flex; align-items: center; gap: 14px; margin: 20px 0; text-decoration: none; color: white; }
.contact-method-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
  color: var(--gold);
  font-size: 1.05rem;
}
.contact-method > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-method small { color: #b8c9dc; font-size: 0.78rem; }
.contact-method strong { font-size: 0.94rem; overflow-wrap: anywhere; }
.whatsapp-wide {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #21b86b;
  color: white;
  text-decoration: none;
  border-radius: 9px;
  padding: 13px 14px;
  margin-top: 27px;
  font-weight: 800;
}
.whatsapp-wide:hover { background: #159b57; }
.whatsapp-wide i { font-size: 1.25rem; }
.form-panel { padding: 34px; background: white; border: 1px solid var(--line); border-radius: 17px; box-shadow: 0 10px 35px rgba(8, 38, 75, 0.06); }
.form-heading h2 { font-size: 1.8rem; margin-bottom: 8px; }
.form-heading p { color: var(--muted); margin: 0 0 24px; }
.contact-form { display: grid; gap: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #34445b; font-size: 0.85rem; font-weight: 700; }
.contact-form label span { color: #c2410c; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  border: 1px solid #d9e1eb;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfe;
  font-size: 0.91rem;
  transition: border 0.2s, box-shadow 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: 0;
  border-color: #d6a21b;
  box-shadow: 0 0 0 3px rgba(244, 181, 27, 0.16);
}
.contact-form textarea { resize: vertical; min-height: 135px; }
.form-submit { justify-self: start; }
.form-note { margin: -5px 0 0; color: var(--muted); font-size: 0.78rem; }
.form-note i { color: #198754; margin-right: 5px; }
.setup-note { margin: 20px 0 0; padding: 12px 14px; border-radius: 8px; background: #fff8e5; color: #75540a; font-size: 0.81rem; }
.botcheck { position: absolute !important; left: -5000px !important; }
.contact-form .hidden { display: none; }

/* --- FOOTER --- */
.site-footer { background: #061d39; color: #d3deeb; }
.footer-main { display: grid; grid-template-columns: 1.6fr 0.8fr 1fr; gap: 70px; padding-block: 54px; }
.brand-light .brand-name { color: white; }
.brand-light .brand-name small { color: #aebed0; }
.footer-brand > p { max-width: 340px; color: #aebed0; font-size: 0.88rem; margin: 19px 0 0; }
.footer-main h3 { font-family: var(--font-head); color: white; font-size: 1rem; margin: 5px 0 17px; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-main > div > a:not(.brand), .footer-main > div > span { font-size: 0.88rem; color: #b8c8d9; text-decoration: none; }
.footer-main > div > a:not(.brand):hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.78rem; color: #9fb0c4; }
.footer-bottom > .container { display: flex; justify-content: space-between; gap: 15px; padding-block: 16px; }

/* --- FLOATING CONTACT BUTTONS --- */
.floating-contact { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 51px;
  height: 51px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  text-decoration: none;
  font-size: 1.35rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.04); }
.whatsapp-btn { background: #1dbb68; }
.call-btn { background: var(--navy); }

/* --- GALLERY PAGE --- */
.gallery-category { margin-bottom: 4rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(8, 38, 75, 0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(8, 38, 75, 0.15); }

/* --- LIGHTBOX MODAL --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 24, 48, 0.95);
  opacity: 0;
  transition: opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox.active .lightbox-content { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 40px;
  color: #fff;
  font-size: 45px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-caption { margin-top: 15px; color: #eaf1fa; font-family: var(--font-head); font-size: 1.1rem; text-align: center; }

/* --- VIDEO WRAPPER (Why Us Page & Gallery) --- */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 430px; /* Laptop size */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: #000;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- MAP WRAPPER (Contact Page) --- */
.map-wrapper {
  width: 100%;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- LOGO STYLING --- */
.site-logo {
  height: 55px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
}

.footer-logo {
  height: 70px;
  max-width: 280px;
  background-color: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 900px) {
  .container { width: min(100% - 36px, 760px); }
  .topbar-note { display: none; }
  .nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .brand { flex-shrink: 0; }
  .menu-toggle { display: grid; place-items: center; margin-left: auto; flex-shrink: 0; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 14px 22px 22px;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 15px 25px rgba(8, 38, 75, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a { padding: 12px 14px; }
  .primary-nav > a.nav-cta { margin: 8px 0 0; text-align: center; }
  .home-hero { min-height: 570px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(3) { padding-left: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item { border-right: none; }
  .intro-grid, .split-feature { gap: 36px; }
  .product-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr 1.25fr; }
  .footer-main { gap: 35px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .topbar-inner { min-height: 38px; }
  .topbar-contact { gap: 12px; font-size: 0.73rem; }
  .topbar-contact a:nth-child(2) { display: none; }
  .nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .brand { flex-shrink: 0; }
  
  /* Perfect Mobile Logo Positioning */
  .site-logo {
    height: 40px;
    max-width: 160px;
    padding: 2px 6px;
    object-fit: contain;
  }

  .brand-mark { width: 43px; height: 43px; font-size: 1.2rem; }
  .brand-name { font-size: 1.08rem; }
  .brand-name strong { font-size: 0.9rem; }
  .brand-name small { font-size: 0.46rem; letter-spacing: 1.2px; }
  
  .home-hero { min-height: 590px; }
  .hero-shade { background: linear-gradient(90deg, rgba(5, 27, 55, 0.96), rgba(8, 38, 75, 0.77)); }
  .hero-content { padding-block: 75px 90px; }
  .home-hero h1 { font-size: clamp(2.45rem, 11vw, 3.35rem); letter-spacing: -1.5px; }
  .home-hero p { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 310px; }
  .hero-assurance { gap: 10px; flex-direction: column; margin-top: 24px; }
  
  .trust-grid { gap: 16px; padding-block: 20px; }
  .trust-grid > div { padding: 0 8px !important; border: 0 !important; gap: 9px; }
  .trust-grid > div > i { font-size: 1.2rem; }
  .trust-grid strong { font-size: 0.82rem; }
  .trust-grid small { font-size: 0.69rem; }
  
  .section { padding: 64px 0; }
  .intro-grid, .split-feature { grid-template-columns: 1fr; gap: 30px; }
  .intro-photo > img, .split-image > img { height: 290px; }
  .intro-copy h2, .section-heading h2, .split-copy h2 { font-size: 1.9rem; }
  .product-preview-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-preview { height: 190px; border-radius: 11px; }
  .product-preview span { left: 12px; right: 12px; bottom: 12px; font-size: 0.84rem; }
  .features-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-card { padding: 24px; }
  .page-hero-content { padding-block: 58px 50px; }
  .page-hero h1 { font-size: 2.5rem; letter-spacing: -1.3px; }
  .page-hero-content > p { font-size: 0.95rem; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .cta-band { padding: 45px 0; }
  .contact-section { padding-top: 55px; }
  .contact-layout { grid-template-columns: 1fr; gap: 18px; }
  .contact-panel, .form-panel { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 15px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 42px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom > .container { flex-direction: column; gap: 5px; }
  .floating-contact { right: 13px; bottom: 14px; }
  .float-btn { width: 46px; height: 46px; }
  
  .gallery-grid { grid-template-columns: 1fr; gap: 15px; }
  .gallery-grid img { height: 250px; }
  .lightbox-close { top: 15px; right: 20px; font-size: 35px; }
  .lightbox-content { max-width: 100%; max-height: 75vh; }

  /* Mobile adjustments for Logo and Video */
  .footer-logo {
    height: 55px;
    max-width: 200px;
  }
  
  .video-wrapper {
    height: 240px; 
  }

  .map-wrapper {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}