* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body > footer {
    display: block;
}

:root {

    --primary-gradient: linear-gradient(90deg, #E98632 0%, #C2945A 35%, #6C8C87 70%, #228DBE 100%);
    ;
    --primary-orange: #ED8E39;
    --primary-blue: #138DC5;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans), 'Inter', system-ui, sans-serif;
    color: #333333;
    /* clip (not hidden) stops horizontal scroll without creating a scroll
       container — required so position:sticky (e.g. .section-nav) works. */
    overflow-x: clip;
    line-height: 1.6;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0px auto;
    padding: 0 2rem;
}

.wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 720px) {
    .wrap { padding: 0 20px; }
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-image: linear-gradient(to right, #f58a22 0%, #009fce 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    transition: var(--transition);
    overflow: visible;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.95rem 1.6rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    box-sizing: border-box;
    overflow: visible;
}

.logo-text {
    height: 44px;
    filter: brightness(0) invert(1);
    /* Make logo white to match design */
}

.logo {
    flex-shrink: 0;
}

.page-projects .logo-text {
    filter: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.4rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: 0;
    overflow: visible;
    justify-self: end;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #ed8e39;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Products dropdown (desktop) */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.45rem 0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    display: none;
    z-index: 1200;
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.6rem 1rem;
    color: #1f2937;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background: rgba(237, 142, 57, 0.14);
    color: #ed8e39;
}

/* Consultation Button */
.btn-consultation {
    background: white;
    color: #2f2f2f;
    padding: 0.6rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

@media (max-width: 1200px) {
    .hero-static {
        min-height: 88vh !important;
    }

    .hero-static .hero-content-wrapper,
    .hero-static.timeline-mode .carousel-item.timeline-slide,
    .hero-static.timeline-mode .carousel-item.timeline-slide .tl-container {
        height: calc(88vh - 120px) !important;
        min-height: calc(88vh - 120px) !important;
    }

    .nav-container {
        padding: 0.8rem 1.6rem;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.88rem;
    }

    .btn-consultation {
        padding: 0.5rem 1.2rem;
        font-size: 1.5rem !important;
    }
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-self: end;
    margin-right: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Static Hero Section */
.hero-static {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #03061a;
    overflow: hidden;
    padding-top: 120px;
    /* Offset for fixed navbar */
}

.hero-static.timeline-mode {
    min-height: 100vh;
    align-items: center;
    background: #ffffff;
    padding-top: 120px;
}

.hero-static.timeline-mode .hero-background {
    display: none;
}

.hero-static.timeline-mode .particles,
.hero-static.timeline-mode .particles * {
    display: none !important;
}

.hero-static.timeline-mode .hero-carousel {
    margin-top: 0;
    height: 100%;
}

.hero-static.timeline-mode .hero-content-wrapper {
    padding-top: 0;
    height: 100%;
}

/* Blog Page */
.blog-hero {
    padding: 130px 0 60px;
    background: radial-gradient(circle at top left, rgba(233, 134, 50, 0.15), transparent 45%),
        radial-gradient(circle at top right, rgba(46, 151, 183, 0.18), transparent 45%),
        #ffffff;
}

.blog-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: center;
}

.blog-hero h1 {
    font-size: clamp(2.6rem, 4.5vw, 3.6rem);
    margin: 0 0 0.9rem;
    color: #0b1020;
}

.blog-lead {
    margin: 0 auto;
    max-width: 720px;
    color: #5f6c7b;
}

.blog-kicker {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.72rem;
    color: #7b8794;
    margin-bottom: 0.75rem;
}

.blog-hero-text {
    text-align: left;
}

.blog-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.blog-cta-secondary {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
}

.blog-cta-secondary:hover {
    text-decoration: underline;
}

.blog-hero-card {
    border-radius: 18px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(233, 134, 50, 0.12), rgba(46, 151, 183, 0.12));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.blog-hero-card h2 {
    margin: 8px 0 8px;
    color: #0b1020;
    font-size: 1.4rem;
}

.blog-hero-card p {
    margin: 0 0 16px;
    color: #4b5563;
}

/* Solutions page: in-card table of contents */
.solutions-toc {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.solutions-toc a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0b1020;
    font-weight: 650;
    text-decoration: none;
}

.solutions-toc a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: linear-gradient(to right, #f58a22 0%, #009fce 100%);
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
}

.solutions-toc a:hover {
    text-decoration: underline;
}

.featured-label {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.featured-link {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.featured-link:hover {
    text-decoration: underline;
}

.blog-controls {
    padding: 0 0 10px;
    background: #ffffff;
}

.blog-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-chip {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 9999px;
    font-size: 0.85rem;
    cursor: pointer;
}

.blog-chip.active {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.blog-note {
    font-size: 0.85rem;
    color: #6b7280;
}

.blog-listing {
    padding: 20px 0 90px;
    background: #ffffff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.blog-card {
    display: block;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    padding: 18px;
    background: #ffffff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    color: #1f2937;
}

.blog-card p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 0.92rem;
}

.card-tag {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(46, 151, 183, 0.12);
    color: #1e3a8a;
    margin-bottom: 10px;
}

.blog-card.featured {
    border: 1px solid rgba(46, 151, 183, 0.35);
    background: linear-gradient(135deg, rgba(46, 151, 183, 0.08), rgba(233, 134, 50, 0.08));
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19, 141, 197, 0.35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

@media (max-width: 900px) {
    .blog-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .blog-hero-text {
        text-align: center;
    }

    .blog-cta-row {
        justify-content: center;
    }
}

.hero-static.timeline-mode .carousel-item.timeline-slide {
    height: calc(100vh - 120px);
    min-height: calc(100vh - 120px);
}

.hero-static.timeline-mode .carousel-item.timeline-slide .tl-container {
    height: calc(100vh - 120px);
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/BG (1).png');
    background-size: 110% 110%;
    background-position: center top;
    background-attachment: fixed;
    animation: heroZoom 8s ease-in-out forwards;
    opacity: 1;
    filter: none;
    z-index: 1;
}

@keyframes heroZoom {
    from {
        background-size: 110% 110%;
    }
    to {
        background-size: 100% 100%;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    padding: 0 2rem;
    text-align: center;
    color: white;
}

.hero-static .hero-content-wrapper {
    height: calc(100vh - 120px);
}

.carousel-item .center-content {
    max-width: 1100px;
    margin: 0 auto;
}

.carousel-item .tl-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 60vh;
}

.carousel-item.timeline-slide {
    background: #ffffff;
    height: auto;
    min-height: 0;
    position: relative;
    padding: 0;
}

.carousel-item.timeline-slide .tl-container {
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.carousel-item.timeline-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 0;
    background: #ffffff;
    z-index: 0;
}

.hero-carousel {
    position: relative;
    margin-top: 2.5rem;
}

.carousel-item {
    display: none;
}

.carousel-item.active {
    display: block;
}


.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.carousel-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.carousel-indicators .indicator.active {
    background: #ffffff;
}

.hero-static.timeline-mode .carousel-indicators .indicator {
    background: rgba(15, 23, 42, 0.25);
}

.hero-static.timeline-mode .carousel-indicators .indicator.active {
    background: #1e3a8a;
}

.hero-static .carousel-indicators {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    margin-top: 0;
    z-index: 5;
}


.main-heading {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.8rem, 5.2vw, 4.1rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.3rem;
    text-shadow: 0 12px 30px rgba(8, 15, 50, 0.5);
}

.sub-heading {
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.2rem;
    margin-bottom: 2.4rem;
}

.stat-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    font-size: 0.96rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.stat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
}

.btn-white {
    background: white;
    color: #000428;
    padding: 0.95rem 2.5rem;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 24px rgba(7, 17, 38, 0.3);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn-transparent {
    background: transparent;
    color: white;
    padding: 0.95rem 2.5rem;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: all 0.3s ease;
}

.btn-transparent:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    /* nav-menu handled by slide-in menu styles below */

    .hamburger {
        display: flex;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-cta {
        display: none;
        /* Hide CTA on mobile or move to menu */
    }

    .main-heading {
        font-size: 2rem;
    }

    .hero-static {
        height: 530px;
        min-height: 530px;
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .hero-static.timeline-mode {
        height: 530px;
        min-height: 530px;
        padding-top: 60px;
        padding-bottom: 30px;
    }

    .hero-background {
        top: 0;
        height: 100%;
    }

    .hero-static.timeline-mode .hero-background {
        display: none;
    }

    .hero-carousel {
        height: 420px;
    }

    .carousel-item {
        height: 420px;
        overflow: visible;
    }

    .carousel-item .tl-container {
        width: 100%;
        min-height: auto;
        height: 420px;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-static.timeline-mode .carousel-item.timeline-slide {
        height: 420px;
        min-height: auto;
        background: #ffffff;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-static.timeline-mode .carousel-item.timeline-slide::before {
        display: none;
    }

    .hero-static.timeline-mode .carousel-item.timeline-slide .tl-container {
        width: 100%;
        height: 420px;
        min-height: auto;
        margin-left: 0;
        margin-right: 0;
        background: #ffffff;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-static .carousel-indicators {
        bottom: -20px;
    }

    .stats-row {
        gap: 1rem;
    }

    .stat-pill {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-static .hero-content-wrapper {
        height: auto;
        min-height: auto;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .carousel-item.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-static .main-heading {
        font-size: 1.5rem !important;
        line-height: 1.3;
        margin-bottom: 0.4rem;
    }

    .hero-static .sub-heading {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }

    .hero-static .stats-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        margin-bottom: 0.6rem;
    }

    .hero-static .stat-pill {
        width: 100%;
        padding: 0.25rem 0.5rem;
        font-size: 0.72rem;
    }

    .hero-static .hero-actions {
        gap: 0.5rem;
        margin-top: 0.4rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .btn-white,
    .btn-transparent {
        width: 100%;
        max-width: 280px;
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Apart Section */
    .apart-bg {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    /* Section heading font sizes */
    .clients-partners .lbs-title,
    .partners__head .lbs-title {
        font-size: 1.5rem !important;
    }

    @media (max-width: 1100px) {
        .partners__head {
            grid-template-columns: 1fr;
            gap: 16px;
        }
    }

    .value-title {
        font-size: 1.5rem !important;
    }

    .apart-head h2 {
        font-size: 1.5rem !important;
    }

    .industries-head h2 {
        font-size: 1.5rem !important;
    }

    .flow-head h2 {
        font-size: 1.5rem !important;
    }

    .results-head h2 {
        font-size: 1.5rem !important;
    }

    #lbs .lbs-title {
        font-size: 1.5rem !important;
    }

    .cta-wrap h2 {
        font-size: 1.5rem !important;
    }

    .value-lead,
    .industries-head p,
    .results-head p,
    .apart-head p,
    .flow-head p,
    .cta-wrap p {
        font-size: 0.85rem !important;
    }

    /* Results Section */
    .results-section {
        padding: 3rem 0 4rem;
    }

    .results-bg {
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
    }

    .results-wrap {
        width: 92vw;
    }

    .results-head h2 {
        font-size: 1.5rem;
    }

    .results-head p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-image {
        height: 180px;
    }

    .result-body {
        padding: 12px;
    }

    .result-body h3 {
        font-size: 0.9rem;
    }

    .result-body p {
        font-size: 0.82rem;
    }

    .results-cta {
        margin-top: 1.2rem;
    }

    .results-button {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}


.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-orange);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary-gradient);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* About Section */
.about {
    padding: 50px 0px 0px 0px;
    position: relative;
    overflow: hidden;
}

.about-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.about .particles {
    z-index: 1;
}

#particles-lbs,
.particles-removed {
    display: none !important;
}

.about .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 3vw, 50px);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333333;
}

.section-subtitle {
    font-size: 16px;
    color: #666666;
    margin-bottom: 10px;
}

.about-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    /* grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); */
    gap: 2rem;
    margin-bottom: 5rem;
}

.about-card {
    padding: 20px;
    background: #ffffff;
    border-radius: 30px;
    border: 2px solid #E98632;
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 15px rgba(233, 134, 50, 0.1);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.15), transparent);
    transition: left 0.7s ease;
}

.about-card:hover::before {
    left: 100%;
}

.about-card:hover {
    transform: translateY(-20px) scale(1.03);
    border-color: #00d4ff;
    box-shadow: 0 30px 80px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), var(--card-bg));
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.about-card:hover .card-icon {
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 0.8));
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1.3) rotate(15deg);
    }

    50% {
        transform: scale(1.4) rotate(15deg);
    }
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.about-card:hover h3 {
    transform: translateX(10px);
    letter-spacing: 1px;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    transition: all 0.4s ease;
}

.about-card:hover p {
    color: rgba(24, 23, 23, 0.95);
    transform: translateY(5px);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.impact-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.impact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.impact-item:hover::before {
    left: 100%;
}

.impact-item:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), transparent);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.impact-item h3 {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.impact-item:hover h3 {
    transform: scale(1.15);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    letter-spacing: 2px;
}

.impact-item p {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.impact-item:hover p {
    color: rgba(255, 255, 255, 0.95);
    transform: translateY(3px);
}

/* Clients Section */
.clients {
    padding: 5px 0px;
    background: linear-gradient(180deg, transparent, rgba(237, 142, 57, 0.05), transparent);
}

.clients-grid {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem; */
    display: flex;
}

.client-card {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(237, 142, 57, 0.3);
}

.client-card img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.client-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Projects Section */
.projects {
    padding: 4rem 0;
}

.projects-page {
    padding: 10rem 0 5rem 0;
    min-height: 100vh;
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid #E98632;
    background: white;
    color: #333333;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Shine effect overlay */
.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.filter-btn:hover::before {
    left: 100%;
}

/* Background gradient overlay */
.filter-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
}

.filter-btn:hover::after {
    opacity: 1;
}

.filter-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(237, 142, 57, 0.35),
        0 0 20px rgba(19, 141, 197, 0.2);
    color: white;
    border-color: transparent;
}

.filter-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.filter-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(237, 142, 57, 0.3);
}

.filter-btn.active:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(237, 142, 57, 0.4),
        0 0 25px rgba(19, 141, 197, 0.25);
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); */
    gap: 2rem;
}

.project-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #138DC5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 414px;
    box-shadow: 0 4px 15px rgba(19, 141, 197, 0.1);
    position: relative;
}

/* Shine effect overlay */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 10;
    pointer-events: none;
}

.project-card:hover::before {
    left: 100%;
}

/* Gradient overlay on hover */
.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.03), rgba(19, 141, 197, 0.03));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(19, 141, 197, 0.25),
        0 0 40px rgba(237, 142, 57, 0.15);
    border-color: var(--primary-orange);
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.2), rgba(19, 141, 197, 0.2));
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
    position: relative;
    z-index: 2;
    background: #ffffff;
    transition: transform 0.3s ease;
}

.project-card:hover .project-content {
    transform: translateY(-5px);
}

.project-category {
    display: inline-block;
    padding: 8px;
    background: var(--primary-gradient);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover .project-category {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(237, 142, 57, 0.3);
}

.project-card h3 {
    font-size: 19px;
    margin-bottom: 7px;
    color: #666666;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: #138DC5;
}

.project-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.project-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 10px;
}

.metric-badge {
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--primary-orange);
    border: 1px solid rgba(237, 142, 57, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .metric-badge {
    background: rgba(237, 142, 57, 0.1);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* Methodology Section */
.methodology {
    background: linear-gradient(180deg, transparent, rgba(19, 141, 197, 0.05), transparent);
}

/* .methodology .section-subtitle {
    color: #000000 !important;
    font-weight: 600 !important;
    position: relative;
    z-index: 10;
} */

.methodology-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width: 468px) {
    .methodology-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--primary-gradient);
        transform: translateX(-50%);
    }
}



.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 55px;
    height: 55px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 10px 40px rgba(237, 142, 57, 0.5);
}

.timeline-content {
    flex: 1;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0 2rem;
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content p {
    color: var(--text-secondary);
}

/* Awards Section */
.awards {
    padding: 3.5rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: var(--ink-950);
}

#awards{
  scroll-margin-top: 120px;
}

@keyframes awardsGradientBg {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes waveFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
        opacity: 1;
    }
}

@keyframes bubblesFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

@keyframes sparkleGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes lineShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes confettiFall1 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translateY(100px) rotate(90deg);
        opacity: 1;
    }

    50% {
        transform: translateY(200px) rotate(180deg);
        opacity: 0.8;
    }

    75% {
        transform: translateY(100px) rotate(270deg);
        opacity: 1;
    }
}

@keyframes confettiFall2 {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    33% {
        transform: translateY(150px) rotate(120deg) scale(1.2);
        opacity: 1;
    }

    66% {
        transform: translateY(80px) rotate(240deg) scale(0.8);
        opacity: 0.8;
    }
}

@keyframes confettiFall3 {

    0%,
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.7;
    }

    50% {
        transform: translateY(180px) translateX(30px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-20px, 30px) scale(1.2);
        opacity: 1;
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(30px, -20px) scale(1.3);
        opacity: 0.9;
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    50% {
        transform: translate(-15px, -25px) scale(1.1);
        opacity: 0.8;
    }
}

