:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #0a0a0a;
    --accent: #111111;
    --text: #f5f1e8;
    --text-soft: #c6beaf;
    --text-dim: #978f81;
    --white: #ffffff;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --bg: #000000;
    --bg-soft: #050505;
    --panel: #0a0a0a;
    --panel-soft: #0f0f0f;
    --panel-deep: #050505;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    --radius: 18px;
    --radius-lg: 26px;
    --container: 1240px;
    --transition: 0.3s ease;
    --header-height: 84px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent 28%),
        linear-gradient(180deg, #050505 0%, #000000 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    background: none;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    color: var(--text);
    background: #121212;
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-dim);
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

textarea {
    resize: vertical;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    z-index: 9999;
    background: var(--primary);
    color: #111111;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    font-weight: 700;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #111111;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.18);
    flex-shrink: 0;
}

/* ── Site Logo Image ──────────────────────────────────── */
.site-logo {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.site-logo:hover {
    transform: scale(1.02);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong {
    font-size: 1.05rem;
    line-height: 1.1;
    color: var(--white);
    font-family: "Manrope", sans-serif;
}

.brand-text small {
    color: #9c9384;
    font-size: 0.75rem;
    line-height: 1.1;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav a,
.desktop-nav .dropbtn {
    font-weight: 600;
    color: var(--text-soft);
    position: relative;
    font-family: inherit;
    font-size: 1rem;
    text-decoration: none;
    transition: color var(--transition);
}

.desktop-nav a::after,
.desktop-nav .dropbtn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.desktop-nav .dropbtn:hover::after,
.desktop-nav .dropbtn.active::after,
.dropdown.open .dropbtn::after {
    transform: scaleX(1);
}

.desktop-nav a:hover,
.desktop-nav a.active,
.desktop-nav .dropbtn:hover,
.desktop-nav .dropbtn.active,
.dropdown.open .dropbtn {
    color: var(--primary);
}

.dropdown {
    position: relative;
}

.dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
}

.caret {
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform var(--transition);
}

.dropdown.open .caret {
    transform: rotate(-135deg) translateY(-1px);
}

.dropdown-content {
    display: grid;
    gap: 0;
    position: absolute;
    top: calc(100% + 1rem);
    left: 0;
    min-width: 290px;
    padding: 0.55rem 0;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.44);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition:
        opacity var(--transition),
        transform var(--transition),
        visibility var(--transition);
    z-index: 1001;
}

.dropdown.open .dropdown-content,
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    padding: 0.85rem 1rem;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--text-soft);
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--primary);
}

.dropdown-content a::after {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.95rem 1.4rem;
    border-radius: 14px;
    font-weight: 700;
    text-align: center;
    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #111111;
    box-shadow: 0 14px 26px rgba(16, 185, 129, 0.16);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

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

.btn-secondary-light {
    background: var(--white);
    color: #111111;
    border-color: var(--white);
}

.btn-secondary-light:hover {
    background: #f2f2f2;
}

.btn-full {
    width: 100%;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 999px;
    transition: var(--transition);
    content: "";
}

.menu-toggle span::before {
    transform: translateX(-50%) translateY(-7px);
}

.menu-toggle span::after {
    transform: translateX(-50%) translateY(7px);
}

body.menu-open .menu-toggle span {
    background: transparent;
}

body.menu-open .menu-toggle span::before {
    transform: translateX(-50%) rotate(45deg);
}

body.menu-open .menu-toggle span::after {
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-nav {
    max-height: 0;
    overflow: hidden;
    background: #0d0d0d;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: max-height 0.35s ease;
}

body.menu-open .mobile-nav {
    max-height: 100dvh;
    overflow-y: auto;
}

/* Main Container Layout */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 0 2rem;
}

/* Main Top-Level Links */
.mobile-nav-links > a {
    font-weight: 600;
    color: var(--white);
    padding: 1rem 0; /* Creates large, premium touch targets */
    border-bottom: 1px solid rgba(255, 255, 255, 0.06); /* Clean separator line */
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Remove the separator line from the last link before CTA */
.mobile-nav-links > a:last-of-type {
    border-bottom: none;
}

.mobile-nav-links > a:hover {
    color: var(--primary); /* Clean green accent text color */
}

/* Submenu Visual Anchor */
.mobile-submenu {
    padding-left: 1.2rem;
    border-left: 2px solid rgba(255, 255, 255, 0.1); /* Left architectural track line */
    margin: 0.6rem 0 0.8rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem; /* Generous spacing between services */
}

.mobile-submenu a {
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--text-soft);
    transition: color 0.3s ease;
}

.mobile-submenu a:hover {
    color: var(--primary); /* Hover state switches directly to green */
}

/* Dynamic Active State Highlight */
.mobile-submenu a.active, 
.mobile-nav-links > a.active {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 0.5rem;
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    /* Place your hero image named hero-bg.webp inside assets/images/ folder */
    background-image: url("assets/images/hero-bg.webp");
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.82)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.36));
    z-index: -1;
}

