/* ==========================================================================
   CoralLeap – IT & Digital Solutions Agency
   Full-Width Edge-to-Edge Layout (No Boxed Framing)
   Color Palette: Cream (#FAF7F2), Pure White (#FFFFFF), Deep Navy (#0F1B2D),
                  Coral Accents (#E04A32) & Coral Buttons (#FF7A68)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Layout Dimensions */
  --header-height: 79px;

  /* Core Brand Palette */
  --color-page-bg: #FAF7F2;         /* Main page background (Cream) */
  --color-white-bg: #FFFFFF;        /* Pure White services & card surfaces */
  --color-navy: #0F1B2D;            /* Deep Navy headings, text, contact & footer */
  --color-text-primary: #0F1B2D;    /* Deep Navy main text */
  --color-text-secondary: #2A3B52;  /* Deep Navy muted for body text */
  --color-navy-light: #E2E8F0;      /* Crisp light text on dark navy backgrounds */
  
  --color-coral-accent: #E04A32;    /* Coral for text, labels, icons & accents */
  --color-coral-btn: #FF7A68;       /* Coral for primary action buttons */
  --color-coral-tint: #FCECE8;      /* Subtle coral tint for pills & badges */
  
  --color-border-subtle: rgba(15, 27, 45, 0.1);
  --color-border-hover: rgba(224, 74, 50, 0.4);
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Radii */
  --radius-card: 18px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(15, 27, 45, 0.05);
  --shadow-md: 0 12px 32px -10px rgba(15, 27, 45, 0.1), 0 4px 12px -4px rgba(15, 27, 45, 0.04);
  --shadow-lg: 0 20px 45px -15px rgba(15, 27, 45, 0.16);
  
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-page-bg);
  color: var(--color-text-primary);
  line-height: 1.55;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Full-Width Edge-to-Edge Site Container (No Boxed Container)
   -------------------------------------------------------------------------- */
.site-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--color-page-bg);
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow-x: clip;
}

/* --------------------------------------------------------------------------
   Navigation Bar (100% Full-Width Edge-to-Edge)
   -------------------------------------------------------------------------- */
.navbar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  background-color: rgba(250, 247, 242, 0.96);
  border-bottom: 1px solid rgba(15, 27, 45, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 8px 28px rgba(15, 27, 45, 0.06);
  background-color: rgba(250, 247, 242, 0.98);
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-navy);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  transition: opacity 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.9;
}

.brand-logo svg,
.brand-logo img,
.brand-logo-img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 27, 45, 0.22));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}

.brand-logo:hover svg,
.brand-logo:hover img,
.brand-logo:hover .brand-logo-img {
  transform: scale(1.08);
  filter: drop-shadow(0 3px 8px rgba(224, 74, 50, 0.25));
}

.brand-name {
  font-weight: 800;
  color: var(--color-navy);
}

/* Center Pill Capsule (Search Bar) */
.nav-search-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  height: 38px;
  padding: 0 16px;
  width: 270px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-search-pill:hover {
  border-color: var(--color-coral-btn);
  box-shadow: var(--shadow-sm);
}

.search-icon {
  width: 15px;
  height: 15px;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.search-placeholder {
  font-size: 13px;
  color: var(--color-text-secondary);
  font-weight: 400;
  flex: 1;
}

.search-shortcut {
  font-size: 11px;
  color: var(--color-text-secondary);
  background: var(--color-page-bg);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--color-border-subtle);
}

/* Right Navigation Menu & CTA */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
}

.nav-link {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--color-coral-accent);
  background-color: rgba(224, 74, 50, 0.08);
}

.nav-link.active {
  color: var(--color-coral-accent);
  background-color: var(--color-coral-tint);
}

/* Primary Coral Action Buttons */
.btn-cta-dark,
.btn-hero-primary,
.form-submit-btn,
.btn-service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-coral-btn);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-cta-dark:hover,
.btn-hero-primary:hover,
.form-submit-btn:hover,
.btn-service-action:hover {
  background-color: var(--color-coral-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 74, 50, 0.28);
}

