html { background: var(--white); }
body { background: var(--white); color: var(--navy); }

/* ===== ROOT VARIABLES ===== */
:root {
    color-scheme: light;
/* Primary Colors */
--navy: #1e3a5f;
--navy-dark: #162d47;
--navy-light: #2c4a6b;

/* Accent Colors */
--red: #dc3545;
--red-dark: #c82333;
--red-light: #e35d6a;

--teal-green: #20c997;
--teal-green-dark: #1ba87e;
--teal-green-light: #3dd5b3;

/* Neutral Colors */
--grey: #6c757d;
--grey-dark: #495057;
--grey-light: #adb5bd;
--grey-lighter: #e9ecef;
--grey-lightest: #f8f9fa;

/* White */
--white: #ffffff;
--off-white: #f8f9fa;

/* Gradients */
--gradient-primary: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
--gradient-accent: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
--gradient-teal: linear-gradient(135deg, var(--teal-green) 0%, var(--teal-green-dark) 100%);

/* Typography */
--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-size-base: 1rem;
--line-height-base: 1.6;

/* Spacing */
--spacing-xs: 0.25rem;
--spacing-sm: 0.5rem;
--spacing-md: 1rem;
--spacing-lg: 1.5rem;
--spacing-xl: 2rem;
--spacing-2xl: 3rem;
--spacing-3xl: 4rem;

/* Shadows */
--shadow-sm: 0 0.0625rem 0.125rem 0 rgba(0, 0, 0, 0.05);
--shadow-md: 0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.06);
--shadow-lg: 0 0.625rem 0.9375rem -0.1875rem rgba(0, 0, 0, 0.1), 0 0.25rem 0.375rem -0.125rem rgba(0, 0, 0, 0.05);
--shadow-xl: 0 1.25rem 1.5625rem -0.3125rem rgba(0, 0, 0, 0.1), 0 0.625rem 0.625rem -0.3125rem rgba(0, 0, 0, 0.04);

/* Border Radius */
--radius-sm: 0.25rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;

/* Transitions */
--transition-base: all 0.3s ease;
--transition-fast: all 0.15s ease;
--transition-slow: all 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--grey-dark);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--grey);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1rem;
    white-space: nowrap;
    justify-content: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);

}

.btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 0.125rem solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-0.125rem);
}

.btn-large {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.125rem;
}

/* ===== HEADER ===== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    padding: var(--spacing-md) 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-list {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--navy);
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--red);
    background: var(--grey-lighter);
}

/* ===== MOBILE NAV OVERLAY & CLOSE ===== */
.nav-overlay{
    display:none;
    position:fixed;
    inset:0;
    background: rgba(0,0,0,0.45);
    z-index: 1000;
}
.nav-overlay.active{ display:block; }

body.nav-open{ overflow:hidden; }

/* Close button base (positioning set in responsive.css for mobile) */
.nav-close{
    display:none;
}

/* Hamburger -> X animation */
.nav-toggle.active .bar:nth-child(1){
    transform: translateY(0.375rem) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2){
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(3){
    transform: translateY(-0.375rem) rotate(-45deg);
}

/* Anchor offset for sticky header (10rem) */
:where(section[id], div[id], article[id], header[id]) {
    scroll-margin-top: 10rem;
}


.nav-toggle {
    display: none; 

}

.bar {
    width: 1.5625rem;
    height: 0.1875rem;
    background: var(--navy);
    margin: 0.1875rem 0;
    transition: var(--transition-base);
}



/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    padding: 7.5rem 0 5rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
}

.highlight {
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--grey);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 0.125rem solid var(--grey-lighter);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.0312rem;
}

.hero-graphic {
    width: 18.75rem;
    height: 18.75rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.hero-image{
    position: relative;
  justify-content: center;
  justify-items: center;
}

.hero-image img{
  display:block;
  border-radius: 1rem;
  height: 40rem;
}

.hero-image::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 1rem;
   pointer-events:none;
}



/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    background: var(--gradient-teal);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0312rem;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--grey);
    max-width: 37.5rem;
    margin: 0 auto;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

.baf-packages{
    padding: var(--spacing-3xl) 0;
    background:   var(--grey-lighter);
}

