/* Khanyisa Greentech Energy - Custom Styles */

/* ===== CSS Variables ===== */
:root {
    --primary-green: #28a745;
    --dark-green: #1e7e34;
    --light-green: #34ce57;
    --accent-orange: #fd7e14;
    --dark-gray: #2c3e50;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 2px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* Override Bootstrap Primary Color */
.btn-primary, .bg-primary, .text-primary, .badge.bg-primary {
    --bs-primary: var(--primary-green);
    --bs-primary-rgb: 40, 167, 69;
}

/* ===== Typography ===== */
html {
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-gray);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Subtle orange underline for section titles */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 3px;
    background: var(--accent-orange);
}

/* Align service page section title underline to the left */
.services-page .section-title::after {
    margin-left: 0;
    margin-right: 0;
}

/* Footer links: remove underlines */
footer a {
    text-decoration: none;
}

footer a:hover,
footer a:focus {
    text-decoration: none;
}

/* ===== Why Choose Us cards ===== */
#why-choose {
    background-color: var(--light-gray);
}

#why-choose .feature-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#why-choose .feature-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.1);
}

.feature-box .feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(40, 167, 69, 0.12);
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-box:hover .feature-icon {
    transform: scale(1.05);
    background: rgba(40, 167, 69, 0.18);
}

#why-choose h5 {
    font-weight: 600;
}

/* ===== Navigation ===== */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-green) !important;
    display: flex;
    align-items: center;
}

/* Logo Icon Styling */
.logo-icon {
    display: inline-block;
    transition: all 0.3s ease;
}

.logo-icon i {
    font-size: 40px;
    color: var(--primary-green);
    text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    animation: logoSpinIn 1.5s ease-out, logoGlow 2s ease-in-out infinite alternate;
    display: inline-block;
}

.logo-icon:hover {
    transform: scale(1.15);
}

.logo-icon:hover i {
    animation: logoSpin 0.8s ease-in-out infinite, logoPulse 0.6s ease-in-out infinite;
}

/* Logo Animations */
@keyframes logoSpinIn {
    0% {
        transform: rotate(0deg) scale(0.8);
        opacity: 0.7;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes logoGlow {
    0% {
        text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2), 0 0 8px rgba(40, 167, 69, 0.3);
    }
    100% {
        text-shadow: 0 2px 4px rgba(40, 167, 69, 0.2), 0 0 16px rgba(40, 167, 69, 0.6);
    }
}

@keyframes logoSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Two-line brand text to mirror legacy site layout */
.brand-text {
    line-height: 1.15;
}

.brand-line-1 {
    display: block;
    font-weight: 800;
    letter-spacing: 0.8px;
    font-size: 1.15em;
}

.brand-line-2 {
    font-weight: 600;
    font-size: 0.54em;
    color: #404040;
    margin-top: -3px;
    letter-spacing: 1.3px;
}

.brand-text {
    display: inline;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0 0.3rem;
    transition: var(--transition);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Active nav link uses subtle orange accent */
.nav-link.active {
    color: var(--accent-orange) !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -6px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(253,126,20,0.15), var(--accent-orange), rgba(253,126,20,0.15));
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow);
    border-radius: 8px;
}

.dropdown-item:hover {
    background-color: var(--light-green);
    color: white;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    /* Account for fixed navbar height so content isn't hidden behind it */
    min-height: calc(100vh - 128px);
    padding-top: 180px; /* Increased padding for more space */
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,128C960,117,1056,75,1152,69.3C1248,64,1344,96,1392,112L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') bottom;
    background-size: cover;
}

.hero-banner {
    position: relative;
    overflow: hidden;
}

/* Remove the decorative white wave on hero when using banner image */
.hero-banner::before {
    background: none;
}

/* Background slides container */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Dark overlay for better text readability */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    will-change: transform, opacity;
    animation: heroZoom 14s ease-in-out infinite;
    opacity: 0;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 7s;
}

/* Overlap slides slightly to avoid any flash-through of the base color */
.hero-slide { animation-fill-mode: both; }

@keyframes heroZoom {
    0% { opacity: 0; transform: scale(1); }
    4% { opacity: 1; }
    48% { opacity: 1; transform: scale(1.08); }
    60% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.12); }
}

.hero-overlay {
    position: relative;
    z-index: 3;
}

.hero-overlay {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.bounce-animation {
    animation: bounce 2s infinite;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Stats Counter */
.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-orange) !important;
    display: block;
}

