/* ========================================================================
   Kieron Thys Painting — Custom Stylesheet
   Color scheme derived from brand vehicle: dark navy, cyan/teal, white
   ======================================================================== */

/* ---- CSS Custom Properties (Design Tokens) ---- */
:root {
  /* Primary brand – dark navy blue (from truck text) */
  --color-primary: #0b1d3a;
  --color-primary-light: #14305e;
  --color-primary-dark: #060f1f;

  /* Accent – cyan / teal (from truck decorative curves) */
  --color-accent: #00a8cc;
  --color-accent-light: #33cfef;
  --color-accent-dark: #007a96;

  /* CTA – warm amber/orange for call-to-action contrast */
  --color-cta: #f39c12;
  --color-cta-hover: #e67e22;

  /* Backgrounds */
  --bg-white: #ffffff;
  --bg-light: #f4f7fa;
  --bg-dark: #0b1d3a;
  --bg-dark-alt: #0f2847;
  --bg-card: #ffffff;

  /* Text */
  --text-dark: #1a1a2e;
  --text-body: #3a3a4a;
  --text-muted: #6b7280;
  --text-on-dark: #f0f4f8;
  --text-on-dark-muted: #a8b8cc;

  /* Borders & shadows */
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(11,29,58,0.08);
  --shadow-md: 0 4px 12px rgba(11,29,58,0.10);
  --shadow-lg: 0 8px 30px rgba(11,29,58,0.14);
  --shadow-card: 0 2px 16px rgba(11,29,58,0.07);

  /* Semantic */
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  /* Spacing & layout */
  --nav-height: 80px;
  --container-max: 1200px;
  --section-py: clamp(60px, 8vw, 120px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Global Resets ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ---- Container ---- */
.container-custom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ---- Section Header Pattern ---- */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  background: rgba(0,168,204,0.08);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-title .highlight {
  color: var(--color-accent);
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

/* ---- Button System ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-cta);
  color: #fff;
  padding: 14px 32px;
  box-shadow: 0 4px 14px rgba(243,156,18,0.3);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243,156,18,0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  padding: 14px 32px;
  box-shadow: 0 4px 14px rgba(0,168,204,0.3);
}

.btn-accent:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,168,204,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  padding: 13px 30px;
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 14px 28px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* ---- Reveal Animations ---- */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ========================================================================
   NAVIGATION
   ======================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(11,29,58,0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  height: 70px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}

.nav-logo img {
  height: 50px;
  width: auto;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.navbar.scrolled .nav-logo img {
  height: 42px;
  opacity: 1;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.navbar.scrolled .nav-logo-text {
  opacity: 1;
}

.nav-logo-text .brand-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.nav-logo-text .brand-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
@media (max-width: 992px) {
  :root {
    --nav-height: 68px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right var(--transition-slow);
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 8px;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }

  .nav-overlay.show {
    display: block;
  }
}

/* ========================================================================
   HERO SECTION
   ======================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--bg-dark-alt) 100%);
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,168,204,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--color-primary-dark), transparent);
  pointer-events: none;
}

/* Decorative curved accent lines (mimicking the truck design) */
.hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.hero-accent .curve-1 {
  position: absolute;
  top: 20%;
  right: -5%;
  width: 50%;
  height: 60%;
  border: 3px solid rgba(0,168,204,0.15);
  border-radius: 50%;
  transform: rotate(-15deg);
}

.hero-accent .curve-2 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 40%;
  height: 50%;
  border: 2px solid rgba(0,168,204,0.08);
  border-radius: 50%;
  transform: rotate(10deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 60px 0;
}

.hero-brand {
  /* layout handled by Bootstrap d-flex flex-wrap align-items-center */
  gap: 16px;
}

.hero-brand img {
  height: 80px;
  width: auto;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
}

.hero-brand-text .hero-main-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.15;
}

.hero-brand-text .hero-main-title span {
  display: block;
  font-size: clamp(0.78rem, 2vw, 1.45rem);
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-main-heading {
  font-size: clamp(3rem, 8vw, 5.5rem) !important;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-heading-spacer {
  height: 32px;
}

.hero-tagline {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--color-accent-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(0.82rem, 1.2vw, 0.92rem);
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero service badges */
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.hero-services .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0,168,204,0.12);
  border: 1px solid rgba(0,168,204,0.2);
  border-radius: var(--radius-pill);
  color: var(--color-accent-light);
  font-size: 0.78rem;
  font-weight: 500;
}

.hero-services .badge svg {
  width: 14px;
  height: 14px;
}

/* ========================================================================
   INTRO / ABOUT US SECTION
   ======================================================================== */
.intro-section {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

/* Two-column about layout — now using Bootstrap row/col */

.intro-image-col {
  position: relative;
}

.intro-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--color-primary-dark), var(--bg-dark-alt));
}

.intro-image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(0,168,204,0.25);
  pointer-events: none;
  z-index: 2;
}

/* Offset accent border */
.intro-image-col::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--color-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.intro-img-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: var(--color-cta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(243,156,18,0.4);
}

.intro-illustration {
  display: block;
  width: 100%;
  height: auto;
}

.intro-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--bg-dark-alt) 100%);
}

