@charset "UTF-8";

/* =========================
   AFROCLEAN DESIGN TOKENS
========================= */
:root {
    --ac-primary: #0b8f43;
    --ac-primary-dark: #086c33;
    --ac-primary-soft: #eaf8f0;
    --ac-accent: #f2c318;
    --ac-dark: #0c1720;
    --ac-dark-2: #132433;

    --ac-text: #132238;
    --ac-text-soft: #5f6f82;
    --ac-text-faint: #8a97a8;

    --ac-surface: #ffffff;
    --ac-surface-2: #f7faf8;
    --ac-surface-3: #f2f6f4;
    --ac-line: rgba(19, 34, 56, 0.08);
    --ac-line-strong: rgba(19, 34, 56, 0.14);

    --ac-success: #159947;
    --ac-warning: #f2c318;

    --ac-radius-xs: 12px;
    --ac-radius-sm: 16px;
    --ac-radius-md: 22px;
    --ac-radius-lg: 30px;
    --ac-radius-xl: 40px;

    --ac-shadow-sm: 0 10px 24px rgba(12, 23, 32, 0.05);
    --ac-shadow-md: 0 18px 50px rgba(12, 23, 32, 0.08);
    --ac-shadow-lg: 0 26px 70px rgba(12, 23, 32, 0.12);

    --ac-container: 1320px;
    --ac-text-width: 760px;

    --ac-transition: 0.3s ease;
}

/* =========================
   RESET / BASE
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--ac-text);
    background: var(--ac-surface);
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

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

a {
    text-decoration: none;
    transition:
            color var(--ac-transition),
            background-color var(--ac-transition),
            border-color var(--ac-transition),
            box-shadow var(--ac-transition),
            transform var(--ac-transition);
}

.page-wrap {
    overflow: hidden;
}

section {
    position: relative;
    padding: 6rem 0;
}

/* =========================
   TYPOGRAPHY
========================= */
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ac-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ac-text-soft);
}

.section-text p:last-child {
    margin-bottom: 0;
}

.mini-title {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ac-text);
    margin-bottom: 0.7rem;
}

/* =========================
   LAYOUT HELPERS
========================= */
.ac-soft-section {
    background:
            radial-gradient(circle at top left, rgba(11, 143, 67, 0.06), transparent 34%),
            linear-gradient(180deg, #fbfdfc, #f6faf7);
}

.ac-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.ac-section-head-action {
    flex-shrink: 0;
}

.ac-media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--ac-radius-lg);
    background: var(--ac-surface);
    border: 1px solid var(--ac-line);
    box-shadow: var(--ac-shadow-md);
}

.ac-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    backdrop-filter: blur(18px);
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(19, 34, 56, 0.05);
    box-shadow: 0 8px 30px rgba(12, 23, 32, 0.04);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.navbar-brand img,
.afro-navbar-logo {
    height: 52px;
    width: auto;
}

.brand-stack {
    line-height: 1.05;
}

.brand-stack small {
    color: var(--ac-text-faint);
    font-size: 0.8rem;
}

.navbar-toggler {
    border: 0;
    box-shadow: none !important;
}

.nav-link {
    position: relative;
    color: var(--ac-text) !important;
    font-weight: 600;
    padding-inline: 0.9rem !important;
    padding-block: 0.6rem !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ac-primary), var(--ac-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--ac-transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--ac-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* =========================
   BUTTONS
========================= */
.btn-brand,
.btn-outline-brand,
.ac-btn-glass,
.ac-btn-glass-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 52px;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-brand {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--ac-primary), var(--ac-primary-dark));
    box-shadow: 0 10px 24px rgba(11, 143, 67, 0.22);
}

.btn-brand:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(11, 143, 67, 0.28);
}

.btn-outline-brand {
    background: #fff;
    color: var(--ac-primary);
    border: 1.5px solid rgba(11, 143, 67, 0.18);
}

.btn-outline-brand:hover {
    color: #fff;
    background: var(--ac-primary);
    border-color: var(--ac-primary);
}

.ac-btn-glass {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.ac-btn-glass:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.ac-btn-glass-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
}

.ac-btn-glass-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* =========================
   HERO
========================= */
.ac-hero {
    position: relative;
    min-height: 100vh;
    background: var(--ac-dark);
}

.ac-hero-media,
.ac-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ac-hero-media img {
    object-fit: cover;
    object-position: center;
}

.ac-hero-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(8, 16, 24, 0.84) 0%, rgba(8, 16, 24, 0.58) 42%, rgba(8, 16, 24, 0.22) 100%),
            linear-gradient(180deg, rgba(8, 16, 24, 0.14) 0%, rgba(8, 16, 24, 0.48) 100%);
    z-index: 1;
}

.ac-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7.8rem;
    padding-bottom: 7rem;
}

.ac-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.78rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    margin-bottom: 1.3rem;
    font-weight: 700;
    font-size: 0.82rem;
}

.ac-hero-title {
    font-size: clamp(2.9rem, 5vw, 5.2rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1.2rem;
    max-width: 820px;
}

.ac-hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.84);
    max-width: 700px;
    margin-bottom: 0;
}

.ac-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.ac-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.ac-proof-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.74rem 0.95rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    font-weight: 600;
}

.ac-proof-chip i {
    color: #fff;
}

/* =========================
   FLOATING STATS
========================= */
.ac-stats-wrap {
    position: relative;
    z-index: 6;
    margin-top: -5.5rem;
    padding: 0 0 2.5rem;
}

.ac-stats-panel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem;
    border-radius: 2rem;
    background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow:
            0 24px 60px rgba(12, 23, 32, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px);
}

.ac-stat-box {
    position: relative;
    overflow: hidden;
    min-height: 160px;
    padding: 1.35rem 1.2rem;
    border-radius: 1.4rem;
    background:
            radial-gradient(circle at top right, rgba(11, 143, 67, 0.08), transparent 38%),
            linear-gradient(180deg, #ffffff, #f8fbf9);
    border: 1px solid rgba(19, 34, 56, 0.06);
    box-shadow: 0 14px 34px rgba(12, 23, 32, 0.06);
    transition:
            transform var(--ac-transition),
            box-shadow var(--ac-transition),
            border-color var(--ac-transition);
}

.ac-stat-box::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--ac-primary), var(--ac-accent));
    opacity: 0.9;
}

.ac-stat-box:hover {
    transform: translateY(-6px);
    border-color: rgba(11, 143, 67, 0.14);
    box-shadow: 0 22px 46px rgba(12, 23, 32, 0.10);
}