.hero-inner {
    width: 100%;
    padding: 5rem 0 4.5rem;
    display: grid;
    gap: 2rem;
    justify-items: center;
}

.hero-inner-custom {
    padding-bottom: 0;
}

.hero-content {
    max-width: 940px;
    text-align: center;
    color: var(--white);
}

.hero-content-custom {
    margin-bottom: 4rem;
}

.hero-kicker {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-kicker-bright {
    color: var(--white);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}

.hero h1 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(2.35rem, 6vw, 4.9rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero-title-wide {
    max-width: 820px;
    margin-inline: auto;
}

.hero-text {
    margin: 1.25rem auto 0;
    max-width: 760px;
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: rgba(245, 241, 232, 0.9);
}

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

.hero-actions-spaced {
    margin-top: 2.5rem;
}

.hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.hero-stats-float {
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--panel);
    color: var(--text);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: left;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(16, 185, 129, 0.24);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.34);
}

.feature-icon {
    color: var(--primary);
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(16, 185, 129, 0.08);
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
    color: var(--white);
}

.feature-text span {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-soft);
    display: block;
}

.partners-marquee-section {
    padding: 4rem 0;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.marquee-label {
    margin-bottom: 1rem;
    text-align: center;
}

.marquee-label span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.logo-marquee {
    overflow: hidden;
}

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

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

.logo-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    padding: 1rem;
    background: transparent;
    border: none;
    transition: transform 0.3s ease;
}

.logo-chip:hover {
    transform: scale(1.05);
}

.logo-chip img,
.partner-tile img {
    max-height: 45px;
    width: auto;
    filter: grayscale(0);
    /* Keeping original colors as per screenshot */
}

.section {
    padding: 5.5rem 0;
}

.section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
    align-items: end;
    margin-bottom: 2.5rem;
}

.section-kicker,
.mini-kicker {
    display: inline-block;
    margin-bottom: 0.7rem;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
}

.section-head h2,
.split-showcase h2,
.contact-copy h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--white);
}

.section-head p,
.contact-copy p {
    margin: 0;
    color: var(--text-soft);
    font-size: 1.03rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: start;
}

.about-grid-reference {
    align-items: stretch;
}

.about-content,
.about-media {
    display: grid;
    gap: 1rem;
}

.intro-panel,
.about-side-card,
.process-card,
.credibility-panel,
.contact-shell,
.service-card,
.story-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.intro-panel {
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}

.intro-panel h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-family: "Manrope", sans-serif;
    color: var(--white);
    line-height: 1.2;
}

.intro-panel p {
    color: var(--text-soft);
}

.intro-points {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0 1.75rem;
}

.intro-point {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
}

.point-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    margin-top: 0.45rem;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08);
}

.intro-point strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.intro-point p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.97rem;
}

.about-media {
    grid-template-rows: 1fr auto;
}

.about-image-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    min-height: 520px;
}

.about-image-card img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.about-side-card {
    border-radius: var(--radius);
    padding: 1.4rem;
}

.about-side-card h4 {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    color: var(--white);
    font-family: "Manrope", sans-serif;
}

.about-side-card p {
    margin: 0;
    color: var(--text-soft);
}

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

.service-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.3);
    border-color: rgba(16, 185, 129, 0.22);
}

.service-image-wrapper {
    aspect-ratio: 16 / 10;
    background: #101010;
    overflow: hidden;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.04);
}

.service-body {
    padding: 1.4rem;
}

.service-body h3 {
    margin: 0 0 0.75rem;
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: 1.25rem;
}

.service-body p {
    margin: 0 0 1rem;
    color: var(--text-soft);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary);
    font-weight: 700;
}

