@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --primary-navy: #1F3A6D;
  --gold-accent: #C89B2C;
  --grey-support: #6B6B6B;
  --white: #FFFFFF;
  --bg-light: #F8F9FA;
  --text-dark: #212529;
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;
}


body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-navy);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Utilities */
.text-navy {
  color: var(--primary-navy) !important;
}

.text-gold {
  color: var(--gold-accent) !important;
}

.bg-navy {
  background-color: var(--primary-navy) !important;
}

.bg-light-grey {
  background-color: var(--bg-light) !important;
}

/* Buttons */
.btn-gold {
  background-color: var(--gold-accent);
  color: var(--white);
  border: 1px solid var(--gold-accent);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--gold-accent);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-gold:hover {
  background-color: var(--gold-accent);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-navy);
}

/* Navbar */
.navbar {
  transition: all 0.4s ease;
  padding: 20px 0;
  background-color: transparent;
}

.navbar.scrolled,
.navbar.solid-nav {
  background-color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  color: var(--white);
}

.navbar.scrolled .navbar-brand,
.navbar.solid-nav .navbar-brand {
  color: var(--primary-navy);
}

.navbar-brand span {
  color: var(--gold-accent);
}

.brand-sub {
  font-size: 0.35em;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-top: -8px;
  font-family: var(--font-body);
}

.navbar.scrolled .brand-sub,
.navbar.solid-nav .brand-sub {
  color: var(--grey-support);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 12px;
  position: relative;
  padding-bottom: 8px !important;
}

.navbar.scrolled .nav-link,
.navbar.solid-nav .nav-link {
  color: var(--primary-navy) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background-color: var(--gold-accent);
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 28px;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .navbar-toggler,
.navbar.solid-nav .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar.scrolled .navbar-toggler-icon,
.navbar.solid-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(31, 58, 109, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: url('hero_infrastructure_skyline.png') center/cover no-repeat;
  color: var(--white);
  padding-top: 140px;
  /* Dynamic header top offset */
  padding-bottom: 100px;
  /* Secure bottom padding so buttons never touch the border */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(31, 58, 109, 0.7), rgba(31, 58, 109, 0.4), rgba(200, 155, 44, 0.2));
  background-size: 200% 200%;
  animation: gradientMotion 10s ease infinite;
  z-index: 1;
}

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

@keyframes gradientMotion {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Subpage Hero */
.subpage-hero {
  padding: 160px 0 100px;
  color: var(--white);
  text-align: left;
  position: relative;
}

.subpage-hero-title {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  font-family: var(--font-heading);
}

.subpage-hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

/* Section Common */
.section-padding {
  padding: 70px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--gold-accent);
  bottom: 0;
  left: 0;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--grey-support);
  line-height: 1.8;
  margin-bottom: 50px;
}

/* Feature Cards */
.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--gold-accent);
}

.feature-icon {
  font-size: 3rem;
  color: var(--gold-accent);
  margin-bottom: 25px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Framework Diagram */
.framework-wrapper {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
}

.framework-center-logo {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: var(--white);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto 50px;
  box-shadow: 0 15px 40px rgba(31, 58, 109, 0.1);
  border: 4px solid var(--primary-navy);
}

.framework-center-logo h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  margin: 0;
}

.framework-center-logo span {
  color: var(--gold-accent);
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.framework-item {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary-navy);
  transition: all 0.3s ease;
}

.framework-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.framework-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-navy);
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--font-heading);
  border-radius: 50%;
  margin-right: 15px;
  font-weight: bold;
}

.framework-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* Service Cards */
.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  border-left: 3px solid transparent;
}

.service-card:hover {
  border-left-color: var(--gold-accent);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
  transform: translateX(5px);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-navy);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  color: var(--gold-accent);
}

/* Sector Cards */
.sector-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 350px;
  margin-bottom: 30px;
}

.sector-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sector-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(31, 58, 109, 0.95) 10%, rgba(31, 58, 109, 0.4) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--white);
}

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