.ac-stat-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--ac-primary);
    background: linear-gradient(135deg, rgba(11, 143, 67, 0.12), rgba(242, 195, 24, 0.16));
    box-shadow: inset 0 0 0 1px rgba(11, 143, 67, 0.06);
}

.ac-stat-box strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--ac-text);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
}

.ac-stat-box span {
    display: block;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ac-text-soft);
    max-width: 24ch;
}

@media (max-width: 991.98px) {
    .ac-stats-wrap {
        margin-top: -3rem;
    }

    .ac-stats-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ac-stats-wrap {
        margin-top: -2rem;
        padding-bottom: 2rem;
    }

    .ac-stats-panel {
        grid-template-columns: 1fr;
        border-radius: 1.5rem;
        padding: 0.85rem;
    }

    .ac-stat-box {
        min-height: auto;
        padding: 1.15rem 1rem;
    }

    .ac-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        margin-bottom: 0.85rem;
    }
}

/* =========================
   ABOUT
========================= */
.ac-mini-stack {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.ac-mini-feature {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--ac-line);
    border-radius: 1.4rem;
    background: #fff;
    box-shadow: var(--ac-shadow-sm);
}

/* =========================
   ICONS
========================= */
.icon-badge {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--ac-primary);
    background: linear-gradient(135deg, rgba(11, 143, 67, 0.1), rgba(242, 195, 24, 0.14));
    box-shadow: inset 0 0 0 1px rgba(11, 143, 67, 0.08);
}

/* =========================
   IMPACT SNAPSHOT
========================= */
.ac-impact-snapshot-section {
    background:
            radial-gradient(circle at top left, rgba(11, 143, 67, 0.06), transparent 32%),
            linear-gradient(180deg, #fbfdfc, #f6faf7);
}

.ac-impact-snapshot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ac-impact-snapshot-card {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.2rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid var(--ac-line);
    box-shadow: 0 14px 36px rgba(12, 23, 32, 0.06);
    transition: transform var(--ac-transition), box-shadow var(--ac-transition);
}

.ac-impact-snapshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(12, 23, 32, 0.1);
}

.ac-impact-snapshot-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--ac-primary);
    background: linear-gradient(135deg, rgba(11, 143, 67, 0.12), rgba(242, 195, 24, 0.16));
}

.ac-impact-snapshot-card strong {
    display: block;
    font-size: 1.4rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 0.45rem;
}

.ac-impact-snapshot-card span {
    display: block;
    font-size: 0.94rem;
    line-height: 1.65;
    color: var(--ac-text-soft);
}

@media (max-width: 991.98px) {
    .ac-impact-snapshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ac-impact-snapshot-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   SERVICES FEATURED
========================= */
.ac-services-featured {
    position: relative;
    overflow: hidden;
}

.ac-services-featured::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 143, 67, 0.08), transparent 70%);
    pointer-events: none;
}

.ac-services-featured-head {
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.ac-services-featured-title {
    max-width: 14ch;
    margin-inline: auto;
}

.ac-services-featured-text {
    max-width: 760px;
}

.ac-services-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.ac-service-feature-card {
    height: 100%;
}

.ac-service-feature-card-link {
    display: block;
    height: 100%;
    border-radius: 1.7rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(19, 34, 56, 0.07);
    box-shadow: 0 16px 40px rgba(12, 23, 32, 0.06);
    transition:
            transform var(--ac-transition),
            box-shadow var(--ac-transition),
            border-color var(--ac-transition);
}

.ac-service-feature-card-link:hover {
    color: inherit;
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(12, 23, 32, 0.1);
    border-color: rgba(11, 143, 67, 0.16);
}

.ac-service-feature-card-media {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

.ac-service-feature-card-link:hover .ac-service-feature-card-media img {
    transform: scale(1.05);
}

.ac-service-feature-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 23, 32, 0.06), rgba(12, 23, 32, 0.34));
}

.ac-service-feature-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 700;
}

.ac-service-feature-card-body {
    padding: 1.35rem 1.25rem 1.3rem;
}

.ac-service-feature-card-title {
    font-size: 1.18rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ac-text);
    margin-bottom: 0.75rem;
}

.ac-service-feature-card-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ac-text-soft);
    margin-bottom: 1rem;
}

.ac-service-feature-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ac-primary);
}

.ac-service-feature-card-action i {
    transition: transform var(--ac-transition);
}

.ac-service-feature-card-link:hover .ac-service-feature-card-action i {
    transform: translate(3px, -2px);
}

.ac-services-featured-cta {
    min-width: 210px;
}

@media (max-width: 991.98px) {
    .ac-services-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ac-services-featured-title {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .ac-services-featured-grid {
        grid-template-columns: 1fr;
    }

    .ac-service-feature-card-media {
        height: 220px;
    }
}

/* =========================
   PILLARS
========================= */
.ac-pillar-card {
    height: 100%;
    padding: 1.8rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff, #fcfdfd);
    border: 1px solid var(--ac-line);
    box-shadow: var(--ac-shadow-sm);
    transition: transform var(--ac-transition), box-shadow var(--ac-transition);
}

.ac-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(12, 23, 32, 0.08);
}

/* =========================
   CLIENTS GRID
========================= */
.ac-partner-summary-card {
    height: 100%;
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.4rem 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(11, 143, 67, 0.08), rgba(242, 195, 24, 0.08));
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.ac-partner-summary-card strong {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
    color: var(--ac-heading);
    margin-bottom: 0.55rem;
}

.ac-partner-summary-card span {
    color: var(--ac-text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
}


.ac-clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* =========================
   CARD
========================= */
.ac-client-card {
    height: 100%;
}

.ac-client-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* =========================
   IMAGE
========================= */
.ac-client-card-media {
    position: relative;
    height: 180px;
    border-radius: 1.2rem;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform var(--ac-transition);
}

.ac-client-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(0,0,0,0.1),
            rgba(0,0,0,0.65)
    );
    z-index: 1;
}

.ac-client-card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    z-index: 2;
}

/* =========================
   BODY
========================= */
.ac-client-card-body {
    padding: 1rem 0.2rem 0.2rem;
}

.ac-client-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.ac-client-card-text {
    font-size: 0.9rem;
    color: var(--ac-text-soft);
    line-height: 1.6;
}

/* =========================
   ACTION
========================= */
.ac-client-card-action {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;

    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ac-primary);
}

