
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined', 'Material Icons Outlined', 'Material Icons';
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
    }
}

.animate-phone-float {
    animation: phoneFloat 5s ease-in-out infinite;
}

.animate-badge-float {
    animation: badgeFloat 4s ease-in-out infinite;
}

/* Override Playfair Display ampersand (U+0026) with simple sans-serif ampersand */
@font-face {
    font-family: 'Playfair Display';
    src: local('Montserrat'), local('Arial'), sans-serif;
    unicode-range: U+0026;
}

body {
    background-color: #FDFDFD;
    color: #111111;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Elegant Utopia-style elements adapted for friendly Agriculture */
.label-spaced {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #263A2D;
    padding: 14px 36px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.4s ease;
    background: transparent;
    color: #263A2D;
    cursor: pointer;
    border-radius: 9999px;
}

    .btn:hover {
        background-color: #263A2D;
        color: #FDFDFD;
    }

.btn-accent {
    background-color: #1A7A4A;
    color: #FDFDFD;
    border-color: #1A7A4A;
}

    .btn-accent:hover {
        background-color: #f4c31a;
        color: #FFFFFF;
        border-color: #f4c31a;
    }

/* Nav Dropdown */
.nav-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.nav-group:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Active nav link */
.nav-active {
    color: #ffcd1e !important;
    position: relative;
}

    .nav-active::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #ffcd1e;
        border-radius: 2px;
    }

/* Lang toggle active state */
.lang-hi #lang-en {
    opacity: .45;
}

.lang-hi #lang-hi {
    opacity: 1;
    font-weight: 700;
    color: #1A4B3A;
}

.friendly-card {
    background: #FFFFFF;
    border: 1px solid #E8EFEA;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
    padding: 2.5rem;
}

    .friendly-card:hover {
        border-color: #1A4B3A;
        transform: translateY(-4px);
        box-shadow: 0 10px 30px -10px rgba(26, 75, 58, 0.1);
    }

/* Utopia Premium Animated Image Cards */
.hover-reveal-card {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    border: none;
    border-radius: 1.5rem;
    padding: 2.5rem;
    transition: all 0.5s ease;
    z-index: 1;
}

    .hover-reveal-card .bg-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 1;
        transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: -2;
    }

    .hover-reveal-card .overlay {
        position: absolute;
        inset: 0;
        background: rgba(26, 75, 58, 0.65);
        transition: all 0.6s ease;
        z-index: -1;
    }

    .hover-reveal-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px -10px rgba(26, 75, 58, 0.25);
    }

        .hover-reveal-card:hover .bg-img {
            filter: grayscale(100%);
            transform: scale(1.05);
        }

    .hover-reveal-card h3,
    .hover-reveal-card p,
    .hover-reveal-card span {
        color: #FFFFFF !important;
    }

/* Process Step Animations */
.process-step {
    transition: all 0.4s ease;
    cursor: pointer;
}

    .process-step:hover {
        transform: translateX(10px);
    }

        .process-step:hover .step-img {
            opacity: 1;
            transform: scale(1) translateX(0);
        }

.step-img {
    position: absolute;
    right: -120px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8) translateX(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    pointer-events: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 108, 64, 0.05);
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(0, 108, 64, 0.1);
    }

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

    .reveal-up.active {
        opacity: 1;
        transform: translateY(0);
    }

.ksk-service-grid .ksk-service-card {
    opacity: 0;
    transform: translateY(26px) scale(0.98);
    transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    transition-delay: var(--ksk-delay, 0s), var(--ksk-delay, 0s), 0s, 0s;
}

.ksk-service-grid.active .ksk-service-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ksk-service-card {
    position: relative;
    min-height: 146px;
    overflow: hidden;
}

    .ksk-service-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 0%, rgba(26, 122, 74, 0.08) 45%, transparent 70%);
        transform: translateX(-110%);
        transition: transform 0.7s ease;
        pointer-events: none;
    }

.ksk-service-grid.active .ksk-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 122, 74, 0.18);
    box-shadow: 0 22px 45px -26px rgba(26, 75, 58, 0.45);
}

