:root {
    /* Connectric Energy Brand Colors (Exact RGB from request) */
    --connectric-teal: rgb(3, 135, 122);
    --connectric-yellow: rgb(245, 212, 23);
    
    /* LIGHT THEME (White Background) */
    --bg-color: #ffffff; 
    --card-bg: rgba(3, 135, 122, 0.05); 
    --text-main: #333333; 
    --text-muted: #555555;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(3, 135, 122, 0.2);

    /* Typography */
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--connectric-teal);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-logo {
    height: 120px; 
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-main); transition: 0.3s; font-weight: 600;}
.nav-links a:hover { color: var(--connectric-teal); }

/* --- Buttons --- */
.btn-main {
    background: var(--connectric-yellow);
    padding: 12px 30px;
    border-radius: 30px;
    color: #000; 
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 212, 23, 0.4); 
    border: none;
    cursor: pointer;
}
.btn-main:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(245, 212, 23, 0.6); 
}

.btn-secondary {
    border: 2px solid var(--connectric-teal);
    padding: 10px 28px;
    border-radius: 30px;
    color: var(--connectric-teal); 
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}
.btn-secondary:hover {
    background: var(--connectric-teal);
    color: white;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.6)), url('https://images.unsplash.com/photo-1548613053-220e39953284?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 20px;}

.hero h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--connectric-teal); 
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #444; 
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.text-gradient {
    color: var(--connectric-yellow);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 60px; 
}

/* --- Sections --- */
.section { padding: 100px 10%; }
.section-title { 
    font-size: 3rem; 
    margin-bottom: 60px; 
    text-align: center; 
    font-family: var(--font-head);
    color: var(--connectric-teal);
}
.section-title span { border-bottom: 4px solid var(--connectric-yellow); }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: 0.4s;
}
.card:hover { 
    border-color: var(--connectric-yellow); 
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(3, 135, 122, 0.15);
    background: white;
}
.card h3 { 
    color: var(--connectric-teal); 
    font-size: 1.5rem;
    margin-bottom: 15px; 
}
.card p {
    line-height: 1.6;
    color: var(--text-muted);
}

