/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
  --primary: #f78957; /* Updated to the new primary color */
  --primary-dark: #e67a4a; /* Darker shade for hover */
  --primary-rgb: 247, 137, 87; /* RGB values for rgba usage */
  --text-dark: #1a1a1a;
  --text-light: #555;
  --navy: #1a365d;
  --gray-label: #4a5568;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

/* ==========================================================================
   2. REUSABLE COMPONENTS (Buttons, Layout)
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  padding: 14px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}

.primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 1);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   3. HERO & NAVIGATION
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-alignment-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 120px;
}

/* 🔥 Background image */
.hero-img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔥 Overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust if needed */
  z-index: 2;
}

#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  z-index: 1000;
  background: transparent;
  transition:
    transform 0.6s ease,
    background 0.3s ease,
    padding 0.3s ease;
}

/* Hide animation */
#mainNav.hide-nav {
  transform: translateY(-100%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
  height: 35px;
}

/* Add this to style the logo container */
.logo img {
  height: 50px; /* Adjust based on your image_ce5487.jpg height */
  width: auto;
}

/* 🔥 SCROLLED STATE */
#mainNav.scrolled {
  background: rgba(10, 20, 40, 0.9); /* match your dark hero tone */
  backdrop-filter: blur(8px); /* modern glass effect */
  padding: 20px 60px; /* slightly tighter */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); /* thickness feel */
}

.nav {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: var(--transition);
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  opacity: 1;
  border-bottom-color: var(--primary);
}

/* HERO TEXT CONTENT */
.hero-content {
  position: relative;
  z-index: 10;
  padding-left: 60px;
  margin-top: 13px;
  margin-bottom: 0;
  max-width: 800px;
  width: min(100%, 800px);
}

/* 🔥 MAIN TITLE */
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 15px;

  /* 🔥 Glow effect */
  text-shadow:
    0 0 10px rgba(247, 137, 87, 0.6),
    0 0 20px rgba(247, 137, 87, 0.4),
    0 0 40px rgba(247, 137, 87, 0.2);
}

.hero-title span {
  display: block;
}

/* Initial hidden state */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

/* When active */
.fade-in.show {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✨ QUOTE */
.hero-quote {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-style: italic;

  /* subtle glow */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.hero-quote::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

.hero-buttons {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

/* ==========================================================================
   4. STATS SECTION
   ========================================================================== */
.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 80px 10%;
  background: var(--white);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--navy);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--gray-label);
}

.stat-icon svg {
  fill: var(--primary); /* Updated to match primary color */
  stroke: var(--primary);
}

/* ==========================================================================
   5. SERVICES SECTION (Updated for 3D Flip)
   ========================================================================== */

/* SUB PAGES NAVBAR */
#mainNav.services-nav {
  background: #0b1c36 !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: transform 0.4s ease;
}

/* Hide on scroll down */
#mainNav.services-nav.hide-nav {
  transform: translateY(-100%);
}