.ksk-service-card:hover::after {
    transform: translateX(110%);
}

.ksk-service-icon {
    box-shadow: inset 0 0 0 1px rgba(26, 122, 74, 0.04);
    transition: transform 0.35s ease, background-color 0.35s ease;
}

    .ksk-service-icon .material-symbols-outlined {
        font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    }

.ksk-service-card:hover .ksk-service-icon {
    transform: scale(1.08) rotate(-3deg);
    background-color: rgba(26, 122, 74, 0.16);
}

.ksk-form-card {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

    .ksk-form-card.active {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .ksk-form-card:hover {
        box-shadow: 0 28px 60px -34px rgba(26, 75, 58, 0.5);
    }

.ksk-field {
    position: relative;
}

.ksk-field-icon {
    position: absolute;
    left: 14px;
    top: 34px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #E4F1EC;
    color: #087A4A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: none;
}

    .ksk-field-icon .material-symbols-outlined {
        font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    }

.ksk-field-control {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.ksk-field:focus-within .ksk-field-icon {
    transform: scale(1.07);
    background: rgba(26, 122, 74, 0.16);
}

.ksk-field:focus-within .ksk-field-control {
    border-color: rgba(26, 122, 74, 0.55);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(26, 122, 74, 0.09);
}

.ksk-form-button {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section-spacing {
    padding: 8rem 0;
}

.heading-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.1;
    color: #111111;
    font-weight: 700;
}

/* Hero Slideshow Animation */
@keyframes crossfade {
    0% {
        opacity: 1;
        transform: scale(1.05);
    }

    25% {
        opacity: 1;
        transform: scale(1.0);
    }

    33% {
        opacity: 0;
        transform: scale(1.0);
    }

    92% {
        opacity: 0;
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: crossfade 12s infinite;
    z-index: 0;
    mix-blend-mode: overlay;
}

    .slide-bg:nth-child(1) {
        animation-delay: 0s;
    }

    .slide-bg:nth-child(2) {
        animation-delay: 4s;
    }

    .slide-bg:nth-child(3) {
        animation-delay: 8s;
    }

@keyframes shimmer {
    from {
        left: -60%
    }

    to {
        left: 160%
    }
}

#ribbon-shimmer {
    animation: shimmer 3s linear infinite;
}

/* Floating Cards Animations */
@keyframes float1 {

    0%, 100% {
        transform: translateY(0px) translateX(-40px);
    }

    50% {
        transform: translateY(-12px) translateX(-40px);
    }
}

@keyframes float2 {

    0%, 100% {
        transform: translateY(0px) translateX(20px);
    }

    50% {
        transform: translateY(-16px) translateX(20px);
    }
}

@keyframes float3 {

    0%, 100% {
        transform: translateY(0px) translateX(-10px);
    }

    50% {
        transform: translateY(-14px) translateX(-10px);
    }
}

@keyframes float4 {

    0%, 100% {
        transform: translateY(0px) translateX(40px);
    }

    50% {
        transform: translateY(-10px) translateX(40px);
    }
}

.animate-float-1 {
    animation: float1 6s ease-in-out infinite;
}

.animate-float-2 {
    animation: float2 5s ease-in-out infinite;
}

.animate-float-3 {
    animation: float3 5.5s ease-in-out infinite;
}

.animate-float-4 {
    animation: float4 6.5s ease-in-out infinite;
}

@keyframes stemGrow {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes budAppear {
    to {
        opacity: 1;
    }
}

@keyframes plantSway {

    0%, 100% {
        transform: rotate(var(--plant-rotation));
    }

    50% {
        transform: rotate(calc(var(--plant-rotation) + 2deg)) translateY(-5px);
    }
}

@keyframes budPulse {
    50% {
        transform: scale(1.35);
        opacity: 0.65;
    }
}

.plant-art {
    --plant-rotation: 0deg;
    transform-origin: bottom left;
    animation: plantSway 5s ease-in-out 3s infinite;
}

.plant-art-reverse {
    --plant-rotation: 180deg;
    transform-origin: center;
}

.plant-stem,
.plant-branch {
    fill: none;
    stroke: #1A7A4A;
    stroke-linecap: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: stemGrow 3s ease forwards;
}

.plant-stem {
    stroke-width: 2;
}

.plant-branch {
    stroke-width: 1.25;
    animation-delay: 0.5s;
}

.plant-bud {
    fill: #C49A45;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: budAppear 0.7s ease 2.5s forwards, budPulse 3s ease-in-out 3.2s infinite;
}

/* ── Functional styles for App Metrics + Kisaan AI sections ── */
/* glass-card is already defined above — no duplicate needed */

/* hover-lift is already defined above — no duplicate needed */

.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Marquee animation for Live Ticker */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* Animated Journey Path */
.journey-path {
    background: linear-gradient(180deg, transparent, rgba(31, 97, 6, 0.8), transparent);
    background-size: 100% 200%;
    animation: flow-down 3s linear infinite;
}

@keyframes flow-down {
    0% {
        background-position: 0 -100%;
    }

    100% {
        background-position: 0 100%;
    }
}

.marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
}

.marquee-container:hover .animate-marquee {
    animation-play-state: paused;
}

/* Floating Nodes & Ecosystem Depth */
.floating-node {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 1;
    }
}

/* 3D Tilt Effect Simulation */
.tilt-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s;
    transform-style: preserve-3d;
}

    .tilt-card:hover {
        transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-8px);
        box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.08), 0 0 20px rgba(31, 97, 6, 0.1);
    }