.awards-wrap {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: left;
}

.awards-head {
    max-width: 800px;
    margin-bottom: 48px;
}

.awards-head .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--amber);
    text-transform: uppercase;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.awards-head .eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--amber);
}

.awards-head .section-h {
    margin: 0 0 20px;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
}

.awards-head .section-h em {
    font-style: italic;
    font-weight: 500;
    color: #f58a22;
}

.awards-head .section-sub {
    margin: 0;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-300);
    max-width: 720px;
}

@media (max-width: 720px) {
    .awards-wrap { padding: 0 20px; }
    .awards-head { margin-bottom: 36px; }
}

.garbha-award-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    padding: 1.4rem;
    border-radius: 20px;
    border: 2px solid #E98632;
}

.garbha-award-section:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(237, 142, 57, 0.4);
    border-color: var(--primary-orange);
}

/* .garbha-award-image {
    flex: 1;
} */

.garbha-award-image img {
    height: 380px;
    border-radius: 15px;
    object-fit: cover;
    transition: var(--transition);
}

.garbha-award-section:hover .garbha-award-image img {
    transform: scale(1.1);
}

/* .garbha-award-content {
    flex: 1;
} */

.garbha-award-content h3 {
    font-size: 40px;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* awards-head typography is now handled by .eyebrow / .section-h / .section-sub */

/* Ensure awards visible even if scroll animation JS fails */
.awards .animate-on-scroll {
    opacity: 1;
    transform: none;
}

.awards-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    user-select: none;
}

.awards-track {
    display: flex;
    gap: 16px;
    overflow: hidden;
    width: 100%;
}

.awards-marquee {
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.awards-marquee-track {
    display: flex;
    gap: 16px;
    min-width: max-content;
    animation: awardsMarquee 30s linear infinite;
}

.awards-marquee-track .award-card {
    min-width: 340px;
}

.award-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.2rem;
    border: 2px solid #ffffff;
    text-align: left;
    transition: var(--transition);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.award-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
    border-color: #f1f5f9;
}

.award-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 0.6rem;
    transition: var(--transition);
}

.award-card:hover img {
    transform: scale(1.03);
}

.award-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: #E98632;
}

.award-card p {
    font-size: 0.96rem;
    color: #6b7280;
}

@keyframes awardsMarquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .awards-marquee-track .award-card {
        min-width: 240px;
    }
}

@media (max-width: 700px) {
    .awards-slider {
        flex-direction: column;
    }
    .awards-marquee-track {
        animation-duration: 40s;
    }
}

/* Contact Section */
.contact {
    padding: 1rem 0;
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.1), rgba(19, 141, 197, 0.1));
}

/* Route-level loading spinner (shown by app/loading.tsx during slow compiles) */
/* In-flow placeholder for the route loader: the fixed overlay contributes no
   document height, so without this the footer sits at the viewport top while
   a page streams in, then leaps down when content arrives (CLS 0.5+). */
.route-loader-space { min-height: 100vh; }
.route-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 9998;
}
.route-loader__logo {
  width: clamp(52px, 12vw, 68px);
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  animation: route-loader-pulse 1.4s ease-in-out infinite;
}
@keyframes route-loader-pulse {
  0%, 100% { opacity: 0.5; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .route-loader__logo { animation: none; opacity: 1; }
}

/* Contact Modal */
.contact-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.contact-modal.is-open {
    display: flex;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 16, 0.7);
    backdrop-filter: blur(4px);
}

.contact-modal .contact-form-wrapper {
    position: relative;
    z-index: 1;
    width: min(520px, 92vw);
    align-self: center;
    max-height: 90vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(19, 141, 197, 0.15);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    padding: 28px 28px 24px;
    /* override unscoped .contact-form-wrapper flex / sizing defaults */
    flex: 0 0 auto;
    min-width: 0;
    max-width: min(520px, 92vw);
}
/* Desktop and above: let the contact form use the full viewport height,
   and a narrower box. */
@media (min-width: 721px) {
    .contact-modal .contact-form-wrapper {
        max-height: 100vh;
        width: min(460px, 92vw);
        max-width: min(460px, 92vw);
    }
}
.contact-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: #555555;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}
.contact-modal__close:hover,
.contact-modal__close:focus-visible {
    background: rgba(15, 23, 42, 0.08);
    color: #111111;
}
.contact-modal__close svg {
    width: 20px;
    height: 20px;
    display: block;
}
.contact-modal .form-style {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1625;
    margin: 0 0 18px;
}
.contact-modal .form-group label {
    color: #1a1625;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.contact-modal .form-group input,
.contact-modal .form-group textarea {
    background: #ffffff;
    border: 1.5px solid #e7e4dd;
    color: #1a1625;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    padding: 10px 12px;
    min-height: 44px; /* >=44px touch target */
    border-radius: 8px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-modal .form-group input::placeholder,
.contact-modal .form-group textarea::placeholder {
    color: #9ca3af;
}
.contact-modal .form-group input:focus,
.contact-modal .form-group textarea:focus {
    outline: none;
    border-color: #f58a22;
    box-shadow: 0 0 0 3px rgba(245, 138, 34, 0.12);
}
.contact-modal .contact-form .btn,
.contact-modal .contact-form .btn-primary {
    margin-top: 8px;
    background: #f58a22 !important;
    color: #ffffff !important;
    border: 0;
    padding: 12px 22px;
    min-height: 44px; /* >=44px touch target */
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background 160ms ease;
}
.contact-modal .contact-form .btn:hover,
.contact-modal .contact-form .btn-primary:hover {
    background: #d97612 !important;
}
.contact-modal .is-hidden { display: none !important; }
/* Mobile: smaller "Send Message" button text. Overrides the 1.5rem !important
   submit-button rule further down in styles.css. */
@media (max-width: 720px) {
    .contact-modal .contact-form .btn-primary,
    .contact-modal .contact-form button[type="submit"] {
        font-size: 14px !important;
        padding: 12px 18px !important;
    }

    /* Keep the form scrollable when it's taller than the viewport, but hide
       the visible scrollbar so it doesn't show that scrolling bar on mobile. */
    .contact-modal .contact-form-wrapper {
        max-height: 80vh;
        scrollbar-width: none;        /* Firefox */
        -ms-overflow-style: none;     /* legacy Edge/IE */
    }
    .contact-modal .contact-form-wrapper::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;                /* Chrome / Safari */
    }

    /* Reduce the contact form font sizes on mobile. */
    .contact-modal .contact-form-wrapper .form-style {
        font-size: 14px;
    }
    .contact-modal .contact-form-wrapper .form-group label {
        font-size: 0.68rem;
    }
    .contact-modal .contact-form-wrapper .form-group input,
    .contact-modal .contact-form-wrapper .form-group textarea {
        font-size: 11px;
    }

    /* Make the contact form more compact (shorter) on mobile. */
    .contact-modal .contact-form-wrapper {
        padding: 18px 18px 16px;
    }
    .contact-modal .contact-form-wrapper .form-style {
        margin: 0 0 10px;
    }
    .contact-modal .contact-form-wrapper .contact-form {
        gap: 0.55rem;
    }
    .contact-modal .contact-form-wrapper .form-group label {
        margin-bottom: 2px;
    }
    .contact-modal .contact-form-wrapper .form-group input,
    .contact-modal .contact-form-wrapper .form-group textarea {
        min-height: 34px;
        padding: 6px 10px;
    }
    .contact-modal .contact-form-wrapper .form-group textarea {
        min-height: 64px;
    }
    .contact-modal .contact-form .btn,
    .contact-modal .contact-form .btn-primary,
    .contact-modal .contact-form button[type="submit"] {
        min-height: 36px;
        padding: 9px 16px !important;
    }
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */
    gap: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}


.contact-flex-card>* {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 15px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-orange);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 1.5rem;
}

