/* ==========================================
   SWASTIK SOLAR SERVICES
   PROFESSIONAL CSS v2.0
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===== Reset ===== */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
font-size:16px;
line-height:1.7;
color:#333;
background:#f8fafc;
overflow-x:hidden;
}

/* ===== Container ===== */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* ===== Links ===== */

a{
text-decoration:none;
transition:.3s;
}

img{
max-width:100%;
display:block;
}

/* ===== Header ===== */

.header{
position:sticky;
top:0;
left:0;
width:100%;
background:#fff;
z-index:9999;
box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.header.sticky{
box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.header .container{
display:flex;
justify-content:space-between;
align-items:center;
min-height:90px;
padding:10px 0;
}

/* ===== Logo ===== */

.logo{
display:flex;
align-items:center;
justify-content:flex-start;
gap:15px;
flex-shrink:0;
}
.logo img{
width:65px;
height:65px;
border-radius:50%;
object-fit:cover;
display:block;
margin:0;
}

.logo-text{
display:flex;
flex-direction:column;
justify-content:center;
}

.logo-text h2{
margin:0;
font-size:24px;
line-height:1.2;
color:#0B7A32;
font-weight:700;
}

.logo-text span{
margin-top:4px;
font-size:13px;
color:#666;
line-height:1.3;
}


/* ===== Navigation ===== */

.navbar{

display:flex;
align-items:center;
gap:28px;

}

.navbar a{

font-weight:600;
color:#222;
position:relative;

}

.navbar a:hover,
.navbar a.active{

color:#0B7A32;

}

.navbar a::after{

content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#0B7A32;
transition:.3s;

}

.navbar a:hover::after,
.navbar a.active::after{

width:100%;

}



/* ===== Quote Button ===== */

.quote-btn{

background:#0B7A32;
color:#fff !important;
padding:12px 24px;
border-radius:40px;

}

.quote-btn:hover{

background:#086128;

}

/* ===== Mobile Menu ===== */

.menu-toggle{

display:none;
font-size:32px;
cursor:pointer;
color:#0B7A32;

}
/* ==========================================
   HERO SECTION
========================================== */

.hero{
padding:90px 0;
background:linear-gradient(135deg,#eef8f2,#ffffff);
}

.hero-container{
display:flex;
align-items:center;
justify-content:space-between;
gap:60px;
}

.hero-content{
flex:1;
}

.hero-tag{

display:inline-block;
background:#e8f8ed;
color:#0B7A32;
padding:10px 20px;
border-radius:30px;
font-size:14px;
font-weight:600;
margin-bottom:20px;

}

.hero-content h1{

font-size:54px;
font-weight:700;
line-height:1.2;
margin-bottom:20px;

}

.hero-content h1 span{

color:#0B7A32;

}

.hero-content p{

font-size:18px;
color:#555;
margin-bottom:35px;

}

.hero-buttons{

display:flex;
gap:15px;
flex-wrap:wrap;

}

.hero-image{
flex:1;
display:flex;
justify-content:center;
}

.hero-image img{
width:100%;
max-width:520px;
border-radius:20px;
}

.hero-image img{

border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.15);

}

/* ==========================================
BUTTONS
========================================== */

.btn{

display:inline-block;
padding:15px 30px;
border-radius:8px;
font-weight:600;
transition:.3s;

}

.btn-primary{

background:#0B7A32;
color:#fff;

}

.btn-primary:hover{

background:#086128;
transform:translateY(-3px);

}

.btn-whatsapp{

background:#25D366;
color:#fff;

}

.btn-whatsapp:hover{

background:#1ea851;
transform:translateY(-3px);

}

/* ==========================================
SECTION TITLE
========================================== */

section{

padding:50px 0;

}

.section-title{

text-align:center;
margin-bottom:35px;

}

.section-title h2{

font-size:20px;
color:#0B7A32;
margin-bottom:10px;

}

.section-title p{

color:#666;
font-size:17px;

}

/* ==========================================
SERVICE CARDS
========================================== */

.services-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;

}

.service-card{

background:#fff;
padding:30px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
text-align:center;

}

.service-card:hover{

transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.12);

}
.service-card img{

width:100%;
height:220px;
object-fit:cover;
border-radius:12px;
margin-bottom:20px;

}


.service-card h3{

margin-bottom:15px;
color:#0B7A32;
font-size:22px;

}

.service-card p{

color:#555;
}
/* ==========================================
   PROJECTS & BLOG CARDS
========================================== */

.project-grid,
.blog-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;

}

.project-card,
.blog-card{

background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.35s;

}

