/* ==========================================================================
   BRAND BRIDGE — Official Design System & Stylesheet
   Political Strategy. Powerful Execution.
   Exact recreation based on reference visual identity.
   ========================================================================== */

/* --- 1. DESIGN TOKENS & VARIABLES --- */
:root {
  /* Colors */
  --color-navy-primary: #20293A;
  --color-navy-deep: #141B29;
  --color-navy-dark: #0F1629;
  --color-navy-card: #182132;
  --color-navy-border: rgba(255, 255, 255, 0.08);

  --color-orange: #E78300;
  --color-orange-hover: #CF6D00;
  --color-orange-light: rgba(231, 131, 0, 0.12);
  --color-orange-border: rgba(231, 131, 0, 0.35);

  --color-bg-ivory: #FAF7F2;
  --color-bg-card-light: #FFFFFF;
  --color-border-light: #EAE6DF;
  --color-border-subtle: rgba(32, 41, 58, 0.06);

  --color-white: #FFFFFF;
  --color-text-dark: #182233;
  --color-text-body: #5D6A7E;
  --color-text-muted: #8492A6;
  --color-text-light: #CBD5E1;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Layout & Spacing */
  --header-height: 74px;
  --container-max-width: 1320px;
  --container-wide-max: 1440px;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 6px 24px rgba(24, 34, 51, 0.06);
  --shadow-hover: 0 14px 36px rgba(24, 34, 51, 0.12);
  --shadow-orange: 0 8px 24px rgba(231, 131, 0, 0.28);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-card: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS RESET & GLOBAL RESETS --- */
*, *::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-bg-ivory);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) - 2px);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* --- 3. LAYOUT CONTAINERS --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.container-fluid {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

/* --- 4. TYPOGRAPHY SYSTEM --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.18;
}

.highlight-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  color: var(--color-orange);
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.85rem;
}

.section-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header-center .section-title {
  font-size: 2.85rem;
  margin-bottom: 1rem;
}

.section-header-center .section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-body);
  max-width: 620px;
  margin: 0 auto;
}

/* Section Header (Left / Split) */
.section-header-split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.section-header-split .left-col {
  max-width: 650px;
}

.section-header-split .section-title {
  font-size: 2.85rem;
}

.section-header-split .right-col {
  max-width: 420px;
  font-size: 1.05rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* --- 5. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-smooth);
  text-align: center;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  border-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
  color: var(--color-white);
}

.btn-secondary-light {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary-light:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-navy-primary);
  border-color: var(--color-navy-primary);
  font-size: 0.85rem;
  padding: 13px 32px;
}

.btn-outline-dark:hover {
  background-color: var(--color-navy-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32, 41, 58, 0.2);
}

/* --- 6. SITE HEADER & NAVIGATION --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

/* Light Header (for interior pages: Expertise, Services, Case Studies, Contact) */
.site-header--light {
  background-color: var(--color-bg-ivory);
  border-bottom: 1px solid var(--color-border-light);
}

.site-header--light.is-scrolled {
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
}