/* Grid: cards have min/max width and are centered (no full-width stretch) */
.services-grid {
  display: grid;

  gap: var(--spacing-2xl);

  /* Each card min 20rem, max 28rem.
     Auto-fits: 2 per row when tight, 1 per row when needed,
     and centers when fewer cards are on a row. */
     grid-template-columns: repeat(auto-fit, minmax(20rem, 30rem));
     justify-content: center;
     justify-items: center;
 }

 .service-highlights{
    padding: 2rem 0rem 3rem 0rem;
}

/* Ensure card respects max width and doesn't stretch */
.service-card{
  width: 100%;
  max-width: 30rem;
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  align-content: space-between;
  align-items: space-between;
  justify-content: space-between;

}

/* Optional: keep buttons aligned at bottom (looks cleaner if copy lengths differ) */
.service-card{
  display: flex;
  flex-direction: column;
  justify-items: space-between;
}


.service-card:hover {
    border-color: var(--teal-green);
    box-shadow: var(--shadow-xl);
    transform: translateY(-0.3125rem);
}

.service-card.featured {
    border-color: var(--red);
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}

.service-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.service-icon {
    width: 5rem;
    height: 5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xl);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.service-features {
    text-align: left;
    margin: var(--spacing-xl) 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--grey);
}

.service-features i {
    color: var(--teal-green);
    font-size: 0.875rem;
}

.service-packages {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-xl) 0;
    flex-direction: column;

}


.packages-grid{
  display:  flex;
  gap: var(--spacing-xl);
  flex-direction:  row;
  flex-wrap: wrap;
  align-content: center;
  
}


.package-card{
    position:   relative;
    padding: var(--spacing-2xl);
    background: var(--white);
    border: 0.125rem solid var(--grey-lighter);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    width: 30rem;
    height: 55rem;
    display:    flex;
    flex-direction:     column  ;
    justify-content:    space-between   ;
    
    transition: var(--transition-base);
}

.package-card:hover{
    border-color: var(--teal-green);
    box-shadow: var(--shadow-xl);
    transform: translateY(-0.3125rem);

}

.package-card.featured {
    border-color: var(--red);
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
}



.package-header, .package-features, .package-footer{
    margin: 0 0 2rem 0;
}

.package-features ul li{
    margin:  0.5rem 0;
}

.package-price-card{
    display: flex;
    flex-direction: column;
    margin: 0 0 1.5rem 0;
}

.package-price-heading{
    font-size: 0.8rem;
    margin-bottom: -0.6rem;
} 

.package-price{
    font-size: 0.8rem;
}

.package-price strong{
    color: var(--navy-dark);
    font-size: 2rem;

}

.price-value::after{
  content: "*";
  vertical-align: super;
  font-size: 0.75em;
  line-height: 0;

}


.package-tag {
    background: var(--grey-lightest);
    color: var(--navy);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 500;
    display: flex;
    justify-content: flex-start;

}

.highlight-item{
    display: flex;
    flex-direction: flex-start;
}

.highlight-item i{
    margin-right: 1rem;
    display: flex;
    align-content: center;
    align-items: center;
}


.custom-solutions{
    padding: 5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    align-items: center;
    align-content: center;

}



.custom-card{
    max-width:  40rem;
    display: flex;
    flex-direction: column;
    justify-items:  space-between;
    justify-content: space-between;
    align-content: space-between;
    border: 2px solid red;
    padding: var(--spacing-2xl);
    background: var(--white);
    border: 0.125rem solid var(--grey-lighter);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
    height: 40rem;


}



.custom-features ul li{
    margin: 0.7rem 0;
}

.custom-card:hover{
    border-color: var(--teal-green);
    box-shadow: var(--shadow-xl);
    transform: translateY(-0.4125rem);

}

/* ===== SERVICE PROCESS (Timeline) ===== */
.service-process{
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.process-timeline{
  margin-top: var(--spacing-2xl);
  display: grid;
  gap: var(--spacing-xl);
  position: relative;
}

/* vertical line */
.process-timeline::before{
  content: "";
  position: absolute;
  left: 1.25rem;             /* aligns with step-number center */
  top: 0.5rem;
  bottom: 0.5rem;
  width: 0.125rem;
  background: var(--grey-lighter);
}

.process-step{
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--spacing-xl);
  align-items: start;
  position: relative;
}