/* =========================
   HOVER
========================= */
.ac-client-card:hover .ac-client-card-media {
    transform: scale(1.04);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199.98px) {
    .ac-clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .ac-partner-summary-card {
        min-height: auto;
        padding: 1.15rem 1.2rem;
    }

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

@media (max-width: 575.98px) {
    .ac-clients-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   INSIGHTS
========================= */
.ac-insights-section .ac-section-head {
    margin-bottom: 2rem;
}

.note-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.44rem 0.92rem;
    border-radius: 999px;
    background: rgba(11, 143, 67, 0.10);
    color: var(--ac-primary);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--ac-text-faint);
    font-size: 0.92rem;
}

.ac-featured-insight,
.ac-side-insight {
    background: #fff;
    border: 1px solid var(--ac-line);
    overflow: hidden;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.ac-featured-insight:hover,
.ac-side-insight:hover {
    transform: translateY(-4px);
    border-color: rgba(11, 143, 67, 0.22);
}

.ac-featured-insight {
    height: 100%;
    border-radius: 1.8rem;
    box-shadow: 0 18px 44px rgba(12, 23, 32, 0.07);
}

.ac-featured-insight-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.ac-featured-insight-link:hover {
    color: inherit;
}

.ac-featured-insight-media {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background: #eef3f0;
}

.ac-featured-insight-media img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ac-featured-insight:hover .ac-featured-insight-media img {
    transform: scale(1.04);
}

.ac-featured-chip {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
}

.ac-featured-insight-body {
    padding: 1.8rem;
}

.ac-featured-insight-title {
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
    line-height: 1.16;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 0.85rem;
}

.ac-side-insight-stack {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.ac-side-insight {
    border-radius: 1.4rem;
    box-shadow: 0 14px 34px rgba(12, 23, 32, 0.05);
}

.ac-side-insight-link {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.ac-side-insight-link:hover {
    color: inherit;
}

.ac-side-insight-media {
    background: #eef3f0;
    overflow: hidden;
}

.ac-side-insight-media img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ac-side-insight:hover .ac-side-insight-media img {
    transform: scale(1.04);
}

.ac-side-insight-body {
    padding: 1.2rem;
}

.ac-side-insight-title {
    margin-bottom: 0.55rem;
}

@media (max-width: 1199.98px) {
    .ac-featured-insight-media,
    .ac-featured-insight-media img {
        min-height: 340px;
        height: 340px;
    }
}

@media (max-width: 991.98px) {
    .ac-featured-insight-media,
    .ac-featured-insight-media img {
        min-height: 300px;
        height: 300px;
    }

    .ac-side-insight-link {
        grid-template-columns: 130px 1fr;
    }

    .ac-side-insight-media img {
        min-height: 150px;
    }
}

@media (max-width: 767.98px) {
    .ac-insights-section .ac-section-head {
        gap: 1rem;
    }

    .ac-featured-insight-body {
        padding: 1.35rem;
    }

    .ac-featured-insight-media,
    .ac-featured-insight-media img {
        min-height: 240px;
        height: 240px;
    }

    .ac-side-insight-link {
        grid-template-columns: 1fr;
    }

    .ac-side-insight-media img {
        height: 220px;
        min-height: 220px;
    }

    .ac-side-insight-body {
        padding: 1rem;
    }
}

/* =========================
   FINAL CTA
========================= */
.ac-final-cta {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
    padding: 3rem;
    color: #fff;
    background:
            radial-gradient(circle at top right, rgba(242, 195, 24, 0.18), transparent 30%),
            linear-gradient(135deg, #0d1720, #14392b);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.ac-final-cta::before {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.ac-final-cta p {
    color: rgba(255, 255, 255, 0.82);
}

/* =========================
   FOOTER
========================= */
.footer {
    background:
            radial-gradient(circle at top right, rgba(242, 195, 24, 0.18), transparent 30%),
            linear-gradient(135deg, #183b2b, #0f1720);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-text,
.footer-contact,
.footer-bottom,
.footer-links a {
    font-size: 0.92rem;
    color: #a5b4c4;
}

.footer-text {
    line-height: 1.7;
}

.footer-tagline {
    color: #fff;
    font-weight: 600;
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

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

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

.footer-links a:hover,
.footer-social a:hover {
    color: #fff;
}

.footer-social a {
    color: #a5b4c4;
    font-size: 1.2rem;
    margin-right: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2rem;
    padding-top: 1.2rem;
    font-size: 0.85rem;
}

/* =========================
   FORMS
========================= */
.form-control,
.form-select {
    min-height: 54px;
    border-radius: 1rem;
    border-color: #d0d5dd;
    box-shadow: none;
    padding-inline: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(11, 143, 67, 0.38);
    box-shadow: 0 0 0 0.2rem rgba(11, 143, 67, 0.1);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991.98px) {
    section,
    .ac-section {
        padding: 4.5rem 0;
    }

    .ac-hero,
    .ac-hero-inner {
        min-height: 88vh;
    }

    .ac-hero-inner {
        padding-top: 7rem;
        padding-bottom: 6rem;
    }

    .ac-stats-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ac-section-head {
        flex-direction: column;
        align-items: start;
    }

    .ac-media-frame,
    .ac-media-frame img {
        min-height: 420px;
    }

    .ac-side-insight-link {
        grid-template-columns: 130px 1fr;
    }

    .navbar-brand img,
    .afro-navbar-logo {
        height: 48px;
    }
}

@media (max-width: 767.98px) {
    .ac-hero,
    .ac-hero-inner {
        min-height: 82vh;
    }

    .ac-hero-overlay {
        background:
                linear-gradient(180deg, rgba(8, 16, 24, 0.78) 0%, rgba(8, 16, 24, 0.56) 45%, rgba(8, 16, 24, 0.78) 100%);
    }

    .ac-hero-inner {
        padding-top: 6.6rem;
        padding-bottom: 5rem;
    }

    .ac-hero-title {
        font-size: clamp(2.2rem, 9vw, 3.3rem);
        line-height: 1.02;
    }

    .ac-stats-wrap {
        margin-top: -2.2rem;
    }

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

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

    .ac-featured-insight-media,
    .ac-featured-insight-media img {
        min-height: 280px;
        height: 280px;
    }

    .ac-side-insight-link {
        grid-template-columns: 1fr;
    }

    .ac-final-cta {
        padding: 2rem 1.5rem;
    }

    .partner-item {
        width: 170px;
        min-height: 88px;
    }

    .partner-item img {
        max-height: 46px;
    }
}

@media (max-width: 575.98px) {
    section,
    .ac-section {
        padding: 4rem 0;
    }

    .ac-hero-actions,
    .ac-proof-row {
        gap: 0.7rem;
    }

    .ac-proof-chip,
    .ac-hero-badge,
    .note-chip {
        font-size: 0.75rem;
    }

    .ac-hero-subtitle,
    .section-text {
        font-size: 0.96rem;
    }

    .partner-item {
        width: 150px;
        padding: 0.9rem 1rem;
    }

    .partner-item[data-partner-name]::after {
        white-space: normal;
        width: max-content;
        max-width: 180px;
        text-align: center;
    }
}

/* =========================
   PREMIUM ABOUT
========================= */
.ac-about-visual {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.12);
}

.ac-about-visual img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.ac-about-points {
    display: flex;
    flex-direction: column;
    gap: .7rem;
    margin-top: 1.5rem;
}

.ac-about-point {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    color: var(--ac-text);
}

.ac-about-point i {
    color: var(--ac-primary);
}

/* =========================
   SERVICES MODERN
========================= */
.ac-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.ac-service-block {
    padding: 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--ac-line);
    transition: all .3s ease;
}

.ac-service-block:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
}

.ac-service-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: .8rem 0 .5rem;
}

/* =========================
   DARK IMPACT SECTION
========================= */
.ac-impact-dark {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0c1720, #14392b);
    color: #fff;
}

.ac-impact-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
}

.ac-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ac-impact-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--ac-accent);
}

