/* ===============================
ROOT VARIABLES
================================ */
:root {
    --gold: #dda619;
    --gold-dark: #e6b216;
    --navy: #0a2342;
    --bg-light: #f3f5f5;
    background: linear-gradient(120deg, 
    transparent 0%, 
    rgba(247, 183, 51, 0.3) 40%, 
    rgba(255, 223, 93, 0.6) 50%, 
    rgba(126, 181, 184, 0.3) 60%, 
    transparent 100%);
}

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html {
    scroll-behavior:smooth;
}

/* ===============================
HEADER
================================ */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 7%;
    background:#f5f4e7;
    position:sticky;
    top:0;
    z-index:1000;
}

/* LOGO */

.logo-container{
    display:flex;
    align-items:center;
    gap:15px;
}

.brand-img{
    height:65px;
}

.logo-details{
    display:flex;
    flex-direction:column;
}

.brand-name{
    font-weight:800;
    color:#003366;
    font-size:2.3rem;
    line-height:0.9;
}

.brand-tagline{
    font-weight:600;
    color:#004d80;
    font-size:1rem;
}

.brand-categories{
    font-weight:700;
    color:#335c85;
    font-size:.55rem;
    letter-spacing:1.5px;
}

/* NAV */

.navbar ul{
    display:flex;
    gap:25px;
    list-style:none;
}

.navbar a{
    text-decoration:none;
    color:#333;
    font-weight:500;
}

.navbar a:hover{
    color:var(--gold);
}

#menu-bar,
.fa-bars{
    display:none;
}
/* Default (desktop view) */
.desktop-name {
    display: inline;
}

.mobile-name {
    display: none;
}
/* =========================
   MOBILE HEADER FIX
========================= */
@media (max-width: 768px) {

    header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 4px 6px; 
    }

    /* LOGO SECTION */
    .logo-container {
        display: flex;
        align-items: center;
        gap: 4px;          
        margin-right: auto; 
    }

    /* LOGO IMAGE SMALLER */
    .brand-img {
        height: 26px;  
        width: auto;
    }

    /* TEXT SMALLER */
    .brand-name {
        font-size: 0.85rem;
        line-height: 1.05;
    }

    /* OPTIONAL: HIDE EXTRA TEXT COMPLETELY */
    .brand-tagline,
    .brand-categories {
        display: none;
    }

    /* HAMBURGER ICON */
    label[for="menu-bar"] {
        font-size: 20px;
        margin-left: auto;
    }

    /* HIDE CTA BUTTONS */
    header .cta-buttons {
        display: none;
    }

    .desktop-name {
        display: none;
    }

    .mobile-name {
        display: inline;
    }

    /* NAV MENU */
    .navbar {
        width: 100%;
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        background: white;
        z-index: 999;
        box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    }

    #menu-bar:checked ~ .navbar {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
        padding: 10px;
    }

    .navbar a {
        padding: 6px;
        font-size: 13px;
    }
}

/* ===============================
BUTTONS
================================ */
.cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px; 
}

.text-container {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;  
  line-height: 1.7;
}

.btn-primary{
    background:var(--gold);
    color:#fff;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-primary:hover{
    background:var(--gold-dark);
}

.btn{
    background:var(--navy);
    color:rgb(248, 243, 243);
    padding:9px 18px;
    border-radius:6px;
    text-decoration:none;
    font-size:14px;
}

.btn:hover{
    background:#06172c;
}

.service-btn{
    background:#28a745;
    color:white;
    padding:10px 18px;
    border-radius:6px;
    text-decoration:none;
    display:inline-block;
    margin-top:10px;
}

.service-btn:hover{
    background:#218838;
}

/* ===============================
GLOBAL RESET
================================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    margin:0;
    padding:0;
    overflow-x:hidden;
}

/* ===============================
HERO
================================ */

.hero{
    width:100%;
    margin:0;
    padding:0;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(247, 183, 51, 0.3) 40%,
        rgba(255, 223, 93, 0.6) 50%,
        rgba(126, 181, 184, 0.3) 60%,
        transparent 100%
    );
}

