/* Reset and Base Styles */
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Inter', sans-serif;
 line-height: 1.6;
 color: #374151;
 overflow-x: hidden;
}

.container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 1.5rem;
}

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

/* Color Variables */
:root {
 --olive-500: #6d7c4e;
 --olive-600: #5a683f;
 --olive-700: #4d5734;
 --gray-900: #111827;
 --gray-800: #1f2937;
 --gray-700: #374151;
 --gray-600: #4b5563;
 --gray-50: #f9fafb;
 --white: #ffffff;
 --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
 --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
 --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.mobile-close {
  display: none;
  text-align: right;
  padding: 12px 16px;
}

.mobile-close button {
  font-size: 24px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Show only on mobile */
@media (max-width: 991px) {
  .mobile-close {
    display: block;
  }
}

.has-submenu {
  position: relative;
}

/* Parent button */
.submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  padding: 10px 0;
}

/* Icon */
.submenu-icon {
  font-size: 18px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Submenu hidden */
.submenu {
  display: none;
  flex-direction: column;
  background: white;
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Show submenu */
.has-submenu.open .submenu {
  display: block;
}

/* Rotate icon when open */
.has-submenu.open .submenu-icon {
  transform: rotate(45deg); /* + becomes × */
}

/* Desktop hover support */
@media (min-width: 992px) {
  .has-submenu:hover .submenu {
    display: block;
  }

  .has-submenu:hover .submenu-icon {
    transform: rotate(45deg);
  }
}

.has-submenu.open .submenu-icon {
  transform: rotate(180deg);
}


/* Top Bar */
.top-bar {
 background: var(--olive-500);
 border-bottom: 1px solid #e5e7eb;
 font-size: 0.875rem;
 color: #ffffff;
}

.top-bar-content {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 0.5rem 0;
}

.top-bar-left {
 display: flex;
 gap: 2rem;
}

.top-link {
 color: inherit;
 text-decoration: none;
 transition: color 0.2s;
}

.top-link:hover {
 color: var(--olive-500);
 text-decoration: underline;
}

@media (max-width: 768px) {
 .top-bar {
     display: none;
 }
}

/* Navigation */
.navbar {
 position: sticky;
 top: 0;
 background: var(--white);
 box-shadow: var(--shadow-sm);
 z-index: 50;
 padding: 1rem 0;
}

.navbar .container {
 display: grid;
 grid-template-columns: auto 1fr auto;
 align-items: center;
 gap: 2rem;
}

.nav-brand {
 display: flex;
 align-items: center;
 gap: 0.75rem;
 cursor: pointer;
}

.logo {
 width: 2.5rem;
 height: 2.5rem;
 background: var(--olive-500);
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--white);
 font-weight: 700;
 font-size: 1.25rem;
}

.brand-text h1 {
 font-size: 1.25rem;
 font-weight: 700;
 line-height: 1;
}

.brand-text p {
 font-size: 0.625rem;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 color: var(--gray-600);
 margin: 0;
}

.nav-menu {
 display: flex;
 list-style: none;
 gap: 2rem;
 align-items: center;
 margin: 0;
}

.nav-menu a {
 color: var(--gray-700);
 text-decoration: none;
 font-weight: 500;
 font-size: 0.875rem;
 transition: color 0.2s;
}

.nav-menu a:hover {
 color: var(--olive-500);
}

.cta-btn {
 background: var(--olive-500);
 color: var(--white);
 padding: 0.75rem 1.5rem;
 border-radius: 0.5rem;
 font-weight: 600;
 text-decoration: none;
 transition: all 0.2s;
}

.cta-btn:hover {
 background: var(--olive-600);
 transform: translateY(-1px);
}

.mobile-toggle {
 display: none;
 flex-direction: column;
 background: none;
 border: none;
 cursor: pointer;
 padding: 0.5rem;
 gap: 0.25rem;
}

.mobile-toggle span {
 width: 1.5rem;
 height: 2px;
 background: var(--gray-700);
 transition: 0.2s;
}

@media (max-width: 1024px) {
 .nav-menu {
     display: none;
 }
 
 .mobile-toggle {
     display: flex;
 }
}

/* Hero */
.hero {
 position: relative;
 height: clamp(500px, 50vw, 700px);
 display: flex;
 align-items: center;
 overflow: hidden;
 
}

.hero-bg {
 position: absolute;
 inset: 0;
 background-image: linear-gradient(135deg, hsla(68, 35%, 25%, .85) 0%, hsla(220, 15%, 20%, .75) 100%),
 url("https://yellowheadeast.webserver9.com/assets/Images/hero-bg.jpg");
 background-size: cover;
 background-position: center;
 background-repeat: no-repeat;
}

.hero-bg img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.hero-overlay {
 position: absolute;
 inset: 0;
}

.hero-content {
 position: relative;
 z-index: 10;
 color: var(--white);
 max-width: 768px;
 text-align: center;
}

.hero-content p:first-child {
 text-transform: uppercase;
 letter-spacing: 0.1em;
 font-size: 0.875rem;
 font-weight: 300;
 margin-bottom: 1rem;
 opacity: 0.9;
}

.hero-content h2 {
 font-size: clamp(2.5rem, 5vw, 4rem);
 font-weight: 700;
 margin-bottom: 1.5rem;
 line-height: 1.1;
}

.hero-content > p:last-of-type {
 font-size: 1.125rem;
 opacity: 0.9;
 margin-bottom: 2rem;
 max-width: 32rem;
}

.hero-cta {
 display: inline-block;
 background: var(--olive-500);
 color: var(--white);
 padding: 1rem 2rem;
 border-radius: 0.5rem;
 font-weight: 600;
 font-size: 1.125rem;
 text-decoration: none;
 transition: all 0.3s;
}

.hero-cta:hover {
 background: var(--olive-600);
 transform: scale(1.05);
}

/* Marquee */
.marquee {
 background: var(--gray-50);
 text-align: center;
 padding: 3rem 0;
}

.marquee h3 {
 font-size: clamp(1.875rem, 4vw, 2.5rem);
 font-weight: 700;
 color: var(--gray-900);
}

/* Section Headers */
.section-header {
 text-align: center;
 margin-bottom: 4rem;
}

.section-header.centered p {
 max-width: 40rem;
 margin: 0 auto;
}

.section-header h3, .section-header h4 {
 font-size: clamp(1.5rem, 3vw, 2rem);
 font-weight: 700;
 color: var(--gray-900);
 margin-bottom: 0.5rem;
}

.section-header.centered h3 {
 font-size: clamp(1.875rem, 3vw, 2.5rem);
}

.divider {
 width: 4rem;
 height: 4px;
 background: var(--olive-500);
 margin: 0.5rem auto 0;
}

/* Help Categories */
.help-categories {
 padding: 5rem 0;
}

.cards-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
 gap: 1.5rem;
}

.card {
 cursor: pointer;
 border-radius: 1rem;
 overflow: hidden;
 box-shadow: var(--shadow-sm);
 transition: all 0.4s;
}

.card:focus {
 outline: 2px solid var(--olive-500);
 outline-offset: 2px;
}

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

.card-image {
 height: 16rem;
 overflow: hidden;
}

.card-image img {
 height: 100%;
 transition: transform 0.5s;
}

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

.card h5 {
 padding: 1.5rem;
 font-size: 1.25rem;
 font-weight: 700;
 text-align: center;
 transition: color 0.2s;
}

.card:hover h5 {
 color: var(--olive-500);
}

/* Region Info */
.region-info {
 position: relative;
 padding: 6rem 0;
 overflow: hidden;
 background: #6d7c4e;
}

.region-bg {
 position: absolute;
 inset: 0;
 z-index: -1;
}

.region-bg img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: 0.3;
}