.step-number{
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999rem;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 1; /* above the timeline line */
}

.step-content{
  background: var(--off-white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
}

.step-content h3{
  margin-bottom: var(--spacing-sm);
}

.step-content p{
  margin-bottom: var(--spacing-lg);
  color: var(--grey);
}

.step-duration{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999rem;
  background: rgba(32, 201, 151, 0.12); /* teal tint */
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Optional: subtle hover to make it feel interactive */
.process-step:hover .step-content{
  border-color: var(--teal-green);
  box-shadow: var(--shadow-md);
  transform: translateY(-0.125rem);
  transition: var(--transition-base);
}




/* ===== WHY ACCOUNTING SYSTEMS SECTION ===== */
.systems-why{
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

/* Key change: responsive grid using min/max card width */
.systems-grid{
  display: grid;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);

  /* Each card is at least 18rem, at most 24rem.
     Grid auto-fits as many as possible.
     When space gets tight (zoom), it drops to 2 then 1 automatically. */
     grid-template-columns: repeat(auto-fit, minmax(26rem, 28rem));

     /* Prevent stretching a single card across the row */
     justify-content: center;
 }

 .systems-card{
  width: 100%;
  max-width: 28rem; /* matches grid max */
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.systems-card:hover{
  border-color: var(--teal-green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.1875rem);
}

.systems-card h3{
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.systems-card p{
  margin-bottom: var(--spacing-lg);
  color: var(--grey);
}

.systems-metrics{
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.systems-metrics li{
  position: relative;
  padding-left: 1.5rem;
  color: var(--grey-dark);
}

.systems-metrics li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal-green);
  font-weight: 700;
}

.systems-cta{
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-2xl);
  flex-wrap: wrap;
}



/* ===== VALUE PROPOSITION ===== */
.value-prop {
    padding: var(--spacing-3xl) 0;
}

.value-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /*gap: var(--spacing-3xl);*/
    align-items: center;
}

.value-points {
    margin-top: var(--spacing-xl);
    
}

.value-point {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    
}

.value-point:last-child{
    margin-bottom: 0;
}

.value-point i {
    color: var(--teal-green);
    font-size: 1.5rem;
    margin-top: var(--spacing-xs);
}

.value-point h4 {
    margin-bottom: var(--spacing-xs);
}

.value-point p {
  
    color: var(--grey);
}

.value-point-heading{
    display: flex;
    flex-direction: row;
      justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
}

.value-point-heading i{
    padding: 0 1rem 0 0;
}

.value-point-details{
     display: flex;
     padding: 0 0 0 2.6rem;
    justify-content: center;
    justify-items: center;
    align-content: center;
    align-items: center;
}

.value-point-details p{
    padding: 0;
    margin: 0;
}


.value-image{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.value-graphic {
    width: 15.625rem;
   
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  
    box-shadow: var(--shadow-xl);
}

.value-graphic img {
    border-radius: 2rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

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

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}


.cta-buttons .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
    border: 0.0625rem solid var(--white);

}

.cta-buttons .btn-primary:hover {
    background: var(--gradient-accent);
    transform: translateY(-0.125rem);
    box-shadow: var(--shadow-lg);
    border: 0.0625rem solid var(--gradient-accent);
}



.cta-section .btn-outline {
    background: var(--white);
    color: var(--navy);

}

.cta-section .btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

.footer-section ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-section a:hover {
    color: var(--teal-green);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-base);
}

.social-links a:hover {
    color: var(--white);
    background: var(--red-light);
    transform: translateY(-0.125rem);
}

