/* ============================================
   SKMEC — SK Marine & Energy Consultants
   Transparent White / Advanced Glassmorphism
   ============================================ */

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

/* ---------- Custom Properties ---------- */
:root {
  /* Brand colours */
  --navy:        #0a1628;
  --navy-light:  #142240;
  --teal:        #4cc9d0;
  --teal-dark:   #2a9fad;
  --teal-glow:   rgba(76, 201, 208, .25);
  --cyan-light:  #b4eef3;

  /* Advanced Glassmorphism surfaces */
  --glass-bg:           rgba(255, 255, 255, .08);
  --glass-bg-medium:    rgba(255, 255, 255, .12);
  --glass-bg-strong:    rgba(255, 255, 255, .18);
  --glass-bg-solid:     rgba(255, 255, 255, .25);
  --glass-border:       rgba(255, 255, 255, .18);
  --glass-border-light: rgba(255, 255, 255, .08);
  --glass-shadow:       0 8px 32px rgba(0, 0, 0, .12);
  --glass-shadow-lg:    0 16px 64px rgba(0, 0, 0, .15);
  --glass-inset:        inset 0 1px 0 rgba(255, 255, 255, .15);

  /* Text */
  --text-dark:   #0a1628;
  --text-body:   #334155;
  --text-muted:  #64748b;
  --text-white:  #ffffff;

  /* Misc */
  --radius:      20px;
  --radius-sm:   12px;
  --transition:  .35s cubic-bezier(.4, 0, .2, 1);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.7;
  background: #f0f6fa;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ---------- Utility ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Section Titles ---------- */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: .75rem;
  padding: .35rem 1rem;
  background: rgba(76, 201, 208, .06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50px;
  border: 1px solid rgba(76, 201, 208, .1);
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
}

/* ============================================
   NAVIGATION — Frosted Glass
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

/* Initial glass tint even before scroll */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, .3) 0%, transparent 100%);
  pointer-events: none;
  transition: opacity var(--transition);
}

.navbar.scrolled::before {
  opacity: 0;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(24px) saturate(200%) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(200%) brightness(1.05);
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  box-shadow: 0 4px 30px rgba(10, 22, 40, .06),
              inset 0 1px 0 rgba(255, 255, 255, .4);
  padding: .7rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-logo img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.15));
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  line-height: 1.2;
  transition: color var(--transition);
}

.nav-logo-text span {
  display: block;
  font-weight: 400;
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

.navbar.scrolled .nav-logo-text {
  color: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .5px;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), #6dd5ed);
  border-radius: 2px;
  transition: width var(--transition);
}

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

.navbar.scrolled .nav-links a {
  color: var(--navy);
}

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

/* Glass pill CTA in nav */
.nav-cta {
  padding: .55rem 1.5rem !important;
  border: 1.5px solid rgba(76, 201, 208, .5) !important;
  border-radius: 50px;
  color: var(--teal) !important;
  background: rgba(76, 201, 208, .08) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
  color: var(--navy) !important;
  box-shadow: 0 4px 20px var(--teal-glow) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  width: 26px; height: 2.5px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--navy);
}

/* ============================================
   HERO — Video Background
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a1628; /* fallback while video loads */
}

/* Full-cover background video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay for text contrast */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, .55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}

/* Glass badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.4rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .1),
              inset 0 1px 0 rgba(255, 255, 255, .1);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp .8s ease-out both;
}

.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--teal);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px var(--teal); }
  50%      { opacity: .5; transform: scale(.7); box-shadow: 0 0 3px var(--teal); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  color: var(--text-white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  animation: fadeUp .8s .15s ease-out both;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .15);
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--teal), #6dd5ed, #a78bfa);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeUp .8s .15s ease-out both, gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, .65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fadeUp .8s .3s ease-out both;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp .8s .45s ease-out both;
}

/* Glass buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .92rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .3px;
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent);
  transition: left .6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--navy);
  box-shadow: 0 4px 24px var(--teal-glow),
              inset 0 1px 0 rgba(255, 255, 255, .25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(76, 201, 208, .45),
              inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn-outline {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(76, 201, 208, .08);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(76, 201, 208, .15),
              inset 0 1px 0 rgba(255, 255, 255, .1);
}

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

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255, 255, 255, .35);
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeUp 1s .6s ease-out both;
}

.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(.5); opacity: .3; }
}

/* ============================================
   WAVE DIVIDER
   ============================================ */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider.flip {
  transform: rotate(180deg);
}