/* Address Styles */
.address {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(19, 141, 197, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    flex: 3;
    min-width: 70%;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.address .footer-locations {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.address .footer-locations h3 {
    font-size: 1.8rem;
    margin-bottom: 4px;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.address .map-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(19, 141, 197, 0.2);
    transition: all 0.3s ease;
}

.address .map-container:hover {
    border-color: rgba(19, 141, 197, 0.5);
    box-shadow: 0 12px 30px rgba(19, 141, 197, 0.3);
    transform: translateY(-5px);
}

.address .location-map {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.address .locations-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex: 1;
    align-items: stretch;
}

.address .map-image-container {
    flex: 1;
    min-width: 250px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.address .map-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.address .locations-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-evenly;
}

.contact-icon-new {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #ED8E39;
}

.address .location-item-new {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 4px solid #ED8E39;
    transition: all 0.3s ease;
}

.address .location-item-new:hover {
    background: #e8f4f8;
    border-left-color: #228DBE;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.address .location-pin {
    width: 10px;
    height: 10px;
    background: #ED8E39;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.address .location-content h4 {
    font-size: 1.1rem;
    color: #ED8E39;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.address .location-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    font-weight: 500;
}

/* Contact Form Styles */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid rgba(237, 142, 57, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    order: 0;
    flex: 0.6;
    max-width: 450px;
    min-width: min(380px, 92vw);
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #666666;
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(237, 142, 57, 0.2);
    border-radius: 8px;
    /* color: var(--text-primary); */
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(237, 142, 57, 0.2),
        0 4px 12px rgba(237, 142, 57, 0.15);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.4;
}

.contact-form button[type="submit"] {
    margin-top: 1rem;
    width: 100%;
    padding: 15px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    background-color: wheat;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(237, 142, 57, 0.4);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-1px);
}

/* Form validation states */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(255, 0, 0, 0.5);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: rgba(0, 255, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #3b8ec4 0%, #b88a5c 100%);
    /* padding: 20px 0 0; */
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(237, 142, 57, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(19, 141, 197, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    /* display: grid; */
    /* grid-template-columns: repeat(3, 1fr); */
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 20px auto;
    padding: 40px;
    position: relative;
    z-index: 1;
    background: rgb(243 243 242);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thank You Section */
.footer-thank-you {
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.3), rgba(19, 141, 197, 0.3));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.footer-logo-section {
    margin-bottom: 1.5rem;
}

.footer-logo-section img {
    height: 50px;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2rem;
}

.footer-thank-you h2 {
    color: white;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.footer-thank-you p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 500;
}

/* Connect Section */
.footer-connect h3 {
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.connect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.connect-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(237, 142, 57, 0.2);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.connect-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(237, 142, 57, 0.5);
    box-shadow: 0 15px 40px rgba(237, 142, 57, 0.3);
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.connect-item:hover .social-icon {
    transform: rotate(10deg) scale(1.1);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

/* Get in Touch Section */
.footer-touch h3 {
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.touch-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.touch-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.touch-icon {
    color: #ED8E39;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.touch-item a {
    color: #ED8E39;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.touch-item a:hover {
    color: #ED8E39;
}

.brand-partner-inline {
    margin-left: 20px;
    padding: 9px;
    filter: brightness(0) invert(1);

}

.brand-label {
    color: rgba(248, 242, 242, 0.7);
    font-size: 7px;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 70px;
}

/* Our Locations Section */
.footer-locations {
    /* grid-column: 1 / -1; */
    /* padding-top: 2rem; */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* width: 700px; */
}

.footer-locations h3 {
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.location {
    display: flex;
    flex-direction: column;
    gap: 2.3rem;
    align-items: center;
    max-width: 450px;
    padding-top: 40px;
}

.location .map-image-container {
    width: 100%;
    max-width: 450px;
    max-height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.location .map-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.location-item-new {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid #138DC5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.location-item-new1 {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 3px solid #ED8E39;
    transition: all 0.3s ease;
    display: flex;
    width: 100%;
}

.location-item-new1:hover {
    background: #e8f4f8;
    border-left-color: #228DBE;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

}

.location-content1 h4 {
    font-size: 1.4rem;
    color: #ED8E39;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.location-item-new:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
    border-color: #ED8E39;
    box-shadow: 0 10px 30px rgba(237, 142, 57, 0.2);
}

.location-pin {
    width: 12px;
    height: 12px;
    background: #ED8E39;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(237, 142, 57, 0.2);
    transition: all 0.3s ease;
}

.location-pin1 {
    width: 12px;
    height: 12px;
    background: #ED8E39;
    border-radius: 50%;
    margin-top: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(237, 142, 57, 0.2);
    transition: all 0.3s ease;
}

.location-item-new:hover .location-pin {
    box-shadow: 0 0 0 6px rgba(237, 142, 57, 0.3);
    transform: scale(1.2);
}

.location-content h4 {
    color: #138DC5;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.location-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer Social Media and Brand Partners Combined Section */
.footer-social-brand-combined {
    background: linear-gradient(135deg, rgba(19, 141, 197, 0.08) 0%, rgba(237, 142, 57, 0.08) 100%);
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-brand-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-social-content {
    display: flex;
    align-items: center;
}

.footer-social-content .connect-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.footer-social-content .connect-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 7px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-content .connect-item:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 25px rgba(237, 142, 57, 0.3);
}

.footer-social-content .social-icon {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer-social-content .connect-item:hover .social-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Vertical Divider */
.vertical-divider {
    width: 2px;
    height: 60px;
    background: linear-gradient(180deg, rgba(237, 142, 57, 0.3), rgba(19, 141, 197, 0.3));
    border-radius: 2px;
    flex-shrink: 0;
}

/* Brand Partners Content */
.brand-partners-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

/* .brand-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
} */

.partner-logo-inline {
    max-width: 130px;
    height: auto;
    background: white;
    padding: 12px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo-inline:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(237, 142, 57, 0.3);
}

.partner-logo {
    height: 50px;
}

/* Accreditation Section */
.footer-accreditation {
    background: linear-gradient(135deg, #3b8ec4 0%, #b88a5c 100%);
    /* padding: 20px 5px; */
    border-top: 1px solid rgba(255, 255, 255, 0.2);

}

.accreditation-content h4 {
    color: white;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.accreditation-logos img {
    height: 50px;
    background: white;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.accreditation-logos img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .connect-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .locations-container {
        grid-template-columns: 1fr;
    }

    .locations-list {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 10px;
        border-radius: 16px;
        align-items: center;
        text-align: center;
    }

    .footer.footer-simple .footer-main {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0.75rem 0;
        gap: 1.5rem;
        align-items: flex-start;
        text-align: left;
        box-sizing: border-box;
    }

    .footer.footer-simple .footer-col:last-child {
        grid-column: auto;
    }

    .footer-thank-you h2 {
        font-size: 32px;
    }

    .connect-grid {
        grid-template-columns: 1fr;
    }

    .accreditation-logos {
        gap: 1rem;
    }

    .accreditation-logos img {
        height: 40px;
    }

    .locations-list {
        grid-template-columns: 1fr;
    }

    /* Responsive styles for combined footer section */
    .footer-social-brand-combined {
        padding: 25px 15px;
    }

    .social-brand-container {
        flex-direction: column;
        gap: 2rem;
    }

    .vertical-divider {
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, rgba(237, 142, 57, 0.3), rgba(19, 141, 197, 0.3));
    }

    .footer-social-content {
        width: 120px;
        margin-right: 30px;
    }

    .footer-social-content .connect-grid {
        gap: 0.8rem;
        flex-wrap: wrap;
    }


    .footer-social-content .social-icon {
        width: 20px;
        height: 20px;
    }

    /* .footer-social-content .connect-item {
        padding: 10px;
    } */

    .brand-partners-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .partner-logo-inline {
        max-width: 145px;
        padding: 10px 20px;
    }

    .partner-logo {
        height: 35px;
    }
}


.mobile {
    display: none;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    max-width: 80vw;
    margin: 2rem auto;
    background: var(--dark-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.modal-body {
    padding: 3rem;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-video {
    width: 100%;
    border-radius: 20px;
    margin: 2rem 0;
}

.modal-details {
    display: grid;
    gap: 2rem;
}

/* Case Image Modal */
.image-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.image-modal.is-open {
    display: block;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 16, 42, 0.72);
}

.image-modal-content {
    position: relative;
    max-width: 500px;
    width: min(88vw, 500px);
    margin: 4vh auto 0;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
    animation: modalSlideIn 0.25s ease;
    max-height: 90vh;
    overflow: auto;
}

.image-modal-content img {
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    transition: transform 0.1s ease;
}

.image-modal-caption {
    margin: 0.6rem 0 0;
    text-align: center;
    color: #374151;
    font-weight: 600;
}

.image-modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: #ffffff;
    color: #111827;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.2);
    z-index: 2;
    pointer-events: auto;
}

.image-modal-close:hover {
    transform: translateY(-1px);
}

.modal-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-section p,
.modal-section ul {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-section ul {
    list-style-position: inside;
    margin-left: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .methodology-timeline::before {
        left: 40px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-content {
        margin-left: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        background: linear-gradient(180deg, #03061a 0%, #0a1232 100%);
        width: 75%;
        max-width: 300px;
        height: 100vh;
        text-align: left;
        transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        padding: 80px 1.5rem 2rem;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.4);
        list-style: none;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        color: #ffffff;
        font-size: 1.5rem !important;
        font-weight: 500;
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
        text-align: left;
        transition: color 0.3s ease, padding-left 0.3s ease;
    }

    .nav-menu .nav-link:hover {
        color: #ed8e39;
        padding-left: 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }

    .nav-cta {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: -100%;
        width: 75%;
        max-width: 300px;
        padding: 1rem 1.5rem;
        background: #03061a;
        z-index: 1000;
        transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .nav-menu.active ~ .nav-cta,
    body.menu-open .nav-cta {
        left: 0;
    }

    .nav-cta .btn-consultation {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span {
        background: #ffffff;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* Mobile dropdown styles */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        display: none;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        border-radius: 8px;
        margin: 0.5rem 0;
        padding: 0.5rem 0;
    }

    .nav-dropdown:hover .dropdown-content {
        display: block;
    }

    .nav-dropdown:focus-within .dropdown-content {
        display: block;
    }

    .nav-dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 0.7rem 1.2rem;
        border-left: none;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.9rem;
        font-weight: 400;
        display: block;
    }

    .dropdown-content a:hover {
        background: rgba(237, 142, 57, 0.15);
        color: #ed8e39;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .garbha-award-section {
        flex-direction: column;
    }

    .garbha-award-image {
        width: 100%;
    }

    .garbha-award-image img {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 0px 15px 15px 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .modal-body {
        padding: 2rem 1rem;
    }

    .garbha-award-content h3 {
        font-size: 1.5rem;
    }

    /* Contact form responsive */
    .contact-content {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
        order: 1;
    }

    .contact-item {
        justify-content: center;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }
}

.contact-flex-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: stretch;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.btn.btn-primary {
    background: #ffffff !important;
    color: #0f1318;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }


    .contact-flex-card {
        display: flex;
        flex-direction: column;
        /* justify-content: space-between; */
        /* grid-template-columns: 1fr 1fr; */
        /* gap: 3rem; */
        align-items: stretch;
        flex-wrap: wrap;
        padding-bottom: 20px;
    }




    /* Contact form mobile */
    .contact-content {
        padding: 2rem 1.5rem;
    }

    .contact-flex-card {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-flex-card>* {
        min-width: 100%;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
        order: 0;
    }

    .address {
        padding: 1.5rem;
    }

    .address .footer-locations h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .address .map-container {
        margin-bottom: 1.5rem;
        border-radius: 8px;
    }

    /* Location section mobile */
    .location {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .location .map-image-container {
        max-width: 100%;
    }

    .location-item-new1 {
        max-width: 100%;
    }

    .location-content1 h4 {
        font-size: 1.rem;
    }

    .address .locations-grid {
        flex-direction: column;
    }

    .address .map-image-container {
        max-width: 100%;
        min-width: auto;
    }

    .address .location-item-new {
        flex-direction: row;
        padding: 0.6rem 0.8rem;
        gap: 0.6rem;
    }

    .address .location-content h4 {
        font-size: 1.5rem !important;
    }

    .address .location-content p {
        font-size: 0.75rem;
    }

    .address .location-pin {
        width: 8px;
        height: 8px;
        margin-top: 5px;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .contact-form button[type="submit"] {
        padding: 1rem;
        font-size: 1.5rem !important;
    }

    .hero-stats {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0px;
        gap: 13px;

    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-item {
        padding: 0px;
        width: 150px;
        border-radius: 10px;
        border: 1px solid #E98632;
    }

    /* .view-projects{
        display:none;
    } */
    .hero-buttons {
        display: none;
    }

    .hero-subtitle {
        margin: 10px 0px;
    }

    .hero-content {
        height: 100vh;
        height: 100dvh;
        /* Dynamic viewport height for mobile browsers */
    }

    .hero {
        height: 90vh;

    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-orange);
}

/* Journey Container Styles */
.journey-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 40px;
    position: relative;
}

.journey-title {
    font-size: 45px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.road-container {
    position: relative;
    height: 400px;
    margin: 60px 50px;
}

.road {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 80px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #E98632 0%, #C2945A 35%, #6C8C87 70%, #228DBE 100%);
    border-radius: 60px;
    box-shadow:
        0 10px 40px rgba(237, 142, 57, 0.3),
        0 20px 60px rgba(19, 141, 197, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.road::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.8) 0px,
            rgba(255, 255, 255, 0.8) 30px,
            transparent 30px,
            transparent 60px);
    transform: translateY(-50%);
    animation: roadMove 3s linear infinite;
}

@keyframes roadMove {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(60px);
    }
}

.milestone {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.milestone:hover {
    transform: translateY(-50%) scale(1.1);
}

.milestone-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.milestone-marker::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.milestone-icon {
    font-size: 32px;
    color: white;
}

.milestone-content {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(237, 142, 57, 0.5);
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 180px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.milestone-year {
    font-size: 14px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 5px;
}

.milestone-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.milestone-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Milestone positioning */
.milestone:nth-child(1) {
    left: 5%;
}

.milestone:nth-child(2) {
    left: 21%;
}

.milestone:nth-child(3) {
    left: 37%;
}

.milestone:nth-child(4) {
    left: 53%;
}

.milestone:nth-child(5) {
    left: 69%;
}

.milestone:nth-child(6) {
    left: 85%;
}

.milestone:nth-child(even) .milestone-content {
    bottom: auto;
    top: 120px;
}

.tech-stack-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding: 25px;
    background: rgba(30, 30, 40, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(237, 142, 57, 0.3);
    flex-wrap: wrap;
    gap: 15px;
}

.tech-badge {
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.2), rgba(19, 141, 197, 0.2));
    border: 1px solid rgba(237, 142, 57, 0.5);
    border-radius: 25px;
    padding: 8px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(237, 142, 57, 0.4);
}

/* Responsive Design */
@media (max-width: 968px) {
    .road-container {
        height: auto;
        min-height: 1200px;
        margin: 60px 20px;
        display: flex;
        justify-content: center;
    }

    .road {
        position: absolute;
        top: 0;
        left: 50%;
        right: auto;
        bottom: 0;
        width: 80px;
        height: 100%;
        transform: translateX(-50%);
        background: linear-gradient(180deg,
                var(--primary-orange) 0%,
                var(--secondary-blue) 50%,
                var(--primary-blue) 100%);
        border-radius: 60px;
    }

    .road::before {
        top: 0;
        left: 50%;
        right: auto;
        bottom: 0;
        width: 6px;
        height: 100%;
        background: repeating-linear-gradient(180deg,
                rgba(255, 255, 255, 0.8) 0px,
                rgba(255, 255, 255, 0.8) 30px,
                transparent 30px,
                transparent 60px);
        transform: translateX(-50%);
        animation: roadMoveVertical 3s linear infinite;
    }

    @keyframes roadMoveVertical {
        0% {
            transform: translateX(-50%) translateY(0);
        }

        100% {
            transform: translateX(-50%) translateY(60px);
        }
    }

    .milestone {
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 500px;
    }

    .milestone:nth-child(2) {
        top: 50px;
    }

    .milestone:nth-child(3) {
        top: 230px;
    }

    .milestone:nth-child(4) {
        top: 410px;
    }

    .milestone:nth-child(5) {
        top: 590px;
    }

    .milestone:nth-child(6) {
        top: 770px;
    }

    .milestone:nth-child(7) {
        top: 950px;
    }

    .milestone-marker {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 5;
    }

    .milestone-content {
        position: relative !important;
        bottom: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin-left: calc(50% + 60px);
        width: calc(50% - 80px);
        min-width: 180px;
    }

    .milestone:nth-child(even) .milestone-content {
        margin-left: 0;
        margin-right: calc(50% + 60px);
        bottom: auto !important;
        top: auto !important;
    }

    .journey-title {
        font-size: 2rem;
    }

    .tech-stack-row {
        flex-direction: column;
        align-items: center;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: inline;
    }
}

@media (max-width: 480px) {
    .journey-container {
        padding: 20px;
    }

    .journey-title {
        font-size: 1.5rem;
    }

    .road-container {
        margin: 40px 10px;
        min-height: 1400px;
    }

    .road {
        width: 60px;
    }

    .milestone-marker {
        width: 60px;
        height: 60px;
    }

    .milestone-icon {
        font-size: 24px;
    }

    .milestone-content {
        min-width: 140px;
        padding: 10px 15px;
        font-size: 1.5rem !important;
        margin-left: calc(50% + 45px);
        width: calc(50% - 55px);
    }

    .milestone:nth-child(even) .milestone-content {
        margin-left: 0;
        margin-right: calc(50% + 45px);
    }

    .milestone-year {
        font-size: 12px;
    }

    .milestone-title {
        font-size: 11px;
    }

    .milestone-desc {
        font-size: 10px;
    }
}


.drishti-journey-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
}

.drishti-journey-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.drishti-road-container {
    position: relative;
    width: 120px;
    height: 600px;
    margin: 60px auto;
}

.drishti-road {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 60px;
    height: 770px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #E98632 0%, #C2945A 35%, #6C8C87 70%, #228DBE 100%);
    border-radius: 60px;
    box-shadow:
        0 10px 40px rgba(237, 142, 57, 0.3),
        0 20px 60px rgba(19, 141, 197, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.drishti-road::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 6px;
    height: 100%;
    top: 0;
    transform: translateX(-50%);
    background: repeating-linear-gradient(180deg,
            rgba(255, 255, 255, 0.8) 0px,
            rgba(255, 255, 255, 0.8) 30px,
            transparent 30px,
            transparent 60px);
    animation: drishti-roadMoveVertical 3s linear infinite;
}

@keyframes drishti-roadMoveVertical {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-50%) translateY(60px);
    }
}

.drishti-milestone {
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.drishti-milestone:hover {
    transform: translateX(-50%) scale(1.1);
}

/* Milestone positioning - vertically */
.drishti-milestone:nth-child(2) {
    top: 0%;
}

.drishti-milestone:nth-child(3) {
    top: 15%;
}

.drishti-milestone:nth-child(4) {
    top: 30%;
}

.drishti-milestone:nth-child(5) {
    top: 45%;
}

.drishti-milestone:nth-child(6) {
    top: 60%;
}

.drishti-milestone:nth-child(7) {
    top: 75%;
}

.drishti-milestone-marker {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.drishti-milestone-marker::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: drishti-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes drishti-ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.drishti-milestone-icon {
    font-size: 32px;
    color: white;
}

.drishti-milestone-content {
    position: absolute;
    left: 130px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 30, 0.95);
    border: 1px solid rgba(237, 142, 57, 0.5);
    border-radius: 12px;
    padding: 15px 20px;
    min-width: 180px;
    text-align: left;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.drishti-milestone:nth-child(even) .drishti-milestone-content {
    left: auto;
    right: 130px;
    text-align: right;
}

.drishti-milestone-year {
    font-size: 14px;
    color: var(--primary-orange);
    font-weight: 700;
    margin-bottom: 5px;
}

.drishti-milestone-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.drishti-milestone-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 968px) {
    .drishti-road-container {
        height: 800px;
    }

    .drishti-milestone {
        margin: 40px 0;
    }

    .drishti-journey-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .drishti-journey-container {
        padding: 20px;
    }

    .drishti-journey-title {
        font-size: 1.5rem;
    }

    .drishti-milestone-marker {
        width: 60px;
        height: 60px;
    }

    .drishti-milestone-icon {
        font-size: 24px;
    }

    .drishti-milestone-content {
        min-width: 120px;
        padding: 10px 12px;
        left: 90px;
    }

    .drishti-milestone:nth-child(even) .drishti-milestone-content {
        right: 90px;
    }
}

.video-set {
    width: 100%;
    border-radius: 4px;
}

.project-details-page {
    min-height: 100vh;
    /* background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%); */
    background-color: #f3f3f2;
    padding-top: 100px;
}

.project-details-container {
    margin: 40px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 3px solid rgba(237, 142, 57, 0.2);
    border-radius: 20px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ED8E39;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.back-button:hover {
    transform: translateX(-5px);
}

.project-header {
    margin: 5px;
}

/* Styles moved to .project-left-column .project-header */
.project-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ED8E39, #f4a261);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-title {
    font-size: 20px;
    font-weight: 800;
    color: rgb(6, 6, 6);
    margin-bottom: 10px;
    line-height: 1.2;
}

.project-description {
    font-size: 13px;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-metrics-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.metric-badge {
    background: rgba(19, 141, 197, 0.2);
    border: 1px solid #138DC5;
    color: #138DC5;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.project-video-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(237, 142, 57, 0.2);
    border-radius: 20px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.project-video-section h2 {
    font-size: 20px;
    color: #248dbc;
    margin-bottom: 15px;
    font-weight: 700;
}

.video-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-container video,
.video-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Two-column layout wrapper */
.project-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 0;
}

.project-left-column {
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-left-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-left-column .project-header {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(237, 142, 57, 0.2);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    margin-bottom: 0;
}

.project-left-column #videoSection {
    width: 100%;
}

.project-left-column .video-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.project-left-column video,
.project-left-column img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    display: block;
}

.project-right-column {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(100vh - 200px);
    padding-right: 10px;
}

.project-right-column::-webkit-scrollbar {
    width: 8px;
}

.project-right-column::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.project-right-column::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    border-radius: 10px;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.detail-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(237, 142, 57, 0.2);
    border-radius: 12px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

/* Mobile responsive - stack vertically */
@media (max-width: 1024px) {
    .project-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-left-column {
        position: relative;
    }

    .project-left-content {
        gap: 15px;
    }

    .project-right-column {
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
    }

    .project-details-container {
        margin: 20px;
        padding: 15px;
    }
}

.detail-section h2 {
    font-size: 18px;
    color: #ED8E39;
    margin-bottom: 10px;
    font-weight: 700;
}

.detail-section p {
    font-size: 13px;
    color: #666666;
    line-height: 1.5;
}

.technologies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tech-badge {
    background: linear-gradient(135deg, #138DC5, #0d6b94);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .project-title {
        font-size: 28px;
    }

    .project-header,
    .project-video-section,
    .detail-section {
        padding: 20px;
    }

    .detail-section h2 {
        font-size: 20px;
    }

    .detail-section p {
        font-size: 13px;
    }
}

/* Research Papers Section - Slide Content */
.slide-content {
    /* background: rgb(0 0 0 / 15%); */
    backdrop-filter: blur(10px);
    border-radius: 30px;
    /* margin: 40px auto; */
    max-width: 1400px;
    position: relative;
    overflow: hidden;
}

.slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(237, 142, 57, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(19, 141, 197, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.slide-content>* {
    position: relative;
    z-index: 1;
}

/* Research Papers Grid */
.research-papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 25px;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Research Paper Card */
.research-paper-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.research-paper-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgb(42 40 40 / 80%), rgba(19, 141, 197, 0.05)); */
    background: rgb(0 0 0 / 15%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.research-paper-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.research-paper-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(237, 142, 57, 0.3),
        0 0 40px rgba(19, 141, 197, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-color: rgba(237, 142, 57, 0.5);
}

.research-paper-card:hover::before {
    opacity: 1;
}

.research-paper-card:hover::after {
    left: 100%;
}

/* Paper Icon */
.paper-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.2), rgba(19, 141, 197, 0.2));
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.research-paper-card:hover .paper-icon {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.4), rgba(19, 141, 197, 0.4));
    box-shadow: 0 10px 30px rgba(237, 142, 57, 0.3);
}

/* Paper Title */
.research-paper-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #666666;
    line-height: 1.4;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.research-paper-card:hover h3 {
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Paper Badge */
.paper-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 20px;
    align-self: flex-start;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(237, 142, 57, 0.3);
}

.research-paper-card:hover .paper-badge {
    transform: translateX(10px);
    box-shadow: 0 6px 25px rgba(237, 142, 57, 0.5);
    background: linear-gradient(135deg, #138DC5, #ED8E39);
}

/* Staggered Animation for Cards */
.research-paper-card:nth-child(1) {
    animation-delay: 0.1s;
}

.research-paper-card:nth-child(2) {
    animation-delay: 0.2s;
}

.research-paper-card:nth-child(3) {
    animation-delay: 0.3s;
}

.research-paper-card:nth-child(4) {
    animation-delay: 0.4s;
}

.research-paper-card:nth-child(5) {
    animation-delay: 0.5s;
}

.research-paper-card:nth-child(6) {
    animation-delay: 0.6s;
}

.research-paper-card:nth-child(7) {
    animation-delay: 0.1s;
}

.research-paper-card:nth-child(8) {
    animation-delay: 0.2s;
}

.research-paper-card:nth-child(9) {
    animation-delay: 0.3s;
}

.research-paper-card:nth-child(10) {
    animation-delay: 0.4s;
}

.research-paper-card:nth-child(11) {
    animation-delay: 0.5s;
}

.research-paper-card:nth-child(12) {
    animation-delay: 0.6s;
}

.research-paper-card {
    animation: fadeInUp 0.6s ease-out both;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .research-papers-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 18px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        margin: 20px;
        border-radius: 20px;
    }

    .research-papers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0px;
    }

    .research-paper-card {
        padding: 18px;
    }

    .paper-icon {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
    }

    .research-paper-card h3 {
        font-size: 0.95rem;
    }

    .slide-content h2 {
        font-size: 2rem !important;
        padding: 0 20px;
    }

    .slide-content p {
        font-size: 1rem !important;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .research-paper-card {
        padding: 16px;
    }

    .paper-icon {
        font-size: 1.6rem;
        width: 42px;
        height: 42px;
    }

    .research-paper-card h3 {
        font-size: 0.9rem;
    }

    .paper-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}


/* London Business School Section - Updated to match website theme */
.lbs-wrap {
    width: 100%;
    /* background: linear-gradient(135deg, rgba(237, 142, 57, 0.1), rgba(19, 141, 197, 0.1)); */
    padding: 20px 20px;
    box-sizing: border-box;
    /* background-image:linear-gradient(rgba(255, 255, 255, 0.)),url('https://png.pngtree.com/thumb_back/fh260/background/20210923/pngtree-geometric-line-stereo-style-pink-abstract-background-image_904647.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

/* Header */
.lbs-head {
    max-width: 1400px;
    margin: 0 auto 40px;
    text-align: center;
}

.lbs-title {
    margin: 0 0 20px;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lbs-lead {
    margin: 0;
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Cases Slider Container */
.cases-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 60px;
    overflow: visible;
}

/* Case studies image grid - Centered */
.cases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    padding: 30px 20px 80px;
}

.cases .case {
    min-width: 0;
}


/* Responsive cases slider */
@media (max-width: 992px) {
    .cases-slider-container {
        padding: 0 50px;
    }

    .cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
        padding: 24px 10px 64px;
    }
}

@media (max-width: 768px) {
    .cases-slider-container {
        padding: 0 40px;
    }

    .cases {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 18px 10px 56px;
    }

}

/* Cards */
.case {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(237, 142, 57, 0.2);
    /* border-radius: 16px; */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 450px;
    max-height: 600px;
    position: relative;
    transform-origin: center center;
    z-index: 1;
}

.case:hover {
    transform: scale(1.26);
    border-color: rgba(237, 142, 57, 0.6);
    box-shadow: 0 20px 60px rgba(237, 142, 57, 0.3),
        0 0 40px rgba(19, 141, 197, 0.2);
    z-index: 5;
}

.case img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: rgba(10, 10, 10, 0.5);
    transition: transform 0.4s ease;
}

.case:hover img {
    transform: scale(1);
}

/* Captions */

/* Responsive Design for LBS Section */
@media (max-width: 768px) {
    .lbs-wrap {
        padding: 60px 15px;
    }

    .lbs-title {
        font-size: 2rem;
    }

    .lbs-lead {
        font-size: 0.85rem !important;
    }

    .cases {
        gap: 20px;
        padding: 0 10px;
    }

    .case {
        max-width: 100%;
    }

    .case img {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .lbs-title {
        font-size: 1.75rem;
    }

    .case img {
        height: 240px;
    }

}

/* ── MOBILE ONLY (≤720px): LBS cases scroll as a continuous horizontal
   marquee. Scoped to #lbs so no other ".cases" grid is affected. The
   duplicated track is rendered in LbsCaseStudies.tsx on mobile. ── */
@media (max-width: 720px) {
    #lbs .cases-slider-container {
        padding: 0;
        overflow: hidden;
    }

    #lbs .cases.cases--marquee {
        display: block;
        overflow: hidden;
        padding: 18px 0 40px;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
                mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
    }

    #lbs .cases--marquee .lbs-marquee__track {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        gap: 20px;
        animation: lbs-cases-marquee 26s linear infinite;
        will-change: transform;
    }

    #lbs .cases--marquee .case {
        flex: 0 0 78vw;
        max-width: 78vw;
        margin: 0;
    }

    /* No hover-zoom inside the moving track. */
    #lbs .cases--marquee .case:hover {
        transform: none;
        box-shadow: none;
    }

    /* Pause while touched so a card can be tapped to open the lightbox. */
    #lbs .cases--marquee:active .lbs-marquee__track {
        animation-play-state: paused;
    }
}

/* gap is 20px, so -50% lands half a gap (10px) short of the first clone. */
@keyframes lbs-cases-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 10px)); }
}

/* Clients & Partners Section - Updated to match website theme */
.cp-wrap {
    width: 100%;
    background: #ffffff;
    padding: 2.5rem 2rem 2.2rem;
    box-sizing: border-box;
}

/* Header */
.partners__head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 32px;
    margin-bottom: 48px;
}

.partners {
    background: #ffffff;
    padding: 96px 0;
    font-family: var(--sans);
}

#partners-section{
  scroll-margin-top: 120px;
}

.partners .eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: var(--amber);
    text-transform: uppercase;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.partners .eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--amber);
}

.partners .section-h {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    color: var(--ink-900);
}

.partners .section-h em {
    font-style: italic;
    font-weight: 500;
    color: var(--ink-900);
}

.partners .section-sub {
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink-700);
    max-width: 720px;
    margin: 0;
}

@media (max-width: 720px) {
    .partners { padding: 64px 0; }
}

.partners__marquees { position: relative; }
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 96px, #000 calc(100% - 96px), transparent 100%);
}
.marquee + .marquee { margin-top: 14px; }
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  will-change: transform;
  animation: marquee-l 70s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track {
  animation-name: marquee-r;
  animation-duration: 75s;
}
@keyframes marquee-l {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-r {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}
.ptn {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 28px;
  min-width: 248px;
  height: 92px;
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 0.2s var(--tx), background 0.2s var(--tx);
}
.ptn:hover { border-color: var(--ink-600); background: var(--ink-850); }
.ptn__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-50);
  letter-spacing: -0.005em;
  line-height: 1.1;
}
.ptn__sub {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-top: 7px;
  font-weight: 500;
}