.region-content {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 3rem;
 align-items: center;
}

.region-text {
 color: var(--white);
}

.region-text h3 {
 font-size: clamp(2rem, 4vw, 3rem);
 font-weight: 700;
 margin-bottom: 1.5rem;
 line-height: 1.2;
}

.region-text p {
 margin-bottom: 1.5rem;
 opacity: 0.9;
 font-size: 1.125rem;
}

.region-cta {
 display: inline-block;
 color: var(--white);
 border: 2px solid var(--white);
 padding: 0.875rem 2rem;
 border-radius: 0.5rem;
 font-weight: 600;
 text-decoration: none;
 transition: all 0.2s;
}

.region-cta:hover {
 background: var(--white);
 color: var(--gray-900);
}

.region-image {
 position: relative;
}

.region-image img {
 border: 8px solid rgba(109, 124, 78, 0.3);
 border-radius: 1.5rem;
 box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
 .region-content {
     grid-template-columns: 1fr;
     gap: 2rem;
     text-align: center;
 }
 
 .region-image {
     order: -1;
 }
}

/* Services Overview */
.services-overview {
 padding: 5rem 0;
 background: var(--white);
}

.services-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
 gap: 2rem;
}

.service-card {
 display: flex;
 align-items: center;
 justify-content: space-between;
 background: var(--olive-500);
 color: var(--white);
 padding: 2rem;
 border-radius: 0.75rem;
 text-decoration: none;
 font-weight: 600;
 font-size: 1.125rem;
 transition: all 0.3s;
 box-shadow: var(--shadow-sm);
}

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