/* Award floating animation and 3D hover */
@keyframes award-idle-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.award-float {
    animation: award-idle-float 5s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s, border-color 0.5s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

    .award-float:hover {
        animation: none;
        transform: translateY(-16px) rotateX(6deg) rotateY(-6deg) scale(1.03);
        border-color: rgba(31, 97, 6, 0.3) !important;
        box-shadow: 0 25px 50px rgba(31, 97, 6, 0.15), 0 0 30px rgba(31, 97, 6, 0.1) !important;
    }

/* glass-card final definition (authoritative) */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05), 0 0 30px rgba(31, 97, 6, 0.05);
}

/* glass-panel-light — used in About.cshtml */
.glass-panel-light {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(31, 97, 6, 0.06);
}

/* Nkosh brand green helper */
.text-nkosh-green  { color: #1f6106; }
.bg-nkosh-green    { background-color: #1f6106; }
.border-nkosh-green { border-color: #1f6106; }
.nkosh-green       { color: #1f6106; }

/* Inner glow button effect used in About */
.inner-glow {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 4px 20px rgba(31,97,6,0.25);
    transition: all 0.35s ease;
}

    .inner-glow:hover {
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 8px 30px rgba(31,97,6,0.35);
    }

/* font-playfair used in About timeline video panel */
.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Chapter transitions */
.chapter {
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

.particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at center, rgba(31, 97, 6, 0.15) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
    animation: float-particles 20s linear infinite;
    pointer-events: none;
}

@keyframes float-particles {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50px);
    }
}

.light-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.4) 15deg, transparent 30deg);
    animation: rotate-rays 60s linear infinite;
    pointer-events: none;
    opacity: 0.3;
}

