:root {
    --green-dark: #0d6d3d;
    --green-main: #188742;
    --green-soft: #4eb848;
    --green-light: #eef8ec;
    --text-dark: #15212b;
    --text-muted: #5d6664;
    --white: #ffffff;
    --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.05);
    --radius-xl: 35px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

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

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    height: 48px;
    background: var(--green-dark);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 60px;
    font-size: 13px;
    position: relative;
    z-index: 200;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 28px;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    opacity: 0.92;
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 1;
}

.top-bar-right a {
    font-size: 15px;
    gap: 0;
}

/* ============================================
   NAVBAR WRAPPER
   ============================================ */
.main-navbar-wrap {
    background: transparent;
    padding: 16px 40px;
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    z-index: 150;
}

/* ============================================
   NAVBAR PILL
   ============================================ */
.main-navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    padding: 12px 16px 12px 20px;
    min-height: 88px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 100px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    overflow: visible;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding-left: 8px;
}

.brand-logo img {
    height: 68px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    flex-shrink: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.main-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    border-radius: 6px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: var(--green-main);
}

.main-nav a .nav-caret {
    font-size: 12px;
    opacity: 0.65;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: #1a5c38;
    padding: 12px 0;
    border-radius: 14px;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    z-index: 300;
}

.dropdown a {
    color: white;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    border-radius: 0;
    transition: background 0.18s;
}

.dropdown a:hover {
    background: rgba(255, 255, 255, 0.13);
    color: white;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-right: 4px;
    position: static;
    right: auto;
}

.search-btn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.search-btn:hover {
    background: var(--green-light);
    color: var(--green-main);
}

.menu-grid-btn {
    background: var(--green-dark);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    font-size: 20px;
    color: white;
}

#mobile-menu-trigger {
    display: none;
    /* Hidden on desktop by default */
}

/* ============================================
   HERO
   ============================================ */
.hero-banner {
    position: relative;
    min-height: 90vh;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    padding: 130px 80px 105px;
    overflow: visible;
}

.slide-bg-track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease, transform 6s ease;
}

.slide-bg.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.4);
}

.hero-card {
    position: relative;
    z-index: 2;
    background: rgba(235, 225, 200, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: 20px;
    padding: 48px 40px;
    margin-left: 60px;
    width: 560px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.eyebrow-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--green-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.6px;
    margin-bottom: 24px;
}

.eyebrow-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.hero-card h1 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-dark);
}

.hero-card h1 .highlight {
    color: var(--green-main);
}

.hero-card p {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.6;
    margin-top: 24px;
    margin-bottom: 40px;
}

.hero-btn {
    background: var(--green-dark);
    color: white;
    padding: 8px 28px 8px 8px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.hero-btn:hover {
    background: var(--green-main);
    transform: translateY(-2px);
}

.hero-btn-icon {
    background: white;
    color: var(--green-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
}

/* Slider arrows */
.slider-arrow {
    width: 52px;
    height: 52px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    color: var(--text-dark);
    cursor: pointer;
    border: none;
    font-size: 28px;
    z-index: 10;
    transition: box-shadow 0.2s, background 0.2s;
}

.slider-arrow:hover {
    background: var(--green-light);
}

.slider-arrow-left {
    left: 28px;
}

.slider-arrow-right {
    right: 28px;
}

/* Feature strip */
.feature-strip {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    max-width: 1200px;
    background: var(--white);
    border-radius: 28px;
    display: flex;
    justify-content: space-around;
    padding: 38px 30px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.10);
    z-index: 20;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    padding: 0 25px;
}

.feature-item:not(:last-child) {
    border-right: 1px solid #e8e8e8;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: #f0f9f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

.feature-item p {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-spacer {
    height: 100px;
    background: #fafaf8;
}

/* ============================================
   SHARED SECTION UTILITIES
   ============================================ */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green-main);
    margin-bottom: 12px;
}

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

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 52px;
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--green-dark);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    margin-top: 32px;
}

.btn-primary:hover {
    background: var(--green-main);
    transform: translateY(-2px);
}

/* ============================================
   STATS STRIP
   ============================================ */
.stats-strip {
    background: #f8fdf9;
    padding: 70px 40px;
    border-top: 1px solid #e6f2eb;
    border-bottom: 1px solid #e6f2eb;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 28px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaf4ee;
    transition: transform 0.25s, box-shadow 0.25s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(24, 135, 66, 0.12);
}

.stat-icon {
    width: 54px;
    height: 54px;
    background: var(--green-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--green-main);
}

.stat-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.stat-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 100px 40px;
    background: white;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -36px;
    right: -36px;
    width: 200px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
    border: 4px solid white;
}

