/* ==================================================================
   KALYANI ENTERPRISES - COMPLETE OPTIMIZED STYLESHEET
   ================================================================== */

/* ==================================================================
   1) CSS VARIABLES, RESET, BASE
   ================================================================== */
:root {
    --brand-1: #667eea;
    --brand-2: #764ba2;
    --accent: #ffd700;
    --logo-green: #7e8f21;
    --logo-gold: #756208;
    --text: #333;
    --muted: #666;
    --card-bg: #f8f9fa;
    --success: #4CAF50;
    --whatsapp: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* REMOVE DEFAULT BODY MARGIN */
body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 80px; /* Space for fixed navbar */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    margin: 0;
    padding: 0;
}

/* Remove any default Bootstrap/browser spacing */
.navbar {
    margin: 0 !important;
}

#mainNav {
    margin: 0 !important;
    top: 0 !important;
}

/* 
/* ==================================================================
   2) NAVIGATION BAR
   ================================================================== */
/* #mainNav {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 80px;
    display: flex;
    align-items: center;
}

#mainNav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#mainNav.navbar-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#mainNav.navbar-scrolled::before {
    opacity: 0;
}

#mainNav .navbar-brand,
#mainNav .nav-link {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

#mainNav .nav-link:hover::after {
    width: 100%;
}

#mainNav.navbar-scrolled .navbar-brand,
#mainNav.navbar-scrolled .nav-link {
    color: #000 !important;
    text-shadow: none;
}

#mainNav.navbar-scrolled .nav-link::after {
    background: #000;
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 600;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
    transform: translateY(-2px);
} */

/* Logo */
/* .nav-logo {
    height: 45px;
    width: auto;
    padding: 5px;
    background: white;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

#mainNav.navbar-scrolled .nav-logo {
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    filter: none;
}

.btn-success-nav {
    background: var(--whatsapp) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-success-nav:hover {
    background: #128C7E !important;
    transform: translateY(-2px) !important;
} */ */

/* ==================================================================
   2) NAVIGATION BAR - ENHANCED
   ================================================================== */
#mainNav {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

#mainNav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#mainNav.navbar-scrolled {
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

#mainNav.navbar-scrolled::before {
    opacity: 0;
}

/* Navbar Brand & Links */
#mainNav .navbar-brand,
#mainNav .nav-link {
    color: var(--text) !important;
    transition: all 0.3s ease;
    position: relative;
}

#mainNav .navbar-brand {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1;
    text-decoration: none;
}

/* Original KE mark + graphic-editor-style stacked wordmark */
.nav-logo {
    height: 48px;
    width: 48px;
    object-fit: contain;
    flex: 0 0 48px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-wordmark {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #4b4b20;
    white-space: nowrap;
}

.nav-wordmark-top,
.nav-wordmark-bottom {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
}

.nav-wordmark-top {
    font-size: 0.9rem;
    color: #7e8f21;
}

.nav-wordmark-bottom {
    margin-top: 0.2rem;
    font-size: 0.77rem;
    letter-spacing: 0.12em;
    color: #716400;
}

.navbar-brand:hover .nav-logo {
    transform: scale(1.04);
}

.navbar-brand:hover .nav-wordmark-top,
.navbar-brand:hover .nav-wordmark-bottom {
    color: var(--brand-1);
}

#mainNav.navbar-scrolled .nav-logo {
    height: 42px;
    width: 42px;
    flex-basis: 42px;
}

#mainNav.navbar-scrolled .nav-wordmark-top { font-size: 0.82rem; }
#mainNav.navbar-scrolled .nav-wordmark-bottom { font-size: 0.7rem; }

/* Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 10px;
    padding: 0.5rem 0.75rem;
    position: relative;
}

/* Animated Underline on Hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-1) !important;
    transform: translateY(-2px);
}

/* Active Link Indicator */
.navbar-nav .nav-link.active {
    color: var(--brand-1) !important;
    font-weight: 600;
}

.navbar-nav .nav-link.active::after {
    width: 80%;
    background: var(--brand-1);
}

