/* ============================================================
   Harvard Sumida Financial Advisory — Modernized Styles
   UX improvements: professional palette, cleaner hierarchy,
   better accessibility, smoother animations
   ============================================================ */

/* ---------- Color System ---------- */
:root {
  /* Primary — deep navy (trust, stability) */
  --color-navy:        #0F1B2D;
  --color-navy-light:  #1A2D47;

  /* Accent — warm gold (premium, approachable) */
  --color-gold:        #C8963E;
  --color-gold-light:  #E2B86A;
  --color-gold-dark:   #A67A2E;

  /* Neutrals */
  --color-white:       #FFFFFF;
  --color-off-white:   #F8F9FB;
  --color-gray-50:     #F3F4F6;
  --color-gray-100:    #E5E7EB;
  --color-gray-200:    #D1D5DB;
  --color-gray-400:    #9CA3AF;
  --color-gray-500:    #6B7280;
  --color-gray-600:    #4B5563;
  --color-gray-700:    #374151;
  --color-gray-800:    #1F2937;

  /* Hawaii-inspired semantic colors */
  --color-ocean:       #0077B6;
  --color-ocean-light: #00B4D8;
  --color-ocean-deep:  #023E8A;
  --color-sunset:      #E76F51;
  --color-sunset-light:#F4A261;
  --color-foliage:     #2D6A4F;
  --color-foliage-light:#52B788;
  --color-sand:        #F5E6CC;
  --color-sand-light:  #FFF8F0;
  --color-success:     #059669;
  --color-success-bg:  #ECFDF5;
  --color-error:       #DC2626;
  --color-error-bg:    #FEF2F2;

  /* Shorthand aliases for backward compat */
  --ocean-deep:        var(--color-navy);
  --ocean-teal:        var(--color-navy-light);
  --sunset-gold:       var(--color-gold);
  --sunset-coral:      var(--color-gold);
  --foliage:           var(--color-success);
  --sand:              var(--color-off-white);
  --text-dark:         var(--color-navy);
  --text-muted:        var(--color-gray-500);

  /* Spacing scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15, 27, 45, 0.06), 0 1px 2px rgba(15, 27, 45, 0.04);
  --shadow-md:  0 4px 12px rgba(15, 27, 45, 0.07), 0 2px 6px rgba(15, 27, 45, 0.04);
  --shadow-lg:  0 12px 36px rgba(15, 27, 45, 0.1), 0 4px 12px rgba(15, 27, 45, 0.05);
  --shadow-xl:  0 20px 50px rgba(15, 27, 45, 0.12), 0 8px 20px rgba(15, 27, 45, 0.06);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-normal: 250ms;
  --duration-slow: 400ms;
}

/* ---------- Base / Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Skip to content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 10000;
  padding: var(--space-sm) var(--space-lg);
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  color: var(--color-white);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top var(--duration-normal) var(--ease-out);
}
.skip-link:focus {
  top: var(--space-md);
  outline: 3px solid var(--color-ocean-deep);
  outline-offset: 2px;
}

/* Focus-visible */
:focus-visible {
  outline: 3px solid var(--color-ocean-light);
  outline-offset: 2px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

a { color: var(--color-gold-dark); transition: color var(--duration-normal) var(--ease-out); }
a:hover { color: var(--color-gold); }

/* ---------- Container ---------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
}
@media (max-width: 767.98px) {
  .container { padding-left: var(--space-lg); padding-right: var(--space-lg); }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  padding: var(--space-md) 0;
  transition: all var(--duration-slow) var(--ease-out);
  background: transparent;
  z-index: 1050;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  padding: 0.6rem 0;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white) !important;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.navbar.scrolled .navbar-brand { color: var(--text-dark) !important; }

.navbar-brand img {
  height: 40px;
  width: auto;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
}
/* Logo container for transparent navbar — gives white-bg logo something to blend with */
.navbar:not(.scrolled) .navbar-brand img {
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 6px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.navbar.scrolled .navbar-brand img {
  background: rgba(2, 62, 138, 0.06);
  padding: 4px 6px;
}
.navbar.scrolled .navbar-brand span {
  background: linear-gradient(135deg, var(--color-ocean-deep), var(--color-ocean));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navbar-brand span {
  background: linear-gradient(135deg, var(--color-ocean-light), var(--color-ocean));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1rem !important;
  transition: color var(--duration-normal) var(--ease-out);
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--color-gray-600) !important; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--color-ocean-light) !important; }

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-ocean-light);
  border-radius: 1px;
}

/* Nav CTA button */
.btn-nav-cta {
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  border: none;
  color: var(--color-white) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 2px 10px rgba(0, 119, 182, 0.3);
  margin-left: var(--space-sm);
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.4);
  color: var(--color-white) !important;
  background: linear-gradient(135deg, var(--color-ocean-deep), var(--color-ocean)) !important;
}