.sector-title {
  color: var(--gold-accent);
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.sector-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  height: 0;
  overflow: hidden;
}

.sector-card:hover .sector-desc {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  margin-top: 15px;
}

/* Stats */
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-accent);
}

.stat-number {
  font-size: 3rem;
  font-family: var(--font-heading);
  color: var(--gold-accent);
  margin-bottom: 10px;
}

/* Final CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #112244 100%);
  padding: 100px 0;
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background-color: #0b1528;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 15px;
}

.footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-accent);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--gold-accent);
  padding-left: 5px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  margin-right: 15px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icons a:hover {
  background: var(--gold-accent);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-top: 50px;
  font-size: 0.9rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Methodology Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--gold-accent);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary-navy);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--white);
  position: relative;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

/* Custom Responsive Media Queries for Nest Hub, Tab, Phone, and All Devices */

/* Large Tablets & Nest Hub Max (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto !important;
    /* Allow the content to determine height on short-height screens */
    padding-top: 130px;
    padding-bottom: 80px;
    /* Secure bottom margin below buttons */
  }

  .hero-title {
    font-size: 2.8rem;
    margin-bottom: 18px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 25px;
  }

  .subpage-hero-title {
    font-size: 2.8rem;
  }

  .hero-main-title {
    font-size: 2.5rem !important;
  }

  .section-padding {
    padding: 45px 0 !important;
  }
}

/* Tablets / iPads & Nest Hub (max-width: 991.98px) */
@media (max-width: 991.98px) {
  .navbar {
    padding: 12px 0;
    background-color: var(--white) !important;
    /* Solid background for collapsible states */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .navbar .navbar-brand img {
    filter: none !important;
    /* Show rich colored logo on solid backdrop */
    height: 48px !important;
  }

  .navbar .nav-link {
    color: var(--primary-navy) !important;
    margin: 10px 0;
    padding-left: 10px;
  }

  .navbar .nav-link::after {
    left: 10px !important;
    bottom: -2px !important;
    /* Position cleanly below the text line */
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  }

  .navbar .nav-link:hover::after,
  .navbar .nav-link.active::after {
    width: 20% !important;
    /* Premium small accent line instead of full screen stretching */
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(31, 58, 109, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  }

  .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1) !important;
    padding: 4px 8px;
    border-radius: 4px;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
  }

  .navbar-collapse {
    background: transparent;
    padding: 10px 0 5px;
    border-radius: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 8px;
    box-shadow: none;
  }

  .hero-section {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 80px;
  }

  .hero-main-title {
    font-size: 2.1rem !important;
  }

  .section-padding {
    padding: 35px 0 !important;
  }
}

/* Phones & Smaller Mobile Devices (max-width: 767.98px) */
@media (max-width: 767.98px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
  }

  .right {
    left: 0%;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .subpage-hero {
    padding: 120px 0 60px;
  }

  .subpage-hero-title {
    font-size: 2.2rem;
  }

  .section-padding {
    padding: 25px 0 !important;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  .hero-main-title {
    font-size: 1.95rem !important;
  }
}

/* Very Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .navbar .navbar-brand img {
    height: 40px !important;
    /* Downscale logo to prevent toggler overlap on tiny viewports */
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .btn-gold,
  .btn-outline-white,
  .btn-outline-gold {
    width: 100%;
    text-align: center;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-main-title {
    font-size: 1.55rem !important;
  }

  .section-title {
    font-size: 1.45rem !important;
  }

  .section-padding {
    padding: 20px 0 !important;
  }
}

/* Premium Logo Display Handle (Desktop/Mobile transparent vs solid navbar) */
.navbar-brand .logo-light {
  display: none;
}

.navbar-brand .logo-dark {
  display: inline-block;
}

/* When the navbar is transparent (desktop only, not scrolled and not solid-nav) */
@media (min-width: 992px) {
  .navbar:not(.scrolled):not(.solid-nav):not(.navbar-home) .navbar-brand .logo-light {
    display: inline-block;
  }

  .navbar:not(.scrolled):not(.solid-nav):not(.navbar-home) .navbar-brand .logo-dark {
    display: none;
  }
}

/* Ensure footer logo on dark navy remains crisp with its natural branding colors */
.footer .navbar-brand img {
  /* Keeping natural branding footer_logo.png colors (white text + gold checkmark) */
}

/* Premium Custom Section Image Sizing (Desktop/Mobile adaptive cropping) */
.custom-section-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 991.98px) {
  .custom-section-img {
    height: 300px;
    /* Slimmer elegant height on tablet collapse modes */
  }
}

