﻿/* ============================================
           HERO SECTION
           ============================================ */
.why-india-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(217, 119, 6, 0.06) 50%, rgba(5, 150, 105, 0.04) 100%);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(3px);
    z-index: 2;
}

    .why-india-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(at 15% 40%, rgba(5, 150, 105, 0.12) 0%, transparent 55%), radial-gradient(at 85% 15%, rgba(217, 119, 6, 0.08) 0%, transparent 45%), radial-gradient(at 60% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 50%);
        pointer-events: none;
    }

.why-india-hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
    opacity: 0.9;
}

    .why-india-hero-bg-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

.why-india-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #fffffff5 41%, transparent 64%);
    z-index: 1;
}

.why-india-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 64px;
    max-width: 750px;
}

.why-india-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.25);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s 0.15s ease-out both;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(1.2);
    }
}

.why-india-hero-title {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s 0.25s ease-out both;
}

    .why-india-hero-title .india {
        background: linear-gradient(85deg, rgba(255, 153, 51) 34%, rgba(255, 255, 255) 42%, rgba(19, 136, 8) 57%);
        background-size: 300% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: flagWave 5s ease-in-out infinite;
    }

@keyframes flagWave {
    0% {
        background-position: 0% 40%;
    }

    50% {
        background-position: 60% 40%;
    }

    100% {
        background-position: 0% 40%;
    }
}

.why-india-hero-subtitle {
    font-size: clamp(16px, 1.5vw, 20px);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s 0.35s ease-out both;
}

.why-india-hero-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 2px;
    animation: expandLine 0.8s 0.5s ease-out both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 60px;
        opacity: 1;
    }
}

/* ============================================
           STATS BAR
           ============================================ */
/*.stats-section {
    position: relative;
    z-index: 2;
    padding: 0 64px;
    margin-top: -40px;
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    animation: fadeInUp 0.8s 0.6s ease-out both;
}

.stat-item {
    padding: 36px 28px;
    text-align: center;
    border-right: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.4s ease;
}

    .stat-item:last-child {
        border-right: none;
    }

    .stat-item:hover {
        background: var(--glass-bg);
    }

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(217, 119, 6, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) translateY(-4px);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
}

.stat-value {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 6px;
}

    .stat-value .unit {
        font-size: 18px;
        font-weight: 700;
        color: var(--accent-gold);
    }

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
}*/

/* ============================================
           SECTION HEADER
           ============================================ */
.section-spacing {
    padding: 80px 64px;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.accent-line {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-gold));
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-gold);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25);
}

/* ============================================
           ENERGY SECTOR OUTLOOK CARDS
           ============================================ */
.outlook-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.outlook-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

    .outlook-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.15), transparent);
        z-index: 2;
    }

    .outlook-card:hover {
        border-color: var(--glass-border-hover);
        transform: translateY(-8px);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
    }

.outlook-image {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
}

    .outlook-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.outlook-card:hover .outlook-image img {
    transform: scale(1.1);
}

.outlook-icon {
    position: absolute;
    bottom: 15px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.25);
    z-index: 3;
    transition: transform 0.4s ease;
}

.outlook-card:hover .outlook-icon {
    transform: scale(1.1) rotate(-5deg);
}

.outlook-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.outlook-icon.orange {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25);
}

.outlook-icon.blue {
    background: linear-gradient(135deg, #1e3a5f, #3b5998);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

.outlook-icon.gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-amber));
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.25);
}

.outlook-content {
    padding: 40px 20px 24px;
}

.outlook-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

    .outlook-title.orange-text {
        color: var(--accent-orange);
    }

    .outlook-title.blue-text {
        color: var(--stat-blue);
    }

    .outlook-title.gold-text {
        color: var(--accent-gold);
    }

.outlook-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

    .outlook-desc strong {
        color: var(--text-primary);
        font-weight: 600;
    }

/* ============================================
           GREEN ENERGY CARDS
           ============================================ */
.green-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.green-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

    .green-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.15), transparent);
        z-index: 2;
    }

    .green-card:hover {
        border-color: var(--glass-border-hover);
        transform: translateY(-8px);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
    }