/* Toggler */
.navbar-toggler { border: none; padding: 0.4rem; border-radius: var(--radius-sm); }
.navbar.scrolled .navbar-toggler { border-color: var(--color-gray-200); }
.navbar-toggler:focus { box-shadow: none; outline: 2px solid var(--color-gold); outline-offset: 2px; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 27, 45, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--color-navy);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-md);
    box-shadow: var(--shadow-xl);
  }
  .navbar.scrolled .navbar-collapse { background: var(--color-white); }
  .navbar-collapse .nav-link { color: rgba(255,255,255,0.85) !important; padding: 0.75rem 1rem !important; }
  .navbar.scrolled .navbar-collapse .nav-link { color: var(--color-gray-600) !important; }
  .btn-nav-cta { margin-left: 0; margin-top: var(--space-sm); width: 100%; text-align: center; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  border: none;
  color: var(--color-white);
  padding: 0.85rem 2.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 119, 182, 0.35);
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-ocean-deep), var(--color-ocean));
}
.btn-primary-custom:active { transform: translateY(0); }

.btn-outline-custom {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--color-white);
  padding: 0.85rem 2.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}
.btn-outline-custom:hover {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: linear-gradient(160deg, var(--color-ocean-deep) 0%, var(--color-navy) 35%, var(--color-navy-light) 65%, #1E4A6B 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
}

/* Subtle wave pattern overlay */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 75% 25%, rgba(244, 162, 97, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 500px 500px at 15% 70%, rgba(0, 119, 182, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.25);
  color: var(--color-foliage-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}
.hero-badge i { font-size: 0.7rem; }

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-2xl);
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

/* Social proof bar */
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(0, 180, 216, 0.12);
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
}
.hero-proof-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}
.hero-proof-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* Hero image area */
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-image-card {
  background: rgba(0, 180, 216, 0.04);
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(8px);
}
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--color-ocean-deep), #1A3A5C, var(--color-navy-light));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}
.hero-image-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 180, 216, 0.06), transparent);
}
.hero-image-placeholder i {
  font-size: 3rem;
  color: rgba(0, 180, 216, 0.3);
  position: relative;
  z-index: 1;
}
.hero-image-placeholder span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Floating trust badges */
.hero-trust-badges {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  backdrop-filter: blur(4px);
}
.trust-badge i {
  color: var(--color-ocean-light);
  font-size: 1.1rem;
}
.trust-badge span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .hero-section { padding: 7rem 0 4rem; min-height: auto; }
  .hero-proof { gap: var(--space-xl); flex-wrap: wrap; }
  .hero-visual { margin-top: var(--space-3xl); }
}
@media (max-width: 767.98px) {
  .hero-section { padding: 6rem 0 3rem; }
  .hero-title { font-size: 2.25rem; }
  .hero-proof { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}

/* ============================================================
   SECTIONS (general)
   ============================================================ */
.section-padding { padding: var(--space-4xl) 0; position: relative; }
.section-light {
  background: var(--color-sand-light);
  /* Subtle tropical pattern */
  background-image:
    radial-gradient(ellipse 300px 200px at 10% 20%, rgba(244, 162, 97, 0.03) 0%, transparent 100%),
    radial-gradient(ellipse 400px 300px at 90% 80%, rgba(0, 180, 216, 0.03) 0%, transparent 100%);
}

/* Wave divider between sections */
.section-wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 50px;
  pointer-events: none;
  z-index: 1;
}
.section-light .section-wave-top {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23F8F9FB' fill-opacity='0.6' d='M0,20 C480,50 960,0 1440,20 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center top / cover no-repeat;
}
.cta-section .section-wave-top {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23023E8A' fill-opacity='0.8' d='M0,20 C480,50 960,0 1440,20 L1440,0 L0,0 Z'/%3E%3C/svg%3E") center top / cover no-repeat;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-3xl);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-foliage);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.section-label::before,
.section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-foliage-light);
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Accent line (legacy compat) */
.accent-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-sunset), var(--color-sunset-light), var(--color-gold-light));
  margin-bottom: var(--space-lg);
  border-radius: 2px;
}
.accent-line-center { margin-left: auto; margin-right: auto; }

/* ============================================================
   SERVICES CARDS
   ============================================================ */
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-normal) var(--ease-out);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}
.service-icon svg,
.service-icon i {
  width: 22px;
  height: 22px;
  fill: var(--color-white);
  font-size: 1.1rem;
  color: var(--color-white);
}

