:root {
    --primary-color: #4CAF50;
    --secondary-color: #2E7D32;
    --text-dark: #333;
    --text-light: #fff;
    --background-light: #f5f5f5;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --card-radius: 15px;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --card-hover-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* LAYOUT COMPONENTS */

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.social-icons a {
    color: var(--text-light);
    margin-left: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Navigation */
.main-nav {
    background: white;
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo styling */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-image {
    max-height: 65px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
    background-image: url('/assets/images/SolarisLogo3.png');
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    display: inline-block;
    margin-bottom: -5px;
    color: var(--text-dark);
}

.company-name {
    margin-top: -10px;
    align-self: flex-start;
    padding-top: 10px;
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* BUTTON STYLES */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(76, 175, 80, 0.5);
}

.btn-primary:hover::after {
    left: 100%;
}

a[href="quote.html"].btn-primary.btn-rounded:hover {
    background-color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: rgba(76, 175, 80, 0.1);
}

.btn-rounded {
    border-radius: 50px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* HERO SECTIONS */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('../images/home.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 80vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
    position: relative;
}

.hero .container {
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin: 0 auto 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service hero */
/* Enhanced Hero Section */
.hero-solar {
    background: linear-gradient(135deg, #a8e063, #56ab2f); /* Warm gradient green */
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-solar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Add overlay for better text readability */
}

.hero-solar .sun-icon {
    display: none; /* Hide the sun icon */
}

.hero-solar .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-solar h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeInDown 1.2s ease;
}

.hero-solar .hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-light);
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    animation: fadeInUp 1.2s ease 0.3s;
    animation-fill-mode: both;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-solar .hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    animation: fadeInUp 1.2s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom solar button styling */
.btn-solar {
    background: linear-gradient(45deg, #4CAF50, #2E7D32);
    color: var(--text-light);
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-solar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.btn-solar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-solar:hover::after {
    left: 100%;
}

.btn-solar-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 13px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-solar-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero-solar h1 {
        font-size: 2.8rem;
    }
    
    .hero-solar .hero-subtitle {
        font-size: 1.3rem;
        max-width: 90%;
    }
    
    .sun-icon {
        font-size: 4rem;
        right: 60px;
    }
}

@media (max-width: 768px) {
    .hero-solar {
        height: 80vh;
    }
    
    .hero-solar h1 {
        font-size: 2.2rem;
    }
    
    .hero-solar .hero-subtitle {
        font-size: 1.1rem;
        max-width: 95%;
    }
    
    .hero-solar .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .sun-icon {
        font-size: 3rem;
        right: 40px;
        top: 30px;
    }
}
/* CONTENT SECTIONS */

/* Process Section */
.process {
    padding: 80px 20px;
    background: var(--background-light);
    text-align: center;
}


.section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 40px;
    position: relative;
    text-align: center; /* <<< ADD THIS LINE */
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.process-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.process-card .number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 10px;
}

.process-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.arrow-link {
    margin-top: 15px;
}

.arrow-link a {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.arrow-link a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 15px;
    }

    .process-card .number {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1.2rem;
    }

    .process-card h3 {
        font-size: 1.1rem;
    }

    .process-card p {
        font-size: 0.9rem;
    }
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/home2.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.benefit-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}
/* Service Sections - Desktop First Approach */
.main-services,
.additional-services,
.complementary-services {
    text-align: center;
    padding: 80px 0;
}

.additional-services,
.complementary-services {
    background-color: #f9f9f9;
}

/* Main Service Cards (Large with image) */
.service-card-main {
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-card-main.reverse {
    flex-direction: row-reverse;
}

.service-card-content,
.service-card-image {
    flex: 1;
}

.service-card-image {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.service-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card-content h2 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.service-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Services Grid (Small cards) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
    background: white;
    border-radius: var(--card-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    height: 60px;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-card .btn-secondary,
.service-card .btn-rounded {
    margin-top: auto;
}

/* Service Features List */
.service-features {
    list-style-type: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 12px 15px;
    background: rgba(245, 245, 245, 0.8);
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    padding-left: 35px;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 15px;
}

.service-features li:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.8);
}

/* Retain service-box for backwards compatibility */
.service-box {
    text-align: center;
    padding: 30px;
    transition: var(--transition);
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.service-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-box h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-box .btn-secondary {
    margin-top: auto;
}

/* Service Category Cards */
.service-category {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-image img {
    border-radius: 15px;
    transform: scale(0.95);
    transition: transform 0.5s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-category:hover .service-image img {
    transform: scale(1);
}

/* Service Features */
.service-features {
    list-style-type: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 10px 15px;
    background: rgba(255,255,255,0.5);
    border-radius: 50px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, background 0.3s ease;
    position: relative;
    padding-left: 35px;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 15px;
}

.service-features li:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.8);
}

/* Fix navigation for desktop */
.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu-toggle {
    display: none;
}

/* Responsive Tablet Layout */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .service-card-main {
        flex-direction: column;
    }
    
    .service-card-main.reverse {
        flex-direction: column;
    }
    
    .service-card-image {
        min-height: 300px;
    }
    
    .service-card-content {
        padding: 30px;
    }
}

/* Responsive Mobile Layout */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: 20px;
        margin: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card-image {
        min-height: 250px;
    }
    
    .service-card-content {
        padding: 25px 20px;
    }
    
    .service-box,
    .service-card {
        padding: 25px 20px;
    }
    
    .service-box i,
    .service-card i {
        font-size: 2.5rem;
    }
    
    .service-box h3,
    .service-card h3 {
        font-size: 1.4rem;
    }
    
    .service-features li {
        padding: 10px 15px 10px 30px;
    }
    
    .service-features li:before {
        left: 10px;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-card-header h2 {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 25px;
    }

    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .main-nav .nav-links.active {
        display: flex;
    }
}

/* Small Mobile Layout */
@media (max-width: 480px) {
    .service-card-image {
        min-height: 200px;
    }
    
    .service-box,
    .service-card {
        padding: 20px 15px;
    }
    
    .service-box i,
    .service-card i {
        font-size: 2rem;
    }
    
    .service-box h3,
    .service-card h3 {
        font-size: 1.3rem;
    }
}
/* ===== EXAMPLE: Enhanced Details Section Theme ===== */

/* 1. Adjust overall section background and padding */
.details {
    background: #f5f5f5;
    padding: 80px 0;    /* Example: Increased vertical padding */
    margin-top: 0px;
    overflow: hidden;
    min-height: 200px;
}

/* 2. Base state for details - preparing for slide+fade animation */
.details .detail {
    /* Core hiding properties */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;

    /* Animation preparation */
    transform: translateY(-15px); /* Start slightly above */

    /* Reset padding/margin */
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;

    /* Styling */
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    border-left: 5px solid transparent; /* Placeholder for active state border */

    /* Define the transition (adjust duration - e.g., 0.6s) */
    transition:
        opacity 0.6s ease,
        max-height 0.6s ease,
        visibility 0.6s ease,
        transform 0.6s ease, /* Added transform */
        padding-top 0.6s ease,
        padding-bottom 0.6s ease,
        margin-bottom 0.6s ease,
        border-left-color 0.6s ease; /* Added border color */
}

/* 3. Enhanced style for the ACTIVE detail card */
.details .detail.active {
    /* Core visibility properties */
    opacity: 1;
    max-height: 600px; /* Adjust if content is taller */
    visibility: visible;

    /* Animation end state */
    transform: translateY(0); /* Slide down to final position */

    /* Enhanced visual style */
    /* background-color: #fafffa; */ /* Optional: Very light green tint */
    box-shadow: 0 12px 35px rgba(0,0,0,0.12); /* Enhanced shadow */
    border-left: 5px solid var(--primary-color); /* Add accent border */

    /* Restore padding/margin */
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 25px; /* Adjusted left padding due to border */
    padding-right: 30px;
    margin-bottom: 25px; /* Slightly more margin */
}

/* 4. Refined typography inside the card */
.details .detail.active h3 {
    margin-bottom: 20px; /* More space below heading */
    color: var(--secondary-color); /* Use secondary color */
    font-size: 1.7rem;
    font-weight: 600;
}

.details .detail.active p {
    color: #333; /* Darker text */
    line-height: 1.75;
    font-size: 1rem;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

/* 5. Different icon example */
.details .detail.active p::before {
    content: '\f058'; /* Font Awesome check-circle icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900; /* Use solid style */
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 6px; /* Adjust alignment */
    font-size: 1em;
}
/* ===== END EXAMPLE Theme ===== */
/* FOOTER */
.footer {
    background: linear-gradient(to right, #2E7D32, #1B5E20);
    position: relative;
    overflow: hidden;
    padding: 40px 0 20px;
    color: var(--text-light);
}.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1;
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.contact-info {
    flex: 1;
    text-align: center;
}

.social-icons {
    flex: 1;
    text-align: center;
}

.contact-title {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.footer .contact-info, 
.footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer .contact-info span, 
.footer .social-icons a {
    color: #fff;
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.2);
}

.footer-links a img {
    max-width: 150px;
    margin: 0 10px;
    transition: opacity 0.3s ease;
}

.footer-links a img:hover {
    opacity: 0.9;
}

.footer p {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer button {
    display: block;
    margin: 20px auto 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .process-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .top-bar .container, 
    .main-nav .container, 
    .footer .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar .contact-info, 
    .top-bar .social-icons, 
    .footer .contact-info, 
    .footer .social-icons {
        justify-content: flex-start;
        gap: 10px;
        margin-top: 10px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 25px;
    }

    .main-nav .nav-links {
        display: none;
        flex-direction: column;
        gap: 10px;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .main-nav .nav-links.active {
        display: flex;
    }

    .hero, 
    .service-hero {
        padding: 60px 0;
    }

    .hero {
        height: auto;
        min-height: 60vh;
    }

    .hero h1, 
    .service-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle, 
    .service-hero .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .process-grid, 
    .benefits-grid, 
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-card, 
    .benefit-card, 
    .service-card,
    .service-box {
        min-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .service-category {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .service-info h2 {
        font-size: 1.5rem;
    }

    .service-info p, 
    .service-card p, 
    .benefit-card p {
        font-size: 1rem;
    }

    .service-features li {
        font-size: 1rem;
    }

    .social-icons {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .process-card,
    .benefit-card,
    .service-card {
        padding: 20px 15px;
    }
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.fade-in {
    animation: fadeIn 1s ease;
}

.slide-in-right {
    animation: slideInRight 0.5s ease;
}

.slide-in-left {
    animation: slideInLeft 0.5s ease;
}

/* Desktop and Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;  /* Changed from 1400px to match other pages */
        padding: 0 20px;    /* Changed from 30px for consistency */
    }

    /* Hero Section */
    .hero h1 {
        font-size: 3rem;    /* Adjusted for better hierarchy */
        max-width: 900px;   /* Match container width in hero */
    }

    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 800px;   /* Better readability on desktop */
    }

    /* Navigation */
    .nav-links {
        gap: 30px;         /* Match spacing from other pages */
    }

    .logo-image {
        max-height: 65px;  /* Consistent with other pages */
    }

    /* Process Section */
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;         /* Consistent gap across sections */
    }

    .process-card {
        padding: 30px;     /* Match other card paddings */
    }

    /* Benefits Section */
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .benefit-card {
        padding: 30px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .service-card-main {
        max-width: 1200px;  /* Match container width */
    }

    .service-card-content {
        padding: 40px;      /* More reasonable padding */
    }

    .service-card-image {
        min-height: 400px;  /* Better proportion */
    }

    /* Section Titles */
    .section-title {
        font-size: 2.2rem;  /* Match other page headings */
        margin-bottom: 50px;
    }

    /* Buttons */
    .btn-large {
        padding: 16px 32px;  /* Match other pages */
        font-size: 1.1rem;
    }
}

/* Update the button styles */
.nav-links .btn-primary.btn-rounded {
    padding: 14px 28px;  /* Increased padding */
    font-size: 1.05rem;  /* Slightly larger font */
    font-weight: 500;    /* Make text a bit bolder */
    min-width: 160px;    /* Ensure minimum width */
    text-align: center;  /* Center text */
}

/* Add hover effect */
.nav-links .btn-primary.btn-rounded:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.5);
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .nav-links .btn-primary.btn-rounded {
        padding: 12px 24px;
        width: 100%;
        margin-top: 10px;
    }
}


.hero-section {
    background-image: url('/assets/images/hero-bg.jpg');
}
/* End of background images */

/* Mobile-specific styles */
@media (max-width: 768px) {
    .process-card {
        cursor: pointer;
    }

    .details {
        margin-top: 2rem;
    }

    .detail.active {
        display: block;
    }
}

/* Desktop-specific styles */
@media (min-width: 769px) {
    .process-card:hover {
        transform: translateY(-5px);
    }

    .details.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Responsive styles for Process Section */
@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        padding: 15px;
    }
}
.contact-nav {
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.phone-container {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

a.nav-phone, 
a.phone-link,
.nav-phone,
.phone-link {
    color: #000000 !important; /* Using !important to override default link styling */
    text-decoration: none !important;
    font-weight: 650;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

a.nav-phone:hover,
a.phone-link:hover {
    color: #4CAF50 !important; /* Green on hover */
}

.nav-phone i,
.phone-link i {
    margin-right: 5px;
}

/* For responsive layout */
@media (max-width: 768px) {
    .phone-container {
        display: none; /* Hide on mobile, or you can adjust as needed */
    }
}
/* ==================== Configurator Styles ==================== */
#configurator {
    padding: 80px 0; 
    background: #ffffff;
}

.configurator-intro {
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto 40px; 
    color: #666;
}

#configurator-wrapper {
    background: #f9f9f9; 
    padding: 30px; 
    border-radius: 15px; 
    margin: 0 auto; 
    box-shadow: var(--shadow); /* Uses shadow variable defined in :root */
    /* max-width: 900px; */ /* Optional: Uncomment and adjust if you want to constrain width */
}
/* Style for the radio button labels in the configurator */
#configurator-form input[type="radio"] + label {
    margin-right: 15px;
    font-weight: normal; /* Adjust as needed */
    display: inline-block; /* Keep label inline */
    margin-bottom: 0; /* Override default label margin */
}

/* Style for the select dropdown */
#configurator-form select {
    width: 100%; 
    padding: 12px; /* Consistent padding */
    border: 1px solid #ccc; 
    border-radius: 6px; 
    font-size: 1rem; 
    box-sizing: border-box; 
    background-color: white; /* Ensure background color */
     /* Add appearance for cross-browser consistency if needed */
    /* appearance: none; */
    /* background-image: url(...); */ /* If using custom dropdown arrow */
}

#configurator-form select:focus {
     border-color: var(--primary-color); 
     box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
     outline: none;
}
.config-form-group {
    margin-bottom: 20px; 
    text-align: left;
}

/* Styles for labels inside the form group */
.config-form-group label {
    display: block; 
    margin-bottom: 8px; 
    font-weight: 500;
    color: var(--text-dark); /* Use theme color */
    font-size: 0.95em;
}

/* Style for the specific battery label to align with checkbox */
.config-form-group label[for="battery-interest"] {
    display: inline-block; 
    margin-bottom: 0; 
    font-weight: 500; /* Ensure consistent weight */
}

/* Styles for number input */
#configurator-form input[type="number"] {
    width: 100%; 
    padding: 12px; /* Consistent padding */ 
    border: 1px solid #ccc; /* Slightly darker border */
    border-radius: 6px; /* Match other inputs */
    font-size: 1rem; /* Match other inputs */
    box-sizing: border-box; 
}

/* Styles for input focus state */
#configurator-form input[type="number"]:focus {
     border-color: var(--primary-color); 
     box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
     outline: none;
}


/* Styles for error message */
#bill-error {
    color: red; 
    display: none; /* JS will change this */
    font-size: 0.85em; 
    margin-top: 5px;
}

/* Styles for checkbox */
#configurator-form input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2); /* Make checkbox slightly larger */
    vertical-align: middle; 
}