.ac-impact-item h3 {
    font-weight: 700;
    margin-bottom: .5rem;
}

.ac-impact-item p {
    color: rgba(255,255,255,.8);
}

/* =========================
   RESPONSIVE FIX
========================= */
@media (max-width: 991px) {
    .ac-services-grid {
        grid-template-columns: 1fr;
    }

    .ac-impact-grid {
        grid-template-columns: 1fr;
    }

    .ac-about-visual img {
        height: 360px;
    }
}

/* HERO CAROUSEL */
.ac-hero,
.ac-hero-carousel,
.ac-hero-slider,
.ac-hero-slider .carousel-inner,
.ac-hero-slider .carousel-item {
    position: relative;
    min-height: 100vh;
}

.ac-hero-slider .carousel-item {
    overflow: hidden;
}

.ac-hero-media,
.ac-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ac-hero-media img {
    object-fit: cover;
    object-position: center;
}

.ac-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
            linear-gradient(90deg, rgba(10, 20, 30, 0.82) 0%, rgba(10, 20, 30, 0.58) 40%, rgba(10, 20, 30, 0.20) 100%);
}

.ac-hero-inner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 5rem;

    inset: 0;
    z-index: 5;
}

.ac-hero-inner .row {
    width: 100%;
}

.ac-hero-title {
    font-size: clamp(2.4rem, 4.8vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    max-width: 980px;
}

.ac-hero-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.84);
    max-width: 820px;
    margin-bottom: 0;
}

.ac-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.ac-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    max-width: 900px;
}

/* CONTROLS */
.ac-hero-control .carousel-control-prev-icon,
.ac-hero-control .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 1.2rem;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
    .ac-hero,
    .ac-hero-carousel,
    .ac-hero-slider,
    .ac-hero-slider .carousel-inner,
    .ac-hero-slider .carousel-item,
    .ac-hero-inner {
        min-height: 88vh;
    }
}

@media (max-width: 767.98px) {
    .ac-hero,
    .ac-hero-carousel,
    .ac-hero-slider,
    .ac-hero-slider .carousel-inner,
    .ac-hero-slider .carousel-item,
    .ac-hero-inner {
        min-height: 82vh;
    }

    .ac-hero-inner {
        padding-top: 6.5rem;
        padding-bottom: 4rem;
    }

    .ac-hero-title {
        font-size: clamp(2.1rem, 8vw, 3.2rem);
        line-height: 1.03;
    }

    .ac-hero-overlay {
        background:
                linear-gradient(180deg, rgba(8, 16, 24, 0.78) 0%, rgba(8, 16, 24, 0.58) 45%, rgba(8, 16, 24, 0.78) 100%);
    }
}

/* =========================
   ABOUT PAGE HERO
========================= */
.ac-page-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: end;
    background-color: var(--ac-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 8.5rem 0 5rem;
}

.ac-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
            linear-gradient(90deg, rgba(8, 16, 24, 0.84) 0%, rgba(8, 16, 24, 0.62) 44%, rgba(8, 16, 24, 0.34) 100%),
            linear-gradient(180deg, rgba(8, 16, 24, 0.12) 0%, rgba(8, 16, 24, 0.5) 100%);
}

.ac-page-hero-inner {
    position: relative;
    z-index: 2;
}

.ac-page-hero .section-kicker {
    color: rgba(255, 255, 255, 0.82);
}

.ac-page-hero-title {
    max-width: 840px;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.ac-page-hero-text {
    max-width: 760px;
    font-size: 1.02rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 0;
}


/* =========================
   BREADCRUMB
========================= */
.ac-breadcrumb {
    padding: 6.5rem 0 2rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--ac-line);
}

.ac-breadcrumb-title {
    font-size: 1.8rem;
    font-weight: 800;
}

.ac-breadcrumb-path {
    font-size: 0.9rem;
    color: var(--ac-text-soft);
}

.ac-breadcrumb-path a {
    color: var(--ac-primary);
    text-decoration: none;
}

.ac-breadcrumb-path span {
    margin: 0 0.3rem;
}

/* =========================
   SIMPLE ABOUT MEDIA
========================= */
/* IMAGE WRAPPER */
.ac-about-simple-media {
    height: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
    background: #fff;
    display: flex;
}

/* IMAGE */
.ac-about-simple-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 KEY */
    display: block;
}

/* =========================
   MINI FEATURES
========================= */
.ac-about-mini-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ac-about-mini-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.ac-about-mini-item h6 {
    font-weight: 700;
}

.ac-about-mini-item p {
    font-size: 0.9rem;
    color: var(--ac-text-soft);
}

/* =========================
   VALUE CARDS
========================= */
.ac-about-value-card {
    padding: 1.2rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid var(--ac-line);
    box-shadow: var(--ac-shadow-sm);
}

.ac-about-value-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11,143,67,0.1);
    color: var(--ac-primary);
    margin-bottom: 0.5rem;
}

.ac-breadcrumb {
    padding: 6.5rem 0 2rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--ac-line);
}

.ac-breadcrumb-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ac-text);
}

.ac-breadcrumb-path {
    font-size: 0.9rem;
    color: var(--ac-text-soft);
}

.ac-breadcrumb-path a {
    color: var(--ac-primary);
    text-decoration: none;
}

.ac-breadcrumb-path span {
    margin: 0 0.3rem;
}