.services {
  padding: 180px 0 100px;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* 1. The Container: Provides the 3D perspective */
.service-card {
  background: transparent;
  perspective: 1000px;
  min-height: 420px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 45px;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}

.service-heading {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-summary {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* 2. The Wrapper: This is what actually rotates */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  padding: 0;
}

/* Triggered by JavaScript */
.card-inner.is-flipped {
  transform: rotateY(180deg);
}

/* 3. Common styles for both faces */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Hides the side not facing the user */
  border-radius: 12px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 4. Front Face (White) */
.card-front {
  background: var(--white);
  color: var(--text-dark);
}

/* 5. Back Face (Navy) */
.card-back {
  background: #0a192f; /* Deep Navy brand color */
  color: #ffffff;
  transform: rotateY(180deg); /* Starts hidden/flipped */
  text-align: left;
  align-items: flex-start;
}

/* Back Face Typography */
.card-back .service-heading {
  color: var(--primary); /* Orange accent */
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.details-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.details-list li {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.details-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
}

/* Flip Triggers (Buttons) */
.flip-trigger {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn {
  color: #ffffff;
  font-size: 0.8rem;
  opacity: 0.8;
  text-decoration: underline;
}

.back-btn:hover {
  opacity: 1;
}

/* =========================
   WHY CHOOSE US SECTION
========================= */
.why-choose-us {
  padding: 80px 0;
  background-color: var(--white);
}

.choose-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

/* This container just controls the placement */
.choose-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* This is where the magic happens for the actual picture */
.choose-image img {
  width: 100%;
  max-width: 500px; /* Limits the width so the height stays shorter naturally */
  height: 550px; /* Displays the WHOLE image without cropping */
  display: block;

  /* Applying styles directly to the picture */
  border-radius: 25px; /* Now the curve is on the photo itself */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05); /* Optional: adds a tiny clean edge */
}

/* Content Styling */
.choose-content {
  flex: 1;
}

.section-title-left {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.2;
}

.description,
.mission-statement {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Feature List Styling */
.features-list {
  list-style: none;
  margin-bottom: 30px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
}

.features-list i {
  color: var(--primary);
  font-size: 1.3rem;
}

.process {
  padding: 100px 0;
  background-color: var(--navy); /* Uses your navy variable */
  color: var(--white);
}

.process .section-title {
  color: var(--white);
  margin-bottom: 60px;
}

.process-grid {
  display: grid;
  /* This ensures the steps wrap properly or fit in a 4-column row */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.process-step {
  flex: 1;
  position: relative;
  padding: 20px;
}

.step-number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(var(--primary-rgb), 0.2); /* Updated to use new primary color */
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 0;
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   CONTRACT BANNER SECTION
   ========================================================================== */

.contract-banner {
  width: 100%;
  min-height: 550px;
  /* Replace 'img/city-bg.jpg' with your actual background image path */
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("img/city-reflection.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: flex-start;
  padding: 40px 0 60px;
}

.banner-container {
  display: flex;
  width: 100%;
  justify-content: flex-end; /* Pushes the card to the right */
  align-items: flex-start;
}

.contract-card {
  background-color: var(--primary); /* Uses your #f78957 orange */
  color: var(--white);
  padding: 35px;
  border-radius: 12px;
  max-width: 380px;
  margin-top: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: fadeInRight 0.8s ease-out;
}

.card-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.contract-card h2 {
  font-size: 2.25rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.contract-card p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.btn-navy {
  background-color: var(--navy); /* Uses your #1a365d navy */
  color: var(--white);
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  transition: var(--transition);
  border: none;
}

.btn-navy:hover {
  background-color: #112641;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .banner-container {
    justify-content: center;
  }

  .contract-card {
    padding: 30px;
    text-align: center;
  }

  .card-badge {
    justify-content: center;
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   NEW ABOUT HERO (Split Layout)
   ========================================================================== */
.about-hero-new {
  padding: 100px 0;
  background-color: #fcfcfc; /* Very light gray background like the image */
  overflow: hidden;
}

.about-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-content-left {
  flex: 1;
}

.hero-content-left h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: 300;
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  padding: 12px 35px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-navy:hover {
  background-color: var(--primary); /* Turns orange on hover */
}

/* Image Container Styles */

/* ABOUT PAGE NAVBAR */
#mainNav.about-nav {
  background: #0b1c36 !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: transform 0.4s ease;
}

/* Hide navbar when scrolling down */
#mainNav.about-nav.hide-nav {
  transform: translateY(-100%);
}
.hero-image-container {
  flex: 1.2;
  position: relative;
  z-index: 1;
}

.main-hero-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 20px; /* The rounded corners from your image */
  display: block;
  position: relative;
  z-index: 1;
}

/* The white box in the middle of the image */
.floating-logo-box {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: var(--white);
  padding: 30px 50px;
  border-radius: 0 10px 10px 0; /* Rounded on the right side */
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

/* Decorative Dots Background */
.dot-pattern {
  position: absolute;
  left: -30px;
  top: 20%;
  width: 100px;
  height: 200px;
  background-image: radial-gradient(var(--primary) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: 0;
  opacity: 0.3;
}

/* Responsive Logic */
@media (max-width: 992px) {
  .about-hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .floating-logo-box {
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
  }
}

/* ==========================================================================
   ABOUT SECTION STYLES (for about.html)
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background-color: #fcfcfc;
  padding-top: 160px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.about-text .subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 30px;
  font-weight: 300;
}

.about-text .description {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.about-btn {
  background-color: var(--navy);
  color: var(--white);
  padding: 12px 35px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.about-btn:hover {
  background-color: var(--primary);
}

.about-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-card {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.about-image img {
  width: 100%;
  max-width: 520px;
  height: 400px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
}

.floating-card {
  position: absolute;
  bottom: -50px;
  left: 0;
  transform: translateX(-60%);
  background: var(--white);
  padding: 30px 50px;
  border-radius: 30px;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
}

.floating-card span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .floating-card {
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
  }
}

/* Smooth scrolling when clicking "Read More" */
html {
  scroll-behavior: smooth;
}

.narrative-section {
  padding: 100px 0;
  background-color: #fff;
  border-top: 1px solid #eee;
}

.dual-column {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

/* Left side: Italicized and slightly larger */
.narrative-left {
  flex: 1;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #555;
}

.narrative-left p {
  margin-bottom: 30px;
}

/* Right side: Modern body text */
.narrative-right {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.narrative-right p {
  margin-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .dual-column {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .narrative-left,
  .narrative-right {
    flex: none;
    width: 100%;
  }
}

/* Container and Layout Logic */
.insight-hero-left {
  position: relative;
  width: 100%;
  min-height: 700px;
  height: 80vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.insight-bg {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;

  z-index: -1;
}

.insight-wrapper-left {
  /* Narrower width to force the content to 'wrap' more */
  max-width: 500px;
  padding: 0 20px;
  margin-left: 432px;
  margin-bottom: 55px;
}

.quote-icon {
  font-size: 2rem; /* Reduced icon size to match smaller text */
  color: var(--primary);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
  display: block;
}

/* Specific styling for the bottom icon to push it to the right */
.bottom-quote-align {
  display: flex;
  justify-content: flex-end;
  margin-top: -10px; /* Pulls it closer to the text */
  margin-bottom: 15px;
  margin-right: 45px;
}

.main-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  font-style: italic;
  line-height: 1.6;
  margin: 10px 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  /* Removed the large 80px margin to keep it centered between quotes */
  padding: 0 30px;
}

.main-quote strong {
  color: var(--primary);
  font-weight: 800;
}

.quote-signature {
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.85rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
  text-align: right; /* Aligns signature with the bottom quote */
  padding-right: 20px;
  margin-right: 60px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .insight-hero-left {
    justify-content: center;
    padding-left: 20px;
    padding-right: 20px;
  }
  .insight-wrapper-left {
    max-width: 100%;
    text-align: center;
  }
}

.compliance-details-section {
  padding: 80px 10%;
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
}

.compliance-container {
  max-width: 1200px;
  margin: 0 auto;
}

.compliance-header {
  margin-bottom: 60px;
}

.editorial-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  color: #1a237e; /* Brand Navy */
  margin-bottom: 20px;
}

.editorial-title span {
  font-style: italic;
  font-weight: 400;
}

.editorial-intro {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  line-height: 1.6;
}

.compliance-grid-detailed {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns for a balanced look */
  gap: 50px;
}

.compliance-item {
  position: relative;
  padding-left: 60px;
  border-top: 1px solid #eee;
  padding-top: 30px;
  transition: all 0.4s ease;
}

.compliance-item:hover {
  border-top-color: #ff8c00; /* Glow effect on the top border */
}

.item-number {
  position: absolute;
  left: 0;
  top: 30px;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: #1a237e;
  font-weight: 700;
}

.compliance-item h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #1a237e;
  margin-bottom: 15px;
}

.compliance-item p {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}

.compliance-item p strong {
  color: #1a237e;
}

/* Mobile: Stacks the grid into one column */
@media (max-width: 992px) {
  .compliance-grid-detailed {
    grid-template-columns: 1fr;
  }
  .editorial-title {
    font-size: 2.5rem;
  }
}

.accreditations-bar {
  padding: 60px 0;
  background-color: var(--bg-light); /* Uses your light gray background */
  text-align: center;
  border-top: 1px solid #eee;
}

.bar-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 40px;
  font-weight: 600;
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.logo-item img {
  max-width: 180px;
  height: auto;
  transition: var(--transition);
}

.logo-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .logo-grid {
    gap: 40px;
  }
  .logo-item img {
    max-width: 140px;
  }
}

/* ==========================================================================
   2. CONTACT SECTION
   ========================================================================== */

.contact-section {
  padding: 80px 20px;
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-header .badge {
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-top: 20px;
}

.contact-header h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 15px;
}

.contact-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Layout Wrapper */
.contact-wrapper {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

/* Form Card */
.form-card {
  flex: 1.4;
  padding: 40px;
  background: var(--white);
  border: 1px solid #edf2f7;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.form-card h2 {
  color: var(--navy);
  margin-bottom: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  color: var(--gray-label);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-light);
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
}

.form-group textarea {
  height: 140px;
  resize: none;
}

.btn-submit {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 15px 35px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Info Side */
.info-side {
  flex: 1;
}

.info-side h2 {
  color: var(--navy);
  margin-bottom: 15px;
}

.info-side > p {
  color: var(--text-light);
  margin-bottom: 35px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-box {
  padding: 25px;
  border: 1px solid #edf2f7;
  border-radius: 15px;
  transition: var(--transition);
}

.info-box:hover {
  border-color: var(--primary);
}

.icon-box {
  width: 45px;
  height: 45px;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 18px;
}

.info-box h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

.info-box p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .form-card,
  .info-side {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .form-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
}

/* SERVICES LANDING HERO */
.services-hero-fixed {
  width: 100%;
  height: 120vh;
  aspect-ratio: 1000 / 412;
  background: url("img/ChatGPT\ Image\ May\ 11\,\ 2026\,\ 04_20_20\ PM.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center; /* Centers the wrapper horizontally */
  margin-top: 50px;
}

.hero-content-wrapper {
  width: 100%;
  max-width: 1250px;
  display: flex;
  justify-content: center; /* Ensures the text box is centered in the section */
  margin-top: 30px;
}

.hero-text-centered {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;

  /* Initial state: invisible and shifted down */
  opacity: 0;
  transform: translateY(30px);

  /* Smooth transition for the reveal */
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
  will-change: opacity, transform;
  margin-top: 50px;
}

/* THE INTENSE GLOW EFFECT */
.hero-text-centered h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: #ffffff;
  line-height: 1.2;
  /* Multiple layers of shadow make the glow visible */
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(255, 140, 0, 0.6),
    0 0 30px rgba(255, 140, 0, 0.4),
    2px 2px 10px rgba(0, 0, 0, 0.5); /* Dark base for readability */
}

.orange-accent {
  color: #ff8c00;
  /* Extra intense glow for the orange part */
  text-shadow:
    0 0 15px rgba(255, 140, 0, 0.9),
    0 0 30px rgba(255, 69, 0, 0.7);
}

.hero-text-centered p {
  color: #ffffff;
  font-size: 1.2rem;
  margin: 20px 0;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8); /* Darker shadow so white text is clear */
}

.hero-label {
  display: block;
  color: #ff8c00;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

/* Trigger Class for JS */
.hero-text-centered.reveal {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.editorial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 20px;
  display: flex;
  gap: 80px;
  align-items: center;
}

.value-proposition {
  position: relative;
  overflow: visible;
  padding: 90px;
}

.flex-reverse {
  flex-direction: row-reverse;
}

.editorial-h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #1a237e;
  line-height: 1.1;
  margin-bottom: 30px;
}

.editorial-h2 span {
  font-style: italic;
  font-weight: 400;
  color: #ff8c00; /* Matching your brand glow */
}

.editorial-p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Checklist Styling */
.benefit-grid {
  display: grid;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #333;
}

.benefit-item i {
  color: #ff8c00;
}

.client-scope-section {
  padding: 0px 20px;
  background-color: #ffffff;
}

.scope-header {
  text-align: center;
  margin-bottom: 80px;
}

.scope-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  position: relative;
}

/* Subtle vertical divider */
.scope-split-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #eee;
}

.scope-column {
  padding: 20px;
}

.scope-tag {
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  color: #ff8c00;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.scope-column h3 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #1a237e;
  margin-bottom: 25px;
}

.scope-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.scope-list li {
  padding: 10px 0;
  font-size: 1.05rem;
  color: #555;
  border-bottom: 1px solid #f5f5f5;
}

.scope-list li:last-child {
  border-bottom: none;
}

@media (max-width: 992px) {
  .scope-split-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .scope-split-grid::before {
    display: none;
  }
}

.partnership-focus-section {
  padding: 20px 0; /* Massive spacing for a premium feel */
  background-color: #ffffff;
  text-align: center;
}

.partnership-container {
  max-width: 1000px; /* Narrower container makes long text easier to read */
  margin: 0 auto;
}

.editorial-h2-large {
  font-family: "Playfair Display", serif;
  font-size: 3.8rem; /* Increased size */
  color: #1a237e;
  margin-bottom: 40px;
  line-height: 1.1;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.editorial-h2-large span {
  font-style: italic;
  font-weight: 400;
  color: #ff8c00;
}

.editorial-p-large {
  font-size: 1.5rem; /* Increased font size */
  line-height: 1.8;
  color: #444;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.partnership-sub-heading {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #1a237e;
  margin-bottom: 50px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns for balance */
  gap: 60px 80px;
  text-align: left;
  padding-left: 40px;
}

.detail-item {
  position: relative;
  padding-left: 50px;
}

.detail-icon {
  position: absolute;
  left: 0;
  top: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: #ff8c00;
  font-size: 1.2rem;
  opacity: 0.6;
}

.detail-item p {
  font-size: 1.1rem; /* Larger bullet text */
  line-height: 1.8;
  color: #555;
}

.detail-item p strong {
  display: block;
  color: #1a237e;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.partnership-footer {
  margin-top: 100px;
  padding: 40px;
  border-top: 1px solid #eee;
  font-style: italic;
  font-size: 1.2rem;
  color: #777;
}

/* Mobile: Stack the grid */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-h2-large {
    font-size: 2.5rem;
  }
}

/* =========================================
   GLOBAL FADE IN ANIMATION
========================================= */

.fade-section {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s ease,
    transform 1s ease;
  will-change: opacity, transform;
}

.fade-section.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth stagger effect */
.benefit-item:nth-child(1),
.scope-column:nth-child(1),
.detail-item:nth-child(1),
.process-step:nth-child(1) {
  transition-delay: 0.1s;
}

.benefit-item:nth-child(2),
.scope-column:nth-child(2),
.detail-item:nth-child(2),
.process-step:nth-child(2) {
  transition-delay: 0.2s;
}

.benefit-item:nth-child(3),
.detail-item:nth-child(3),
.process-step:nth-child(3) {
  transition-delay: 0.3s;
}

.benefit-item:nth-child(4),
.detail-item:nth-child(4),
.process-step:nth-child(4) {
  transition-delay: 0.4s;
}

.benefit-item:nth-child(5),
.detail-item:nth-child(5) {
  transition-delay: 0.5s;
}

.benefit-item:nth-child(6),
.detail-item:nth-child(6) {
  transition-delay: 0.6s;
}

/* ==========================================================================
   2. PRICING PAGE STYLES
   ========================================================================== */

/* SUB PAGES NAVBAR */
#mainNav.pricing-nav {
  background: #0b1c36 !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: transform 0.4s ease;
}

/* Hide on scroll down */
#mainNav.pricing-nav.hide-nav {
  transform: translateY(-100%);
}
/* Accordion Styling */
.service-category {
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.sub-label {
  text-align: center;
  margin-bottom: 40px;
}

.accordion-header {
  width: 100%;
  padding: 20px;
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition);
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-content {
  display: none;
  padding: 0 20px 20px;
  background: var(--white);
  border-top: 1px solid #f1f1f1;
}

/* Service Item Styling */
.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f8f9fa;
}

.service-item:last-child {
  border-bottom: none;
}

.service-info strong {
  display: block;
  color: var(--text-dark);
}

.service-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

.price-display {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Speed Toggle Button */
.speed-toggle {
  margin-left: 15px;
  padding: 5px 12px;
  font-size: 0.75rem;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.speed-toggle.active {
  background: var(--primary);
  color: var(--white);
}

/* Main Container */
.pricing-container {
  max-width: 900px;
  margin: 60px auto;
  background: var(--white);
  padding: 40px;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding-top: 100px;
}

.pricing-container h1 {
  color: var(--navy);
  margin-bottom: 10px;
  text-align: center;
}

/* Instruction Box */
.instruction-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary);
  padding: 20px;
  margin-bottom: 40px;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Section Headings */
.pricing-container h2 {
  color: var(--navy);
  font-size: 1.25rem;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 10px;
  margin: 40px 0 20px;
}

/* Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.full-width {
  grid-column: span 2;
}

/* Form Elements */
.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--gray-label);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* Checkbox/Radio Rows */
.checkbox-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-light);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.checkbox-row span {
  font-weight: 500;
  color: var(--navy);
}

.radio-options label {
  margin-left: 15px;
  cursor: pointer;
  color: var(--text-dark);
}

/* Submit Button */
.submit-btn {
  display: block;
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 18px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 40px;
  transition: var(--transition);
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
}

/* =========================
   PRICING / CALCULATOR CONTAINER
========================= */

.calculator-container {
  max-width: 1150px;
  margin: 70px auto;
  padding: 40px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(var(--primary-rgb), 0.12);
}

.calculator-container h2 {
  text-align: center;
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.eff-date {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 35px;
  font-size: 0.95rem;
}

/* =========================
   INFO NOTICE
========================= */

.calc-note {
  background: rgba(var(--primary-rgb), 0.08);
  border-left: 4px solid var(--primary);
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 35px;
}

.calc-note h4 {
  color: var(--navy);
  margin-bottom: 8px;
}

.calc-note p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* =========================
   SECTION STYLING
========================= */

.calc-section {
  background: #fcfcfc;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 35px;
}

/* Section Headers */

.calc-section h3 {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 16px 22px;
  border-radius: 14px;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 28px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* =========================
   INPUT GROUPS
========================= */

.input-group {
  display: grid;
  grid-template-columns: 2fr 130px 140px;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  transition: var(--transition);
}

.input-group:hover {
  background: rgba(var(--primary-rgb), 0.04);
  border-radius: 12px;
  padding-left: 12px;
  padding-right: 12px;
}

/* Labels */

.input-group label {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}

/* Small helper notes */

.input-group label small {
  display: block;
  margin-top: 6px;
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 400;
}

/* =========================
   INPUTS
========================= */

.input-group input[type="number"],
.input-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--white);
  font-size: 1rem;
  transition: var(--transition);
  text-align: center;
}

.input-group input[type="number"]:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

/* =========================
   PRICE TOTALS
========================= */

.line-total {
  text-align: right;
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: var(--navy);
  font-size: 1rem;
}

/* =========================
   SECTION TOTALS
========================= */

.section-footer {
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.section-footer strong {
  color: var(--navy);
  font-size: 1rem;
}

.section-footer span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* =========================
   FINAL TOTAL BOX
========================= */

.calc-results {
  background: linear-gradient(135deg, var(--navy), #244b80);
  color: var(--white);
  padding: 30px;
  border-radius: 20px;
  margin-top: 35px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.calc-results h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  font-size: 1.4rem;
}

#monthly-total {
  color: #ffd54f;
  font-size: 2rem;
  font-weight: 700;
}

/* =========================
   HELPER BADGES
========================= */

.helper-tag {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}

.help-section {
  padding: 80px 20px;
  background: #f8f9fb;
  text-align: center;
}

.help-container {
  max-width: 1100px;
  margin: 0 auto;
}

.help-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.help-section p {
  color: #555;
  margin-bottom: 40px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.help-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.help-card:hover {
  transform: translateY(-5px);
}

.help-card i {
  font-size: 30px;
  color: #f78957;
  margin-bottom: 15px;
}

.help-card h3 {
  margin-bottom: 10px;
}

.help-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #f78957;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
}

.help-card a:hover {
  background: #e67845;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {
  .calculator-container {
    padding: 22px;
  }

  .calculator-container h2 {
    font-size: 1.9rem;
  }

  .input-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .line-total {
    text-align: left;
    font-size: 1.1rem;
  }

  .section-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .calc-results h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  #monthly-total {
    font-size: 1.7rem;
  }
}

.mmc-footer {
  background: var(--navy); /* Navy Brand Color */
  color: #ffffff;
  padding: 80px 5% 40px;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  margin-top: 30px;
}

.footer-logo span {
  color: #ff8c00; /* Orange Accent */
  font-style: italic;
}

.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 300px;
  line-height: 1.6;
}

.mmc-footer h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: #ff8c00;
}

.mmc-footer ul {
  list-style: none;
  padding: 0;
}

.mmc-footer ul li {
  margin-bottom: 12px;
}

.mmc-footer ul li a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mmc-footer ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-tagline {
    margin: 0 auto;
  }
}

