/*
Theme Name: FSD Solar Cleaning
Theme URI: https://solarcleaningfsd.example
Author: FSD Solar Cleaning
Author URI: https://solarcleaningfsd.example
Description: One-page WordPress theme for FSD Solar Cleaning - professional solar panel cleaning services in Faisalabad.
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fsd-solar-cleaning
*/

:root{
  --blue-dark:#0f2d5c;
  --blue:#1e3a8a;
  --blue-light:#2f5bb7;
  --yellow:#f5a524;
  --yellow-light:#ffd166;
  --bg:#ffffff;
  --bg-soft:#f5f8ff;
  --text:#1a1f2b;
  --text-soft:#5a6472;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Segoe UI', Arial, sans-serif; color:var(--text); background:var(--bg); line-height:1.6;}
a{text-decoration:none; color:inherit;}
img{max-width:100%; display:block;}
ul{list-style:none;}
.container{max-width:1150px; margin:0 auto; padding:0 24px;}
section{padding:70px 0;}

/* Header */
header.site-header{
  position:sticky; top:0; z-index:100;
  background:#ffffff;
  box-shadow:0 2px 10px rgba(15,45,92,0.12);
}
.nav-wrap{display:flex; align-items:center; justify-content:space-between; padding:10px 24px; max-width:1150px; margin:0 auto;}
.logo{display:flex; align-items:center; gap:10px;}
.logo-full{height:42px; width:auto; display:block;}
.main-nav ul{display:flex; gap:28px;}
.main-nav a{color:var(--blue-dark); font-weight:600; font-size:15px; transition:color .2s;}
.main-nav a:hover{color:var(--yellow);}
.quote-btn{
  background:var(--yellow); color:var(--blue-dark); padding:10px 20px;
  border-radius:30px; font-weight:700; font-size:14px; transition:transform .2s;
}
.quote-btn:hover{transform:translateY(-2px); color:var(--blue-dark);}
.hamburger{display:none; color:var(--blue-dark); font-size:26px; cursor:pointer; background:none; border:none;}

/* Hero */
.hero{
  color:#fff; text-align:center; padding:110px 24px 100px; position:relative; overflow:hidden;
}
.hero-bg-slider{position:absolute; inset:0; z-index:0; overflow:hidden;}
.hero-bg-img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transform:translateX(100%);
  transition:transform 1.1s cubic-bezier(.65,0,.35,1);
}
.hero-bg-img.active{transform:translateX(0);}
.hero-bg-img.prev{transform:translateX(-100%);}
.hero-overlay{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(135deg, rgba(15,45,92,0.92) 0%, rgba(30,58,138,0.88) 60%, rgba(47,91,183,0.82) 100%);
}
.hero::after{
  content:""; position:absolute; bottom:-60px; right:-60px; width:280px; height:280px;
  background:radial-gradient(circle, rgba(245,165,36,0.35), transparent 70%);
  border-radius:50%; z-index:1;
}
.hero-content{position:relative; z-index:2;}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px; background:rgba(245,165,36,0.15); border:1px solid var(--yellow);
  color:var(--yellow-light); padding:6px 16px; border-radius:30px; font-size:13px; font-weight:700;
  letter-spacing:0.5px; margin-bottom:22px;
}
.bolt-icon{color:var(--yellow); animation:boltFlicker 1.8s ease-in-out infinite;}
.hero h1{
  font-size:44px; font-weight:800; max-width:820px; margin:0 auto 18px; line-height:1.25;
  display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap;
}
.bolt-heading{animation:boltFlicker 1.8s ease-in-out infinite, boltFloat 2.6s ease-in-out infinite; filter:drop-shadow(0 0 6px rgba(245,165,36,0.7));}
@keyframes boltFlicker{
  0%, 100%{ opacity:1; filter:drop-shadow(0 0 4px rgba(245,165,36,0.6)); }
  45%{ opacity:1; }
  50%{ opacity:0.4; filter:drop-shadow(0 0 12px rgba(245,165,36,1)); }
  55%{ opacity:1; }
}
@keyframes boltFloat{
  0%, 100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-4px) rotate(-4deg); }
}
.hero p.sub{font-size:18px; color:#cfe0ff; max-width:600px; margin:0 auto 34px;}
.hero-btns{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}
.btn-primary{
  background:var(--yellow); color:var(--blue-dark); padding:14px 30px; border-radius:30px;
  font-weight:700; font-size:15px; box-shadow:0 8px 20px rgba(245,165,36,0.35); transition:transform .2s;
}
.btn-primary:hover{transform:translateY(-2px); color:var(--blue-dark);}
.btn-outline{
  border:2px solid #fff; color:#fff; padding:12px 28px; border-radius:30px; font-weight:700; font-size:15px;
  transition:background .2s;
}
.btn-outline:hover{background:rgba(255,255,255,0.12); color:#fff;}

/* About */
.about{background:var(--bg-soft);}
.eyebrow{color:var(--yellow); font-weight:800; letter-spacing:1px; font-size:13px; text-transform:uppercase; margin-bottom:10px;}
.section-title{font-size:30px; font-weight:800; color:var(--blue-dark); margin-bottom:18px;}
.about-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:50px; align-items:center;}
.about p.lead{color:var(--text-soft); font-size:16px; margin-bottom:26px;}
.mv-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:20px;}
.mv-card{background:#fff; border-left:4px solid var(--yellow); padding:18px 20px; border-radius:8px; box-shadow:0 4px 14px rgba(15,45,92,0.06);}
.mv-card h4{color:var(--blue-dark); font-size:15px; margin-bottom:6px;}
.mv-card p{color:var(--text-soft); font-size:14px;}
.badge-line{display:flex; gap:10px; align-items:center; color:var(--blue-dark); font-weight:700; font-size:14px;}
.badge-dot{width:8px; height:8px; border-radius:50%; background:var(--yellow);}
.about-img{position:relative;}
.about-img img{border-radius:16px; box-shadow:0 20px 40px rgba(15,45,92,0.18);}
.exp-badge{
  position:absolute; bottom:-20px; left:-20px; background:var(--yellow); color:var(--blue-dark);
  padding:16px 20px; border-radius:12px; font-weight:800; font-size:15px; box-shadow:0 10px 24px rgba(0,0,0,0.15);
  text-align:center; line-height:1.3;
}

/* Services */
.services-cat{margin-bottom:50px;}
.cat-title{font-size:20px; font-weight:800; color:var(--blue-dark); margin-bottom:22px; display:flex; align-items:center; gap:10px;}
.cat-title::before{content:""; width:24px; height:3px; background:var(--yellow); display:inline-block; border-radius:2px;}
.service-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.service-card{
  background:#fff; border:1px solid #e8edf6; border-radius:14px; padding:26px 20px;
  transition:transform .2s, box-shadow .2s;
}
.service-card:hover{transform:translateY(-6px); box-shadow:0 16px 30px rgba(15,45,92,0.1); border-color:var(--yellow);}
.service-icon{
  width:46px; height:46px; border-radius:12px; background:var(--bg-soft); display:flex; align-items:center;
  justify-content:center; font-size:22px; margin-bottom:14px;
}
.service-card h5{font-size:16px; color:var(--blue-dark); margin-bottom:8px; font-weight:700;}
.service-card p{font-size:13.5px; color:var(--text-soft);}

/* Stats */
.stats{background:var(--blue-dark); color:#fff;}
.stats-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center;}
.stat-num{font-size:38px; font-weight:900; color:var(--yellow);}
.stat-label{color:#cfe0ff; font-size:14px; margin-top:8px;}

/* Before/After */
.ba-wrap{max-width:800px; margin:0 auto;}
.ba-slider{position:relative; width:100%; aspect-ratio:16/9; border-radius:16px; overflow:hidden; box-shadow:0 20px 40px rgba(15,45,92,0.15); cursor:ew-resize;}
.ba-slider img{position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover;}
.ba-after{clip-path:inset(0 0 0 50%);}
.ba-handle{
  position:absolute; top:0; bottom:0; left:50%; width:4px; background:var(--yellow);
  transform:translateX(-50%);
}
.ba-handle::after{
  content:"\21d4"; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:44px; height:44px; background:var(--yellow); border-radius:50%; display:flex; align-items:center;
  justify-content:center; color:var(--blue-dark); font-weight:900; font-size:18px; box-shadow:0 4px 12px rgba(0,0,0,0.2);
}
.ba-label{position:absolute; top:14px; background:rgba(15,45,92,0.75); color:#fff; font-size:12px; font-weight:700; padding:5px 12px; border-radius:20px;}
.ba-label.before{left:14px;}
.ba-label.after{right:14px;}
.ba-hint{text-align:center; color:var(--text-soft); font-size:13.5px; margin-top:16px;}

/* Process */
.process-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative;}
.process-card{text-align:center;}
.process-num{
  width:56px; height:56px; border-radius:50%; background:var(--blue); color:#fff; font-weight:900; font-size:20px;
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px; border:4px solid var(--yellow-light);
}
.process-card h5{color:var(--blue-dark); font-size:16px; margin-bottom:6px; font-weight:700;}
.process-card p{font-size:13.5px; color:var(--text-soft);}

/* Testimonials */
.testimonials{background:var(--bg-soft);}
.t-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.t-card{background:#fff; border-radius:14px; padding:24px; box-shadow:0 6px 18px rgba(15,45,92,0.06);}
.t-stars{color:var(--yellow); font-size:14px; margin-bottom:10px;}
.t-card p.quote{font-size:14px; color:var(--text); margin-bottom:16px; font-style:italic;}
.t-name{font-weight:700; color:var(--blue-dark); font-size:14px;}
.t-loc{font-size:12.5px; color:var(--text-soft);}

/* Contact */
.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:50px;}
.contact-info h2{font-size:28px; font-weight:800; color:var(--blue-dark); margin-bottom:14px;}
.contact-info p.lead{color:var(--text-soft); margin-bottom:30px;}
.contact-item{display:flex; align-items:center; gap:14px; margin-bottom:20px;}
.c-icon{
  width:44px; height:44px; border-radius:12px; background:var(--blue); color:#fff; display:flex;
  align-items:center; justify-content:center; font-size:18px; flex-shrink:0;
}
.contact-item a{font-weight:700; color:var(--blue-dark); font-size:15px;}
.contact-item span.small{display:block; font-size:12.5px; color:var(--text-soft); font-weight:400;}
.social-row{display:flex; gap:12px; margin-top:26px;}
.social-row a{
  width:40px; height:40px; border-radius:50%; background:var(--blue-dark); color:#fff; display:flex;
  align-items:center; justify-content:center; transition:background .2s;
}
.social-row a:hover{background:var(--yellow); color:var(--blue-dark);}

.form-card{background:var(--bg-soft); border-radius:16px; padding:32px; border:1px solid #e8edf6;}
.form-card h4{color:var(--blue-dark); margin-bottom:18px; font-size:18px;}
.form-row{margin-bottom:16px;}
.form-row label{display:block; font-size:13px; font-weight:700; color:var(--blue-dark); margin-bottom:6px;}
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:12px 14px; border-radius:8px; border:1px solid #d8e0ee; font-size:14px; font-family:inherit;
}
.form-row textarea{resize:vertical; min-height:80px;}
.form-submit{
  width:100%; background:var(--yellow); color:var(--blue-dark); padding:14px; border:none; border-radius:8px;
  font-weight:800; font-size:15px; cursor:pointer; transition:transform .2s;
}
.form-submit:hover{transform:translateY(-2px);}

/* Footer */
footer.site-footer{background:var(--blue-dark); color:#cfe0ff; padding:60px 0 24px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; margin-bottom:40px;}
.footer-logo{margin-bottom:16px;}
.footer-logo-img{height:44px; width:auto; background:#fff; border-radius:8px; padding:5px 8px; display:block;}
footer .footer-desc{font-size:13.5px; color:#a9bee0; margin-bottom:20px; max-width:340px;}
footer h5{color:#fff; font-size:15px; margin-bottom:16px;}
footer ul li{margin-bottom:10px; font-size:13.5px;}
footer ul li a{color:#a9bee0; transition:color .2s;}
footer ul li a:hover{color:var(--yellow);}
.footer-bottom{border-top:1px solid rgba(255,255,255,0.1); padding-top:22px; text-align:center; font-size:13px; color:#8ba4cc;}
.footer-social{display:flex; gap:10px; margin-top:6px;}
.footer-social a{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,0.08); display:flex; align-items:center;
  justify-content:center; color:#fff; transition:background .2s;
}
.footer-social a:hover{background:var(--yellow); color:var(--blue-dark);}

.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:200; width:58px; height:58px; border-radius:50%;
  background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,0.25);
  font-size:28px;
}

@media(max-width:900px){
  .main-nav{
    display:none; position:absolute; top:100%; left:0; right:0; background:var(--blue-dark);
    flex-direction:column; padding:10px 24px 20px; box-shadow:0 8px 16px rgba(0,0,0,0.2);
  }
  .main-nav.open{display:flex;}
  .main-nav ul{flex-direction:column; gap:4px;}
  .main-nav ul li{width:100%;}
  .main-nav ul li a{display:block; padding:12px 0; border-bottom:1px solid rgba(255,255,255,0.08); color:#e8edf6;}
  .main-nav ul li a:hover{color:var(--yellow);}
  .hamburger{display:block;}
  .quote-btn{display:none;}
  .about-grid, .contact-grid{grid-template-columns:1fr;}
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .stats-grid{grid-template-columns:repeat(2,1fr); gap:30px;}
  .process-grid{grid-template-columns:repeat(2,1fr);}
  .t-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .hero h1{font-size:32px;}
  .exp-badge{left:12px; bottom:12px;}
}

@media(max-width:640px){
  section{padding:50px 0;}
  .container{padding:0 18px;}
  .nav-wrap{padding:12px 18px;}
  .logo{gap:8px;}
  .logo-full{height:34px;}
  .hero{padding:80px 18px 70px;}
  .hero h1{font-size:26px; gap:8px;}
  .bolt-heading{width:24px; height:24px;}
  .hero p.sub{font-size:15px;}
  .hero-btns{flex-direction:column; width:100%;}
  .hero-btns a{width:100%; text-align:center;}
  .section-title{font-size:24px;}
  .service-grid{grid-template-columns:1fr;}
  .stats-grid{grid-template-columns:1fr 1fr; gap:20px;}
  .stat-num{font-size:28px;}
  .process-grid{grid-template-columns:1fr 1fr; gap:16px;}
  .mv-grid{grid-template-columns:1fr;}
  .form-card{padding:22px;}
  .about-img img{border-radius:12px;}
  .exp-badge{font-size:12px; padding:10px 14px;}
  .wa-float{width:50px; height:50px; font-size:22px; bottom:16px; right:16px;}
}

@media(max-width:400px){
  .hero h1{font-size:22px;}
  .stats-grid{grid-template-columns:1fr;}
  .process-grid{grid-template-columns:1fr;}
}