.stat-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-title {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-description {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: 600;
}

/* ===== Buttons ===== */
.btn {
    font-weight: 500;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid transparent;
}

/* Glass overlay for hero text */
.hero-text-overlay {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Orange button variant */
.btn-orange {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
}

.btn-orange:hover {
    background: #e67e00;
    border-color: #e67e00;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 126, 20, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--accent-orange);
}

.btn-outline-primary:hover {
    background: var(--primary-green);
    border-color: var(--accent-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 126, 20, 0.25);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ===== Project Cards ===== */
.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: white;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.9), rgba(30, 126, 52, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    text-align: center;
    color: white;
    padding: 1rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.project-content {
    padding: 1.5rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-size {
    font-weight: 600;
    color: var(--dark-gray);
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--primary-green);
    border-radius: 15px;
    z-index: 1;
}

.about-image-wrapper img {
    position: relative;
    z-index: 2;
}

.feature-item {
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
}

/* ===== About Page: Core Values ===== */
.value-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.25);
}

.value-icon i {
    font-size: 2.1rem;
    color: #ffffff;
}

@media (max-width: 768px) {
    .value-icon {
        width: 76px;
        height: 76px;
    }
    .value-icon i {
        font-size: 1.8rem;
    }
}

/* ===== Contact CTA ===== */
#contact-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    position: relative;
    overflow: hidden;
}

#contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="%23ffffff" opacity="0.15"/><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="30" r="2.5" fill="%23ffffff" opacity="0.12"/><circle cx="30" cy="80" r="1.5" fill="%23ffffff" opacity="0.08"/><circle cx="70" cy="70" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
    animation: rotate 60s linear infinite;
}

#contact-cta::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2.5" fill="%23ffffff" opacity="0.08"/><circle cx="15" cy="15" r="1.5" fill="%23ffffff" opacity="0.06"/><circle cx="85" cy="25" r="2" fill="%23ffffff" opacity="0.07"/><circle cx="25" cy="85" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1.5" fill="%23ffffff" opacity="0.06"/></svg>');
    animation: rotate 45s linear infinite reverse;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(-10px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

/* ===== Electrical Page CTA Circles ===== */
section.electrical-cta {
    position: relative;
    overflow: hidden;
}

section.electrical-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="3" fill="%23ffffff" opacity="0.15"/><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="30" r="2.5" fill="%23ffffff" opacity="0.12"/><circle cx="30" cy="80" r="1.5" fill="%23ffffff" opacity="0.08"/><circle cx="70" cy="70" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

section.electrical-cta::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2.5" fill="%23ffffff" opacity="0.08"/><circle cx="15" cy="15" r="1.5" fill="%23ffffff" opacity="0.06"/><circle cx="85" cy="25" r="2" fill="%23ffffff" opacity="0.07"/><circle cx="25" cy="85" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="75" cy="75" r="1.5" fill="%23ffffff" opacity="0.06"/></svg>');
    animation: rotate 45s linear infinite reverse;
    pointer-events: none;
}


/* ===== Interactive Map Styles ===== */
.interactive-map-container {
    background: #fff;
    border-radius: 15px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0;
}

.map-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.coverage-visualization {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    border: 2px dashed #dee2e6;
    position: relative;
    overflow: hidden;
}

.coverage-visualization::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23dee2e6" opacity="0.3"/><circle cx="20" cy="20" r="0.5" fill="%23dee2e6" opacity="0.2"/><circle cx="80" cy="30" r="0.8" fill="%23dee2e6" opacity="0.25"/><circle cx="30" cy="80" r="0.6" fill="%23dee2e6" opacity="0.2"/><circle cx="70" cy="70" r="0.7" fill="%23dee2e6" opacity="0.22"/></svg>');
    animation: float 20s linear infinite;
    pointer-events: none;
}

.map-placeholder {
    margin-bottom: 16px;
}

.map-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 15px;
    animation: pulse 2s infinite;
}

.map-placeholder h5 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.office-locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .office-locations-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
}

.location-item {
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    min-width: 200px;
    max-width: 280px;
}

@media (max-width: 768px) {
    .location-item {
        min-width: unset;
        max-width: unset;
        padding: 18px 22px;
    }
}