/* Enhanced Call Now Button */
.btn-success-nav {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-success-nav::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-success-nav:hover::before {
    width: 300px;
    height: 300px;
}

.btn-success-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-success-nav i {
    position: relative;
    z-index: 1;
    animation: ring 1.5s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--brand-1);
    outline-offset: 2px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 126, 234, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.navbar-toggler:hover .navbar-toggler-icon {
    transform: scale(1.1);
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: 8px;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        transform: translateX(5px);
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .btn-success-nav {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* Tablet View Adjustments */
@media (max-width: 768px) {
    #mainNav {
        height: 70px;
        padding: 0.75rem 0;
    }
    
    .nav-logo {
        height: 40px;
        width: 40px;
        flex-basis: 40px;
    }
    
    .nav-wordmark-top {
        font-size: 0.78rem;
    }

    .nav-wordmark-bottom {
        font-size: 0.67rem;
    }
}


/* ==================================================================
   3) FLOATING WHATSAPP BUTTON
   ================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* ==================================================================
   4) HERO SECTION
   ================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: white;
    padding: 3rem 20px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 150px;
    margin-bottom: 20px;
    background: white;
    padding: 10px;
    border-radius: 10px;
}

.company-name {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagline {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.dealer-badge {
    background: var(--accent);
    color: #333;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Brand Logos */
.brand-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.brand-logo {
    display: block;
    width: 140px;
    height: 60px;
    object-fit: contain;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: transform 0.25s ease;
}

.brand-logo:hover {
    transform: scale(1.08);
}

/* CTA Buttons */
.cta-buttons {
    margin: 30px 0;
}

.btn-call,
.btn-whatsapp {
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
    margin: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    color: white;
}

.btn-call {
    background: var(--success);
}

.btn-call:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.btn-whatsapp {
    background: var(--whatsapp);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ==================================================================
   5) SECTION TITLES
   ================================================================== */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    padding-bottom: 10px;
    line-height: 1.2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    margin: 0.85rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-1), var(--accent));
}

.section-subtitle {
    color: #555;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

/* ==================================================================
   6) PRODUCTS & SERVICES SECTIONS
   ================================================================== */
.products-section {
    background-color: #fff;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    padding: 4rem 0;
}

.services-section {
    background-color: #ffffff;
    position: relative;
    padding: 4rem 0;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom right, #fff 49.9%, var(--card-bg) 50%);
    z-index: 0;
}

/* Ensure content is above the ::before element */
.services-section .container {
    position: relative;
    z-index: 1;
}

/* Make services section titles more visible */
.services-section .section-title {
    color: #1a1a1a !important;
    font-weight: 700;
}

.services-section .section-subtitle {
    color: #444 !important;
}

/* ==================================================================
   7) CARDS GRID
   ================================================================== */
.cards-grid {
    display: grid;
    gap: 2rem;
    padding: 0.5rem;
    margin: 0 auto;
}

@media (min-width: 1400px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1380px;
    }
}

@media (max-width: 1399px) and (min-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 980px;
    }
}

@media (max-width: 767px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 1.5rem;
    }
}
/* ==================================================================
   8) PRODUCT & SERVICE CARDS - PERFECT ALIGNMENT
   ================================================================== */

/* Base Card Styles - FIXED EQUAL HEIGHTS WITH GRID */
.product-card,
.service-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(231, 234, 238, 0.5);
    padding: 0;
    display: grid;
    grid-template-rows: 70px minmax(200px, 1fr) 240px; /* header | flexible content | fixed image */
    height: 540px;
    max-width: 420px;
    margin: 0 auto;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Card Header - Grid Row 1 */
.product-card .card-header,
.service-card .card-header {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    margin: 0;
}

/* Card Icon */
.product-card .card-icon,
.service-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product-card .card-icon .bi,
.service-card .card-icon .bi {
    font-size: 1.5rem;
}

/* Card Title */
.product-card .card-header h3,
.service-card .card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    flex: 1 1 auto;
    color: #1a1a1a;
}

/* Card Content - Grid Row 2 */
.product-content,
.service-content {
    padding: 1.25rem 1.5rem 0.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Smooth scrollbar for content */
.product-content::-webkit-scrollbar,
.service-content::-webkit-scrollbar {
    width: 4px;
}

.product-content::-webkit-scrollbar-thumb,
.service-content::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 2px;
}

/* Feature Lists */
.product-features,
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li,
.service-features li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
}

.product-features li::before,
.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--success) 0%, #45a049 100%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Image Container - Grid Row 3 - ALWAYS AT SAME POSITION */
.product-image-container,
.service-image-container {
    height: 240px;
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    border-top: 1px solid rgba(231, 234, 238, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Product/Service Images */
.product-img,
.service-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

/* Service artwork is composed for a full-bleed card image area. */
.service-img {
    object-fit: cover;
    object-position: center;
    padding: 0.35rem;
}

.product-card:hover .product-img,
.service-card:hover .service-img {
    transform: scale(1.08);
}

/* Animated Pattern Background for Missing Images */
.pattern-bg {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px);
    background-size: 40px 40px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 40px 40px, -40px -40px; }
}

/* Placeholder Styles */
.product-img-placeholder,
.service-img-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.95);
    overflow: hidden;
}