.project-card:hover,
.blog-card:hover{

transform:translateY(-10px);
box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.project-card img,
.blog-card img{

width:100%;
height:240px;
object-fit:cover;

}

.project-content,
.blog-content{

padding:25px;

}

.project-content h3,
.blog-content h3{

color:#0B7A32;
margin-bottom:15px;
font-size:24px;

}

.project-content p,
.blog-content p{

color:#666;
margin-bottom:20px;

}



/* ==========================================
CONTACT / INQUIRY / REVIEW FORM
========================================== */

.contact-form{

max-width:850px;
margin:auto;
background:#fff;
padding:40px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.contact-form label{

display:block;
font-weight:600;
margin-bottom:8px;

}

.contact-form input,
.contact-form textarea,
.contact-form select{

width:100%;
padding:15px;
border:1px solid #ddd;
border-radius:8px;
font-size:16px;
margin-bottom:20px;
font-family:Poppins,sans-serif;

}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus{

outline:none;
border-color:#0B7A32;
box-shadow:0 0 8px rgba(11,122,50,.2);

}

.contact-form textarea{

resize:vertical;

}



/* ==========================================
GOOGLE MAP
========================================== */

iframe{

width:100%;
border:0;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,.08);

}



/* ==========================================
CONTACT BOX
========================================== */

.contact-box{

background:#fff;
padding:30px;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.contact-box h3{

color:#0B7A32;
margin-bottom:15px;

}



/* ==========================================
FAQ
========================================== */

.faq-item{

background:#fff;
padding:25px;
border-radius:15px;
box-shadow:0 8px 20px rgba(0,0,0,.08);
margin-bottom:20px;

}

.faq-item h3{

color:#0B7A32;
margin-bottom:10px;

}



/* ==========================================
ANIMATION
========================================== */

.service-card,
.project-card,
.blog-card,
.contact-box{

transition:.35s;

}

.service-card:hover,
.project-card:hover,
.blog-card:hover,
.contact-box:hover{

transform:translateY(-8px);

}
/* ==========================================
   FOOTER
========================================== */

.footer{
background:#111827;
color:#fff;
padding:70px 0 30px;
margin-top:80px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:35px;
}

.footer-logo{
width:70px;
margin-bottom:15px;
border-radius:50%;
}

.footer h3{
margin-bottom:20px;
font-size:22px;
}

.footer p,
.footer li{
color:#d1d5db;
margin-bottom:10px;
line-height:1.8;
}

.footer ul{
list-style:none;
padding:0;
}

.footer a{
color:#d1d5db;
transition:.3s;
}

.footer a:hover{
color:#22c55e;
padding-left:5px;
}

.footer-bottom{
margin-top:40px;
padding-top:25px;
border-top:1px solid rgba(255,255,255,.15);
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
gap:20px;
}

.footer-links{
display:flex;
gap:20px;
flex-wrap:wrap;
}



/* ==========================================
FLOATING BUTTONS
========================================== */

.floating-call,
.floating-whatsapp{

position:fixed;
right:20px;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
color:#fff;
text-decoration:none;
box-shadow:0 10px 25px rgba(0,0,0,.25);
z-index:9999;
transition:.3s;

}

.floating-call{

bottom:95px;
background:#0B7A32;

}

.floating-whatsapp{

bottom:20px;
background:#25D366;

}

.floating-call:hover,
.floating-whatsapp:hover{

transform:scale(1.08);

}

.btn{
border-radius:12px;
font-size:17px;
font-weight:600;
}

/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:991px){

.header .container{

height:auto;
padding:15px 0;
flex-wrap:wrap;

}

.menu-toggle{

display:block;

}

.navbar{

display:none;
flex-direction:column;
width:100%;
background:#fff;
padding:20px;
margin-top:15px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.navbar.active{

display:flex;

}

.hero-container{

flex-direction:column-reverse;
text-align:center;

}

.hero-content h1{

font-size:38px;

}

.hero-buttons{

justify-content:center;

}
.logo-text h2{

font-size:30px;

}

.footer-bottom{

flex-direction:column;
text-align:center;

}

}



@media(max-width:576px){

.container{

width:94%;

}

.hero{

padding:20px 0;

}
.hero-content h1{
font-size:16px;
line-height:1.2;
}

.hero-content p{
font-size:15px;
line-height:1.6;
}
.hero-image img{
width:100%;
max-width:100%;
}
.section-title h2{

font-size:16px;

}

.contact-form{

padding:16px;

}

.project-card img,
.blog-card img{

height:200px;

}

}
/* Project Images */
.project-card img{
width:100%;
height:260px;
object-fit:cover;
border-radius:15px 15px 0 0;
margin:0;
}
/* ==========================================
   PROJECT SHOWCASE
========================================== */

.project-showcase{

display:flex;
align-items:center;
gap:50px;
margin-bottom:70px;
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.project-showcase:nth-child(even){

flex-direction:row-reverse;

}

.project-image{

flex:1;

}

.project-image img{

width:100%;
height:380px;
object-fit:cover;
border-radius:18px;
box-shadow:0 15px 35px rgba(0,0,0,.15);

}

.project-content{

flex:1;

}

.project-content h2{

font-size:16px;
color:#0B7A32;
margin-bottom:20px;

}

.project-content p{

font-size:17px;
color:#555;
line-height:1.8;
margin-bottom:20px;

}

.project-content ul{

padding-left:20px;

}

.project-content li{

margin-bottom:12px;
font-size:17px;

}

.project-content li::marker{

color:#0B7A32;

}

/* Mobile */

@media(max-width:991px){

.project-showcase{

flex-direction:column !important;

}

.project-image img{

height:auto;

}

.project-content{

text-align:center;

}

.project-content ul{

text-align:left;

}

}

/* ================= LIGHTBOX ================= */

.lightbox img{
cursor:pointer;
transition:.3s;
}

.lightbox img:hover{
transform:scale(1.03);
}

#lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.9);
display:none;
justify-content:center;
align-items:center;
z-index:99999;
padding:20px;
}

#lightbox img{
max-width:95%;
max-height:90%;
border-radius:12px;
box-shadow:0 10px 40px rgba(0,0,0,.5);
}

#lightbox.active{
display:flex;
}