.clients-partners .lbs-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    font-weight: 800;
    background: linear-gradient(90deg, #E98632 0%, #7AA089 55%, #2E97B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.clients-partners .lbs-lead {
    margin: 0;
    color: #6b7280;
    font-size: 1.02rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Logo Marquee - Continuous Horizontal Scroll */
.logos-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 10px 0 0;
    position: relative;
}

.logos-marquee-wrapper + .logos-marquee-wrapper {
    margin-top: 18px;
}

/* Value Proposition Section */
.value-prop {
    background: #ffffff;
    padding: 3rem 0 3.5rem;
}

.value-wrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.value-head {
    text-align: center;
    margin-bottom: 2.2rem;
}

.value-title {
    margin: 0 0 0.6rem;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(90deg, #E98632 0%, #7AA089 55%, #2E97B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.value-lead {
    margin: 0;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.value-card {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 22px 24px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.value-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.value-content h3 {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #E98632;
}

.value-content p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.value-content ul {
    margin: 0;
    padding-left: 18px;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Apart Section */
.apart-section {
    position: relative;
    padding: 3.5rem 0 4rem;
    color: #ffffff;
    overflow: hidden;
    background: #000000;
}

.apart-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/new-images/image-10.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: 1;
}

.apart-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg, rgba(6, 12, 35, 0.55) 0%, rgba(6, 12, 35, 0.35) 55%, rgba(6, 12, 35, 0.2) 100%); */
    z-index: 2;
}

.apart-wrap {
    position: relative;
    z-index: 3;
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.apart-head {
    text-align: center;
    margin-bottom: 2.2rem;
}

.apart-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
}

.apart-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.apart-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.apart-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    color: #1f2937;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apart-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(46, 151, 183, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.apart-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(233, 134, 50, 0.12);
}

.apart-card:hover::after {
    opacity: 1;
}

.apart-image {
    height: 150px;
    overflow: hidden;
}

.apart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.apart-card:hover .apart-image img {
    transform: scale(1.06);
}

.apart-body {
    padding: 16px 14px 18px;
    text-align: center;
}

.apart-body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #E98632;
}

.apart-body p {
    margin: 0;
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Industries Section */
.industries-section {
    background: #ffffff;
    padding: 3.5rem 0 4rem;
}

.industries-wrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
}

.industries-head {
    text-align: center;
    margin-bottom: 2.2rem;
}

.industries-head h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(90deg, #E98632 0%, #7AA089 55%, #2E97B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.industries-head p {
    margin: 0;
    color: #6b7280;
    font-size: 1.05rem;
    line-height: 1.6;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.industry-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(120deg, rgba(233, 134, 50, 0.7), rgba(46, 151, 183, 0.7));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(46, 151, 183, 0.08);
}

.industry-card:hover::before {
    opacity: 1;
}

.industry-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.industry-card:hover .industry-image img {
    transform: scale(1.08);
}

.industry-image span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5));
}

.industry-body {
    padding: 14px 12px 16px;
}

.industry-body p {
    margin: 0 0 10px;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

.industry-link {
    color: #E98632;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}

.industry-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #E98632 0%, #2E97B7 100%);
    transition: width 0.3s ease;
}

.industry-card:hover .industry-link::after {
    width: 100%;
}

/* CTA Section — legacy from the pre-React HTML home. Centering removed
   so this never leaks onto modern CTA blocks. Industries pages use
   .cta-section as a wrapper too; their centering (if any) is now scoped
   under body.industries-page in public/styles/industries/*.css. */
.cta-section {
    background: #ffffff;
    padding: 3.5rem 0 4rem;
}

.cta-wrap {
    width: min(900px, 92vw);
}

.cta-wrap h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(90deg, #E98632 0%, #7AA089 55%, #2E97B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.cta-wrap p {
    margin: 0 0 1.4rem;
    color: #6b7280;
    font-size: 1.02rem;
}

.cta-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    background: #f58220;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.cta-wrap span {
    display: block;
    margin-top: 0.8rem;
    color: #9aa0a6;
    font-size: 0.85rem;
}

/* Footer (simple) */
.footer.footer-simple {
    background: #f8f6f4;
    border-top: 1px solid #eee;
}

.footer.footer-simple .footer-main {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 2.5rem 5rem 2rem 6rem;
    display: grid;
    grid-template-columns: 1.3fr 0.65fr 0.65fr;
    gap: 2rem;
    box-sizing: border-box;
    background: transparent;
    border-radius: 0;
    border: none;
}

.footer-logo {
    height: 42px;
    margin-bottom: 8px;
}

.footer-tagline {
    margin: 0 0 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Section heading gradient */
.clients-partners .lbs-title,
.value-title,
.industries-section h2,
.methodology-flow h2,
#lbs .lbs-title,
.cta-section h2 {
    background-image: linear-gradient(to right, #f58a22 0%, #009fce 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-address {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.footer-col h4 {
    margin: 0 0 0.8rem;
    color: #374151;
    font-size: 0.95rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.4rem;
}

.footer-col a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-social-row {
    display: flex;
    gap: 0.6rem;
}

.footer.footer-simple .footer-col:last-child {
    grid-column: 3;
}

.footer.footer-simple .footer-col:last-child .footer-social-row {
    justify-content: flex-start;
}

.footer.footer-simple .footer-col:last-child .footer-social-content {
    display: block;
}

.footer.footer-simple .footer-col:last-child .connect-grid {
    justify-content: flex-start;
}

.social-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 0;
}

.social-badge img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.footer-bar {
    background: #0b2b5a;
    color: #ffffff;
    text-align: center;
    padding: 0.8rem 0;
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer.footer-simple .footer-col:last-child {
        grid-column: auto;
        justify-self: start;
        text-align: left;
    }
    .footer.footer-simple .footer-col:last-child .footer-social-row,
    .footer.footer-simple .footer-col:last-child .footer-social-content,
    .footer.footer-simple .footer-col:last-child .connect-grid {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
}

/* Methodology Flow Section */
.methodology-flow {
    background: #ffffff;
    padding: 3.5rem 0 4rem;
}

.flow-wrap {
    width: min(1000px, 92vw);
    margin: 0 auto;
}

.flow-head {
    text-align: center;
    margin-bottom: 2.2rem;
}

.flow-head h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(90deg, #E98632 0%, #7AA089 55%, #2E97B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.flow-head p {
    margin: 0;
    color: #7b8794;
    font-size: 1.02rem;
}

.flow-timeline {
    position: relative;
    display: grid;
}

.flow-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, #E98632 0%, #2E97B7 100%);
    transform: translateX(-50%);
    overflow: hidden;
}

.flow-line::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -40%;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 134, 50, 0.6), rgba(46, 151, 183, 0.6), rgba(255, 255, 255, 0));
    animation: flowLineSweep 5s linear infinite;
}

.flow-step {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80px;
}

.flow-step.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.flow-step.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.flow-step.left {
    justify-content: flex-end;
    padding-right: 70px;
}

.flow-step.right {
    justify-content: flex-start;
    padding-left: 70px;
}

.flow-step.left .flow-card,
.flow-step.right .flow-card {
    text-align: center;
}

.flow-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.flow-card h3 {
    margin: 0 0 6px;
    font-size: 0.98rem;
    font-weight: 700;
    color: #5f6368;
}

.flow-card p {
    margin: 0;
    font-size: 0.82rem;
    color: #7b8794;
    line-height: 1.5;
}

.flow-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(135deg, #E98632, #2E97B7);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover .flow-card {
    transform: translateY(-6px);
    border-color: rgba(233, 134, 50, 0.5);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(46, 151, 183, 0.08);
}

.flow-step:hover .flow-number {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.28);
}

@keyframes flowLineSweep {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(220%);
        opacity: 0;
    }
}

@media (max-width: 900px) {
    .flow-card {
        max-width: 320px;
    }
}

@media (max-width: 700px) {
    .flow-line {
        left: 24px;
        transform: none;
    }

    .flow-step {
        min-height: 0;
        padding-left: 60px;
        padding-right: 0;
        justify-content: flex-start;
    }

    .flow-step.left .flow-card,
    .flow-step.right .flow-card {
        text-align: left;
    }

    .flow-number {
        left: 24px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Results Section */
.results-section {
    position: relative;
    padding: 3.5rem 0 4rem;
    color: #ffffff;
    overflow: hidden;
    background: #000000;
}

.results-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/new-images/image-19.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.7;
    z-index: 1;
}

.results-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(90deg, rgba(6, 12, 35, 0.45) 0%, rgba(6, 12, 35, 0.3) 55%, rgba(6, 12, 35, 0.2) 100%); */
    z-index: 2;
}

.results-wrap {
    position: relative;
    z-index: 3;
    width: min(1100px, 92vw);
    margin: 0 auto;
    text-align: center;
}

.results-head h2 {
    margin: 0 0 0.5rem;
    font-size: clamp(2rem, 3.4vw, 2.7rem);
    font-weight: 800;
}