.ac-about-mini-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ac-about-mini-item {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.ac-about-mini-item h6 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ac-text);
}

.ac-about-mini-item p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ac-text-soft);
}

.ac-about-identity-card {
    padding: 1.4rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid var(--ac-line);
    box-shadow: var(--ac-shadow-sm);
    transition: transform var(--ac-transition), box-shadow var(--ac-transition);
}

.ac-about-identity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(12, 23, 32, 0.08);
}

.ac-about-value-card {
    padding: 1.25rem;
    border-radius: 1.2rem;
    background: #fff;
    border: 1px solid var(--ac-line);
    box-shadow: var(--ac-shadow-sm);
}

.ac-about-value-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 143, 67, 0.1);
    color: var(--ac-primary);
    margin-bottom: 0.7rem;
}

.ac-about-cta-card {
    padding: 2.5rem 1.5rem;
    border-radius: 1.6rem;
    background: radial-gradient(circle at top right, rgba(242, 195, 24, 0.12), transparent 26%), linear-gradient(180deg, #ffffff, #f9fcfa);
    border: 1px solid var(--ac-line);
    box-shadow: var(--ac-shadow-sm);
}

@media (max-width: 767.98px) {
    .ac-breadcrumb {
        padding: 6rem 0 1.5rem;
    }

    .ac-about-simple-media img {
        min-height: 280px;
    }

    .ac-about-cta-card {
        padding: 2rem 1rem;
    }
}


/* =========================
   SERVICES PAGE
========================= */
.ac-services-page-intro {
    padding-bottom: 2.5rem;
}

.ac-services-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ac-services-page-card {
    height: 100%;
}

.ac-services-page-card-link {
    display: block;
    height: 100%;
    border-radius: 1.6rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--ac-line);
    box-shadow: 0 16px 40px rgba(12, 23, 32, 0.06);
    transition:
            transform var(--ac-transition),
            box-shadow var(--ac-transition),
            border-color var(--ac-transition);
}

.ac-services-page-card-link:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(12, 23, 32, 0.1);
    border-color: rgba(11, 143, 67, 0.16);
}

.ac-services-page-card-media {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #eef3f0;
}

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

.ac-services-page-card-link:hover .ac-services-page-card-media img {
    transform: scale(1.05);
}

.ac-services-page-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 23, 32, 0.06), rgba(12, 23, 32, 0.34));
}

.ac-services-page-card-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(12, 23, 32, 0.18);
}

.ac-services-page-card-body {
    padding: 1.35rem 1.25rem 1.3rem;
}

.ac-services-page-card-title {
    font-size: 1.14rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ac-text);
    margin-bottom: 0.75rem;
}

.ac-services-page-card-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ac-text-soft);
    margin-bottom: 1rem;
}

.ac-services-page-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ac-primary);
}

.ac-services-page-card-action i {
    transition: transform var(--ac-transition);
}

.ac-services-page-card-link:hover .ac-services-page-card-action i {
    transform: translate(3px, -2px);
}

/* =========================
   SERVICE DETAIL PAGE
========================= */
.ac-service-detail-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.ac-service-detail-card {
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.ac-service-detail-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    background: #f8f9fa;
}

.ac-service-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ac-service-icon-floating {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    background: rgba(11, 143, 67, 0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(6px);
}

.ac-service-detail-body {
    padding: 2rem;
}

.ac-service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--ac-text-faint);
    font-size: 0.95rem;
}

.ac-service-meta span {
    display: inline-flex;
    align-items: center;
}

.ac-service-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-service-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ac-text-soft);
    margin-bottom: 1.5rem;
}

.ac-service-summary-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--ac-line);
    border-radius: 1rem;
    background: #f8fafc;
    margin-bottom: 2rem;
}

.ac-service-summary-item {
    flex: 1 1 220px;
}

.ac-service-summary-item .label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ac-text-faint);
    margin-bottom: 0.2rem;
}

.ac-service-summary-item .value {
    color: var(--ac-text);
    font-weight: 600;
    line-height: 1.6;
}

.ac-service-content {
    color: #344054;
    line-height: 1.95;
    font-size: 1rem;
}

.ac-service-content p:last-child {
    margin-bottom: 0;
}

.ac-service-content h2,
.ac-service-content h3,
.ac-service-content h4 {
    color: var(--ac-text);
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
}

.ac-service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.ac-service-content a {
    color: var(--ac-primary);
    text-decoration: underline;
}

.ac-service-content ul,
.ac-service-content ol {
    padding-left: 1.2rem;
}

.ac-service-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--ac-primary);
    background: #f8fafc;
    border-radius: 0 1rem 1rem 0;
    color: #475467;
}

.ac-service-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.ac-related-services-block {
    margin-top: 2.5rem;
}

.ac-related-services-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-related-service-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-related-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 143, 67, 0.18);
}

.ac-related-service-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ac-related-service-link:hover {
    color: inherit;
}

.ac-related-service-media {
    position: relative;
    height: 180px;
    background: #f8f9fa;
    overflow: hidden;
}

.ac-related-service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ac-related-service-card:hover .ac-related-service-media img {
    transform: scale(1.05);
}

.ac-related-service-icon {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(11, 143, 67, 0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(6px);
}

.ac-related-service-body {
    padding: 1.1rem;
}

.ac-related-service-title-text {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.6rem;
    color: var(--ac-text);
}

@media (max-width: 1199.98px) {
    .ac-services-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ac-services-page-grid {
        grid-template-columns: 1fr;
    }

    .ac-services-page-card-media {
        height: 220px;
    }

    .ac-service-detail-body {
        padding: 1.25rem;
    }

    .ac-service-detail-media {
        min-height: 240px;
    }

    .ac-service-summary-box {
        padding: 1rem;
    }
}

/* =========================
   INSIGHTS PAGE
========================= */
.ac-insights-page-intro {
    padding-bottom: 2.5rem;
}

.ac-insights-toolbar {
    margin-bottom: 2rem;
}

.ac-insights-toolbar .form-control,
.ac-insights-toolbar .form-select {
    min-height: 52px;
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

.ac-insights-toolbar .input-group > .btn {
    min-width: 132px;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.ac-insight-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ac-insight-card-link:hover {
    color: inherit;
}

.ac-insight-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.1rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    border-color: rgba(11, 143, 67, 0.18);
}

.ac-insight-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 1rem;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 1rem;
}

.ac-insight-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ac-insight-card:hover .ac-insight-card-image {
    transform: scale(1.05);
}

.ac-insight-chip-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    backdrop-filter: blur(4px);
}