.intro-logo-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 24px rgba(0,168,204,0.25));
}

.intro-stat-row {
  display: flex;
  gap: 0;
  background: rgba(11,29,58,0.85);
  backdrop-filter: blur(6px);
}

.intro-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.intro-stat:last-child {
  border-right: none;
}

.intro-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.intro-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Text column */
.intro-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-header-left {
  text-align: left;
  margin-bottom: 28px;
}

.intro-content {
  text-align: left;
}

.intro-content p {
  font-size: clamp(1rem, 1.6vw, 1.05rem);
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.85;
}

.intro-content p:last-child {
  margin-bottom: 0;
}

.intro-content strong {
  color: var(--color-primary);
}

@media (max-width: 992px) {
  .intro-image-col {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .section-header-left {
    text-align: center;
  }

  .intro-content {
    text-align: center;
  }
}

/* ========================================================================
   SERVICES SECTION
   ======================================================================== */
.services-section {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.services-grid {
  /* layout handled by Bootstrap row-cols-2 row-cols-md-4 */
}

.services-cta {
  text-align: center;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 2px solid #c0c8d4;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0,168,204,0.1), rgba(11,29,58,0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base);
}

.service-card:hover .service-icon svg {
  stroke: #fff;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .service-card {
    padding: 20px 14px;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-card h3 {
    font-size: 0.9rem;
  }

  .service-card p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

/* ========================================================================
   TEAM SECTION
   ======================================================================== */
.team-section {
  padding: var(--section-py) 0;
  background: var(--color-primary);
}

.team-section .section-label {
  background: rgba(0,168,204,0.15);
  color: var(--color-accent-light);
}

.team-section .section-title {
  color: #fff;
}

.team-cards-grid {
  /* layout handled by Bootstrap row justify-content-center */
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,168,204,0.2);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  transition: all var(--transition-base);
}

.team-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,168,204,0.45);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,168,204,0.15);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-primary-light));
  border: 3px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 0 0 6px rgba(0,168,204,0.12);
  overflow: hidden;
  flex-shrink: 0;
}