.results-head p {
    margin: 0 0 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.6;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.result-card {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.result-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(46, 151, 183, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.result-card:hover {
    transform: translateY(-6px);
    border-color: rgba(233, 134, 50, 0.4);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(233, 134, 50, 0.12);
}

.result-card:hover::after {
    opacity: 1;
}

.result-image {
    height: 150px;
    overflow: hidden;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.result-card:hover .result-image img {
    transform: scale(1.06);
}

.result-body {
    padding: 14px 14px 16px;
}

.result-body h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.result-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
}

.results-cta {
    margin-top: 1.8rem;
}

.results-button {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.08);
}

/* LBS Case Studies Section */
.lbs-case-section {
    background: #ffffff;
    padding: 3.5rem 0 4rem;
}

.lbs-case-wrap {
    width: min(1200px, 92vw);
    margin: 0 auto;
    text-align: center;
}

.lbs-case-head h2 {
    margin: 0 0 0.6rem;
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
    font-weight: 800;
    background: linear-gradient(90deg, #E98632 0%, #7AA089 55%, #2E97B7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.lbs-case-head p {
    margin: 0 0 2.2rem;
    color: #6b7280;
    font-size: 1.02rem;
}

.lbs-case-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.lbs-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    color: #9aa0a6;
    font-size: 1.6rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.lbs-case-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.lbs-case-card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    border: 1px solid #e6e6e6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lbs-case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lbs-case-card:hover {
    transform: scale(1.04);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    z-index: 2;
}

.lbs-case-card.small {
    height: 140px;
}

.lbs-case-card.large {
    height: 300px;
}

@media (max-width: 1000px) {
    .lbs-case-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lbs-case-card.large {
        grid-column: 2 / 4;
        height: 260px;
    }
}

@media (max-width: 700px) {
    .lbs-case-carousel {
        flex-direction: column;
    }

    .lbs-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lbs-case-card.large {
        grid-column: 1 / 3;
        height: 240px;
    }
}

@media (max-width: 900px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* .logos-marquee-wrapper::before,
.logos-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
} */

.logos-marquee-wrapper::before {
    display: none;
}

.logos-marquee-wrapper::after {
    display: none;
}

.logos-marquee {
    display: flex;
    width: fit-content;
    animation: marquee-scroll 35s linear infinite;
}

.logos-marquee:hover {
    animation-play-state: paused;
}

/* Reverse direction - Left to Right */
.logos-marquee-reverse {
    animation: marquee-scroll-reverse 35s linear infinite;
}

.logos-marquee-reverse:hover {
    animation-play-state: paused;
}

.logos-track {
    display: flex;
    gap: 16px;
    padding: 0 10px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Logo Grid (legacy) */
.logos {
    max-width: 1400px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    padding: 0 20px;
}

.logos-track .logo-card,
.logo-card {
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    background: #ffffff;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 160px;
    min-height: 70px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.logos-track .logo-card:hover,
.logo-card:hover {
    transform: translateY(-3px);
    border-color: rgba(233, 134, 50, 0.25);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.logo-box {
    width: 100%;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 8px 10px;
    transition: all 0.3s ease;
}

.logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.logo-card:hover .logo-box {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 5px 20px rgba(237, 142, 57, 0.2);
}

.logo-card:hover .logo-box img {
    transform: scale(1.1);
}

.project-type {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.4;
    font-weight: 500;
}

/* Responsive Design for Clients Section */
@media (max-width: 1200px) {
    .logos {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 18px;
    }

    .logos-marquee {
        animation-duration: 35s;
    }
}

@media (max-width: 768px) {
    .cp-wrap {
        padding: 60px 15px;
    }

    .cp-title {
        font-size: 2rem;
    }

    .cp-lead {
        font-size: 1.5rem !important;
    }

    .logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .logos-track .logo-card,
    .logo-card {
        min-height: 68px;
    }

    .logo-box {
        height: 60px;
    }

    .project-type {
        font-size: 1.5rem !important;
    }

    .logos-marquee {
        animation-duration: 30s;
    }

    .logos-track {
        gap: 15px;
    }

    /* .logos-marquee-wrapper::before,
    .logos-marquee-wrapper::after {
        width: 50px;
    } */
}

@media (max-width: 900px) {
    .value-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .value-card {
        grid-template-columns: 56px 1fr;
        padding: 18px 18px;
    }

    .value-icon {
        width: 56px;
        height: 56px;
    }

    .value-icon img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 1100px) {
    .hero-static {
        min-height: 83vh !important;
    }

    .hero-static .hero-content-wrapper,
    .hero-static.timeline-mode .carousel-item.timeline-slide,
    .hero-static.timeline-mode .carousel-item.timeline-slide .tl-container {
        height: calc(83vh - 120px) !important;
        min-height: calc(83vh - 120px) !important;
    }

    .apart-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .apart-grid {
        grid-template-columns: 1fr;
    }

    .apart-image {
        height: 170px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cp-title {
        font-size: 1.75rem;
    }

    .logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .logos-track .logo-card,
    .logo-card {
        min-height: 64px;
    }

    .logo-box {
        height: 58px;
    }

    .logos-marquee {
        animation-duration: 25s;
    }

    .logos-track {
        gap: 12px;
    }
}

/* remove from here  */

:root {
    --royal: #021945;
    --brand-blue: #127dc2;
    --brand-orange: #f48220;
}

/* Full-viewport wrapper (no "slide" look) */
.crisp-viewport {
    min-height: calc(100vh - var(--header-h) - var(--footer-h));
    display: grid;
    align-items: center;
    padding: 0;
}

.crisp-wrap {
    width: 100%;
    background: #eeece7;
    color: #fff;
    /* force white by default */
    /* padding: clamp(16px,3vw,40px); */
    box-sizing: border-box;
    /* background-image:url('./images/projects/bg-v.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Header */
.crisp-head {
    width: min(92vw, var(--maxw));
    margin-inline: auto;
    text-align: center;
    margin-bottom: 16px;
}

.crisp-title {
    margin: 0 0 12px;
    font-size: 28px;
    /* +2pt as requested */
    font-weight: 800;
    letter-spacing: .2px;
    /* Brand gradient on title only */
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.crisp-lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #fff;
    /* keep white */
    opacity: .95;
}

/* ====== CRISP-ML(Q) — Enhanced Interactive Flow Design ====== */
.methodology-container {
    width: min(92vw, var(--maxw));
    position: relative;
    /* background: linear-gradient(135deg,
                rgba(237, 142, 57, 0.03) 0%,
                rgba(19, 141, 197, 0.03) 50%,
                rgba(237, 142, 57, 0.03) 100%); */
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.1), rgba(19, 141, 197, 0.1));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.methodology-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.98) 100%);
    background: linear-gradient(135deg, rgba(237, 142, 57, 0.1), rgba(19, 141, 197, 0.1));
    border-radius: 20px;
    z-index: 0;
}

.methodology-container>* {
    position: relative;
    z-index: 1;
}

.methodology-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.methodology-title {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.methodology-subtitle {
    color: #666666;
    font-size: 1.2rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.methodology-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ED8E39, #138DC5);
    border-radius: 2px;
}

/* Progress Bar Styles */
.methodology-progress-bar {
    margin-top: 25px;
    width: 100%;
    max-width: 500px;
    height: 8px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
}

.methodology-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ED8E39, #138DC5);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.methodology-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.methodology-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Scrolling area for steps (matches "extra-field" behaviour) */
.extra-field {
    overflow: visible;
    padding: 0 4px;
}

/* Grid of steps */
.methodology-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px;
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* ========== ARROW CONNECTORS ========== */

/* Right Arrow (horizontal - between steps in same row) */
.step-arrow-right {
    position: absolute;
    right: -27px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    z-index: 10;
    display: none;
    /* Hidden by default, controlled via JS */
}

.step-arrow-right::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 3px;
    background: linear-gradient(90deg, #ED8E39, #138DC5);
    border-radius: 2px;
    animation: arrowRightLineFlow 1.5s ease-in-out infinite;
}

.step-arrow-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #138DC5;
    animation: arrowRightHeadPulse 1.5s ease-in-out infinite;
}

@keyframes arrowRightLineFlow {

    0%,
    100% {
        opacity: 0.5;
        width: 8px;
    }

    50% {
        opacity: 1;
        width: 12px;
    }
}

@keyframes arrowRightHeadPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateY(-50%) translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) translateX(2px);
    }
}

/* Down Arrow - U-shaped return arrow (end of row to first box of next row) */
/* Structure: Down from last box -> Left across row -> Down to first box of next row */
.step-arrow-down {
    position: absolute;
    bottom: -30px;
    right: 50%;
    width: var(--arrow-width, 100%);
    height: 20px;
    z-index: 10;
    display: none;
    /* Hidden by default, controlled via JS */
    overflow: visible;
}

/* First vertical line - going down from last box (right side) */
.step-arrow-down::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 0;
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #ED8E39, #138DC5);
    border-radius: 2px 2px 0 0;
    animation: arrowDownLineFlow 1.5s ease-in-out infinite;
}

/* Horizontal line going left - spans full width */
.step-arrow-down::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(270deg, #138DC5, #ED8E39);
    border-radius: 2px;
    animation: arrowHorizontalFlow 1.5s ease-in-out infinite;
}

/* Second vertical line - going down to next row (left side) + arrow head */
.step-arrow-down .arrow-head {
    position: absolute;
    top: 5px;
    left: -1px;
    width: 3px;
    height: 10px;
    background: linear-gradient(180deg, #ED8E39, #138DC5);
    border-radius: 0 0 2px 2px;
    animation: arrowDownLineFlow 1.5s ease-in-out infinite;
}

/* Arrow head pointing down */
.step-arrow-down .arrow-head::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 12px solid #138DC5;
    animation: arrowHeadDownPulse 1.5s ease-in-out infinite;
}

@keyframes arrowDownLineFlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes arrowHorizontalFlow {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes arrowHeadDownPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(3px);
    }
}

/* Show arrows when active class is added via JavaScript */
.step-arrow-right.active {
    display: block;
}

.step-arrow-down.active {
    display: block;
}

/* Always hide arrows on last step */
.methodology-step:last-child .step-arrow-right,
.methodology-step:last-child .step-arrow-down {
    display: none !important;
}

/* Mobile view: Simple down arrow (single column layout) */
.step-arrow-down.mobile-down {
    width: 20px;
    height: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.step-arrow-down.mobile-down::before {
    right: 50%;
    transform: translateX(50%);
    height: 12px;
    border-radius: 2px;
}

.step-arrow-down.mobile-down::after {
    display: none;
    /* Hide horizontal line on mobile */
}

.step-arrow-down.mobile-down .arrow-head {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    background: none;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-top: 12px solid #138DC5;
    border-bottom: none;
    animation: mobileArrowPulse 1.5s ease-in-out infinite;
}

.step-arrow-down.mobile-down .arrow-head::after {
    display: none;
}

@keyframes mobileArrowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(3px);
    }
}

.methodology-step {
    position: relative;
    padding: 20px 15px 20px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInStep 0.6s ease forwards;
    opacity: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(19, 141, 197, 0.2);
}

.methodology-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #138DC5, #ED8E39);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.methodology-step:hover::before {
    opacity: 1;
}

.methodology-step:nth-child(1) {
    animation-delay: .1s;
}

.methodology-step:nth-child(2) {
    animation-delay: .15s;
}

.methodology-step:nth-child(3) {
    animation-delay: .2s;
}

.methodology-step:nth-child(4) {
    animation-delay: .25s;
}

.methodology-step:nth-child(5) {
    animation-delay: .3s;
}

.methodology-step:nth-child(6) {
    animation-delay: .35s;
}

.methodology-step:nth-child(7) {
    animation-delay: .4s;
}

.methodology-step:nth-child(8) {
    animation-delay: .45s;
}

.methodology-step:nth-child(9) {
    animation-delay: .5s;
}

.methodology-step:nth-child(10) {
    animation-delay: .55s;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.methodology-step:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

/* Active step state for click interactions */
.methodology-step.active-step {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.methodology-step.active-step .step-number {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* In-view pulse effect */
.methodology-step.in-view {
    animation: none;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    50% {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    }
}

/* Accessibility: Focus styles */
.methodology-step:focus {
    outline: 3px solid rgba(237, 142, 57, 0.5);
    outline-offset: 3px;
}

.methodology-step:focus:not(:focus-visible) {
    outline: none;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 15px;
    transform: none;
    background: linear-gradient(135deg, #138DC5, #ED8E39);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    z-index: 5;
}

.methodology-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.step-title {
    color: #ED8E39;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    margin-top: 5px;
    line-height: 1.3;
}

.methodology-step:hover .step-title {
    color: #138DC5;
}

.step-description {
    color: #666;
    font-size: .8rem;
    line-height: 1.5;
    margin: 0;
}

.methodology-step:hover .step-description {
    color: #444;
}

/* Final "10" block (Monitoring & Maintenance) */
.size {
    margin: 10px 0 0;
    background: rgba(255, 255, 255);
    border: 1px solid rgba(19, 141, 197, 0.3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all .3s ease;
}

.size:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    border-color: rgba(19, 141, 197, 0.8);
    box-shadow: 0 10px 30px rgba(237, 142, 57, 0.4);
}

.size .step-number {
    top: -12px;
    left: 15px;
    width: 25px;
    height: 25px;
    font-size: .85rem;
}

.size .step-title {
    color: #ED8E39;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: .95rem;
}

.size .step-description {
    color: #666666;
    font-size: .85rem;
    line-height: 1.4;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .methodology-step,
    .methodology-step * {
        transition: none !important;
    }

    .methodology-step {
        animation: none !important;
    }
}

/* Enforce “white except title” in both standalone & onepage contexts */
.onepage-deck .deck-content .crisp-wrap,
.crisp-wrap {
    color: #fff !important;
}

.onepage-deck .deck-content .crisp-title,
.crisp-wrap .crisp-title {
    background: linear-gradient(135deg, #F48220 0%, #127DC2 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .methodology-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .methodology-container {
        padding: 40px 20px;
    }

    .methodology-title {
        font-size: 36px;
    }

    .methodology-subtitle {
        font-size: 1.5rem !important;
    }

    .methodology-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .methodology-step {
        min-height: 100px;
    }

    .step-title {
        font-size: 0.9rem;
    }

    .step-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 600px) {
    .methodology-container {
        padding: 30px 15px;
    }

    .methodology-header {
        margin-bottom: 35px;
    }

    .methodology-title {
        font-size: 28px;
    }

    .methodology-subtitle {
        font-size: 0.9rem;
    }

    .methodology-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .methodology-step {
        min-height: 90px;
    }

    .step-title {
        font-size: 1.5rem !important;
    }

    .step-description {
        font-size: 0.7rem;
    }
}

/* ===== PATCH: CRISP-ML(Q) ===== */

/* Step titles are now WHITE on colored backgrounds - no override needed */


.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-item-new {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(19, 141, 197, 0.05);
    border-radius: 12px;
    border-left: 4px solid #138DC5;
    transition: all 0.3s ease;
}

.location-item-new:hover {
    background: rgba(19, 141, 197, 0.1);
    transform: translateX(5px);
}

.location-pin {
    width: 10px;
    height: 10px;
    background: #ED8E39;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(237, 142, 57, 0.2);
}

.location-content h4 {
    color: #138DC5;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.location-content p {
    color: #333;
    font-size: 0.6rem;
    line-height: 1.2;
    margin: 0;
}



.image-carousel {
    /* padding: 30px; */
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
}


/* Responsive adjustments for carousel SVG images on desktop */
@media (min-width: 769px) and (max-width: 1280px) {
    .image-carousel {
        /* padding: 20px 40px; */
        object-fit: contain !important;
    }

    /* .carousel-item:has(.image-carousel) {
        display: flex;
        align-items: center;
        justify-content: center;
    } */
}

@media (min-width: 1281px) {
    .image-carousel {
        /* padding: 40px 80px;
        max-width: 1400px; */
        margin: 0 auto;
    }

    /* .carousel-item:has(.image-carousel) {
        display: flex;
        align-items: center;
        justify-content: center;
    } */

    .hero-static {
        min-height: 100vh;
    }

    .hero-static .hero-content-wrapper {
        height: calc(100vh - 120px);
    }

    .hero-static.timeline-mode {
        min-height: 100vh;
    }

    .hero-static.timeline-mode .carousel-item.timeline-slide {
        height: calc(100vh - 120px);
        min-height: calc(100vh - 120px);
    }

    .hero-static.timeline-mode .carousel-item.timeline-slide .tl-container {
        height: calc(100vh - 120px);
    }
}

.text-style {
    text-decoration: none;
    color: #f1585e;
}

.container-footer-card {
    display: flex;
    justify-content: center;
    padding: 9px 20px;
}

.form-style {
    font-size: 1.8rem;
    margin-bottom: 4px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.garbha-link {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 4px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    /* -webkit-text-fill-color: transparent; */
    background-clip: text;
}

.below-heading {
    font-size: 20px;
}

.locations-map {
    width: 100%;
    height: 400px;
    ;
}

.header-section {
    margin: 15px;
}

/* Form success/error messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-top: 20px;
    animation: slideIn 0.3s ease;
    transition: opacity 0.3s ease;
}

.form-message-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.form-message-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(239, 68, 68, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.form-message-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.form-message-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 90px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ED8E39, #138DC5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(237, 142, 57, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(237, 142, 57, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top svg {
    color: #ffffff;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-3px);
}

/* Responsive adjustments for scroll-to-top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 75px;
        right: 16px;
        width: 45px;
        height: 45px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }








}

.section-card {
    border-image: none;
}

.clients-partners {
    /* background-image: linear-gradient( rgba(255, 255, 255, 0.3)), url('https://india-360digitmg-bck-2025.s3.ap-south-1.amazonaws.com/3598831.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: none;
}

/* Expertise Section Styles - New Design */
.expertise-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.expertise-section .section-wrapper {
    position: relative;
    overflow: hidden;
    padding: 3rem 3rem 2rem;
}

/* Background Effects */
.expertise-section .bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.expertise-section .gradient-orb {
    position: absolute;
    border-radius: 50%;
}

.expertise-section .gradient-orb-1 {
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #E67E22 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.2;
}

.expertise-section .gradient-orb-2 {
    top: 33%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3498DB 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.2;
}

.expertise-section .gradient-orb-3 {
    bottom: 0;
    left: 33%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #5DADE2 0%, transparent 70%);
    filter: blur(110px);
    opacity: 0.15;
}

.expertise-section .container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Side-by-Side Layout */
.expertise-section .expertise-layout {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.expertise-section .expertise-left {
    flex: 1;
    min-width: 0;
}

.expertise-section .expertise-right {
    width: 320px;
    flex-shrink: 0;
}

/* Header Styles */
.expertise-section .section-header {
    text-align: left;
    margin-bottom: 0.75rem;
}

.expertise-section .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1) 0%, rgba(93, 173, 226, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
}

.expertise-section .header-badge svg {
    width: 1rem;
    height: 1rem;
    color: #E67E22;
}

.expertise-section .header-badge span {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #E67E22, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-section .section-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #E67E22, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-section .section-subtitle {
    font-size: 0.9rem;
    color: #4B5563;
    max-width: 48rem;
    margin: 0;
    line-height: 1.4;
    font-weight: 300;
}

.expertise-section .section-subtitle .highlight {
    font-weight: 600;
    color: #E67E22;
}

/* Services Grid */
.expertise-section .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

/* Service Card Link */
.expertise-section .service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Service Card */
.expertise-section .service-card {
    position: relative;
    cursor: pointer;
}

.expertise-section .service-card .card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.5s ease;
}

.expertise-section .service-card:hover .card-glow {
    opacity: 1;
}

.expertise-section .service-card .card-inner {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border-radius: 0.75rem;
    padding: 0.875rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}

.expertise-section .service-card:hover .card-inner {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-8px);
}

.expertise-section .service-card .card-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.expertise-section .service-card:hover .card-overlay {
    opacity: 0.05;
}

.expertise-section .service-card .card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    transition: height 0.5s ease;
}

.expertise-section .service-card:hover .card-top-bar {
    height: 4px;
}

/* Card Icon */
.expertise-section .service-card .card-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.expertise-section .service-card .card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    transition: all 0.7s ease;
    color: white;
}

.expertise-section .service-card:hover .card-icon {
    transform: scale(1.1) rotate(3deg);
}

.expertise-section .service-card .card-icon svg {
    width: 100%;
    height: 100%;
}

/* Card Content */
.expertise-section .service-card .card-content {
    position: relative;
    z-index: 10;
}

.expertise-section .service-card .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.expertise-section .service-card .card-description {
    color: #4B5563;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

/* Card Features */
.expertise-section .service-card .card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.expertise-section .service-card:hover .card-features {
    max-height: 6rem;
    opacity: 1;
}

.expertise-section .service-card .feature-tag {
    padding: 0.125rem 0.375rem;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 9999px;
    border: 1px solid;
}

/* Card CTA */
.expertise-section .service-card .card-cta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.7rem;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.expertise-section .service-card:hover .card-cta {
    transform: translateX(8px);
}

.expertise-section .service-card .card-cta svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
}

.expertise-section .service-card:hover .card-cta svg {
    transform: translate(4px, -4px);
}

/* Differentiators Section */
.expertise-section .diff-header {
    text-align: left;
    margin-bottom: 1rem;
}

.expertise-section .diff-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #E67E22, #3498DB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.expertise-section .diff-subtitle {
    font-size: 0.875rem;
    color: #4B5563;
    font-weight: 300;
    line-height: 1.4;
}