.btn-hero-primary {
  padding: 14px 28px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Page Header (Inner Pages: About, Services, Projects, Contact)
   -------------------------------------------------------------------------- */
.page-header-section {
  width: 100%;
  padding: 64px 5% 52px;
  background-color: var(--color-page-bg);
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
}

.page-header-content {
  max-width: 760px;
}

.page-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-coral-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.page-header-content .page-breadcrumb {
  animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.page-breadcrumb a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
  color: var(--color-coral-accent);
}

.page-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--color-navy);
  margin-bottom: 16px;
}

.page-header-content .page-title {
  animation: fadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.page-subtitle {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.page-header-content .page-subtitle {
  animation: fadeSlideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

/* --------------------------------------------------------------------------
   Section: Hero (Faithful Recreation of CoralLeap Hero Reference)
   -------------------------------------------------------------------------- */
.brand-hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(180deg, #FDFBF9 0%, #FAF6F0 50%, #F8F2E8 100%);
  overflow: hidden;
  padding: 0 4%;
  box-sizing: border-box;
}

/* Background Flowing Wave Layer (Subordinate, aria-hidden, pointer-events none) */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-wave-svg {
  position: absolute;
  top: -3%;
  left: -3%;
  width: 106%;
  height: 106%;
  animation: heroWaveDrift 20s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroWaveDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(1.2%, -1%, 0) scale(1.012);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Hero Content Stack */
.hero-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1672px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Center the entire text group approximately 43% down from the top of the hero viewport */
  margin-top: max(24px, calc(43vh - var(--header-height) - clamp(65px, 8.5vw, 135px)));
  margin-top: max(24px, calc(43dvh - var(--header-height) - clamp(65px, 8.5vw, 135px)));
  padding-bottom: 0;
}

/* 1. Introductory Line: WELCOME TO */
.hero-intro-label {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(14px, 2.39vw, 40px);
  font-weight: 500;
  letter-spacing: clamp(3px, 0.48vw, 8.5px);
  text-transform: uppercase;
  color: #374151; /* Dark charcoal */
  line-height: 1;
  margin: 0 0 clamp(20px, 4.4vw, 74px) 0;
  opacity: 0;
  transform: translateY(10px);
  animation: heroIntroFadeIn 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

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

/* 2. Oversized Wordmark: CORALLEAP */
.hero-wordmark-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 clamp(16px, 3.29vw, 55px) 0;
}

.hero-wordmark-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(34px, 13.35vw, 222px);
  font-weight: 550; /* Medium weight */
  line-height: 0.95;
  letter-spacing: clamp(1.2px, 0.35vw, 6px);
  color: #0A0D14; /* Solid near-black */
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  user-select: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.hero-wordmark-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  animation: heroWordmarkFloat 8s ease-in-out infinite 1.35s;
  will-change: transform;
}

.letter-reveal-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1;
  padding-top: 2px;
  padding-bottom: 4px;
}

.letter-char {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  animation: heroLetterRise 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.18s + (var(--i) * 38ms));
  will-change: transform, opacity;
}

.letter-char.wordmark-accent {
  color: #E04A32; /* Orange from the navbar logo */
}

@keyframes heroLetterRise {
  0% {
    opacity: 0;
    transform: translateY(115%);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroWordmarkFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* 3. Tagline: Your Vision. Our Digital Expertise. */
.hero-tagline {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(16px, 2.87vw, 48px);
  font-weight: 400; /* Regular weight */
  letter-spacing: clamp(-0.2px, -0.01em, 0.2px);
  color: #374151; /* Dark charcoal */
  line-height: 1.25;
  margin: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: heroTaglineFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

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

/* --------------------------------------------------------------------------
   Hero Liquid Glass CTA Button (Lower Position)
   -------------------------------------------------------------------------- */
.hero-cta-wrap {
  position: absolute;
  top: calc(76vh - var(--header-height));
  top: calc(76dvh - var(--header-height));
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  max-width: 90%;
  opacity: 0;
  animation: heroCtaFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

@keyframes heroCtaFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 14px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 58px;
  padding: 8px 10px 8px 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.38) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.2px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px 0 rgba(255, 255, 255, 0.45),
    0 20px 42px -8px rgba(224, 74, 50, 0.28),
    0 8px 20px rgba(15, 27, 45, 0.05);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, background 0.35s ease;
  user-select: none;
  -webkit-user-select: none;
}

.hero-glass-btn:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.48) 100%);
  box-shadow: 
    inset 0 1.5px 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px 0 rgba(255, 255, 255, 0.55),
    0 24px 48px -6px rgba(224, 74, 50, 0.36),
    0 10px 24px rgba(15, 27, 45, 0.08);
}