.hero-card{
    width:100%;
    min-height:100vh;

    background:url("images/home-page.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
    color:rgb(250, 245, 245);
}

.hero-content{
    transform:translateY(-40px);
    padding:20px;
}

.hero-card h1{
    font-size:2.6rem;
}

.hero-card span{
    color:var(--gold);
}

.hero-btns{
    margin-top:25px;
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
}

/********************
HERO SOLAR SECTION
********************/

.hero-solar{
    width:100%;
    min-height:100vh;

    background:url("images/main_solar.jpg") center/cover no-repeat;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;
    padding:20px 12px;
    color:#fff;
}

/* TEXT */

.hero-solar h1{
    font-size:2.2rem;
    line-height:1.3;
}

.hero-sub{
    font-size:1.1rem;
    margin-top:10px;
}

.hero-highlight{
    font-size:1rem;
    margin-top:6px;
}

.hero-solar span{
    color:#e6b216;
}

/* HIDE CTA ON DESKTOP */

.hero .cta-buttons{
    display:none;
}

/* ===============================
MOBILE
================================ */

@media (max-width:768px){

    .hero-card,
    .hero-solar{
        min-height:100vh;
    }

    .hero-content{
        transform:translateY(0);
        padding:16px;
    }

    .hero-solar h1{
        font-size:1.5rem;
    }

    .hero-sub{
        font-size:0.95rem;
    }

    .hero-highlight{
        font-size:0.9rem;
    }

    /* SHOW BUTTONS */

    .hero .cta-buttons{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:10px;
        margin-top:18px;
        width:100%;
    }

    .hero .cta-buttons a{
        width:80%;
        max-width:260px;

        text-align:center;

        padding:10px 16px;
        font-size:14px;

        border-radius:25px;
    }

    .hero-card h1{
        font-size:2rem;
    }
}

/* ===============================
ENVIRONMENTAL IMPACT
================================ */
.feature-image{
position:relative;
}

.feature-image::after{
content:"Sustainable • Efficient • Smart Energy";
position:absolute;
bottom:20px;
left:50%;
transform:translateX(-50%);
color:white;
font-weight:600;
background:rgba(0,0,0,0.4);
padding:8px 18px;
border-radius:20px;
}

@media (max-width: 768px) {
    .feature-image {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-image img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        display: block; 
    }

    .feature-image::after {
        position: relative; 
        bottom: 0;
        left: 0;
        transform: none;
        display: inline-block;
        
        font-size: 0.75rem; 
        margin-top: 15px; 
        width: auto;
        max-width: 90%;
        text-align: center;
        
        background: rgba(0, 0, 0, 0.7); 
        padding: 6px 14px;
    }
}

/* ===============================
SECTIONS
================================ */

section{
    padding:80px 7%;
    text-align:center;
}

h2{
    color:var(--navy);
}

.underline{
    width:60px;
    height:3px;
    background:var(--gold);
    margin:15px auto 30px;
}

/* ===============================
SERVICES
================================ */

.service-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:30px;
}

.service-card{

    background:white;

    padding:35px 20px;

    border-radius:20px;

    border-bottom:5px solid var(--gold);

    box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.service-img{

    width:70px;
    height:70px;

    object-fit:cover;

    border-radius:50%;

    margin-bottom:20px;
}

/* ===============================
SOLAR PAGE CARDS
================================ */

.solar-container{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(320px,1fr));

    gap:25px;

    padding:30px 7%;
}

.solar-card{

    display:flex;

    gap:15px;

    background:white;

    border-radius:15px;

    padding:15px;

    align-items:center;

    border-bottom:5px solid var(--gold);

    box-shadow:0 10px 25px rgba(0,0,0,0.08);

    transition:.3s;
}

.solar-card:hover{
    transform:translateY(-6px);
}

.solar-card img{

    width:280px;

    height:250px;

    border-radius:10px;

    object-fit:cover;
}

.solar-content ul{
    list-style:none;
    margin-top:5px;
}

.solar-content li{
    font-size:14px;
    margin-bottom:6px;
}

.full-width{
    grid-column:span 2;
}


/* subsidy */

.subsidy{

    background:white;

    margin:40px 7%;

    padding:20px;

    border-radius:12px;

    border:2px solid var(--gold);

    display:flex;

    gap:20px;

    align-items:center;
}

.subsidy i{

    font-size:30px;

    color:var(--gold);
}