/* Differentiators Grid */
.expertise-section .diff-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Differentiator Card */
.expertise-section .diff-card {
    position: relative;
}

.expertise-section .diff-card .card-glow {
    position: absolute;
    inset: -1px;
    border-radius: 1.5rem;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.5s ease;
}

.expertise-section .diff-card:hover .card-glow {
    opacity: 1;
}

.expertise-section .diff-card .card-inner {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(24px);
    border-radius: 0.75rem;
    padding: 0.875rem;
    border: 1px solid rgba(229, 231, 235, 0.5);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}

.expertise-section .diff-card:hover .card-inner {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.expertise-section .diff-card .card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    transition: height 0.5s ease;
}

.expertise-section .diff-card:hover .card-top-bar {
    height: 4px;
}

.expertise-section .diff-card .card-layout {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.expertise-section .diff-card .card-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.7s ease;
    color: white;
}

.expertise-section .diff-card:hover .card-icon {
    transform: scale(1.1);
}

.expertise-section .diff-card .card-icon svg {
    width: 100%;
    height: 100%;
}

.expertise-section .diff-card .card-body {
    flex: 1;
    padding-top: 0;
}

.expertise-section .diff-card .card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.125rem;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.expertise-section .diff-card .card-description {
    color: #4B5563;
    line-height: 1.4;
    margin-bottom: 0.375rem;
    font-size: 0.75rem;
}

/* Stat Container */
.expertise-section .diff-card .stat-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.expertise-section .diff-card:hover .stat-container {
    max-height: 4rem;
    opacity: 1;
}

.expertise-section .diff-card .stat-box {
    padding: 0.375rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.expertise-section .diff-card .stat-value {
    font-size: 1rem;
    font-weight: 900;
}

.expertise-section .diff-card .stat-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: #4B5563;
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .expertise-section .expertise-right {
        width: 280px;
    }
}

@media (max-width: 1024px) {
    .expertise-section .expertise-layout {
        flex-direction: column;
    }

    .expertise-section .expertise-right {
        width: 100%;
    }

    .expertise-section .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .expertise-section .diff-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .expertise-section .diff-header {
        text-align: center;
        margin-top: 1.5rem;
    }

    .expertise-section .diff-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .expertise-section .section-wrapper {
        padding: 2rem 0 2.5rem;
    }

    .expertise-section .section-title {
        font-size: 1.75rem;
    }

    .expertise-section .section-subtitle {
        font-size: 0.95rem;
    }

    .expertise-section .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .expertise-section .diff-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .expertise-section .diff-title {
        font-size: 1.5rem;
    }

    .expertise-section .diff-card .card-inner {
        padding: 1rem;
    }

    .expertise-section .service-card .card-inner {
        padding: 1rem;
    }

    .expertise-section .diff-card .card-layout {
        flex-direction: row;
        gap: 0.75rem;
    }

    .expertise-section .diff-card .card-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .expertise-section .service-card .card-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .expertise-section .diff-card .card-title {
        font-size: 1.5rem !important;
    }

    .expertise-section .diff-card .card-description {
        font-size: 0.875rem;
    }
}

/* Legacy styles kept for compatibility */
.differentiator-item {
    padding: 10px;
}



/* Road-map  CSS */

/* Timeline Container */
.tl-container {
    height: 100%;
    width: 100%;
    padding: 0;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.carousel-item .tl-container {
    min-height: auto;
}

.carousel-item.timeline-slide .tl-container {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0.25rem 0 1.25rem;
}

.tl-background-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    pointer-events: none;
}

.tl-pattern-text {
    position: absolute;
    font-size: 200px;
    font-weight: bold;
    color: #1f2937;
}

.tl-pattern-asean {
    top: 80px;
    left: 80px;
    transform: rotate(-12deg);
}

.tl-pattern-ai {
    bottom: 160px;
    right: 160px;
    font-size: 150px;
    transform: rotate(12deg);
}

.tl-wrapper {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.tl-content {
    position: relative;
    z-index: 1;
}

.tl-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
    background: repeating-linear-gradient(to right,
            #b9c2cf 0,
            #b9c2cf 12px,
            transparent 12px,
            transparent 22px);
    z-index: 2;
}

.tl-robot {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -85%);
    width: 140px;
    height: auto;
    animation: tlSkateTimeline 10s linear infinite;
    z-index: 100;
    overflow: hidden;
    pointer-events: none;
}

.tl-event {
    z-index: 5;
}

.tl-robot img,
.tl-robot video {
    width: 70%;
    height: 54px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: contrast(1.6) brightness(1) sepia(0.8) saturate(1) hue-rotate(180deg);
    margin-bottom: 5px;
}

@keyframes tlSkateTimeline {
    0% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

.tl-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.tl-event {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    min-height: 240px;
}

.tl-event-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 8px;
}

.tl-event-section.tl-top-section {
    justify-content: flex-end;
    min-height: 90px;
    animation: tlWaveUp 3s ease-in-out infinite;
}

.tl-event-section.tl-bottom-section {
    justify-content: flex-start;
    min-height: 90px;
    animation: tlWaveDown 3s ease-in-out infinite;
}

@keyframes tlWaveUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes tlWaveDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Floating animations */
@keyframes tlFloatUp {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes tlFloatDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(15px);
    }
}

/* Staggered delays for wave effect */
.tl-event:nth-child(1) .tl-top-section {
    animation-delay: 0s;
}

.tl-event:nth-child(1) .tl-bottom-section {
    animation-delay: 0.15s;
}

.tl-event:nth-child(2) .tl-top-section {
    animation-delay: 0.3s;
}

.tl-event:nth-child(2) .tl-bottom-section {
    animation-delay: 0.45s;
}

.tl-event:nth-child(3) .tl-top-section {
    animation-delay: 0.6s;
}

.tl-event:nth-child(3) .tl-bottom-section {
    animation-delay: 0.75s;
}

.tl-event:nth-child(4) .tl-top-section {
    animation-delay: 0.9s;
}

.tl-event:nth-child(4) .tl-bottom-section {
    animation-delay: 1.05s;
}

.tl-event:nth-child(5) .tl-top-section {
    animation-delay: 1.2s;
}

.tl-event:nth-child(5) .tl-bottom-section {
    animation-delay: 1.35s;
}

.tl-event:nth-child(6) .tl-top-section {
    animation-delay: 1.5s;
}

.tl-event:nth-child(6) .tl-bottom-section {
    animation-delay: 1.65s;
}

.tl-event-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.tl-event-icon svg {
    width: 100%;
    height: 100%;
}

.tl-event-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
    max-width: 180px;
    line-height: 1.3;
}

.tl-event-description {
    color: #4b5563;
    font-size: 13px;
    text-align: center;
    margin-bottom: 10px;
    max-width: 180px;
    line-height: 1.4;
}

.tl-event-badge {
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 10px;
    background: #f3f4f6;
}

.tl-event-year {
    font-size: 44px;
    font-weight: 600;
    line-height: 1;
}

.tl-node {
    position: relative;
    justify-self: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid;
    background-color: #ffffff;
    z-index: 20;
    box-shadow: 0 0 0 3px #ffffff;
}

.tl-icon-left,
.tl-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
}

.tl-icon-left {
    left: -32px;
    color: #f97316;
}

.tl-icon-right {
    right: -32px;
    color: #2563eb;
}

/* Color Classes */
.tl-color-orange .tl-event-icon,
.tl-color-orange .tl-event-title,
.tl-color-orange .tl-event-year {
    color: #f97316;
}

.tl-color-orange .tl-event-badge {
    background-color: #fff7ed;
}

.tl-color-orange .tl-node {
    border-color: #f97316;
}

.tl-color-cyan .tl-event-icon,
.tl-color-cyan .tl-event-title,
.tl-color-cyan .tl-event-year {
    color: #06b6d4;
}

.tl-color-cyan .tl-event-badge {
    background-color: #ecfeff;
}

.tl-color-cyan .tl-node {
    border-color: #23a8a9;
}

.tl-color-navy .tl-event-icon,
.tl-color-navy .tl-event-title,
.tl-color-navy .tl-event-year {
    color: #0580a9;
}

.tl-color-navy .tl-event-badge {
    background-color: #eff6ff;
}

.tl-color-navy .tl-node {
    border-color: #1e3a8a;
}

.tl-color-purple .tl-event-icon,
.tl-color-purple .tl-event-title,
.tl-color-purple .tl-event-year {
    color: #581c87;
}

.tl-color-purple .tl-event-badge {
    background-color: #faf5ff;
}

.tl-color-purple .tl-node {
    border-color: #581c87;
}

.tl-color-blue .tl-event-icon,
.tl-color-blue .tl-event-title,
.tl-color-blue .tl-event-year {
    color: #2563eb;
}

.tl-color-blue .tl-event-badge {
    background-color: #eff6ff;
}

.tl-color-blue .tl-node {
    border-color: #2563eb;
}

/* Responsive */
@media (max-width: 1024px) {
    .tl-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tl-event {
        min-height: 400px;
    }

    .tl-pattern-text {
        font-size: 120px;
    }
}

@media (max-width: 768px) {
    .tl-wrapper {
        width: 900px;
        transform: scale(0.38);
        transform-origin: center center;
    }

    .tl-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .tl-pattern-text {
        font-size: 80px;
    }
}

/* =====================================================================
   TOP NAV (fixed) — structure ported from test.html, palette kept as the
   original drishti navbar: orange→cyan gradient, white text, white pill CTA,
   white dropdowns with #ed8e39 hover accent.
   ===================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-image: linear-gradient(to right, #f58a22 0%, #009fce 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  font-family: 'Inter', system-ui, sans-serif;
  color: #ffffff;
}
.nav *, .nav *::before, .nav *::after { box-sizing: border-box; }
.nav a { color: inherit; text-decoration: none; }
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.95rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__inner--compact { padding: 0.4rem 1rem; gap: 0.75rem; }
.nav .brand__logo.brand__logo--64 { max-height: 64px; width: auto; }
.nav .nav__menu.nav__menu--16 { font-size: 16px; }
.nav .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.nav .brand__logo {
  max-height: 48px;
  width: auto;
  display: block;
}
.nav .brand__dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  margin-left: 6px;
  margin-bottom: 6px;
}
.nav .brand:hover .brand__dot { transform: scale(1.3); transition: transform 0.3s ease; }
.nav__menu {
  display: flex;
  gap: 4px;
  align-items: center;
  margin: 0 0 0 auto;
  list-style: none;
  padding: 0;
}
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  opacity: 0.9;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.25s ease, background 0.2s ease;
}
.nav__link:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.nav__chev {
  width: 18px !important; height: 18px !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
  stroke-width: 2.2 !important;
  fill: none !important;
  opacity: 1 !important;
  transition: transform 0.2s ease !important;
}
.nav__item.dropdown-open .nav__chev { transform: rotate(180deg); }

.nav__cta-wrap { margin-left: auto; display: flex; gap: 0.6rem; align-items: center; }
/* Mobile-only menu CTA — hidden on desktop; revealed inside the open menu. */
.nav__item--mobile-cta { display: none; }
.nav__search {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: #8995a8;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.2, 0.6, 0.2, 1), color 0.2s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.nav__search:hover { background: rgba(255, 255, 255, 0.04); color: #f4f6f9; }
.nav .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.6rem;
  background: #ffffff;
  color: #000000;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}
.nav .btn-primary svg { width: 14px; height: 14px; }
.nav .hamburger { display: none; }

/* =====================================================================
   HEADER · "Talk to us" CTA — style lock
   Page stylesheets stay loaded after client-side navigation and several
   define their own .btn-primary (e.g. the industries pages' nested
   `body.industries-page .btn-primary { background: var(--ink) }` at
   specificity (0,2,1) beat `.nav .btn-primary` (0,2,0) and turned the
   header pill DARK on those routes). Same defensive pattern as the
   "Industries megamenu layout lock" below: high specificity + !important
   so the header CTA is invariant to any page-loaded sheet.
   ===================================================================== */
.nav.drishti-header .nav__cta-wrap .btn-primary {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.6rem !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18) !important;
}
.nav.drishti-header .nav__cta-wrap .btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22) !important;
}

/* =====================================================================
   Mega-menu — premium SaaS dropdown panels (Solutions / Products /
   Industries / Company). Pure-white panels, depth from layered shadow
   (no hard border), 180ms ease-out open / 140ms close.
   ===================================================================== */
.nav .mega {
  position: absolute;
  top: 100%;
  left: -8px;
  margin-top: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.11), 0 2px 8px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.14s ease-out, transform 0.14s ease-out, visibility 0s linear 0.14s;
  z-index: 1200;
}
/* Invisible bridge so the cursor can cross the 8px gap into the panel
   without :hover dropping (which would close the menu). Only active when
   the panel is open, so it can't trap hover on closed dropdowns. */
.nav__item.dropdown-open > .mega::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav__item.dropdown-open { z-index: 1201; }
.nav__item.dropdown-open > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0s linear 0s;
}
/* Open nav item: chevron flip indicates the open dropdown — link text stays white. */
.nav__chev { transition: transform 0.18s ease; }
.nav__item.dropdown-open > .nav__link .nav__chev { transform: rotate(180deg); }

/* --- Two-column layout (Solutions / Products): icon list + highlight card --- */
.nav .mega__grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.nav .mega__grid > .mega__col { flex: 1 1 auto; min-width: 0; }
.nav .mega__grid > .mega__features { flex: 0 0 260px; }
.nav .mega.mega--narrow { min-width: 220px; padding: 16px; }
.nav .mega .mega__grid.mega__grid--single { display: block; }
/* Solutions/Products panels size to their content (max-content) so the left
   list and card sit flush with no dead gap — instead of a fixed 720px that
   left ~100px of empty space. Capped so a long title can't over-stretch.
   Company (narrow) and Industries keep their own widths. */
.nav .mega:not(.mega--narrow):not(.mega--industries) { width: max-content; max-width: 700px; }

/* Section labels above each column */
.nav .mega__col h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e87722;
  text-transform: uppercase;
}

