/*
Theme Name: Absons Custom
*/

:root {
    /* Brand colours */
    --primary-green: #16a34a;
    --primary-green-dark: #15803d;
    --primary-green-light: rgba(22, 163, 74, 0.08);
    --primary-green-pale: #96f7af;
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --primary-blue-light: #eff6ff;

    /* Text */
    --text-dark: #1e293b;
    --text-darkest: #111827;
    --text-muted: #475569;
    --text-light: rgba(255, 255, 255, 0.72);

    /* Backgrounds */
    --bg-light: #f8fafc;
    --bg-light-gray: #f3f4f6;
    --bg-section-alt: #eff6ff;
    --white: #ffffff;
    --dark-bg: #0f172a;
    --navy-deep: #121926;
    --navy-dark: #0b1c30;

    /* Borders */
    --border-color: #e2e8f0;
    --border-light-gray: #e5e7eb;
    --border-light: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Poppins', 'Metropolis', 'Inter', sans-serif;
    --font-body: 'Open Sans', 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    width: min(1200px, 92%);
    margin: auto;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-green-dark);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 14px;
}

.section-padding {
    padding: 100px 0;
}

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

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-heading p {
    color: var(--text-muted);
    max-width: 700px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.text-center p {
    margin: 0 auto;
}

/* ================== Header ================== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
    border-bottom: none;
}

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

.logo a {
    color: var(--white);
    font-weight: 800;
    font-size: 28px;
    letter-spacing: 1px;
}

.site-logo-text {
    display: inline-block;
}

.logo-link {
    display: inline-flex;
    align-items: center;
}

.site-logo-mark {
    display: inline-flex;
    align-items: center;
}

.site-logo-img {
    max-height: 52px;
    width: auto;
    display: block;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-navigation a {
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
}

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

.btn-quote {
    background: var(--primary-green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.btn-quote:hover {
    background: var(--primary-green-dark);
    color: var(--white);
}

/* ================== Hero Section ================== */
.hero-section {
    position: relative;
    padding-top: 180px;
    padding-bottom: 150px;
    background: linear-gradient(rgba(4, 15, 30, 0.8), rgba(4, 15, 30, 0.6)), url('https://images.unsplash.com/photo-1541888087405-eb107141eb20?w=1600&h=900&fit=crop') center/cover no-repeat;
    color: var(--white);
    min-height: 85vh;
    display: flex;
    flex-direction: column;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--primary-green);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-avatars {
    display: flex;
    align-items: center;
    gap: 20px;
}

.avatars-group {
    display: flex;
}

.avatars-group img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
    margin-left: -15px;
}

.avatars-group img:first-child {
    margin-left: 0;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.rating .star {
    color: #fbbf24;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92%);
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.8), rgba(20, 30, 20, 0.9));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 20;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 35px 0;
}

.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-item h3 {
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
}

.stat-item p {
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================== Services ================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
    color: var(--white);
    cursor: pointer;
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.2) 100%);
}

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

.service-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 4px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.service-icon-img {
    display: block;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 24px;
    z-index: 2;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.service-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
}

.read-more {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more .arrow {
    color: var(--primary-green);
}

.service-card:hover .read-more {
    color: var(--primary-green);
}

/* ================== About ================== */
.about-section {
    padding: 20px 0 60px;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    /* padding creates space for decorations to overflow */
    padding: 0 50px 50px 0;
}

.about-main-img {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    width: 100%;
    height: auto;
    display: block;
    /* Soft drop shadow matching the reference */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

/* Green hollow rectangle - peeks out from bottom-right of the image */
.green-border {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border: 6px solid var(--primary-green);
    border-radius: 12px;
    z-index: 1;
}

/* Small white box at bottom-left, overlapping the image */
.white-box {
    position: absolute;
    bottom: -6px;
    left: 17px;
    width: 110px;
    height: 110px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    z-index: 4;
    border: 4px solid white;
}

.section-subtitle {
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.about-content-col h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Accordion */
.accordion {
    border-top: 1px solid #f3f4f6;
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid #f3f4f6;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 20px 0;
}

.accordion-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.accordion-header .icon {
    width: 8px;
    height: 8px;
    border-right: 2px solid #9ca3af;
    border-bottom: 2px solid #9ca3af;
    transform: rotate(-45deg);
    transform-origin: center;
    transition: border-color 0.3s ease;
    margin-right: 5px;
    flex-shrink: 0;
}

.accordion-item.active .accordion-header h3 {
    color: var(--text-dark);
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
    border-color: var(--primary-green);
}

.accordion-content {
    display: none;
    overflow: hidden;
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ================== Clients ================== */
.clients-section {
    padding: 30px 0;
    background: var(--white);
    text-align: center;
}

.clients-subtitle {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.clients-marquee {
    overflow: hidden;
    width: 100%;
    display: flex;
    position: relative;
    padding: 10px 0;
}

.clients-track {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    will-change: transform;
}

.client-logo {
    color: #9ca3af;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================== Projects Carousel ================== */
.projects-section {
    padding: 40px 0 100px;
}

.projects-carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
    position: relative;
}

.projects-carousel-track {
    display: flex;
    will-change: transform;
    /* JS sets transform for sliding */
}

.project-slide {
    min-width: 50%;
    box-sizing: border-box;
    padding: 0 12px;
}

/* Horizontal Split Card */
.project-card {
    display: flex;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    min-height: 220px;
}

.project-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
    transform: translateY(-3px);
}

/* Left image panel — square/portrait, ~40% width */
.project-card-image {
    width: 42%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Right body panel */
.project-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 26px;
    gap: 12px;
}

.project-card-body h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.project-card-body>p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Date / Scope rows */
.project-meta-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: auto;
}

.project-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.meta-label {
    color: #9ca3af;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.meta-value {
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

/* Override btn-sm inside card */
.project-card-body .btn-primary {
    align-self: flex-start;
    padding: 9px 22px;
    font-size: 13px;
    border-radius: 6px;
    margin-top: 4px;
}

/* Carousel Dot indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
    padding: 0;
}

.dot.active {
    background: var(--primary-green);
    width: 28px;
    border-radius: 5px;
}

/* legacy .projects-slider no longer used — kept for safety */
.projects-slider {
    display: none;
}

/* ================== Testimonials ================== */
/* ================== Testimonials Spotlight Carousel ================== */
.testimonials-section {
    background: var(--white);
    overflow: hidden;
}

/* Header row */
.testi-header {
    position: relative;
    margin-bottom: 50px;
}

.testi-header-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testi-header-text h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.testi-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
    text-transform: none;
    letter-spacing: normal;
}

.testi-nav {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.testi-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.25s ease;
}

.testi-arrow:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* Testimonials Carousel Track and Slides */
.testi-carousel-viewport {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 0 28px;
}

.testi-carousel-track {
    display: flex;
    will-change: transform;
}

.testi-slide {
    min-width: 33.3333%;
    box-sizing: border-box;
    padding: 0 12px;
}

/* Individual card */
.testi-card {
    background: #eff6ff;
    border: none;
    border-top: 3px solid transparent;
    border-radius: 12px;
    padding: 36px 36px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Middle testimonial card gets a green top border */
.testi-slide:nth-child(3n+2) .testi-card {
    border-top: 3px solid var(--primary-green);
}

.testi-card:hover {
    border-top: 3px solid var(--primary-green);
    box-shadow: 0 12px 32px rgba(22, 163, 74, 0.08);
    transform: translateY(-3px);
}

.testi-quote-icon {
    display: none;
}

/* Stars */
.testi-stars {
    display: flex;
    gap: 3px;
}

.testi-stars span {
    color: transparent;
    -webkit-text-stroke: 1.5px #f59e0b;
    font-size: 18px;
    line-height: 1;
}

/* Review text */
.testi-text {
    font-size: 15px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    flex: 1;
    margin: 0;
}

/* Author row */
.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.testi-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--primary-green);
    flex-shrink: 0;
}

.testi-avatar-placeholder {
    background: var(--text-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
}

.testi-author-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--text-dark);
}

.testi-author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Pill dot nav */
.testi-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.testi-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border-color);
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, width 0.25s ease;
}

.testi-dot.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 5px;
}

/* Legacy classes — hidden, kept for safety */
.testimonials-grid {
    display: none;
}

.testimonial-card {
    display: none;
}

.stars {
    display: none;
}

.author {
    display: none;
}

.author-placeholder {
    display: none;
}

.author-info {
    display: none;
}

/* ================== Contact ================== */
.contact-section {
    background: #f4f7fa;
    /* Light, slate-tinted background */
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.contact-info-col h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 8px;
    margin-bottom: 20px;
    line-height: 1.25;
}

.contact-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover .icon {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 6px 0;
    letter-spacing: 0.2px;
}

