:root{

--primary:#FDB913;
--navy:#041B3A;
--navy2:#0A254F;

--text:#FFFFFF;
--muted:#D6DCE8;

--container:1200px;

}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#fff;
  color:#111;
}

.container{
  width:min(100%,1320px);
  margin:auto;
  padding:0 32px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(4, 27, 58, 0.85);
  backdrop-filter: blur(14px);

  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition: all 0.3s ease;
}

.header.shrink {
  background: rgba(4, 27, 58, 0.98);
  padding: 0 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.nav{

  height:70px;
  
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo-wrap{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo{
  height:40px;
}

.logo-text{
  display:flex;
  flex-direction:column;
  color:white;
}

.logo-text span{
  font-size:30px;
  font-weight:800;
}

.logo-text small{
  font-size:11px;
  letter-spacing:1px;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  position: relative;
  padding: 6px 0;
  transition: 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: 0.3s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

.btn-yellow {
  background: var(--primary);

  padding: 10px 18px;   /* slightly tighter, more modern */
  font-size: 12px;      /* adds control */
  font-weight: 700;
  margin-left: 20px;

  border-radius: 8px;
  text-decoration: none;
  color: #111;

  display: inline-flex;
  align-items: center;
}

.btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(253,185,19,0.35);
}

.btn-outline{
  border:1px solid white;
  padding:10px 18px;
  font-size: 13px;
  border-radius:8px;
  text-decoration:none;
  color:white;
  font-weight:700;
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(253,185,19,0.35);
}

.hero{
  min-height:600px;
  padding-top:120px;
  display:flex;

  background:
  linear-gradient(
    90deg,
    rgba(3,22,50,.75) 0%,
    rgba(3,22,50,.60) 45%,
    rgba(3,22,50,.20) 100%
  ),
  url('https://lh3.googleusercontent.com/d/1hX9tB5BrXSCBgebcuCtmLKvJ-Yp07evv');
  
  background-size:cover;
  background-position:center;
  
  align-items:flex-start;
  justify-content: center;
  padding-top: 40px;
}

.hero-left{
  max-width:760px;
  position:relative;
  z-index:5;
}

.hero-grid{
  display:grid;
  grid-template-columns:58% 42%;
  gap:40px;
  align-items:center;
}

.eyebrow{
  display:block;
  color:var(--primary);
  font-weight:700;
  margin-bottom:12px;
  font-size:11px;
}

.hero h1{
  font-size:48px;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-2px;
  max-width:760px;
  color:#FFFFFF;
}

.hero h1 span{
  color:#FDB913;
}

.hero p{
  margin-top:16px;
  max-width:520px;
  font-size:15px;
  line-height:1.6;
  color:#d9e2ef;
}

.hero-buttons{
  display:flex;
  gap:12px;
  margin-top:20px;
}

.hero-stats{
  margin-top:35px;
  display:flex;
  gap:40px;
}

.hero-stats strong{
  display:block;
  font-size:26px;
  font-weight:800;
  color:white;
}

.hero-stats span{
  font-size:12px;
  color:#d8dfea;
}

.stat-item{
  display:flex;
  align-items:center;
  gap:14px;
}

.stat-icon{
  color:#FDB913;
  font-size:28px;
  min-width:30px;
}

/* FEATURE STRIP */

.feature-strip{
  margin-top:-45px;
  position:relative;
  z-index:10;
}

.features-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  background:#06254d;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.feature-card{
  padding:22px;
  display:flex;
  gap:15px;
  color:white;
  border-right:1px solid rgba(255,255,255,.08);
}

.feature-card h4{
  font-size:16px;
  margin-bottom:6px;
}

.feature-card p{
  font-size:14px;
  line-height:1.5;
}

.feature-card:last-child{
  border-right:none;
}

.feature-icon{
  font-size:22px;
}

/* SECTION */

.section-label{
  display:block;
  color:#FDB913;
  font-weight:700;
  font-size:15px;
  margin-bottom:12px;
}

.section-title{
  font-size:38px;
  line-height:1.15;
  margin-bottom:40px;
  color:#0b1d39;
}

/* WHY SOLAR */

#why-solar{
  padding:70px 0;
  background:#fff;
}

.why-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.why-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.why-item{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.why-icon{
  width:50px;
  height:50px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
}

.yellow{background:#fff3cd;}
.blue{background:#dbeafe;}
.green{background:#dcfce7;}

.solar-image-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
}

.solar-image-card img{
  width:100%;
  height:360px;
  object-fit:cover;
  display:block;
}

.solar-caption{
  position:absolute;
  left:30px;
  bottom:30px;
  background:white;
  padding:20px;
  border-radius:16px;
  max-width:320px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.solar-caption h3{
  margin-bottom:10px;
  font-size:24px;
}

/* WHY CHOOSE */

#why-soleil{
  padding:30px 0 80px;
  background:#fff;
}

.choose-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.choose-card{
  padding:22px;
  border:1px solid #e6eaf0;
  border-radius:16px;
  transition:.3s;
}

.choose-card p{
  font-size:14px;
  line-height:1.6;
}

.choose-card:hover{
  transform:translateY(-5px);
  box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.choose-card h4{
  margin-bottom:12px;
  font-size:18px;
}

/* Scrollbar  */
body::-webkit-scrollbar {
  width: 10px; /* thicker = more visible */
}

body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05); /* subtle track */
}

body::-webkit-scrollbar-thumb {
  background: #f5c542; /* solar yellow accent */
  border-radius: 10px;
  border: 2px solid rgba(4, 27, 58, 0.8); /* blends with your theme */
}

body {
  scrollbar-width: auto;
  scrollbar-color: #f5c542 rgba(255, 255, 255, 0.05);
}

.choose-icon{
  width:54px;
  height:54px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;

  margin-bottom:18px;
}

/* PROJECTS */

#projects{
  padding:80px 0;
  background:#f8fafc;
}

.section-subtitle{
  max-width:700px;
  color:#64748b;
  font-size:16px;
  line-height:1.7;
  margin-top:-15px;
  margin-bottom:40px;
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.project-card{
  background:white;
  border-radius:18px;
  overflow:hidden;
  border:1px solid #e8edf4;
  position:relative;
  transition:.3s;
}

.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.project-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
}

.project-content{
  padding:22px;
}

.project-tag{
  display:inline-block;
  background:#fff3cd;
  color:#8a6200;
  font-size:12px;
  font-weight:700;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:12px;
}

.project-content h3{
  font-size:20px;
  margin-bottom:10px;
  color:#0b1d39;
}

.project-content p{
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

.project-status{
  position:absolute;
  top:14px;
  left:14px;

  z-index:5;

  padding:6px 12px;

  border-radius:999px;

  font-size:11px;
  font-weight:700;

  color:white;
}

.completed{
  background:#22c55e;
}

.ongoing{
  background:#f59e0b;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  position: relative;
  text-align: center;
}

.gallery img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  display: block;
}

.thumbs {
  display: flex;
  gap: 10px;
}

.thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 6px;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 99999;
}

.gallery {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

#mainImage {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

.nav-arrow:hover {
  background: rgba(0,0,0,0.8);
}

/* SAVINGS SECTION */
#savings{
  padding:60px 0;
  background:#041B3A;
}

#savings .section-title{
  margin-bottom:10px;
  color:#fff;
}