/* Menu rows */
.nav .mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.nav .mega__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #111111;
  cursor: pointer;
  transition: background 0.15s ease;
}
.nav .mega__list a:hover { background: #f9f5f0; }
.nav .mega__ico {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #e87722;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav .mega__ico svg { width: 17px; height: 17px; display: block; }
.nav .mega__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav .mega__list a strong { font-size: 14px; font-weight: 600; color: #111111; }
.nav .mega__body span { font-size: 12px; color: #888888; line-height: 1.3; }
/* Fallback for static-HTML mega menus (drishti-carousel.html, nmr-railway.html)
   whose items are <a><strong>…</strong><span>…</span></a> with no .mega__ico /
   .mega__body wrapper — stack the title over a muted subtitle so the dropdown
   reads cleanly there too, not as a spread-out icon row. */
.nav .mega__list a:not(:has(.mega__body)) {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.nav .mega__list a:not(:has(.mega__body)) > span {
  font-size: 12px;
  line-height: 1.3;
  color: #888888;
}

/* --- Highlight card (right panel) --- */
.nav .mega__features {
  position: relative;
  display: grid;
  align-items: start;
}
.nav .mega__features > .mega__feature {
  grid-column: 1;
  grid-row: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.nav .mega__features > .mega__feature.is-active {
  opacity: 1;
  pointer-events: auto;
}
.nav .mega__feature {
  max-width: 260px;
  background: #fdf8f2;
  border: 1px solid #f0e4d0;
  border-left: 3px solid #e87722;
  border-radius: 12px;
  padding: 20px;
}
.nav .mega__feature .tag {
  display: inline-block;
  background: #fef0e0;
  color: #c4611a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.nav .mega__feature h5 {
  margin: 10px 0 0;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #111111;
}
.nav .mega__feature p { margin: 6px 0 0; font-size: 13px; color: #555555; line-height: 1.5; }
.nav .mega__feature a {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #e87722;
  text-transform: uppercase;
  font-weight: 700;
}
.nav .mega__feature a:hover { color: #c4611a; }
/* Key-points list inside the highlight card — fills the panel and adds detail. */
.nav .mega__feature__points {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nav .mega__feature__points li {
  position: relative;
  padding-left: 16px;
  font-size: 12px;
  line-height: 1.35;
  color: #6b5a45;
}
.nav .mega__feature__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e87722;
}
.nav .mega__feature a[href="/nmr-railway.html"],
.nav .mega__feature a[href="/products/nmr-railway"] { color: #e87722 !important; }
/* Products dropdown: teal/green badge instead of orange */
.nav .mega--products .mega__feature .tag { background: #e8f5f0; color: #1a7a5e; }

/* --- Company (narrow) dropdown --- */
.nav .mega--narrow .mega__col h4 { margin: 0 0 10px; font-size: 10px; letter-spacing: 0.1em; }
.nav .mega--narrow .mega__list a { display: block; padding: 9px 12px; border-radius: 7px; color: #222222; }
.nav .mega--narrow .mega__list a strong { font-size: 14px; font-weight: 500; color: inherit; }
.nav .mega--narrow .mega__list a:hover { background: #f9f5f0; color: #e87722; }

/* --- Industries (4-column mega) --- */
.nav .mega--industries {
  left: 50%;
  right: auto;
  min-width: 0;
  width: min(1080px, calc(100% - 32px));
  padding: 24px 28px;
  transform: translateX(-50%) translateY(-6px);
}
.nav .nav__item--industries { position: static; }
.nav .mega--industries .mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 24px;
  align-items: start;
}
/* Keep the X centering transform when the Industries mega menu is open */
.nav__item.dropdown-open > .mega--industries {
  transform: translateX(-50%) translateY(0);
}
.nav .mega--industries .mega__col h4 {
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #f0e4d0;
}
.nav .mega--industries .mega__list a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  color: #333333;
  transition: background 0.12s ease, color 0.12s ease;
}
.nav .mega--industries .mega__list a strong { font-size: 13px; font-weight: 500; color: inherit; }
.nav .mega--industries .mega__list a:hover { background: #f9f5f0; color: #e87722; }

/* Products dropdown: all 5 products in ONE vertical column (cache-busted here
   in styles.css?v= so it reliably reaches the browser; mirrors nav-capsule.css). */
.drishti-header .mega--products.mega:not(.mega--industries):not(.mega--narrow) .mega__list,
.nav .mega--products .mega__list {
  grid-template-columns: 1fr !important;
}
@media (min-width: 721px) {
  .drishti-header .mega--products.mega:not(.mega--industries):not(.mega--narrow),
  .nav .mega--products {
    width: 340px !important;
    max-width: 340px !important;
  }
}
/* Products dropdown: smaller item text */
.drishti-header .mega--products .mega__list a strong,
.nav .mega--products .mega__list a strong { font-size: 12.5px !important; }
.drishti-header .mega--products .mega__body span,
.nav .mega--products .mega__body span { font-size: 10.5px !important; line-height: 1.3 !important; }

/* NWR side-flyout submenu (its 3 projects) inside the Products dropdown */
.nav .mega--products .mega__has-sub { position: relative; }
.nav .mega--products .mega__has-sub > a { padding-right: 26px !important; }
.nav .mega--products .mega__sub-caret {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 16px; line-height: 1; color: #9aa0a6; font-weight: 700;
}
.nav .mega--products .mega__subflyout {
  position: absolute; top: -6px; left: calc(100% + 6px);
  width: 244px;
  display: flex; flex-direction: column; gap: 1px;
  background: #ffffff; border: 1px solid rgba(0, 0, 0, .06); border-radius: 12px;
  padding: 7px; margin: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16), 0 3px 10px rgba(0, 0, 0, .07);
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: opacity .16s ease, transform .18s cubic-bezier(.34,1.56,.64,1), visibility .18s;
  z-index: 30;
}
/* invisible bridge so the cursor can cross the 6px gap without dropping hover */
.nav .mega--products .mega__has-sub::after {
  content: ""; position: absolute; top: 0; left: 100%; width: 12px; height: 100%;
}
.nav .mega--products .mega__has-sub:hover > .mega__subflyout,
.nav .mega--products .mega__has-sub:focus-within > .mega__subflyout {
  opacity: 1; visibility: visible; transform: translateX(0);
}
.nav .mega--products .mega__subflyout-title {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9aa0a6; padding: 2px 8px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, .06); margin-bottom: 3px;
}
.nav .mega--products .mega__subitem {
  display: flex !important; flex-direction: row !important; align-items: center; gap: 9px;
  padding: 6px 8px !important; border-radius: 8px; white-space: nowrap !important;
  transition: background .15s ease;
}
.nav .mega--products .mega__subitem:hover { background: #f9f5f0 !important; }
.nav .mega--products .mega__subnum {
  flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center;
  border-radius: 6px; font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700;
  color: #ffffff !important; background: linear-gradient(135deg, #f58a22, #009fce);
  box-shadow: 0 2px 6px rgba(245, 138, 34, .25);
  -webkit-text-fill-color: #ffffff;
}
.nav .mega--products .mega__subname { font-size: 12px !important; font-weight: 600; color: #14102a !important; line-height: 1.2; }
.nav .mega--products .mega__subitem:hover .mega__subname { color: #c4611a !important; }
@media (max-width: 720px) {
  /* In the mobile accordion, show the 3 projects inline (no hover) */
  .nav .mega--products .mega__subflyout {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid rgba(0, 0, 0, .1);
    border-radius: 0; width: auto; margin: 2px 0 6px 34px; padding: 0 0 0 8px;
  }
  .nav .mega--products .mega__subflyout-title { display: none; }
  .nav .mega--products .mega__sub-caret { display: none; }
}

@media (max-width: 1200px) {
  .nav__inner { padding: 0.8rem 1.6rem; gap: 1rem; }
  .nav__menu { gap: 0.4rem; }
  .nav__link { font-size: 0.88rem; padding: 0.45rem 0.7rem; }
}
/* Injected mobile "overview" link — hidden everywhere except the mobile
   accordion (shown inside @media max-width:720px below). */
.mega__overview { display: none; }
@media (max-width: 720px) {
  /* Mobile nav: a real hamburger button toggles a vertical panel of the
     top-level links. Mega submenus are hidden on mobile — each top-level
     link navigates to its section page. */
  .drishti-header .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1001;
  }
  .drishti-header .hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    margin: 2.5px 0;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .drishti-header .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .drishti-header .hamburger.active span:nth-child(2) { opacity: 0; }
  .drishti-header .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .drishti-header .nav__menu { display: none; }
  .drishti-header .nav__menu.active {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.5rem;
    gap: 0.15rem;
    background: #0f1318;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    /* size to its content (no forced empty space); only scroll if the
       list is genuinely taller than the viewport. */
    height: auto;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .drishti-header .nav__item { position: static; }
  .drishti-header .nav__link {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    opacity: 1;
    justify-content: space-between;
  }
  /* Enlarge the chevron's tap target: tapping it toggles the dropdown, while
     tapping the label text navigates to the category page (see script.js). */
  .drishti-header .nav__link .nav__chev {
    width: 16px;
    height: 16px;
    padding: 12px;
    margin: -12px -8px -12px 0;
    box-sizing: content-box;
    flex: 0 0 auto;
  }
  /* Hover / focus highlight for items in the open mobile menu. */
  .drishti-header .nav__menu.active .nav__link {
    border-radius: 8px;
    transition: background-color 160ms ease, color 160ms ease;
  }
  .drishti-header .nav__menu.active .nav__link:hover,
  .drishti-header .nav__menu.active .nav__link:focus-visible {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--primary-orange);
  }
  /* Submenus become inline accordions: hidden until the category is tapped. */
  .drishti-header .nav__item > .mega { display: none; }
  .drishti-header .nav__item.is-expanded > .mega {
    display: block;
    position: static;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 0.4rem 0.5rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  /* Show only the link lists on mobile, not the promo feature panels. */
  .drishti-header .nav__item.is-expanded .mega__features { display: none; }
  .drishti-header .nav__item.is-expanded .mega__grid { display: block; grid-template-columns: none; }
  .drishti-header .nav__item.is-expanded .mega__col { margin: 0; }
  .drishti-header .nav__item.is-expanded .mega__col h4 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    margin: 0.5rem 0 0.15rem;
  }
  .drishti-header .nav__item.is-expanded .mega__list { list-style: none; margin: 0; padding: 0; }
  .drishti-header .nav__item.is-expanded .mega__list a,
  .drishti-header .nav__item.is-expanded .mega__overview {
    display: block;
    padding: 0.6rem 0.75rem;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
  }
  .drishti-header .nav__item.is-expanded .mega__list a strong { font-weight: 600; color: #ffffff; }
  /* Icon boxes are a desktop-only flourish — hide them in the mobile accordion. */
  .drishti-header .nav__item.is-expanded .mega__ico { display: none; }
  .drishti-header .nav__item.is-expanded .mega__list a .mega__body span { display: block; font-size: 0.8rem; color: inherit; opacity: 0.55; }
  .drishti-header .nav__item.is-expanded .mega__list a:hover,
  .drishti-header .nav__item.is-expanded .mega__overview:hover { background: rgba(255, 255, 255, 0.06); }
  .drishti-header .nav__item.is-expanded .mega__overview { font-weight: 600; color: var(--primary-orange); }
  /* Hide the "Solutions/Products/… overview →" links in the mobile accordion. */
  .drishti-header .nav__item.is-expanded .mega__overview { display: none; }
  .drishti-header .nav__item.is-expanded .nav__chev { transform: rotate(180deg); }

  /* Keep the bar compact: logo + hamburger only. The "Talk to us" pill is
     hidden in the bar on mobile — it appears as a CTA inside the open menu. */
  .drishti-header .nav__inner { gap: 0.5rem; }
  .drishti-header .brand__logo.brand__logo--64 { max-height: 40px; }
  .drishti-header .nav__cta-wrap .btn-primary { display: none; }
  .drishti-header .nav__cta-wrap { gap: 0; }

  /* "Talk to us" CTA shown at the bottom of the open mobile menu. */
  .drishti-header .nav__menu.active .nav__item--mobile-cta {
    display: block;
    margin: 0.5rem 0.25rem 0.25rem;
  }
  .drishti-header .nav__cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
  }
  .drishti-header .nav__cta-mobile svg { width: 16px; height: 16px; }
}

/* =====================================================================
   IMPORTED FROM test.html
   Sections: featured / method / industries / thinking / cta-final
   ===================================================================== */

/* Design tokens (test.html palette) — global, additive to existing :root */
:root {
  --ink-950: #0a0d12;
  --ink-900: #0f1318;
  --ink-850: #131820;
  --ink-800: #181d27;
  --ink-700: #1f2632;
  --ink-600: #2a3242;
  --ink-500: #6b7689;
  --ink-400: #828ea1;
  --ink-300: #8995a8;
  --ink-200: #b6bfcd;
  --ink-100: #dde2ea;
  --ink-50:  #000000;
  --paper:   #f9f6f0;
  --paper-2: #efe9dc;
  --amber:        #f59e0b;
  --amber-light:  #f58a22;
  --emerald:      #10b981;
  --emerald-light:#34d399;
  --rust:         #f58a22;
  --plum:         #8b5cf6;
  --display: var(--font-display, 'Fraunces'), Georgia, serif;
  --sans:    var(--font-sans, 'Geist'), system-ui, sans-serif;
  --mono:    var(--font-mono, 'JetBrains Mono'), 'SF Mono', monospace;
  --tx: cubic-bezier(0.2, 0.6, 0.2, 1);
}

.featured, .method, .industries, .thinking, .cta-final {
  font-family: var(--sans);
}
.featured *, .featured *::before, .featured *::after,
.method *, .method *::before, .method *::after,
.industries *, .industries *::before, .industries *::after,
.thinking *, .thinking *::before, .thinking *::after,
.cta-final *, .cta-final *::before, .cta-final *::after { box-sizing: border-box; }
.featured a, .method a, .industries a, .thinking a, .cta-final a { color: inherit; text-decoration: none; }
.featured img, .featured svg,
.method img, .method svg,
.industries img, .industries svg,
.thinking img, .thinking svg,
.cta-final img, .cta-final svg { display: block; max-width: 100%; }

.featured .wrap, .method .wrap, .industries .wrap, .thinking .wrap, .cta-final .wrap {
  max-width: 1440px; margin: 0 auto; padding: 0 32px;
}

/* Shared utilities scoped to imported sections */
.method .eyebrow, .industries .eyebrow, .thinking .eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.method .eyebrow::before, .industries .eyebrow::before, .thinking .eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--amber);
}
.method .section-h, .industries .section-h, .thinking .section-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: #fff;
}
.method .section-h em, .industries .section-h em, .thinking .section-h em {
  font-style: italic; font-weight: 500; color: #f58a22;
}
.method .section-sub, .industries .section-sub, .thinking .section-sub {
  font-size: 17px; line-height: 1.55; color: var(--ink-200); max-width: 720px; margin: 0;
}
/* black variant — overrides the section-scoped colors above */
.section-sub.section-sub--ink-700,
.featured .section-sub--ink-700,
.method .section-sub--ink-700,
.industries .section-sub--ink-700,
.thinking .section-sub--ink-700 { color: #000000; }

/* FEATURED CASE STUDY — full-width tile */
.featured {
  background: #ffffff;
  color: var(--ink-900);
  padding: 96px 0;
}
.featured .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.featured__copy { padding-right: 24px; }
.featured__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #f58a22;
  text-transform: uppercase;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.featured__eyebrow::before {
  content: ""; width: 24px; height: 1px; background: #f58a22;
}
.featured__h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  color: var(--ink-900);
}
.featured__h em { font-style: italic; font-weight: 500; color: #f58a22; }
.featured__lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-700);
  margin: 0 0 24px;
}
.featured__lede strong { color: var(--ink-900); font-weight: 600; }
.featured__client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--paper-2);
  border-left: 3px solid #f58a22;
  border-radius: 6px;
  margin-bottom: 32px;
}
.featured__client svg { width: 38px; height: 38px; color: #f58a22; flex-shrink: 0; }
.featured__client__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
}
.featured__client__role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
  text-transform: uppercase;
}
.featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--ink-900);
  color: var(--paper);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s var(--tx);
}
.featured__cta:hover { background: var(--ink-800); transform: translateY(-1px); }
.featured__cta svg { width: 14px; height: 14px; }
.featured__visual {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(217, 119, 87, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #1a1410 0%, #0f1318 100%);
  border-radius: 14px;
  border: 1px solid #2a221c;
  position: relative;
  overflow: hidden;
  padding: 32px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}
.featured__visual__head {
  display: flex; justify-content: space-between; align-items: center;
}
.featured__visual__head span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-300);
}
.featured__visual__head span.live { color: var(--emerald-light); display: flex; align-items: center; gap: 6px; font-weight: 700; }
.featured__visual__head span.live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 6px var(--emerald);
}
.featured__viz {
  display: grid; place-items: center; position: relative;
}
.featured__viz svg { max-width: 90%; height: auto; }
.featured__visual__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 16px;
  border-top: 1px dashed rgba(180,191,205,0.18);
}
.featured__visual__stat__num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-50);
  letter-spacing: -0.02em;
  line-height: 1;
}
.featured__visual__stat__num span { color: #f58a22; font-size: 0.7em; }
.featured__visual__stat__lbl {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  text-transform: uppercase;
  margin-top: 4px;
}

/* METHOD — How we work, 5-step rail */
.method { background: var(--ink-950); padding: 96px 0; }
.method__head { max-width: 800px; margin-bottom: 64px; }
.method__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.method__rail {
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--ink-600) 8%, var(--ink-600) 92%, transparent 100%);
  z-index: 0;
}
.method__step {
  padding: 0 18px;
  position: relative;
  z-index: 1;
}
.method__step__num {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 1px solid var(--ink-600);
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  font-style: italic;
  color: var(--amber);
  position: relative;
}
.method__step__num::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--ink-600);
  border-radius: 50%;
  opacity: 0.5;
}
.method__step__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #fff;
  text-align: center;
  margin: 0 0 12px;
}
.method__step__desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-300);
  text-align: center;
  margin: 0;
}
.method__step__tools {
  margin-top: 18px;
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  text-transform: uppercase;
  padding-top: 14px;
  border-top: 1px dashed var(--ink-700);
}