.contact-text p {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.contact-text .company-name {
    font-weight: 700;
    color: #374151;
    /* Darker gray for company name */
}

.contact-text .address-lines,
.contact-text .phone-val,
.contact-text .email-val {
    font-weight: 500;
}

/* Card form styling */
.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #4b5563;
    /* Slate grey label text */
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid transparent;
    background: #f1f5f9;
    /* Soft grayish-blue field bg */
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.form-group input:hover,
.form-group textarea:hover {
    background: #e2e8f0;
}

.form-group input:focus,
.form-group textarea:focus {
    background: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit button with micro-interactions */
.submit-btn {
    width: 100%;
    background: var(--primary-green);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    padding: 16px 24px;
    border: none;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.submit-btn:hover {
    background: #15803d;
    box-shadow: 0 6px 22px rgba(22, 163, 74, 0.4);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(1px);
}

.submit-arrow {
    transition: transform 0.25s ease;
}

.submit-btn:hover .submit-arrow {
    transform: translateX(4px);
}

.absons-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.contact-form-notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.contact-form-notice--success {
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.contact-form-notice--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* Contact Form 7 — theme overrides */
.contact-form-cf7 .wpcf7 {
    margin: 0;
}

/* Hide the hr divider CF7 renders at the top of the form */
.contact-form-cf7 .wpcf7-form hr,
.contact-form-cf7 .wpcf7 hr {
    display: none;
}

/* Reset the fieldset CF7 wraps around form fields —
   browsers apply a 2px groove border to fieldsets by default */
.contact-form-cf7 fieldset,
.contact-form-cf7 .wpcf7-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}


.contact-form-cf7 .wpcf7-form {
    margin: 0;
}

.contact-form-cf7 .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-cf7 input.wpcf7-form-control:not([type="submit"]),
.contact-form-cf7 textarea.wpcf7-form-control,
.contact-form-cf7 select.wpcf7-form-control {
    width: 100%;
    padding: 16px 20px;
    border: 1.5px solid transparent;
    background: #f1f5f9;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.contact-form-cf7 input.wpcf7-form-control:not([type="submit"])::placeholder,
.contact-form-cf7 textarea.wpcf7-form-control::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.contact-form-cf7 input.wpcf7-form-control:not([type="submit"]):hover,
.contact-form-cf7 textarea.wpcf7-form-control:hover {
    background: #e2e8f0;
}

.contact-form-cf7 input.wpcf7-form-control:not([type="submit"]):focus,
.contact-form-cf7 textarea.wpcf7-form-control:focus {
    background: var(--white);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
}

.contact-form-cf7 textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-cf7 .wpcf7-spinner {
    margin: 12px auto 0;
}

.contact-form-cf7 .wpcf7-response-output {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    border: none;
    /* no border in base — added per state below */
}

/* Hide completely when no message to show (initial / aria-hidden state) */
.contact-form-cf7 .wpcf7-response-output[aria-hidden="true"],
.contact-form-cf7 .wpcf7 form.init .wpcf7-response-output {
    display: none !important;
}

.contact-form-cf7 .wpcf7 form.sent .wpcf7-response-output {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #065f46;
}

.contact-form-cf7 .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-cf7 .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form-cf7 .wpcf7 form.failed .wpcf7-response-output,
.contact-form-cf7 .wpcf7 form.aborted .wpcf7-response-output,
.contact-form-cf7 .wpcf7 form.spam .wpcf7-response-output {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}

.contact-form-cf7 .wpcf7-not-valid-tip {
    color: #b91c1c;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 600;
}

.contact-form-cf7 .wpcf7-list-item {
    margin: 0;
}

.contact-form-cf7 input.wpcf7-submit.submit-btn {
    width: 100%;
    margin-top: 4px;
}

.contact-form-cf7--missing {
    padding: 32px;
}

/* ================== Footer ================== */
.site-footer {
    background-color: #111827;
    background-color: var(--dark-bg, #111827);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-brand-mark {
    margin-bottom: 20px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
}

.footer-logo-img {
    max-height: 56px;
    width: auto;
    display: block;
}

.footer-col-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.social-icon:hover {
    background: var(--primary-green);
}

.social-icon-img,
.social-icon img {
    width: 20px;
    height: 20px;
    max-width: 20px;
    max-height: 20px;
    object-fit: contain;
    display: block;
}

.footer-top h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

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

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

.footer-col-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-col-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

/* Icon + link rows for email and phone */
.footer-contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-green);
    opacity: 0.9;
}

/* Make email and phone links white, not browser-default blue */
.footer-col-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-col-contact a:hover {
    color: var(--primary-green);
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ================== Projects header (stays the same) ================== */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.projects-header h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.projects-header p {
    color: var(--text-muted);
    max-width: 600px;
}

.projects-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s;
}

.arrow-btn:hover {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

/* ================== Responsive ================== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }

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

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-item {
        border-right: none;
    }

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



    /* Testimonials Carousel: single column slide on mobile */
    .testi-slide {
        min-width: 100%;
        padding: 0;
    }

    .testi-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .testi-nav {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 10px;
    }

    /* Carousel: single column slide on mobile */
    .project-slide {
        min-width: 100%;
        padding: 0;
    }

    .project-card {
        flex-direction: column;
        min-height: auto;
    }

    .project-card-image {
        width: 100%;
        height: 200px;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        position: relative;
    }

    .hero-section {
        padding-bottom: 50px;
    }
}

/* ================== Hero Floating Magnetic Target ================== */
.hero-floating-target {
    position: absolute;
    width: 120px;
    height: 120px;
    right: 18%;
    top: 40%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
}

.floating-target-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    animation: floatingSpin 8s linear infinite;
}

.floating-target-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    fill: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
}

.floating-target-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--primary-green);
    border-radius: 50%;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.45);
}

.hero-floating-target:hover .floating-target-center {
    background: #fff;
    color: var(--primary-green);
    transform: scale(1.1);
}

@keyframes floatingSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ================== Mobile Hamburger Toggle ================== */
.mobile-nav-toggle {
    display: none;
    position: relative;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, background-color 0.3s ease;
}

.line-1 {
    top: 0;
}

.line-2 {
    top: 50%;
    transform: translateY(-50%);
}

.line-3 {
    bottom: 0;
}

/* ================== Mobile Menu Overlay ================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.mobile-navigation {
    width: 100%;
    max-width: 450px;
    padding: 0 32px;
    text-align: center;
}

.mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu li {
    opacity: 0;
    transform: translateY(24px);
}

.mobile-menu a {
    color: var(--white);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: color 0.25s ease;
}

.mobile-menu a:hover {
    color: var(--primary-green);
}

.mobile-menu-cta {
    opacity: 0;
    transform: translateY(24px);
}

.mobile-menu-cta .btn {
    font-size: 16px;
    padding: 14px 32px;
}

/* ================== Responsive Adjustments ================== */
@media (max-width: 1024px) {
    .hero-stats {
        width: 92%;
    }
}

@media (max-width: 768px) {
    .header-actions-desktop {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    /* Prevent mobile menu overlays from causing issues when toggled */
    body.mobile-menu-open {
        overflow: hidden;
    }

    body.mobile-menu-open .site-header {
        position: fixed;
        z-index: 1100;
        border-bottom: none;
    }

    /* Hero responsiveness adjustments */
    .hero-section {
        padding-top: 140px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
    }

    .hero-actions .btn {
        width: 100%;
        display: block;
    }

    .hero-floating-target {
        display: none !important;
        /* Hide target on touch devices to prevent overlap and interaction bugs */
    }

    /* Shift stats relative below content with spacing */
    .hero-stats {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-top: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px 0;
        gap: 20px 0;
    }

    .stat-item h3 {
        font-size: 28px;
    }

    .stat-item p {
        font-size: 11px;
    }

    /* Section padding & layout spacing */
    .section-padding {
        padding: 60px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    /* About Section Mobile Spacing */
    .about-section {
        padding: 60px 0;
    }

    .about-grid {
        gap: 40px;
    }

    .about-image-wrapper {
        padding: 0 24px 24px 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .green-border {
        border-width: 4px;
    }

    .white-box {
        width: 80px;
        height: 80px;
        bottom: -4px;
        left: 10px;
    }

    .about-content-col h2 {
        font-size: 28px;
    }

    /* Projects carousel dots active indicator shape change */
    .carousel-dots {
        margin-top: 20px;
    }

    /* Clients spacing */
    .clients-track {
        gap: 40px;
    }

    /* Testimonials header elements alignment */
    .testi-header {
        margin-bottom: 32px;
    }

    .testi-header-text h2 {
        font-size: 28px;
    }

    /* Contact spacing */
    .contact-wrapper {
        gap: 40px;
    }

    .contact-info-col h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 28px 20px;
    }
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */
.about-hero {
    min-height: 60vh;
    padding-top: 160px;
    padding-bottom: 120px;
}

.about-hero h1 span {
    color: var(--primary-green);
}

/* Excellence Section */
.about-excellence-section {
    background: var(--white);
}

.excellence-bullets-list {
    list-style: none;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.excellence-bullets-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.excellence-bullets-list .bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(22, 163, 74, 0.1);
    color: var(--primary-green);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.excellence-bullets-list .bullet-text {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.green-overlay-box {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: var(--primary-green);
    color: var(--white);
    padding: 24px;
    border-radius: 12px;
    max-width: 280px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(22, 163, 74, 0.3);
}

.green-overlay-box p {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    margin: 0;
}

/* Timeline Layout */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(22, 163, 74, 0.2);
    transform: translateX(-50%);
}

.timeline-items {
    position: relative;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    position: relative;
    margin-bottom: 40px;
    padding-right: 45px;
}

.timeline-item.right-align {
    align-self: flex-end;
    margin-left: 50%;
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 45px;
}

.timeline-dot {
    position: absolute;
    right: -7px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-green);
    z-index: 10;
    transition: all 0.3s ease;
}

.timeline-item.right-align .timeline-dot {
    right: auto;
    left: -7px;
}

.timeline-content {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    width: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: rgba(22, 163, 74, 0.1);
}

.timeline-content:hover ~ .timeline-dot {
    background: var(--primary-green);
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Ecosystem Section */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.ecosystem-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 30px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ecosystem-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--primary-green);
}

.ecosystem-header {
    margin-bottom: 16px;
}

.ecosystem-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-green);
    background: rgba(22, 163, 74, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.ecosystem-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.ecosystem-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.ecosystem-banner {
    margin-top: 40px;
    background: var(--dark-bg);
    color: var(--white);
    padding: 24px 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 5px solid var(--primary-green);
}

.ecosystem-banner p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

/* Executive Leadership Section */
.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.leadership-image-wrapper {
    position: relative;
}

.exec-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    display: block;
}

.exec-label-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 8px;
}

.exec-label-badge h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2px;
}