.product-img-placeholder::before,
.service-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.08) 0%, transparent 50%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 2px, transparent 2px, transparent 12px);
    animation: patternMove 25s linear infinite;
}

/* Solar Panel Visualization */
.solar-viz {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.sun-icon {
    font-size: 4rem;
    animation: rotate 20s linear infinite, pulse 2s ease-in-out infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.solar-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotate 15s linear infinite;
}

.energy-icon {
    font-size: 2.5rem;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Battery Visualization */
.battery-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.battery-icon {
    font-size: 4rem;
    animation: batteryPulse 2s ease-in-out infinite;
}

@keyframes batteryPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.battery-bars {
    display: flex;
    gap: 0.5rem;
}

.battery-bars span {
    width: 8px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    animation: batteryCharge 1.5s ease-in-out infinite;
}

.battery-bars span:nth-child(2) {
    animation-delay: 0.3s;
}

.battery-bars span:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes batteryCharge {
    0%, 100% { transform: scaleY(0.3); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Inverter Visualization */
.inverter-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 1;
}

.inverter-viz i {
    font-size: 4rem;
    animation: flash 1.5s ease-in-out infinite;
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; transform: scale(1.1); }
}

.sine-wave {
    width: 120px;
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.8) 0px,
        rgba(255, 255, 255, 0) 5px,
        rgba(255, 255, 255, 0.8) 10px
    );
    border-radius: 20px;
    animation: waveMove 2s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(-10px); }
    100% { transform: translateX(10px); }
}

/* Installation Visualization */
.installation-viz {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.installation-viz > i {
    font-size: 4rem;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.tool-icons {
    display: flex;
    gap: 1.5rem;
}

.tool-icons i {
    font-size: 2rem;
    animation: swing 2s ease-in-out infinite;
}

.tool-icons i:nth-child(2) {
    animation-delay: 0.5s;
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

/* Maintenance Visualization */
.maintenance-viz {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gear-1, .gear-2 {
    font-size: 4rem;
    position: absolute;
    animation: rotateGear 4s linear infinite;
}

.gear-2 {
    font-size: 3rem;
    right: 0;
    animation: rotateGear 4s linear infinite reverse;
}

@keyframes rotateGear {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Inspection Visualization */
.inspection-viz {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.inspection-viz i {
    font-size: 4rem;
    z-index: 2;
}

.scan-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: scan 2s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { left: 0; }
    50% { left: 100%; }
}

/* Default Generic Icon */
.product-img-placeholder > i:only-child,
.service-img-placeholder > i:only-child {
    font-size: 4rem;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(102, 126, 234, 0.95), transparent);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .card-overlay,
.service-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.learn-more {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Make overlay link work */
a.card-overlay {
    text-decoration: none;
    color: white;
}

/* ==================================================================
   MODERN NAVIGATION REFINEMENTS
   ================================================================== */
@media (min-width: 992px) {
    #mainNav .navbar-nav {
        gap: 0.2rem;
        align-items: center;
    }

    #mainNav .navbar-nav .nav-link {
        margin: 0;
        padding: 0.55rem 0.8rem;
        border-radius: 999px;
        font-size: 0.9rem;
    }

    #mainNav .navbar-nav .nav-link:hover,
    #mainNav .navbar-nav .nav-link.active {
        background: rgba(102, 126, 234, 0.09);
        transform: none;
    }

    #mainNav .navbar-nav .nav-link::after {
        display: none;
    }
}

/* ==================================================================
   MODERN HOMEPAGE HERO
   ================================================================== */
.hero-section {
    min-height: calc(100vh - 80px);
    padding: 5rem 0 4rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(149, 180, 48, 0.2), transparent 28%),
        linear-gradient(135deg, #102c27 0%, #173f35 54%, #102822 100%);
    text-align: left;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 4rem;
}

.hero-copy {
    max-width: 620px;
}

.hero-brand-line {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
}

.hero-logo {
    width: 58px;
    height: 58px;
    max-width: none;
    margin: 0;
    padding: 0.35rem;
    border-radius: 14px;
    background: #fff;
    object-fit: contain;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
    color: #d7df77;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.hero-kicker i {
    font-size: 1rem;
}

.hero-section .company-name {
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.6rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-transform: none;
}

.hero-section .company-name span {
    color: #d7df77;
}

.hero-section .tagline {
    max-width: 540px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.65;
    text-shadow: none;
}

.hero-section .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 2rem;
}

.hero-section .btn-call,
.hero-section .btn-whatsapp {
    margin: 0;
    padding: 0.9rem 1.3rem;
    border-radius: 12px;
    font-size: 0.95rem;
}

.hero-section .btn-call {
    background: #d7df77;
    color: #17352e;
}

.hero-section .btn-call:hover {
    background: #eef49a;
}

.hero-section .btn-whatsapp {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
}

.hero-proof span + span {
    padding-left: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof strong {
    display: block;
    margin-bottom: 0.15rem;
    color: #fff;
    font-size: 1.05rem;
}

.hero-visual {
    position: relative;
}

.hero-image-frame {
    position: relative;
    overflow: hidden;
    min-height: 470px;
    border: 8px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 24, 20, 0.72));
    pointer-events: none;
}