/* ============================================
   ABOUT — Glass Image Frame
   ============================================ */
.about {
  padding: 6rem 0 5rem;
  background: #f0f6fa;
  position: relative;
}

/* Subtle glass background shapes */
.about::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 208, .06) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

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

.about-visual {
  position: relative;
}

/* Frosted glass frame around image */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .4);
  padding: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 16px 48px rgba(10, 22, 40, .08),
              inset 0 1px 0 rgba(255, 255, 255, .6);
}

/* Top-edge refraction highlight */
.about-img-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
  z-index: 2;
}

.about-img-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

/* Glass accent box */
.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: rgba(76, 201, 208, .85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--navy);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  box-shadow: 0 8px 32px var(--teal-glow),
              inset 0 1px 0 rgba(255, 255, 255, .3);
  border: 1px solid rgba(255, 255, 255, .2);
}

.about-accent-box .number {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-accent-box .label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about-text p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.about-text p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--teal-dark);
  float: left;
  margin-right: .3rem;
  line-height: 1;
}

.about-highlights {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

/* Glass highlight items */
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 4px 16px rgba(10, 22, 40, .04),
              inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: all var(--transition);
}

.highlight-item:hover {
  background: rgba(255, 255, 255, .7);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, .06),
              inset 0 1px 0 rgba(255, 255, 255, .8);
}

.highlight-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(76, 201, 208, .12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--teal-dark);
  font-size: 1.1rem;
  border: 1px solid rgba(76, 201, 208, .15);
}

.highlight-text h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  margin-bottom: .2rem;
}

.highlight-text p {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   SERVICES — Flowing Glass Panels
   ============================================ */
.services {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f0f6fa 0%, #e4f0f5 50%, #eaf2f8 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative floating glass shapes */
.services::before,
.services::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.services::before {
  width: 400px; height: 400px;
  background: rgba(76, 201, 208, .04);
  border: 1px solid rgba(76, 201, 208, .06);
  top: 100px; right: -200px;
  backdrop-filter: blur(1px);
}

.services::after {
  width: 300px; height: 300px;
  background: rgba(59, 130, 246, .03);
  border: 1px solid rgba(59, 130, 246, .04);
  bottom: 50px; left: -150px;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header .section-sub {
  margin: 0 auto;
}

/* Flowing service items — NO cards */
.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 3rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  border-bottom: 1px solid rgba(10, 22, 40, .06);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), rgba(76, 201, 208, .15));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  min-width: 80px;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: .75rem;
}

.service-content p {
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.9;
  max-width: 700px;
  margin-bottom: 1rem;
}

/* Glass tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.service-tag {
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  background: rgba(76, 201, 208, .08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--teal-dark);
  border: 1px solid rgba(76, 201, 208, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: all var(--transition);
}

.service-tag:hover {
  background: rgba(76, 201, 208, .15);
  border-color: rgba(76, 201, 208, .25);
  transform: translateY(-1px);
}

/* ============================================
   STATS — Glass Panels on Dark
   ============================================ */
.stats {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(160deg, var(--navy), var(--navy-light), #0d1f3c);
  overflow: hidden;
}

/* Multiple floating orbs */
.stats-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.stats-orb--1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(76, 201, 208, .15) 0%, transparent 70%);
  top: -120px; right: -80px;
  filter: blur(50px);
}

.stats-orb--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, .1) 0%, transparent 70%);
  bottom: -100px; left: -60px;
  filter: blur(40px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 700px;
  margin: 0 auto;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Glass stat panels */
.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .1),
              inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: all var(--transition);
}

/* Top highlight refraction */
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 20%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
}

.stat-item:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(76, 201, 208, .15);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15),
              0 0 30px rgba(76, 201, 208, .05),
              inset 0 1px 0 rgba(255, 255, 255, .1);
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--teal);
  line-height: 1;
  margin-bottom: .5rem;
  text-shadow: 0 0 20px rgba(76, 201, 208, .3);
}

.stat-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ============================================
   CTA — Premium Glass Panel
   ============================================ */
.cta {
  padding: 6rem 0;
  background: #f0f6fa;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient blurred shapes */
.cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 208, .08) 0%, transparent 70%);
  top: -100px; left: -50px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  padding: 4.5rem 3rem;
  border-radius: 28px;
  overflow: hidden;

  /* Multi-layer glass */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .2));
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .4);
  box-shadow:
    0 24px 64px rgba(10, 22, 40, .06),
    0 4px 12px rgba(10, 22, 40, .03),
    inset 0 1px 0 rgba(255, 255, 255, .6),
    inset 0 -1px 0 rgba(255, 255, 255, .1);
}