.team-avatar svg {
  width: 64px;
  height: 64px;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-staff-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.staff-avatar {
  width: 110px;
  height: 110px;
  margin-bottom: 0;
}

.team-card-body h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.team-role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background: rgba(0,168,204,0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.team-card-body p {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

.team-phone {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  margin-top: 8px;
}

.team-phone:hover {
  color: var(--color-accent);
}

.team-description {
  max-width: 820px;
  margin: 48px auto 0;
  text-align: center;
  padding: 36px 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,168,204,0.15);
  border-radius: var(--radius-lg);
}

.team-description p {
  font-size: 1rem;
  color: var(--text-on-dark-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.team-description p strong {
  color: #fff;
}

.team-description .team-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.team-description .value-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(0,168,204,0.08);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-on-dark-muted);
}

.team-description .value-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .team-description .team-values {
    grid-template-columns: 1fr 1fr;
  }

  .team-description {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .team-description .team-values {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================
   WHY CHOOSE US SECTION
   ======================================================================== */
.why-section {
  padding: var(--section-py) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,168,204,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.why-section .section-label {
  background: rgba(0,168,204,0.15);
}

.why-section .section-title {
  color: #fff;
}

.why-section .section-subtitle {
  color: var(--text-on-dark-muted);
}

.why-grid {
  /* layout handled by Bootstrap row-cols-1 row-cols-md-3 */
}

.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.why-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(0,168,204,0.3);
}

.why-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(0,168,204,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* why-grid responsive handled by Bootstrap */

/* Big commitment card */
.why-card-big {
  background: linear-gradient(135deg, rgba(0,168,204,0.12) 0%, rgba(255,255,255,0.04) 100%);
  border: 1px solid rgba(0,168,204,0.3);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: left;
  transition: all var(--transition-base);
}

.why-card-big:hover {
  background: linear-gradient(135deg, rgba(0,168,204,0.18) 0%, rgba(255,255,255,0.06) 100%);
  transform: translateY(-4px);
  border-color: rgba(0,168,204,0.5);
}

.why-card-big-inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.why-card-big-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(0,168,204,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card-big-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card-big-content {
  flex: 1;
}

.why-card-big h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.why-card-big-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-big-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-big-item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(0,168,204,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-big-item-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-accent);
}

.why-big-item strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-big-item p {
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 576px) {
  .why-card-big-inner {
    flex-direction: column;
    gap: 20px;
  }
  .why-card-big {
    padding: 28px 20px;
  }
}

/* ========================================================================
   CONTACT SECTION
   ======================================================================== */
.contact-section {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.contact-layout {
  /* layout handled by Bootstrap row col-12 col-md-6 */
}

.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,168,204,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  animation: fadeInUp 0.3s ease;
}

.form-message.success {
  background: rgba(16,185,129,0.1);
  color: var(--color-success);
  border: 1px solid rgba(16,185,129,0.2);
}

.form-message.error {
  background: rgba(239,68,68,0.1);
  color: var(--color-error);
  border: 1px solid rgba(239,68,68,0.2);
}

/* Contact Info Side */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-info-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.contact-method:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon.phone-icon {
  background: rgba(0,168,204,0.1);
}

.contact-method-icon.email-icon {
  background: rgba(11,29,58,0.08);
}

.contact-method-icon.whatsapp-icon {
  background: rgba(37,211,102,0.1);
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-method-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact-method-text a,
.contact-method-text p {
  font-size: 0.95rem;
  color: var(--text-body);
}

.contact-method-text a:hover {
  color: var(--color-accent);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* Phone link - clickable on touch, text on desktop */
.phone-link-touch {
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .phone-link-touch {
    display: block;
  }
  .phone-text-desktop {
    display: none;
  }
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 28px;
  }
}

/* ========================================================================
   FAQ SECTION
   ======================================================================== */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--bg-card);
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
.footer {
  background: var(--color-primary-dark);
  color: var(--text-on-dark);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-brand img {
  height: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--text-on-dark-muted);
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--color-accent);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
}

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

/* ========================================================================
   FLOATING ACTION BUTTON (WhatsApp)
   ======================================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 990;
  transition: all var(--transition-base);
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}

.fab-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ========================================================================
   UTILITY CLASSES
   ======================================================================== */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* body scroll lock */
body.menu-open {
  overflow: hidden;
}

/* ---- Small Mobile Adjustments ---- */
@media (max-width: 480px) {
  .hero-brand img {
    height: 70px;
  }

  .hero-brand-text .hero-main-title {
    font-size: clamp(1.7rem, 9vw, 2.2rem);
  }

  .hero-brand-text .hero-main-title span {
    font-size: clamp(0.65rem, 3.2vw, 0.85rem);
    letter-spacing: 0.03em;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-services {
    gap: 8px;
  }

  .team-values {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 20px;
  }
}

/* ========================================================================
   ABOUT CARDS GRID
   ======================================================================== */
.about-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.about-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(0,168,204,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-card strong {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .about-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========================================================================
   DARK THEMED CONTACT FORM (SiteSprout Style)
   ======================================================================== */
.contact-form-card {
  background: #1e293b;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.contact-form-card .form-subtitle {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.contact-form-card .form-group label {
  color: rgba(255,255,255,0.9);
}

.contact-form-card .form-group input,
.contact-form-card .form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  color: #fff;
}

.contact-form-card .form-group input::placeholder,
.contact-form-card .form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.contact-form-card .form-group input:focus,
.contact-form-card .form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0,168,204,0.15);
  background: rgba(255,255,255,0.12);
}

.contact-form-card .form-group input:invalid:not(:placeholder-shown) {
  border-color: var(--color-error);
}

.contact-form-card .form-submit-btn {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,168,204,0.3);
}

.contact-form-card .form-submit-btn:hover {
  box-shadow: 0 6px 24px rgba(0,168,204,0.4);
  transform: translateY(-2px);
}

.contact-form-card .form-message.success {
  background: rgba(16,185,129,0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16,185,129,0.3);
}

.contact-form-card .form-message.error {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3);
}

/* ========================================================================
   LOCATION ICON
   ======================================================================== */
.contact-method-icon.location-icon {
  background: rgba(11,29,58,0.08);
}

/* ========================================================================
   FOOTER SIMPLIFIED LAYOUT
   ======================================================================== */
.footer-simple-layout {
  /* layout handled by Bootstrap row col-md-8 / col-md-4 */
  margin-bottom: 40px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* footer-simple-layout responsive handled by Bootstrap */


/* ========================================================================
   REVIEW US PAGE
   ======================================================================== */
.review-page-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 90px;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--bg-dark-alt) 100%);
}