/* Dark Header (for Home Hero) */
.site-header--transparent {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(24, 32, 47, 0.45);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header--transparent.is-scrolled-past-hero {
  background-color: rgba(250, 247, 242, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.site-header--transparent.is-scrolled-past-hero .logo-img--light {
  display: none !important;
}

.site-header--transparent.is-scrolled-past-hero .logo-img--dark {
  display: block !important;
}

.site-header--transparent.is-scrolled-past-hero .nav-link {
  color: var(--color-navy-primary) !important;
}

.site-header--transparent.is-scrolled-past-hero .nav-link:hover,
.site-header--transparent.is-scrolled-past-hero .nav-link.active {
  color: var(--color-orange) !important;
}

.site-header--transparent.is-scrolled-past-hero .hamburger-line {
  background-color: var(--color-navy-primary) !important;
}

/* Header for Approach Page (Dark Navy background) */
.site-header--dark-page {
  background-color: var(--color-navy-primary);
  border-bottom: 1px solid var(--color-navy-border);
}

.site-header--dark-page.is-scrolled {
  background-color: rgba(32, 41, 58, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.logo-img {
  height: 42px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

/* Contextual display based on header background */
.site-header--light .logo-img--dark {
  display: block;
}
.site-header--light .logo-img--light {
  display: none;
}

.site-header--transparent .logo-img--dark {
  display: none;
}
.site-header--transparent .logo-img--light {
  display: block;
}

.site-header--dark-page .logo-img--dark {
  display: none;
}
.site-header--dark-page .logo-img--light {
  display: block;
}

/* Text fallback styling if ever used alongside or without image */
.site-logo .logo-brand {
  transition: color var(--transition-fast);
}

.site-header--light .site-logo .logo-brand {
  color: var(--color-navy-primary);
}

.site-header--transparent .site-logo .logo-brand,
.site-header--dark-page .site-logo .logo-brand {
  color: var(--color-white);
}

.site-logo .logo-bridge {
  color: var(--color-orange);
  margin-left: 0.35rem;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

/* Light header link colors */
.site-header--light .nav-link {
  color: var(--color-navy-primary);
}

.site-header--light .nav-link:hover {
  color: var(--color-orange);
}

/* Dark header link colors */
.site-header--transparent .nav-link,
.site-header--dark-page .nav-link {
  color: var(--color-white);
}

.site-header--transparent .nav-link:hover,
.site-header--dark-page .nav-link:hover {
  color: var(--color-orange);
}

/* Active Nav State */
.nav-link.active {
  color: var(--color-orange) !important;
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-orange);
  border-radius: 1px;
}

/* Header Action Button */
.header-action .btn {
  padding: 10px 22px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.site-header--light .hamburger-line {
  background-color: var(--color-navy-primary);
}

.site-header--transparent .hamburger-line,
.site-header--dark-page .hamburger-line {
  background-color: var(--color-white);
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: var(--color-navy-deep);
  z-index: 1050;
  padding: 90px 32px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.4);
  transition: right var(--transition-smooth);
}

.mobile-nav-drawer.is-open {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  color: var(--color-white);
  font-size: 1.15rem;
  font-weight: 500;
  display: block;
}

.mobile-nav-link.active {
  color: var(--color-orange);
  font-weight: 700;
}

.mobile-nav-cta {
  margin-top: auto;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.mobile-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Hamburger Active Transform */
.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--color-white);
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--color-white);
}

/* --- 7. HOME HERO SECTION (PAGE 1) --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: linear-gradient(
      to right,
      rgba(15, 23, 38, 0.84) 0%,
      rgba(15, 23, 38, 0.65) 45%,
      rgba(15, 23, 38, 0.28) 100%
    ),
    url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: calc(var(--header-height) + 60px) 0 80px 0;
}

.hero-content {
  max-width: 660px;
}

.hero-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.hero-headline .highlight-serif {
  color: var(--color-orange);
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.25rem;
  max-width: 580px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: var(--color-orange);
}

.hero-scroll-indicator svg {
  animation: bounceDown 2s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* --- 8. EXPERTISE SECTION (PAGE 2) --- */
.expertise-section {
  padding: 85px 0 100px;
  background-color: var(--color-bg-ivory);
}

.expertise-top-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.expertise-text .section-title {
  font-size: 3.1rem;
  margin-bottom: 1.4rem;
}

.expertise-text .description {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text-body);
}

/* Media Graphic Box */
.expertise-media-box {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.expertise-media-box:hover .expertise-media-img {
  transform: scale(1.03);
}

/* Expertise 4 Cards Row */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.expertise-card {
  background-color: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 34px 28px;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-card), box-shadow var(--transition-card), border-color var(--transition-card);
  position: relative;
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-orange-border);
}

.expertise-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  color: var(--color-orange);
}

.expertise-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.expertise-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* --- 9. SERVICES SECTION (PAGE 3) --- */
.services-section {
  padding: 85px 0 110px;
  background-color: var(--color-bg-ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.service-card {
  background-color: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-image-wrapper {
  position: relative;
  width: 100%;
  height: 225px;
  overflow: hidden;
  background-color: #E2DDD5;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-category-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-card-body {
  padding: 28px 24px;
  flex: 1 0 auto;
}

.service-card-title {
  font-size: 1.32rem;
  margin-bottom: 0.85rem;
  color: var(--color-text-dark);
}

.service-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* --- 10. APPROACH SECTION (PAGE 4 - DARK NAVY) --- */
.approach-section {
  padding: 95px 0 100px;
  background-color: var(--color-navy-primary);
  color: var(--color-white);
}

.approach-section .section-label {
  color: var(--color-orange);
}

.approach-section .section-title {
  color: var(--color-white);
}

.approach-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* Approach 4 Process Cards */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 4.5rem;
}

.approach-card {
  background-color: var(--color-navy-card);
  border: 1px solid var(--color-navy-border);
  border-radius: var(--radius-sm);
  padding: 34px 28px 30px;
  transition: transform var(--transition-card), border-color var(--transition-card);
  position: relative;
}

.approach-card:hover {
  transform: translateY(-5px);
  border-color: rgba(231, 131, 0, 0.4);
}

.approach-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.approach-card-number {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: rgba(231, 131, 0, 0.65);
  line-height: 1;
}

.approach-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
}

.approach-card:hover .approach-check-icon {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.approach-card-title {
  color: var(--color-white);
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.approach-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* Approach Divider */
.approach-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 4rem;
}

/* Statistics Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

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

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-orange);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* --- 11. CASE STUDIES SECTION (PAGE 5) --- */
.case-studies-section {
  padding: 85px 0 110px;
  background-color: var(--color-bg-ivory);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-bottom: 4rem;
}

.case-study-card {
  background-color: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-card), box-shadow var(--transition-card);
  display: flex;
  flex-direction: column;
}

.case-study-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.case-study-image-wrapper {
  position: relative;
  width: 100%;
  height: 235px;
  background-color: #E2DDD5;
}

.case-study-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.case-study-card:hover .case-study-img {
  transform: scale(1.04);
}

.case-study-location-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(20, 27, 41, 0.9) 0%, rgba(20, 27, 41, 0.6) 70%, transparent 100%);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 24px 20px 10px;
}