@media (max-width: 576px) {
  .custom-section-img {
    height: 220px !important;
    /* Perfect sleek height on smartphones */
  }
}

/* Strategic Expert Ecosystem Styles & Responsive Paragraph Cleanups */
.ecosystem-highlight {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--gold-accent);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin-top: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ecosystem-highlight-title {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-accent);
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

@media (max-width: 767.98px) {
  .bg-navy .col-lg-7 p {
    font-size: 0.95rem;
    /* Clean, slightly smaller text on smartphones */
    line-height: 1.7;
    /* Perfect legibility */
    margin-bottom: 18px !important;
  }

  .bg-navy .col-lg-7 p.lead {
    font-size: 1.05rem !important;
    /* Standout lead paragraph */
    line-height: 1.6;
  }

  .ecosystem-highlight {
    padding: 15px 18px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* =============================================
   Sector Cards — Responsive Component
   ============================================= */

/* ---- DESKTOP: original horizontal strip with dividers ---- */
.sector-item {
  flex: 1 1 14%;
  min-width: 160px;
  border-right: 1px solid #dee2e6;
  transition: background 0.25s ease;
}

.sector-item:last-child {
  border-right: none;
}

.sector-item:hover {
  background: var(--white) !important;
  box-shadow: 0 10px 30px rgba(31, 58, 109, 0.08);
  border-radius: 8px;
}

/* Shared title & desc styles (used on all sizes) */
.sector-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 60px;
}

.sector-card-desc {
  font-size: 0.875rem;
  color: var(--grey-support);
  line-height: 1.65;
  margin-bottom: 0;
}

.sector-card-bar {
  width: 30px;
  height: 2px;
  background-color: var(--gold-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.sector-item:hover .sector-card-bar {
  width: 50px;
}

/* ---- TABLET (≤991px): switch to 3-column card grid ---- */
@media (max-width: 991.98px) {
  .sectors-flex-wrap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-items: stretch;
  }

  .sector-item {
    border-right: none !important;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    background: #fff;
    padding: 20px 16px !important;
    box-shadow: 0 4px 12px rgba(31, 58, 109, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .sector-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(31, 58, 109, 0.10);
    border-color: var(--gold-accent);
    background: #fff;
    border-radius: 10px;
  }

  .sector-card-title {
    font-size: 0.95rem;
    min-height: unset;
  }

  .sector-card-desc {
    font-size: 0.83rem;
  }
}

/* ---- PHONE (≤575px): switch to 2-column card grid ---- */
@media (max-width: 575.98px) {
  .sectors-flex-wrap {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .sector-item {
    padding: 14px 10px !important;
  }

  .sector-item i {
    font-size: 1.6rem !important;
  }

  .sector-card-title {
    font-size: 0.8rem;
  }

  .sector-card-desc {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .sector-card-bar {
    width: 24px;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
}

/* =============================================
   Premium Homepage Enhancements (INVFA Connect)
   ============================================= */

/* Hero motion gradient overlay */
.hero-section {
  position: relative;
  min-height: 80vh !important;
  /* Reduced blue opacity from 0.9/0.95 to 0.45/0.65 to let the high-res image show through */
  background: linear-gradient(135deg, rgba(31, 58, 109, 0.45) 0%, rgba(15, 30, 60, 0.65) 100%),
    url('hero_infrastructure_skyline.png') center/cover no-repeat;
  background-size: cover;
  background-attachment: scroll;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  /* Added text shadow for readability */
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 40px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  /* Added text shadow for readability */
}

/* Section Title refinements */
.section-intro-text {
  font-size: 1.1rem;
  color: var(--grey-support);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
}


/* Premium Horizontal Framework Layout */
.framework-cards-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 15px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.framework-card-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 10px;
  padding: 35px 20px 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.framework-card-col:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(200, 155, 44, 0.18);
  border-color: #C89B2C;
  background: linear-gradient(to bottom, #ffffff 0%, #fffdf9 100%);
}

.framework-card-col:hover .framework-card-icon-wrap {
  border-color: #C89B2C;
  color: #C89B2C;
  background: rgba(200, 155, 44, 0.03);
}

.framework-card-col:hover .framework-card-number {
  background-color: #C89B2C;
}

.framework-card-col:hover .framework-card-title {
  color: #C89B2C;
}

.framework-card-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid #1F3A6D;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 2rem;
  color: #1F3A6D;
  background: var(--white);
  transition: all 0.3s ease;
}

.framework-card-number {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #1F3A6D;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.framework-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1F3A6D;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.framework-card-desc {
  font-size: 0.82rem;
  color: var(--grey-support);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Arrow between cards */
.framework-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C89B2C;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Emphasis Gold for Validate (Card 3) */
.framework-card-col.emphasis {
  border: 2px solid rgba(200, 155, 44, 0.6);
  box-shadow: 0 8px 25px rgba(200, 155, 44, 0.12);
  background: linear-gradient(to bottom, #ffffff 0%, #fffdf9 100%);
}

.framework-card-col.emphasis:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 40px rgba(200, 155, 44, 0.22);
  border-color: #C89B2C;
}

.framework-card-col.emphasis .framework-card-icon-wrap {
  border-color: #C89B2C;
  color: #C89B2C;
  background: rgba(200, 155, 44, 0.03);
}

.framework-card-col.emphasis .framework-card-number {
  background-color: #C89B2C;
}

.framework-card-col.emphasis .framework-card-title {
  color: #C89B2C;
}

/* Principles row styling */
.framework-principles-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eaeef2;
  border-bottom: 1px solid #eaeef2;
  padding: 30px 0;
  margin-top: 60px;
}

.framework-principle-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 20px;
  border-right: 1px solid rgba(200, 155, 44, 0.3);
}

.framework-principle-col:last-child {
  border-right: none;
}

.framework-principle-icon {
  font-size: 1.8rem;
  color: #1F3A6D;
}

.framework-principle-content {
  text-align: left;
}

.framework-principle-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1F3A6D;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.framework-principle-desc {
  font-size: 0.8rem;
  color: var(--grey-support);
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .framework-cards-row {
    flex-direction: column;
    gap: 20px;
  }

  .framework-card-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }

  .framework-principles-row {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    border-bottom: none;
    border-top: none;
    padding: 0;
    margin-top: 40px;
  }

  .framework-principle-col {
    width: 100%;
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid #eaeef2;
    padding: 15px 0;
  }

  .framework-principle-col:last-child {
    border-bottom: none;
  }
}

/* Why INVFA Connect Cards */
.why-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: 8px;
  border: 1px solid #f0f3f6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
  transition: all 0.3s ease;
  height: 100%;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(31, 58, 109, 0.05);
  border-color: rgba(31, 58, 109, 0.1);
}

.why-icon {
  font-size: 2.2rem;
  color: var(--gold-accent);
  margin-bottom: 20px;
  display: inline-block;
}

/* Expertise Area Cards */
.expertise-card {
  background: var(--white);
  padding: 30px 25px;
  border-radius: 8px;
  border: 1px solid #e8edf3;
  transition: all 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(31, 58, 109, 0.06);
  border-color: var(--gold-accent);
}

.expertise-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.gold-divider {
  width: 40px;
  height: 2px;
  background-color: var(--gold-accent);
  margin: 12px 0;
  transition: width 0.3s ease;
}

.expertise-card:hover .gold-divider {
  width: 65px;
}

/* Insights Preview Cards */
.insight-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
  border: 1px solid #eef2f6;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(31, 58, 109, 0.08);
  border-color: #d1dbe5;
}

.insight-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.insight-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #C89B2C;
  /* Gold Accent */
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.insight-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1F3A6D;
  /* Primary Navy */
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.insight-card:hover .insight-title {
  color: #C89B2C;
}

.insight-desc {
  font-size: 0.9rem;
  color: var(--grey-support);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.insight-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1F3A6D;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  width: fit-content;
}

.insight-link i {
  transition: transform 0.3s ease;
}

.insight-link:hover {
  color: #C89B2C;
}

.insight-link:hover i {
  transform: translateX(5px);
}

/* Responsive framework adjustments */
@media (max-width: 991.98px) {
  .framework-flow-container {
    flex-direction: column;
    gap: 25px;
  }

  .framework-flow-container::before {
    left: 50px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    height: auto;
  }

  .framework-flow-step {
    display: flex;
    text-align: left;
    align-items: center;
    padding: 20px 25px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .framework-flow-icon-wrap {
    margin-bottom: 0;
    margin-right: 20px;
    flex-shrink: 0;
  }

  .framework-flow-step-content {
    flex-grow: 1;
  }

  .framework-flow-step.emphasis {
    transform: scale(1);
  }

  .framework-flow-step.emphasis:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 575.98px) {
  .framework-flow-step {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .framework-flow-icon-wrap {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .framework-flow-container::before {
    display: none;
    /* Hide timeline line on phone vertical view for clean minimalism */
  }
}

/* =============================================
   Approach Page Enhancements (INVFA Framework)
   ============================================= */

.stage-row {
  margin-bottom: 80px;
}

.stage-row:last-child {
  margin-bottom: 0;
}

.stage-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.stage-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 58, 109, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.stage-content {
  padding: 20px 0;
}

.stage-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(200, 155, 44, 0.1);
  border-radius: 50%;
  color: var(--gold-accent);
}

.tracking-widest {
  letter-spacing: 2px;
}

.principle-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 12px;
  border: 1px solid #f0f3f6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  height: 100%;
}

.principle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(31, 58, 109, 0.08);
  border-color: var(--gold-accent);
}

.principle-icon {
  font-size: 2.5rem;
  color: var(--gold-accent);
  margin-bottom: 20px;
}

.principle-title {
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

/* Interactive Stage Stepper Selector */
.stage-nav-list {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.stage-nav-item {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 12px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.stage-nav-item:hover {
  transform: translateX(6px);
  border-color: rgba(31, 58, 109, 0.15);
  box-shadow: 0 5px 20px rgba(31, 58, 109, 0.04);
}

.stage-nav-item.active {
  background: var(--white);
  border-color: var(--gold-accent);
  box-shadow: 0 10px 30px rgba(200, 155, 44, 0.1);
  transform: translateX(10px);
}

.stage-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold-accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.stage-nav-item.active::before {
  transform: scaleY(1);
}

.stage-nav-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: #cdd8e4;
  margin-right: 22px;
  transition: color 0.3s ease;
}

.stage-nav-item.active .stage-nav-num {
  color: var(--gold-accent);
}

.stage-nav-text {
  display: flex;
  flex-direction: column;
}

.stage-nav-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  transition: color 0.3s ease;
}

.stage-nav-item.active .stage-nav-title {
  color: var(--gold-accent);
}

.stage-nav-subtitle {
  font-size: 0.75rem;
  color: var(--grey-support);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* Details Cards Display */
.stage-details-container {
  position: relative;
}

.stage-details-card {
  display: none;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
  border: 1px solid #eef2f6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.stage-details-card.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.stage-details-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  position: relative;
}

.stage-details-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stage-details-card:hover .stage-details-img {
  transform: scale(1.05);
}

.stage-details-body {
  padding: 40px;
}

.stage-details-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(200, 155, 44, 0.06);
  border: 1px solid rgba(200, 155, 44, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.5rem;
}

.stage-deliverables i {
  color: var(--gold-accent);
}

/* Stepper Responsive Adjustments */
@media (max-width: 991.98px) {
  .stage-nav-list {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 15px;
    margin-bottom: 25px;
    gap: 15px;
    -webkit-overflow-scrolling: touch;
  }

  .stage-nav-item {
    margin-bottom: 0;
    flex: 0 0 auto;
    padding: 14px 20px;
  }

  .stage-nav-item.active {
    transform: none;
  }

  .stage-nav-item:hover {
    transform: none;
  }

  .stage-nav-item::before {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: auto;
    height: 3px;
    transform: scaleX(0);
  }

  .stage-nav-item.active::before {
    transform: scaleX(1);
  }

  .stage-details-body {
    padding: 30px;
  }
}

@media (min-width: 992px) {
  .stage-nav-item {
    flex: 1;
    margin-bottom: 15px;
  }

  .stage-nav-item:last-child {
    margin-bottom: 0;
  }

  .stage-details-container {
    height: 100%;
  }

  .stage-details-card.active {
    height: 100%;
  }

  .stage-details-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
  }
}


/* =============================================
   Premium Light Hero Banner (INVFA Connect)
   ============================================= */
.hero-section-light {
  position: relative;
  min-height: 85vh;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 38%, rgba(255, 255, 255, 0.20) 70%, rgba(255, 255, 255, 0) 100%),
    url('hero_glass_sunrise.jpg') center right/cover no-repeat;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-light-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 1;
}

.hero-light-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

/* Beautiful soft mask fading the bridge image into the white page */
.hero-light-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: -1px;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
}

