/* Google Font Import (Poppins) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* GLOBAL FONT APPLY (Safely excluding Font Awesome / Icons) */
body, html, 
p, a, span, div, li, 
h1, h2, h3, h4, h5, h6, 
button, input, select, textarea,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', sans-serif !important;
}

/* FIX: Protect Font Awesome & Icon Fonts from Font Overrides */
i, 
[class^="fa-"], 
[class*=" fa-"], 
.fa, .fas, .far, .fab, .fal, .fad, .bi {
    font-family: var(--fa-style-family, "Font Awesome 6 Free"), "Font Awesome 6 Brands", "bootstrap-icons" !important;
}

/* 
======================================================
  GLOBAL BRAND COLOR PALETTE (EXACT LOGO COLORS)
====================================================== 
*/
:root {
    /* Main Brand Colors extracted from Logo */
    --solari-primary: #005E2B;       /* Deep Forest Green (MEGA SOLAR Text) */
    --solari-primary-hover: #00421E; /* Darker Green for Hovers */
    --solari-accent: #F7941D;        /* Vibrant Sun Gold/Orange (Sun & ENERGIES Text) */
    --solari-accent-hover: #E07D06;  /* Darker Orange/Yellow for Hovers */
    --solari-leaf: #4CB050;          /* Bright Leaf Green Highlight */
    
    /* System Colors */
    --primary-green: var(--solari-primary);
    --primary-green-hover: var(--solari-primary-hover);
    --text-dark: #111827;            /* Deep Neutral Gray/Black */
    --text-light: #FFFFFF;           /* Pure White */
    --solari-light: #F4F7F5;         /* Soft Off-white Background */
    --solari-text: #4A5568;          /* Body Text Slate */
    --font-main: 'Poppins', sans-serif;
}

/* Base resets scoped ONLY to header to prevent global conflicts */
.top-bar a, .main-header a { text-decoration: none; transition: all 0.3s ease; }
.main-header ul { list-style: none; margin: 0; padding: 0; }
.main-header button { border: none; background: none; cursor: pointer; }

/* === TOP ANNOUNCEMENT BAR === */
.top-bar {
    background-color: var(--solari-primary);
    color: var(--text-light);
    font-size: 13px;
    padding: 12px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-main);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item i {
    font-size: 14px;
    color: var(--solari-accent);
}

.top-bar-item a {
    color: var(--text-light);
}

.top-bar-item a:hover {
    color: var(--solari-accent);
    text-decoration: underline;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.visit-label {
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    color: var(--text-light);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
}

.social-icons a:hover {
    background-color: var(--solari-accent);
    color: var(--text-light);
}

/* === MAIN NAVIGATION BAR === */
.main-header {
    background-color: var(--text-light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1050;
    font-family: var(--font-main);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 90px;
}

/* Logo Area */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--solari-primary) 0%, var(--solari-leaf) 100%);
    display: inline-block;
}

.logo-text {
    font-size: 26px;
    font-weight: 800;
    color: var(--solari-primary);
    letter-spacing: 1px;
}

/* Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links li a {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    position: relative;
}

.nav-links li a i {
    font-size: 10px;
    color: #777;
    transition: transform 0.3s ease;
}

.nav-links li a:hover {
    color: var(--solari-primary);
}

.nav-links li a:hover i {
    color: var(--solari-primary);
    transform: rotate(180deg);
}

/* Action Controls */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.search-btn {
    color: var(--text-dark);
    font-size: 18px;
    transition: color 0.3s;
}

.search-btn:hover {
    color: var(--solari-accent);
}

.cta-pill {
    background-color: var(--solari-accent);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.3);
}

.cta-pill:hover {
    background-color: var(--solari-accent-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(247, 148, 29, 0.4);
}

.hamburger-btn {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
}

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 1024px) {
    .nav-links { gap: 20px; }
}

