/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}



html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
    position: absolute;
}
.logo img{
    height: 90px;
    width: 90px;
    margin-top: 10px;
}
/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 5px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    background: skyblue;
}

nav .logo {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ffd700;
}
/* Navbar default (over hero) */
nav a {
    color: white;
    transition: 0.3s;
}

nav.scrolled a:hover {
    color: #ffbb00;
}

/* ===============================
   GLOBAL
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ===============================
   SLIDER TIMING CONTROL
================================ */
:root {
    --slider-duration: 5s; /* change speed here */
}

/* ===============================
   HERO SECTION
================================ */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* BACKGROUND SLIDER */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: heroSlider var(--slider-duration) infinite ease-in-out;
    z-index: 0;
    transform: scale(1);
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* TEXT ABOVE SLIDER */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

/* ===============================
   HERO TEXT STYLES
================================ */
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.2rem;
    margin-top: 1rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* ===============================
   TYPING EFFECT
================================ */
.typing {
    color: #ffbb00;
    border-right: 3px solid #ffbb00;
    padding-right: 6px;
    white-space: nowrap;
    overflow: hidden;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0% { border-color: transparent; }
    50% { border-color: #ffbb00; }
    100% { border-color: transparent; }
}

/* ===============================
   DESKTOP SLIDER ANIMATION
================================ */
@keyframes heroSlider {
    0% {
        background-image: url('https://5.imimg.com/data5/SELLER/Default/2024/2/390613638/JV/JH/FG/17910593/solar-rooftop-panel.jpg');
        transform: scale(1);
    }

    33% {
        background-image: url('https://media.istockphoto.com/id/525206743/photo/solar-panel-on-a-red-roof.jpg?s=612x612&w=0&k=20&c=xcAkdNj8dFDhu8734FpRDAZDtN2bjr48RKEd9j2FL0U=');
        transform: scale(1.08);
    }

    66% {
        background-image: url('https://static.vecteezy.com/system/resources/thumbnails/039/371/307/small/ai-generated-solar-panels-on-a-modern-tiny-house-roof-top-for-a-sustainable-future-photo.jpg');
        transform: scale(1.08);
    }

    100% {
        background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcR2BQHiZ-iqYg3wVzkjQZmdyZ8Qdyd3jNmXHg&s');
        transform: scale(1);
    }
}

/* ===============================
   MOBILE OPTIMIZED IMAGES
================================ */
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    @keyframes heroSlider {
        0% {
            background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=900&q=70');
            transform: scale(1);
        }

        33% {
            background-image: url('https://images.unsplash.com/photo-1509395176047-4a66953fd231?auto=format&fit=crop&w=900&q=70');
            transform: scale(1.05);
        }

        66% {
            background-image: url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?auto=format&fit=crop&w=900&q=70');
            transform: scale(1.05);
        }

        100% {
            background-image: url('https://images.unsplash.com/photo-1508514177221-188b1cf16e9d?auto=format&fit=crop&w=900&q=70');
            transform: scale(1);
        }
    }
}

/* ----------------------------------------------------------------------------------about--------------------- */
.about-section {
    padding: 4rem 10%;
    background: #f9f9f9;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 900px;
    margin: auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.about-content p {
    margin-bottom: 1rem;
}
[data-aos^=fade][data-aos^=fade].aos-animate {
    opacity: 1;
    transform: translateZ(0);
    text-align: center;
}

/* -----------------------------------------------------------------------------------------Services Grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5rem;
    margin: 50px;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
}

.service-card i {
    font-size: 3rem;
    color: #12334b;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service-card img{
    height: 150px;
    width: 150px;
} 

.services a{
    text-decoration: none;
    color: #000;
}
/* ------------------------------------------------------------------------performace------------------------------- */

.stats-section {
    padding: 3.5rem 10%;
    background: skyblue;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    color: #fff;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-card i {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.stat-card p {
    font-size: 1rem;
    opacity: 0.95;
}
/* --------------------------------------------------------------------------we work with------------------------- */

.brands-section {
    padding: 4rem 10%;
    background: #f9f9f9;
    text-align: center;
}

.brands-subtitle {
    max-width: 850px;
    margin: 0.5rem auto 3rem;
    color: #555;
    line-height: 1.6;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.brand-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-6px);
}

.brand-card img {
    max-height: 60px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.brand-card h4 {
    margin-bottom: 0.4rem;
    color: #222;
}

.brand-card p {
    font-size: 0.95rem;
    color: #555;
}

.brands-note {
    margin-top: 3rem;
    font-size: 1rem;
    color: #444;
}

/* -------------------------------------------------------------------------Product Grid------------------------------ */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 5rem;
    margin: 50px;
}

