/* ============================================================
   STANDARD PETROLEUM — style.css (flat file version)
   Teal accent, Playfair Display for all H1 headings
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* Light Mode */
:root {
  --color-primary:     #0B2545;
  --color-secondary:   #1A4971;
  --color-accent:      #0D9488;      /* teal */
  --color-accent-hover:#0F766E;
  --color-bg:          #FFFFFF;
  --color-bg-alt:      #F4F6FA;
  --color-bg-card:     #FFFFFF;
  --color-text:        #1C2B3A;
  --color-text-muted:  #566377;
  --color-border:      #DDE3ED;
  --color-nav-bg:      rgba(255,255,255,0.97);
  --color-footer-bg:   #0B2545;
  --color-footer-text: #A8B8CC;
  --shadow-sm:         0 2px 8px rgba(11,37,69,0.08);
  --shadow-md:         0 6px 24px rgba(11,37,69,0.12);
  --shadow-lg:         0 16px 48px rgba(11,37,69,0.18);
  --radius-sm:         4px;
  --radius-md:         8px;
  --radius-lg:         16px;
  --transition:        0.3s ease;
  --max-width:         1200px;
  --font-head:         'Playfair Display', serif;
  --font-body:         'IBM Plex Sans', sans-serif;
}

/* Dark Mode */
[data-theme="dark"] {
  --color-primary:     #4A90D9;
  --color-secondary:   #6BAED4;
  --color-accent:      #14B8A6;      /* brighter teal for dark mode */
  --color-accent-hover:#2DD4BF;
  --color-bg:          #0A1628;
  --color-bg-alt:      #0F1E34;
  --color-bg-card:     #132237;
  --color-text:        #E0E8F4;
  --color-text-muted:  #8A9EC0;
  --color-border:      #1E3554;
  --color-nav-bg:      rgba(10,22,40,0.97);
  --color-footer-bg:   #060F1C;
  --color-footer-text: #6A85A8;
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:         0 6px 24px rgba(0,0,0,0.4);
  --shadow-lg:         0 16px 48px rgba(0,0,0,0.5);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  transition: background-color var(--transition), color var(--transition);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--color-text);
}
h1 {
  font-family: var(--font-head);
  font-weight: 800;
}
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.75;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition);
}
.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,148,136,0.35);
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.4);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}
.accent-line {
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-nav-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img-wrap {
  width: 52px;
  height: auto;
  border-radius: 70px;
  background: var(--color-bg-alt);
  border: 2px none var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-placeholder-text {
  font-size: 0.6rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.3;
  padding: 4px;
}
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
[data-theme="dark"] .logo-name { color: var(--color-text); }
.logo-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--color-accent);
  background: var(--color-bg-alt);
}
.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 6px;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.dropdown-menu a:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent);
  padding-left: 18px;
}
.dropdown-menu a::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.theme-toggle {
  width: 44px;
  height: 24px;
  background: var(--color-bg-alt);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  transition: transform var(--transition);
}
[data-theme="dark"] .theme-toggle { background: var(--color-primary); }
[data-theme="dark"] .theme-toggle::after { transform: translateX(20px); }
.theme-toggle-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  user-select: none;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.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 {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: var(--color-bg-card);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  max-height: calc(100vh - 76px);
}
.mobile-nav.open { display: block; }
.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--color-accent); }
.mobile-dropdown { padding-left: 16px; display: none; }
.mobile-dropdown.open { display: block; }
.mobile-dropdown a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}
.mobile-dropdown a:hover { color: var(--color-accent); }
.mobile-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0 0;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 76px;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/men-work2.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  min-width: 177.78vh;
  min-height: 56.25vw;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,37,69,0.88) 0%, rgba(11,37,69,0.65) 50%, rgba(11,37,69,0.4) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  animation: bob 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 20px; height: 20px; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Stats Strip */