/* On medium devices (tablets), adjust layout to avoid clipping text */
@media (max-width: 991.98px) {
  .hero-section-light {
    padding-top: 120px !important;
    padding-bottom: 60px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 60%, rgba(255, 255, 255, 0.6) 100%),
      url('hero_glass_sunrise.jpg') center right/cover no-repeat !important;
    text-align: center;
    min-height: auto;
    flex-direction: column;
  }

  .hero-divider {
    margin: 15px auto !important;
  }

  .hero-light-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    margin-top: 40px;
    order: 2;
  }

  .hero-light-image-wrapper::after {
    top: -1px;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.9) 20%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-desc-text {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) and (min-height: 1366px) {
  .hero-section-light {
    min-height: 35px;
  }
}

.hero-pre-title {
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-main-title .highlight-gold {
  color: var(--gold-accent);
}

.hero-divider {
  width: 45px;
  height: 3px;
  background-color: var(--gold-accent);
  margin-bottom: 25px;
  border-radius: 2px;
}

.hero-desc-text {
  font-size: 1.08rem;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 35px;
  max-width: 580px;
}

.btn-hero-navy {
  background-color: #051433;
  color: var(--white) !important;
  border: 1px solid #051433;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-hero-navy:hover {
  background-color: transparent;
  color: #051433 !important;
}

.btn-hero-outline {
  background-color: transparent;
  color: #051433 !important;
  border: 1px solid #051433;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  margin-left: 15px;
}

.btn-hero-outline:hover {
  background-color: #051433;
  color: var(--white) !important;
}

@media (max-width: 575.98px) {
  .hero-main-title {
    font-size: 1.7rem !important;
  }

  .hero-desc-text {
    font-size: 0.98rem;
  }

  .btn-hero-outline {
    margin-left: 0;
    margin-top: 12px;
    width: 100%;
    justify-content: center;
  }

  .btn-hero-navy {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   Navbar Enhancements & Home/Scrolled States
   ============================================= */
.navbar.navbar-home {
  background-color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  padding: 12px 0;
}

.navbar.navbar-home .nav-link {
  color: var(--primary-navy) !important;
}

/* Contact Us Button Styling (Blue Background) */
.btn-contact-nav {
  border-radius: 4px;
  padding: 8px 20px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  margin-left: 15px;
  background-color: var(--primary-navy) !important;
  border: 1.5px solid var(--primary-navy) !important;
  color: var(--white) !important;
}

.btn-contact-nav:hover {
  background-color: transparent !important;
  color: var(--primary-navy) !important;
}

@media (max-width: 991.98px) {
  .btn-contact-nav {
    margin-left: 10px;
    margin-top: 10px;
    width: fit-content;
  }
}

/* =============================================
   Floating Overlapping Framework Card
   ============================================= */
.floating-framework-container {
  margin-top: 60px;
  /* Beautiful gap instead of overlap! */
  position: relative;
  z-index: 100;
  padding-bottom: 60px;
}

@media (max-width: 991.98px) {
  .floating-framework-container {
    margin-top: 40px;
    /* Elegant gap on tablet and mobile viewports */
    padding-bottom: 40px;
  }
}

.framework-floating-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(31, 58, 109, 0.08);
  box-shadow: 0 15px 45px rgba(31, 58, 109, 0.06);
  padding: 50px 40px 40px;
}

.framework-floating-card .framework-header-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--gold-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.framework-floating-card .framework-header-title::before,
.framework-floating-card .framework-header-title::after {
  content: '';
  height: 1px;
  width: 40px;
  background-color: var(--gold-accent);
  display: inline-block;
}

.framework-floating-card .framework-header-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--grey-support);
  margin-bottom: 40px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.framework-floating-grid {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
}

.framework-step-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 10px;
  margin-top: -5px;
  margin-bottom: -5px;
  border-radius: 10px;
  border: 1.5px solid rgba(5, 20, 51, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.framework-step-column:hover {
  background-color: #FDF9F0;
  border-color: var(--gold-accent);
  box-shadow: 0 8px 25px rgba(200, 155, 44, 0.08);
}

.framework-step-icon-box {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 2px solid var(--primary-navy);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-navy);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.framework-step-column:hover .framework-step-icon-box {
  border-color: var(--gold-accent);
  color: var(--gold-accent);
  background-color: #FDF9F0;
}

.framework-step-number-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.framework-step-column:hover .framework-step-number-badge {
  background: var(--gold-accent);
}

.framework-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.framework-step-column:hover .framework-step-title {
  color: var(--gold-accent);
}

.framework-step-desc {
  font-size: 0.8rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 0;
}

.framework-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-accent);
  font-size: 1.25rem;
  font-weight: bold;
  opacity: 0.7;
}