/* Styles for the calculate button */
#calculate-button {
    padding: 12px 25px;
    /* Inherits base styles from .btn-primary .btn-rounded */
}

/* Styles for results div */
#configurator-results {
    margin-top: 30px; 
    text-align: left; 
    border-top: 1px solid #eee; 
    padding-top: 20px; 
    display: none; /* JS will change this */
}

/* Styles for results heading */
#configurator-results h3 {
    text-align: center; 
    margin-bottom: 15px; 
    color: var(--secondary-color); 
    font-weight: 600; /* Match other heading styles */
}

#configurator-results p {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #333;
}

#configurator-results p strong {
    color: var(--text-dark);
   
    display: inline-block;
    margin-right: 5px; /* Optional: add slight space between label and value */
}

#configurator-results span {
    color: var(--primary-color); 
    font-weight: bold;
}

/* Styles for battery result paragraph */
#result-battery-info {
    display: none; /* JS will change this if battery is selected */
}

/* Styles for quote button inside wrapper */
#configurator-wrapper > a.btn-primary {
    margin-top: 30px;
    display: inline-block; /* Ensure margin works */
}

/* Styles for disclaimer paragraph */
.configurator-disclaimer {
    text-align: center; 
    margin-top: 20px; 
    font-size: 0.9em; 
    color: #888;
}
/* Find this existing rule in your style.css */
#configurator-results {
    margin-top: 30px;
    text-align: left;
    /* Make the top border thicker and use the primary color */
    border-top: 3px solid var(--primary-color); /* MODIFIED */
    padding-top: 25px; /* Increased padding slightly */
    display: none; /* JS will change this */
}

/* Find this existing rule in your style.css */
#configurator-results h3 {
    text-align: center;
    margin-bottom: 20px; /* Increased margin slightly */
    color: var(--secondary-color);
    font-weight: 600;
    /* Add font-size to make the heading larger */
    font-size: 1.8rem; /* ADDED - Adjust size as needed (e.g., 2rem, 150%) */
}
/* ==================== End Configurator Styles ==================== */