@media (max-width: 992px) {
    .top-bar {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 12px;
        padding: 15px 5%;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-container {
        height: 75px;
    }

    .cta-pill {
        display: none; 
    }

    .hamburger-btn {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--text-light);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        display: none; 
        flex-direction: column;
        padding: 20px 5%;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links li a {
        width: 100%;
        padding: 15px 0;
        justify-content: space-between;
    }
}

/* ==========================================================================
   SOLAR CALCULATOR SECTION STYLES
   ========================================================================== */
.solar-calc-section {
    background-color: var(--solari-light);
}

.calc-card {
    transition: transform 0.3s ease;
}

.custom-calc-slider {
    accent-color: var(--solari-accent);
    cursor: pointer;
}

.custom-calc-slider::-webkit-slider-thumb {
    background: var(--solari-accent);
}

.calc-badge-accent {
    background-color: rgba(247, 148, 29, 0.15);
    color: var(--solari-accent);
    font-weight: 700;
}

.calc-info-box {
    background-color: var(--solari-light);
    border-left: 4px solid var(--solari-accent);
}

.calc-results-wrap {
    background: linear-gradient(145deg, var(--solari-primary) 0%, #003618 100%);
    position: relative;
    overflow: hidden;
}

.calc-results-wrap::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(247, 148, 29, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.calc-highlight-banner {
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.25);
}

.calc-saving-metric-box {
    background: rgba(76, 176, 80, 0.2);
    border: 1px solid #4cb050;
}

/* ==========================================================================
   PROMO BANNER CARDS (EXACT MATCH AS PER SCREENSHOT)
   ========================================================================== */
.promo-banners-section {
    background-color: #f8fafc;
    padding: 40px 0;
}

.promo-banner-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    padding: 24px 20px 24px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.promo-content {
    flex: 1 1 55%;
    max-width: 58%;
    z-index: 2;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 6px;
    line-height: 1.25;
}

.promo-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 22px;
    line-height: 1.4;
}

.btn-shop-now {
    display: inline-block;
    border: 1.5px solid #111827;
    color: #111827;
    background: transparent;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-shop-now:hover {
    background-color: #0F3A2A;
    border-color: #0F3A2A;
    color: #ffffff;
}

/* Image Wrapper: Perfect Right Alignment Without Extra Zoom */
.promo-image-wrap {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 42%;
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.promo-image-wrap img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.promo-banner-card:hover .promo-image-wrap img {
    transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 991px) {
    .promo-banner-card {
        height: auto;
        min-height: 220px;
    }
}

@media (max-width: 576px) {
    .promo-content {
        width: 65%;
    }
    .promo-title {
        font-size: 1.25rem;
    }
    .promo-image-wrap {
        width: 40%;
    }
}

/* ==========================================================================
   SOLARI THEME - CONTACT PAGE & SECTIONS CUSTOM STYLES
   ========================================================================== */

.solari-heading {
    color: var(--solari-primary);
    font-weight: 700;
}

.section-subtitle {
    color: var(--solari-accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Footer Custom Styles */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--solari-accent);
}

.hover-success:hover {
    color: var(--solari-accent) !important;
    transition: color 0.2s ease-in-out;
}

/* ==========================================================================
   BRAND INTRO SECTION STYLES (MATCHED WITH THEME)
   ========================================================================== */
.brand-intro-section {
    background-color: #F8FAF9;
    font-family: var(--font-main);
    color: var(--solari-text);
}

.sub-badge-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--solari-primary);
    letter-spacing: 0.5px;
}

.sub-badge-title .asterisk {
    color: var(--solari-accent);
}

.main-display-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.25;
}

.review-tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 50px;
    color: #1f2937;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
}

.brand-desc-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #6B7280;
    margin-bottom: 0;
}

.brand-img-custom {
    height: 280px;
    transition: transform 0.4s ease;
}

.image-box:hover .brand-img-custom {
    transform: scale(1.04);
}

/* Stats / Numbers */
.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 0;
}