@media (max-width: 991.98px) {
  .framework-floating-grid {
    flex-direction: column;
    gap: 35px;
  }

  .framework-step-arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }

  .framework-step-column.highlighted {
    margin-top: 0;
    margin-bottom: 0;
    padding: 20px 15px;
  }
}

/* =============================================
   Bottom Principles Row (Horizontal Strip) - Standalone Card
   ============================================= */
.principles-horizontal-strip {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid rgba(31, 58, 109, 0.08);
  box-shadow: 0 10px 30px rgba(31, 58, 109, 0.04);
  padding: 30px 25px;
  margin-top: 30px;
}

.principle-strip-col {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 20px;
  border-right: 1px solid #eef2f6;
}

.principle-strip-col:last-child {
  border-right: none;
}

.principle-strip-icon {
  font-size: 1.8rem;
  color: var(--primary-navy);
  flex-shrink: 0;
}

.principle-strip-content {
  display: flex;
  flex-direction: column;
}

.principle-strip-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.principle-strip-desc {
  font-size: 0.8rem;
  color: var(--grey-support);
  margin-bottom: 0;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .principles-horizontal-strip {
    flex-direction: column;
    gap: 20px;
    padding: 25px 20px;
  }

  .principle-strip-col {
    border-right: none;
    border-bottom: 1px solid #eef2f6;
    padding: 15px 0;
  }

  .principle-strip-col:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   CUSTOM ACCORDION STYLING FOR DETAILED FRAMEWORK SECTION
   ========================================================================== */
.accordion-item {
  border-radius: 8px !important;
  border: 1px solid rgba(5, 20, 51, 0.08) !important;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  background-color: var(--white);
}

.accordion-item:hover {
  box-shadow: 0 6px 20px rgba(5, 20, 51, 0.05);
  border-color: rgba(5, 20, 51, 0.15) !important;
}

.accordion-button {
  background-color: var(--white) !important;
  color: var(--primary-navy) !important;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 20px 24px;
  border: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background-color: #FDF9F0 !important;
  color: var(--gold-accent) !important;
  border-bottom: 1px solid rgba(200, 155, 44, 0.1) !important;
}

.accordion-button::after {
  filter: brightness(0.2);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(1) sepia(1) saturate(5) hue-rotate(340deg) !important;
}

.accordion-body {
  background-color: var(--white);
  padding: 22px 24px 24px;
  color: #4A5568;
  font-size: 0.92rem;
  line-height: 1.7;
}

.accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: rgba(200, 155, 44, 0.3) !important;
  box-shadow: 0 8px 25px rgba(200, 155, 44, 0.05);
}