.location-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.location-item.active {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.location-marker {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 16px;
    color: white;
    transition: all 0.3s ease;
}

.location-marker.main-office {
    background: var(--primary-green);
    animation: pulse 2s infinite;
}

.location-marker.regional-office {
    background: #17a2b8;
}

.location-item:hover .location-marker {
    transform: scale(1.1);
}

.location-info h6 {
    font-weight: 600;
    color: #495057;
    margin-bottom: 3px;
    font-size: 14px;
}

.location-info span {
    color: #6c757d;
    font-size: 12px;
}

@media (max-width: 768px) {
    .location-info h6 {
        font-size: 13px;
        margin-bottom: 2px;
    }
    
    .location-info span {
        font-size: 11px;
    }
}

.map-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.legend-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.legend-marker.main-office {
    background: #28a745;
}

.legend-marker.regional-office {
    background: #17a2b8;
}

/* Office Details Cards */
.office-details-container {
    margin-top: 30px;
}

.region-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.region-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.region-card.active {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.office-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.office-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.office-badge .badge {
    font-size: 10px;
    padding: 4px 8px;
}

.office-content h6 {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
}

.office-content p {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.office-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.contact-info {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #495057;
}

.contact-item i {
    color: var(--primary-green);
    width: 16px;
}

.office-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.office-actions .btn {
    font-size: 12px;
    padding: 6px 12px;
}

.office-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.office-toggle:hover {
    background: var(--dark-green);
    transform: scale(1.1);
}

.office-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.region-card.active .office-toggle i {
    transform: rotate(180deg);
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #1a252f, #2c3e50) !important;
}

footer .text-light {
    color: #bdc3c7 !important;
}

footer a.text-light:hover {
    color: var(--light-green) !important;
}

/* Focus styles using subtle orange ring */
.btn:focus, .form-control:focus, .form-select:focus {
    border-color: rgba(253, 126, 20, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(253, 126, 20, 0.25);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

/* ===== Solar Page Styles ===== */
.process-step {
    padding: 2rem 1rem;
    position: relative;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--accent-orange);
    transform: translateX(-50%);
    z-index: 1;
}

.process-step:last-child::before {
    display: none;
}

.process-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-orange), #ff8c00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.3);
    transition: var(--transition);
}

.process-number:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(253, 126, 20, 0.4);
}

.tech-card {
    padding: 3rem 2.5rem;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    transition: var(--transition);
    height: 100%;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-orange);
    background: #fafafa;
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    color: var(--primary-green);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.tech-card:hover .tech-icon {
    color: var(--accent-orange);
    transform: scale(1.15);
}

.tech-card h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.tech-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-card ul {
    margin: 0;
    padding: 0;
}

.tech-card ul li {
    padding: 0.5rem 0;
    color: #495057;
    font-size: 0.95rem;
}

.benefit-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: var(--transition);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item:hover {
    background: rgba(253, 126, 20, 0.05);
    border-radius: 10px;
    padding-left: 1rem;
    padding-right: 1rem;
}

.benefit-icon {
    flex-shrink: 0;
    transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.solar-stats {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.solar-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
}

.stat-card {
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--accent-orange);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-orange);
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

/* Enhanced service cards for solar page */
.solar-service-card {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.solar-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.solar-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.solar-service-card:hover::before {
    transform: scaleX(1);
}

.solar-service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.solar-service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

.solar-service-card .service-icon i {
    font-size: 2rem;
    color: white;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 24px;
        bottom: 15px;
        right: 15px;
    }
}

/* ===== Office Locations Styles ===== */
.office-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    transition: var(--transition);
    border: 2px solid #e9ecef;
    height: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.office-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-green));
    transform: scaleX(0);
    transition: var(--transition);
}

.office-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: var(--accent-orange);
}

.office-card:hover::before {
    transform: scaleX(1);
}

.office-card.active {
    border-color: var(--accent-orange);
    box-shadow: 0 15px 40px rgba(253, 126, 20, 0.2);
}

.office-card.active::before {
    transform: scaleX(1);
}

.office-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 1.5rem 0.5rem;
    position: relative;
}

.office-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2);
}

.office-card:hover .office-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.3);
}

.office-icon i {
    font-size: 1.5rem;
    color: white;
}

.office-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.office-badge .badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.office-content {
    padding: 0 1.5rem 1rem;
}

.office-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    line-height: 1.3;
}

.office-location {
    color: #6c757d;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-size: 0.9rem;
}

.office-province {
    margin-bottom: 0.5rem;
}

.province-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.office-details {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #e9ecef;
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
}

.office-details.hidden {
    max-height: 0;
    padding: 0 1.5rem;
}

.office-details:not(.hidden) {
    max-height: 300px;
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
    color: #495057;
    font-size: 0.85rem;
}

.contact-item i {
    width: 16px;
    color: var(--accent-orange);
    margin-right: 0.6rem;
    font-size: 0.8rem;
}