.service-card h5 {
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}
.service-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Service card detail layout (services.html) */
.service-card-detail {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--duration-normal) var(--ease-out);
  height: 100%;
}
.service-card-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gray-200);
}
.service-card-detail h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}
.service-card-detail .card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}
.service-card-detail ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-card-detail ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.service-card-detail ul li i {
  color: var(--color-ocean);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-content { display: flex; flex-direction: column; gap: var(--space-md); }

.feature-check {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}
.feature-check .check-icon {
  width: 24px;
  height: 24px;
  background: rgba(82, 183, 136, 0.12);
  border: 1px solid rgba(82, 183, 136, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-check .check-icon i {
  color: var(--color-foliage);
  font-size: 0.75rem;
}
.feature-check span {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.stat-box {
  background: var(--color-sand-light);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}
.stat-box:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-sunset), var(--color-sunset-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-xs);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  height: 100%;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-card .quote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  position: relative;
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-foliage-light);
}
.testimonial-card .stars {
  color: var(--color-sunset-light);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
  display: flex;
  gap: 2px;
}
.testimonial-card .client-name {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0;
  font-size: 0.95rem;
}
.testimonial-card .client-role {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--color-ocean-deep) 0%, var(--color-navy) 50%, #1A3A5C 100%);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 400px at 20% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 400px 300px at 80% 80%, rgba(244, 162, 97, 0.06) 0%, transparent 100%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  color: var(--color-white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.cta-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-card {
  background: linear-gradient(160deg, var(--color-ocean-deep) 0%, var(--color-navy) 60%, #1A3A5C 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  color: var(--color-white);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-info-card h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
  position: relative;
}
.contact-info-card > p {
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-2xl);
  position: relative;
  font-size: 0.95rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  position: relative;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon i {
  font-size: 1.1rem;
  color: var(--color-ocean-light);
}
.contact-detail-text h6 {
  color: var(--color-white);
  font-weight: 600;
  margin-bottom: 0.15rem;
  font-size: 0.85rem;
}
.contact-detail-text p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  height: 100%;
}
.contact-form-card h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}
.contact-form-card > p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  font-size: 0.95rem;
}

/* Form controls */
.form-label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}
.form-control,
.form-select {
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  transition: all var(--duration-normal) var(--ease-out);
  background: var(--color-white);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--color-ocean-light);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
}
.form-control::placeholder {
  color: var(--color-gray-400);
}

.form-check-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-gray-100);
}
.legal-content h3 {
  font-size: 1.1rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-ocean);
}
.legal-content p,
.legal-content li {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}
.legal-content ul {
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}
.legal-content li {
  margin-bottom: var(--space-xs);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--color-ocean-deep), var(--color-navy), #1A3A5C);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.about-image-placeholder::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 10%;
  width: 60px;
  height: 60px;
  border: 2px solid rgba(0, 180, 216, 0.1);
  border-radius: 50%;
}
.about-image-placeholder::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 180, 216, 0.08), transparent);
}
.about-image-placeholder i {
  font-size: 3.5rem;
  color: rgba(0, 180, 216, 0.3);
  position: relative;
  z-index: 1;
}
.about-image-placeholder p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.35);
  margin-top: var(--space-md);
  font-size: 0.85rem;
}

.about-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}
.about-stats .stat-item {
  text-align: center;
}
.about-stats .stat-number {
  font-size: 1.75rem;
}
.about-stats .stat-label {
  font-size: 0.75rem;
}

/* Credential circles */
.credential-circle {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
}
.credential-circle i {
  font-size: 1.4rem;
  color: var(--color-white);
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  background: linear-gradient(160deg, var(--color-ocean-deep) 0%, var(--color-navy) 40%, var(--color-navy-light) 70%, #1E4A6B 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 60% 40%, rgba(0, 180, 216, 0.06) 0%, transparent 100%),
    radial-gradient(ellipse 400px 250px at 30% 70%, rgba(244, 162, 97, 0.04) 0%, transparent 100%);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 180, 216, 0.25), transparent);
}
.page-header h1 {
  color: var(--color-white);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 2;
}
.page-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--color-ocean-deep) 0%, var(--color-navy) 40%, #0A1520 100%);
  padding: var(--space-4xl) 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-ocean-light), transparent);
}

.footer-brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}
.footer-brand span {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer h6 {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--duration-normal) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}
.footer-links a:hover {
  color: var(--color-ocean-light);
  transform: translateX(3px);
}
.footer-links li i {
  font-size: 0.75rem;
  color: var(--color-ocean-light);
  margin-right: var(--space-xs);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-xl) 0;
  margin-top: var(--space-3xl);
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  margin-bottom: 0;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-ocean), var(--color-ocean-light));
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
  z-index: 1000;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--color-ocean-deep), var(--color-ocean));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .section-padding { padding: var(--space-3xl) 0; }
  .stats-grid { gap: var(--space-md); }
  .about-stats { gap: var(--space-lg); }
}

@media (max-width: 767.98px) {
  .section-padding { padding: var(--space-2xl) 0; }
  .cta-section { padding: var(--space-3xl) 0; }
  .contact-info-card,
  .contact-form-card { padding: var(--space-xl); }
  .about-image-placeholder { aspect-ratio: 4/3; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   FAQ SECTION (SEO Rich Snippets)
   ============================================================ */
.faq-list {
  border-left: 3px solid var(--color-ocean-light);
}
.faq-item {
  padding-left: var(--space-lg);
}
.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.faq-answer {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .scroll-to-top { bottom: 1rem; right: 1rem; width: 40px; height: 40px; }
}