.case-study-body {
  padding: 28px 24px;
  flex: 1 0 auto;
}

.case-study-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.case-study-title {
  font-size: 1.35rem;
  color: var(--color-text-dark);
}

.case-study-arrow {
  color: var(--color-navy-primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.case-study-card:hover .case-study-arrow {
  transform: translate(3px, -3px);
  color: var(--color-orange);
}

.case-study-category {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 0.85rem;
}

.case-study-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

.case-studies-cta-row {
  text-align: center;
}

/* --- 12. CONTACT SECTION (PAGE 6) --- */
.contact-section {
  padding: 85px 0 60px;
  background-color: var(--color-bg-ivory);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left Column: Info Card & Photo */
.contact-left-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--color-navy-primary);
  border-radius: var(--radius-sm);
  padding: 40px 36px;
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.contact-info-title {
  color: var(--color-white);
  font-size: 1.85rem;
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 22px;
  height: 22px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-content .item-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.contact-info-content .item-value {
  font-size: 1.02rem;
  color: var(--color-white);
  font-weight: 500;
}

.contact-info-content a.item-value:hover {
  color: var(--color-orange);
}

.contact-info-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 1.8rem 0;
}

.contact-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--color-orange);
}

/* Thane City Image Box */
.contact-city-photo {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-subtle);
}

.contact-city-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-city-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(20, 27, 41, 0.85) 0%, transparent 100%);
  padding: 30px 24px 16px;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