/* Top-edge refraction */
.cta-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
  z-index: 1;
}

/* Bottom glow */
.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-inner .section-label {
  position: relative;
  z-index: 1;
}

.cta-inner .section-heading {
  position: relative;
  z-index: 1;
}

.cta-inner .section-sub {
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.cta-inner .btn {
  position: relative;
  z-index: 1;
}

/* ============================================
   FOOTER — Dark Glass
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  padding: 4rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 201, 208, .05) 0%, transparent 70%);
  bottom: -200px; right: -100px;
  pointer-events: none;
}

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

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand .nav-logo-text {
  color: var(--text-white);
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: .88rem;
  transition: color var(--transition);
  position: relative;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: .8rem;
  font-size: .88rem;
  line-height: 1.6;
}

.footer-contact .icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: .2rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: .8rem;
}

.footer-socials {
  display: flex;
  gap: .8rem;
}

/* Glass social icons */
.footer-socials a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .9rem;
  transition: all var(--transition);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.footer-socials a:hover {
  background: rgba(76, 201, 208, .15);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 0 20px rgba(76, 201, 208, .2),
              inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateY(-2px);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease-out, transform .7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---------- Tablets & small laptops ---------- */
@media (max-width: 1024px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-img-wrapper img {
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .services {
    padding: 4rem 0;
  }

  .stats {
    padding: 4rem 0;
  }
}

/* ---------- Tablets portrait & large phones ---------- */
@media (max-width: 768px) {
  /* Nav hamburger */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: rgba(10, 22, 40, .95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    padding-top: 80px;
    transition: right var(--transition);
    border-left: 1px solid rgba(255, 255, 255, .06);
    z-index: 999;
  }

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

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    color: var(--text-white) !important;
    font-size: 1.1rem;
  }

  .nav-logo-text {
    font-size: .8rem;
    max-width: 150px;
    line-height: 1.15;
  }

  .nav-logo-text span {
    font-size: .55rem;
    letter-spacing: 1px;
  }

  .nav-logo img {
    height: 36px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero {
    min-height: 100svh; /* safe viewport height for mobile browsers */
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: .95rem;
  }

  .hero-badge {
    font-size: .7rem;
    padding: .4rem 1rem;
  }

  /* About */
  .about {
    padding: 4rem 0 3rem;
  }

  .about-img-wrapper img {
    height: 280px;
  }

  .about-accent-box {
    right: 10px;
    bottom: -15px;
    padding: 1rem 1.4rem;
  }

  .about-accent-box .number {
    font-size: 1.6rem;
  }

  .about-accent-box .label {
    font-size: .7rem;
  }

  .about-highlights {
    flex-direction: column;
    gap: 1rem;
  }

  .about-text p:first-of-type::first-letter {
    font-size: 2.4rem;
  }

  /* Services */
  .service-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }

  .service-number {
    font-size: 2.5rem;
  }

  .service-content h3 {
    font-size: 1.3rem;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* CTA */
  .cta {
    padding: 4rem 0;
  }

  .cta-inner {
    padding: 3rem 1.5rem;
    border-radius: 20px;
  }

  .section-heading {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
  }
}

/* ---------- Small phones ---------- */
@media (max-width: 480px) {
  .container {
    width: 92%;
  }

  .hero-content {
    padding: 0 .75rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: .88rem;
    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;
    gap: .8rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: .8rem 1.5rem;
  }

  .about-img-wrapper img {
    height: 220px;
  }

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

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .service-content p {
    font-size: .92rem;
  }

  .service-tags {
    gap: .4rem;
  }

  .service-tag {
    font-size: .68rem;
    padding: .3rem .8rem;
  }

  .cta-inner {
    padding: 2.5rem 1.2rem;
  }

  .footer {
    padding: 3rem 0 0;
  }

  .footer-brand p {
    font-size: .82rem;
  }
}

/* ---------- Extra-small phones ---------- */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-badge {
    font-size: .65rem;
    padding: .35rem .8rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: .82rem;
  }

  .nav-logo img {
    height: 36px;
  }

  .nav-logo-text {
    font-size: .85rem;
  }

  .section-heading {
    font-size: 1.4rem;
  }

  .about-accent-box {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    display: inline-block;
  }
}