.review-page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 65%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(0,168,204,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.review-page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.review-hero-inner {
  position: relative;
  z-index: 2;
}

.review-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.review-breadcrumb a {
  color: var(--color-cta);
  transition: color var(--transition-fast);
}

.review-breadcrumb a:hover {
  color: var(--color-cta-hover);
}

.review-breadcrumb span {
  color: rgba(255,255,255,0.55);
}

.review-breadcrumb span[aria-hidden="true"] {
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
}

.review-page-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.review-page-title span {
  color: var(--color-cta);
}

.review-page-subtitle {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-on-dark-muted);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.75;
}

.review-form-section {
  padding: var(--section-py) 0;
  background: var(--bg-light);
}

.review-form-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.review-form-wrap iframe {
  display: block;
  width: 100%;
  max-width: 640px;
  height: 1867px;
  border: 0;
}

@media (max-width: 576px) {
  .review-page-hero {
    padding: 110px 0 70px;
  }

  .review-form-section .container-custom {
    padding: 0 12px;
  }

  .review-form-wrap {
    border-radius: var(--radius-sm);
  }
}


/* ========================================================================
   GALLERY PAGE
   ======================================================================== */

/* ---- Gallery Page Hero ---- */
.gallery-page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--bg-dark-alt) 100%);
  overflow: hidden;
  padding: 140px 0 90px;
  text-align: center;
}

.gallery-page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 65%;
  height: 180%;
  background: radial-gradient(ellipse at center, rgba(0,168,204,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.gallery-page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--bg-white), transparent);
  pointer-events: none;
}

.gallery-hero-inner {
  position: relative;
  z-index: 2;
}

.gallery-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.gallery-breadcrumb a {
  color: var(--color-cta);
  transition: color var(--transition-fast);
}

.gallery-breadcrumb a:hover {
  color: var(--color-cta-hover);
}

.gallery-breadcrumb span:last-child {
  color: rgba(255,255,255,0.55);
}

.gallery-breadcrumb span:not(:last-child):not(:first-child) {
  color: rgba(255,255,255,0.35);
  font-size: 0.9rem;
}

.gallery-hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.gallery-hero-highlight {
  color: var(--color-cta);
}

.gallery-hero-subtitle {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-on-dark-muted);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.gallery-hero-stats {
  display: inline-flex;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,168,204,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(6px);
}

.gallery-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.gallery-stat:last-child {
  border-right: none;
}

.gallery-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.gallery-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
}

@media (max-width: 576px) {
  .gallery-page-hero {
    padding: 110px 0 70px;
  }

  .gallery-hero-stats {
    flex-direction: row;
    width: 100%;
  }

  .gallery-stat {
    flex: 1;
    padding: 16px 12px;
  }

  .gallery-stat-num {
    font-size: 1.4rem;
  }
}

/* ---- Gallery Filter Buttons ---- */
.gallery-section {
  padding: var(--section-py) 0;
  background: var(--bg-white);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.gallery-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  white-space: nowrap;
  line-height: 1;
}

.gallery-filter-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(11,29,58,0.25);
}

.gallery-filter-btn:hover:not(.active) {
  background: rgba(11,29,58,0.07);
  transform: translateY(-1px);
}

.gallery-count {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ---- Gallery Grid Cards ---- */
.gallery-item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden {
  display: none;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  background: var(--color-primary-dark);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.gallery-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,29,58,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: scale(0.75);
  transition: transform 0.3s ease, background var(--transition-fast);
  backdrop-filter: blur(4px);
}

.gallery-card:hover .gallery-zoom-btn {
  transform: scale(1);
}

.gallery-zoom-btn:hover {
  background: rgba(255,255,255,0.28);
}

.gallery-zoom-btn svg {
  width: 22px;
  height: 22px;
}

/* Touch devices — always show overlay slightly */
@media (hover: none) and (pointer: coarse) {
  .gallery-overlay {
    opacity: 1;
    background: rgba(11,29,58,0.3);
  }

  .gallery-zoom-btn {
    transform: scale(1);
  }
}

/* ---- Lightbox ---- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,20,0.94);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 90vw;
  max-height: 90vh;
  padding: 0 8px;
}

.lightbox-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.lightbox-img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 60px rgba(0,0,0,0.6);
  transition: opacity 0.2s ease;
}

.lightbox-img.fade {
  opacity: 0;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 2;
  color: #fff;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: rotate(90deg);
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.lightbox-nav {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  z-index: 2;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: scale(1.08);
}

.lightbox-nav[style*="hidden"] {
  pointer-events: none;
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
}

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.65);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  z-index: 2;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
}

@media (max-width: 576px) {
  .gallery-filter-btn {
    padding: 9px 18px;
    font-size: 0.75rem;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .lightbox-nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-img {
    max-width: 92vw;
    max-height: 72vh;
  }

  .lightbox-content {
    gap: 8px;
    max-width: 100vw;
    padding: 0 4px;
  }
}