.exec-label-badge span {
    font-size: 12px;
    color: var(--primary-green);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote-container {
    position: relative;
    margin-top: 20px;
    padding-left: 40px;
}

.quote-mark {
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(22, 163, 74, 0.3);
}

.exec-blockquote {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border: none;
    margin-bottom: 30px;
    font-style: italic;
}

.leadership-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-check {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 16px;
}

.highlight-text {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

/* About Clients spacing */
.about-clients {
    border-bottom: 1px solid var(--border-color);
}

/* Responsive Styles for About page */
@media (max-width: 992px) {
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .leadership-image-col {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-right: 0;
        padding-left: 45px;
        margin-bottom: 30px;
    }

    .timeline-item.right-align {
        margin-left: 0;
        padding-left: 45px;
    }

    .timeline-dot {
        left: 13px;
        right: auto;
    }

    .timeline-item.right-align .timeline-dot {
        left: 13px;
    }

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

    .exec-blockquote {
        font-size: 18px;
    }

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

/* ================== Services Landing Page Styles ================== */

/* Global Page Context */
.services-page-main {
    background-color: #f8f9ff;
    color: #0b1c30;
}

/* Common Section Typography Helpers */
.services-page-main h2 {
    font-family: var(--font-heading);
    font-weight: 800;
}
.services-page-main h3, 
.services-page-main h4, 
.services-page-main h5 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Global Heading Decoration Line */
.services-page-main .heading-accent-line {
    width: 96px;
    height: 6px;
    background-color: var(--primary-green);
    margin: 8px auto 0;
}

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    overflow: hidden;
}
.services-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 25, 38, 0.85);
    z-index: 1;
}
.services-hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    z-index: 2;
}
.services-hero-container {
    position: relative;
    z-index: 3;
    width: min(1200px, 92%);
    margin: auto;
}
.services-hero-content {
    max-width: 800px;
    text-align: left;
}
.services-hero-tagline {
    display: inline-block;
    color: var(--primary-green);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}
.services-hero-title {
    font-family: var(--font-heading);
    font-size: 54px;
    line-height: 1.1;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}
.services-hero-title span.text-primary {
    color: var(--primary-green) !important;
}
.services-hero-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    max-width: 650px;
}
.services-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Why Tier-1 Partners Choose ABSONS */
.why-choose-section {
    padding: 100px 0;
    background-color: #eff4ff;
}
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}
.why-choose-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}
.why-choose-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}
.card-icon-wrapper {
    background: rgba(22, 163, 74, 0.1);
    padding: 12px;
    border-radius: 8px;
    color: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}
.card-icon-wrapper span {
    font-size: 24px;
}
.card-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #121926;
    margin-bottom: 8px;
}
.card-content p {
    font-size: 14px;
    line-height: 1.5;
    color: #3f4940;
}

/* Engineering Capability At Scale */
.capabilities-section {
    padding: 100px 0;
    background: #f8f9ff;
}
.capabilities-header {
    margin-bottom: 50px;
}
.capabilities-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #121926;
    margin-bottom: 12px;
}
.capabilities-header .heading-accent-line {
    margin: 8px 0 20px;
}
.capabilities-subtitle {
    font-size: 18px;
    color: #3f4940;
    max-width: 700px;
}
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}
.capability-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #121926;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.capability-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.capability-card:hover .capability-bg-image {
    transform: scale(1.1);
}
.capability-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #121926 0%, rgba(18, 25, 38, 0.4) 50%, transparent 100%);
    z-index: 1;
}
.capability-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.capability-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 4px;
    display: block;
}
.capability-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.capability-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-green);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.capability-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}
.capability-card:hover .capability-bullets {
    opacity: 1;
    max-height: 120px;
}
.bullet-item {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}
.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: block;
}

/* Trusted By Government & Industry */
.partners-section {
    padding: 100px 0;
    background-color: #121926;
    text-align: center;
}
.partners-section h2 {
    color: #fff;
}
.section-subtitle-label {
    display: inline-block;
    color: var(--primary-green);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 50px;
}
.partner-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}
.partner-badge:hover {
    background: rgba(255, 255, 255, 0.08);
}
.partner-badge.accent-green {
    background: var(--primary-green);
    border-color: var(--primary-green);
}
.partner-badge.accent-green:hover {
    filter: brightness(1.1);
}
.partner-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: block;
}
.partner-desc {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}
.partner-badge.accent-green .partner-desc {
    color: rgba(255, 255, 255, 0.85);
}

/* Proven Through Project Delivery */
.portfolio-section {
    padding: 100px 0;
    background: #f8f9ff;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 24px;
    margin-top: 50px;
    align-items: stretch;
}

.featured-project-card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}
.featured-project-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.project-image-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.featured-project-card:hover .project-image {
    transform: scale(1.05);
}
.project-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 25, 38, 0.9) 0%, rgba(18, 25, 38, 0.2) 60%, transparent 100%);
}
.project-value-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--primary-green);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.project-value-badge .badge-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 4px;
}
.project-value-badge .badge-amount {
    font-size: 28px;
    font-weight: 800;
    font-family: var(--font-heading);
}
.project-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    color: #fff;
    z-index: 2;
}
.project-badge {
    background: rgba(22, 163, 74, 0.2);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    backdrop-filter: blur(4px);
}
.project-title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}
.project-location {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}
.secondary-projects-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}
/* Secondary cards are full-image overlay cards — no blank content gap */
.secondary-project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
    cursor: pointer;
    flex: 1 1 0;
    min-height: 160px;
}
.secondary-project-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}
.secondary-project-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 150px;
}
.secondary-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}
.secondary-project-card:hover .secondary-project-image img {
    transform: scale(1.06);
}
/* Dark gradient overlay replaces white content area — fills the blank space */
.secondary-project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.35) 55%, transparent 100%);
    pointer-events: none;
}
.secondary-project-valuation {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(22, 163, 74, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(22, 163, 74, 0.35);
    color: #4ade80;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
}
.secondary-project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    z-index: 2;
}
.secondary-project-content h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--font-heading);
}
.secondary-project-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ABSONS Delivery Framework Timeline */
.framework-section {
    padding: 100px 0;
    background-color: #eff4ff;
}
.framework-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
    width: 100%;
}
.framework-header-text {
    text-align: left;
}
.framework-header-text .section-heading-desc {
    margin: 12px 0 0;
    font-size: 18px;
    color: #3f4940;
    max-width: 600px;
}
.framework-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.framework-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.25s ease;
}
.framework-arrow:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}
.framework-scroll-container {
    overflow-x: auto;
    width: 100%;
    padding: 30px 10px;
    margin-top: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.framework-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
.framework-grid {
    display: flex;
    gap: 24px;
    position: relative;
    width: max-content;
    padding-right: 40px;
}
.framework-step {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
    width: 280px;
    flex-shrink: 0;
}
.framework-step:hover {
    border-color: var(--primary-green);
}
.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.step-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-green);
    opacity: 0.3;
    font-family: var(--font-heading);
}
.step-icon {
    color: var(--primary-green);
    background: rgba(22, 163, 74, 0.1);
    padding: 8px;
    border-radius: 6px;
    font-size: 24px;
    display: inline-block;
}
.step-title {
    font-size: 16px;
    font-weight: 700;
    color: #121926;
    margin-bottom: 8px;
}
.step-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #3f4940;
    margin: 0;
}

/* Timeline Connectors */
.timeline-connector::after {
    content: '';
    position: absolute;
    top: 2.5rem;
    right: -1.5rem;
    width: 3rem;
    height: 2px;
    background: repeating-linear-gradient(to right, #16A34A, #16A34A 5px, transparent 5px, transparent 10px);
    z-index: 0;
    opacity: 0.3;
}

/* Certifications & Compliance */
.certs-section {
    padding: 100px 0;
    background: #f8f9ff;
}
.certs-header {
    margin-bottom: 50px;
}
.certs-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #121926;
    margin-bottom: 8px;
}
.certs-header p {
    font-size: 18px;
    color: #3f4940;
}
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.cert-card {
    padding: 40px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}
.cert-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}
.cert-icon-circle {
    width: 64px;
    height: 64px;
    background-color: #eff4ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: background-color 0.3s ease;
}
.cert-card:hover .cert-icon-circle {
    background-color: rgba(22, 163, 74, 0.1);
}
.cert-icon-circle span {
    color: var(--primary-green);
    font-size: 30px;
}
.cert-title {
    font-size: 18px;
    font-weight: 700;
    color: #121926;
    margin-bottom: 8px;
}
.cert-subtitle {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #3f4940;
    letter-spacing: 0.1em;
    margin: 0;
}

/* What Clients Gain / Outcomes */
.value-section {
    padding: 100px 0;
    background: #f8f9ff;
}
.value-banner {
    background-color: #eff4ff;
    border-radius: 24px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    border: 1px solid #e5e7eb;
}
.value-diagonal-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.333%;
    height: 100%;
    background: rgba(22, 163, 74, 0.03);
    transform: skewX(-12deg) translateX(50%);
}
.value-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 40px;
}
.value-sidebar h3 {
    font-size: 28px;
    font-weight: 800;
    color: #121926;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: var(--font-heading);
}
.value-sidebar p {
    font-size: 16px;
    color: #3f4940;
    line-height: 1.5;
}
.value-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.value-outcome-card {
    border-left: 2px solid rgba(22, 163, 74, 0.2);
    padding-left: 24px;
}
.value-outcome-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #121926;
    margin-bottom: 8px;
}
.value-outcome-card p {
    font-size: 15px;
    color: #3f4940;
    line-height: 1.5;
    margin: 0;
}

/* Final CTA — clearly separated from footer with border-top accent */
.services-cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
    text-align: center;
    color: #fff;
    border-top: 3px solid var(--primary-green);
    border-bottom: 3px solid rgba(22, 163, 74, 0.25);
    margin-bottom: 0;
}
.services-cta-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    z-index: 1;
}
.services-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.services-cta-container h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}
.services-cta-container p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}
.services-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll reveal states — use ease-out per UX guidelines */
.services-page-main section {
    transition: opacity 700ms cubic-bezier(0, 0, 0.2, 1),
                transform 700ms cubic-bezier(0, 0, 0.2, 1);
}
/* Initial hidden state added by JS (respects prefers-reduced-motion via CSS) */
.services-page-main section.reveal-hidden {
    opacity: 0;
    transform: translateY(36px);
    will-change: opacity, transform;
}
.opacity-0 {
    opacity: 0;
}
.translate-y-10 {
    transform: translateY(40px);
}
.opacity-100 {
    opacity: 1 !important;
}
.translate-y-0 {
    transform: translateY(0) !important;
}

/* Why-choose card icon — ensure image icons display cleanly */
.card-icon-wrapper .custom-card-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

/* Cert icon — image upload support */
.cert-icon-circle .custom-cert-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* Step icon — support image uploads for timeline steps */
.step-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(22, 163, 74, 0.1);
    padding: 6px;
}