.service-card i {
 transition: transform 0.2s;
}

.service-card:hover i {
 transform: translateX(0.5rem);
}

.service-card:focus {
 outline: 2px solid var(--white);
 outline-offset: 2px;
}

/* Partners */
.partners {
 padding: 5rem 0;
 background: var(--gray-50);
}

.partners-content {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 4rem;
 align-items: center;
}

.partners-text span {
 display: inline-block;
 color: var(--olive-500);
 font-weight: 700;
 font-size: 0.875rem;
 letter-spacing: 0.1em;
 text-transform: uppercase;
}

.partners-text h3 {
 font-size: clamp(2rem, 4vw, 3rem);
 font-weight: 700;
 margin: 1rem 0 1.5rem;
 line-height: 1.2;
}

.partners-text p {
 color: var(--gray-600);
 margin-bottom: 1.5rem;
}

.partners-cta {
 display: inline-block;
 color: var(--olive-500);
 border: 1px solid var(--olive-500);
 padding: 0.875rem 2rem;
 border-radius: 0.5rem;
 font-weight: 600;
 text-decoration: none;
 transition: all 0.2s;
}

.partners-cta:hover {
 background: var(--olive-500);
 color: var(--white);
}

.partners-content img {
 border-radius: 1.5rem;
 box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
 .partners-content {
     grid-template-columns: 1fr;
     gap: 2rem;
 }
}

/* FAQ */
.faq {
 padding: 5rem 0;
}

.faq-list {
 max-width: 48rem;
 margin: 0 auto;
}

.faq-item {
 margin-bottom: 1rem;
 border: 1px solid #e5e7eb;
 border-radius: 0.75rem;
 overflow: hidden;
}

.faq-item summary {
 padding: 1.5rem;
 font-weight: 600;
 background: #f9fafb;
 cursor: pointer;
 list-style: none;
 transition: background 0.2s;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

.faq-item summary::-webkit-details-marker {
 display: none;
}

.faq-item summary:hover {
 background: #f3f4f6;
}

.faq-item[open] summary {
 background: var(--gray-50);
}

.faq-item p {
 padding: 1.5rem;
 border-top: 1px solid #e5e7eb;
 background: var(--white);
}

/* CTA Section */
.cta-section {
 background: var(--olive-500);
 padding: 3rem 0;
 color: var(--white);
}

.cta-content {
 display: grid;
 grid-template-columns: 1fr auto;
 gap: 2rem;
 align-items: center;
 text-align: center;
}

.cta-content h3 {
 font-size: clamp(1.5rem, 3vw, 2rem);
 font-weight: 700;
 margin-bottom: 0.5rem;
}

.cta-content p {
 opacity: 0.9;
}

.cta-btn-large {
 background: transparent;
 color: var(--white);
 border: 2px solid var(--white);
 padding: 0.875rem 2.5rem;
 border-radius: 0.5rem;
 font-weight: 600;
 font-size: 1rem;
 text-decoration: none;
 transition: all 0.2s;
 white-space: nowrap;
}

.cta-btn-large:hover {
 background: var(--white);
 color: var(--olive-500);
}

@media (max-width: 768px) {
 .cta-content {
     grid-template-columns: 1fr;
     text-align: center;
 }
}

/* Footer */
.footer {
 background: #2c343f;
 color: var(--white);
 padding: 5rem 0 2rem;
}

.footer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 3rem;
}

.footer-col h6 {
 font-size: 0.875rem;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.1em;
 color: #9ca3af;
 margin-bottom: 1.5rem;
}

.footer-col p {
 font-size: 0.875rem;
 opacity: 0.8;
 line-height: 1.6;
 margin-bottom: 1rem;
}

