/* ==================== ENERGY PAGE CSS ELEVATED ==================== */

/* ===== GLOBAL SETTINGS ===== */
.energy-container {
    font-family: 'Inter', 'Poppins', sans-serif;
    color: #0a1f28;
    line-height: 1.6;
    scroll-behavior: smooth;
    background: #f5f9fc; /* subtle base color for cohesion */
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 68vh; /* 85vh × 0.8 = 68vh → 20% shorter */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(to bottom right, rgba(0,184,169,0.25), rgba(0,150,255,0.25));
    box-shadow: inset 0 0 80px rgba(0,0,0,0.2);
    
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
    object-position: center; /* ensures top/middle/bottom scales evenly */
}

.hero-background img:hover {
    transform: scale(1.05);
    filter: brightness(0.8) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35); /* improves text readability */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-height: 85%; /* limits height relative to hero */
    padding: 20px 15px; /* slightly reduce padding for proportional scaling */
    max-width: 900px;
    color: #ffffff;
    text-shadow: 0 8px 30px rgba(0,0,0,0.5);
    display: inline-block;
    background: rgba(4,71,90,0.25);
    border-radius: 20px;
    backdrop-filter: blur(6px); /* subtle glass effect */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: translateY(17%); /* moves the box down 15% of its own height */

}

.hero-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.hero-content h1 {
    font-family: 'Orbitron', 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e9f6fa;
    text-shadow: 5 5 12px rgba(90, 218, 235, 0.7), 0 0 10px rgba(0,150,255,0.6);
}

.hero-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0f7ff;
    line-height: 1.7;
    margin-top: 7px;
    text-shadow:
        0 0 6px rgba(4,71,90,0.6),
        0 0 20px rgba(0,150,255,0.4);
    letter-spacing: 0.5px;
}


/* ===== SECTION HEADINGS ===== */
.section-heading {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    color: #045876;
    text-shadow: 0 0 12px rgba(118, 174, 207, 0.7), 0 0 10px rgba(179, 206, 225, 0.6);
    margin: 70px 20px 50px 20px;
    position: relative;
    letter-spacing: 1.2px;
}

.section-heading::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background: #00b8a9;
    margin: 20px auto 0 auto;
    border-radius: 3px;
}

/* ===== SOLUTIONS GRID ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20 20px 70px 20px;
}

.solution-card {
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 30px 20px;
    box-shadow: 0 20px 60px rgba(0,180,255,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 90px rgba(0,200,255,0.25);
}

.solution-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #03465e;
    margin-bottom: 18px;
}

.solution-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #03465e;
}
/* =================== ELEVATED ENERGY PAGE SECTIONS =================== */

/* ===== GLOBAL SETTINGS ===== */
.framework, .applications, .sustainability, .services-cta, .partnerships {
    font-family: 'Poppins', sans-serif;
    color: #0a1f28;
    line-height: 1.7;
    scroll-behavior: smooth;
    padding: 80px 20px;
    position: relative;
}

/* ===== SECTION HEADINGS ===== */
.section-heading {
    font-size: 2.8rem;
    font-weight: 900;
    text-align: center;
    color: #023a4f;
    margin-bottom: 30px;
    letter-spacing: 1px;
    position: relative;
}

.section-heading::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #0087b8;
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

/* ===== SECTION INTRO PARAGRAPHS ===== */
.section-intro, 
.sustainability p,
.services-cta p,
.partnerships p {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 850px;
    margin: 0 auto 50px auto;
    text-align: center;
    color: #0a1f28;
    background: rgba(255, 255, 255, 0.85);
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-intro:hover,
.sustainability p:hover,
.services-cta p:hover,
.partnerships p:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 50px rgba(0,0,0,0.08);
}

.section-intro strong,
.sustainability p strong,
.services-cta p strong,
.partnerships p strong {
    color: #00b8a9;
    font-weight: 600;
}