/* Responsive Media Queries */
@media (max-width: 1023px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .timeline-connector::after {
        display: none;
    }

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

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

@media (max-width: 767px) {
    .framework-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .services-hero-title {
        font-size: 38px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .value-content-grid {
        grid-template-columns: 1fr;
    }
    .value-banner {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

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

/* ==========================================================================
   Projects Landing Page Styles
   ========================================================================== */

/* Hero Section */
.projects-hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.projects-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0) 100%);
    z-index: 1;
}

.projects-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
    padding: 0 24px;
}

.projects-hero-content {
    max-width: 672px; /* Tailwind's max-w-2xl */
    color: var(--text-light, #ffffff);
}

.projects-hero-tagline {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-green);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.projects-hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #ffffff;
}

.projects-hero-desc {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 32px;
}

.projects-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.projects-hero-actions .btn {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 16px 28px !important;
    border-radius: 2px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base) !important;
}

.projects-hero-actions .btn-primary {
    background-color: var(--primary-green) !important;
    border: none !important;
    color: #ffffff !important;
}

.projects-hero-actions .btn-primary:hover {
    background-color: var(--primary-green-dark) !important;
}

.projects-hero-actions .btn-outline-white {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.projects-hero-actions .btn-outline-white:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* KPI Section */
.projects-kpi-section {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 0 24px;
}

.projects-kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-width: var(--container-max, 1280px);
    margin: 0 auto;
}

.projects-kpi-card {
    background: #ffffff;
    padding: 24px;
    border-bottom: 4px solid var(--primary-green);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-numeric-value {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.kpi-numeric-label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.kpi-card-icon-mode {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-icon-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.kpi-icon-header .material-symbols-outlined {
    color: var(--primary-green);
    font-size: 18px;
}

.kpi-icon-label-bold {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--dark-bg);
}

.kpi-icon-value {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Sectors Overview */
.projects-sectors-section {
    padding: 80px 0;
    background: #ffffff;
}

.sectors-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.sectors-header-left {
    max-width: 580px;
}

.sectors-section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 16px;
}

.sectors-section-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.sectors-view-all-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition-base);
}

.sectors-view-all-link span {
    margin-left: 8px;
    transition: transform var(--transition-base);
}

.sectors-view-all-link:hover span {
    transform: translateX(4px);
}

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

.sector-card {
    padding: 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.sector-icon {
    color: var(--primary-green);
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.sector-card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 8px;
}

.sector-card-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
}

.sector-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-md);
}

/* Featured Developments Grid */
.featured-developments-section {
    padding-bottom: 80px;
    background: var(--bg-light);
}

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

.featured-large-card {
    grid-column: span 8;
    position: relative;
    overflow: hidden;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.featured-large-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.featured-large-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-large-card:hover .featured-large-image-wrapper img {
    transform: scale(1.05);
}

.featured-large-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 70%, rgba(15, 23, 42, 0) 100%);
    z-index: 2;
}

.featured-large-content {
    position: relative;
    z-index: 3;
    padding: 40px;
    color: #ffffff;
}

.featured-large-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.featured-large-value {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-green);
    text-transform: uppercase;
}

.featured-large-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
}

.featured-large-desc {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 512px;
    margin-bottom: 24px;
}

.featured-large-link {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 4px;
    transition: var(--transition-base);
}

.featured-large-link span {
    margin-left: 8px;
    transition: transform var(--transition-base);
}

.featured-large-link:hover span {
    transform: translateX(4px);
}

.featured-secondary-stack {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 600px;
}

.featured-secondary-card {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
}

.featured-secondary-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.featured-secondary-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-secondary-card:hover .featured-secondary-image-wrapper img {
    transform: scale(1.05);
}

.featured-secondary-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2;
    transition: background var(--transition-base);
}

.featured-secondary-card:hover .featured-secondary-overlay {
    background: rgba(0, 0, 0, 0.25);
}

.featured-secondary-content {
    position: relative;
    z-index: 3;
    padding: 24px;
    color: #ffffff;
}

.featured-secondary-badge-wrapper {
    margin-bottom: 8px;
}

.secondary-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.featured-secondary-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.featured-secondary-subtitle {
    font-family: var(--font-heading);
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.8;
    color: #ffffff;
}

/* Case Studies Section */
.projects-case-studies-section {
    padding: 80px 0;
    background: var(--dark-bg);
    color: #ffffff;
}

.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.case-studies-tagline {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.case-studies-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    margin: 0;
}

.case-studies-desc {
    max-width: 440px;
    font-family: var(--font-body);
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.6;
}

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

.case-study-card {
    display: block;
    padding: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: var(--transition-base);
}

.case-study-sector {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.case-study-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
    transition: color var(--transition-base);
}

.case-study-action {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-base);
}

.case-study-action span {
    font-size: 14px;
    margin-left: 6px;
}

.case-study-card:hover {
    border-left-color: var(--primary-green);
}

.case-study-card:hover .case-study-title {
    color: var(--primary-green);
}

.case-study-card:hover .case-study-action {
    color: #ffffff;
}

/* National Impact / Map Section */
.national-impact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.national-impact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.national-impact-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 16px;
}

.national-impact-desc {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.map-locations-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.map-location-item {
    display: flex;
    align-items: start;
    gap: 16px;
}

.location-icon-wrapper {
    background: rgba(22, 163, 74, 0.1);
    color: var(--primary-green);
    padding: 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon-wrapper span {
    font-size: 24px;
}

.location-item-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark-bg);
    margin-bottom: 4px;
}

.location-item-desc {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.national-impact-map-container {
    position: relative;
}

.map-illustration-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
}

.map-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(1) brightness(1.2);
}

.map-tint-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 163, 74, 0.05);
}

/* Map Pins */
.map-marker-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 5;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border: 2px solid #ffffff;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.marker-ping {
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    background: var(--primary-green);
    border-radius: 50%;
    animation: markerPulse 1.5s infinite ease-out;
    opacity: 0.75;
    z-index: 1;
}

@keyframes markerPulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.marker-tooltip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 6px 12px;
    box-shadow: var(--shadow-md);
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 10;
}

.map-marker-pin:hover .marker-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Project Archive Section */
.project-archive-section {
    padding: 80px 0;
    background: #ffffff;
}

.archive-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.archive-section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--dark-bg);
}

.archive-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn.active {
    background: var(--dark-bg);
    color: #ffffff;
}

.filter-btn:hover:not(.active) {
    color: var(--primary-green);
}

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

.archive-project-card {
    border: 1px solid var(--border-color);
    background: #ffffff;
    transition: var(--transition-base);
    cursor: pointer;
}

.archive-project-card:hover {
    box-shadow: var(--shadow-xl);
}

.card-image-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.archive-project-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.card-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.badge-status {
    padding: 4px 8px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    color: #ffffff;
}

.status-active {
    background: var(--primary-green);
}

.status-completed {
    background: var(--primary-green-dark);
}

.card-body-content {
    padding: 24px;
}

.card-heading {
    margin-bottom: 16px;
}

.card-project-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 4px;
}