.hero-image-frame > img {
    display: block;
    width: 100%;
    height: 470px;
    object-fit: cover;
}

.hero-image-label {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
}

.hero-image-label > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #d7df77;
    color: #17352e;
    font-size: 1.2rem;
}

.hero-image-label span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-image-label small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
}

.hero-brand-strip {
    position: absolute;
    right: -1.25rem;
    bottom: -2.1rem;
    left: 2rem;
    z-index: 2;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.hero-brand-strip > span {
    display: block;
    margin-bottom: 0.5rem;
    color: #687078;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-brand-logos {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-brand-logos .brand-logo {
    width: 82px;
    height: 30px;
    padding: 0.2rem;
    border-radius: 5px;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-copy {
        max-width: 700px;
    }

    .hero-image-frame {
        min-height: 380px;
    }

    .hero-image-frame > img {
        height: 380px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: auto;
        padding: 3.5rem 0 4rem;
    }

    .hero-section .company-name {
        font-size: 3.2rem;
    }

    .hero-proof {
        gap: 0.75rem;
    }

    .hero-proof span + span {
        padding-left: 0.75rem;
    }

    .hero-image-frame,
    .hero-image-frame > img {
        min-height: 300px;
        height: 300px;
    }

    .hero-brand-strip {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 1rem 0 0;
    }

    .hero-brand-logos .brand-logo {
        width: 68px;
    }
}

/* Homepage hero restored to the original centered presentation. */
#home.hero-section {
    --hero-image: url('../images/main_page.png');
    position: relative;
    min-height: 100vh;
    padding: 3rem 20px;
    background-image:
        linear-gradient(rgba(15, 55, 48, 0.52), rgba(15, 55, 48, 0.58)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#home.hero-section.hero-video-active .hero-video-bg {
    opacity: 1;
    filter: brightness(0.62);
}

#home.hero-section > .container {
    position: relative;
    z-index: 1;
}

#home.hero-section .hero-logo {
    width: auto;
    height: auto;
    max-width: 150px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
}

#home.hero-section .company-name {
    margin-bottom: 10px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.2;
    text-transform: uppercase;
}

#home.hero-section .tagline {
    max-width: none;
    margin-bottom: 30px;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#home.hero-section .cta-buttons {
    display: block;
    margin: 30px 0;
}

#home.hero-section .btn-call,
#home.hero-section .btn-whatsapp {
    margin: 10px;
    padding: 15px 35px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
}

#home.hero-section .btn-call {
    background: var(--success);
    color: white;
}

#home.hero-section .btn-whatsapp {
    background: var(--whatsapp);
    color: white;
}

/* ==================================================================
   PRODUCT DETAIL PAGES
   ================================================================== */
.product-detail-page {
    background: #f8f9fa;
}

.product-detail-section {
    padding: 2rem 0 5rem;
}

.product-breadcrumb {
    padding: 0.5rem 0 1.5rem;
}

.product-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 0.9rem;
}

.product-breadcrumb a {
    color: var(--brand-1);
    text-decoration: none;
}

.product-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.product-detail-visual {
    min-width: 0;
}

.product-main-image-wrap {
    display: grid;
    min-height: 390px;
    place-items: center;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8f9fa, #edf1f3);
}

.product-detail-image {
    display: block;
    width: 100%;
    height: 390px;
    padding: 2rem;
    object-fit: contain;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.product-thumb {
    width: 64px;
    height: 64px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f1f3f5;
    cursor: pointer;
}

.product-thumb.active {
    border-color: var(--brand-1);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-intro {
    padding: 1rem 1rem 1rem 0;
}

.product-detail-eyebrow,
.product-panel-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--brand-1);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-detail-intro h1 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.product-detail-lead {
    margin-bottom: 1rem;
    color: var(--brand-2);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-detail-description {
    color: #555;
    line-height: 1.75;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.product-price-meta,
.product-stock-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fafbfc;
    color: #555;
    font-size: 0.82rem;
}

.product-price-meta i { color: var(--brand-1); }
.product-stock-meta i { color: var(--success); }

.product-price-meta span,
.product-stock-meta span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-price-meta strong,
.product-stock-meta strong {
    color: #222;
    font-size: 0.75rem;
}

.product-brands-block > span {
    color: #666;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-brand-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

.product-brand-tags span {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--brand-2);
    font-size: 0.8rem;
    font-weight: 600;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.product-detail-actions .btn-primary-about,
.product-detail-actions .btn-outline-about {
    padding: 0.85rem 1.25rem;
}

.product-catalog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-1);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.product-info-panel,
.related-products-modern {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.06);
}

.product-info-panel h2,
.related-products-modern h2 {
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    font-size: 1.65rem;
    font-weight: 700;
}

.product-overview-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
}