.stats-strip {
  background: var(--color-primary);
  padding: 36px 0;
}
[data-theme="dark"] .stats-strip { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
[data-theme="dark"] .stat-item { border-right-color: var(--color-border); }
.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
[data-theme="dark"] .stat-label { color: var(--color-text-muted); }

/* Mission Section */
.mission-section { background: var(--color-bg); }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mission-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.mission-image-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mission-image-wrap:hover img { transform: scale(1.03); }
.mission-image-wrap::before {
  content: '';
  position: absolute;
  top: -6px; left: -6px;
  width: 80px; height: 80px;
  border-top: 4px solid var(--color-accent);
  border-left: 4px solid var(--color-accent);
  border-radius: 4px 0 0 0;
  z-index: 1;
}
.mission-image-wrap::after {
  content: '';
  position: absolute;
  bottom: -6px; right: -6px;
  width: 80px; height: 80px;
  border-bottom: 4px solid var(--color-accent);
  border-right: 4px solid var(--color-accent);
  border-radius: 0 0 4px 0;
  z-index: 1;
}

/* About Section */
.about-section { background: var(--color-bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mosaic-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.mosaic-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.mosaic-img:hover img { transform: scale(1.05); }
.mosaic-img.tall img { height: 412px; }

/* Services Section */
.services-section { background: var(--color-bg); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.service-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-card-img { transform: scale(1.05); }
.service-card-body { padding: 28px; }
.service-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--transition);
}
.service-card-link:hover { gap: 10px; }
.service-card-link svg { width: 14px; height: 14px; }

/* Why Choose Us */
.why-section { background: var(--color-bg-alt); }
.why-header { text-align: center; margin-bottom: 56px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--color-accent);
  transition: width 0.4s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.why-card:hover::before { width: 100%; }
.why-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
[data-theme="dark"] .why-icon { background: rgba(13,148,136,0.15); border: 1px solid rgba(13,148,136,0.3); }
.why-icon svg { width: 24px; height: 24px; color: #fff; }
[data-theme="dark"] .why-icon svg { color: var(--color-accent); }
.why-card h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Capabilities */
.capabilities-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .capabilities-section { background: linear-gradient(135deg, #060F1C 0%, #0F2035 100%); }
.capabilities-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.capabilities-left .section-title { color: #ffffff; }
.capabilities-left .section-label { color: var(--color-accent); }
.capability-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: background var(--transition);
}
.capability-item:hover { background: rgba(255,255,255,0.1); }
.cap-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(13,148,136,0.2);
  border: 1px solid rgba(13,148,136,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cap-icon svg { width: 20px; height: 20px; color: var(--color-accent); }
.capability-item h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.capability-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* Testimonials */
.testimonials-section { background: var(--color-bg); }
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.3;
  margin-bottom: -10px;
  margin-left: -4px;
}
.testimonial-text {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-accent);
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-author-name {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
}
.testimonial-author-role {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 500;
}
.star-rating { display: flex; gap: 3px; margin-bottom: 14px; }
.star-rating svg { width: 14px; height: 14px; color: var(--color-accent); fill: var(--color-accent); }

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 24px 0;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
}

/* Scroll Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="left"].revealed, [data-reveal="right"].revealed { transform: translateX(0); }
[data-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.15s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.25s; }
[data-stagger].revealed > * { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .stat-item:nth-child(2) { border-right: none; }
  .mission-grid, .about-grid, .capabilities-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-image-wrap img { height: 360px; }
  .capabilities-left { order: -1; }
}
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .container { padding: 0 16px; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .theme-toggle-label { display: none; }
  .hero { height: 100svh; min-height: 560px; }
  .hero-video-wrap { display: none; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding: 20px; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .services-grid, .why-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .about-mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic-img.tall img { height: 200px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .about-mosaic { grid-template-columns: 1fr; }
}

/* Hero slideshow */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slideshow .slide.active {
  opacity: 1;
}

/* CTA Section – full-width with optional darker background */
.cta-section {
  background-color: #0b1a2f;      /* deep navy – change to match your site */
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Optional subtle overlay pattern – remove if too fancy */
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Glass card wrapper – same .glass-card you already use, but I’ll redefine it here in case */
.cta-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Make the accent line white/light */
.cta-header .centered-accent {
  background: var(--accent, #f0b90b);  /* your accent color, fallback gold */
  margin: 1.5rem auto;
}

.cta-header .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.cta-header .section-title {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-subtitle {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Buttons */
.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent, #f0b90b);
  color: #0b1a2f;
  border: 2px solid var(--accent, #f0b90b);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent, #f0b90b);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 600px) {
  .cta-card {
    padding: 2.5rem 1.5rem;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* CTA buttons inside parallax sections */
.parallax-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Base button styles – only if not already defined globally */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 3rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
}

/* Primary button */
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: 2px solid var(--color-accent);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

/* Outline white button for dark backgrounds */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

/* Stack buttons on small screens */
@media (max-width: 480px) {
  .parallax-cta {
    flex-direction: column;
    align-items: center;
  }
  .btn {
    width: 100%;
    max-width: 280px;
  }
}