.card-project-location {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-project-location span {
    font-size: 16px;
}

.card-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-pill {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 2px 8px;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.card-details-row {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.details-col {
    display: flex;
    flex-direction: column;
}

.details-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.details-val {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--dark-bg);
}

.archive-load-more-row {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    border: 1px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: var(--transition-base);
}

.load-more-btn:hover {
    background: var(--primary-green);
    color: #ffffff;
}

/* Trusted Partners Section */
.trusted-partners-section {
    padding: 80px 0;
    background: var(--dark-bg);
    color: #ffffff;
}

.trusted-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 48px;
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.trusted-logo-card {
    aspect-ratio: 16/9;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    text-align: center;
    transition: var(--transition-base);
}

.trusted-logo-card:nth-child(even) {
    border-bottom: 2px solid var(--primary-green);
}

.trusted-brand-img {
    max-height: 40px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.trusted-logo-card:hover .trusted-brand-img {
    opacity: 1;
}

.trusted-text-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0.8;
    transition: opacity var(--transition-base);
}

.trusted-logo-card:hover .trusted-text-label {
    opacity: 1;
}

.trusted-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.trusted-icon-wrapper span {
    color: var(--primary-green);
}

.trusted-icon-label {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.trusted-subtext {
    font-size: 8px;
    opacity: 0.6;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trusted-logo-card:hover {
    background: rgba(255,255,255,0.1);
}

/* Projects CTA Section */
.projects-cta-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cta-overlay-layer {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 1;
}

.cta-content-container {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.cta-tagline {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-desc {
    font-family: var(--font-body);
    font-size: 18px;
    max-width: 640px;
    margin: 0 auto 32px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-actions .btn {
    font-family: var(--font-heading) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 16px 28px !important;
    border-radius: 2px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base) !important;
    text-decoration: none !important;
}

.cta-actions .btn-primary {
    background-color: var(--primary-green) !important;
    border: none !important;
    color: #ffffff !important;
}

.cta-actions .btn-primary:hover {
    background-color: var(--primary-green-dark) !important;
}

.cta-actions .btn-outline-white {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

.cta-actions .btn-outline-white:hover {
    border-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Custom Scroll Reveals */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0, 0, 0.2, 1), transform 1s cubic-bezier(0, 0, 0.2, 1);
}

.reveal-active {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   Projects Landing Page Responsive Adaptations
   ========================================================================== */
@media (max-width: 1023px) {
    .projects-kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .featured-large-card {
        grid-column: span 12;
        height: 500px;
    }

    .featured-secondary-stack {
        grid-column: span 12;
        flex-direction: row;
        height: auto;
    }

    .featured-secondary-card {
        min-height: 280px;
    }

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

    .national-impact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .trusted-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .projects-hero-title {
        font-size: 36px;
    }

    .projects-hero {
        height: auto;
        padding: 120px 0 100px;
    }

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

    .sectors-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .featured-secondary-stack {
        flex-direction: column;
    }

    .case-studies-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .archive-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .archive-projects-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .projects-kpi-grid {
        grid-template-columns: 1fr;
    }

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

    .trusted-grid {
        grid-template-columns: 1fr;
    }
}
/* ══════════════════════════════════════════════════════════════════════
   PROJECT DETAIL PAGE — template-project-detail.php
   BEM class prefix: pd-
   ══════════════════════════════════════════════════════════════════════ */

.project-detail-main {
    --pd-primary:          var(--primary-green, #16a34a);
    --pd-primary-dim:      var(--primary-green-dark, #15803d);
    --pd-primary-fixed:    #bbf7d0;
    --pd-bg:               var(--bg-light, #f8fafc);
    --pd-surface:          #f1f5f9;
    --pd-surface-mid:      #e2e8f0;
    --pd-surface-high:     #cbd5e1;
    --pd-dark:             var(--dark-bg, #0f172a);
    --pd-text:             var(--text-dark, #1e293b);
    --pd-text-muted:       var(--text-muted, #475569);
    --pd-border:           var(--border-color, #e2e8f0);
    --pd-white:            #ffffff;
    --pd-gutter:           24px;
    --pd-radius:           12px;
    --pd-radius-sm:        8px;
    --pd-transition:       var(--transition-base, 280ms cubic-bezier(0.4, 0, 0.2, 1));
    --pd-shadow-sm:        var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.08));
    --pd-shadow-md:        var(--shadow-md, 0 4px 16px rgba(0,0,0,0.08));
    --pd-shadow-lg:        var(--shadow-lg, 0 10px 40px rgba(0,0,0,0.12));
    font-family:           var(--font-body, 'Open Sans', sans-serif);
}

/* ── Section label (green bar + uppercase text) ──────────────────────── */
.pd-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.pd-section-label__bar {
    width: 48px;
    height: 3px;
    background: var(--pd-primary);
    flex-shrink: 0;
}
.pd-section-label span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--pd-primary);
}

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.pd-hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.pd-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pd-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.pd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(11,28,48,0.95) 0%,
        rgba(11,28,48,0.45) 50%,
        transparent 100%);
}
.pd-hero__content {
    position: relative;
    z-index: 10;
    padding-bottom: 64px;
}

/* Breadcrumb */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.pd-breadcrumb__link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(211,228,254,0.75);
    text-decoration: none;
    text-transform: uppercase;
    transition: color var(--pd-transition);
}
.pd-breadcrumb__link:hover { color: var(--pd-primary-fixed); }
.pd-breadcrumb__sep {
    font-size: 14px;
    color: rgba(211,228,254,0.5);
}
.pd-breadcrumb__current {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--pd-primary-fixed);
    text-transform: uppercase;
}

.pd-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    max-width: 800px;
    margin: 0 0 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.pd-hero__subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(211,228,254,0.85);
    max-width: 680px;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   BODY LAYOUT (main + sidebar)
   ══════════════════════════════════════════════════════════════════════ */
.pd-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 80px;
    align-items: start;
}
.pd-body__main {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* ══════════════════════════════════════════════════════════════════════
   PROJECT OVERVIEW
   ══════════════════════════════════════════════════════════════════════ */
.pd-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.pd-overview__image-wrap {
    position: relative;
}
.pd-overview__image-deco {
    position: absolute;
    inset: -16px;
    background: var(--primary-green-light, rgba(22, 163, 74, 0.08));
    border-radius: 16px;
    transform: rotate(-2deg);
    transition: transform 0.5s ease;
    z-index: 0;
}
.pd-overview__image-wrap:hover .pd-overview__image-deco {
    transform: rotate(0deg);
}
.pd-overview__image {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow-lg);
}
.pd-overview__title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--pd-text);
    margin: 0 0 16px;
}
.pd-overview__desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--pd-text-muted);
    margin: 0 0 32px;
}

/* Key Stats Row */
.pd-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 24px;
}
.pd-stat-box {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-sm);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pd-stat-box__value {
    font-size: 22px;
    font-weight: 700;
    color: var(--pd-primary);
    line-height: 1.1;
}
.pd-stat-box__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pd-text-muted);
}

/* ══════════════════════════════════════════════════════════════════════
   SCOPE OF WORK
   ══════════════════════════════════════════════════════════════════════ */
.pd-scope {
    border-top: 1px solid var(--pd-border);
    padding-top: 48px;
}
.pd-scope__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.pd-scope__card {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 28px 24px;
    transition: border-color var(--pd-transition), box-shadow var(--pd-transition);
}
.pd-scope__card:hover {
    border-color: var(--pd-primary);
    box-shadow: var(--pd-shadow-md);
}
.pd-scope__icon {
    font-size: 36px;
    color: var(--pd-primary);
    margin-bottom: 16px;
    display: block;
}
.pd-scope__card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 10px;
}
.pd-scope__card-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--pd-text-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   THE CHALLENGE
   ══════════════════════════════════════════════════════════════════════ */
.pd-challenge {
    position: relative;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: 20px;
    padding: 48px;
    overflow: hidden;
}
.pd-challenge__icon-bg {
    position: absolute;
    top: 0;
    right: 0;
    padding: 32px;
    opacity: 0.06;
    pointer-events: none;
}
.pd-challenge__icon-bg .material-symbols-outlined {
    font-size: 128px;
    color: var(--pd-text);
}
.pd-challenge__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.pd-challenge__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 24px;
}
.pd-challenge__quote {
    font-size: 16px;
    line-height: 1.75;
    color: var(--pd-text-muted);
    font-style: italic;
    border-left: 4px solid var(--pd-primary);
    padding-left: 20px;
    margin: 0 0 28px;
}
.pd-challenge__bullets {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.pd-challenge__bullet {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-challenge__bullet-icon {
    color: var(--pd-primary);
    font-size: 20px;
}
.pd-challenge__bullet span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-text);
}

/* ══════════════════════════════════════════════════════════════════════
   OUR APPROACH (dark band)
   ══════════════════════════════════════════════════════════════════════ */
.pd-approach {
    background: var(--pd-dark);
    border-radius: var(--pd-radius);
    padding: 48px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
}
.pd-approach__icon {
    font-size: 40px;
    color: var(--pd-primary-fixed);
    margin-bottom: 14px;
    display: block;
}
.pd-approach__pillar-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.pd-approach__pillar-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(211,228,254,0.75);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   PROJECT DELIVERY JOURNEY
   ══════════════════════════════════════════════════════════════════════ */
.pd-journey {
    padding-top: 8px;
}
.pd-journey__heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--pd-text);
    text-align: center;
    margin: 0 0 36px;
}
.pd-journey__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.pd-journey__step {
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 28px 24px;
    box-shadow: var(--pd-shadow-sm);
    transition: box-shadow var(--pd-transition);
}
.pd-journey__step:hover { box-shadow: var(--pd-shadow-md); }
.pd-journey__step--final {
    border-color: var(--pd-primary);
}
.pd-journey__step-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--pd-radius-sm);
    background: var(--primary-green-light, rgba(22, 163, 74, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.pd-journey__step-icon .material-symbols-outlined { color: var(--pd-primary); }
.pd-journey__step-icon--final {
    background: var(--pd-primary);
}
.pd-journey__step-icon--final .material-symbols-outlined { color: #fff; }
.pd-journey__step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 10px;
}
.pd-journey__step-title--final { color: var(--pd-primary); }
.pd-journey__step-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--pd-text-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   SAFETY & QUALITY
   ══════════════════════════════════════════════════════════════════════ */
.pd-safety {
    border-top: 1px solid var(--pd-border);
    padding-top: 48px;
}
.pd-safety__header {
    text-align: center;
    margin-bottom: 36px;
}
.pd-safety__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 8px;
}
.pd-safety__desc {
    font-size: 15px;
    color: var(--pd-text-muted);
    margin: 0;
}
.pd-safety__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 4px;
}
.pd-safety__item {
    text-align: center;
    padding: 28px 20px;
}
.pd-safety__item-icon {
    font-size: 48px;
    color: var(--pd-primary);
    margin-bottom: 14px;
    display: block;
}
.pd-safety__item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.pd-safety__item-desc {
    font-size: 12px;
    line-height: 1.6;
    color: var(--pd-text-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   STICKY SIDEBAR
   ══════════════════════════════════════════════════════════════════════ */
.pd-sidebar {
    width: 100%;
}
.pd-sidebar__card {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    padding: 20px;
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--pd-shadow-sm);
}
.pd-sidebar__card-header {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pd-border);
    margin-bottom: 8px;
}
.pd-sidebar__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pd-primary);
    margin: 0 0 4px;
}
.pd-sidebar__card-sub {
    font-size: 12px;
    color: var(--pd-text-muted);
    margin: 0;
}
.pd-sidebar__meta-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pd-sidebar__meta-item {
    background: var(--pd-white);
    border: 1px solid transparent;
    border-radius: var(--pd-radius-sm);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: border-color var(--pd-transition);
}
.pd-sidebar__meta-item:hover { border-color: rgba(22, 163, 74, 0.2); }
.pd-sidebar__meta-icon {
    font-size: 20px;
    color: var(--pd-primary);
    flex-shrink: 0;
}
.pd-sidebar__meta-key {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pd-text-muted);
    margin-bottom: 2px;
}
.pd-sidebar__meta-val {
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-text);
}
.pd-sidebar__pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--pd-dark);
    color: #fff;
    text-decoration: none;
    border-radius: var(--pd-radius-sm);
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 12px;
    transition: background var(--pd-transition);
}
.pd-sidebar__pdf-btn:hover { background: var(--pd-text); color: #fff; }
.pd-sidebar__pdf-btn .material-symbols-outlined { font-size: 20px; }

/* ══════════════════════════════════════════════════════════════════════
   TECHNICAL HIGHLIGHTS
   ══════════════════════════════════════════════════════════════════════ */
.pd-tech {
    background: var(--pd-surface);
    padding: 72px 0;
}
.pd-tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 8px;
}
.pd-tech__card {
    background: var(--pd-white);
    border: 1px solid var(--pd-border);
    border-radius: 20px;
    padding: 36px 32px;
}
.pd-tech__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 14px;
}
.pd-tech__card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pd-text-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════════════════ */
.pd-gallery {
    background: var(--pd-surface-mid);
    padding: 72px 0;
}
.pd-gallery__header {
    text-align: center;
    margin-bottom: 36px;
}
.pd-gallery__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 8px;
}
.pd-gallery__desc {
    font-size: 15px;
    color: var(--pd-text-muted);
    margin: 0;
}
.pd-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 12px;
}
.pd-gallery__item {
    border-radius: var(--pd-radius);
    overflow: hidden;
    box-shadow: var(--pd-shadow-md);
}
.pd-gallery__item--hero {
    grid-column: span 2;
    grid-row: span 2;
}
.pd-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.pd-gallery__item:hover .pd-gallery__img { transform: scale(1.06); }
.pd-gallery__view-all {
    border-radius: var(--pd-radius);
    background: var(--pd-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity var(--pd-transition);
}
.pd-gallery__view-all:hover { opacity: 0.85; }
.pd-gallery__view-all .material-symbols-outlined {
    font-size: 56px;
    color: #fff;
}
.pd-gallery__view-all p {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   MEASURABLE IMPACT
   ══════════════════════════════════════════════════════════════════════ */
.pd-impact {
    background: var(--pd-white);
    padding: 80px 0;
}
.pd-impact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.pd-impact__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 16px;
}
.pd-impact__desc {
    font-size: 17px;
    line-height: 1.75;
    color: var(--pd-text-muted);
    margin: 0 0 36px;
}
.pd-impact__bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pd-impact__bullet {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.pd-impact__bullet-icon-wrap {
    background: var(--pd-primary-fixed);
    border-radius: var(--pd-radius-sm);
    padding: 8px;
    flex-shrink: 0;
}
.pd-impact__bullet-icon-wrap .material-symbols-outlined {
    font-size: 20px;
    color: var(--pd-primary);
    display: block;
}
.pd-impact__bullet-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 4px;
}
.pd-impact__bullet-desc {
    font-size: 12px;
    color: var(--pd-text-muted);
    margin: 0;
}

/* Stat boxes */
.pd-impact__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pd-impact__stat {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    gap: 6px;
}
.pd-impact__stat--feature {
    background: var(--pd-primary);
    border-color: var(--pd-primary);
}
.pd-impact__stat-icon {
    font-size: 56px;
    color: #fff;
    margin-bottom: 4px;
}
.pd-impact__stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--pd-primary);
    line-height: 1;
}
.pd-impact__stat--feature .pd-impact__stat-value {
    font-size: 32px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.pd-impact__stat-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--pd-text-muted);
}
.pd-impact__stat--feature .pd-impact__stat-label {
    color: rgba(255,255,255,0.75);
}