@keyframes rotate-rays {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ──────────────────────────────────────────────────────── */
/* Krishi Saarthi Kendra (KSK) Scoped Page Styles           */
/* ──────────────────────────────────────────────────────── */
.ksk-wrapper {
    font-family: 'Montserrat', sans-serif;
}
.ksk-wrapper #promo-ribbon {
    display: block !important;
}
.ksk-wrapper .mesh-bg {
    background-color: #FDFDFD;
    background-image: 
        radial-gradient(at 0% 0%, rgba(26, 122, 74, 0.05) 0, transparent 50%), 
        radial-gradient(at 100% 100%, rgba(26, 122, 74, 0.03) 0, transparent 50%);
}
.ksk-wrapper .glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(26, 122, 74, 0.1);
}
.ksk-wrapper .glass-panel-light {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 97, 6, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.ksk-wrapper .label-spaced {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 600;
}
.ksk-wrapper .heading-large {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem !important;
    line-height: 1.1;
    color: #1f6106 !important;
    font-weight: 700;
}

.ksk-wrapper .btn-accent:hover {
    background-color: #ffcd1e;
    color: #263A2D;
    border-color: #ffcd1e;
}
.ksk-wrapper .btn-yellow {
    background-color: #ffcd1e !important;
    color: #263A2D !important;
    border-color: #ffcd1e !important;
    text-shadow: none !important;
    font-weight: bold !important;
}
.ksk-wrapper .btn-yellow:hover {
    background-color: #e5b81b !important;
    border-color: #e5b81b !important;
    color: #263A2D !important;
}
.ksk-wrapper .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.ksk-wrapper .reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.ksk-wrapper .hero-zoom {
    animation: slow-zoom 30s linear infinite alternate;
}
@keyframes slow-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}
.ksk-wrapper .text-shadow-sm {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.ksk-wrapper .card-image-bg {
    background-image: url('https://lh3.googleusercontent.com/aida/AP1WRLu8uzim-pSNEZD91FOE7KOrlES5RI1a04mINIf4zu9yglzl-ImPueKvZZkqS7c32p7NHczHTSB2mE__AFhusIqzVfwT19z02GEBAEnaf8_N3jEfRPGE1MQ2deixVzn_WC2Zal4DXxRmfk1KrXCUd-49oaKKsRFfQyXO_E1yPwDYjGPuN3OMRvN54DLvMC51g9ahut1FB-NHhS4taO0d1rWEXDpx9eHs9V0FrfLQknM1DgX3jtLRA110Y7RN');
    background-size: 300% 300%;
    border: 1px solid rgba(26, 122, 74, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.ksk-wrapper .card-image-bg:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 122, 74, 0.3);
    box-shadow: 0 20px 40px rgba(26, 122, 74, 0.08), 0 1px 3px rgba(0, 0, 0, 0.01);
}
.ksk-wrapper .card-image-bg > div:first-child {
    background-color: rgba(255, 255, 255, 0.94) !important;
    background-image: radial-gradient(at 0% 0%, rgba(26, 122, 74, 0.02) 0%, transparent 70%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all 0.5s ease;
}
.ksk-wrapper .card-image-bg:hover > div:first-child {
    background-color: rgba(255, 255, 255, 0.90) !important;
    background-image: radial-gradient(at 0% 0%, rgba(26, 122, 74, 0.06) 0%, transparent 70%),
                      radial-gradient(at 100% 100%, rgba(255, 205, 30, 0.04) 0%, transparent 70%) !important;
}
.ksk-wrapper .card-image-bg p {
    color: #263A2D !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
    transition: opacity 0.3s ease;
}
.ksk-wrapper .card-image-bg:hover p {
    opacity: 0.95 !important;
}
.ksk-wrapper .card-image-bg h4 {
    transition: color 0.3s ease;
}
.ksk-wrapper .card-image-bg:hover h4 {
    color: #1A7A4A !important;
}
.ksk-wrapper .card-image-bg .w-14 {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.ksk-wrapper .card-image-bg:hover .w-14 {
    background-color: #ffcd1e !important;
    color: #263A2D !important;
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 10px 20px rgba(255, 205, 30, 0.2);
}
.ksk-wrapper .bg-crop-1 { background-position: 5% 5%; }
.ksk-wrapper .bg-crop-2 { background-position: 50% 5%; }
.ksk-wrapper .bg-crop-3 { background-position: 95% 5%; }
.ksk-wrapper .bg-crop-4 { background-position: 95% 50%; }
.ksk-wrapper .bg-crop-5 { background-position: 5% 50%; }
.ksk-wrapper .bg-crop-6 { background-position: 5% 95%; }
.ksk-wrapper .bg-crop-7 { background-position: 50% 95%; }
.ksk-wrapper .bg-crop-8 { background-position: 95% 95%; }

.ksk-wrapper .px-margin-mobile {
    padding-left: 20px;
    padding-right: 20px;
}
.ksk-wrapper .px-margin-desktop {
    padding-left: 64px;
    padding-right: 64px;
}
.ksk-wrapper .max-w-container-max {
    max-width: 1280px;
}
.ksk-wrapper .bg-surface-container {
    background-color: #FFF9EB;
}
.ksk-wrapper .bg-surface {
    background-color: #FDFDFD;
}
.ksk-wrapper .font-display-xl {
    font-family: 'Playfair Display', serif;
}
.ksk-wrapper .font-headline-lg {
    font-family: 'Playfair Display', serif;
}
.ksk-wrapper .text-body-lg {
    font-size: 18px;
}

.ksk-wrapper .divide-Primary\/10 > :not([hidden]) ~ :not([hidden]) {
    border-color: rgba(26, 122, 74, 0.1) !important;
}
.ksk-wrapper .bg-Primary\/5 {
    background-color: rgba(26, 122, 74, 0.05) !important;
}
.ksk-wrapper .border-Primary\/10 {
    border-color: rgba(26, 122, 74, 0.1) !important;
}
.ksk-wrapper .bg-Primary {
    background-color: #1A7A4A !important;
}
.ksk-wrapper .text-Primary {
    color: #1A7A4A !important;
}

/* ── NkoshApp Shared Animations & Utilities ── */
.reveal { opacity: 0; transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-left { transform: translateX(-50px); }
.fade-right { transform: translateX(50px); }
.zoom-in { transform: scale(0.9); }
.flip-x { transform: rotateX(90deg); }
.reveal.active { opacity: 1; transform: translate(0) scale(1) rotateX(0); }

.parchment-lift {
    background: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(15, 82, 56, 0.05);
    border: 1px solid rgba(191, 201, 193, 0.3);
}

.perspective-carousel { perspective: 1200px; }
.carousel-item { transition: transform 0.6s ease, opacity 0.6s ease; }

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0; }
}
.ripple::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    animation: ripple 2s infinite;
}

.grain-texture {
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    background-repeat: repeat;
}

.phone-mockup-shadow { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15)); }
.chat-bubble-custom { border-radius: 1.5rem 1.5rem 1.5rem 0.25rem; }

