
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
:root {
  --primary: #FDB813;       /* Solar Yellow */
  --secondary: #ff7b00;     /* Orange */
  --dark: #0f172a;          /* Dark blue */
  --light: #f8fafc;
  --gradient: linear-gradient(135deg, #FDB813, #ff7b00);
}
body {
 padding-top: 90px;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: white;
}
/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 12px 40px;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.8); /* darker for better visibility */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* LOGO IMAGE */
.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  padding: 5px 8px;
  background: #00002a;
  border-radius: 8px;
  transition: 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* LOGO TEXT */
.logo h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #FDB813, #ff7b00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo h2 span {
  margin-left: 5px;
}

/* NAVIGATION */
.nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  position: relative;
  font-size: 16px;
  transition: 0.3s ease;
}

.nav a:hover {
  color: #FDB813;
}

/* UNDERLINE EFFECT */
.nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #FDB813, #ff7b00);
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
    min-height: calc(100vh - 80px);
    background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)),
                url("images/solar-panels-1.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;

    animation: fadeIn 1.5s ease-in-out;
}

/* WRAP CONTENT (IMPORTANT) */
.hero-content {
    max-width: 750px;
}

/* MAIN HEADING */
.hero h1 {
    font-size: 75px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #FDB813, #ff7b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* SUB HEADING (NEW 🔥) */
.hero h2 span {
    font-size: 30px;
    font-style: italic;
    color: #6eef37ed; /* orange highlight */
}

/* TEXT */
.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #e2e8f0; /* green hata ke professional color */
    opacity: 0.9;
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #FDB813, #ff7b00);
    color: black;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ABOUT SECTION */
.about {
    padding: 80px 0;
    background: #547792;
}
.mission {
  margin-top: 10px;
  font-weight: 600;
  color: #FDB813;
}

/* CONTAINER */
.about-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

/* TEXT */
.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #0f172a;
}

.about-text p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #e2eeff;
    line-height: 1.6;
}

/* IMAGE */
.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* BUTTON (reuse same btn class) */
.btn {
    display: inline-block;
    margin-top: 10px;
}


/* SERVICES SECTION */
/* ===== SERVICES SECTION (SOLAR ENERGY STYLE) ===== */
.services {
    padding: 100px 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.35)
    ),
    url("images/wind turbine.jpg");

    background-size: cover;
    background-position: center;
}

.section-title {
    text-align: center;
    font-size: 50px;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #ff7b00, #ffd000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #2f0707;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.15);
    transition: 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 140, 0, 0.3);
}

.service-card h3 {
    color: #ff7b00;
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    font-size: 15px;
    color: #34b4a3;
    line-height: 1.6;
}
/* BENEFITS SECTION */
.benefits {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* GRID */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* CARD */
.benefit-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(253, 184, 19, 0.2);
}

/* TITLE */
.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #FDB813;
}

/* TEXT */
.benefit-card p {
  font-size: 14px;
  color: #e2e8f0;
}

/* GALLERY SECTION */
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* WHY CHOOSE US */
.why-us {
    padding: 80px 0;
    background-color: #f4f6f8;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.why-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
}
/* CONTACT SECTION */
/* ============================= */
/* CONTACT SECTION */
/* ============================= */

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.contact .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #8f0b0b;
    font-size: 36px;
}

/* GRID LAYOUT */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: center;
}

/* CONTACT INFO */
.contact-info p {
    font-size: 16px;
    margin-bottom: 18px;
    color: #7f1818;
}

/* FORM CARD */
.contact-form {
    background: #42b6b4;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* INPUT FIELDS */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #2b1919;
    border-radius: 8px;
    font-size: 15px;
    transition: 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #FDB813;
    outline: none;
    box-shadow: 0 0 10px rgba(253, 184, 19, 0.4);
}

/* BUTTON */
.contact-form button {
    background: linear-gradient(135deg, #FDB813, #ff7b00);
    color: #e7eeed;
    border: none;
    padding: 14px;
    width: 100%;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.4s ease;
    font-weight: 600;
}

.contact-form button:hover {
    box-shadow: 0 0 25px #FDB813;
    transform: translateY(-3px);
}

/* SUCCESS MESSAGE */
#responseMessage {
    margin-top: 15px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}
/* FOOTER */
.footer {
    background: #2c4135;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
/* ===== IMAGE ALIGNMENT FIX (CRITICAL) ===== */

/* Remove inline behavior */
img {
    display: block;
    max-width: 100%;
}

/* Gallery layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* desktop */
    gap: 20px;
}

/* Force same-size images */
.gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

/* Tablet */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
  .nav {
    margin-top: 8px;  /* 👈 ye increase/decrease kar sakte ho */
  }
}
.gallery-grid {
    background: rgb(13, 18, 16);
}
/* ============================= */
/* MOBILE RESPONSIVE FIX */
/* ============================= */

@media (max-width: 768px) {

/* HEADER FIX */
.header {
  padding: 10px 15px;
}

/* KEEP HEADER IN ONE LINE */
.header-container {
  flex-direction: column;   /* ✅ logo upar, nav neeche */
  align-items: center;
}

/* NAV BELOW LOGO */
.nav {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* NAV LINKS */
.nav a {
  font-size: 14px;
  margin: 0;
}

/* NAV (HORIZONTAL SCROLL STYLE) */
.nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
}

.nav a {
  font-size: 14px;
  white-space: nowrap;
}

/* HERO */
.hero {
  padding: 20px 15px;
}

/* HERO TEXT */
.hero h1 {
  font-size: 32px;
  line-height: 1.2;
}

.hero h2 span {
  font-size: 20px;
}

.hero p {
  font-size: 15px;
}

/* BUTTON */
.btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* ABOUT */
.about-container {
  flex-direction: column;
  text-align: center;
}

/* GRID FIXES */
.services-grid,
.benefits-grid,
.gallery-grid {
  grid-template-columns: 1fr;
}

/* CONTACT */
.contact-grid {
  grid-template-columns: 1fr;
}

}

/* FOOTER */
.footer {
    padding: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    color: white;
    transition: 0.3s;
}

/* Colors */
.whatsapp {
    background: #09da4f;
}

.instagram {
    background: linear-gradient(45deg, #feda75, #d62976, #962fbf);
}

.facebook {
    background: #1877F2;
}

/* Hover Effect */
.social-icons a:hover {
    transform: scale(1.2);
}
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
a {
  text-decoration: none;
  color: #ff7b00;
}

a:hover {
  text-decoration: underline;
}
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
}