.product-card {
    background: white;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.product-card:hover {
    transform: scale(1.03);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h4 {
    color: #12334b;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.franchise-slider-section {
    padding: 4rem 5%;
    background: #ffffff;
    text-align: center;
}

.franchise-slider-section h2 {
    color: #12334b;
    font-size: 2rem;
}

.subtitle {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Auto Slider */
.auto-slider {
    position: relative;
    max-width: 700px;
    height: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Images */
.auto-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 handles small & big images */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Active image */
.auto-slider img.active {
    opacity: 1;
}

/* Text below */
.franchise-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #444;
}

/* Mobile */
@media (max-width:768px){
    .auto-slider {
        height: 220px;
    }
}


/* Enquiry Form */
.form-section {
    background: #eef5f3;
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: auto;
}

.form-container form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.full-width {
    grid-column: span 2;
}

.form-container label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-container input,
.form-container select,
.form-container textarea {
    padding: 0.8rem;
    border: 2px solid #eee;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: 0.3s;
}

.form-container input:focus {
    border-color: #12334b;
}

.form-container button {
    grid-column: span 2;
    padding: 1rem;
    background: #12334b;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: 0.3s;
}

.form-container button:hover {
    background: #12334b;
    box-shadow: 0 5px 15px rgba(10, 124, 99, 0.3);
}

#contact{
    margin: 45px;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin: 45px;
    align-items: start;
}

.contact-details {
    font-size: 1.1rem;
}

.contact-details div {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-details i {
    color: #12334b;
    font-size: 1.5rem;
}

/* Footer with Video Background */
.video-footer {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 3rem 10% 2rem;
    text-align: center;
}

/* Video */
.footer-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

/* Black shade overlay */
.footer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* adjust darkness here */
    z-index: 2;
}

/* Footer content above video */
.footer-content {
    position: relative;
    z-index: 3;
}

/* Social Icons */
.video-footer .social-icons {
    margin: 1rem 0;
}

.video-footer .social-icons a {
    color: white;
    margin: 0 1rem;
    font-size: 1.8rem;
    transition: 0.3s;
}

.video-footer .social-icons a:hover {
    color: #ffd700;
}

.video-footer hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.3);
    margin: 2rem 0 1rem;
}



.solar-panels {
    padding: 80px 5%;
    background: #122b42;
    color: #fff;
    text-align: center;
}

.solar-panels h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.solar-panels .subtitle {
    color: #ffbb00;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.panel-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    backdrop-filter: blur(10px);
}

.panel-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.panel-card h3 {
    margin: 20px 0 10px;
    font-size: 1.4rem;
    color: #ffbb00;
}

.panel-card ul {
    list-style: none;
    padding: 0 20px 25px;
    text-align: left;
}

.panel-card ul li {
    margin: 8px 0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 18px;
}

.panel-card ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #00ffcc;
}

/* Hover animation */
.panel-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.panel-card:hover img {
    transform: scale(1.1);
}


.image-grid-section {
  padding: 80px 5%;
  background: #ffffff;
  color: #000000;
}

.section-heading {
  text-align: center;
  /* margin-bottom: 60px; */
}

.section-heading h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-heading p {
  color: #000000;
}

/* GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* CARD */
.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  overflow: hidden;
  transform: translateY(60px);
  /* opacity: 0; */
  transition: all 0.8s ease;
}

/* IMAGE */
.testimonial-card img {
  width: 100%;
  height: 345px; /* 👈 adjust height */
  object-fit: cover;
}

/* CONTENT */
.testimonial-content {
  padding: 20px;
}

.testimonial-content p {
  font-size: 0.95rem;
  color: #000000;
  margin-bottom: 12px;
}

.testimonial-content h4 {
  font-size: 0.9rem;
  color: #38bdf8;
}

/* SCROLL ANIMATION */
.testimonial-card.show {
  transform: translateY(0);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card img {
    height: 200px;
  }
}



/* ---------------------------------------------label 24 year gaurantee------------------ */

/* ===============================
   24 YEAR GUARANTEE STICKY BADGE
================================ */
.guarantee-badge {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ffbb00, #ff9800);
    color: #000;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 6px 18px rgba(0,0,0,0.35);
    z-index: 999;
    cursor: default;
    transition: all 0.3s ease;
}

/* BIG NUMBER */
.guarantee-badge span {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

/* HOVER EFFECT */
.guarantee-badge:hover {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    transform: translateY(-50%) scale(1.05);
}

/* MOBILE FRIENDLY */
@media (max-width: 768px) {
    .guarantee-badge {
        font-size: 0.85rem;
        padding: 12px 14px;
    }

    .guarantee-badge span {
        font-size: 1.5rem;
    }
}


/* PULSING GLOW EFFECT */
.guarantee-badge {
    animation: glowPulse 2.2s infinite ease-in-out;
}

@keyframes glowPulse {
    0% {
        box-shadow:
            -4px 6px 18px rgba(0,0,0,0.35),
            0 0 0 rgba(255, 187, 0, 0);
    }
    50% {
        box-shadow:
            -6px 8px 22px rgba(0,0,0,0.45),
            0 0 18px rgba(255, 187, 0, 0.75);
    }
    100% {
        box-shadow:
            -4px 6px 18px rgba(0,0,0,0.35),
            0 0 0 rgba(255, 187, 0, 0);
    }
}
