:root {
  --primary: #0f4c81;
  --secondary: #f4b400;
  --dark: #1f2933;
  --light: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, sans-serif;
}

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* Navbar */
nav {
  background: var(--primary);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
}

.nav-brand img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--secondary);
}

/* Hero */
.hero {
  background: linear-gradient(rgba(15, 76, 129, 0.9), rgba(15, 76, 129, 0.9));
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

/* Layout */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1.5rem;
}

/* Cards */
.card {
  background: #fff;
  border: none;
  outline: none;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover */
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

/* Card Image – standing rectangle */
.card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 14px;
}

/* Card Title */
.card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Card Text */
.card p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #000000;
}

/* Card Grid (Srushil style) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

th, td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
}

th {
  background: var(--primary);
  color: #fff;
}

/* Footer */
footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .card img {
    max-width: 90px;
  }
}

/* =========================
   EXTENDED SECTIONS – ADD ONLY
   (MATCHING CURRENT THEME)
========================= */

/* About Section */

.abt {
  text-align: center;
  background: linear-gradient(
    rgba(15, 76, 129, 0.95),
    rgba(15, 76, 129, 0.95)
  );
  color: #000000;
  text-align: center;
  padding: 4rem 1.5rem;
}

.about p {
  max-width: 900px;
  margin: 0 auto 14px;
  font-size: 16px;
  color:#ffff;

}

/* Why Choose Us – uses same card style */
.why-choose .grid {
  margin-top: 30px;
}

.why-choose .card h3 {
  color: var(--primary);
}

/* Call To Action */
.cta {
  background: linear-gradient(
    rgba(15, 76, 129, 0.95),
    rgba(15, 76, 129, 0.95)
  );
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.cta p {
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta .btn {
  background: var(--secondary);
  color: #000;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.cta .btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

.cta .btn-outline {
  background: var(--secondary);
  color: #000;
  padding: 0.7rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.2s ease;
}

.cta .btn-outline:hover {
  background: #e0a800;
  transform: translateY(-2px);
}

/* Contact Section */
.contact-info p {
  text-align: center;
  font-size: 15px;
  margin-bottom: 8px;
}

/* Footer Enhancement (same theme) */
footer {
  background: var(--dark);
  color: #fff;      
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 1rem;
}

.footer-inner h4 {
  color: var(--secondary);
  margin-bottom: 8px;
}

.footer-inner a {
  color: #fff;
  font-size: 14px;
}

.footer-inner a:hover {
  color: var(--secondary);
}

/* =========================
   RESPONSIVE – EXTENDED
========================= */
@media (max-width: 768px) {
  .cta h2 {
    font-size: 1.7rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-inner {
    text-align: center;
    flex-direction: column;
  }
}

.hero-small {
  width: calc(100% - 60px); /* subtract margin */
  min-height: 90vh;
  margin: 30px; /* space around hero */
  background: url("ppa.jpg") center center no-repeat;
  background-size: cover;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  box-sizing: border-box;
  border-radius: 10px; /* looks clean */
}





/* SOLAR BG FULL WIDTH */
.solar-section {
  background: rgba(255,255,255,0.9);
  width: 100%;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.solar-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("Renew_logo.png") center no-repeat;
  background-size: contain; /* shows full image */
  opacity: 0.15;
  z-index: 0;
}

.solar-section .container {
  position: relative;
  z-index: 1;
}


/* PDF SECTION */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.pdf-card {
  border: 1px solid #d0d9e2;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  background: white;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
}

.pdf-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  display: block;
  margin: 0;
}

/* .pdf-card h3 {
  margin: 0.3rem 0;
} */

.pdf-card button {
  background: #0f4c81;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
  margin-top: 0;
}


.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.pdf-card button:hover {
  background: #18699f;
}

/* CTA MATCHING THEME */
.cta {
  background: #0f4c81;
  padding: 2.5rem 1.5rem;
  color: white;
  text-align: center;
  margin-top: 3rem;
}

.pdf-card button {
  background: #0f4c81;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: auto;   /* pushes button to bottom */
  width: 100%;        /* same width */
  transition: 0.3s;
}