/* Rounded CTA Pill Button */
.btn-read-more {
    display: inline-flex;
    align-items: center;
    background-color: #D3ECA7;
    color: #111827;
    padding: 6px 8px 6px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-read-more .icon-circle {
    width: 38px;
    height: 38px;
    background-color: #111827;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 14px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-read-more:hover {
    background-color: var(--solari-accent);
    color: #ffffff;
}

.btn-read-more:hover .icon-circle {
    transform: rotate(45deg);
    background-color: var(--solari-primary);
    color: #ffffff;
}

/* Call Us Circle & Links */
.call-circle-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #D3ECA7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.phone-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--solari-accent);
}

/* --------------------------------------------------------------------------
   Contact Hero Banner Section
   -------------------------------------------------------------------------- */
.contact-hero-banner {
    background-image: linear-gradient(rgba(0, 94, 43, 0.85), rgba(0, 66, 30, 0.85)), url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 80px;
    color: #ffffff;
    text-align: center;
}

.breadcrumb-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
}

.breadcrumb-nav a {
    color: var(--solari-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: #ffffff;
}

/* ==========================================
   ABOUT PAGE CUSTOM GRID STYLES
   ========================================== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.object-fit-cover {
    object-fit: cover;
    width: 100%;
}

.tracking-wider {
    letter-spacing: 1px;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: var(--solari-accent);
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.experience-badge .years {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--solari-primary);
}

.why-choose-us {
    background-color: var(--solari-light);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--solari-accent);
    margin-bottom: 20px;
}

/* Custom Brand Box Styling */
.brand-box {
    min-height: 120px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.brand-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--solari-accent) !important;
}

.brand-box:hover .brand-img {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transform: scale(1.05);
}

/* ==========================================================================
   OUR WORKING PROCESS SECTION STYLES
   ========================================================================== */
.working-process-section {
    background-color: #ffffff;
    font-family: var(--font-main);
}

.process-sub-badge {
    color: var(--solari-leaf);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.process-main-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
}

/* Step Container */
.process-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Image Wrappers & Arch Shapes */
.process-img-wrapper {
    width: 100%;
    max-width: 250px;
    height: 190px;
    overflow: hidden;
    position: relative;
    background-color: var(--solari-light);
}

/* Dome / Arch Shapes */
.shape-arch-top {
    border-radius: 125px 125px 0 0;
}

.shape-arch-bottom {
    border-radius: 0 0 125px 125px;
}

.process-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.process-step-item:hover .process-img {
    transform: scale(1.08);
}

/* Numbered Circle Badges (01, 02, 03, 04) */
.process-number-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--solari-leaf);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 12px 0;
    box-shadow: 0 4px 10px rgba(76, 176, 80, 0.3);
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.process-step-item:hover .process-number-badge {
    background-color: var(--solari-accent);
    transform: scale(1.12);
}

/* Typography */
.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-desc {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 0;
    padding: 0 5px;
}

/* Mobile Responsiveness Adjustment */
@media (max-width: 991px) {
    .step-reversed {
        flex-direction: column-reverse;
    }
    
    .step-reversed .process-img-wrapper {
        border-radius: 125px 125px 0 0;
    }
    
    .step-reversed .process-content {
        margin-top: 15px;
        margin-bottom: 0;
    }
    
    .step-title {
        min-height: auto;
    }
}

/* ==========================================================================
   CUSTOMER FEEDBACKS SLIDER STYLES
   ========================================================================== */
.testimonial-slider-section {
    background-color: #0A140F !important;
}

.feedback-card {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: all 0.3s ease;
}

.feedback-card:hover {
    border-color: var(--solari-accent) !important;
    transform: translateY(-3px);
}

/* Custom Bottom Navigation Buttons */
.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-btn:hover {
    background-color: var(--solari-accent);
    border-color: var(--solari-accent);
    color: #ffffff;
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Contact Info Cards
   -------------------------------------------------------------------------- */
.contact-info-section {
    background-color: var(--solari-light);
}

.contact-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--solari-accent);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--solari-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
    background-color: var(--solari-primary);
}

.contact-icon-wrapper i {
    font-size: 2.2rem;
    color: var(--solari-accent);
}

