:root {
  --primary-color: #0d47a1; /* Deep Sapphire Blue */
  --primary-dark: #072b6b;
  --secondary-color: #0284c7; /* Ocean Cyan */
  --accent-color: #00b4d8; /* Bright Cyan Highlight */
  --gold-accent: #f59e0b; /* Trust Gold Stars */
  --dark-bg: #0f172a; /* Slate Midnight Dark */
  --dark-card: #1e293b;
  --light-bg: #f8fafc; /* Clean Light Sky */
  --white: #ffffff;
  
  --text-main: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --text-light: #94a3b8; /* Slate 400 */
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --spacing-xxl: 8rem;

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 24px -4px rgba(13, 71, 161, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(13, 71, 161, 0.16), 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  --shadow-glass: 0 20px 40px rgba(0, 0, 0, 0.25);
  --glow-primary: 0 8px 25px rgba(13, 71, 161, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); margin-bottom: var(--spacing-sm); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin-bottom: var(--spacing-xs); }
h4 { font-size: 1.2rem; font-weight: 700; }
p { margin-bottom: var(--spacing-md); color: var(--text-muted); font-size: 1.125rem; }

.text-center { text-align: center; }
.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  background: rgba(2, 132, 199, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: var(--spacing-sm);
  border: 1px solid rgba(2, 132, 199, 0.15);
}

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mt-2 { margin-top: var(--spacing-md); }

/* Layout & Containers */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-light { background-color: var(--light-bg); }
.section-dark { 
  background-color: var(--dark-bg); 
  color: var(--white); 
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: #cbd5e1; }

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  gap: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(13, 71, 161, 0.45);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--light-bg);
  transform: translateY(-3px);
  color: var(--primary-dark);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* Glass Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.site-header.scrolled .brand-logo-img {
  height: 44px;
}

.main-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.menu-link {
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding: 6px 0;
}

.site-header.scrolled .menu-link {
  color: var(--text-main);
}

.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.menu-link:hover::after, .menu-link.active::after {
  width: 100%;
}

.menu-link:hover, .menu-link.active {
  color: var(--accent-color);
}

.site-header.scrolled .menu-link:hover, .site-header.scrolled .menu-link.active {
  color: var(--primary-color);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s ease;
}

.site-header.scrolled .menu-toggle {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--spacing-xxl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(13, 71, 161, 0.65) 60%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 820px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  max-width: 660px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: var(--spacing-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stars {
  color: var(--gold-accent);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.trust-badge p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

/* Inner Heroes */
.hero-inner {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: var(--spacing-lg);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.hero-inner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(13, 71, 161, 0.8) 100%);
  z-index: 1;
}

.hero-inner-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
}

.hero-inner-content h1 {
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}

.hero-inner-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Stats Counter Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-md);
  text-align: center;
}

.stat-item {
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-item h3 {
  font-size: 3.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.stat-item p {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Service Cards & Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.card-img-wrapper {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(13, 71, 161, 0.9);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
  letter-spacing: 0.5px;
}

.card-body {
  padding: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
}

.card-link:hover {
  color: var(--secondary-color);
  gap: 15px;
}

/* Split Sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--spacing-xl);
}

.split-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.split-img-wrapper:hover .split-img {
  transform: scale(1.03);
}

.blockquote {
  font-size: 1.35rem;
  font-style: italic;
  color: var(--text-main);
  border-left: 4px solid var(--secondary-color);
  padding-left: var(--spacing-md);
  margin: var(--spacing-md) 0;
  line-height: 1.6;
}

/* Checklists */
.service-checklist {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.service-checklist li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 14px;
  font-size: 1.1rem;
  font-weight: 500;
}

.service-checklist li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--secondary-color);
  font-size: 1.25rem;
}

/* Process Grid (Step by Step) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
}

.process-step {
  position: relative;
  padding: var(--spacing-md);
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.process-icon {
  width: 86px;
  height: 86px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.08), rgba(2, 132, 199, 0.15));
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto var(--spacing-sm);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

/* Ticker Tape */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, var(--dark-bg) 0%, var(--primary-dark) 50%, var(--dark-bg) 100%);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.ticker-item span {
  color: var(--gold-accent);
  font-size: 1.2rem;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Dynamic CTA Banners */
.dynamic-cta {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  background-size: cover;
  background-position: center;
  margin: 0 var(--spacing-md);
  transform: translateY(60px);
  z-index: 10;
}

.dynamic-cta-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(13, 71, 161, 0.85) 100%);
  z-index: 1;
}

.dynamic-cta-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 750px;
  margin: 0 auto;
}

.dynamic-cta-content h2, .dynamic-cta-content p {
  color: var(--white);
}

/* Footer */
.site-footer {
  background-color: #0b132b;
  color: var(--white);
  padding: calc(var(--spacing-xl) + 80px) 0 var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.25rem;
  position: relative;
}

.footer-col p, .footer-col a {
  color: #94a3b8;
  font-size: 1.05rem;
}

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

.footer-col ul li {
  margin-bottom: 0.85rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: var(--spacing-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--spacing-md);
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1.05rem;
  transition: all 0.3s ease;
  background-color: var(--white);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.12);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .split-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  .main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
  }
  
  .main-menu.is-open {
    transform: translateY(0);
  }
  
  .main-menu .menu-link {
    font-size: 1.85rem;
    color: var(--white) !important;
    margin: 10px 0;
  }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; }
  .dynamic-cta { margin: 0 var(--spacing-sm); padding: var(--spacing-lg) var(--spacing-sm); }
}