/* Center the whole section */
.solar-services {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Card layout */
.solar-service-card {
    display: flex;
    align-items: center;   
    gap: 15px;

    background: #f5f5f5;
    padding: 20px;
    border-radius: 15px;

    margin-bottom: 25px;
}

/* Image styling */
.solar-service-card img {
    width: 500px;
    height: 300px;
    object-fit: cover;   
    border-radius: 10px;
    margin-right: 10px;
}

/* Content */
.solar-service-content {
    flex: 1;
}

.solar-service-content h3 {
    margin-bottom: 8px;
}

.solar-service-content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.solar-service-content ul li {
    list-style: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .solar-service-card {
        flex-direction: column;
        text-align: center;
    }

    .solar-service-card img {
        width: 100%;
        height: auto;
    }
}


/* ===============================
WHY CHOOSE US
================================ */
.feature-title {
    color: var(--navy);
    font-weight: 600;
    margin-right: 6px;
    /* border-bottom: 2px solid #f4a100; */
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.features{

display:flex;

align-items:center;

gap:70px;

max-width:1450px;

margin:auto;

text-align:left;

color: #110007;

background: whitesmoke;

}

.features img{

width:400%;

max-width:400px;

border-radius:25px;
}


/* ===============================
PROJECT GALLERY
================================ */

.project-grid{

display:grid;

grid-template-columns:
repeat(3,1fr);

gap:20px;
}

.project-item img{

width:100%;

border-radius:15px;
}

/* ===============================
FOOTER
================================ */


/* FOOTER BASE */
.footer {
    background: #0f172a; /* dark premium */
    color: #e5e7eb;
    padding: 50px 7% 20px;
}

/* GRID LAYOUT */
.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* COLUMNS */
.footer-col h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #ffffff;
}

.footer-col a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #e6b216;
}

/* BRAND */
.brand-footer-img {
    height: 50px;
    margin-bottom: 10px;
}

.brand-footer-name {
    font-size: 1.5rem;
    color: #fff;
}

.brand-footer-desc {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-top: 8px;
    line-height: 1.5;
}

/* CONTACT TEXT */
.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* SOCIAL */
.socials {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.socials a {
    font-size: 18px;
    color: #cbd5e1;
    transition: 0.3s;
}

.socials a:hover {
    color: #25D366;
    transform: scale(1.2);
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #1e293b;
    font-size: 0.8rem;
    color: #94a3b8;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .footer-container {
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 20px;
    }

    .brand {
        grid-column: span 2; /* full width */
        text-align: center;
    }

    .footer {
        padding: 35px 15px;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }
}
/* =====================
HOW IT WORKS TIMELINE
===================== */

.how-it-works{

padding:80px 7%;

 background: linear-gradient(120deg, 
    transparent 0%, 
    rgba(247, 183, 51, 0.3) 40%, 
    rgba(255, 223, 93, 0.6) 50%, 
    rgba(126, 181, 184, 0.3) 60%, 
    transparent 100%);

}

.section-title{

text-align:center;

font-size:22px;

margin-bottom:40px;

margin-top: 40px;

position:relative;

}

.section-title::after{

content:"";

width:80px;

height:4px;

background:var(--gold);

display:block;

margin:10px auto 0;

border-radius:2px;

}

/* timeline layout */

.timeline{

position:relative;

max-width:900px;

margin:auto;

}

/* vertical line */

.timeline::before{
content:"";
position:absolute;
left:40px;   /* center line position */
top:0;
bottom:0;
width:3px;
background:#d3d3d3;
}

/* each step */
.step{
display:flex;
align-items:center;
margin-bottom:40px;
position:relative;
}

/* circle image */
.circle{
width:90px;
height:90px;
border-radius:50%;
overflow:hidden;
background:white;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
z-index:2;
position:relative;
}

.circle img{

width:100%;

height:100%;

object-fit:cover;

}

/* content card */

.card{

background:white;

padding:20px 30px;

margin-left:20px;

border-radius:15px;

box-shadow:0 8px 25px rgba(0,0,0,0.08);

flex:1;

}

.card h3{

margin-bottom:5px;

}

.card p{

color:#555;

}

/* arrow */

.arrow{

text-align:center;

margin-left:70px;

font-size:28px;

color:#444;

}

/* mobile */

@media(max-width:768px){

.timeline::before{

left:45px;

}

.circle{

width:70px;

height:70px;

}

.arrow{

margin-left:50px;

}

}

/* ===============================
MOBILE
================================ */

@media(max-width:991px){

.features{
flex-direction:column;
text-align:center;
}

.project-grid{
grid-template-columns:repeat(2,1fr);
}

.full-width{
grid-column:span 1;
}

}

@media(max-width:768px){

.fa-bars{
display:block;
font-size:22px;
cursor:pointer;
}

.navbar{

position:absolute;

top:100%;

left:0;

width:100%;

background:white;

height:0;

overflow:hidden;

transition:.3s;
}

.navbar ul{

flex-direction:column;

padding:20px;
}

#menu-bar:checked~.navbar{

height:260px;

border-bottom:2px solid var(--gold);
}