.product-overview-grid p {
    color: #666;
    line-height: 1.75;
}

.product-feature-list,
.product-benefit-list {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.product-feature-list div,
.product-benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    color: #444;
    line-height: 1.5;
}

.product-feature-list i,
.product-benefit-list i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--success);
}

.product-benefit-list i {
    color: #e4a929;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.product-spec-grid div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #edf0f2;
    color: #666;
    font-size: 0.9rem;
}

.product-spec-grid strong {
    color: #222;
    text-align: right;
}

.product-detail-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-detail-columns .product-info-panel {
    height: 100%;
}

.product-application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.product-application-grid div {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: #f8f9fa;
    color: #555;
    font-size: 0.88rem;
}

.product-application-grid i {
    color: var(--brand-1);
}

.related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.related-heading h2 {
    margin-bottom: 0;
}

.related-heading > a {
    color: var(--brand-1);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.related-product-card {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.related-product-card:hover {
    color: inherit;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.related-product-image {
    display: grid;
    height: 90px;
    place-items: center;
    border-radius: 10px;
    background: #f1f3f5;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    object-fit: contain;
}

.related-product-card h3 {
    margin: 0 0 0.3rem;
    color: #222;
    font-size: 0.98rem;
}

.related-product-card p {
    display: -webkit-box;
    margin: 0 0 0.5rem;
    overflow: hidden;
    color: #666;
    font-size: 0.78rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-product-card span {
    color: var(--brand-1);
    font-size: 0.78rem;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .product-detail-hero,
    .product-overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-detail-intro {
        padding: 0.5rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .product-detail-section {
        padding-top: 1rem;
    }

    .product-detail-hero,
    .product-info-panel,
    .related-products-modern {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .product-main-image-wrap,
    .product-detail-image {
        min-height: 270px;
        height: 270px;
    }

    .product-spec-grid,
    .product-detail-columns,
    .product-application-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-actions > a:not(.product-catalog-link) {
        width: 100%;
        justify-content: center;
    }

    .related-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ==================================================================
   SERVICE DETAIL PAGES
   ================================================================== */
.service-detail-page {
    background: #f8f9fa;
}

.service-detail-section {
    padding: 2rem 0 5rem;
}

.service-breadcrumb {
    padding: 0.5rem 0 1.5rem;
}

.service-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 0.9rem;
}

.service-breadcrumb a {
    color: var(--brand-1);
    text-decoration: none;
}

.service-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-detail-visual {
    min-height: 360px;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f3f5;
}

.service-detail-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.service-detail-intro {
    padding: 1rem 1rem 1rem 0;
}

.service-detail-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--brand-1);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-detail-intro h1 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.service-detail-lead {
    margin-bottom: 1rem;
    color: var(--brand-2);
    font-size: 1.2rem;
    font-weight: 600;
}

.service-detail-description {
    color: #555;
    line-height: 1.75;
}

.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.service-meta-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 145px;
    padding: 0.7rem 0.85rem;
    border: 1px solid #e7eaf0;
    border-radius: 12px;
    background: #fafbfc;
    color: #555;
    font-size: 0.82rem;
}

.service-meta-item i {
    color: var(--brand-1);
    font-size: 1.25rem;
}

.service-meta-item span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.service-meta-item strong {
    color: #222;
    font-size: 0.75rem;
}

.service-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-detail-actions .btn-primary-about,
.service-detail-actions .btn-outline-about {
    padding: 0.85rem 1.25rem;
}

.service-info-panel {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.06);
}

.service-info-panel > h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 1.65rem;
    font-weight: 700;
}

.service-feature-grid,
.service-checklist,
.service-process-grid,
.service-plans-grid,
.service-solutions-grid {
    display: grid;
    gap: 1rem;
}

.service-feature-grid,
.service-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-feature-item,
.service-checklist > div {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    color: #444;
    line-height: 1.5;
}

.service-feature-item i,
.service-checklist i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
    color: var(--success);
}

.service-process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
    height: 100%;
    padding: 1.5rem 1rem;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    background: #fafbfc;
    text-align: center;
}