.about-img-secondary img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.about-exp-badge {
    position: absolute;
    top: 28px;
    left: -24px;
    background: var(--green-dark);
    color: white;
    padding: 18px 22px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 109, 61, 0.3);
}

.exp-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.exp-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 4px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-content {
    padding-right: 20px;
}

.about-lead {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 28px;
}

.about-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.about-checklist li i {
    color: var(--green-main);
    font-size: 17px;
    flex-shrink: 0;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    padding: 100px 40px;
    background: #f8fdf9;
}

.team-grid {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 20px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    width: 300px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(24, 135, 66, 0.15);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 109, 61, 0.85));
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 20px 16px 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.team-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-dark);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.team-social a:hover {
    background: var(--green-light);
}

.team-info {
    padding: 20px 24px;
    text-align: center;
    border-top: 3px solid var(--green-light);
}

.team-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

.team-info span {
    font-size: 13px;
    color: var(--green-main);
    font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 50px 40px 60px;
    background: white;
}

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

.service-card {
    padding: 36px 30px;
    border-radius: 20px;
    border: 1.5px solid #e8f2ec;
    background: white;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(24, 135, 66, 0.12);
    border-color: var(--green-soft);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--green-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--green-main);
    margin-bottom: 20px;
    transition: background 0.25s;
}

.service-card:hover .service-icon {
    background: var(--green-main);
    color: white;
}

.service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-main);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    transition: gap 0.2s;
}

.service-link:hover {
    gap: 12px;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.clients-section {
    padding: 80px 20px;
    background: #f8fdf9;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    /* Fixed: Auto-fit for responsiveness */
    gap: 25px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    justify-items: center;
}

.client-logo {
    background: white;
    border: 1.5px solid #e8f2ec;
    border-radius: 16px;
    padding: 30px;
    min-height: 120px;
    width: 100%;
    /* Fixed: Full width of grid cell */
    max-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.client-logo:hover {
    box-shadow: 0 10px 30px rgba(24, 135, 66, 0.12);
    transform: translateY(-3px);
    border-color: var(--green-soft);
}

.client-logo img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    display: block;
}

.client-logo span {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    letter-spacing: 0.3px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0d1f17;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 80px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 1.5fr;
    gap: 48px;
}


.footer-logo {
    height: 60px;
    margin-bottom: 18px;
    display: block;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.footer-socials a:hover {
    background: var(--green-main);
    border-color: var(--green-main);
    color: white;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--green-main);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--green-soft);
}

.footer-contact {
    gap: 14px !important;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--green-soft);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.footer-contact li a:hover {
    color: var(--green-soft);
}

.footer-posts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-post {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fp-img {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--green-soft);
    flex-shrink: 0;
}

.footer-post a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
    transition: color 0.2s;
}

.footer-post a:hover {
    color: var(--green-soft);
}

.footer-post span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 22px 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   MOBILE MENU DRAWER
   ============================================ */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu-drawer.open {
    transform: translateX(-320px);
}

.mobile-menu-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

.mobile-nav {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--green-main);
}

.mobile-nav-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 10px;
}

.mobile-nav-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.mobile-nav-group a {
    padding-left: 15px;
    font-size: 14px;
    font-weight: 500;
    border-bottom: none;
}