/* ===== TECH CARDS ===== */
.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.tech-card {
    background: linear-gradient(145deg, #f7faff, #e0f7ff);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 50px rgba(0,180,255,0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,200,255,0.2);
}

.tech-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #023a4f;
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #0a1f28;
}

/* ===== APPLICATION CARDS ===== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.app-card {
    background: rgba(255,255,255,0.95);
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 20px 60px rgba(0,180,255,0.12);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0,200,255,0.2);
}

.app-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #023a4f;
}

.app-card p {
    font-size: 1.1rem;
    color: #0a1f28;
}

/* ===== SUSTAINABILITY METRICS ===== */
.impact-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px;
    margin-top: 40px;
}

.metric {
    background: linear-gradient(145deg, #e0f7ff, #f7faff);
    padding: 25px 30px;
    border-radius: 30px;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 15px 50px rgba(0,180,255,0.12);
    min-width: 160px;
    transition: transform 0.3s ease;
}

.metric:hover {
    transform: translateY(-7px);
}

.metric strong {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 8px;
    color: #00b8a9;
}

/* ===== SERVICES CTA ===== */
.services-cta {
    text-align: center;
    background: linear-gradient(to right, #e0f7ff, #f7faff);
    border-radius: 20px;
    padding: 60px 20px;
    box-shadow: 0 15px 50px rgba(0,180,255,0.1);
}

.services-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #023a4f;
}

.services-cta p {
    margin-bottom: 30px;
}

.services-cta .cta-btn.primary {
    background: #00a0b8;
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.services-cta .cta-btn.primary:hover {
    background: #117796;
    transform: translateY(-4px);
}

/* ===== PARTNERSHIPS ===== */
.partnerships {
    text-align: center;
    background: linear-gradient(to right, #f7faff, #e0f7ff);
    border-radius: 20px;
    padding: 60px 20px;
    box-shadow: 0 15px 50px rgba(0,180,255,0.1);
}

.partnerships h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #023a4f;
}

.partnerships ul {
    list-style: none;
    padding: 0;
    margin: 25px 0 50px 0;
}

.partnerships li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #0a1f28;
}

.partnerships .cta-btn.secondary {
    display: inline-block;
    background: #00a0b8;
    color: #fff;
    padding: 16px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partnerships .cta-btn.secondary:hover {
    background: #11728d;
    transform: translateY(-4px);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
    .section-heading {
        font-size: 2.3rem;
    }

    .services-cta h2, .partnerships h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 1.9rem;
    }

    .section-intro, 
    .sustainability p, 
    .services-cta p, 
    .partnerships p {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
}
/* Reduce section padding and heading margin */
.framework, .applications, .sustainability, .services-cta, .partnerships {
    padding: 30px 10px; /* smaller top/bottom */
}

.section-heading {
    margin: 0 0 30px 0; /* remove top margin, keep bottom for spacing */
}
/* ===== MEDIA QUERIES ===== */
@media (max-width: 1200px) {
    .hero {
        height: 60vh; /* slightly shorter for large tablets/laptops */
    }

    .hero-content {
        max-width: 700px;
        padding: 18px 15px;
        transform: translateY(15%); /* slightly lower */
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 55vh;
    }

    .hero-content {
        max-width: 600px;
        padding: 15px 12px;
        transform: translateY(20%);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        padding: 0 10px;
    }

    .hero-content {
        max-width: 90%;
        padding: 12px 10px;
        transform: translateY(25%);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 45vh;
    }

    .hero-content {
        max-width: 95%;
        padding: 10px 8px;
        transform: translateY(28%);
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}
/* ===== SOLUTIONS GRID RESPONSIVE ===== */
@media (max-width: 1200px) {
    .solution-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .solution-grid {
        grid-template-columns: 1fr; /* single column for mobile */
        gap: 15px;
    }

    .solution-card {
        padding: 20px 15px; /* reduce padding to fit smaller screen */
    }
}