/* ──────────────────────────────────────────────────────── */
/* Kisaan AI Scoped Page Styles                             */
/* ──────────────────────────────────────────────────────── */
.kisaan-ai-wrapper {
    font-family: 'Montserrat', 'Segoe UI', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Kannada', sans-serif;
    background-color: #FDFAF4; /* Soft off-white */
}

.kisaan-ai-wrapper h1,
.kisaan-ai-wrapper h2,
.kisaan-ai-wrapper h3,
.kisaan-ai-wrapper h4,
.kisaan-ai-wrapper .font-display {
    font-family: 'Playfair Display', 'Georgia', 'Segoe UI', 'Noto Sans Devanagari', 'Noto Sans Telugu', 'Noto Sans Tamil', 'Noto Sans Kannada', serif;
}

/* Parallax Sections */
.kisaan-ai-wrapper .parallax-section {
    position: relative;
    overflow: hidden;
}

.kisaan-ai-wrapper .parallax-bg {
    position: absolute;
    inset: 0;
    background-attachment: scroll;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
}

/* Color overrides for Kisaan AI to resolve redefinition of layout secondary to yellow */
.kisaan-ai-wrapper .text-secondary {
    color: #5C6B61 !important; /* Muted green-gray matching textMuted */
}
.kisaan-ai-wrapper .text-secondary\/60 {
    color: rgba(92, 107, 97, 0.6) !important;
}
.kisaan-ai-wrapper .text-secondary\/40 {
    color: rgba(92, 107, 97, 0.4) !important;
}

.kisaan-ai-wrapper .text-on-primary {
    color: #FFFFFF !important;
}

.kisaan-ai-wrapper .bg-surface {
    background-color: #FFFFFF !important;
}

.kisaan-ai-wrapper .bg-surface-variant {
    background-color: #F7FAF8 !important; /* Soft light green-gray */
}

