@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter/inter-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/syne/syne-regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/syne/syne-semibold.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/syne/syne-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/syne/syne-extrabold.woff2') format('woff2');
}

:root {
  --color-primary: #00A5A8;
  --color-primary-dk: #007A7D;
  --color-accent: #F5A623;
  --color-red: #C0392B;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-text: #374151;
  --color-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-dark: #0D1B2A;
}

[data-theme="dark"] {
  --color-bg: #0A0F1A;
  --color-bg-alt: #111827;
  --color-surface: #1E293B;
  --color-text: #F1F5F9;
  --color-muted: #94A3B8;
  --color-border: #334155;
  --color-dark: #0A0F1A;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  color: var(--color-dark);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
  color: var(--color-text) !important; /* Override Tailwind compiled utilities */
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--color-primary-dk);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.15s;
  text-decoration: none;
}

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

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.15s;
  text-decoration: none;
}

.btn-accent:hover {
  opacity: 0.9;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card {
  background-color: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.15s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.container-custom {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.text-balance {
  text-wrap: balance;
}

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

img {
  max-width: 100%;
  height: auto;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Essential Tailwind Gray Classes */
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-800 { background-color: #1f2937; }
.bg-gray-900 { background-color: #111827; }
.bg-gray-950 { background-color: #030712; }
.bg-gray-900\/95 { background-color: rgba(17, 24, 39, 0.95); }
.bg-gray-950\/98 { background-color: rgba(3, 7, 18, 0.98); }

.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #1f2937; }
.text-gray-900 { color: #111827; }

.border-gray-200 { border-color: #e5e7eb; }
.border-gray-600 { border-color: #4b5563; }
.border-gray-800 { border-color: #1f2937; }
.border-gray-900 { border-color: #111827; }

/* Gradients */
.from-gray-50 { --tw-gradient-from: #f9fafb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0)); }
.via-gray-100 { --tw-gradient-stops: var(--tw-gradient-from), #f3f4f6, var(--tw-gradient-to, rgba(243, 244, 246, 0)); }
.from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0)); }
.via-gray-900\/95 { --tw-gradient-stops: var(--tw-gradient-from), rgba(17, 24, 39, 0.95), var(--tw-gradient-to, rgba(17, 24, 39, 0)); }

[data-theme="dark"] .dark\:bg-gray-700 { background-color: #374151; }
[data-theme="dark"] .dark\:bg-gray-800 { background-color: #1f2937; }
[data-theme="dark"] .dark\:bg-gray-900 { background-color: #111827; }
[data-theme="dark"] .dark\:bg-gray-950 { background-color: #030712; }
[data-theme="dark"] .dark\:bg-gray-950\/98 { background-color: rgba(3, 7, 18, 0.98); }

[data-theme="dark"] .dark\:text-gray-100 { color: #f3f4f6; }
[data-theme="dark"] .dark\:text-gray-300 { color: #d1d5db; }
[data-theme="dark"] .dark\:text-gray-400 { color: #9ca3af; }
[data-theme="dark"] .dark\:text-gray-500 { color: #6b7280; }

[data-theme="dark"] .dark\:border-gray-600 { border-color: #4b5563; }
[data-theme="dark"] .dark\:border-gray-800 { border-color: #1f2937; }
[data-theme="dark"] .dark\:border-none { border-style: none; }

[data-theme="dark"] .dark\:bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--tw-gradient-stops)); }
[data-theme="dark"] .dark\:from-gray-900 { --tw-gradient-from: #111827; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0)); }
[data-theme="dark"] .dark\:via-gray-900\/95 { --tw-gradient-stops: var(--tw-gradient-from), rgba(17, 24, 39, 0.95), var(--tw-gradient-to, rgba(17, 24, 39, 0)); }
[data-theme="dark"] .dark\:to-gray-900\/95 { --tw-gradient-to: rgba(17, 24, 39, 0.95); }

/* Additional dark mode utilities */
[data-theme="dark"] .dark\:text-white { color: #ffffff; }
[data-theme="dark"] .dark\:text-white\/70 { color: rgba(255, 255, 255, 0.7); }
[data-theme="dark"] .dark\:text-white\/60 { color: rgba(255, 255, 255, 0.6); }
[data-theme="dark"] .dark\:text-white\/40 { color: rgba(255, 255, 255, 0.4); }

[data-theme="dark"] .dark\:bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
[data-theme="dark"] .dark\:border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }

[data-theme="dark"] .dark\:brightness-0 { filter: brightness(0); }
[data-theme="dark"] .dark\:invert { filter: invert(1); }
[data-theme="dark"] .dark\:brightness-0.dark\:invert { filter: brightness(0) invert(1); }

/* ═══════════════════════════════════════════════
   GLOSSY HERO REDESIGN
═══════════════════════════════════════════════ */

/* Glossy hero base */
.hero-glossy {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg,
    #0D1B2A 0%,
    #0a2744 25%,
    #00373A 50%,
    #003B4A 75%,
    #0D1B2A 100%);
}

/* Animated gradient overlay */
.hero-glossy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 165, 168, 0.18) 0%,
    rgba(0, 165, 168, 0.04) 40%,
    rgba(245, 166, 35, 0.12) 70%,
    rgba(0, 165, 168, 0.10) 100%
  );
  animation: hero-gradient-shift 8s ease-in-out infinite alternate;
}

@keyframes hero-gradient-shift {
  0%   { opacity: 0.7; transform: scale(1) rotate(0deg); }
  100% { opacity: 1;   transform: scale(1.04) rotate(1deg); }
}

/* Glossy shine sweep */
.hero-glossy::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.06) 50%,
    transparent 60%
  );
  animation: hero-shine 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-shine {
  0%   { left: -60%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}

/* Floating decorative orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: hero-orb-float 7s ease-in-out infinite alternate;
}

.hero-orb-1 {
  width: 380px;
  height: 380px;
  top: -80px;
  right: -60px;
  background: radial-gradient(circle, rgba(0,165,168,0.35) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  bottom: -40px;
  left: -30px;
  background: radial-gradient(circle, rgba(245,166,35,0.22) 0%, transparent 70%);
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  top: 30%;
  left: 45%;
  background: radial-gradient(circle, rgba(0,165,168,0.18) 0%, transparent 70%);
  animation-delay: -1.5s;
}

@keyframes hero-orb-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, -30px) scale(1.08); }
}

/* Dot grid pattern overlay */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Glassmorphism content container */
.hero-glass-card {
  position: relative;
  z-index: 10;
  padding: 2.5rem 2rem;
}

/* Glassmorphism badge pill */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 165, 168, 0.18);
  border: 1px solid rgba(0, 165, 168, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 9999px;
  color: #5ee7e9;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00A5A8;
  box-shadow: 0 0 8px rgba(0,165,168,0.9);
  animation: badge-pulse 1.8s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Hero headline */
.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title-accent {
  background: linear-gradient(90deg, #00A5A8, #5ee7e9, #F5A623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subtitle */
.hero-subtitle {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 2rem;
}

/* Breadcrumb in glossy hero */
.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}

.hero-breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.hero-breadcrumb a:hover { color: #00A5A8; }
.hero-breadcrumb span.sep { opacity: 0.4; }
.hero-breadcrumb span.current { color: rgba(255,255,255,0.85); }

/* Glassmorphism stat pill strip */
.hero-stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border-radius: 9999px;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-stat-pill svg {
  color: #00A5A8;
  flex-shrink: 0;
}

/* Bottom fade into content */
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, #ffffff, transparent);
  pointer-events: none;
  z-index: 5;
}

[data-theme="dark"] .hero-bottom-fade {
  background: linear-gradient(to top, #030712, transparent);
}

/* ═══════════════════════════════════════════════
   NAVBAR REDESIGN — Glassmorphism
═══════════════════════════════════════════════ */

/* Base navbar: always fixed, smooth transitions */
.navbar-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.35s ease, backdrop-filter 0.35s ease,
              box-shadow 0.35s ease, border-color 0.35s ease;
  /* Default: glassmorphism over dark hero */
  background: rgba(13, 27, 42, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Scrolled state: solid, clean */
.navbar-glass.navbar-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

[data-theme="dark"] .navbar-glass.navbar-scrolled {
  background: rgba(10, 15, 26, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* Nav links — transparent state: always white */
.navbar-glass .nav-link {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.navbar-glass .nav-link:hover,
.navbar-glass .nav-link.active {
  color: #5ee7e9;
}

/* Nav links — scrolled state: dark on light, light on dark */
.navbar-glass.navbar-scrolled .nav-link {
  color: #1f2937;
}
.navbar-glass.navbar-scrolled .nav-link:hover,
.navbar-glass.navbar-scrolled .nav-link.active {
  color: #00A5A8;
}

[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-link {
  color: #f3f4f6;
}
[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-link:hover,
[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-link.active {
  color: #00A5A8;
}

/* Services button (inherits .nav-link) */
.navbar-glass .nav-services-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-glass .nav-services-btn:hover { color: #5ee7e9; }

.navbar-glass.navbar-scrolled .nav-services-btn { color: #1f2937; }
.navbar-glass.navbar-scrolled .nav-services-btn:hover { color: #00A5A8; }

[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-services-btn { color: #f3f4f6; }
[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-services-btn:hover { color: #00A5A8; }

/* Theme toggle icon — white in transparent, gray when scrolled */
.navbar-glass .nav-icon {
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.navbar-glass.navbar-scrolled .nav-icon {
  color: #4b5563;
}
[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-icon {
  color: #d1d5db;
}

/* Mobile hamburger icon */
.navbar-glass .nav-toggle-icon {
  color: rgba(255,255,255,0.9);
}
.navbar-glass.navbar-scrolled .nav-toggle-icon {
  color: #1f2937;
}
[data-theme="dark"] .navbar-glass.navbar-scrolled .nav-toggle-icon {
  color: #f3f4f6;
}

/* ═══════════════════════════════════════════════
   BRAND PILLARS STRIP — Premium Feature Bar
═══════════════════════════════════════════════ */

.brand-pillars-section {
  position: relative;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 40%, #0a1a2e 70%, #061220 100%);
  padding: 0;
  overflow: hidden;
}

.brand-pillars-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(0,165,168,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.brand-pillars-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.brand-pillar {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2.25rem 2rem;
  position: relative;
  cursor: default;
  transition: background 0.3s ease;
}

.brand-pillar:hover {
  background: rgba(0, 165, 168, 0.07);
}

.brand-pillar-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,165,168,0.2) 0%, rgba(0,165,168,0.06) 100%);
  border: 1px solid rgba(0,165,168,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00d4d8;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0,165,168,0);
}

.brand-pillar:hover .brand-pillar-icon {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(0,165,168,0.32) 0%, rgba(0,165,168,0.12) 100%);
  box-shadow: 0 8px 24px rgba(0,165,168,0.2);
}

.brand-pillar-body {
  flex: 1;
}

.brand-pillar-title {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.3rem 0;
  letter-spacing: -0.01em;
}

.brand-pillar-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin: 0;
}

.brand-pillar-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0.1) 70%, transparent);
  align-self: stretch;
  margin: 0.5rem 0;
}

/* Responsive: stack on mobile */
@media (max-width: 767px) {
  .brand-pillars-grid {
    flex-direction: column;
  }
  .brand-pillar-divider {
    width: auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1) 30%, rgba(255,255,255,0.1) 70%, transparent);
    margin: 0 1.5rem;
  }
  .brand-pillar {
    padding: 1.5rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════════
   DARK MODE — Global Visibility Fixes
═══════════════════════════════════════════════ */

/* bg-white base (needed so dark override can override it) */
.bg-white { background-color: #ffffff; }

/* Dark mode: flip white & light sections to dark surfaces */
[data-theme="dark"] .bg-white           { background-color: #030712; }
[data-theme="dark"] .bg-gray-50         { background-color: #0f172a; }
[data-theme="dark"] .bg-gray-100        { background-color: #111827; }

/* Card in dark mode uses CSS var (--color-surface = #1E293B) */
[data-theme="dark"] .card {
  background-color: #1e293b;
}

/* Headings inside cards — ensure full visibility in dark mode */
[data-theme="dark"] .card h2,
[data-theme="dark"] .card h3,
[data-theme="dark"] .card h4 {
  color: #f1f5f9;
}

/* bg-gray-800 panels/cards headings */
[data-theme="dark"] .bg-gray-800 h2,
[data-theme="dark"] .bg-gray-800 h3,
[data-theme="dark"] .bg-gray-800 h4 {
  color: #f1f5f9;
}

/* Section-level white bg explicit override */
[data-theme="dark"] section.bg-white {
  background-color: #030712;
}

/* Hover states */
[data-theme="dark"] .dark\:hover\:bg-gray-700:hover { background-color: #374151; }
[data-theme="dark"] .dark\:hover\:bg-primary:hover   { background-color: var(--color-primary); }