.footer-col ul {
 list-style: none;
}

.footer-col li {
 margin-bottom: 0.75rem;
}

.footer-col a {
 color: inherit;
 text-decoration: none;
 font-size: 0.875rem;
 opacity: 0.8;
 transition: color 0.2s;
}

.footer-col a:hover {
 color: var(--olive-500);
}

.social-links {
 display: flex;
 gap: 1rem;
 margin-top: 1.5rem;
}

.social-links a {
 font-size: 1.25rem;
}

.span-2 {
 grid-column: span 2;
}

.flag {
 height: 2rem;
 opacity: 0.5;
 transition: all 0.2s;
 margin-top: 1.5rem;
}

.flag:hover {
 opacity: 1;
 filter: grayscale(0);
}

.footer-bottom {
 margin-top: 5rem;
 padding-top: 2rem;
 border-top: 1px solid rgba(255,255,255,0.1);
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 align-items: center;
 gap: 1rem;
 font-size: 0.75rem;
 opacity: 0.5;
 text-align: center;
}

@media (max-width: 768px) {
 .footer-grid {
     grid-template-columns: 1fr;
 }
 
 .span-2 {
     grid-column: 1;
 }
}

/* Animations */
@keyframes fadeInUp {
 from {
     opacity: 0;
     transform: translateY(30px);
 }
 to {
     opacity: 1;
     transform: translateY(0);
 }
}



/* Mobile Menu Styles (in JS) */
.nav-menu.active {
 display: flex;
 flex-direction: column;
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 background: var(--white);
 padding: 5rem 1.5rem 1.5rem;
 gap: 1.5rem;
 z-index: 100;
}

.nav-menu.active li {
 opacity: 0;
 animation: fadeInUp 0.3s ease-out forwards;
}

/* Focus styles for accessibility */
a:focus, button:focus, [tabindex]:focus {
 outline: 2px solid var(--olive-500);
 outline-offset: 2px;
}

/* ============================
   PREMIUM ANIMATION ENHANCEMENTS
   (Non-breaking)
============================ */