/* Right Column: Contact Form */
.contact-form-card {
  background-color: var(--color-bg-card-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 42px 38px;
  box-shadow: var(--shadow-subtle);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy-primary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background-color: #FAFAF8;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xs);
  color: var(--color-text-dark);
  font-size: 0.94rem;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(231, 131, 0, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #A0AEC0;
}

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

.btn-form-submit {
  width: 100%;
  padding: 15px;
  font-size: 0.88rem;
  margin-top: 0.5rem;
}

/* Form Alert */
.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-xs);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.92rem;
}

.form-alert.success {
  display: block;
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.form-alert.error {
  display: block;
  background-color: #FFEBEE;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

/* --- 13. MAP SECTION (PAGE 7) --- */
.map-section {
  padding: 40px 0 80px;
  background-color: var(--color-bg-ivory);
}

.map-wrapper {
  width: 100%;
  height: 320px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-subtle);
  position: relative;
}

#thaneMap {
  width: 100%;
  height: 100%;
}

.map-fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Custom Map Marker Overlay */
.custom-map-popup {
  font-family: var(--font-sans);
  padding: 6px;
}
.custom-map-popup h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-navy-primary);
  margin-bottom: 2px;
}
.custom-map-popup p {
  font-size: 0.8rem;
  color: var(--color-text-body);
}

/* --- 14. FOOTER (PAGES 4 & 7) --- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: var(--color-text-light);
  padding: 80px 0 35px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.15fr 1.1fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-col-1 .site-logo {
  margin-bottom: 1.25rem;
}

.footer-col-1 .logo-img {
  height: 48px;
  width: auto;
  max-width: 140px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--color-orange);
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.75rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
}

.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.footer-social-icon:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.75rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link-item a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--color-orange);
  transform: translateX(3px);
}

/* Contact in footer */
.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-text .sublabel {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.footer-contact-text .value {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact-text a.value:hover {
  color: var(--color-orange);
}

/* Footer Bottom Bar */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 1.75rem;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- 15. BACK-TO-TOP BUTTON --- */
.back-to-top {
  position: fixed;
  bottom: 94px;
  right: 32px;
  width: 44px;
  height: 44px;
  background-color: var(--color-orange);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-smooth), visibility var(--transition-smooth), transform var(--transition-smooth), background-color var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange);
}

/* --- FLOATING ACTIVE WHATSAPP MESSENGER BUTTON --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 995;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-float-btn {
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--transition-smooth), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

/* Pulsing animated outer ring */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.65);
  animation: whatsappPulseRing 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes whatsappPulseRing {
  0% { transform: scale(1); opacity: 0.9; }
  60% { transform: scale(1.32); opacity: 0; }
  100% { transform: scale(1.32); opacity: 0; }
}

.whatsapp-float:hover .whatsapp-float-btn {
  background-color: #20BA5A;
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-text {
  background-color: var(--color-navy-primary);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-float-text {
  opacity: 1;
  transform: translateX(0);
}

/* --- 16. RESPONSIVE DESIGN BREAKPOINTS --- */

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-headline {
    font-size: 3.4rem;
  }

  .expertise-top-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .expertise-media-box {
    max-width: 600px;
    height: 260px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-headline {
    font-size: 2.6rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-header-center .section-title,
  .section-header-split .section-title,
  .expertise-text .section-title {
    font-size: 2.2rem;
  }

  .expertise-grid,
  .services-grid,
  .approach-grid,
  .case-studies-grid {
    grid-template-columns: 1fr;
  }

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

  .stat-number {
    font-size: 3rem;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .contact-info-card {
    padding: 30px 24px;
  }

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

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

  .back-to-top {
    bottom: 78px;
    right: 23px;
    width: 40px;
    height: 40px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    left: auto;
  }

  .whatsapp-float-btn {
    width: 46px;
    height: 46px;
  }

  .whatsapp-float-text {
    display: none;
  }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}