.service-link::after {
    content: "→";
    transition: transform var(--transition);
}

.service-link:hover::after {
    transform: translateX(3px);
}

/* ============================================
   SERVICE DETAIL PAGES
============================================ */
.svc-hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
    max-height: 480px;
}

.svc-hero-img img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.svc-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.svc-overview p {
    color: var(--text-soft);
    line-height: 1.85;
    font-size: 1.02rem;
    margin: 0;
}

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

.svc-cta-block {
    background: linear-gradient(135deg, #0a0a0a 0%, #111 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    text-align: center;
}

.svc-cta-block h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--white);
    margin: 0.75rem 0 1rem;
}

.svc-cta-block p {
    color: var(--text-soft);
    max-width: 620px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.75;
}

.svc-cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .svc-overview {
        grid-template-columns: 1fr;
    }

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

    .svc-cta-block {
        padding: 2rem 1.25rem;
    }
}

.split-showcase {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: stretch;
}

.showcase-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 520px;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.showcase-content {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--panel);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.showcase-content p {
    margin: 0 0 1.4rem;
    color: var(--text-soft);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.partner-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    padding: 1rem;
    background: transparent;
    border: none;
}

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

.process-card {
    border-radius: var(--radius);
    padding: 1.5rem;
}

.process-step {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
}

.process-card h3 {
    margin: 0 0 0.7rem;
    color: var(--white);
    font-family: "Manrope", sans-serif;
    font-size: 1.18rem;
}

.process-card p {
    margin: 0;
    color: var(--text-soft);
}