/* Smooth global motion */
* {
 transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

/* Glass blur navbar on scroll */
.navbar.scrolled {
 backdrop-filter: blur(14px);
 background: rgba(255,255,255,0.95);
 box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* Hero fade + zoom */
.hero-bg img {
 transform: scale(1.08);
 transition: transform 1.5s ease;
}

.hero:hover .hero-bg img {
 transform: scale(1.15);
}

/* Premium card hover lift */
.card:hover {
 transform: translateY(-12px) scale(1.03);
}

/* Services hover glow */
.service-card:hover {
 box-shadow: 0 15px 40px rgba(109,124,78,0.35);
}

/* CTA pulse */
.hero-cta {
 animation: pulse 2.5s infinite;
}

@keyframes pulse {
 0%,100% { transform: scale(1); }
 50% { transform: scale(1.05); }
}

/* Soft section reveal */

/* Floating apply button */
.floating-apply {
 position: fixed;
 bottom: 90px;
 right: 20px;
 background: var(--olive-500);
 color: white;
 padding: 14px 22px;
 border-radius: 40px;
 font-weight: 600;
 box-shadow: 0 20px 40px rgba(0,0,0,0.25);
 z-index: 999;
 animation: float 2.5s ease infinite;
}

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

/* Subtle image zoom */
img {
 transition: transform .5s ease;
}

img:hover {
 transform: scale(1.03);
}

/* FAQ open animation */
.faq-item[open] p {
 animation: fadeSlide .35s ease;
}

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

/* Button glow hover */
.cta-btn:hover,
.hero-cta:hover,
.cta-btn-large:hover {
 box-shadow: 0 10px 30px rgba(109,124,78,0.45);
}

/* Footer link hover slide */
.footer a:hover {
 transform: translateX(4px);
}

.loan-calculator {
 padding: 4rem 0;
 background: #f9fafb;
}

.loan-box {
 max-width: 600px;
 margin: auto;
 padding: 2rem;
 border-radius: 20px;
 background: white;
 box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.loan-box input {
 width: 100%;
 margin-bottom: 1rem;
}

.dark-toggle {
 position: fixed;
 top: 100px;
 right: 20px;
 padding: 10px 14px;
 border-radius: 50%;
 border: none;
 background: var(--olive-500);
 color: white;
 cursor: pointer;
}

body.dark-mode {
 background: #0f172a;
 color: #e5e7eb;
}
body.dark-mode .navbar {
 background: #020617;
}

.floating-apply {
 position: fixed;
 bottom: 90px;
 right: 20px;
 background: var(--olive-500);
 color: white;
 padding: 14px 22px;
 border-radius: 40px;
 font-weight: 600;
 box-shadow: 0 15px 40px rgba(0,0,0,0.25);
 z-index: 999;
 animation: float 2.5s infinite ease;
}

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

.loan-calculator {
 padding: 5rem 0;
 background: #f9fafb;
}

.loan-box {
 max-width: 650px;
 margin: auto;
 padding: 2rem 2.5rem;
 border-radius: 18px;
 background: white;
 box-shadow: 0 15px 40px rgba(0,0,0,0.08);
 display: grid;
 gap: 12px;
}

.loan-box label {
 font-weight: 600;
}

.loan-box input {
 width: 100%;
}

.loan-box h2 {
 color: var(--olive-500);
 font-size: 2rem;
}

/* Move navigation menu to the right */

.navbar .container {
 display: flex;
 align-items: center;
 justify-content: space-between;
}

/* Push menu to right */
.nav-menu {
 margin-left: auto;
}

.communities-modern {
    padding: 5.5rem 0;
    background: #fbfbf7;
    text-align: center;
  }
  
  .section-pill {
    display: inline-block;
    background: #eef2e6;
    color: var(--olive-600);
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .communities-heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--gray-900);
  }
  
  .communities-heading span {
    color: var(--olive-500);
  }
  
  .communities-subtext {
    max-width: 720px;
    margin: 0 auto 3rem;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
  }
  
  .communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
  
  .community-item {
    background: white;
    border: 1px solid #e6e8dd;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    font-weight: 600;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    transition: all .25s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
  }
  
  .community-item:hover {
    transform: translateY(-4px);
    border-color: var(--olive-500);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  }
  
a.cta-btn {
    color: #fff;
}
a.cta-btn:hover {
    color: var(--olive-500);
    background: #fff;
    border: 1px solid;
    outline: none;
}
a.top-link:hover {
    color: #fff;
}
.service-pillars {
    padding: 6rem 0;
    background: #fbfbf8;
  }
  
  .section-badge {
    display: inline-block;
    background: rgba(109,124,78,0.15);
    color: #6d7c4e;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }
  
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .pillar-card {
    background: white;
    padding: 2.5rem 2.2rem;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
  }
  
  .pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  }
  
  .pillar-card.highlight {
    background: linear-gradient(145deg, #6d7c4e, #4d5734);
    color: white;
  }
  
  .pillar-icon {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }
  
  .pillar-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }
  
  .pillar-card p {
    font-size: 0.98rem;
    line-height: 1.6;
    opacity: 0.9;
  }
  
  .pillar-link {
    display: inline-block;
    margin-top: 1.2rem;
    font-weight: 600;
    color: #6d7c4e;
    text-decoration: none;
    border: solid 2px #6d7c4e;
    padding: 5px 10px;
    border-radius: 5px;
}
  
  .pillar-card.highlight .pillar-link {
    color: #525c38;
    background: #fbfbf9;
    
}   
  
  .pillar-link:hover {
    text-decoration: underline;
  }
  .has-submenu {
    position: relative;
  }
  
  .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: 0.25s ease;
    z-index: 99;
  }
  
  .submenu li {
    list-style: none;
  }
  
  .submenu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: 0.2s;
  }
  
  .submenu a:hover {
    background: #f9fafb;
    color: var(--olive-500);
  }
  
  /* Desktop Hover */
  .has-submenu:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  /* Mobile Friendly */
  @media (max-width: 1024px) {
    .submenu {
      position: static;
      opacity: 1;
      transform: none;
      box-shadow: none;
      display: none;
      padding-left: 10px;
    }
  
    .has-submenu.active .submenu {
      display: block;
    }
  }
  