/* ══════════════════════════════════════════════════════════════════════
   CORE SERVICES DEPLOYED (pill bar)
   ══════════════════════════════════════════════════════════════════════ */
.pd-services-bar {
    border-top: 1px solid var(--pd-border);
    border-bottom: 1px solid var(--pd-border);
    padding: 28px 0;
    background: var(--pd-bg);
}
.pd-services-bar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.pd-services-bar__label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pd-text-muted);
}
.pd-services-bar__tag {
    background: var(--pd-white);
    border: 1px solid var(--pd-primary);
    color: var(--pd-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 20px;
    border-radius: 99px;
    letter-spacing: 0.03em;
    transition: background var(--pd-transition), color var(--pd-transition);
}
.pd-services-bar__tag:hover {
    background: var(--pd-primary);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════════════
   RELATED / SIMILAR PROJECTS
   ══════════════════════════════════════════════════════════════════════ */
.pd-related {
    padding: 80px 0;
}
.pd-related__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}
.pd-related__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 6px;
}
.pd-related__subtitle {
    font-size: 15px;
    color: var(--pd-text-muted);
    margin: 0;
}
.pd-related__all-link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pd-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    white-space: nowrap;
    transition: opacity var(--pd-transition);
}
.pd-related__all-link:hover { opacity: 0.75; }
.pd-related__all-link .material-symbols-outlined { font-size: 18px; }

.pd-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.pd-related__card {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.pd-related__card-img-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
    border-radius: var(--pd-radius);
    margin-bottom: 16px;
}
.pd-related__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pd-related__card:hover .pd-related__card-img { transform: scale(1.1); }
.pd-related__card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    transition: background var(--pd-transition);
}
.pd-related__card:hover .pd-related__card-overlay { background: rgba(0,0,0,0.08); }
.pd-related__card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pd-text);
    margin: 0 0 6px;
    transition: color var(--pd-transition);
}
.pd-related__card:hover .pd-related__card-title { color: var(--pd-primary); }
.pd-related__card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pd-text-muted);
    margin: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════════════════════════════ */
.pd-cta {
    background: var(--pd-dark);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.pd-cta__grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}
.pd-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.pd-cta__title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 16px;
}
.pd-cta__desc {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(211,228,254,0.8);
    max-width: 640px;
    margin: 0 auto 40px;
}
.pd-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.pd-cta__btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 40px;
    border-radius: var(--pd-radius-sm);
    transition: transform 0.2s ease, opacity var(--pd-transition);
}
.pd-cta__btn:hover { transform: scale(1.04); }
.pd-cta__btn--primary {
    background: var(--pd-primary);
    color: #fff;
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}
.pd-cta__btn--ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
}
.pd-cta__btn--ghost:hover { background: rgba(255,255,255,0.16); }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .pd-body {
        grid-template-columns: 1fr;
    }
    .pd-sidebar {
        order: -1;
    }
    .pd-sidebar__card {
        position: static;
    }
    .pd-overview {
        grid-template-columns: 1fr;
    }
    .pd-impact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pd-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .pd-gallery__item--hero {
        grid-column: 1 / -1;
        height: 320px;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
    .pd-hero { height: 65vh; }
    .pd-hero__content { padding-bottom: 40px; }
    .pd-body { padding-top: 40px; padding-bottom: 40px; }
    .pd-body__main { gap: 48px; }
    .pd-stats-row { grid-template-columns: 1fr; }
    .pd-approach {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }
    .pd-journey__grid { grid-template-columns: 1fr; }
    .pd-impact__stats { grid-template-columns: 1fr; }
    .pd-gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .pd-gallery__item--hero { height: 260px; }
    .pd-gallery__item { height: 200px; }
    .pd-related__grid { grid-template-columns: 1fr; }
    .pd-cta__buttons { flex-direction: column; align-items: center; }
    .pd-cta__btn { width: 100%; max-width: 320px; text-align: center; }
    .pd-challenge { padding: 28px 24px; }
}

/* ══════════════════════════════════════════════════════════════════════
   SERVICE DETAIL PAGE — single-absons_service.php
   BEM class prefix: sd-
   Uses theme :root tokens (same as project-detail / services landing).
   ══════════════════════════════════════════════════════════════════════ */

.service-detail-main {
    --sd-primary:          var(--primary-green, #16a34a);
    --sd-primary-dark:     var(--primary-green-dark, #15803d);
    --sd-primary-light:    #86efac;
    --sd-primary-pale:     #bbf7d0;
    --sd-dark:             var(--dark-bg, #0f172a);
    --sd-dark-deep:        var(--navy-deep, #121926);
    --sd-bg:               #f8f9ff;
    --sd-surface:          var(--primary-blue-light, #eff6ff);
    --sd-surface-high:     var(--bg-section-alt, #eff6ff);
    --sd-surface-white:    var(--white, #ffffff);
    --sd-text:             #0b1c30;
    --sd-text-muted:       var(--text-muted, #475569);
    --sd-text-variant:     var(--text-muted, #475569);
    --sd-text-light:       var(--text-light, rgba(255, 255, 255, 0.72));
    --sd-border:           var(--border-color, #e2e8f0);
    --sd-gutter:           24px;
    --sd-radius:           8px;
    --sd-radius-lg:        12px;
    --sd-shadow:           var(--shadow-sm);
    --sd-shadow-md:        var(--shadow-md);
    --sd-shadow-lg:        var(--shadow-lg);
    --sd-transition:       var(--transition-base, 280ms cubic-bezier(0.4, 0, 0.2, 1));
    margin-top: 0;
    padding-top: 0;
    font-family: var(--font-body, 'Open Sans', sans-serif);
    color: var(--sd-text);
    background: var(--sd-bg);
    -webkit-font-smoothing: antialiased;
}

.service-detail-main h1,
.service-detail-main h2,
.service-detail-main h3,
.service-detail-main h4,
.service-detail-main h5,
.service-detail-main h6,
.service-detail-main .sd-section-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
}

.service-detail-main .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.service-detail-main *,
.service-detail-main *::before,
.service-detail-main *::after {
    box-sizing: border-box;
}

.service-detail-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-detail-main button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.service-detail-main a {
    text-decoration: none;
    color: inherit;
}

.service-detail-main .sd-section-title {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--sd-text);
    margin: 0 0 40px;
    letter-spacing: -0.01em;
}

.service-detail-main .sd-section-title--center {
    text-align: center;
}

.service-detail-main .sd-section-title--light {
    color: #fff;
}

/* ── Hero (matches homepage layout — container + stacked copy) ──────── */
.sd-hero-wrap {
    position: relative;
}

.sd-hero-wrap--has-stats {
    padding-bottom: 100px;
    margin-bottom: 40px;
}

.sd-hero {
    position: relative;
    min-height: 85vh;
    display: block;
    overflow: visible;
    color: var(--white);
}

.sd-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.sd-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(4, 15, 30, 0.82), rgba(4, 15, 30, 0.55));
    z-index: 1;
}

.sd-hero__container {
    position: relative;
    z-index: 2;
    padding-top: 180px;
    padding-bottom: 80px;
    /* width comes from .container — min(1200px, 92%), same as stats + body sections */
}

.sd-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 720px;
    text-align: left;
}

.service-detail-main .sd-hero__tagline {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--primary-green);
}

.sd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sd-breadcrumb__link {
    color: var(--text-light);
    transition: color var(--sd-transition);
}

.sd-breadcrumb__link:hover {
    color: var(--primary-green);
}

.sd-breadcrumb__sep {
    color: rgba(255, 255, 255, 0.45);
}

.sd-breadcrumb__current {
    color: var(--primary-green);
}

.sd-hero__title {
    position: static;
    width: 100%;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 16px;
}

.sd-hero__subtitle {
    position: static;
    width: 100%;
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 16px;
}

.sd-hero__desc {
    position: static;
    width: 100%;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0;
}

.service-detail-main .sd-hero-stats {
    z-index: 20;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 92%);
}

.service-detail-main .sd-hero-stats .stats-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

/* ── Partners ───────────────────────────────────────────────────────── */
.sd-partners {
    background: var(--sd-surface-high);
    border-top: 1px solid rgba(190, 202, 189, 0.2);
    border-bottom: 1px solid rgba(190, 202, 189, 0.2);
    padding: 40px 0;
}

.sd-partners--compact {
    padding: 40px 0;
    border-top: 1px solid var(--sd-border);
    border-bottom: 1px solid var(--sd-border);
}

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

@media (min-width: 768px) {
    .sd-partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .sd-partners__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.sd-partners__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    padding: 24px;
    border-radius: var(--sd-radius);
    border: 1px solid var(--sd-border);
    transition: border-color var(--sd-transition);
}

.sd-partners__card:hover {
    border-color: var(--sd-primary);
}

.sd-partners__icon {
    font-size: 40px;
    color: var(--sd-primary);
    margin-bottom: 16px;
}

.sd-partners__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ── Overview ───────────────────────────────────────────────────────── */
.sd-overview {
    padding: 100px 0;
    background: var(--white);
}

.sd-overview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sd-overview__media {
    position: relative;
    min-height: 320px;
}

.sd-overview__media-deco {
    position: absolute;
    inset: -16px;
    background: var(--primary-green-light, rgba(22, 163, 74, 0.08));
    border-radius: var(--sd-radius-lg);
    z-index: 0;
    transition: transform 0.4s ease;
}

.sd-overview__media:hover .sd-overview__media-deco {
    transform: scale(1.02);
}

.sd-overview__image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--sd-radius-lg);
    border: 1px solid var(--sd-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.sd-overview__placeholder {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--sd-radius-lg);
    border: 1px solid var(--sd-border);
    background: var(--bg-light);
    color: var(--sd-primary);
    box-shadow: var(--sd-shadow-md);
}

.sd-overview__placeholder .material-symbols-outlined {
    font-size: 64px;
    opacity: 0.35;
}

.sd-overview__content {
    min-width: 0;
}

.sd-overview__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 32px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--sd-primary);
}

