/* =====================================================
   GLOBAL ACCENT & UTILITIES
===================================================== */
:root {
    --accent-orange: #fca311;
    --primary-blue: #0d6efd;
}

/* =========================================================
   HERO SYSTEM (IMG-BASED – HOME + INNER PAGES)
========================================================= */

/* =========================
   BASE HERO
========================= */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

/* =========================
   HERO IMAGE
========================= */
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Tuned for solar technicians image */
    object-position: 72% 58%;
    z-index: 0;
    animation: heroBgZoom 10s ease-in-out infinite alternate;

}

/* =========================
   HERO OVERLAY (SOLAR-TUNED)
========================= */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.68) 26%,
        rgba(0, 0, 0, 0.48) 44%,
        rgba(0, 0, 0, 0.22) 62%,
        rgba(0, 0, 0, 0.00) 80%
    );
    z-index: 1;
}

/* =========================
   HERO CONTENT LAYER
========================= */
.hero-section .container {
    position: relative;
    z-index: 2;
}

/* =========================
   HERO TEXT MICRO-ANIMATIONS
   (UNCHANGED — SAFE)
========================= */
.hero-title,
.hero-text,
.hero-actions {
    opacity: 0;
    transform: translateY(24px);
}

.hero-section .hero-title {
    animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}

.hero-section .hero-text {
    animation: heroFadeUp 0.8s ease-out 0.45s forwards;
}

.hero-section .hero-actions {
    animation: heroFadeUp 0.8s ease-out 0.7s forwards;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   MOBILE SAFETY TUNING
========================= */
@media (max-width: 768px) {
    .hero-img {
        object-position: 70% 55%;
    }

    .hero-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.25) 70%,
            rgba(0, 0, 0, 0.00) 100%
        );
    }
}

/* =====================================================
   COMPANY INTRO SECTION
===================================================== */
.company-intro {
    padding: 7rem 0 5rem;
    background-color: #ffffff;
}

.company-intro img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.company-intro .key-points {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-intro i {
    font-size: 2rem;
    color: var(--primary-blue);
}

/* Learn more button */
.btn-learn-more {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 0.6rem 1.6rem;
    border-radius: 0.4rem;
    font-weight: 600;
}

.btn-learn-more:hover {
    background-color: var(--accent-orange);
    color: #212529;
}

/* =====================================================
   SERVICES OVERVIEW
===================================================== */
.services-overview {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-img {
    height: 180px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-card .btn:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* =====================================================
   WHY CHOOSE US
===================================================== */
.why-choose-us {
    padding: 5rem 0;
    background-color: #ffffff;
}

.choose-card {
    border-radius: 0.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.choose-card:hover i {
    color: var(--accent-orange);
}

/* =====================================================
   PROJECTS SECTION (HOME)
===================================================== */
.projects-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

/* =====================================================
   CTA BANNER
===================================================== */
.cta-banner {
    padding: 6rem 0;
    background-color: var(--primary-blue);
}

.cta-banner .btn {
    font-weight: 600;
    padding: 0.8rem 2.2rem;
    transition: all 0.3s ease;
}

.cta-banner .btn:hover {
    background-color: var(--accent-orange);
    color: #212529;
    transform: translateY(-2px);
}