.office-actions {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.office-actions .btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    transition: var(--transition);
}

.office-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.office-toggle {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    width: 30px;
    height: 30px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    cursor: pointer;
}

.office-card:hover .office-toggle {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(253, 126, 20, 0.3);
}

.office-toggle i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.office-card.active .office-toggle i {
    transform: rotate(180deg);
}

.coverage-map {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.coverage-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-orange);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-top: 2rem;
    width: 100%;
}

.map-region {
    text-align: center;
}

.region-card {
    background: white;
    border-radius: 12px;
    padding: 0;
    transition: var(--transition);
    border: 2px solid #e9ecef;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-height: 160px;
    width: 100%;
}

.region-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transition: var(--transition);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: var(--accent-orange);
}

.region-card:hover::before {
    transform: scaleX(1);
}

.region-card h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    margin-bottom: 0.3rem;
}

.region-card p {
    color: #6c757d;
    margin: 0;
    font-size: 0.85rem;
}

/* Interactive region card styles */
.region-card .office-header {
    padding: 0.6rem 0.6rem 0.2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.region-card .office-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.region-card .office-icon i {
    font-size: 0.9rem;
    color: white;
}

.region-card .office-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.region-card .office-content {
    padding: 0 0.6rem 0.6rem;
}

.region-card .office-details {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 0.8rem 1rem 1rem;
    border-top: 1px solid #e9ecef;
    transition: all 0.3s ease;
    max-height: 200px;
    overflow: hidden;
}

.region-card .office-details.hidden {
    max-height: 0;
    padding: 0 1rem;
}

.region-card .contact-info {
    margin-bottom: 0.8rem;
}

.region-card .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    color: #495057;
    font-size: 0.8rem;
}

.region-card .contact-item i {
    width: 14px;
    color: var(--accent-orange);
    margin-right: 0.4rem;
    font-size: 0.7rem;
}

.region-card .office-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.region-card .office-actions .btn {
    flex: 1;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.region-card .office-toggle {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    background: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    cursor: pointer;
}

.region-card .office-toggle i {
    font-size: 0.7rem;
    transition: var(--transition);
}

/* Single row office cards layout */
.office-card {
    min-height: 200px;
}

.office-header {
    padding: 1rem 1rem 0.5rem;
}

.office-content {
    padding: 0 1rem 0.5rem;
}

.office-content h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.office-location {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.office-province {
    margin-bottom: 0.3rem;
}

.province-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
}

.office-details {
    padding: 0.8rem 1rem 1rem;
}

.contact-item {
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
}

.contact-item i {
    width: 14px;
    font-size: 0.7rem;
    margin-right: 0.4rem;
}

.office-actions .btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
}

.office-toggle {
    bottom: 0.5rem;
    right: 0.5rem;
    width: 26px;
    height: 26px;
}

.office-toggle i {
    font-size: 0.7rem;
}