/* INDUSTRIES — tabbed cluster view */
.industries {
  background: var(--ink-900);
  padding: 96px 0;
  border-top: 1px solid var(--ink-700);
  border-bottom: 1px solid var(--ink-700);
}
.industries__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0 36px;
  margin-top: 44px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--ink-700);
}
.ind-tab {
  padding: 16px 0 18px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  color: var(--ink-400);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: color 0.2s var(--tx), border-color 0.2s var(--tx);
  margin-bottom: -1px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* scoped to .industries so it beats `.industries a { color: inherit }` */
.industries .ind-tab { color: #fff; }
.industries .ind-tab:hover { color: #fff; }
.ind-tab__count {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-500);
  padding: 2px 7px;
  background: var(--ink-850);
  border: 1px solid var(--ink-700);
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.ind-tab.is-active { color: var(--amber); border-bottom-color: var(--amber); }
.ind-tab.is-active .ind-tab__count {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.10);
  border-color: rgba(245, 158, 11, 0.35);
}
.industries__panel { display: none; }
.industries__panel.is-active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 14px;
  animation: ind-fade 0.35s var(--tx);
}
@keyframes ind-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ind-card {
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  background: var(--ink-850);
  border: 1px solid var(--ink-700);
  border-radius: 10px;
  transition: border-color 0.2s var(--tx), transform 0.2s var(--tx);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.ind-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--tx);
}
.ind-card:hover { border-color: var(--ink-600); transform: translateY(-2px); }
.ind-card:hover::before { transform: scaleX(1); }
.ind-card__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: rgb(0, 159, 206);
  stroke-width: 1.5;
}
.ind-card__name {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
.ind-card__count {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ind-card__clients {
  font-size: 12.5px;
  color: var(--ink-400);
  line-height: 1.5;
  margin: 0 0 18px;
}
.ind-card__link {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-200);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--tx), gap 0.2s var(--tx);
}
.ind-card:hover .ind-card__link { color: var(--amber); gap: 9px; }

/* THINKING — recent thinking strip */
.thinking { background: #ffffff; color: var(--ink-900); padding: 96px 0; }
.thinking__head {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 20px;
  margin-bottom: 48px;
}
.thinking__head .eyebrow { color: #f58a22; }
.thinking__head .eyebrow::before { background: #f58a22; }
.thinking__head .section-h { color: var(--ink-900); }
.thinking__head .section-h em { color: #f58a22; }
.thinking__head a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #f58a22;
  font-weight: 600;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid #f58a22;
}
.thinking__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.think-card {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid #d8d2c4;
  transition: all 0.3s var(--tx);
  display: flex;
  flex-direction: column;
}
.think-card:hover {
  border-color: #f58a22;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(217, 119, 87, 0.15);
}
.think-card__cover {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.think-card__cover--garbha { background: linear-gradient(135deg, #f5e6d3 0%, #e8c5a0 100%); }
.think-card__cover--gmr { background: linear-gradient(135deg, #1a1535 0%, #0d1928 100%); }
.think-card__cover--wdd { background: linear-gradient(135deg, #0a1628 0%, #1c3149 100%); }
.think-card__cover__svg {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
}
.think-card__cover__svg svg { width: 60%; height: auto; opacity: 0.8; }
.think-card__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.think-card__body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; gap: 12px; }
.think-card__meta {
  display: flex;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink-700);
  text-transform: uppercase;
  font-weight: 600;
}
.think-card__meta span:first-child { color: #f58a22; }
.think-card__title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0;
}
.think-card__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-700);
  margin: 0;
  flex-grow: 1;
}
.think-card__link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-900);
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #ebe5d6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* CTA FINAL */
.cta-final {
  background: #ffffff;
  color: var(--ink-900);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, #f58a22 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final__h {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  max-width: 820px;
  margin: 0 0 20px;
}
.cta-final__h em { font-style: normal; font-weight: 700; }
.cta-final__sub { font-size: 17px; color: var(--ink-700); max-width: 640px; margin: 0 0 36px; }
.cta-final__row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.cta-final .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--amber);
  color: var(--ink-950);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--tx);
}
.cta-final .btn-primary:hover {
  background: #f58a22;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.32);
}
.cta-final .btn-primary svg { width: 14px; height: 14px; }
.cta-final .btn-primary--paper { background: var(--ink-900); color: var(--paper); }
.cta-final .btn-primary--paper:hover { background: var(--ink-800); box-shadow: 0 8px 24px rgba(15, 19, 24, 0.3); }
.cta-final .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #ffffff;
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--ink-900);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--tx);
}
.cta-final .btn-secondary:hover {
  background: var(--ink-900);
  color: #ffffff;
  transform: translateY(-1px);
}
.cta-final .btn-secondary svg { width: 14px; height: 14px; }
.cta-final__browse-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink-900);
  text-decoration: none;
  transition: opacity 0.2s var(--tx);
}
.cta-final__browse-link:hover { opacity: 0.7; color: var(--ink-900); }
.cta-final__browse-link svg { width: 14px; height: 14px; }

.cta-final__note {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-700);
  letter-spacing: 0.04em;
}
/* FOOTER - sitemap-style */
footer { background: var(--ink-950); border-top: 1px solid var(--ink-700); padding: 80px 0 40px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__brand .brand { font-size: 30px; }
.foot__brand p { font-size: 13.5px; color: var(--ink-300); line-height: 1.55; margin: 0; max-width: 260px; }
.foot__col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--amber); text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot__col a { font-size: 13.5px; color: var(--ink-200); text-decoration: none; transition: color 0.15s var(--tx); }
.foot__col a:hover { color: var(--amber); text-decoration: none; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--ink-700); font-family: var(--mono); font-size: 11px; color: var(--ink-400); letter-spacing: 0.06em; }
.foot__social { display: flex; gap: 14px; }
.foot__social a { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--ink-600); border-radius: 50%; transition: all 0.15s var(--tx); }
.foot__social a:hover { border-color: var(--amber); color: var(--amber); }
.foot__social svg { width: 14px; height: 14px; }

@media (max-width: 1100px) { .foot__top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 720px)  { .foot__top { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; } .foot__brand { grid-column: 1 / -1; } .foot__bottom { flex-direction: column; gap: 16px; align-items: flex-start; } }

/* Responsive — imported sections */
@media (max-width: 1100px) {
  .featured .wrap { grid-template-columns: 1fr; gap: 40px; }
  .featured__visual { max-width: 480px; }
  .method__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .method__rail { display: none; }
  .thinking__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .featured, .method, .industries, .thinking, .cta-final { padding: 64px 0; }
  .featured .wrap, .method .wrap, .industries .wrap,
  .thinking .wrap, .cta-final .wrap { padding: 0 20px; }
  .method__grid { grid-template-columns: 1fr; }
  .industries__tabs {
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .ind-tab { white-space: normal; padding: 12px 0; font-size: 14px; }
  .industries__panel.is-active { grid-template-columns: 1fr; }
}


/* =====================================================================
   HEADER · Industries megamenu — layout lock
   =====================================================================
   The Industries panel must always render 4 columns on one aligned row.
   This block is scoped under .drishti-header (set only on the Header
   component's <nav>) and uses high specificity + !important so it
   defeats any page-loaded sheet that gets attached after client-side
   navigation. The specific collision being defended against:

     public/styles/solutions/light-mode.css:339
       .nav__item { position: relative !important; }

   That rule overrides the un-important .nav .nav__item--industries
   { position: static } at public/styles.css:9426, which collapses the
   absolute panel's containing block from .nav (full viewport) to the
   narrow industries <li>, shrinking the panel and dropping a column.

   Defenses below (any one is enough; all three together make the
   layout invariant to future stylesheet additions):
   1. Force the industries <li> to stay position: static so the panel's
      containing block stays .nav.
   2. Anchor the panel's width to the viewport, not its containing block.
   3. Use an explicit 4-column grid template instead of auto-fit, so the
      column count never depends on resolved panel width.
   ===================================================================== */
.drishti-header .nav__item.nav__item--industries { position: static !important; }

.drishti-header .mega.mega--industries {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  min-width: 0 !important;
  width: min(1080px, calc(100vw - 32px)) !important;
  max-width: none !important;
  padding: 24px 28px !important;
  transform: translateX(-50%) translateY(-6px);
}
.drishti-header .nav__item.dropdown-open > .mega.mega--industries {
  transform: translateX(-50%) translateY(0);
}

.drishti-header .mega.mega--industries .mega__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: start !important;
}

/* =====================================================================
   SITE-WIDE CTA LEFT-ALIGNMENT DEFENSE — single source of truth
   =====================================================================
   Policy: every .cta-final block on the site renders LEFT-ALIGNED by
   default. The /solutions index, /about, and /case-studies/[slug]
   (pharmabot) pages legitimately center their CTAs by scoping under
   body.solutions-page, body.about-page, body.pharmabot-page respectively;
   those scoped rules out-specify the defense below and keep working.
   /products/* pages (drishti/garbha/gmr-power-trading/hies-ai-platform)
   use a different CTA family (.cta-band/.cta-inner/.cta-title/.cta-sub/
   .cta-actions) whose centering is scoped under body.product-page in
   public/styles/products/gmr-power-trading.css — also unaffected.

   The selectors below use chained-class specificity (0,0,2,0) so they
   beat any un-scoped (0,0,1,0) leak from a page-specific stylesheet
   that gets re-attached at the end of <head> after client-side
   navigation, but lose to legitimate body-scoped centering at (0,0,3,0).

   Cascade comparison (text-align on .cta-final):
     leaking page CSS:               .cta-final                                                    →  (0,0,1,0)
     this defense:                   .cta-final.cta-final                                          →  (0,0,2,0)  WINS over leak
     legit centering (sol-index):    body.solutions-page .solutions-content .cta-final              →  (0,0,3,0)  WINS over defense
   ===================================================================== */

.cta-final.cta-final              { text-align: left; }
.cta-final .cta-final__h          { margin-left: 0; margin-right: 0; }
.cta-final .cta-final__sub        { margin-left: 0; margin-right: 0; }
.cta-final .cta-final__row        { justify-content: flex-start; align-items: center; }

/* =====================================================================
   Accessibility: skip link + global visible focus indicator
   ===================================================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  padding: 0.6rem 1rem;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Respect reduced-motion globally for anchor/scroll animations */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =====================================================================
   System pages (404 not-found, error). These use .system-page markup
   which had no styling, leaving dark text invisible on the dark bg.
   ===================================================================== */
.system-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
  background: #ffffff;
  text-align: center;
}
.system-page__inner { max-width: 560px; margin: 0 auto; }
.system-page .text-subtle {
  font-family: var(--font-mono, monospace);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-orange, #ED8E39);
  margin: 0 0 1rem;
}
.system-page h1 {
  font-family: var(--font-display, serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #0a0a0a;
  margin: 0 0 1rem;
}
.system-page .text-muted {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #555555;
  margin: 0 0 2rem;
}
.system-page .cluster {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.system-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.system-page .btn--primary {
  background: var(--primary-orange, #ED8E39);
  color: #ffffff;
}
.system-page .btn--primary:hover { transform: translateY(-2px); }
.system-page .btn--outline {
  background: transparent;
  color: #0a0a0a;
  border-color: rgba(10, 10, 10, 0.25);
}
.system-page .btn--outline:hover { border-color: var(--primary-orange, #ED8E39); }

/* =====================================================================
   Blogs / Insights section — cards sourced from the drishti blog sheet.
   Used on the homepage (#blogs, first 6 + "View all") and the /blogs page.
   ===================================================================== */
.blogs {
  position: relative;
  background: #fafaf8;
  padding: 80px 0;
  overflow: hidden;
}
/* Soft brand glow in the top-right for depth (decorative). */
.blogs::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -90px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(232, 119, 34, 0.09), rgba(232, 119, 34, 0) 70%);
  pointer-events: none;
}
.blogs__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.blogs__head { margin-bottom: 40px; }
.blogs__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e87722;
}
.blogs__label::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 1px;
  background: #e87722;
}
.blogs__title {
  margin: 6px 0 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: #111111;
}
.blogs__sub {
  margin: 8px 0 0;
  font-size: 16px;
  color: #666666;
}
.blogs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Entrance: staggered scroll-reveal on the wrapper (script.js adds .visible).
   The hover transform lives on the inner .blog-card, so the entrance translate
   and the hover lift never fight over the same `transform`. */
.blogs .blog-card-wrap {
  display: flex;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  filter: blur(4px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.blogs .blog-card-wrap.visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.blogs__grid > .blog-card-wrap:nth-child(3n + 2) { transition-delay: 0.08s; }
.blogs__grid > .blog-card-wrap:nth-child(3n + 3) { transition-delay: 0.16s; }

.blog-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
  background: #ffffff;
  border: 1px solid #f0eae0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  will-change: transform;
  transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}
/* Animated gradient border ring, revealed on hover. */
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232, 119, 34, 0.55), rgba(232, 119, 34, 0) 45%, rgba(232, 119, 34, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
/* Cursor-following spotlight glow (--mx/--my set by BlogCardFx). */
.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(240px circle at var(--mx) var(--my), rgba(232, 119, 34, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.blog-card:hover::before,
.blog-card:hover::after { opacity: 1; }
.blog-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf4 100%);
  box-shadow: 0 18px 42px rgba(232, 119, 34, 0.18);
}
.blog-card__accent,
.blog-card__title,
.blog-card__more { position: relative; z-index: 2; }
.blog-card__accent {
  width: 40px;
  height: 3px;
  margin-bottom: 16px;
  border-radius: 2px;
  background: #e87722;
  transition: width 0.3s ease;
}
.blog-card:hover .blog-card__accent { width: 100%; }
/* Full-bleed cover image at the top of the card. */
.blog-card__media {
  display: block;
  width: 100%;
  height: 168px;
  overflow: hidden;
  background: #f3efe8;
}
.blog-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
/* Text block below the image (or the whole card when there's no image). */
.blog-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
/* Circular badge that reads on photos and white alike. */
.blog-card__icon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 30px;
  height: 30px;
  padding: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0a66c2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: color 0.25s ease, transform 0.25s ease;
}
.blog-card:hover .blog-card__icon {
  color: #e87722;
  transform: scale(1.1);
}
.blog-card__title {
  margin: 0;
  padding-right: 28px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}
.blog-card__more {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #e87722;
  transition: transform 0.25s ease;
}
.blog-card:hover .blog-card__more { transform: translateX(4px); }

.blogs__more {
  margin-top: 36px;
  text-align: center;
}
.blogs__viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border: 1.5px solid #e87722;
  border-radius: 8px;
  background: transparent;
  color: #e87722;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.blogs__viewall:hover {
  background: #e87722;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(232, 119, 34, 0.3);
  transform: translateY(-2px);
}
.blogs__empty {
  margin: 0;
  font-size: 15px;
  color: #666666;
}

@media (prefers-reduced-motion: reduce) {
  .blogs .blog-card-wrap { opacity: 1; transform: none; filter: none; transition: none; }
  .blog-card,
  .blog-card::before,
  .blog-card::after,
  .blog-card__accent,
  .blog-card__icon,
  .blog-card__more { transition: none; }
}
@media (max-width: 640px) {
  .blogs { padding: 56px 0; }
  .blogs__title { font-size: 28px; }
}

/* =====================================================================
   London Business School case-studies section (#lbs) — keep the
   absolutely-positioned particles contained behind the content.
   ===================================================================== */
#lbs {
  position: relative;
  overflow: hidden;
}
#lbs .particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
#lbs .lbs-wrap {
  position: relative;
  z-index: 1;
}
/* Left-align the LBS header, nudged a bit further left of the card row. */
#lbs .lbs-head {
  text-align: left;
  max-width: 1200px;
  padding: 0 60px 0 0;
}
/* Orange title (override the gradient text-fill from .lbs-title). */
#lbs .lbs-title {
  background: none;
  -webkit-text-fill-color: #ed8e39;
  color: #ed8e39;
}
/* Floating-particle drift (LBS section renders particles via React). */
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  25% { transform: translateY(-20px) translateX(10px); }
  50% { transform: translateY(-40px) translateX(-10px); }
  75% { transform: translateY(-20px) translateX(10px); }
}