.hero-glass-btn:active {
  transform: translateY(0) scale(0.99);
  box-shadow: 
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.8),
    0 12px 24px -4px rgba(224, 74, 50, 0.24);
}

.glass-btn-text {
  font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.015em;
  white-space: nowrap;
  margin-right: 18px;
}

.glass-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(15, 27, 45, 0.06);
  color: var(--color-navy);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
}

.hero-glass-btn:hover .glass-btn-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.8);
}

@media (max-height: 560px) {
  .brand-hero-section {
    min-height: auto;
    padding-bottom: 70px;
  }
  .hero-content-wrap {
    margin-top: 24px;
  }
  .hero-cta-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 32px auto 16px;
    animation: none;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Scroll Reveal & Scroll Effects
   -------------------------------------------------------------------------- */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-up.reveal-settled {
  transition: none !important;
  transform: none !important;
  will-change: auto;
}

/* Navbar Reading Scroll Progress Bar */
.navbar-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-coral-accent), var(--color-coral-btn));
  transition: width 0.08s linear;
  z-index: 60;
  pointer-events: none;
}

/* Hero Scroll Down Cue */
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 10;
  opacity: 0;
  animation: heroScrollCueFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.4s forwards;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  user-select: none;
}

.hero-scroll-cue.scrolled-out {
  opacity: 0 !important;
  transform: translate(-50%, 10px) !important;
}

.scroll-cue-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid rgba(15, 27, 45, 0.25);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
}

.scroll-cue-dot {
  width: 3px;
  height: 6px;
  background-color: var(--color-coral-accent);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  animation: scrollCueWheel 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.scroll-cue-text {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: 0.65;
}

@keyframes scrollCueWheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 0;
    transform: translateY(11px);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes heroScrollCueFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro-label,
  .hero-wordmark-title,
  .hero-wordmark-inner,
  .letter-char,
  .hero-tagline,
  .hero-wave-svg,
  .hero-scroll-cue,
  .scroll-cue-dot,
  .navbar-scroll-progress,
  .page-header-content .page-breadcrumb,
  .page-header-content .page-title,
  .page-header-content .page-subtitle {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .site-container .reveal-up,
  .site-container .reveal-up:not(.reveal-settled) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Section: Who We Are (Compact Editorial Intro)
   -------------------------------------------------------------------------- */
.who-we-are-section {
  width: 100%;
  padding: 76px 5%;
  background-color: var(--color-white-bg);
  border-top: 1px solid var(--color-border-subtle);
}

.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
}

.who-we-are-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.who-we-are-heading {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--color-navy);
  margin: 0;
}

.who-we-are-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 4px;
}

.who-we-are-desc {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0 0 20px 0;
}

.who-we-are-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-coral-accent);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.who-we-are-link:hover {
  color: var(--color-coral-btn);
  transform: translateX(3px);
}

.who-we-are-link .link-arrow {
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.who-we-are-link:hover .link-arrow {
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Section: What We Do / Services Preview (Pure White #FFFFFF)
   -------------------------------------------------------------------------- */
.what-we-do-section {
  width: 100%;
  padding: 76px 5%;
  background-color: var(--color-white-bg);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.what-we-do-section .section-header-block {
  margin-bottom: 0;
}

.section-header-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-coral-accent);
  margin-bottom: 10px;
}

.section-heading-large {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-navy);
}

.section-quote-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-preview-card {
  background-color: var(--color-white-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.service-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-coral-btn);
  box-shadow: var(--shadow-md);
}

.service-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: var(--color-coral-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-accent);
  margin-bottom: 22px;
  transition: var(--transition-smooth);
}