/* ===== CONTACT SECTION ===== */
.contact-content{
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

.contact-grid{
  margin-top: var(--spacing-2xl);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

/* Left: Contact info card */
.contact-info{
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-2xl);
  width: 30rem;
}

.contact-info h3{
  margin-bottom: var(--spacing-xl);
}

.contact-item{
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-top: 0.0625rem solid var(--grey-lighter);
}

.contact-item:first-of-type{
  border-top: none;
  padding-top: 0;
}

.contact-item i{
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999rem;
  background: rgba(32, 201, 151, 0.12); /* teal tint */
  color: var(--teal-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.contact-item h4{
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.contact-item p{
  margin: 0.125rem 0;
  color: var(--grey);
  line-height: 1.5;
}

/* Right: Form card */
.contact-form{
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-xl);
  width: 50rem;
}

/* Force consistent label column + field column */
.contact-form form .form-group{
  display: grid;
  grid-template-columns: 10rem 1fr; /* label width + field width */
  align-items: center;
    margin-bottom: 1.25rem;
}

/* Consistent control sizing */
.contact-form input,
.contact-form select {
  width: 100%;
  box-sizing: border-box;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;   /* restore top/bottom padding */
  line-height: 1.2;
}

/* Keep textarea separate */
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.875rem 1rem;
  line-height: 1.4;
}

/* Align message row label to top */
.contact-form form .form-group.message-row{
  align-items: start;
}
.contact-form form .form-group.message-row label{
  padding-top: 0.75rem;
}

.contact-form{
  display: grid;
  gap: 0.5rem;
}

.contact-form label{
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;

}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1rem;
  font-size: 1rem;
  background: var(--white);
  color: var(--navy);
  transition: var(--transition-base);
}

.contact-form textarea{
  min-height: 9.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  outline: none;
  border-color: var(--teal-green);
  box-shadow: 0 0 0 0.1875rem rgba(32, 201, 151, 0.12);
}

/* Placeholder */
.contact-form textarea::placeholder,
.contact-form input::placeholder{
  color: var(--grey-light);
}

/* Validation UI */
.contact-form .error-message{
  min-height: 1rem;
  font-size: 0.875rem;
  color: var(--red);
}

.contact-form input.error,
.contact-form textarea.error{
  border-color: var(--red);
  box-shadow: 0 0 0 0.1875rem rgba(220, 53, 69, 0.12);
}

/* Submit button */
.contact-form .btn{
  width: 100%;
  justify-content: center;
}


.contact-info p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-xl);
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.875rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0rem 3.75rem;
    text-align: center;
    margin-top: 5.6rem;
    display: flex;
    align-items: center;
    /*border: 5px solid red;*/
    height: 12rem;
}

.page-header-content h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    opacity: 0.9;
}

.breadcrumb li:not(.active)::after {
    content: '/';
    margin-left: var(--spacing-sm);
    opacity: 0.7;
}

.breadcrumb .active {
    color: var(--teal-green);
    font-weight: 500;
}