.sd-overview__desc {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    margin: 0 0 40px;
}

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

.sd-overview__card {
    padding: 24px;
    background: var(--primary-blue-light, #eff6ff);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    transition:
        border-color var(--sd-transition),
        box-shadow var(--sd-transition);
}

.sd-overview__card:hover {
    border-color: var(--sd-primary);
    box-shadow: var(--sd-shadow-sm);
}

.sd-overview__card-icon {
    display: block;
    font-size: 32px;
    color: var(--sd-primary);
    margin-bottom: 16px;
    line-height: 1;
}

.sd-overview__card-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.sd-overview__card-desc {
    font-size: 12px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .sd-overview__media:hover .sd-overview__media-deco {
        transform: none;
    }
}

/* ── Capabilities ───────────────────────────────────────────────────── */
.sd-capabilities {
    background: var(--sd-dark);
    padding: 80px 0;
}

.sd-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.sd-capabilities__card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--sd-radius);
    padding: 40px;
    text-align: left;
    transition: background var(--sd-transition);
}

.sd-capabilities__card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sd-capabilities__icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 97, 48, 0.2);
    border-radius: var(--sd-radius);
    margin-bottom: 20px;
    transition: background var(--sd-transition);
}

.sd-capabilities__card:hover .sd-capabilities__icon-wrap {
    background: var(--sd-primary);
}

.sd-capabilities__icon-wrap .material-symbols-outlined {
    color: var(--sd-primary-light);
    font-size: 24px;
    transition: color var(--sd-transition);
}

.sd-capabilities__card:hover .sd-capabilities__icon-wrap .material-symbols-outlined {
    color: #fff;
}

.sd-capabilities__card-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
}

.sd-capabilities__card-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--sd-text-light);
    opacity: 0.85;
    margin: 0;
}

/* ── Approach / Why Us ──────────────────────────────────────────────── */
.sd-approach {
    padding: 80px 0;
    background: var(--sd-bg);
}

.sd-approach__header {
    text-align: center;
    margin-bottom: 80px;
}

.sd-approach__header .sd-section-title {
    margin-bottom: 16px;
}

.sd-approach__intro {
    font-size: 16px;
    line-height: 1.6;
    color: var(--sd-text-variant);
    max-width: 672px;
    margin: 0 auto;
}

.sd-approach__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.sd-approach__connector {
    display: none;
}

@media (min-width: 1024px) {
    .sd-approach__connector {
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 4px;
        background: rgba(0, 97, 48, 0.1);
        transform: translateY(-50%);
        z-index: 0;
        pointer-events: none;
    }
}

.sd-approach__step {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 40px;
    border-radius: var(--sd-radius);
    border-top: 4px solid var(--sd-primary);
    box-shadow: var(--sd-shadow);
    transition: box-shadow var(--sd-transition);
}

.sd-approach__step:hover {
    box-shadow: var(--sd-shadow-lg);
}

.sd-approach__step-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 700;
    color: var(--sd-primary);
    opacity: 0.1;
    line-height: 1;
}

.sd-approach__step-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
}

.sd-approach__step-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--sd-text-muted);
    margin: 0;
}

/* ── Pillars ────────────────────────────────────────────────────────── */
.sd-pillars {
    padding: 80px 0;
    overflow: hidden;
    background: var(--sd-bg);
}

.sd-pillars__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sd-pillars__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sd-pillars__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sd-pillars__check {
    flex-shrink: 0;
    color: var(--sd-primary);
    background: rgba(0, 97, 48, 0.1);
    border-radius: 50%;
    padding: 8px;
    font-size: 20px;
    font-variation-settings: 'FILL' 1;
}

.sd-pillars__item-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px;
}

.sd-pillars__item-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--sd-text-muted);
    margin: 0;
}

.sd-pillars__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.sd-pillars__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-pillars__col--offset {
    padding-top: 48px;
}

.sd-pillars__photo {
    border-radius: var(--sd-radius-lg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.sd-pillars__photo--tall {
    height: 256px;
}

.sd-pillars__photo--short {
    height: 192px;
}

/* ── Sectors ────────────────────────────────────────────────────────── */
.sd-sectors {
    padding: 80px 0;
    background: var(--sd-surface);
}

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

@media (min-width: 768px) {
    .sd-sectors__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .sd-sectors__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.sd-sectors__card {
    position: relative;
    height: 320px;
    border-radius: var(--sd-radius-lg);
    overflow: hidden;
    box-shadow: var(--sd-shadow);
}

.sd-sectors__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.sd-sectors__card:hover .sd-sectors__bg {
    transform: scale(1.05);
}

.sd-sectors__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
}

.sd-sectors__title {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

/* ── Signature Projects ─────────────────────────────────────────────── */
.sd-projects {
    padding: 80px 0;
    background: var(--sd-bg);
}

.sd-projects__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
}

.sd-projects__desc {
    font-size: 16px;
    color: var(--sd-text-muted);
    margin: 8px 0 0;
}

.sd-projects__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--sd-primary);
    white-space: nowrap;
    transition: gap var(--sd-transition);
}

.sd-projects__link:hover {
    gap: 12px;
}

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

.sd-projects__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    overflow: hidden;
    transition: border-color var(--sd-transition);
    color: inherit;
    height: 100%;
}

.sd-projects__card:hover {
    border-color: var(--sd-primary);
}

.sd-projects__card-img {
    position: relative;
    height: 256px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sd-projects__card-img-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.sd-projects__card:hover .sd-projects__card-img-inner {
    transform: scale(1.05);
}

.sd-projects__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--sd-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 2px;
}

.sd-projects__card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sd-projects__card-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 4px;
}

.sd-projects__card-tag {
    font-size: 12px;
    font-weight: 500;
    color: var(--sd-primary);
    margin: 0 0 12px;
}

.sd-projects__card-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--sd-text-muted);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Value Outcomes ─────────────────────────────────────────────────── */
.sd-value {
    padding: 80px 0;
}

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

.sd-value__card {
    padding: 48px 32px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    box-shadow: var(--sd-shadow);
}

.sd-value__card--featured {
    background: var(--sd-primary);
    border-color: var(--sd-primary);
    color: #fff;
    box-shadow: var(--sd-shadow-lg);
}

.sd-value__number {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--sd-primary);
    margin-bottom: 16px;
    line-height: 1;
}

.sd-value__card--featured .sd-value__number {
    color: #fff;
}

.sd-value__card-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 12px;
}

.sd-value__card-desc {
    font-size: 16px;
    line-height: 1.5;
    color: var(--sd-text-muted);
    margin: 0;
}

.sd-value__card--featured .sd-value__card-desc {
    color: rgba(255, 255, 255, 0.9);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.sd-faq {
    padding: 80px 0;
    background: #fff;
}

.sd-faq__inner {
    max-width: 768px;
}

.sd-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sd-faq__item {
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    overflow: hidden;
}

.sd-faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: #fff;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--sd-text);
    transition: background var(--sd-transition);
}

.sd-faq__question:hover {
    background: var(--sd-surface-high);
}

.sd-faq__chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sd-faq__answer {
    display: none;
    padding: 16px 24px;
    background: #fff;
    border-top: 1px solid var(--sd-border);
    font-size: 16px;
    line-height: 1.6;
    color: var(--sd-text-muted);
}

.sd-faq__item.is-open .sd-faq__answer {
    display: block;
}

.sd-faq__item.is-open .sd-faq__chevron {
    transform: rotate(180deg);
}

/* ── Technical Resources ──────────────────────────────────────────────── */
.sd-resources {
    padding: 100px 0;
    background: var(--bg-light, #f8fafc);
}

.sd-resources__header {
    max-width: 640px;
    margin-bottom: 48px;
}

.sd-resources__header .section-subtitle {
    display: block;
    margin-bottom: 12px;
}

.sd-resources__heading {
    margin-bottom: 16px;
}

.sd-resources__intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}

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

.sd-resources__card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-lg);
    box-shadow: var(--sd-shadow);
    color: inherit;
    cursor: pointer;
    transition:
        border-color var(--sd-transition),
        box-shadow var(--sd-transition),
        transform var(--sd-transition);
}