.service-preview-card:hover .service-card-icon {
  background-color: var(--color-coral-btn);
  color: #FFFFFF;
}

.service-card-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.service-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-coral-accent);
  transition: gap 0.2s ease;
}

.service-preview-card:hover .service-card-arrow {
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Section: About CoralLeap Preview (Cream #FAF7F2)
   -------------------------------------------------------------------------- */
.about-preview-section {
  width: 100%;
  padding: 80px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background-color: var(--color-page-bg);
}

.about-preview-image-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-md);
}

.about-preview-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.about-preview-section .about-preview-image-wrapper img {
  aspect-ratio: 1 / 1;
  object-position: center;
}

.about-preview-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 540px;
}

/* --------------------------------------------------------------------------
   Section: Why CoralLeap (Pure White #FFFFFF)
   -------------------------------------------------------------------------- */
.why-coralleap-section {
  width: 100%;
  padding: 80px 5%;
  background-color: var(--color-white-bg);
  border-top: 1px solid var(--color-border-subtle);
}

.why-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.why-feature-card {
  background-color: var(--color-page-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.why-feature-card:hover {
  border-color: var(--color-coral-btn);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.why-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-accent);
  margin-bottom: 18px;
}

.why-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.why-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Section: Featured Work Preview (Cream #FAF7F2)
   -------------------------------------------------------------------------- */
.featured-work-section {
  width: 100%;
  padding: 80px 5%;
  background-color: var(--color-page-bg);
  border-top: 1px solid var(--color-border-subtle);
}

.projects-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.project-preview-card {
  background-color: var(--color-white-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-coral-btn);
  box-shadow: var(--shadow-md);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background-color: var(--color-navy);
  transition: transform 0.4s ease;
}

.project-preview-card:hover .project-card-image {
  transform: scale(1.03);
}

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-coral-accent);
  margin-bottom: 8px;
}

.project-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}

.project-card-desc {
  font-size: 14px;
  line-height: 1.58;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-coral-accent);
}

/* --------------------------------------------------------------------------
   Section: Final Call-to-Action Banner (Deep Navy #0F1B2D)
   -------------------------------------------------------------------------- */
.final-cta-section {
  width: 100%;
  padding: 88px 5%;
  background-color: var(--color-navy);
  color: #FAF7F2;
}

.final-cta-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: none;
}

.final-cta-title {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.final-cta-desc {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--color-navy-light);
  max-width: 580px;
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   Inner Page: About Us (about.html)
   -------------------------------------------------------------------------- */
.about-content-section {
  width: 100%;
  padding: 72px 5%;
  background-color: var(--color-white-bg);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}

.about-story-grid .about-preview-image-wrapper img {
  aspect-ratio: 3 / 2;
  object-position: center;
}

.about-prose {
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--color-text-secondary);
}

.about-prose p {
  margin-bottom: 18px;
}

.about-prose strong {
  color: var(--color-navy);
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 72px;
}

.vision-card {
  background-color: var(--color-page-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 36px 32px;
}

.vision-card-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.value-card {
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 26px 22px;
  background-color: var(--color-page-bg);
}

.value-num {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-coral-accent);
  margin-bottom: 10px;
}