.desktop-only{
display:none;
}

.hero-card{
height:420px;
}

.hero-card h1{
font-size:1.8rem;
}

.project-grid{
grid-template-columns:1fr;
}

.solar-card{
flex-direction:column;
text-align:center;
}

}

/* */
/* common section spacing */

.why-solar,
.system-size,
.process-info,
.faq{

padding:70px 7%;

}

/* grid cards */

.why-grid,
.size-table{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:20px;

}

.why-card,
.size-card{

background:white;

padding:20px;

border-radius:14px;

box-shadow:0 6px 18px rgba(0,0,0,0.08);

}

.size-card ul{

margin-top:10px;

padding-left:18px;

}

/* process text */

.process-text{

max-width:800px;

margin:auto;

line-height:1.7;

}
/* faq */
/* Section title */
.faq h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Question text */
.faq-question {
    font-size: 18px;
    padding: 18px 20px;
}

/* Answer text */
.faq-answer {
    font-size: 16px;
    line-height: 1.6;
}

/* Plus icon */
.faq-question span {
    font-size: 22px;
}
.faq {
    max-width: 2000px;
    margin: auto;
    text-align: center;
}

.faq-container {
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Question button */
.faq-question {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    color: var(--navy);
    font-weight: 600;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Answer hidden */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    text-align: left;
    padding: 0 20px;
    color: var(--navy);
    transition: max-height 0.3s ease;
}

/* Active state */
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 10px 20px 15px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

/* WRAPPER */
.how-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    align-items: center;
}

/* TIMELINE stays left */
.timeline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* CTA BOX (RIGHT SIDE) */
.quote-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.quote-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.quote-box p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .how-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline {
        justify-content: center;
    }
}

/* WRAPPER */
.services-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

/* LEFT SIDE (VERTICAL) */
.services-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-icon {
    width: 100px;
    height: 100px;
}

/* CARD STYLE (horizontal look) */
.card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #f7b733;
}

/* IMAGE STYLE */
.card img {
    width: 60px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

/* TEXT BLOCK */
.card div {
    flex: 1;
}

.card h3 {
    margin: 0;
    font-size: 18px;
}

.card p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.card:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

/* RIGHT PANEL */
.contact-panel {
    background: linear-gradient(135deg, #1e3a5f, #0f2a44);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* BIG TITLE */
.contact-panel h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* LIST */
.contact-panel ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.contact-panel li {
    margin-bottom: 10px;
    font-size: 14px;
}

/* BUTTON */
.contact-panel .btn-primary {
    display: inline-block;
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .services-wrapper {
        grid-template-columns: 1fr;
    }
}

/* CONTAINER */
.lighting-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* IMAGE GRID */
.lighting-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* IMAGES */
.lighting-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* MAKE ONE IMAGE BIGGER */
.lighting-images img:first-child {
    grid-column: span 2;
    height: 400px;
}

/* CONTENT */
.lighting-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.lighting-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

/* MOBILE */
@media (max-width: 768px) {

    .lighting-container {
        display: flex;
        flex-direction: column-reverse; 
        gap: 20px;
    }

    .lighting-content {
        text-align: center;
    }

    .lighting-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .lighting-images img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 10px;
    }
}

/* OVERLAY */
.modal-overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(8px);

    display:flex;
    justify-content:center;
    align-items:center;

    z-index:9999;
}

/* BOX */
.modal-box{
    background:#fff;
    width:360px;
    padding:25px;
    border-radius:12px;
    position:relative;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
}

/* CLOSE */
.close-btn{
    position:absolute;
    top:8px;
    right:12px;
    font-size:22px;
    cursor:pointer;
}

/* INPUT */
.modal-box input,
.modal-box select{
    width:100%;
    padding:10px;
    margin:8px 0;
    border-radius:8px;
    border:1px solid #ddd;
}

/* BUTTON */
.modal-box button{
    width:100%;
    padding:12px;
    background:#0f2a44;
    color:#fff;
    border:none;
    border-radius:8px;
    font-weight:600;
}

/* HIDDEN */
.hidden{
    display:none;
}

/* RIGHT FORM */
.quote-box {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quote-box input,
.quote-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.quote-box button {
    width: 100%;
    padding: 12px;
    background: #f4b400;
    border: none;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
}

.hidden {
    display: none;
}