#lightbox span{
position:absolute;
top:20px;
right:30px;
font-size:45px;
color:#fff;
cursor:pointer;
font-weight:bold;
}
/* ================= BREADCRUMB ================= */

.breadcrumb{
background:#f4f8f4;
padding:15px 0;
border-bottom:1px solid #e5e5e5;
}

.breadcrumb .container{
font-size:15px;
}

.breadcrumb a{
color:#0b7a32;
font-weight:600;
text-decoration:none;
}

.breadcrumb span{
color:#666;
margin:0 8px;
}

/* ==========================================
   BLOG HERO
========================================== */

.blog-hero{
padding:15px 0 20px;
background:#f8fafc;
}

.blog-cover{
width:100%;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.15);
display:block;
}
/* ==========================================
   PM SURYA GHAR COVER
========================================== */

.pm-cover{
    padding:15px 0;
    background:#f8fafc;
}

.pm-cover-img{
    width:100%;
    display:block;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}
/* ==========================================
   ON GRID SOLAR COVER
========================================== */

.ongrid-cover{
    padding:15px 0;
    background:#f8fafc;
}

.ongrid-cover-img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    transition:.3s;
}

.ongrid-cover-img:hover{
    transform:scale(1.01);
}
/* ==========================================
   SOLAR ATTA CHAKKI COVER
========================================== */

.atta-cover{
    padding:15px 0;
    background:#f8fafc;
}

.atta-cover-img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    transition:.3s;
}

.atta-cover-img:hover{
    transform:scale(1.01);
}
/* ==========================================
   OFF GRID SOLAR COVER
========================================== */

.offgrid-cover{
    padding:15px 0;
    background:#f8fafc;
}

.offgrid-cover-img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    transition:.3s;
}

.offgrid-cover-img:hover{
    transform:scale(1.01);
}


/* ==========================================
   BLOG CONTENT
========================================== */

.blog-content{
max-width:1000px;
margin:auto;
padding:10px 0 40px;
}

.blog-content h1{
font-size:42px;
line-height:1.3;
color:#0B7A32;
margin-bottom:20px;
font-weight:700;
text-align:center;
}

.blog-content h2{
font-size:30px;
line-height:1.4;
color:#0B7A32;
margin:45px 0 18px;
font-weight:600;
border-left:5px solid #0B7A32;
padding-left:12px;
}

.blog-content h3{
font-size:23px;
line-height:1.5;
color:#222;
margin:30px 0 12px;
font-weight:600;
}

.blog-content p{
font-size:18px;
line-height:1.9;
color:#444;
margin-bottom:20px;
text-align:justify;
}

.blog-content ul,
.blog-content ol{
font-size:18px;
line-height:1.9;
padding-left:28px;
margin:20px 0;
}

.blog-content li{
margin-bottom:12px;
color:#444;
}

.blog-content img{
width:100%;
border-radius:18px;
margin:30px 0;
box-shadow:0 10px 30px rgba(0,0,0,.12);
}
/* ==========================================
   PROJECT SHOWCASE
========================================== */