/* ABOUT HERO */
.about-hero {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .about-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.7), rgba(0,0,0,.45));
  }
  
  .about-hero-content {
    position: relative;
    color: white;
    max-width: 900px;
  }
  
  .about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
  }
  
  .about-hero p {
    font-size: 1.2rem;
    opacity: .95;
  }
  
  .badge {
    display: inline-block;
    background: rgba(255,255,255,.9);
    color: var(--olive-600);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  
  /* ABOUT SECTIONS */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 5rem 0;
  }
  
  .about-grid.reverse {
    direction: rtl;
  }
  .about-grid.reverse > * {
    direction: ltr;
  }
  
  .about-text h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
  }
  
  .about-text p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1rem;
  }
  
  .eyebrow {
    text-transform: uppercase;
    font-weight: 700;
    color: var(--olive-500);
    font-size: .8rem;
    margin-bottom: .5rem;
    display: inline-block;
  }
  
  .about-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 1.75rem;
    box-shadow: var(--shadow-xl);
  }
  
  
  /* PILLARS */
  .about-pillars {
    background: #f9fafb;
    padding: 5rem 0;
  }
  
  .pillars-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 2rem;
  }
  
  .pillar {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
  }
  
  .pillar h3 {
    margin-bottom: .75rem;
    font-weight: 700;
  }
  
  .pillar ul {
    padding-left: 1rem;
  }
  
  
  /* IMPACT */
  .about-impact {
    background: #0f172a;
    color: white;
    padding: 5rem 0;
  }
  
  .impact-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3rem;
  }
  
  .impact-text h2 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
  }
  
  .impact-text p {
    opacity: .9;
    margin-bottom: 1rem;
  }
  
  .impact-stats {
    display: grid;
    gap: 1.5rem;
  }
  
  .stat {
    background: rgba(255,255,255,.08);
    padding: 1.5rem;
    border-radius: 1.25rem;
  }
  
  .stat strong {
    font-size: 2rem;
    display: block;
  ;
  }
  
  /* TEAM */
  .about-team {
    padding: 5rem 0;
  }
  
  .team-layout {
    display: grid;
    gap: 2.5rem;
  }
  
  .team-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 2rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  
  .team-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 1.75rem;
    box-shadow: var(--shadow-xl);
  }
  
  .team-content h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }
  
  .team-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  
  /* CTA */
  .about-cta {
    padding: 5rem 0;
    text-align: center;
  }
  
  .about-cta-box {
    background: var(--olive-500);
    color: white;
    padding: 3.5rem;
    border-radius: 2.5rem;
  }
  
  .btn-primary.large {
    margin-top: 1.5rem;
    display: inline-block;
  }
  
  
  /* RESPONSIVE */
  @media(max-width: 900px) {
    .about-grid,
    .pillars-grid,
    .impact-grid,
    .team-grid {
      grid-template-columns: 1fr;
    }
  
    .about-image img,
    .team-image img {
      height: 280px;
    }
  }
  .team-highlight {
	padding: 5rem 0px;
	background: rgb(255, 255, 255);
}
.team-header {
	text-align: center;
	max-width: 820px;
	margin: 0px auto 3.5rem;
}
.team-header h2 {
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 800;
	margin-bottom: 1rem;
	color: var(--gray-900);
}
.team-header p {
	font-size: 1.125rem;
	color: var(--gray-600);
	line-height: 1.7;
}
.team-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}
.team-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.btn-primary {
	background: var(--olive-500);
	color: white;
	padding: 0.9rem 2rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.25s;
}
.btn-outline {
	border: 2px solid var(--olive-500);
	color: var(--olive-500);
	padding: 0.9rem 2rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: 0.25s;
}
.stat strong {
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
    margin-bottom: .4rem;
    letter-spacing: .5px;
  }

  #backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #6b7a46; /* olive brand */
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  }
  
  #backToTop:hover {
    background: #4f5e2f;
    transform: scale(1.08);
  }
  
  /* Show when active */
  #backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .footer-links a {
    color: #fff;
    text-decoration: none;
}

.enterprise-hero {
  background: linear-gradient(135deg, #1f2a44, #34465f);
  color: white;
  padding: 140px 20px;
}

.enterprise-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.3rem);
  font-weight: 900;
  max-width: 980px;
}

.enterprise-hero p {
  font-size: 1.25rem;
  max-width: 760px;
  opacity: .92;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 16px;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 24px;
  margin-top: -60px;
}

.value-card {
  background: white;
  border-radius: 22px;
  padding: 34px;
  text-align: center;
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}

.value-card h3 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #6d7c4e;
}