.mobile-menu-footer {
    padding: 24px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-footer a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Large Tablets & Small Desktops (992px - 1200px) */
@media (max-width: 1200px) {
    .main-navbar {
        max-width: 95%;
    }

    .main-nav a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero-banner {
        padding: 140px 40px 100px;
    }
}

/* Tablets (991px and down) - SWITCH TO MOBILE MENU */
@media (max-width: 991px) {
    .top-bar {
        padding: 0 30px;
    }

    .main-navbar-wrap {
        padding: 10px 20px;
    }

    .main-navbar {
        grid-template-columns: auto auto;
        justify-content: space-between;
        border-radius: 40px;
        min-height: 70px;
        padding: 10px 25px;
    }

    .main-nav {
        display: none !important;
    }

    #mobile-menu-trigger {
        display: flex !important;
    }

    .hero-banner {
        min-height: auto;
        padding: 100px 20px 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .hero-card {
        margin-left: 0;
        width: 100%;
        max-width: 600px;
        padding: 40px 30px;
        position: relative;
        z-index: 5;
    }

    .hero-card h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .feature-strip {
        display: grid;
        /* Fixed: Added grid display */
        grid-template-columns: 1fr 1fr;
        position: relative;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
        left: 0;
        transform: none;
        padding: 30px 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .feature-item {
        padding: 0 10px;
        border-right: none !important;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Small Tablets & Large Phones (768px and down) */
@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 10px 20px;
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-left {
        justify-content: center;
        width: 100%;
    }

    .top-bar-right {
        display: none;
    }

    .main-navbar-wrap {
        top: 0;
        position: relative;
        padding: 10px;
    }

    .main-navbar {
        min-height: 60px;
        padding: 8px 20px;
    }

    .brand-logo img {
        height: 45px;
    }

    .hero-card h1 {
        font-size: 28px;
    }

    .hero-card p {
        font-size: 14px;
    }

    .feature-strip {
        grid-template-columns: 1fr;
    }

    .feature-item {
        border-right: none !important;
        border-bottom: 1px solid #eee;
        padding: 20px 0;
    }

    .feature-item:last-child {
        border-bottom: none;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .certificate-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }


    .blog-section {
        padding: 60px 0;
    }

    .section-container {
        padding: 0 15px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
    }

    .blog-card {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 8px solid #f0f0f0;
    }

    .blog-img {
        height: 320px;
    }

    .blog-content {
        padding: 35px 20px;
    }

    .blog-content h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .blog-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 24px;
    }

    .footer-bottom {
        padding: 25px 20px;
    }
}

/* Small Phones (480px and down) */
@media (max-width: 480px) {
    .hero-card {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .hero-card h1 {
        font-size: 24px;
    }

    .section-title {
        font-size: 26px;
    }

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


/* ===== ABOUT PAGE HEADER ===== */
.about-page-header {
    background: linear-gradient(135deg, #1d6b43 0%, #17653e 100%);
    color: white;
    text-align: center;
    padding: 72px 20px 68px;
}

.about-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.about-page-header p {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 0.6px;
}

/* ===== ABOUT MAIN SECTION ===== */
.about-main {
    padding: 44px 40px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
}

.about-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 42px;
    background: #ffffff;
    border-radius: 30px;
    padding: 34px;
    border: 1px solid #e5efe8;
    box-shadow: 0 20px 45px rgba(13, 109, 61, 0.08);
}

.about-left {
    padding: 6px 8px 6px 6px;
}

.about-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1d6b43;
    background: #eef8ec;
    border: 1px solid #d7ead9;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 8px 14px;
}

.about-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    margin: 18px 0 16px;
    line-height: 1.15;
}

.about-left p {
    font-size: 15px;
    color: #53605b;
    margin-bottom: 16px;
    line-height: 1.75;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.about-highlight {
    background: #f7fbf7;
    border: 1px solid #e1ede4;
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.about-highlight span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-highlight strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.about-highlight p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

.about-right {
    align-self: stretch;
}

.about-right img {
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: none;
}

/* ===== QUALITY SECTION ===== */
.quality-section {
    background: linear-gradient(180deg, #f1f5f2 0%, #eaf1eb 100%);
    padding: 20px 40px 52px;
}

.quality-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 44px;
    background: #ffffff;
    border-radius: 30px;
    padding: 34px;
    border: 1px solid #dfe9e2;
    box-shadow: 0 18px 40px rgba(13, 109, 61, 0.07);
}

.quality-left img {
    width: 100%;
    max-width: 430px;
    border-radius: 22px;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

.quality-right {
    flex: 1;
}

.quality-right h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
}

.quality-right p {
    font-size: 15px;
    line-height: 1.7;
    color: #53605b;
    margin-bottom: 15px;
}

@media (max-width: 1024px) {

    .about-container,
    .quality-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px;
    }

    .about-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-right img,
    .quality-left img {
        max-width: 100%;
        min-height: 0;
    }
}

@media (max-width: 768px) {

    .about-main,
    .quality-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .about-container,
    .quality-container {
        padding: 22px;
        border-radius: 24px;
    }

    .about-left h2,
    .quality-right h2,
    .about-page-header h1 {
        font-size: 30px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-right img {
        min-height: 320px;
    }
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: #ffffff;
    padding: 100px 40px;
    text-align: center;
}

/* heading */
.team-section .section-eyebrow {
    color: #1d6b43;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.team-section .section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
}

/* grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Fixed: More responsive */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

/* card */
.team-card {
    width: 100%;
    max-width: 220px;
    overflow: hidden;
    text-align: center;
}

.team-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🔥 THIS FIXES EVERYTHING */
}

.team-info {
    padding: 15px 10px;
}

.team-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
}

.team-info span {
    font-size: 13px;
    color: #1d6b43;
}

/* ===== CLIENT CAROUSEL ===== */
.client-carousel-section {
    background: #f4f6f5;
    padding: 80px 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    width: max-content;
    animation: scroll 103s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* slide group */
.carousel-slide {
    display: flex;
    gap: 60px;
    padding: 0 30px;
}

/* logo */
.carousel-slide img {
    height: 120px;
    object-fit: contain;
    filter: grayscale(0) blur(0);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s, opacity 0.3s;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.carousel-track:hover .carousel-slide img {
    filter: grayscale(40%) blur(4px);
    opacity: 0.5;
}

.carousel-track .carousel-slide img:hover {
    filter: grayscale(0) blur(0);
    opacity: 1;
    transform: scale(1.7);
    z-index: 10;
}

/* animation */
@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .client-carousel-section {
        padding: 40px 0;
    }

    .carousel-slide {
        gap: 30px;
    }

    .carousel-slide img {
        height: 45px;
    }
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 50px 40px 60px;
    background: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== BLOG CARDS IMPROVEMENT ===== */
.blog-card {
    padding: 36px 30px;
    background: #fff;
    border-radius: 20px;
    border: 1.5px solid #e8f2ec;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(24, 135, 66, 0.12);
    border-color: var(--green-soft);
}

.blog-img {
    height: 210px;
    width: 100%;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .blog-img {
        height: 210px;
    }

    /* Even bigger on mobile */
    .blog-content h3 {
        font-size: 1.5rem;
    }

    /* Larger titles */
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e4efe7;
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-date {
    font-size: 13px;
    color: var(--green-main);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-dark);
}

.blog-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.blog-link {
    font-weight: 700;
    color: var(--green-main);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== CERTIFICATE SECTION ===== */
.certificate-section {
    padding: 50px 20px;
    background: #f4f6f5;
}

/* grid */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, 278px);
    gap: 30px;
    margin-top: 0;
    justify-content: center;
}

/* card */
.certificate-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    width: 278px;
    height: 399.9px;
    max-width: none;

    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* stagger animation */
.certificate-card:nth-child(1) {
    animation-delay: 0.1s;
}

.certificate-card:nth-child(2) {
    animation-delay: 0.2s;
}

.certificate-card:nth-child(3) {
    animation-delay: 0.3s;
}

.certificate-card:nth-child(4) {
    animation-delay: 0.4s;
}

.certificate-card:nth-child(5) {
    animation-delay: 0.5s;
}

.certificate-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* image */
.certificate-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* hover effects */
.certificate-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.certificate-card:hover img {
    /* transform removed per request */
}

/* overlay */
.certificate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(29, 107, 67, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
    transform: scale(1);
}

.certificate-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

/* animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 100px 40px;
    background: #f4f6f5;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Fixed */
}

/* LEFT SIDE */
.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-info p {
    color: #555;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item i {
    color: #1d6b43;
}

/* socials */
.contact-socials {
    margin-top: 20px;
}

.contact-socials a {
    margin-right: 10px;
    color: #1d6b43;
    font-size: 16px;
}

/* RIGHT FORM */
.contact-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* inputs */
.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-row>div {
    flex: 1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

/* focus */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1d6b43;
}

/* button */
.contact-form button {
    margin-top: 10px;
    padding: 12px 20px;
    background: #1d6b43;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #155a36;
}

/* office blocks */
.office-block {
    margin-bottom: 16px;
    padding: 18px 18px 18px 22px;
    background: #f7fbf8;
    border: 1px solid #e2ebe4;
    border-left: 4px solid var(--green-main);
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(16, 67, 34, 0.05);
}

.office-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1d6b43;
    margin-bottom: 6px;
}

.office-block p {
    font-size: 14px;
    color: #4f5b53;
    line-height: 1.7;
    margin-bottom: 0;
}

/* contact details */
.contact-details {
    margin-top: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-item i {
    color: #1d6b43;
    margin-top: 4px;
}

/* ============================================
   CONTENT CARD (Used in View pages)
   ============================================ */
.content-card {
    max-width: 90%;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .content-card {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 0;
        box-shadow: none;
    }
}

/* ============================================
   RICH CONTENT (CKEditor output)
   Restores typography for editor-generated HTML
   ============================================ */
.rich-content {
    line-height: 1.85;
    color: #3a3a3a;
    font-size: 1.05rem;
    overflow: hidden;
    word-break: break-word;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    line-height: 1.3;
}

.rich-content h1 {
    font-size: 2rem;
}

.rich-content h2 {
    font-size: 1.6rem;
}

.rich-content h3 {
    font-size: 1.35rem;
}

.rich-content h4 {
    font-size: 1.15rem;
}

.rich-content p {
    margin-bottom: 1em;
}

.rich-content strong,
.rich-content b {
    font-weight: 700;
    color: var(--text-dark);
}

.rich-content em,
.rich-content i {
    font-style: italic;
}

.rich-content ul,
.rich-content ol {
    margin: 0.8em 0 1em 1.8em;
    padding: 0;
}

.rich-content ul {
    list-style-type: disc;
}

.rich-content ol {
    list-style-type: decimal;
}

.rich-content li {
    margin-bottom: 0.4em;
    padding-left: 0.3em;
}

.rich-content a {
    color: var(--green-main);
    text-decoration: underline;
}

.rich-content a:hover {
    color: var(--green-dark);
}

.rich-content blockquote {
    border-left: 4px solid var(--green-main);
    margin: 1.5em 0;
    padding: 12px 20px;
    background: var(--green-light);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.rich-content pre {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 18px 22px;
    border-radius: 10px;
    overflow-x: auto;
    font-size: 0.92rem;
    margin: 1.2em 0;
}

.rich-content code {
    background: #eef8ec;
    color: var(--green-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.rich-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
}

.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1em 0;
    display: block;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
    font-size: 0.95rem;
}

.rich-content th {
    background: var(--green-main);
    color: #fff;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
}

.rich-content td {
    padding: 9px 14px;
    border: 1px solid #dde5d8;
}

.rich-content tr:nth-child(even) td {
    background: var(--green-light);
}

.rich-content hr {
    border: none;
    border-top: 2px solid #e4ede6;
    margin: 2em 0;
}

/* First element has no top margin */
.rich-content>*:first-child {
    margin-top: 0;
}

/* Responsive Rich Content Images (Overrides for floats) */
@media (max-width: 640px) {
    .rich-content img {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
    }

    .service-featured-img {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
        max-height: 300px !important;
    }
}

/* ===== MAP SECTION (MULTI-OFFICE) ===== */
.map-section {
    padding: 72px 20px 92px;
    background: linear-gradient(180deg, #f8fbf8 0%, #edf4ef 100%);
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 34px;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #102116;
}

/* GRID LAYOUT */
.office-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* CARD */
.office-card {
    background: #fff;
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e3ece4;
    box-shadow: 0 14px 30px rgba(16, 67, 34, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.office-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(16, 67, 34, 0.12);
}

/* TEXT */
.office-info {
    padding: 22px 24px 16px;
}

.office-info h4 {
    margin-bottom: 6px;
    color: var(--green-main);
    font-size: 18px;
}

.office-info p {
    margin-bottom: 0;
    color: #4f5b53;
    font-size: 14px;
    line-height: 1.65;
}

/* MAP */
.office-card iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
    border-radius: 0 0 22px 22px;
}

@media (max-width: 900px) {
    .contact-section {
        padding: 72px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Override for 400px height as seen in contact-us.html inline style */
.map-section iframe {
    height: 400px !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .office-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   PROFESSIONAL UI REFRESH (GLOBAL OVERRIDES)
   ============================================================ */
:root {
    --surface-base: #f4f8f5;
    --surface-card: #ffffff;
    --surface-soft: #edf5ef;
    --line-soft: #d9e6dc;
    --line-mid: #c6d9cc;
    --ink-strong: #11241a;
    --ink-muted: #4d6154;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-strong);
    background: radial-gradient(circle at 0% 0%, #f9fcfa 0%, #f3f8f5 48%, #eef5f0 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.about-page-header h1,
.contact-page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.01em;
}


html {
    scroll-behavior: smooth;
}

.hero-card h1 {
    font-family: 'Manrope', sans-serif;
}

.main-navbar {
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 38px rgba(10, 38, 24, 0.12), 0 2px 10px rgba(10, 38, 24, 0.08);
}

.main-nav a {
    font-size: 12px;
    letter-spacing: 0.85px;
}

.main-nav a.active {
    color: var(--green-dark);
    background: #edf6ef;
}

.mobile-menu-logo {
    height: 40px;
    width: auto;
}

.stats-strip,
.team-section,
.services-section,
.blog-section,
.certificate-section,
.about-main {
    position: relative;
}

.stats-strip::before,
.team-section::before,
.services-section::before,
.blog-section::before,
.certificate-section::before,
.about-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
    pointer-events: none;
}

.section-container,
.about-container,
.contact-wrapper {
    position: relative;
    z-index: 1;
}

.about-page-header,
.contact-page-header {
    background: linear-gradient(130deg, #123825 0%, #1c6b45 52%, #2e9a60 100%);
    color: #fff;
    text-align: center;
    padding: 74px 20px 64px;
}

.about-page-header h1,
.contact-page-header h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    line-height: 1;
    margin-bottom: 10px;
}

.about-page-header p,
.contact-page-header p {
    font-size: 0.95rem;
    opacity: 0.88;
    letter-spacing: 0.05em;
}

body:not(.home-page) .hero-spacer {
    background: linear-gradient(130deg, #123825 0%, #1c6b45 52%, #2e9a60 100%);
}

.service-media {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 20px;
    border: 1px solid #e4efe7;
}

.services-empty {
    text-align: center;
    width: 100%;
    background: #f6fbf7;
    border: 1px dashed #bfd6c7;
    border-radius: 14px;
    padding: 24px;
    color: var(--ink-muted);
    font-weight: 600;
}

.blog-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #6ab989;
    background: linear-gradient(145deg, #e9f4ed, #f2f9f4);
}

.content-card {
    max-width: 100%;
    border-radius: 20px;
    border: 1px solid #deebdf;
    box-shadow: 0 18px 42px rgba(13, 58, 35, 0.1);
}

.detail-page-main {
    padding-top: 60px;
}

.detail-page-container {
    display: block;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.detail-page-title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    color: var(--ink-strong);
    line-height: 1.05;
    margin-bottom: 24px;
}

.detail-page-title-blog {
    margin-bottom: 14px;
}

.detail-page-meta {
    color: #5a6a60;
    font-size: 0.95rem;
    margin-bottom: 30px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.detail-page-actions {
    margin-top: 40px;
    border-top: 1px solid #e4ece6;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.detail-page-cta {
    display: inline-block;
    margin-top: 0;
    padding: 11px 24px;
}

.btn-outline-sm {
    display: inline-block;
    padding: 9px 14px;
    font-size: 13px;
    color: var(--green-main);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--green-main);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-outline-sm:hover {
    background: #edf8f1;
}

/* ── Featured media positioning on blog / service detail pages ── */
.blog-featured-img,
.service-featured-media {
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Top: full-width banner above content */
.blog-featured-img.featured-img-top,
.service-featured-media.featured-img-top {
    width: 100%;
    max-height: 480px;
    margin-bottom: 30px;
}

/* Bottom: full-width below content */
.blog-featured-img.featured-img-bottom,
.service-featured-media.featured-img-bottom {
    width: 100%;
    max-height: 480px;
    margin-top: 30px;
}

/* Left / Right: float beside text — wrapped in a helper div */
.featured-img-wrap-left,
.featured-img-wrap-right {
    display: block;
    /* wrapper sits in flow */
}

.featured-img-wrap-left .blog-featured-img,
.featured-img-wrap-left .service-featured-media {
    width: 340px;
    max-height: 380px;
    float: left;
    margin: 0 28px 20px 0;
}

.featured-img-wrap-right .blog-featured-img,
.featured-img-wrap-right .service-featured-media {
    width: 340px;
    max-height: 380px;
    float: right;
    margin: 0 0 20px 28px;
}

/* ── Rich content typography (CKEditor output) ── */
.rich-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3d33;
}

.rich-content h2 {
    font-size: 1.75rem;
    margin: 28px 0 12px;
    color: #1a3826;
}

.rich-content h3 {
    font-size: 1.4rem;
    margin: 22px 0 10px;
    color: #1a3826;
}

.rich-content h4 {
    font-size: 1.15rem;
    margin: 18px 0 8px;
    color: #1a3826;
}

.rich-content p {
    margin-bottom: 16px;
}

.rich-content ul,
.rich-content ol {
    margin: 0 0 16px 24px;
}

.rich-content li {
    margin-bottom: 6px;
}

.rich-content blockquote {
    border-left: 4px solid #1d6b43;
    padding: 12px 18px;
    margin: 20px 0;
    background: #f4faf6;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #3a5443;
}

.rich-content a {
    color: #1d6b43;
    text-decoration: underline;
}

.rich-content a:hover {
    color: #155232;
}

.rich-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 10px 0;
}

.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9rem;
}

.rich-content table th,
.rich-content table td {
    border: 1px solid #d1e6d8;
    padding: 10px 14px;
    text-align: left;
}

.rich-content table th {
    background: #eaf5ee;
    font-weight: 700;
    color: #1a3826;
}

.rich-content table tr:nth-child(even) {
    background: #f6fbf7;
}

.rich-content hr {
    border: none;
    border-top: 2px solid #e4ece6;
    margin: 28px 0;
}

@media (max-width: 768px) {

    .featured-img-wrap-left .blog-featured-img,
    .featured-img-wrap-left .service-featured-media,
    .featured-img-wrap-right .blog-featured-img,
    .featured-img-wrap-right .service-featured-media {
        width: 100%;
        max-height: 280px;
        float: none;
        margin: 0 0 20px 0;
    }
}

/* Contact page */
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.info-section,
.form-section,
.map-section {
    background: transparent;
}

.info-section {
    padding: 52px 0 32px;
}

.form-section {
    padding: 0 0 40px;
}

.map-section {
    padding: 8px 0 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.offices-col,
.details-col,
.form-section-inner,
.map-card,
.contact-form-card {
    background: var(--surface-card);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(20, 60, 37, 0.08);
}

.offices-col,
.details-col {
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.offices-col h2,
.details-col h2,
.form-section-inner h2,
.map-section-title {
    font-size: 2rem;
    line-height: 1;
    color: #174a2f;
    margin-bottom: 20px;
}

.office-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #e8f0e9;
}

.office-item:last-child {
    border-bottom: none;
}

.office-icon,
.detail-card-icon,
.map-badge {
    width: 42px;
    height: 42px;
    background: #e7f3eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d7348;
    flex-shrink: 0;
}

.office-text h4,
.map-card-header h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: #174a2f;
}

.office-text p,
.map-card-header p,
.detail-card-body p,
.detail-card-body a,
.form-subtitle,
.map-section-sub {
    color: #5b6d61;
    font-size: 0.92rem;
    line-height: 1.65;
    text-decoration: none;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.detail-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e1ece5;
    border-left: 4px solid #2b8a56;
    border-radius: 12px;
    align-items: center;
    flex-grow: 1;
}

.detail-card-body h4 {
    margin: 0 0 5px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: #7c8d82;
    text-transform: uppercase;
}

.form-section-inner {
    max-width: 930px;
    margin: 0 auto;
    padding: 30px;
}

.form-subtitle {
    margin-bottom: 18px;
}

.contact-form-card {
    margin-top: 0;
    padding: 28px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
}

.form-field label {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: #274d37;
    text-transform: uppercase;
}

.required-mark {
    color: #c33030;
    font-weight: 700;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line-mid);
    border-radius: 10px;
    font-size: 0.94rem;
    font-family: inherit;
    background: #fcfefc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
    border-color: #2f8f5b;
    box-shadow: 0 0 0 3px rgba(47, 143, 91, 0.12);
    outline: none;
}

.form-field input.is-error,
.form-field textarea.is-error {
    border-color: #ca3f3f;
}

.form-error {
    margin: 0;
    color: #ca3f3f;
    font-size: 0.8rem;
}

.form-error-banner {
    margin-bottom: 22px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e7b0b0;
    background: #fff1f1;
    color: #a62b2b;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    background: linear-gradient(120deg, #1d6d46, #2f955f);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(35, 120, 75, 0.25);
}

.success-box {
    text-align: center;
    padding: 38px 28px;
    border-radius: 14px;
    border: 1px solid #b5d8bf;
    background: #f3faf5;
}

.success-box .success-icon {
    font-size: 2.8rem;
    color: #257348;
    margin-bottom: 12px;
}

.success-box h2 {
    margin-bottom: 8px;
}

.success-box p {
    color: #4f6557;
}

.success-box a {
    margin-top: 8px;
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #257348;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.map-section-title {
    margin: 0 0 6px;
}

.map-section-sub {
    margin: 0 0 18px;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.map-card {
    overflow: hidden;
}

.map-card-header {
    padding: 14px 16px;
    border-bottom: 1px solid #e7efe8;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.map-card iframe {
    width: 100%;
    height: 230px;
    border: none;
}

@media (max-width: 991px) {

    .info-grid,
    .map-grid,
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .contact-form-card,
    .form-section-inner,
    .offices-col,
    .details-col {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    .detail-page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .detail-page-cta,
    .btn-outline-sm,
    .btn-submit,
    .success-box a {
        text-align: center;
        width: 100%;
    }

    .content-card {
        padding: 28px 20px;
    }
}

/* ============================================================
   UI REMAKE V2 (DEEPER VISUAL POLISH)
   ============================================================ */
.top-bar {
    background: linear-gradient(90deg, #0f3a27 0%, #155236 55%, #1d6d46 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar a {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.top-bar-right a {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-navbar-wrap {
    padding-top: 18px;
}

.main-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 999px;
}

.brand-logo img {
    height: 64px;
}

.main-nav a {
    border-radius: 999px;
    padding: 9px 16px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover {
    background: #eef7f1;
}

.dropdown {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(6, 31, 18, 0.32);
}

.search-btn {
    border: 1px solid #e1ece5;
}

.menu-grid-btn {
    box-shadow: 0 12px 24px rgba(13, 89, 53, 0.26);
}

.section-title {
    position: relative;
    margin-bottom: 26px;
}

.section-title::after {
    content: '';
    width: 84px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, #1a6e45 0%, #4bb879 100%);
    position: absolute;
    left: 0;
    bottom: -10px;
}

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

.section-subtitle {
    max-width: 780px;
    color: #486051;
}

.stat-card,
.service-card,
.blog-card,
.team-card,
.client-logo,
.certificate-card,
.content-card,
.form-section-inner,
.contact-form-card,
.offices-col,
.details-col,
.map-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.stat-card {
    border-top: 3px solid #3aa768;
}

.stat-card:hover,
.service-card:hover,
.blog-card:hover,
.team-card:hover,
.client-logo:hover,
.certificate-card:hover,
.content-card:hover {
    transform: translateY(-6px);
}

.service-card,
.blog-card,
.client-logo,
.certificate-card {
    border: 1px solid #deebe1;
}

.service-card h3,
.blog-content h3 {
    color: #123724;
}

.service-link,
.blog-link {
    font-weight: 700;
    letter-spacing: 0.01em;
}

.service-link i,
.blog-link i {
    transition: transform 0.2s ease;
}

.service-link:hover i,
.blog-link:hover i {
    transform: translateX(3px);
}

.btn-primary,
.btn-submit,
.success-box a,
.btn-outline-sm {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.btn-primary,
.btn-submit,
.success-box a {
    background: linear-gradient(130deg, #185f3b 0%, #2a8a58 100%);
    box-shadow: 0 12px 24px rgba(24, 104, 64, 0.2);
}

.btn-primary:hover,
.btn-submit:hover,
.success-box a:hover {
    box-shadow: 0 16px 30px rgba(24, 104, 64, 0.26);
}

.site-footer {
    background: radial-gradient(circle at 18% 0%, #173427 0%, #0f231a 52%, #091710 100%);
}

.footer-col h4::after {
    width: 46px;
    background: linear-gradient(90deg, #2a8d5a, #65d094);
}

.footer-post {
    align-items: flex-start;
}

/* Subtle entry motion for key page blocks */
.stats-strip .stat-card,
.services-grid .service-card,
.blog-grid .blog-card,
.team-grid .team-card,
.clients-grid .client-logo,
.certificate-grid .certificate-card {
    animation: uiRise 0.7s ease both;
}

.stats-strip .stat-card:nth-child(2),
.services-grid .service-card:nth-child(2),
.blog-grid .blog-card:nth-child(2),
.team-grid .team-card:nth-child(2),
.clients-grid .client-logo:nth-child(2),
.certificate-grid .certificate-card:nth-child(2) {
    animation-delay: 0.07s;
}

.stats-strip .stat-card:nth-child(3),
.services-grid .service-card:nth-child(3),
.blog-grid .blog-card:nth-child(3),
.team-grid .team-card:nth-child(3),
.clients-grid .client-logo:nth-child(3),
.certificate-grid .certificate-card:nth-child(3) {
    animation-delay: 0.12s;
}

.stats-strip .stat-card:nth-child(4),
.services-grid .service-card:nth-child(4),
.blog-grid .blog-card:nth-child(4),
.team-grid .team-card:nth-child(4),
.clients-grid .client-logo:nth-child(4),
.certificate-grid .certificate-card:nth-child(4) {
    animation-delay: 0.18s;
}

@keyframes uiRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .brand-logo img {
        height: 52px;
    }

    .main-navbar-wrap {
        padding-top: 10px;
    }

    .section-title::after {
        width: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .stats-strip .stat-card,
    .services-grid .service-card,
    .blog-grid .blog-card,
    .team-grid .team-card,
    .clients-grid .client-logo,
    .certificate-grid .certificate-card {
        animation: none;
    }

    .stat-card,
    .service-card,
    .blog-card,
    .team-card,
    .client-logo,
    .certificate-card,
    .content-card,
    .form-section-inner,
    .contact-form-card,
    .offices-col,
    .details-col,
    .map-card {
        transition: none;
    }
}

/* ============================================================
   PAGE TRANSITIONS (GLOBAL)
   ============================================================ */
html,
body {
    overflow-x: hidden;
}

body.page-transition-ready {
    opacity: 1;
    transform: translateX(36px);
    transition: transform 480ms cubic-bezier(0.16, 0.84, 0.24, 1), opacity 480ms ease;
    will-change: transform, opacity;
}

body.page-transition-ready.page-transition-entered {
    opacity: 1;
    transform: translateX(0);
}

body.page-transition-ready.page-transition-leaving {
    opacity: 0.98;
    transform: translateX(-36px);
}

@media (prefers-reduced-motion: reduce) {

    body.page-transition-ready,
    body.page-transition-ready.page-transition-entered,
    body.page-transition-ready.page-transition-leaving {
        opacity: 1;
        transform: none;
        transition: none;
    }
}