.step-number {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.process-step h3,
.service-plan-card h3,
.service-solutions-grid h3 {
    color: #222;
    font-size: 1.05rem;
    font-weight: 700;
}

.process-step p,
.service-solutions-grid p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-plans-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-plan-card {
    padding: 1.5rem;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    background: #fafbfc;
}

.service-plan-price {
    margin: 0.5rem 0 1rem;
    color: var(--brand-2);
    font-size: 1.1rem;
    font-weight: 700;
}

.service-plan-card ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.service-plan-card li {
    display: flex;
    gap: 0.5rem;
    padding: 0.35rem 0;
    color: #555;
    font-size: 0.9rem;
}

.service-plan-card li i {
    color: var(--success);
}

.service-solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-solutions-grid article {
    padding: 1.25rem;
    border-left: 4px solid var(--brand-1);
    border-radius: 0 12px 12px 0;
    background: #f8f9fa;
}

.service-solutions-grid article > i {
    color: var(--brand-1);
    font-size: 1.4rem;
}

.service-solutions-grid h3 {
    margin: 0.5rem 0;
}

.service-area-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.service-area-list span {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--brand-2);
    font-size: 0.9rem;
    font-weight: 600;
}

.service-area-list i {
    margin-right: 0.35rem;
}

@media (max-width: 991.98px) {
    .service-detail-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-intro {
        padding: 0.5rem;
    }

    .service-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .service-detail-section {
        padding-top: 1rem;
    }

    .service-detail-hero,
    .service-info-panel {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .service-detail-visual,
    .service-detail-image {
        min-height: 230px;
    }

    .service-feature-grid,
    .service-checklist,
    .service-process-grid,
    .service-plans-grid,
    .service-solutions-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-actions > a {
        width: 100%;
        justify-content: center;
    }
}

/* ==================================================================
   9) PORTFOLIO - WITH VISUALIZATIONS
   ================================================================== */
.portfolio-section {
    background: var(--card-bg);
}

.portfolio-slider {
    overflow: hidden;
    padding: 20px 0;
}

.portfolio-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.portfolio-item {
    min-width: 400px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.03);
}

.portfolio-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* Portfolio Placeholder with Gradient */
.portfolio-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px);
    background-size: 40px 40px;
    animation: patternMove 20s linear infinite;
}

/* Portfolio Visualizations */
.portfolio-viz {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: white;
}

.portfolio-viz i {
    font-size: 5rem;
    opacity: 0.9;
}

/* Residential Visualization */
.residential-viz {
    position: relative;
}

.residential-viz > i {
    animation: float 3s ease-in-out infinite;
}

.solar-panels-icon {
    position: absolute;
    top: -2rem;
    right: -1rem;
}

.solar-panels-icon i {
    font-size: 2.5rem;
    animation: rotate 20s linear infinite, pulse 2s ease-in-out infinite;
}

/* Commercial Visualization */
.commercial-viz {
    position: relative;
}

.commercial-viz > i {
    animation: float 3s ease-in-out infinite;
}

.energy-flow {
    position: absolute;
    bottom: 1rem;
}

.energy-flow i {
    font-size: 3rem;
    animation: flash 1.5s ease-in-out infinite;
}

/* Industrial Visualization */
.industrial-viz {
    gap: 2rem;
}

.industrial-viz i:first-child {
    animation: swing 2s ease-in-out infinite;
}

.industrial-viz .rotating {
    animation: rotateGear 4s linear infinite;
}

/* Institutional Visualization */
.institutional-viz {
    position: relative;
}

.institutional-viz > i {
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

.pulse-circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
}

/* Off-Grid Visualization */
.offgrid-viz {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.offgrid-viz i:first-child {
    animation: batteryPulse 2s ease-in-out infinite;
}

.offgrid-viz i:last-child {
    animation: rotate 20s linear infinite, pulse 2s ease-in-out infinite;
}

/* Default Visualization */
.default-viz i {
    font-size: 6rem;
    animation: flash 1.5s ease-in-out infinite;
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.7) 70%, transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(55%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.3;
}

.portfolio-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.portfolio-details,
.portfolio-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.portfolio-details span,
.portfolio-meta span {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255,255,255,0.9);
}

.portfolio-details i,
.portfolio-meta i {
    font-size: 0.9rem;
    color: var(--accent);
}