.contact-card:hover .contact-icon-wrapper i {
    color: #ffffff;
}

.contact-link {
    color: var(--solari-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--solari-accent);
}

/* ==========================================================================
   SERVICES & TESTIMONIALS SECTION STYLES
   ========================================================================== */

/* 1. TOP PROCESS CARDS */
.process-card {
    padding: 40px 30px;
    border-radius: 12px;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dark-card {
    background-color: #111827;
}

.green-card {
    background-color: var(--solari-primary);
}

.process-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--solari-accent);
}

.process-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    color: var(--solari-accent);
}

/* 2. OUR SERVICES GRID */
.service-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--solari-accent);
}

.service-icon {
    font-size: 2rem;
    color: var(--solari-primary);
    margin-bottom: 20px;
}

.service-box:hover .service-icon {
    color: var(--solari-accent);
}

.service-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-box p {
    font-size: 0.82rem;
    color: var(--solari-text);
    margin-bottom: 0;
    line-height: 1.5;
}

/* 3. TESTIMONIALS SECTION */
.testimonial-card {
    background-color: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
    height: 100%;
}

.testimonial-text {
    font-size: 0.85rem;
    color: var(--solari-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Form Section
   -------------------------------------------------------------------------- */
.contact-form-section {
    background-color: #ffffff;
}

.contact-form-wrapper {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 100%;
}

.solari-input {
    background-color: var(--solari-light);
    border: 1px solid transparent;
    padding: 14px 20px;
    border-radius: 8px;
    color: var(--solari-text);
    transition: all 0.3s ease;
}

.solari-input:focus {
    background-color: #ffffff;
    border-color: var(--solari-accent);
    box-shadow: 0 0 0 0.25rem rgba(247, 148, 29, 0.25);
    outline: none;
}

/* --------------------------------------------------------------------------
   Buttons & Alerts
   -------------------------------------------------------------------------- */
.btn-solari-primary { 
    background-color: var(--solari-primary); 
    color: #ffffff; 
    border: 2px solid var(--solari-primary); 
    padding: 14px 35px; 
    font-weight: 600; 
    border-radius: 50px; 
    transition: all 0.3s ease; 
    text-decoration: none; 
    display: inline-block; 
    letter-spacing: 1px; 
    text-transform: uppercase;
}

.btn-solari-primary:hover { 
    background-color: var(--solari-accent); 
    border-color: var(--solari-accent);
    color: #ffffff; 
}

.solari-alert {
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

/* --------------------------------------------------------------------------
   Map Embed
   -------------------------------------------------------------------------- */
.map-container {
    height: 100%;
    min-height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    display: block;
}

.map-iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
    display: block;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    .map-container {
        min-height: 350px;
    }
    .map-iframe {
        min-height: 350px;
    }
    .about-grid, .cards-grid, .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   MEGA SOLAR ENERGIES - PROJECTS & PORTFOLIO CUSTOM STYLES
   ========================================================================== */

/* Project Card Container */
.project-card {
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ebebeb;
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-color: var(--solari-accent);
}

/* Image Wrap & Zoom Effect */
.project-img-wrap {
    height: 250px;
    position: relative;
    overflow: hidden;
    background-color: var(--solari-light);
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-img-wrap img {
    transform: scale(1.08);
}

/* Badges on Project Image */
.capacity-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--solari-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    z-index: 2;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--solari-accent);
    color: #111111;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Location Tag */
.location-text {
    color: var(--solari-leaf);
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

/* Faisalabad & Sub-cities Area Badges */
.badge.bg-light.text-dark.border {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    background-color: #f8f9fa !important;
    border-color: #e2e8f0 !important;
    transition: all 0.2s ease-in-out;
}

.badge.bg-light.text-dark.border:hover {
    background-color: var(--solari-primary) !important;
    color: #ffffff !important;
    border-color: var(--solari-primary) !important;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .project-img-wrap {
        height: 210px;
    }
    .capacity-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    .category-badge {
        font-size: 0.7rem;
        padding: 4px 9px;
    }
}