/* Premium Animations */
.kisaan-ai-wrapper .pulse-animation {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 122, 74, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(26, 122, 74, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(26, 122, 74, 0);
    }
}

.kisaan-ai-wrapper .waveform-bar {
    height: 20%;
    animation: wave 1.2s ease-in-out infinite alternate;
}
@keyframes wave {
    0% { height: 20%; }
    100% { height: 100%; }
}
.kisaan-ai-wrapper .waveform-bar:nth-child(2) { animation-delay: 0.2s; }
.kisaan-ai-wrapper .waveform-bar:nth-child(3) { animation-delay: 0.4s; }
.kisaan-ai-wrapper .waveform-bar:nth-child(4) { animation-delay: 0.6s; }
.kisaan-ai-wrapper .waveform-bar:nth-child(5) { animation-delay: 0.3s; }
.kisaan-ai-wrapper .waveform-bar:nth-child(6) { animation-delay: 0.1s; }

.kisaan-ai-wrapper .laser-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #1A7A4A;
    box-shadow: 0 0 8px #1A7A4A;
    animation: scan 3s linear infinite;
    z-index: 10;
}
@keyframes scan {
    0% { top: 0%; }
    50% { top: 100%; }
    100% { top: 0%; }
}

.kisaan-ai-wrapper .typewriter {
    border-right: 2px solid rgba(255,255,255,0.75);
    animation: blink-caret 0.75s step-end infinite;
}

/* Reveal Observer styling matching KSK */
.kisaan-ai-wrapper .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.kisaan-ai-wrapper .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom padding utilities */
.kisaan-ai-wrapper .px-margin-mobile {
    padding-left: 20px;
    padding-right: 20px;
}
.kisaan-ai-wrapper .px-margin-desktop {
    padding-left: 64px;
    padding-right: 64px;
}
.kisaan-ai-wrapper .max-w-container-max {
    max-width: 1280px;
}
/* ==========================================================================
   Nkosh Speed Page Specific Styles
   ========================================================================== */

/* connector-line — SVG stroke animation unique to this page */
@keyframes drawLine {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.connector-line {
    stroke-dasharray: 5;
    animation: drawLine 2s linear infinite;
}

/* 3D perspective for hero right panel */
.perspective-container {
    perspective: 1000px;
}

/* Tab active state for audience switcher */
.audience-tab-active {
    border-bottom: 3px solid #1A4B3A;
    color: #1A4B3A;
}

/* Glow pulse ring around step circles */
@keyframes stepGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(26, 122, 74, 0.35), 0 0 0 10px rgba(26, 122, 74, 0.10);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(26, 122, 74, 0.10), 0 0 0 24px rgba(26, 122, 74, 0.04);
    }
}

@keyframes stepGlowYellow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(196, 154, 69, 0.35), 0 0 0 10px rgba(196, 154, 69, 0.10);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(196, 154, 69, 0.10), 0 0 0 24px rgba(196, 154, 69, 0.04);
    }
}

/* Icon bounce on hover */
@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    40% {
        transform: translateY(-6px) scale(1.15);
    }

    70% {
        transform: translateY(2px) scale(0.97);
    }
}

.step-circle-green {
    animation: stepGlow 2.6s ease-in-out infinite;
}

.step-circle-white {
    animation: stepGlow 2.6s ease-in-out 0.4s infinite;
}

.step-circle-yellow {
    animation: stepGlowYellow 2.6s ease-in-out 0.8s infinite;
}

.step-block:hover .step-icon {
    animation: iconBounce 0.55s ease forwards;
}

/* Number badge pop-in */
@keyframes badgePop {
    from {
        transform: scale(0) rotate(-15deg);
        opacity: 0;
    }

    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.step-badge {
    animation: badgePop 0.5s cubic-bezier(0.34,1.56,0.64,1) forwards;
    opacity: 0;
}

    .step-badge.badge-delay-1 {
        animation-delay: 0.6s;
    }

    .step-badge.badge-delay-2 {
        animation-delay: 0.9s;
    }

    .step-badge.badge-delay-3 {
        animation-delay: 1.2s;
    }

/* Arrow pulse */
@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(6px);
        opacity: 1;
    }
}