/* =============================================
   Validate Gold & Blue Custom Emphasis
   ============================================= */
/* Blue Highlighted Card (Step 1, 2, 4, 5) */
.framework-step-column.highlighted-blue {
  background-color: #F0F4FA;
  /* Soft brand blue tint */
  border-color: var(--primary-navy) !important;
  box-shadow: 0 8px 25px rgba(31, 58, 109, 0.05);
}

.framework-step-column.highlighted-blue .framework-step-title {
  color: var(--primary-navy) !important;
}

.framework-step-column.highlighted-blue .framework-step-icon-box {
  background-color: var(--primary-navy) !important;
  color: var(--white) !important;
  border-color: var(--primary-navy) !important;
}

.framework-step-column.highlighted-blue .framework-step-number-badge {
  background-color: var(--primary-navy) !important;
  color: var(--white) !important;
}

/* Gold Highlighted Card (Step 3: Validate) */
.framework-step-column.highlighted-gold {
  background-color: #FDF9F0;
  /* Soft gold-yellow background */
  border-color: var(--gold-accent) !important;
  box-shadow: 0 8px 25px rgba(200, 155, 44, 0.08);
}

.framework-step-column.highlighted-gold .framework-step-title {
  color: var(--gold-accent) !important;
}

.framework-step-column.highlighted-gold .framework-step-icon-box {
  background-color: var(--gold-accent) !important;
  color: var(--white) !important;
  border-color: var(--gold-accent) !important;
}