.ac-empty-insights-state {
    background: #fff;
    border-radius: 1.25rem;
    padding: 3rem 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.ac-empty-insights-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 143, 67, 0.10);
    color: var(--ac-primary);
    font-size: 1.6rem;
}

.ac-insights-pagination .pagination {
    gap: 0.35rem;
    flex-wrap: wrap;
}

.ac-insights-pagination .page-link {
    border: none;
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem !important;
    background: #fff;
    color: #344054;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ac-insights-pagination .page-item.active .page-link {
    background: var(--ac-primary);
    color: #fff;
}

.ac-insights-pagination .page-item.disabled .page-link {
    background: #f3f4f6;
    color: #98a2b3;
    box-shadow: none;
}

/* =========================
   INSIGHT DETAIL PAGE
========================= */
.ac-insight-detail-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.ac-insight-detail-card {
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.ac-insight-detail-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    background: #f8f9fa;
}

.ac-insight-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ac-insight-detail-body {
    padding: 2rem;
}

.ac-insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--ac-text-faint);
    font-size: 0.95rem;
}

.ac-insight-meta span {
    display: inline-flex;
    align-items: center;
}

.ac-insight-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-insight-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ac-text-soft);
    margin-bottom: 1.5rem;
}

.ac-insight-author-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--ac-line);
    border-radius: 1rem;
    background: #f8fafc;
    margin-bottom: 2rem;
}

.ac-insight-author-box .label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ac-text-faint);
    margin-bottom: 0.2rem;
}

.ac-insight-author-box .value {
    color: var(--ac-text);
    font-weight: 600;
}

.ac-insight-content {
    color: #344054;
    line-height: 1.95;
    font-size: 1rem;
}

.ac-insight-content p:last-child {
    margin-bottom: 0;
}

.ac-insight-content h2,
.ac-insight-content h3,
.ac-insight-content h4 {
    color: var(--ac-text);
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
}

.ac-insight-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.ac-insight-content a {
    color: var(--ac-primary);
    text-decoration: underline;
}

.ac-insight-content ul,
.ac-insight-content ol {
    padding-left: 1.2rem;
}

.ac-insight-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--ac-primary);
    background: #f8fafc;
    border-radius: 0 1rem 1rem 0;
    color: #475467;
}

.ac-insight-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.ac-related-insights-block {
    margin-top: 2.5rem;
}

.ac-related-insights-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-related-insight-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-related-insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 143, 67, 0.18);
}

.ac-related-insight-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ac-related-insight-link:hover {
    color: inherit;
}

.ac-related-insight-media {
    position: relative;
    height: 180px;
    background: #f8f9fa;
    overflow: hidden;
}

.ac-related-insight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ac-related-insight-card:hover .ac-related-insight-media img {
    transform: scale(1.05);
}

.ac-related-insight-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.ac-related-insight-body {
    padding: 1.1rem;
}

.ac-related-insight-title-text {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.6rem;
    color: var(--ac-text);
}

@media (max-width: 991.98px) {
    .ac-insights-toolbar .row > div:last-child {
        max-width: 220px;
    }
}

@media (max-width: 767.98px) {
    .ac-insight-card {
        padding: 1rem;
    }

    .ac-insight-card-media {
        height: 210px;
    }

    .ac-insights-toolbar .row > div:last-child {
        max-width: none;
    }

    .ac-insight-detail-body {
        padding: 1.25rem;
    }

    .ac-insight-detail-media {
        min-height: 240px;
    }

    .ac-insight-author-box {
        padding: 1rem;
    }
}


/* =========================
   CLIENT DETAIL PAGE
========================= */
.ac-client-detail-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.ac-client-detail-card {
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.ac-client-detail-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    overflow: hidden;
    background: #f8f9fa;
}

.ac-client-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ac-client-chip-floating {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
}

.ac-client-detail-body {
    padding: 2rem;
}

.ac-client-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--ac-text-faint);
    font-size: 0.95rem;
}

.ac-client-meta span {
    display: inline-flex;
    align-items: center;
}

.ac-client-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-client-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ac-text-soft);
    margin-bottom: 1.5rem;
}

.ac-client-summary-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--ac-line);
    border-radius: 1rem;
    background: #f8fafc;
    margin-bottom: 2rem;
}

.ac-client-summary-item {
    flex: 1 1 220px;
}

.ac-client-summary-item .label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ac-text-faint);
    margin-bottom: 0.2rem;
}

.ac-client-summary-item .value {
    color: var(--ac-text);
    font-weight: 600;
    line-height: 1.6;
}

.ac-client-content {
    color: #344054;
    line-height: 1.95;
    font-size: 1rem;
}

.ac-client-content p:last-child {
    margin-bottom: 0;
}

.ac-client-content h2,
.ac-client-content h3,
.ac-client-content h4 {
    color: var(--ac-text);
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
}

.ac-client-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.ac-client-content a {
    color: var(--ac-primary);
    text-decoration: underline;
}

.ac-client-content ul,
.ac-client-content ol {
    padding-left: 1.2rem;
}

.ac-client-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--ac-primary);
    background: #f8fafc;
    border-radius: 0 1rem 1rem 0;
    color: #475467;
}

.ac-client-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.ac-related-clients-block {
    margin-top: 2.5rem;
}

.ac-related-clients-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-related-client-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-related-client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 143, 67, 0.18);
}

.ac-related-client-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ac-related-client-link:hover {
    color: inherit;
}

.ac-related-client-media {
    position: relative;
    height: 180px;
    background: #f8f9fa;
    overflow: hidden;
}

.ac-related-client-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ac-related-client-card:hover .ac-related-client-media img {
    transform: scale(1.05);
}

.ac-related-client-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.ac-related-client-body {
    padding: 1.1rem;
}

.ac-related-client-title-text {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.6rem;
    color: var(--ac-text);
}

@media (max-width: 767.98px) {
    .ac-client-detail-body {
        padding: 1.25rem;
    }

    .ac-client-detail-media {
        min-height: 240px;
    }

    .ac-client-summary-box {
        padding: 1rem;
    }
}

/* =========================
   PROJECTS PAGE
========================= */
.ac-projects-page-intro {
    padding-bottom: 2.5rem;
}

.ac-projects-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ac-projects-page-card {
    height: 100%;
}

.ac-projects-page-card-link {
    display: block;
    height: 100%;
    border-radius: 1.6rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid var(--ac-line);
    box-shadow: 0 16px 40px rgba(12, 23, 32, 0.06);
    transition:
            transform var(--ac-transition),
            box-shadow var(--ac-transition),
            border-color var(--ac-transition);
}