.value-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.value-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Meet the Founder Section (#founder)
   -------------------------------------------------------------------------- */
.founder-section {
  display: block !important;
  width: 100%;
  padding: 88px 5%;
  background-color: var(--color-page-bg);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.founder-wrap {
  display: block !important;
  width: 100%;
  max-width: 720px;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none;
}

@keyframes founderFadeIn {
  from {
    opacity: 0.2;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founder-wrap.founder-animated {
  animation: founderFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.founder-title {
  margin: 4px 0 6px 0;
  font-size: clamp(26px, 3.2vw, 36px);
}

.founder-role {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-coral-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.founder-bio {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 22px;
}

.founder-bio p {
  margin-bottom: 12px;
}

.founder-bio p:last-child {
  margin-bottom: 0;
}

.founder-highlight {
  position: relative;
  background-color: var(--color-white-bg);
  border: 1px solid var(--color-border-subtle);
  border-left: 4px solid var(--color-coral-accent);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 24px 0;
  box-shadow: 0 4px 16px rgba(15, 27, 45, 0.04);
}

.founder-highlight p {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.55;
  margin: 0;
}

.founder-stack-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  width: 100%;
}

.founder-stack-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-navy);
}

.founder-stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.founder-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.founder-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background-color: var(--color-white-bg);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-navy);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.founder-social-link svg {
  flex-shrink: 0;
  color: var(--color-coral-accent);
  transition: transform 0.2s ease, color 0.2s ease;
}

.founder-social-link:hover {
  background-color: var(--color-navy);
  color: #FFFFFF;
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.founder-social-link:hover svg {
  color: #FFFFFF;
  transform: scale(1.1);
}

.founder-social-link:focus-visible {
  outline: 2px solid var(--color-coral-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Inner Page: Services (services.html) — Pure White #FFFFFF
   -------------------------------------------------------------------------- */
.services-full-section {
  width: 100%;
  padding: 72px 5%;
  background-color: var(--color-white-bg);
}

.service-detail-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 36px 32px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  background-color: var(--color-white-bg);
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.service-detail-item:hover {
  border-color: var(--color-coral-btn);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-item-info {
  display: flex;
  flex-direction: column;
}

.service-subcaps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-subcap-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-navy);
  background-color: var(--color-page-bg);
  border: 1px solid var(--color-border-subtle);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Inner Page: Projects (projects.html)
   -------------------------------------------------------------------------- */
.projects-portfolio-section {
  width: 100%;
  padding: 72px 5%;
  background-color: var(--color-white-bg);
}

.projects-filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: var(--color-page-bg);
  border: 1px solid var(--color-border-subtle);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab-btn:hover {
  color: var(--color-coral-accent);
  border-color: var(--color-coral-btn);
}

.filter-tab-btn.active {
  background-color: var(--color-coral-btn);
  color: #FFFFFF;
  border-color: var(--color-coral-btn);
}

.projects-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.projects-portfolio-grid.single-project-grid {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.project-card-image--wide {
  aspect-ratio: 1024 / 485;
  object-fit: cover;
  object-position: center top;
}

/* --------------------------------------------------------------------------
   Inner Page: Contact (contact.html) — Deep Navy (#0F1B2D) Section
   -------------------------------------------------------------------------- */
.contact-layout-section {
  width: 100%;
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  background-color: var(--color-navy);
  color: #FAF7F2;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  max-width: 680px;
}

.contact-info-panel .section-heading-large {
  color: #FFFFFF;
}

.contact-info-panel .section-quote-desc {
  color: var(--color-navy-light);
}

.contact-card-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}

.contact-method-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.contact-method-item:last-child {
  margin-bottom: 0;
}

.contact-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(255, 122, 104, 0.16);
  border: 1px solid rgba(255, 122, 104, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-coral-btn);
  flex-shrink: 0;
}

.contact-method-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-coral-btn);
  margin-bottom: 4px;
}

.contact-method-val {
  font-size: 14.5px;
  color: #FFFFFF;
  font-weight: 500;
  text-decoration: none;
}

.contact-method-val:hover {
  color: var(--color-coral-btn);
  text-decoration: underline;
}

.contact-method-text {
  font-size: 14px;
  color: var(--color-navy-light);
  line-height: 1.55;
}

.contact-expect-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  padding: 24px;
}

.contact-expect-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.contact-expect-desc {
  font-size: 13.5px;
  color: var(--color-navy-light);
  line-height: 1.65;
}

.contact-form-panel {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  color: var(--color-navy);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Site Footer (Full-Width Deep Navy #0F1B2D, No Rounded Bottom Corners)
   -------------------------------------------------------------------------- */
.site-footer {
  width: 100%;
  background-color: var(--color-navy);
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 5% 40px;
  color: #FAF7F2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1040px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--color-navy-light);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--color-coral-btn);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-contact-info a {
  color: var(--color-navy-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-info a:hover {
  color: var(--color-coral-btn);
}

.footer-address {
  color: #94A3B8;
  margin-top: 4px;
}

.footer-newsletter-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-newsletter-desc {
  font-size: 13px;
  color: var(--color-navy-light);
  line-height: 1.5;
}

.footer-input-group {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  padding: 4px 6px 4px 14px;
  transition: border-color 0.2s ease;
}

.footer-input-group:focus-within {
  border-color: var(--color-coral-btn);
}

.footer-input {
  background: none;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 13px;
  width: 100%;
  font-family: inherit;
}

.footer-input::placeholder {
  color: #94A3B8;
}

.footer-input-btn {
  background-color: var(--color-coral-btn);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-input-btn:hover {
  background-color: var(--color-coral-accent);
}

.footer-action-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.footer-pill-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-pill-btn:hover {
  background-color: var(--color-coral-btn);
  color: #FFFFFF;
  border-color: var(--color-coral-btn);
  transform: translateY(-2px);
}

.footer-pill-btn svg {
  width: 16px;
  height: 16px;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  color: #94A3B8;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-link {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Interactive Modals & Notifications
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 27, 45, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: #FFFFFF;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  padding: 36px 38px;
  box-shadow: 0 25px 60px rgba(15, 27, 45, 0.25);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--color-border-subtle);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-page-bg);
  border: 1px solid var(--color-border-subtle);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background-color: var(--color-coral-tint);
  color: var(--color-coral-accent);
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
}

.form-input, .form-select, .form-textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 12px 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  background-color: var(--color-page-bg);
  color: var(--color-navy);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-coral-accent);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(224, 74, 50, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 95px;
}

/* Search Modal */
.search-modal-box {
  max-width: 620px;
  padding: 24px;
}

.search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-subtle);
}

.search-modal-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 18px;
  font-family: inherit;
  color: var(--color-navy);
  background: transparent;
}