.framework-step-column.highlighted-gold .framework-step-number-badge {
  background-color: var(--gold-accent) !important;
  color: var(--white) !important;
}

/* Beautiful Interactive Hover Effects */
.framework-step-column.highlighted-blue:hover {
  background-color: var(--primary-navy) !important;
  color: var(--white) !important;
  box-shadow: 0 12px 35px rgba(31, 58, 109, 0.2) !important;
  transform: translateY(-5px);
}

.framework-step-column.highlighted-blue:hover .framework-step-title {
  color: var(--white) !important;
}

.framework-step-column.highlighted-blue:hover .framework-step-desc {
  color: rgba(255, 255, 255, 0.85) !important;
}

.framework-step-column.highlighted-blue:hover .framework-step-icon-box {
  background-color: var(--white) !important;
  color: var(--primary-navy) !important;
  border-color: var(--white) !important;
}

.framework-step-column.highlighted-blue:hover .framework-step-number-badge {
  background-color: var(--gold-accent) !important;
  color: var(--white) !important;
}

.framework-step-column.highlighted-gold:hover {
  background-color: var(--gold-accent) !important;
  color: var(--white) !important;
  box-shadow: 0 12px 35px rgba(200, 155, 44, 0.2) !important;
  transform: translateY(-5px);
}

.framework-step-column.highlighted-gold:hover .framework-step-title {
  color: var(--white) !important;
}

.framework-step-column.highlighted-gold:hover .framework-step-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

.framework-step-column.highlighted-gold:hover .framework-step-icon-box {
  background-color: var(--white) !important;
  color: var(--gold-accent) !important;
  border-color: var(--white) !important;
}

.framework-step-column.highlighted-gold:hover .framework-step-number-badge {
  background-color: var(--primary-navy) !important;
  color: var(--white) !important;
}