.project-showcase{
display:flex;
align-items:center;
gap:50px;
margin:70px 0;
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.project-image{
flex:1;
}

.project-image img{
width:100%;
border-radius:18px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
transition:.3s;
}

.project-image img:hover{
transform:scale(1.02);
}

.project-content{
flex:1;
}

.project-content h2{
font-size:30px;
color:#0B7A32;
margin-bottom:20px;
}

.project-content p{
font-size:17px;
line-height:1.8;
margin-bottom:20px;
}

.project-content ul{
padding-left:20px;
margin-bottom:25px;
}

.project-content li{
margin-bottom:10px;
}

.project-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}
.project-image img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
}
.project-buttons .btn{
    padding:12px 20px;
    font-size:15px;
}
.project-content h2{
    font-size:28px;
    line-height:1.3;
    color:#0B7A32;
}

.project-showcase{
    border:1px solid #e5e5e5;
}
/* ==========================================
   ABOUT COVER
========================================== */

.about-cover{
    padding:40px 0;
    background:#f8fafc;
}

.about-cover-img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    transition:.3s;
}

.about-cover-img:hover{
    transform:scale(1.01);
}
.hero{
    padding:60px 0;
}

.about-cover{
    padding:20px 0 40px;
}
.about-cover{
    margin-bottom:-20px;
}
section{
    padding:60px 0;
}
.hero-content{
    max-width:700px;
}
.contact-card h3{
color:#0B7A32;
margin-bottom:15px;
}

.contact-card p{
line-height:1.8;
}
/* ==========================================
   CONTACT COVER
========================================== */

.contact-cover{
    padding:40px 0;
    background:#f8fafc;
}

.contact-cover-img{
    width:100%;
    display:block;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    transition:.3s;
}

.contact-cover-img:hover{
    transform:scale(1.01);
}
/* ==========================================
   REVIEW RATING
========================================== */

.rating-summary{

display:flex;
justify-content:space-between;
align-items:center;
gap:50px;
background:#fff;
padding:40px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.rating-score{

flex:1;
text-align:center;

}

.rating-score h1{

font-size:70px;
color:#0B7A32;
margin-bottom:10px;

}

.stars{

font-size:34px;
margin-bottom:10px;

}

.rating-bars{

flex:2;

}

.rating-row{

display:flex;
align-items:center;
gap:15px;
margin-bottom:18px;

}

.rating-row span{

width:90px;
font-weight:600;

}

.bar{

flex:1;
height:12px;
background:#e5e5e5;
border-radius:20px;
overflow:hidden;

}

.fill{

height:100%;
background:#0B7A32;

}
/* ==========================================
   REVIEW FORM
========================================== */

.review-form{

background:#fff;
padding:40px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.review-grid{

display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;

}

.form-group{

margin-bottom:25px;

}

.form-group label{

display:block;
font-weight:600;
margin-bottom:10px;
color:#0B7A32;

}

.review-form input,
.review-form select,
.review-form textarea{

width:100%;
padding:14px 16px;
border:1px solid #ddd;
border-radius:10px;
font-size:16px;
outline:none;
transition:.3s;

}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus{

border-color:#0B7A32;
box-shadow:0 0 10px rgba(11,122,50,.15);

}

.review-form textarea{

resize:vertical;

}
/* ==========================================
   REVIEW CARDS
========================================== */

.review-card{

text-align:left;

}

.review-top{

display:flex;
align-items:center;
gap:15px;
margin-bottom:15px;

}

.review-avatar{

width:60px;
height:60px;
border-radius:50%;
background:#0B7A32;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:24px;
font-weight:700;

}

.review-stars{

color:#ffb400;
font-size:20px;
margin-top:5px;

}

.review-text{

font-size:16px;
line-height:1.8;
margin:15px 0;

}

.review-date{

font-size:14px;
color:#777;

}
.review-card{
    text-align:left;
    border-radius:15px;
}

.review-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.review-avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#28a745;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    font-weight:bold;
}

.review-stars{
    color:#f4b400;
    font-size:18px;
    margin:0;
}

.review-text{
    line-height:1.7;
    margin:15px 0;
}

.review-date{
    color:#777;
    font-size:14px;
}
/* ===== Premium Review Section ===== */

.review-slider{
    position:relative;
    overflow:hidden;
    margin-top:40px;
}

.review-track{
    display:flex;
    gap:25px;
    transition:transform .6s ease;
}

.review-card{
    min-width:350px;
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border:1px solid #eaeaea;
    transition:.3s;
}

.review-card:hover{
    transform:translateY(-8px);
}

.review-top{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.review-avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    background:linear-gradient(135deg,#ff9800,#28a745);
    color:#fff;
    font-size:24px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
}

.review-name{
    font-size:18px;
    font-weight:700;
}

.review-stars{
    color:#f4b400;
    font-size:18px;
    margin-top:3px;
}

.review-text{
    line-height:1.8;
    color:#555;
    margin:18px 0;
}

.review-bottom{
    display:flex;
    justify-content:space-between;
    font-size:14px;
    color:#888;
}

.review-btn{
    text-align:center;
    margin-top:40px;
}