/* ============================================
   ORGANIZATIONS MARQUEE
============================================ */
.orgs-marquee-wrapper {
    background: var(--bg);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.orgs-marquee {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.orgs-track {
    display: flex;
    gap: 1rem;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.org-chip {
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease;
}

.org-chip:hover {
    transform: scale(1.06);
}

.org-chip img {
    display: block;
    width: 120px;
    height: 50px;
    object-fit: contain;
}

/* ============================================
   ORGANIZATIONS SECTION – DASHBOARD LAYOUT
============================================ */
.orgs-section {
    background: var(--bg);
    padding: 5rem 0;
}

.orgs-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* LEFT: Dashboard grid */
.orgs-dashboard {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.orgs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.org-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    background: #0a0a0a;
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: #fff;
    text-align: center;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.85rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}

.org-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(16, 185, 129, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.org-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-height: 90px;
    filter: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.org-card:hover img {
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.3));
    transform: scale(1.05);
}

/* RIGHT: Content + progress bars */
.orgs-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.orgs-heading {
    font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0;
}

.orgs-desc {
    color: var(--text-soft);
    line-height: 1.75;
    margin: 0;
    font-size: 0.95rem;
}

/* Progress Bars / Stats Dashboard */
.stats-dashboard {
    margin-top: 0.5rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.8rem 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.stats-heading {
    font-family: "Manrope", sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 1.5rem;
}

.stat-bar-item {
    margin-bottom: 1.3rem;
}

.stat-bar-item:last-child {
    margin-bottom: 0;
}

.stat-bar-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
}

.stat-pct {
    font-weight: 700;
    color: #111827;
}

.stat-track {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    border-radius: 999px;
    transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 900px) {
    .orgs-split-layout {
        grid-template-columns: 1fr;
    }

    .orgs-dashboard {
        order: 2;
    }

    .orgs-content {
        order: 1;
    }

    .orgs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.contact-section {
    padding-bottom: 5.5rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2rem;
    align-items: start;
    border-radius: 28px;
    padding: 2rem;
}

.contact-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.contact-list a {
    color: var(--primary);
    font-weight: 700;
}

.contact-address {
    color: var(--text-soft);
    margin-top: 0.35rem;
}

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

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field label {
    font-weight: 600;
    color: var(--white);
}

.site-footer {
    background: #090909;
    color: var(--white);
    padding-top: 2.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--white);
}

.footer-brand p {
    margin: 0;
    color: rgba(198, 190, 175, 0.8);
    max-width: 520px;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: rgba(245, 241, 232, 0.88);
    font-weight: 600;
}

.footer-bottom {
    padding: 1rem 0 2rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(198, 190, 175, 0.72);
    font-size: 0.95rem;
}

.whatsapp-container {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.whatsapp-close {
    background: var(--panel);
    color: var(--text-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.whatsapp-close:hover {
    background: #ff4444;
    color: #fff;
    transform: scale(1.1);
    border-color: transparent;
}

.whatsapp-float {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), filter var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.04);
    filter: drop-shadow(0 15px 25px rgba(37, 211, 102, 0.4));
}

.whatsapp-float svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

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

@media (max-width: 1180px) {

    .section-head,
    .about-grid,
    .split-showcase,
    .credibility-grid,
    .contact-shell {
        grid-template-columns: 1fr;
    }

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

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

    .about-image-card,
    .about-image-card img,
    .showcase-media,
    .showcase-media img {
        min-height: 420px;
    }
}

@media (max-width: 860px) {
    :root {
        --header-height: 78px;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding: 4rem 0 3.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: min(100%, 280px);
    }

    .hero-stats {
        margin-bottom: 0;
    }

    .partners-marquee-section {
        padding-top: 3rem;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .svc-capabilities .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.25rem, var(--container));
    }

    .hero-stats,
    .services-grid,
    .process-grid,
    .trust-grid,
    .field-row,
    .partner-grid {
        grid-template-columns: 1fr;
    }

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

    .feature-card,
    .intro-panel,
    .showcase-content,
    .credibility-panel,
    .contact-shell {
        padding: 1.25rem;
    }

    .section {
        padding: 4rem 0;
    }

    .about-image-card,
    .about-image-card img,
    .showcase-media,
    .showcase-media img {
        min-height: 320px;
    }

    .logo-chip {
        min-width: 145px;
        padding: 0.9rem 1rem;
        font-size: 0.92rem;
    }

    .brand-text small {
        font-size: 0.7rem;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 1rem;
        bottom: 1rem;
    }
}

/* Unified Service Layout & Components */
.service-hero {
    min-height: 65vh; /* Premium, spacious viewport height preventing any text clipping */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: calc(var(--header-height) + 4rem); /* Spacious safe margin for fixed header */
    padding-bottom: 4.5rem;
    box-sizing: border-box;
    overflow: visible; /* Prevent any layout wrapping clipping */
}

.service-hero-inner {
    padding-top: 0 !important; /* Overwrite manual vertical paddings */
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-hero-content {
    text-align: center;
}

.service-hero-content h1 {
    font-size: clamp(2rem, 3.5vw, 3.25rem) !important; /* Elegant, highly proportioned title size preventing clipping */
    line-height: 1.15 !important;
    max-width: 900px;
    margin-inline: auto;
    letter-spacing: -0.02em;
}

.service-hero-text {
    max-width: 780px;
    margin: 1.25rem auto 0;
}

/* Global scroll offsets to handle fixed sticky navigation bar overlap */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.service-hero-img-section {
    padding: 0 0 5rem;
}

.section-no-top-padding {
    padding-top: 0 !important;
}

.section-no-top-padding-bottom-six {
    padding-top: 0 !important;
    padding-bottom: 6rem !important;
}

.service-advantage-btn {
    margin-top: 0.5rem;
}

.tech-stack-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tech-stack-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
}

.tech-stack-logos {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.tech-stack-logos:hover {
    opacity: 1;
}

.tech-stack-logos-wrapper {
    display: flex;
    width: max-content;
    animation: marquee-scroll 25s linear infinite;
}

.tech-stack-logos-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;
    padding-right: 5rem;
}

.tech-stack-logos-group img {
    height: 34px !important;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(2.5);
    opacity: 0.7;
    transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.tech-stack-logos-group img:hover {
    filter: grayscale(0) brightness(1.2) !important;
    opacity: 1;
    transform: scale(1.1);
}

/* Pause scroll on hover */
.tech-stack-logos:hover .tech-stack-logos-wrapper {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Service capabilities grid & micro-interactions */

.service-card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

/* Compliance Cards & Grid */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.compliance-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.compliance-card .comp-value {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 0.5rem;
}

.compliance-card h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
}

.compliance-card p {
    color: var(--text-soft);
    font-size: 0.9rem;
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* Fix navbar link wrapping */
.desktop-nav a,
.desktop-nav .dropbtn {
    white-space: nowrap;
}
@media (max-width: 1024px) {
    .desktop-nav {
        gap: 1.25rem;
    }
}