.ac-projects-page-card-link:hover {
    color: inherit;
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(12, 23, 32, 0.1);
    border-color: rgba(11, 143, 67, 0.16);
}

.ac-projects-page-card-media {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #eef3f0;
}

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

.ac-projects-page-card-link:hover .ac-projects-page-card-media img {
    transform: scale(1.05);
}

.ac-projects-page-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 23, 32, 0.06), rgba(12, 23, 32, 0.34));
}

.ac-projects-page-card-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.ac-projects-page-card-body {
    padding: 1.35rem 1.25rem 1.3rem;
}

.ac-projects-page-card-title {
    font-size: 1.14rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--ac-text);
    margin-bottom: 0.75rem;
}

.ac-projects-page-card-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--ac-text-soft);
    margin-bottom: 1rem;
}

.ac-projects-page-card-action {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ac-primary);
}

.ac-projects-page-card-action i {
    transition: transform var(--ac-transition);
}

.ac-projects-page-card-link:hover .ac-projects-page-card-action i {
    transform: translate(3px, -2px);
}

/* =========================
   PROJECT DETAIL PAGE
========================= */
.ac-project-detail-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.ac-project-detail-card {
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.5rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.ac-project-detail-media {
    position: relative;
    width: 100%;
    min-height: 320px;
    max-height: 560px;
    overflow: hidden;
    background: #f8f9fa;
}

.ac-project-gallery-carousel,
.ac-project-gallery-carousel .carousel-inner,
.ac-project-gallery-carousel .carousel-item,
.ac-project-gallery-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.ac-project-gallery-carousel .carousel-item img {
    object-fit: cover;
    display: block;
}

.ac-project-gallery-carousel .carousel-control-prev,
.ac-project-gallery-carousel .carousel-control-next {
    width: 10%;
}

.ac-project-gallery-carousel .carousel-control-prev-icon,
.ac-project-gallery-carousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.22);
    border-radius: 50%;
    padding: 1.2rem;
}

.ac-project-chip-floating {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 3;
}

.ac-project-detail-body {
    padding: 2rem;
}

.ac-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
    color: var(--ac-text-faint);
    font-size: 0.95rem;
}

.ac-project-meta span {
    display: inline-flex;
    align-items: center;
}

.ac-project-detail-title {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-project-detail-excerpt {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ac-text-soft);
    margin-bottom: 1.5rem;
}

.ac-project-summary-box {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--ac-line);
    border-radius: 1rem;
    background: #f8fafc;
    margin-bottom: 2rem;
}

.ac-project-summary-item {
    flex: 1 1 220px;
}

.ac-project-summary-item .label {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ac-text-faint);
    margin-bottom: 0.2rem;
}

.ac-project-summary-item .value {
    color: var(--ac-text);
    font-weight: 600;
    line-height: 1.6;
}

.ac-project-content {
    color: #344054;
    line-height: 1.95;
    font-size: 1rem;
}

.ac-project-content p:last-child {
    margin-bottom: 0;
}

.ac-project-content h2,
.ac-project-content h3,
.ac-project-content h4 {
    color: var(--ac-text);
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    line-height: 1.35;
    font-weight: 700;
}

.ac-project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

.ac-project-content a {
    color: var(--ac-primary);
    text-decoration: underline;
}

.ac-project-content ul,
.ac-project-content ol {
    padding-left: 1.2rem;
}

.ac-project-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--ac-primary);
    background: #f8fafc;
    border-radius: 0 1rem 1rem 0;
    color: #475467;
}

.ac-project-footer-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.ac-related-projects-block {
    margin-top: 2.5rem;
}

.ac-related-projects-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--ac-text);
    margin-bottom: 1rem;
}

.ac-related-project-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--ac-line);
    border-radius: 1.2rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ac-related-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: rgba(11, 143, 67, 0.18);
}

.ac-related-project-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.ac-related-project-link:hover {
    color: inherit;
}

.ac-related-project-media {
    position: relative;
    height: 180px;
    background: #f8f9fa;
    overflow: hidden;
}

.ac-related-project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.ac-related-project-card:hover .ac-related-project-media img {
    transform: scale(1.05);
}

.ac-related-project-chip {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
}

.ac-related-project-body {
    padding: 1.1rem;
}

.ac-related-project-title-text {
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.6rem;
    color: var(--ac-text);
}

@media (max-width: 1199.98px) {
    .ac-projects-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ac-projects-page-grid {
        grid-template-columns: 1fr;
    }

    .ac-projects-page-card-media {
        height: 220px;
    }

    .ac-project-detail-body {
        padding: 1.25rem;
    }

    .ac-project-detail-media,
    .ac-project-gallery-carousel,
    .ac-project-gallery-carousel .carousel-inner,
    .ac-project-gallery-carousel .carousel-item,
    .ac-project-gallery-carousel .carousel-item img {
        min-height: 240px;
    }

    .ac-project-summary-box {
        padding: 1rem;
    }
}


/* =========================
   CONTACT PAGE
========================= */
.ac-contact-page-intro {
    padding-bottom: 2.5rem;
}

.ac-contact-card,
.ac-contact-form-card,
.ac-contact-side-card {
    border: 1px solid var(--ac-line);
    border-radius: 1.35rem;
    box-shadow: var(--ac-shadow-sm);
}
.ac-contact-side-card {
    background: linear-gradient(180deg, #ffffff, #fbfcfd);
}


.ac-contact-card {
    padding: 1.5rem;
    transition: transform var(--ac-transition), box-shadow var(--ac-transition), border-color var(--ac-transition);
}

.ac-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(12, 23, 32, 0.08);
    border-color: rgba(11, 143, 67, 0.16);
}

.ac-contact-form-card,
.ac-contact-side-card {
    padding: 1.7rem;
}

.ac-contact-lead-title {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--ac-text);
    margin-bottom: 0.8rem;
}

.ac-contact-form .form-control {
    min-height: 52px;
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: none;
}

.ac-contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.ac-content-list ul,
.ac-contact-list ol {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .9rem;
}

.ac-content-list li {
    position: relative;
    padding-left: 1.6rem;
    color: #475467;
    line-height: 1.75;
}

.ac-content-list li::before {
    content: "\f26a";
    font-family: "Bootstrap-icons";
    position: absolute;
    left: 0;
    top: .15rem;
    color: #198754;
    font-size: 1rem;
}

.ac-contact-note {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(11, 143, 67, 0.16);
    border: 1px solid rgba(15, 23, 42, 0.05);
    color: var(--ac-text-soft);
    line-height: 1.75;
}