.step-arrow {
    animation: arrowPulse 1.4s ease-in-out infinite;
}

/* ── Investors Page Unique Styles ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
.tab-content.active {
    display: block;
    opacity: 1;
}

.shimmer-btn {
    background: linear-gradient(90deg, #C49A45 0%, #d4b574 50%, #C49A45 100%);
    background-size: 200% 100%;
}
.shimmer-btn:hover {
    animation: shimmer 1.5s infinite;
}

canvas#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ── KSK Format Tabs ───────────────────────────────────── */
.format-tab-btn {
    border: 2px solid #E8EFEA !important; /* borderLight */
    background-color: #ffffff !important;
    color: #263A2D !important; /* textDark */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.format-tab-btn:hover {
    background-color: rgba(255, 249, 235, 0.6) !important; /* cream */
    border-color: #DDD4BC !important; /* warmBorder */
    transform: translateY(-2px) !important;
}

.format-tab-btn.active {
    border-color: #1A7A4A !important; /* primary */
    background-color: #1A7A4A !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 10px 25px -5px rgba(26, 122, 74, 0.3) !important;
}

.format-tab-btn.active:hover {
    background-color: #1A7A4A !important;
    color: #ffffff !important;
    transform: scale(1.05) !important;
    box-shadow: 0 10px 25px -5px rgba(26, 122, 74, 0.3) !important;
}

.format-tab-btn .tab-subtext {
    color: #5C6B61 !important; /* textMuted */
    transition: color 0.3s ease !important;
}

.format-tab-btn.active .tab-subtext {
    color: #ffcd1e !important; /* secondary */
}

/* Chatbot Maximized/Fullscreen styling */
#ai-chat-window.maximized {
    position: fixed !important;
    bottom: 2rem !important;
    right: 1.5rem !important;
    width: 600px !important;
    height: 80vh !important;
    max-height: 750px !important;
    z-index: 9999 !important;
    border-radius: 2rem !important;
}

@media (max-width: 640px) {
    #ai-chat-window.maximized {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
        z-index: 9999 !important;
    }
}

/* Header Responsive Fixes for Laptops & MacBooks */

/* Large Desktop - 1440px and below */
@media (max-width: 1440px) {
    #main-nav img {
        height: 3.25rem !important; /* ~52px logo */
    }
    #main-nav .hidden.md\:flex {
        gap: 1.25rem !important; /* ~20px nav spacing */
    }
    #main-nav .btn {
        padding: 10px 22px !important;
        font-size: 0.7rem !important;
    }
}

/* Laptop / MacBook / 1366px */
@media (max-width: 1366px) {
    #main-nav .hidden.md\:flex {
        gap: 0.875rem !important; /* ~14px nav spacing */
        font-size: 0.7rem !important;
    }
    #main-nav img {
        height: 2.75rem !important; /* ~44px logo */
    }
    #main-nav .btn {
        padding: 8px 18px !important;
        font-size: 0.68rem !important;
    }
}

/* Tablet / Small Laptop - 1199px and below */
@media (max-width: 1199px) {
    #main-nav .hidden.md\:flex {
        gap: 0.625rem !important;
    }
}

/* ── Google Translate Clean Hide Styles ─────────────────── */
#google_translate_element {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
body {
    top: 0px !important;
    position: static !important;
}
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* ── Prevent Google Translate from altering icons ─────────── */
.material-symbols-outlined,
.material-icons,
[class*="fa-"],
svg,
.notranslate {
    -webkit-translate: no !important;
    translate: no !important;
}

/* ── Heading Overlap & Translation Layout Safeguards ─── */
h1, h2, h3, .heading-large {
    word-break: break-word;
    overflow-wrap: break-word;
}

.translated-rtl h1, .translated-ltr h1,
.translated-rtl h2, .translated-ltr h2 {
    line-height: 1.25 !important;
}