.btn-portfolio-prev,
.btn-portfolio-next {
    background: var(--brand-1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-portfolio-prev:hover,
.btn-portfolio-next:hover {
    background: var(--brand-2);
    transform: scale(1.1);
}


/* ==================================================================
   10) TESTIMONIALS - UPDATED FOR BETTER ALIGNMENT
   ================================================================== */
.testimonials-section {
    background: white;
}

.testimonials-slider {
    overflow: hidden;
    padding: 20px 0;
}

.testimonials-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 350px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Fix header alignment */
.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 12px; /* Add gap for spacing */
}

.testimonial-avatar {
    flex-shrink: 0; /* Prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar i {
    font-size: 3rem;
    color: var(--brand-1);
}

.testimonial-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-1);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.6);
    flex-shrink: 0; /* Prevent shrinking */
}

/* Info section alignment */
.testimonial-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-info h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.testimonial-info p {
    margin: 2px 0 0 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.2;
}

.testimonial-rating {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.btn-testimonial-prev,
.btn-testimonial-next {
    background: var(--brand-1);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-testimonial-prev:hover,
.btn-testimonial-next:hover {
    background: var(--brand-2);
    transform: scale(1.1);
}


/* ==================================================================
   11) ABOUT SECTION - ENHANCED
   ================================================================== */
.about-section {
    background: #ffffff;
    padding: 5rem 0;
    position: relative;
}

/* Subtle background pattern */
.about-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102,126,234,0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118,75,162,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

/* Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 0 0 4rem;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(102,126,234,0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(102,126,234,0.2), transparent);
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
    font-weight: 500;
}

/* Image Wrapper */
.about-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(102,126,234,0.2);
    transition: transform 0.3s ease;
}

/* Keep the About image aligned with the full content column on desktop. */
@media (min-width: 992px) {
    .about-section .row.align-items-center {
        align-items: stretch !important;
    }

    .about-section .row.align-items-center > .col-lg-6 {
        display: flex;
    }

    .about-section .about-img-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }

    .about-section .about-img {
        height: 100%;
        object-fit: contain;
    }

    /* Keep the copy compact so it sits naturally beside the designed artwork. */
    .about-section .about-text {
        line-height: 1.55;
        margin-bottom: 1rem;
    }

    .about-section .about-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin: 1.5rem 0 1.75rem;
    }

    .about-section .about-features li {
        gap: 0.75rem;
        padding: 0.85rem;
        margin-bottom: 0;
    }

    .about-section .about-features li i {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .about-section .feature-content h5 {
        font-size: 0.9rem;
        line-height: 1.25;
        margin-bottom: 0.25rem;
    }

    .about-section .feature-content p {
        font-size: 0.78rem;
        line-height: 1.3;
    }
}

.about-img-wrapper:hover {
    transform: scale(1.02);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 20px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--brand-1), var(--brand-2)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, 
                   linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, 
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Content */
.about-content {
    padding-left: 2rem;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--brand-1);
    font-weight: 700;
}

/* Enhanced Features List */
.about-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 2.5rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--brand-1);
    transition: all 0.3s ease;
}

.about-features li:hover {
    background: white;
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(102,126,234,0.12);
}

.about-features li i {
    font-size: 1.75rem;
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}

.feature-content {
    flex: 1;
}

.feature-content h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* CTA Buttons */
.about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-about {
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    box-shadow: 0 6px 20px rgba(102,126,234,0.3);
    transition: all 0.3s ease;
}

.btn-primary-about:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102,126,234,0.4);
    color: white;
}

.btn-outline-about {
    background: white;
    color: var(--brand-1);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--brand-1);
    transition: all 0.3s ease;
}