.search-modal-results {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 12px;
  background-color: var(--color-page-bg);
  text-decoration: none;
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.search-result-item:hover {
  background-color: var(--color-coral-tint);
  transform: translateX(4px);
}

.search-result-badge {
  font-size: 11px;
  font-weight: 600;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--color-coral-accent);
}

/* Toast */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: var(--color-navy);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(15, 27, 45, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.toast-notice.visible {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile Drawer */
#mobileDrawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 45, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#mobileDrawer.active {
  opacity: 1;
  pointer-events: auto;
}

#mobileDrawer > div {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: #FFFFFF;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(15, 27, 45, 0.15);
}

#mobileDrawer.active > div {
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   Desktop Hero Section Layout (min-width: 1024px)
   Eliminates overlap on laptop & desktop screens by using flexbox flow.
   Strict vertical hierarchy: WELCOME TO -> CORALLEAP -> Tagline -> Contact Now -> SCROLL
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .brand-hero-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 4% clamp(75px, 10vh, 100px);
    box-sizing: border-box;
  }

  /* 1. Desktop Hero Text Group (Balanced, non-overlapping spacing) */
  .hero-content-wrap {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .hero-intro-label {
    font-size: clamp(14px, 1.55vw, 22px);
    letter-spacing: clamp(3px, 0.45vw, 7px);
    margin: 0 0 clamp(14px, 2vh, 24px) 0;
  }

  .hero-wordmark-wrapper {
    margin: 0 0 clamp(14px, 2vh, 24px) 0;
  }

  .hero-wordmark-title {
    font-size: clamp(68px, min(9.6vw, 15.5vh), 162px);
    letter-spacing: clamp(1.5px, 0.28vw, 5px);
    line-height: 0.95;
  }

  .hero-tagline {
    font-size: clamp(17px, 1.8vw, 28px);
    line-height: 1.25;
    margin: 0;
  }

  /* 2. Desktop Liquid Glass CTA Button (In-flow below tagline with 35-50px spacing) */
  .hero-cta-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-top: clamp(35px, 4.5vh, 50px);
    margin-bottom: 0;
    animation: heroCtaFadeInDesktop 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
  }

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

  /* 3. Desktop Scroll Cue Placement */
  .hero-scroll-cue {
    bottom: clamp(20px, 3vh, 32px);
  }
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav-search-pill {
    width: 200px;
  }

  .who-we-are-grid,
  .section-header-block {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .services-preview-grid, .why-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-preview-section, .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .projects-preview-grid, .projects-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  
  .service-detail-item .btn-cta-dark {
    grid-column: 1 / -1;
    justify-self: flex-start;
  }
  
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 69px;
  }

  .navbar {
    padding: 16px 5%;
  }
  
  .nav-links, .nav-right nav, .nav-search-pill, .navbar .btn-cta-dark {
    display: none;
  }

  .nav-right {
    gap: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }

  .brand-hero-section {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    padding: 0 4%;
  }

  .hero-content-wrap {
    margin-top: max(20px, calc(43vh - var(--header-height) - clamp(50px, 8vw, 90px)));
    margin-top: max(20px, calc(43dvh - var(--header-height) - clamp(50px, 8vw, 90px)));
    padding-bottom: 0;
  }

  .hero-cta-wrap {
    top: calc(77vh - var(--header-height));
    top: calc(77dvh - var(--header-height));
  }

  .hero-glass-btn {
    padding: 7px 8px 7px 42px;
    min-height: 54px;
  }

  .glass-btn-text {
    font-size: 15.5px;
    margin-right: 14px;
  }

  .glass-btn-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-scroll-cue {
    bottom: 14px;
    gap: 4px;
  }

  .scroll-cue-mouse {
    width: 18px;
    height: 28px;
  }

  .hero-intro-label {
    font-size: clamp(12px, 2.6vw, 18px);
    letter-spacing: clamp(3px, 0.6vw, 5px);
    margin-bottom: 20px;
  }

  .hero-wordmark-title {
    font-size: clamp(30px, 12.5vw, 86px);
    letter-spacing: clamp(1px, 0.3vw, 4px);
  }

  .hero-wordmark-wrapper {
    margin-bottom: 18px;
  }

  .hero-tagline {
    font-size: clamp(15px, 3.4vw, 24px);
    line-height: 1.35;
    max-width: 90%;
  }

  .who-we-are-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .who-we-are-heading {
    font-size: 24px;
  }

  .who-we-are-desc {
    font-size: 15px;
    margin-bottom: 16px;
  }
  
  .page-header-section {
    padding: 44px 5% 32px;
  }
  
  .who-we-are-section, .what-we-do-section, .about-preview-section, 
  .why-coralleap-section, .featured-work-section, .final-cta-section,
  .about-content-section, .services-full-section, .projects-portfolio-section,
  .contact-layout-section, .founder-section {
    padding: 48px 5%;
  }

  .founder-highlight {
    padding: 14px 16px;
  }

  .founder-highlight p {
    font-size: 14px;
  }

  .founder-social-link {
    padding: 7px 14px;
    font-size: 13px;
  }

  .services-preview-grid, .why-features-grid, .values-grid,
  .projects-preview-grid, .projects-portfolio-grid,
  .vision-mission-grid {
    grid-template-columns: 1fr;
  }
  
  .service-detail-item {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  
  .site-footer {
    padding: 48px 5% 28px;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 69px;
  }

  .brand-hero-section {
    min-height: calc(100vh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    padding: 0 3.5%;
  }

  .hero-content-wrap {
    margin-top: max(16px, calc(43vh - var(--header-height) - clamp(45px, 9vw, 75px)));
    margin-top: max(16px, calc(43dvh - var(--header-height) - clamp(45px, 9vw, 75px)));
    padding-bottom: 0;
  }

  .hero-scroll-cue {
    bottom: 14px;
    gap: 4px;
  }

  .scroll-cue-mouse {
    width: 18px;
    height: 28px;
  }

  .hero-intro-label {
    font-size: 12px;
    letter-spacing: 3.5px;
    margin-bottom: 16px;
  }

  .hero-wordmark-title {
    font-size: clamp(28px, 12.2vw, 48px);
    letter-spacing: 1.5px;
  }

  .hero-wordmark-wrapper {
    margin-bottom: 14px;
  }

  .hero-tagline {
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.4;
    max-width: 96%;
  }

  .founder-section {
    padding: 44px 4%;
  }

  .founder-socials {
    gap: 8px;
  }
}