@media (max-width: 767.98px) {
    .ac-contact-form-card,
    .ac-contact-side-card,
    .ac-contact-card {
        padding: 1.2rem;
        border-radius: 1.15rem;
    }
}

/* =========================
   TEAM PAGE
========================= */

.ac-team-page-intro {
    padding-bottom: 2.5rem;
}

.ac-team-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.ac-team-page-card {
    height: 100%;
}

.ac-team-page-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ac-team-page-card-link:hover {
    color: inherit;
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.1);
    border-color: rgba(22, 163, 74, 0.18);
}

.ac-team-page-card-media {
    position: relative;
    aspect-ratio: 1080 / 720;
    overflow: hidden;
    background:
            linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(15, 23, 42, 0.06)),
            #eef5f0;
}

.ac-team-page-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.ac-team-page-card-link:hover .ac-team-page-card-media img {
    transform: scale(1.04);
}

.ac-team-page-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.02) 0%,
            rgba(15, 23, 42, 0.08) 55%,
            rgba(15, 23, 42, 0.16) 100%
    );
    pointer-events: none;
}

.ac-team-page-card-chip {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.ac-team-page-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.5rem;
}

.ac-team-page-card-title {
    margin: 0 0 .35rem;
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: #0f172a;
}

.ac-team-page-card-role {
    margin: 0 0 1rem;
    font-size: .95rem;
    line-height: 1.5;
    font-weight: 600;
    color: #16a34a;
}

.ac-team-page-card-text {
    margin: 0;
    font-size: .98rem;
    line-height: 1.75;
    color: #475569;
}

.ac-team-page-card-action {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: .95rem;
    font-weight: 700;
    color: #16a34a;
    transition: gap .2s ease, color .2s ease;
}

.ac-team-page-card-link:hover .ac-team-page-card-action {
    gap: .75rem;
    color: #15803d;
}

.ac-team-page-card-action i {
    font-size: 1rem;
    line-height: 1;
}

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

@media (max-width: 1199.98px) {
    .ac-team-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .ac-team-page-intro {
        padding-bottom: 2rem;
    }

    .ac-team-page-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .ac-team-page-card-body {
        padding: 1.25rem;
    }

    .ac-team-page-card-title {
        font-size: 1.1rem;
    }

    .ac-team-page-card-text {
        font-size: .95rem;
        line-height: 1.7;
    }

    .ac-team-page-card-chip {
        top: .85rem;
        left: .85rem;
    }
}

/* =========================
   TEAM PROFILE PAGE
========================= */

.ac-team-profile-intro {
    padding-bottom: 2.5rem;
}

.ac-team-profile-media {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    background:
            linear-gradient(135deg, rgba(22, 163, 74, 0.08), rgba(15, 23, 42, 0.06)),
            #eef5f0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.ac-team-profile-media img {
    width: 100%;
    aspect-ratio: 1080 / 1080;
    object-fit: cover;
    display: block;
}

.ac-team-profile-summary {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.ac-team-profile-role {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 700;
    color: #16a34a;
}

.ac-team-profile-contact {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin: 1.25rem 0 0;
}

.ac-team-profile-link {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: #0f172a;
    font-weight: 600;
    transition: color .2s ease;
}

.ac-team-profile-link:hover {
    color: #16a34a;
}

.ac-team-profile-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.ac-team-profile-socials a {
    text-decoration: none;
    color: #16a34a;
    font-weight: 700;
    transition: color .2s ease;
}

.ac-team-profile-socials a:hover {
    color: #15803d;
}

.ac-team-profile-content-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.ac-team-profile-content {
    color: #475569;
    line-height: 1.85;
}

.ac-team-profile-content p:last-child {
    margin-bottom: 0;
}

.ac-team-profile-content h2,
.ac-team-profile-content h3,
.ac-team-profile-content h4 {
    color: #0f172a;
    margin-top: 1.5rem;
    margin-bottom: .85rem;
}

.ac-team-profile-content ul,
.ac-team-profile-content ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.ac-team-profile-content a {
    color: #16a34a;
    text-decoration: none;
}

.ac-team-profile-content a:hover {
    color: #15803d;
}

@media (max-width: 991.98px) {
    .ac-team-profile-summary,
    .ac-team-profile-content-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .ac-team-profile-intro {
        padding-bottom: 2rem;
    }

    .ac-team-profile-summary,
    .ac-team-profile-content-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .ac-team-profile-socials {
        gap: .85rem;
    }
}


/* =========================
   PARTNERS
========================= */
.partners-strip-section {
    padding: 4.5rem 0;
    background: #fff;
}

.partners-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: max-content;
    animation: partners-scroll 28s linear infinite;
}

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

.partner-item {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    min-height: 96px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.partner-item:hover {
    transform: translateY(-4px);
}

.partner-item img {
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .85;
    transition: all .25s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =========================
   NAVBAR MOBILE/TABLET ROW FIX
========================= */
.navbar .container,
.navbar .container-fluid {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* allow collapse to move below */
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 52px; /* same visual row height */
    margin-right: auto;
    flex: 1 1 auto;
    min-width: 0;
}

.afro-navbar-logo,
.navbar-brand img {
    height: 52px;
    width: auto;
    flex: 0 0 auto;
}

.brand-stack {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.1;
}

.brand-stack .fw-bold {
    margin: 0;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-stack small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.navbar-toggler {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
    border-radius: 0.9rem;
}

.navbar-collapse {
    flex-basis: 100%; /* forces menu below first row */
    width: 100%;
}

/* desktop / large screens */
@media (min-width: 1200px) {
    .navbar-collapse {
        flex-basis: auto;
        width: auto;
    }
}

/* tablet and below */
@media (max-width: 1199.98px) {
    .navbar-brand {
        max-width: calc(100% - 68px);
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 1rem;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    }

    .navbar-nav {
        align-items: flex-start;
        gap: 0.35rem;
    }

    .navbar .nav-link {
        white-space: normal;
        padding: 0.7rem 0;
    }

    .navbar .btn-brand {
        margin-top: 0.65rem;
        width: 100%;
        justify-content: center;
    }
}

/* phones */
@media (max-width: 767.98px) {
    .afro-navbar-logo,
    .navbar-brand img {
        height: 48px;
    }

    .navbar-brand {
        min-height: 48px;
        gap: 0.7rem;
        max-width: calc(100% - 60px);
    }

    .navbar-toggler {
        width: 48px;
        height: 48px;
        margin-left: 0.5rem;
    }

    .brand-stack .fw-bold {
        font-size: 0.98rem;
    }

    .brand-stack small {
        font-size: 0.82rem;
    }
}