.green-image {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
}

    .green-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.green-card:hover .green-image img {
    transform: scale(1.1);
}

.green-icon {
    position: absolute;
    bottom: 15px;
    left: 16px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.25);
    z-index: 3;
    transition: transform 0.4s ease;
}

.green-card:hover .green-icon {
    transform: scale(1.1);
}

.green-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.green-content {
    padding: 32px 16px 20px;
}

.green-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-green);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.green-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
           EV SECTOR SECTION
           ============================================ */
.ev-section {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
    position: relative;
    overflow: hidden;
}

    .ev-section::before {
        content: "";
        position: absolute;
        top: -100px;
        right: -100px;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
        pointer-events: none;
    }

.ev-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.ev-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ev-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .ev-list li {
        font-size: 16px;
        color: var(--text-secondary);
        line-height: 1.7;
        position: relative;
        padding-left: 24px;
    }

        .ev-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 8px;
            background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
            border-radius: 50%;
        }

        .ev-list li strong {
            color: var(--text-primary);
            font-weight: 700;
        }

.ev-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 400px;
}

    .ev-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s ease;
    }

    .ev-visual:hover img {
        transform: scale(1.03);
    }

    .ev-visual::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        height: 100%;
        background: linear-gradient(to right, var(--bg-deep), transparent);
    }

/* ============================================
           HYDROGEN & NUCLEAR
           ============================================ */
.hn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.hn-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .hn-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.15), transparent);
    }

    .hn-card:hover {
        border-color: var(--glass-border-hover);
        transform: translateY(-6px);
        box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
    }

.hn-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.hn-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .hn-icon.green {
        background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(5, 150, 105, 0.2));
        box-shadow: 0 8px 24px rgba(5, 150, 105, 0.15);
    }

    .hn-icon.purple {
        background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.2));
        box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
    }

    .hn-icon svg {
        width: 28px;
        height: 28px;
    }

.hn-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.hn-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

    .hn-list li {
        font-size: 15px;
        color: var(--text-secondary);
        line-height: 1.7;
        position: relative;
        padding-left: 20px;
    }

        .hn-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 9px;
            width: 6px;
            height: 6px;
            background: linear-gradient(135deg, var(--primary-green), var(--accent-gold));
            border-radius: 50%;
        }

        .hn-list li strong {
            color: var(--text-primary);
            font-weight: 700;
        }

/* ============================================
           ANIMATIONS
           ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    justify-content: center;
    align-items: center;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

.stagger-1 {
    transition-delay: 0s;
}

.stagger-2 {
    transition-delay: 0.08s;
}

.stagger-3 {
    transition-delay: 0.16s;
}

.stagger-4 {
    transition-delay: 0.24s;
}

.stagger-5 {
    transition-delay: 0.32s;
}

/* ============================================
           RESPONSIVE
           ============================================ */
@media (max-width: 1199px) {

    .outlook-grid,
    .green-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: 1px solid var(--glass-border);
    }

    .outlook-grid,
    .green-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ev-grid,
    .hn-grid {
        grid-template-columns: 1fr;
    }

    .ev-visual {
        order: -1;
        min-height: 280px;
    }

        .ev-visual::after {
            display: none;
        }

    .why-india-hero-content {
        padding: 60px 40px;
        max-width: 100%;
    }

    .why-india-hero-bg-image {
        width: 100%;
        opacity: 0.3;
    }

    .why-india-hero-overlay {
        background: linear-gradient(90deg, #fffffff5 60%, transparent 100%);
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 60px 24px;
    }

    .stats-section {
        padding: 0 24px;
    }

    .outlook-grid,
    .green-grid {
        grid-template-columns: 1fr;
    }

    .hn-card {
        padding: 32px 24px;
    }

    .why-india-hero-title {
        font-size: 36px;
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .stats-bar {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

        .stat-item:last-child {
            border-bottom: none;
        }

    .why-india-hero-content {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .blob {
        animation: none;
    }

    .why-india-hero-title .india {
        animation: none;
    }
}