/* Responsive adjustments for office cards */
@media (max-width: 768px) {
    .office-card {
        min-height: 180px;
    }
    
    .office-header {
        padding: 0.8rem 0.8rem 0.3rem;
    }
    
    .office-content {
        padding: 0 0.8rem 0.3rem;
    }
    
    .office-content h5 {
        font-size: 0.9rem;
    }
    
    .office-location {
        font-size: 0.75rem;
    }
    
    .coverage-map {
        padding: 2rem 1.5rem;
    }
    
    .map-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 576px) {
    .map-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(255, 140, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.gallery-content h6 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Gallery Page Styles */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    cursor: pointer;
    height: 300px;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.project-size {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Partners Section ===== */
.partner-logo {
    padding: 24px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: none; /* color by default for accreditations */
    transition: transform 0.3s ease;
}

.partner-logo:hover img {
    transform: scale(1.03);
}

.ceta-approval {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary-green);
}

.ceta-logo img {
    filter: none !important;
}

/* ===== Mobile AOS Fixes ===== */
@media (max-width: 768px) {
    /* Ensure all content is visible on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Reduce animation delays on mobile */
    [data-aos-delay] {
        animation-delay: 0.1s !important;
    }
    
    /* Make sure sections are visible */
    section {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Fix service cards visibility */
    .service-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    /* Ensure about section is visible */
    #about {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Fix project preview section */
    #projects-preview {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Fix why choose section */
    #why-choose {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Partners Section Mobile */
    .partner-logo {
        height: 100px;
        padding: 15px;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .ceta-approval {
        padding: 30px 20px;
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 116px);
        padding-top: 160px; /* Increased mobile padding */
    }
    .hero-slide {
        background-position: center top;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .navbar-brand .brand-text {
        font-size: 1rem;
    }
    
    .brand-line-1 {
        font-size: 1.1em;
    }
    
    .brand-line-2 {
        font-size: 0.5em;
    }
    
    .logo-icon i {
        font-size: 35px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: calc(100vh - 120px);
    }
    .hero-slide { background-position: center top; }
    .hero-buttons .btn {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .hero-buttons .btn:first-child {
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .navbar-brand .brand-text {
        font-size: 0.9rem;
    }
    
    .brand-line-1 {
        font-size: 1em;
    }
    
    .brand-line-2 {
        font-size: 0.43em;
    }
    
    .logo-icon i {
        font-size: 30px;
    }
}

/* ===== Modal Fixes ===== */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

/* Ensure proper modal cleanup */
body.modal-open {
    overflow: hidden;
}

/* Fix for modal backdrop issues */
.modal-backdrop.show {
    opacity: 0.5;
}

/* ===== Utility Classes ===== */
.text-primary-green {
    color: var(--primary-green) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.badge.bg-accent {
    background-color: var(--accent-orange) !important;
}

/* Secondary orange utilities */
.text-accent-orange {
    color: var(--accent-orange) !important;
}

.text-dark-gray {
    color: var(--dark-gray) !important;
}

.shadow-custom {
    box-shadow: var(--shadow) !important;
}

.shadow-hover-custom {
    box-shadow: var(--shadow-hover) !important;
}

/* ===== Animation Classes ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Loading Animations ===== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .hero-section,
    #contact-cta,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .service-card,
    .project-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ===== Enhanced CTA Styles ===== */
.cta-buttons .btn {
    transition: all 0.3s ease;
    min-width: 180px;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.emergency-badge .badge {
    animation: pulse 2s infinite;
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.emergency-cta .btn {
    transition: all 0.3s ease;
    font-weight: 600;
}

.emergency-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.emergency-number {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid rgba(255,193,7,0.3);
}

.feature-item.text-white {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-item.text-white:last-child {
    border-bottom: none;
}

/* ===== Floating Dots Animation ===== */
.floating-dots {
    position: relative;
    overflow: hidden;
}

.floating-dots::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 2px, transparent 2px),
                radial-gradient(circle at 80% 30%, rgba(255,255,255,0.08) 1px, transparent 1px),
                radial-gradient(circle at 40% 70%, rgba(255,255,255,0.12) 1.5px, transparent 1.5px),
                radial-gradient(circle at 70% 80%, rgba(255,255,255,0.06) 1px, transparent 1px),
                radial-gradient(circle at 10% 60%, rgba(255,255,255,0.1) 2px, transparent 2px),
                radial-gradient(circle at 90% 10%, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
                radial-gradient(circle at 30% 90%, rgba(255,255,255,0.09) 1px, transparent 1px),
                radial-gradient(circle at 60% 40%, rgba(255,255,255,0.11) 2px, transparent 2px);
    background-size: 100px 100px, 80px 80px, 120px 120px, 90px 90px, 110px 110px, 70px 70px, 95px 95px, 85px 85px;
    animation: floatingDots 20s linear infinite;
    pointer-events: none;
}

@keyframes floatingDots {
    0% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-5px);
    }
    75% {
        transform: translateY(-30px) translateX(15px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

/* Additional floating dots for more density */
.floating-dots::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 15% 15%, rgba(255,255,255,0.05) 1px, transparent 1px),
                radial-gradient(circle at 85% 25%, rgba(255,255,255,0.07) 1.5px, transparent 1.5px),
                radial-gradient(circle at 35% 75%, rgba(255,255,255,0.06) 1px, transparent 1px),
                radial-gradient(circle at 75% 85%, rgba(255,255,255,0.04) 1px, transparent 1px),
                radial-gradient(circle at 5% 55%, rgba(255,255,255,0.08) 1.5px, transparent 1.5px),
                radial-gradient(circle at 95% 5%, rgba(255,255,255,0.05) 1px, transparent 1px),
                radial-gradient(circle at 25% 95%, rgba(255,255,255,0.06) 1.5px, transparent 1.5px),
                radial-gradient(circle at 55% 35%, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 60px 60px, 50px 50px, 70px 70px, 55px 55px, 65px 65px, 45px 45px, 58px 58px, 52px 52px;
    animation: floatingDots 25s linear infinite reverse;
    pointer-events: none;
}