/* --- SERVICES SECTION --- */
.services-section { background-color: #f8f9fa; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(3, 135, 122, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 135, 122, 0.1);
    border-color: var(--connectric-yellow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(3, 135, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--connectric-teal);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--connectric-teal);
    margin-bottom: 15px;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.service-list li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "•";
    color: var(--connectric-yellow);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* --- WHY SOLAR SECTION --- */
.why-solar-section { background-color: white; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.benefit-item {
    text-align: left;
    padding: 20px;
    border-left: 4px solid var(--connectric-teal);
    transition: 0.3s;
}

.benefit-item:hover {
    background: #f9f9f9;
    border-left-color: var(--connectric-yellow);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(3, 135, 122, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.benefit-item h3 {
    font-size: 1.4rem;
    color: var(--connectric-teal);
    margin-bottom: 15px;
    font-family: var(--font-head);
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: #f4fcfb; 
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--connectric-teal);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Compliance Badges */
.compliance-box {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(3, 135, 122, 0.2);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.compliance-item:last-child { margin-bottom: 0; }

.checkmark {
    width: 30px;
    height: 30px;
    background: var(--connectric-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-weight: bold;
}

.comp-detail {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 2px;
}

/* About Image Side */
.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.image-wrapper {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 20px 20px 0px rgba(3, 135, 122, 0.1); 
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--connectric-teal);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--connectric-yellow);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- GALLERY CARD --- */
.gallery-card {
    padding: 0 !important;
    overflow: hidden;
    text-align: left;
    background: white;
}

.gallery-placeholder {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #eee;
}

.gallery-card h3 {
    padding: 20px 20px 5px 20px;
    margin: 0;
    font-size: 1.3rem;
}

.gallery-card p {
    padding: 0 20px 20px 20px;
    font-size: 0.9rem;
}

/* --- GALLERY PHOTO GRID --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 300px; /* Fixed height for uniformity */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 135, 122, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.gallery-item .text span {
    font-size: 0.9rem;
    color: var(--connectric-yellow);
    font-weight: normal;
}

/* --- Solar Calculator Styling --- */
.calculator-section {
    background: linear-gradient(135deg, #f0fdfc 0%, #ffffff 100%);
    padding-top: 50px;
}

.calc-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calc-box {
    background: white;
    border: 2px solid var(--connectric-teal);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(3, 135, 122, 0.1);
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--connectric-teal);
    font-weight: 700;
    font-size: 1.1rem;
}

.input-group input {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    background: #f9f9f9; 
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #333;
    transition: 0.3s;
}
.input-group input:focus { border-color: var(--connectric-yellow); outline: none; background: white; }

.calc-btn { width: 100%; font-size: 1.1rem; }

/* Result Box */
.result-box {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    display: none; 
}

.result-box.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.highlight-text { color: var(--connectric-teal); font-weight: 800; font-size: 1.2rem; }

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
    text-align: center;
}

.spec-item {
    background: var(--card-bg);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.spec-label { font-size: 0.8rem; color: #777; margin-bottom: 5px; }
#spec-inverter, #spec-battery, #spec-panels { font-weight: bold; color: var(--connectric-teal); }

.system-desc { margin-bottom: 20px; font-style: italic; color: #666; line-height: 1.5; }

.small-btn { display: inline-block; font-size: 0.9rem; padding: 8px 20px; }

/* --- Contact & Footer --- */
.contact-section {
    background-color: #f4fcfb; /* Slightly different bg to separate from previous section */
    padding: 80px 5%;
}

/* UPDATED: Flexbox for Side-by-Side Layout */
.contact-container {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    gap: 50px;
    justify-content: center;
    align-items: flex-start; /* Aligns items to the top */
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form, .contact-info {
    flex: 1; /* Takes equal width */
    min-width: 300px;
    max-width: 600px;
}

.contact-form {
    background: white;
    border: 2px solid var(--connectric-teal);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(3, 135, 122, 0.1);
}

.contact-form input, .contact-form select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form select:focus { 
    outline: none; 
    border-color: var(--connectric-yellow);
    background: white;
    box-shadow: 0 0 10px rgba(245, 212, 23, 0.2);
}

.contact-info h3 { 
    color: var(--connectric-teal); 
    margin-bottom: 20px; 
    font-size: 2rem; 
}

.contact-info p { 
    margin-bottom: 20px; 
    color: #555; 
    line-height: 1.6; 
    font-size: 1.1rem;
}

.contact-info strong { 
    color: var(--connectric-teal); 
}

/* Hyperlink Styling */
.contact-info a {
    color: var(--connectric-teal);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--connectric-yellow);
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 40px;
    background: var(--connectric-teal);
    color: white;
    font-size: 0.9rem;
    margin-top: 50px;
}

/* --- WHATSAPP FLOATING BUTTON (NEW) --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* Official WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 10000; /* Ensure it floats on top */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: var(--connectric-yellow); /* Glows with Brand Yellow on hover */
    box-shadow: 0 0 15px var(--connectric-yellow);
}

/* --- Mobile Menu & Hamburger Styling --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--connectric-teal); /* Teal bars for white bg */
}

/* Mobile & Tablet View Adjustments */
@media (max-width: 992px) {
    /* Tablet & Mobile: Show Hamburger */
    .hamburger { display: block; z-index: 2000; }

    .btn-main { padding: 8px 15px; font-size: 0.8rem; }

    /* The Mobile Menu Container */
    .nav-links {
        background: rgba(255, 255, 255, 0.98); /* White mobile menu */
        border-left: 5px solid var(--connectric-yellow);
        display: flex;
        position: fixed;
        right: -100%; /* Hide off-screen */
        top: 0;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 75%; 
        transition: 0.4s ease-in-out;
        z-index: 1500;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--connectric-teal); font-size: 1.5rem; }

    /* Hero Text Adjustment */
    .hero h1 { font-size: 3rem; }
    
    /* Layout Adjustments */
    .hero-btns { flex-direction: column; }
    .specs-grid { grid-template-columns: 1fr; }
    .section { padding: 80px 5%; }
    .about-container { flex-direction: column; gap: 40px; }
    .image-wrapper { height: 300px; }
    .experience-badge { bottom: 10px; left: 10px; }
    .contact-container { flex-direction: column; gap: 40px; } /* Stack contact on mobile */

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--connectric-yellow); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--connectric-yellow); }
}

@media (max-width: 480px) {
    /* Mobile-Specific Tweaks */
    .hero h1 { font-size: 2.2rem; }
    .nav-logo { height: 80px; } /* Smaller logo on mobile */
    .btn-main { display: none; } /* Optional: Hide CTA in navbar on very small screens to save space */
}