.btn-outline-about:hover {
    background: var(--brand-1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.3);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .stat-item:not(:nth-child(2n))::after {
        display: block;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .about-features li {
        padding: 1rem;
        gap: 1rem;
    }
    
    .about-features li i {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .about-cta {
        flex-direction: column;
    }
    
    .btn-primary-about,
    .btn-outline-about {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 3rem 0;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .feature-content h5 {
        font-size: 0.95rem;
    }
}


/* ==================================================================
   12) CONTACT
   ================================================================== */
.contact-section {
    background: white;
}

.contact-info-bar {
    background: var(--card-bg);
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.contact-quick-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.quick-contact-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.quick-contact-link:hover {
    color: var(--brand-2);
}

.contact-form-wrapper,
.map-wrapper {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Keep the inquiry and location cards balanced on larger screens. */
@media (min-width: 768px) {
    .contact-section .row {
        align-items: stretch;
    }

    .contact-section .row > [class*="col-"] {
        display: flex;
    }

    .contact-form-wrapper,
    .map-wrapper {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .contact-form-wrapper form,
    .map-wrapper iframe {
        flex: 1;
    }

    .contact-form-wrapper form {
        display: flex;
        flex-direction: column;
    }

    .contact-form-wrapper form > .mb-3:last-of-type {
        display: flex;
        flex: 1;
        flex-direction: column;
    }

    .contact-form-wrapper textarea.form-control {
        min-height: 160px;
        height: 100%;
        resize: vertical;
    }

    .map-wrapper iframe {
        width: 100%;
        min-height: 240px;
        height: auto !important;
    }
}

.contact-form-wrapper h3,
.map-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #333;
}

.form-control {
    padding: 12px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--brand-1);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-submit {
    background: var(--brand-1);
    color: white;
    padding: 12px 30px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--brand-2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--brand-1);
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item a {
    color: var(--brand-1);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ==================================================================
   13) FOOTER
   ================================================================== */
.footer {
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 0 1.5rem;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer p {
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-left: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: white;
    color: var(--brand-2);
    transform: translateY(-2px);
}

.footer hr {
    margin: 2rem 0;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==================================================================
   14) ALERTS
   ================================================================== */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==================================================================
   15) RESPONSIVE
   ================================================================== */
@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }

    #mainNav {
        height: 56px;
    }

    .hero-section {
        padding: 60px 20px 40px;
        min-height: auto;
    }

    .company-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-call,
    .btn-whatsapp {
        display: block;
        width: 80%;
        margin: 10px auto;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }

    .brand-logo {
        width: 90px;
        height: 36px;
        padding: 4px;
    }

    .portfolio-item,
    .testimonial-card {
        min-width: 300px;
    }

    .portfolio-img {
        height: 200px;
    }

    .product-card,
    .service-card {
        min-height: 300px;
    }

    .social-links {
        justify-content: center;
    }

    .footer .col-md-3 {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* ==================================================================
   ANIMATED IMAGE COLLAGE - FIXED
   ================================================================== */
.about-collage {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    max-height: 600px;
    min-height: 500px;
}

/* Main Large Image - LEFT SIDE */
.collage-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 65%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(102,126,234,0.25);
    z-index: 3;
}

.main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.collage-main:hover .main-img {
    transform: scale(1.05);
}

/* Grid of Smaller Images - RIGHT SIDE */
.collage-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 42%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.collage-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    background: #f0f0f0;
    transition: all 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.08);
    z-index: 5;
    box-shadow: 0 12px 35px rgba(102,126,234,0.25);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.4s ease;
}

.collage-item:hover img {
    transform: scale(1.1);
}

/* Bottom Row Items - Position below main image */
.collage-item.item-3,
.collage-item.item-4 {
    position: absolute;
    width: 48%;
    height: 30%;
    bottom: 0;
    left: 0;
}

.collage-item.item-3 {
    left: 0;
}

.collage-item.item-4 {
    left: 52%;
}

/* Floating Brand Badges - FIXED POSITION */
.brand-badges-float {
    position: absolute;
    bottom: 5%;
    right: 0;
    display: flex;
    gap: 0.75rem;
    z-index: 6;
}

.brand-badge-float {
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
}

.brand-badge-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.brand-badge-float i {
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-badge-float span {
    font-weight: 600;
    font-size: 0.8rem;
    color: #333;
    white-space: nowrap;
}

/* Decorative Elements - BEHIND everything */
.collage-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.08;
}

.decoration-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
    top: -40px;
    right: -40px;
    animation: rotate 25s linear infinite;
}

.decoration-2 {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--brand-2), var(--brand-1));
    bottom: 10%;
    left: 10%;
    animation: rotate 20s linear infinite reverse;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Fallback Placeholder */
.about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 10px, transparent 10px, transparent 20px);
    animation: patternMove 20s linear infinite;
}

.placeholder-content {
    display: flex;
    gap: 2rem;
    z-index: 1;
}

.placeholder-content i {
    font-size: 4rem;
    color: white;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

.placeholder-content i:nth-child(2) {
    animation-delay: 0.5s;
}

.placeholder-content i:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .about-collage {
        min-height: 450px;
        max-height: 500px;
        margin-bottom: 3rem;
    }
    
    .collage-main {
        width: 100%;
        height: 55%;
        top: 0;
    }
    
    .collage-grid {
        width: 100%;
        height: 42%;
        top: auto;
        bottom: 0;
        right: 0;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
    
    .collage-item.item-3,
    .collage-item.item-4 {
        position: relative;
        width: 100%;
        height: 100%;
        left: 0;
    }
    
    .brand-badges-float {
        bottom: 44%;
        right: 10px;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .about-collage {
        min-height: 400px;
    }
    
    .brand-badge-float {
        padding: 0.5rem 0.75rem;
    }
    
    .brand-badge-float i {
        font-size: 1.1rem;
    }
    
    .brand-badge-float span {
        font-size: 0.7rem;
    }
}