.sd-resources__card:hover {
    border-color: var(--sd-primary);
    box-shadow: var(--sd-shadow-md);
    transform: translateY(-2px);
}

.sd-resources__card:focus-visible {
    outline: 2px solid var(--sd-primary);
    outline-offset: 2px;
}

.sd-resources__card--featured {
    background: linear-gradient(135deg, var(--sd-primary) 0%, var(--sd-primary-dark) 100%);
    border-color: transparent;
    color: var(--white);
}

.sd-resources__card--featured:hover {
    border-color: transparent;
    box-shadow: var(--sd-shadow-lg);
}

.sd-resources__card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--sd-radius);
    background: var(--primary-green-light, rgba(22, 163, 74, 0.1));
    color: var(--sd-primary);
}

.sd-resources__card-icon .material-symbols-outlined {
    font-size: 26px;
}

.sd-resources__card--featured .sd-resources__card-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.sd-resources__card-content {
    flex: 1;
    min-width: 0;
}

.sd-resources__card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0 0 6px;
}

.sd-resources__card--featured .sd-resources__card-title {
    color: var(--white);
}

.sd-resources__card-meta {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.sd-resources__card--featured .sd-resources__card-meta {
    color: rgba(255, 255, 255, 0.85);
}

.sd-resources__card-arrow {
    flex-shrink: 0;
    align-self: center;
    font-size: 22px;
    color: var(--sd-primary);
    opacity: 0;
    transform: translateX(-6px);
    transition:
        opacity var(--sd-transition),
        transform var(--sd-transition);
}

.sd-resources__card:hover .sd-resources__card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.sd-resources__card--featured .sd-resources__card-arrow {
    color: var(--white);
    opacity: 0.85;
    transform: translateX(0);
}

.sd-resources__card--featured:hover .sd-resources__card-arrow {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .sd-resources__card:hover {
        transform: none;
    }

    .sd-resources__card-arrow {
        opacity: 1;
        transform: none;
    }
}

/* ── CTA ────────────────────────────────────────────────────────────── */
.sd-cta {
    position: relative;
    padding: 80px 0;
    background: var(--sd-dark);
    overflow: hidden;
}

.sd-cta__deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
    background: linear-gradient(135deg, transparent 50%, var(--sd-primary-light) 50%);
}

.sd-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sd-cta__title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.15;
}

.sd-cta__desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--sd-text-light);
    max-width: 640px;
    margin: 0 auto 32px;
}

.sd-cta__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.sd-cta__btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 2px;
    transition: background var(--sd-transition), color var(--sd-transition);
}

.sd-cta__btn--primary {
    background: var(--sd-primary);
    color: #fff;
}

.sd-cta__btn--primary:hover {
    background: var(--sd-primary-dark);
    color: #fff;
}

.sd-cta__btn--ghost {
    border: 1px solid #fff;
    color: #fff;
}

.sd-cta__btn--ghost:hover {
    background: #fff;
    color: var(--sd-dark);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .sd-capabilities__grid,
    .sd-approach__grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

@media (max-width: 768px) {
    .sd-hero__container {
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .sd-hero-wrap--has-stats {
        padding-bottom: 80px;
        margin-bottom: 24px;
    }

    .service-detail-main .sd-hero-stats .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-hero__title {
        font-size: 36px;
    }

    .sd-hero__subtitle {
        font-size: 22px;
    }

    .sd-overview__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sd-overview__media {
        order: -1;
        min-height: 0;
    }

    .sd-overview__image,
    .sd-overview__placeholder {
        aspect-ratio: 16 / 10;
    }

    .sd-pillars__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sd-overview__cards {
        grid-template-columns: 1fr;
    }

    .sd-capabilities__grid,
    .sd-approach__grid,
    .sd-sectors__grid,
    .sd-projects__grid,
    .sd-value__grid {
        grid-template-columns: 1fr;
    }

    .sd-resources__grid {
        grid-template-columns: 1fr;
    }

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

    .sd-projects__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sd-pillars__col--offset {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .sd-partners__grid {
        grid-template-columns: 1fr;
    }

    .sd-hero {
        min-height: 520px;
        height: auto;
    }

    .sd-hero__title {
        font-size: 36px;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-page-main {
    background: var(--white);
}

.contact-page-main .material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.cp-section-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin: 0 0 48px;
    line-height: 1.2;
}

.cp-section-title--left {
    text-align: left;
    margin-bottom: 24px;
}

/* Hero */
.cp-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--navy-dark);
    background-size: cover;
    background-position: center;
    padding: 120px 0 0;
}

.cp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 35, 55, 0.85) 0%, rgba(15, 35, 55, 0.55) 100%);
    pointer-events: none;
}

.cp-hero__container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding-bottom: 48px;
}

.cp-hero__content {
    max-width: 680px;
}

.cp-hero__tagline-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cp-hero__tagline-line {
    display: block;
    width: 48px;
    height: 2px;
    background: var(--primary-green);
    flex-shrink: 0;
}

.cp-hero__tagline {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #96f7af;
}

.cp-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin: 0 0 20px;
}

.cp-hero__desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 32px;
    max-width: 560px;
}

.cp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.cp-hero__stats-bar {
    position: relative;
    z-index: 1;
    width: 100%;
    background: rgba(15, 35, 55, 0.55);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px 0;
}

.cp-hero__stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.cp-hero__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.cp-hero__stat-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

/* Department cards */
.cp-teams {
    padding: 80px 0;
    background: #f8fafc;
}

.cp-teams__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cp-team-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 32px 24px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.cp-team-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.cp-team-card__icon {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 16px;
}

.cp-team-card__title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.cp-team-card__desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px;
}

.cp-team-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cp-team-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cp-team-card__link .material-symbols-outlined {
    font-size: 18px;
}

.cp-team-card__link:hover {
    color: var(--navy-dark);
}

/* Project form section */
.cp-form-section {
    padding: 80px 0;
}

.cp-form-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.cp-form-section__desc {
    font-size: 15px;
    line-height: 1.75;
    color: #64748b;
    margin: 0 0 28px;
}

.cp-form-section__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cp-form-section__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
}

.cp-form-section__bullets .material-symbols-outlined {
    font-size: 22px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.contact-form-cf7--page.contact-form {
    padding: 40px;
    border-radius: 16px;
}

.contact-form-cf7--page .form-group label {
    font-size: 11px;
    letter-spacing: 0.08em;
}

.contact-form-cf7--page .form-group input,
.contact-form-cf7--page .form-group textarea,
.contact-form-cf7--page .form-group select {
    background: transparent;
    border: none;
    border-bottom: 1.5px solid #e2e8f0;
    border-radius: 0;
    padding: 12px 0;
}

.contact-form-cf7--page .form-group input:focus,
.contact-form-cf7--page .form-group textarea:focus,
.contact-form-cf7--page .form-group select:focus {
    border-bottom-color: var(--primary-green);
    box-shadow: none;
}

.contact-form-cf7--page .cp-form-file .wpcf7-form-control-wrap {
    display: block;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 32px 20px;
    text-align: center;
    background: #f8fafc;
}

.contact-form-cf7--page .cp-form-file input[type="file"] {
    border: none;
    padding: 0;
    background: transparent;
    width: 100%;
}

/* Office */
.cp-office {
    padding: 80px 0;
    background: #f8fafc;
}

.cp-office__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.cp-office__card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
}

.cp-office__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.cp-office__city {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
}

.cp-office__address {
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 24px;
}

.cp-office__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.cp-office__detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
}

.cp-office__detail .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-green);
}

.cp-office__map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-green);
    text-decoration: none;
}

.cp-office__map-link:hover {
    color: var(--navy-dark);
}

.cp-office__image-wrap {
    border-radius: 16px;
    overflow: hidden;
    min-height: 360px;
}

.cp-office__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

/* Footprint */
.cp-footprint {
    padding: 80px 0;
}

.cp-footprint__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.cp-footprint__desc {
    font-size: 15px;
    line-height: 1.75;
    color: #64748b;
    margin: 0 0 32px;
}

.cp-footprint__cities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cp-footprint__city {
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
}

.cp-footprint__city-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.cp-footprint__city-tag {
    display: block;
    font-size: 13px;
    color: #94a3b8;
}

.cp-footprint__card {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
}

.cp-footprint__card-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.cp-footprint__card-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px;
}

.cp-footprint__card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 24px;
}

/* Foundations (dark section) */
.cp-foundations {
    background: var(--navy-dark);
    padding: 80px 0;
    color: var(--white);
}

.cp-foundations__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.cp-foundations__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 16px;
}

.cp-foundations__desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.cp-foundations__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cp-foundations__icon {
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.cp-foundations__item-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 12px;
}

.cp-foundations__item-desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Certifications strip */
.cp-certs {
    padding: 48px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.cp-certs__label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 28px;
}

.cp-certs__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 48px;
}

.cp-certs__item {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    opacity: 0.85;
}

/* FAQ */
.cp-faq {
    padding: 80px 0;
    background: #f8fafc;
}

.cp-faq__inner {
    max-width: 760px;
}

.cp-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cp-faq__item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.cp-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: left;
}

.cp-faq__chevron {
    font-size: 24px;
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.cp-faq__item.is-open .cp-faq__chevron {
    transform: rotate(180deg);
}

.cp-faq__answer {
    display: none;
    padding: 0 24px 20px;
}

.cp-faq__item.is-open .cp-faq__answer {
    display: block;
}

.cp-faq__answer p {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

/* Bottom CTA */
.cp-cta {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-dark);
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.cp-cta__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 35, 55, 0.78);
}

.cp-cta__content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.cp-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--white);
    margin: 0 0 16px;
}

.cp-cta__desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
}

.cp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* Contact page responsive */
@media (max-width: 1024px) {
    .cp-teams__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cp-form-section__grid,
    .cp-office__grid,
    .cp-footprint__grid {
        grid-template-columns: 1fr;
    }

    .cp-foundations__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

@media (max-width: 640px) {
    .cp-teams__grid {
        grid-template-columns: 1fr;
    }

    .cp-hero__stats-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cp-footprint__cities {
        grid-template-columns: 1fr;
    }

    .contact-form-cf7--page.contact-form {
        padding: 28px 20px;
    }
}