/* ===== ABOUT PAGE STYLES ===== */
.about-content {
    padding: var(--spacing-3xl) 0 var(--spacing-md) 0;
    background: rgba(30, 58, 95, 0.06);
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.about-text .section-tag {
    margin-bottom: var(--spacing-md);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.about-image{
  justify-content: center;
  justify-items: center;
}

.about-image img{
    position: relative;
  display:block;
  border-radius: 1rem;
  height: 40rem;
}
.about-image::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: 1rem;
  /* subtle navy tint */
  pointer-events:none;
}


.about-values {
    margin-top: var(--spacing-xl);
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.value-item i {
    color: var(--teal-green);
    font-size: 1.5rem;
    margin-top: var(--spacing-xs);
}

.value-item h4 {
    margin-bottom: var(--spacing-xs);
    color: var(--navy);
}

.value-item p {
    margin: 0;
    color: var(--grey);
    font-size: 1rem;
}

.about-graphic {
    width: 18.75rem;
    height: 18.75rem;
    background: var(--gradient-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
}

.about-graphic i {
    font-size: 5rem;
    color: var(--white);
}


/* ===== LEADERSHIP SECTION ===== */
.leadership{
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

.team-grid{
  margin-top: var(--spacing-2xl);
  display: flex;
  justify-content: center;
}

.team-member{
  width: 100%;
  max-width: 62.5rem; /* 1000px */
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-2xl);

  display: grid;
  grid-template-columns: 6.5rem 1fr; /* photo + content */
  gap: var(--spacing-xl);
  align-items: start;
}

.member-photo{
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.member-photo i{
  font-size: 2.5rem;
  color: var(--white);
}

.member-info h3{
  margin-bottom: 0.25rem;
}

.member-title{
  margin-bottom: var(--spacing-md);
  color: var(--grey-dark);
  font-weight: 600;
}

.member-bio{
  margin-bottom: var(--spacing-lg);
}

.member-expertise{
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.expertise-tag{
  background: var(--grey-lightest);
  border: 0.0625rem solid var(--grey-lighter);
  color: var(--navy);
  padding: 0.375rem 0.75rem;
  border-radius: 999rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* ===== STATS SECTION ===== */
.stats-section{
  padding: var(--spacing-3xl) 0;
  background: var(--white);
  display: flex;
  justify-content: center;

}

.stats-grid{
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
flex-wrap: wrap;
}

.stat-card{
  background: var(--off-white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);

  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.stat-icon{
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.stat-icon i{
  color: var(--white);
  font-size: 1.25rem;
}

.stat-content{
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stats-section .stat-number{
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.stats-section .stat-label{
  font-size: 0.875rem;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.03125rem;
}



/* ===== WHY CHOOSE US ===== */
.why-choose-us{
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);
}

.benefits-grid{
  margin-top: var(--spacing-2xl);
  display: grid;
  gap: var(--spacing-xl);

  /* Cards keep min width; center align when fewer cards fit */
  grid-template-columns: repeat(auto-fit, minmax(18rem, 24rem));
  justify-content: center;
  align-items: stretch;
}

.benefit-card{
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);

  /* Keep consistent vertical rhythm */
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.benefit-card:hover{
  border-color: var(--teal-green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-0.1875rem);
}

.benefit-icon{
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-sm);
}

.benefit-icon i{
  color: var(--white);
  font-size: 1.25rem;
}

.benefit-card h3{
  font-size: 1.25rem;
  margin: 0;
}

.benefit-card p{
  margin: 0;
  color: var(--grey);
  line-height: 1.6;
}



/* ===== BLOG PAGE STYLES ===== */
.blog-filter {
    padding: var(--spacing-xl) 0;
    background: var(--off-white);
    border-bottom: 0.0625rem solid var(--grey-lighter);
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 25rem;
}

.search-box i {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey);
}

.search-box input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) 3rem;
    border: 0.125rem solid var(--grey-lighter);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition-base);
}

.search-box input:focus {
    outline: none;
    border-color: var(--teal-green);
    box-shadow: 0 0 0 0.1875rem rgba(32, 201, 151, 0.1);
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.category-btn {
    background: var(--white);
    color: var(--grey);
    border: 0.125rem solid var(--grey-lighter);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-base);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--teal-green);
    color: var(--white);
    border-color: var(--teal-green);
}

/* Blog Posts */
.blog-posts {
    padding: var(--spacing-3xl) 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21.875rem, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.blog-post {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 0.125rem solid var(--grey-lighter);
}

.blog-post:hover {
    transform: translateY(-0.3125rem);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-green);
}

.post-image {
    height: 12.5rem;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image i {
    font-size: 3rem;
    color: var(--white);
}

.post-content {
    padding: var(--spacing-xl);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.post-category {
    background: var(--teal-green);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0312rem;
}

.post-date {
    color: var(--grey);
}

.post-title {
    margin-bottom: var(--spacing-md);
}

.post-title a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition-base);
}

.post-title a:hover {
    color: var(--red);
}

.post-excerpt {
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
}

.tag {
    background: var(--grey-lightest);
    color: var(--grey);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.read-more:hover {
    color: var(--red-dark);
}

.read-more i {
    margin-left: var(--spacing-xs);
    transition: var(--transition-base);
}

.read-more:hover i {
    transform: translateX(0.1875rem);
}

.load-more-container {
    text-align: center;
    margin-top: var(--spacing-2xl);
}

/* Newsletter Section */
.newsletter-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.newsletter-text h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-form .form-group{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.newsletter-form .form-group input {
    /*flex: 1;*/
    padding: var(--spacing-md);
    /*border: none;*/
    border-radius: var(--radius-md);
    font-size: 1rem;
    min-width: 23rem;
}

.form-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    background: var(--grey-lightest);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-light);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grey);
}
/* ===== WordPress Template Utilities ===== */
.breadcrumb a{
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}
.breadcrumb a:hover{
    text-decoration: underline;
}

.content-narrow{
    max-width: 56.25rem; /* 56.25rem */
    margin-left: auto;
    margin-right: auto;
}

.text-center{
    text-align: center;
}

.archive-description{
    max-width: 56.25rem; /* 56.25rem */
    margin: 1rem auto 0;
    opacity: 0.95;
}

.search-summary{
    margin-top: 0.75rem; /* 0.75rem */
    opacity: 0.95;
}

.pagination-row{
    display: flex;
    justify-content: center;
    gap: 1.25rem; /* 1.25rem */
    flex-wrap: wrap;
}

.pagination-row-between{
    justify-content: space-between;
    margin-top: var(--spacing-xl);
}

.search-box-centered{
    margin: 0 auto var(--spacing-xl);
    max-width: 40.625rem; /* 40.625rem */
}

.notfound-title{
    margin-bottom: var(--spacing-md);
}

.notfound-text{
    margin: 0 auto var(--spacing-xl);
    max-width: 40.625rem; /* 40.625rem */
}


/* =========================================================
   Navigation Menus (WordPress)
   - Styling hooks for 1st/2nd/3rd level menus
   - Edit freely without affecting the rest of the site
   ========================================================= */

/* Base list reset inside navbar */
.nav-list,
.nav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level items */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Submenus */
.nav-list .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  background: var(--white);
  border: 0.0625rem solid rgba(0, 0, 0, 0.06);
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
  padding: 0.75rem;
  display: none;
  z-index: 1000;
}

/* Show submenu on hover/focus (desktop) */
.nav-list li:hover > .submenu,
.nav-list li:focus-within > .submenu {
  display: block;
}

/* Submenu links */
.nav-list .submenu li {
  position: relative;
}

.nav-list .submenu a.nav-link {
  display: flex;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.2;
}

.nav-list .submenu a.nav-link:hover,
.nav-list .submenu a.nav-link:focus {
  background: rgba(16, 24, 40, 0.06);
}

/* Level 2 (third level overall) */
.nav-list .submenu-level-2 {
  top: 0;
  left: 100%;
  margin-left: 0.5rem;
}

/* Optional: caret indicator for items with children */
.nav-list .menu-item-has-children > a.nav-link::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* If a child item has children, use a right-caret */
.nav-list .submenu .menu-item-has-children > a.nav-link::after {
  content: "\f054";
  font-size: 0.75rem;
}

/* Breadcrumb links (remove inline styles) */
.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.breadcrumb a:hover,
.breadcrumb a:focus {
  text-decoration: underline;
}

/* Pagination utilities */
.pagination-row {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.pagination-row-between {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.content-narrow {
  max-width: 56.25rem;
  margin-left: auto;
  margin-right: auto;
}
.archive-description {
  max-width: 56.25rem;
  margin: 1rem auto 0;
  opacity: 0.95;
}
.search-summary {
  margin-top: 0.75rem;
  opacity: 0.95;
}
.search-box-centered {
  margin-left: auto;
  margin-right: auto;
}
.text-center {
  text-align: center;
}



/* ===== LEGAL PAGE ===== */
.legal-page{
  padding: var(--spacing-3xl) 0;
  background: var(--off-white);

}

.legal-container{
  max-width: 56.25rem; /* ~900px */
  margin-top: var(--spacing-1xl);
}

.legal-card{
  background: var(--white);
  border: 0.125rem solid var(--grey-lighter);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-2xl);
}

.legal-meta{
  color: var(--grey-dark);
  margin-bottom: var(--spacing-lg);
}

.legal-card h2{
  margin-top: var(--spacing-xl);
}

.legal-card h3{
  margin-top: var(--spacing-lg);
  font-size: 1.25rem;
}

.legal-card ul{
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: var(--spacing-lg);
}

.legal-card li{
  margin-bottom: 0.5rem;
  color: var(--grey-dark);
}

.legal-hr{
  border: none;
  border-top: 0.0625rem solid var(--grey-lighter);
  margin: var(--spacing-xl) 0;
}

.legal-note{
  color: var(--grey);
  margin: 0;
}