#savings .section-subtitle{
  margin-bottom:30px;
  color:#cfd8e6;
}

.savings-grid{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:30px;
  align-items:stretch;
}

.savings-card{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:24px;
}

.savings-card label{
  display:block;
  color:#fff;
  font-weight:600;
  margin-bottom:12px;
}

.savings-card input{
  width:100%;
  padding:16px;
  border-radius:12px;
  border:none;
  font-size:18px;
  margin-bottom:20px;
}

.savings-result{
  background:#fff;
  border-radius:20px;
  padding:24px;
}

.savings-result h3{
  color:#041B3A;
  margin-bottom:24px;
}

.results-row{
  display:flex;
  gap:20px;
}

.result-box{
  flex:1;
  background:#f8fafc;
  border-radius:16px;
  padding:18px;
  text-align:center;
}

.result-box p{
  font-size:13px;
  color:#64748b;
  margin-bottom:8px;
}

.result-box strong{
  display:block;
  font-size:28px;
  line-height:1;
  color:#041B3A;
  font-weight:800;
}

/* PROCESS */

#process{
  padding:90px 0;
  background:#ffffff;
}

.center{
  text-align:center;
}

.process-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:25px;
  margin-top:50px;
}

.process-step{
  text-align:center;
  position:relative;
}

.step-number{
  width:36px;
  height:36px;

  background:#FDB913;
  color:#fff;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-weight:700;

  margin:0 auto 15px;
}

.step-icon{
  width:72px;
  height:72px;

  margin:auto;

  border-radius:50%;

  background:#f8fafc;

  border:1px solid #e8edf4;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:28px;

  color:#0b1d39;

  margin-bottom:20px;
}

.process-step h4{
  margin-bottom:10px;
  color:#0b1d39;
}

.process-step p{
  color:#64748b;
  font-size:14px;
  line-height:1.6;
}

/* TESTIMONIALS */

#testimonials{
  padding:90px 0;
  background:#f8fafc;
}

.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:40px;
}

.testimonial-card{
  background:#fff;

  border:1px solid #e8edf4;

  border-radius:18px;

  padding:28px;

  transition:.3s;
}

.testimonial-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 35px rgba(0,0,0,.08);
}

.stars{
  color:#FDB913;
  font-size:18px;
  margin-bottom:18px;
}

.testimonial-card p{
  color:#475569;
  line-height:1.8;
  margin-bottom:24px;
}

.client{
  display:flex;
  flex-direction:column;
}

.client strong{
  color:#0b1d39;
}