/* =========================================================
   GLOBAL RESPONSIVE FIXES
========================================================= */

/* Prevent horizontal scrolling */
html,
body {
  overflow-x: hidden;
}

/* Make all images responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Better responsive containers */
.container,
.about-container,
.editorial-container,
.compliance-container,
.help-container,
.partnership-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

/* =========================================================
   LARGE TABLETS
========================================================= */

@media (max-width: 1024px) {
  #mainNav {
    padding: 20px 30px;
  }

  .hero-content {
    padding-left: 30px;
    max-width: 700px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .choose-wrapper,
  .about-container,
  .about-hero-flex,
  .editorial-container,
  .contact-wrapper,
  .dual-column {
    flex-direction: column;
    gap: 40px;
  }

  .choose-image img,
  .about-image img {
    height: auto;
  }

  .insight-wrapper-left {
    margin-left: 0;
    max-width: 100%;
    padding: 0 20px;
  }

  .scope-split-grid,
  .detail-grid,
  .compliance-grid-detailed {
    grid-template-columns: 1fr;
  }

  .scope-split-grid::before {
    display: none;
  }
}

/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 768px) {
  /* NAVIGATION */
  #mainNav {
    padding: 15px 20px;
  }

  .nav-container {
    flex-wrap: wrap;
    height: auto;
    gap: 15px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .logo img {
    height: 42px;
  }

  /* HERO */
  .hero {
    min-height: 100vh;
    height: auto;
    padding-bottom: 60px;
  }

  .hero-alignment-wrapper {
    padding-top: 140px;
    align-items: center;
  }

  .hero-content {
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-quote {
    font-size: 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* STATS */
  .stats-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    padding: 60px 20px;
  }

  .stat-item {
    flex-direction: column;
  }

  /* SERVICES */
  .services {
    padding: 140px 20px 80px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 380px;
  }

  .card-front,
  .card-back {
    padding: 30px 20px;
  }

  /* WHY CHOOSE US */
  .why-choose-us {
    padding: 60px 20px;
  }

  .section-title-left {
    font-size: 2rem;
    text-align: center;
  }

  .choose-content {
    text-align: center;
  }

  .features-list li {
    justify-content: center;
  }

  /* PROCESS */
  .process {
    padding: 80px 20px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  /* CONTRACT CARD */
  .contract-banner {
    min-height: auto;
    padding: 60px 20px;
  }

  .contract-card {
    max-width: 100%;
  }

  .contract-card h2 {
    font-size: 1.8rem;
  }

  /* ABOUT */
  .about-section {
    padding: 140px 20px 80px;
  }

  .about-text h1 {
    font-size: 2.3rem;
  }

  .floating-card,
  .floating-logo-box {
    position: relative;
    transform: none;
    left: auto;
    bottom: auto;
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  /* INSIGHT SECTION */
  .insight-hero-left {
    min-height: auto;
    padding: 80px 20px;
    justify-content: center;
  }

  .main-quote {
    font-size: 1.2rem;
    padding: 0;
  }

  .quote-signature {
    margin-right: 0;
    padding-right: 0;
    text-align: center;
  }

  /* CONTACT */
  .contact-section {
    padding: 60px 20px;
  }

  .form-card {
    padding: 25px;
  }

  .form-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  /* SERVICES HERO */
  .services-hero-fixed {
    height: auto;
    min-height: 80vh;
    padding: 120px 20px 80px;
  }

  .hero-text-centered {
    margin-top: 0;
  }

  .hero-text-centered h1 {
    font-size: 2.3rem;
  }

  .hero-text-centered p {
    font-size: 1rem;
  }

  /* VALUE SECTION */
  .value-proposition {
    padding: 40px 20px;
  }

  .editorial-container {
    padding: 20px;
    gap: 40px;
  }

  .editorial-h2 {
    font-size: 2.2rem;
  }

  /* PRICING */
  .pricing-container,
  .calculator-container {
    margin: 40px 15px;
    padding: 20px;
  }

  .calculator-container h2 {
    font-size: 1.8rem;
  }

  .input-group {
    grid-template-columns: 1fr;
  }

  .line-total {
    text-align: left;
  }

  /* FOOTER */
  .mmc-footer {
    padding: 60px 20px 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-tagline {
    max-width: 100%;
  }
}

/* =========================================================
   SMALL MOBILE DEVICES
========================================================= */

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title,
  .editorial-title,
  .editorial-h2-large {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn,
  .btn-submit,
  .submit-btn {
    width: 100%;
  }

  .contract-card {
    padding: 25px 20px;
  }

  .contract-card h2 {
    font-size: 1.5rem;
  }

  .help-card,
  .info-box {
    padding: 20px;
  }

  .calc-section {
    padding: 20px;
  }

  .section-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #monthly-total {
    font-size: 1.5rem;
  }
}

/* =========================================================
   FIX INSIGHT SECTION POSITIONING
========================================================= */

/* DESKTOP - restore original positioning */
.insight-wrapper-left {
  margin-left: 360px;
  margin-bottom: 68px;
}

/* =========================================================
   INSIGHT SECTION RESPONSIVE FIX
========================================================= */

@media (max-width: 992px) {
  .insight-hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .insight-bg {
    background-position: center;
    background-size: cover;
  }

  .insight-wrapper-left {
    width: 100%;
    max-width: 250px; /* controls the text width */

    margin: 0 auto; /* centers horizontally */
    padding: 0 17px 148px 5px; /* adds bottom padding for spacing */

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main-quote {
    font-size: 0.8rem;
    line-height: 1.7;
    text-align: center;
  }
  .quote-icon {
    font-size: 1.5rem;
  }

  .bottom-quote-align {
    justify-content: center;
    margin-right: 0;
  }

  .quote-signature {
    text-align: center;
    margin: 15px 0 0;
    padding: 0;
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}

/* EXTRA SMALL DEVICES */

@media (max-width: 576px) {
  .insight-bg {
  position: relative;
  width: 100%;
  display: block;
  background: center;
  background-position: cover;
  /* margin: 0;
  padding: 0; */
}

  .insight-wrapper-left {
    position: absolute; /* key change */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* perfect centering */

    width: 100%;
    max-width: 60%;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 0 60px; /* remove push issues */
  }

  .main-quote {
    font-size: 0.5rem;
    line-height: 1.6;
    text-align: center;
  }

  .quote-icon {
    font-size: 1rem;
  }

  .quote-signature {
    text-align: center;
    margin-top: 12px;
    font-size: 0.4rem;
    letter-spacing: 1px;
  }
}

/* =========================================================
   FIX FLOATING IMAGE BLOCKING TEXT
========================================================= */

/* =========================
   BASE (DESKTOP)
========================= */

.value-proposition {
  position: relative;
  padding: 80px 20px;
}

.editorial-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

/* Floating image (desktop design) */
.proposition-image-floating {
  position: absolute;
  top: 30px;
  right: 100px;

  width: 270px;
  height: 270px;
  border-radius: 50%;
  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.proposition-image-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

/* TEXT */
.text-block {
  max-width: 100%;
  position: relative;
  z-index: 2;
}

.editorial-h2 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.editorial-h2 span {
  color: #333;
}

.editorial-p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-top: 20px;
}

/* BENEFITS */
.benefit-grid {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.benefit-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.benefit-item i {
  color: var(--primary);
  margin-top: 5px;
}

/* =========================
   TABLET + MOBILE FIX
========================= */

@media (max-width: 992px) {

  .editorial-container {
    flex-direction: column;
    gap: 30px;
  }

  /* KEY FIX: remove floating behavior */
  .proposition-image-floating {
    position: relative !important;
    top: auto;
    right: auto;

    width: 100%;
    max-width: 400px;
    height: auto;

    border-radius: 20px;
    margin: 0 auto 20px auto;

    z-index: 1;
  }

  .proposition-image-floating img {
    height: auto;
    border-radius: 20px;
  }

  .text-block {
    text-align: center;
  }

  .benefit-item {
    text-align: left;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 576px) {

  .editorial-h2 {
    font-size: 2rem;
  }

  .editorial-p {
    font-size: 1rem;
  }

  .benefit-item {
    font-size: 0.95rem;
  }
}