.client span{
  color:#64748b;
  font-size:13px;
}

/* ABOUT */

#about{
  padding:90px 0;
  background:#ffffff;
}

.about-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.about-content p{
  color:#64748b;
  line-height:1.8;
  margin-bottom:30px;
}

.about-features{
  display:flex;
  gap:30px;
  flex-wrap:wrap;
}

.about-features div{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}

.about-features i{
  color:#FDB913;
}

.about-image img{
  width:100%;
  border-radius:20px;
  display:block;
}

/* CONTACT */

#contact{
  padding:90px 0;
  background:#041B3A;
}

.contact-grid{
  display:grid;
  grid-template-columns:40% 60%;
  gap:40px;
}

.contact-info{
  color:white;
}

.contact-info .section-title{
  color:white;
}

.contact-item{
  display:flex;
  gap:12px;
  margin-bottom:18px;
  align-items:center;
}

.contact-item i{
  color:#FDB913;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.contact-form input,
.contact-form textarea{
  padding:14px;
  border:none;
  border-radius:8px;
}

.contact-form textarea{
  min-height:140px;
  resize:none;
}

/* CONTACT */

.footer{
  background:#021327;
  color:white;
  padding:24px 0;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.footer-logo{
  height:40px;
}

.footer-links{
  display:flex;
  gap:20px;
}

.footer-links a{
  color:white;
  text-decoration:none;
}

/* FLOATING CONTACT */

.floating-contact{
  position:fixed;

  right:25px;
  bottom:25px;

  width:65px;
  height:65px;

  border-radius:50%;

  background:#FDB913;
  color:#041B3A;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:28px;

  text-decoration:none;

  box-shadow:0 15px 30px rgba(0,0,0,.25);

  z-index:999;
}

.floating-contact:hover{
  transform:translateY(-3px);
}

/* SPINNER */

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: none;
  margin-left: 8px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button.loading .spinner {
  display: inline-block;
}

button.loading .btn-text {
  opacity: 0.7;
}

.form-success {
  display: none;
  margin-top: 15px;
  color: #28a745;
  font-weight: 600;
}

/* =========================
   MOBILE RESPONSIVE
   ========================= */

@media (max-width: 768px){

  .container{
    padding:0 20px;
  }

  /* Header */

  .nav{
    flex-direction:column;
    height:auto;
    padding:15px 0;
    gap:15px;
  }

  nav{
    flex-wrap:wrap;
    justify-content:center;
    margin-left:0;
    gap:15px;
  }

  .btn-yellow{
    margin-left:0;
  }

  /* Hero */

  .hero{
    min-height:auto;
    padding:120px 0 80px;
  }

  .hero-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .hero-left{
    max-width:100%;
  }

  .hero h1{
    font-size:34px;
    line-height:1.15;
    letter-spacing:-1px;
  }

  .hero p{
    max-width:100%;
    margin:auto;
    margin-top:16px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:center;
  }

  .hero-buttons a{
    width:100%;
    max-width:320px;
    justify-content:center;
  }

  .hero-stats{
    flex-direction:row;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
  }

  /* Feature strip */

  .features-grid{
    grid-template-columns:1fr;
  }

  .feature-card{
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  /* Why Solar */

  .why-grid{
    grid-template-columns:1fr;
    gap:40px;
  }

  /* Why Soleil */

  .choose-grid{
    grid-template-columns:1fr;
  }

  /* Projects */

  .projects-grid{
    grid-template-columns:1fr;
  }

  /* Savings */

  .savings-grid{
    grid-template-columns:1fr;
  }

  .results-row{
    flex-direction:column;
  }

  /* Process */

  .process-grid{
    grid-template-columns:1fr;
  }

  /* Testimonials */

  .testimonial-grid{
    grid-template-columns:1fr;
  }

  /* About */

  .about-grid{
    grid-template-columns:1fr;
  }

  /* Contact */

  .contact-grid{
    grid-template-columns:1fr;
  }

  /* Footer */

  .footer-grid{
    flex-direction:column;
    gap:20px;
    text-align:center;
  }

  .footer-links{
    justify-content:center;
    flex-wrap:wrap;
  }

  /* Modal */

  #mainImage{
    height:250px;
  }

}

@media (max-width: 768px){

  /* Header */

  .header{
    padding:0;
  }

  .nav{
    flex-direction:column;
    gap:12px;
    height:auto;
    padding:12px 0;
  }

  .logo{
    height:60px;
  }

  nav{
    gap:15px;
    flex-wrap:wrap;
    justify-content:center;
  }

  nav a{
    font-size:14px;
  }

  /* Hero */

  .hero{
    padding-top:260px;
  }

  .hero h1{
    font-size:56px;
    line-height:1.05;
  }

  .hero p{
    font-size:18px;
  }

  .hero-stats{
    gap:25px;
  }

  .hero-stats strong{
    font-size:20px;
  }

  .hero-stats span{
    font-size:11px;
  }

}