/* styles.css - Full updated CSS for Avira Solar Energy */

/* styles.css - Full updated CSS for Avira Solar Energy with improved desktop alignment */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
}

img {
  max-width: 100%;
  height: auto;
}

.navbar {
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-left {
  flex: 1;
}

.nav-center {
  flex: 2;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.nav-right {
  flex: 1;
  justify-content: flex-end;
  gap: 0.5rem;
}

.logo-image {
  height: 60px;
}

.menu-toggle {
  display: block;
  font-size: 2rem;
  background: none;
  border: none;
  color: rgb(47, 94, 156);
  cursor: pointer;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a,
.dropbtn {
  text-decoration: none;
  color: #2c7a7b;
  font-weight: bold;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-links a:hover,
.dropbtn:hover {
  color: #136f63;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
}

.nav-actions a {
  padding: 0.5rem 1.25rem;
  border: 1px solid #2c7a7b;
  border-radius: 4px;
  text-decoration: none;
  color: #2c7a7b;
  font-weight: bold;
}

.nav-actions a:hover {
  background-color: #2c7a7b;
  color: white;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #2c7a7b;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.nav-links-container {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}

.nav-links-container.show {
  display: flex;
}

@media (max-width: 769px) {
  .nav-center,
  .nav-right {
    display: none;
  }

  .nav-links-container {
    background: white;
    width: 100%;
    border-top: 1px solid #eee;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .dropdown-content.show-dropdown {
    display: flex;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .nav-actions a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* Remaining styles: hero, features, testimonials, cta, footer, etc. */
/* (Preserved from previous full update — not duplicated here for brevity) */

/* Hero Section */
.hero {
  text-align: center;
  padding: 18rem 1rem;
  background: url("../images/img1.jpg") no-repeat center center/cover;
  color: white;
  position: relative;
  overflow: hidden;
  /*animation: zoomIn 10s ease-in-out infinite alternate;*/
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 1;
}

.hero h1,
.hero p {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

@media (max-width: 769px) {
  .hero {
    background-position: top center;
    background-size: cover;
    padding: 8rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

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

  .hero {
    background-image: url("../images/img1.jpg");
  }
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.btn {
  background: #ffffff;
  color: #2c7a7b;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* PM Surya Ghar Section Styles */
.pm-surya-section {
  padding: 3rem 1rem;
  background-color: #ffffff;
}

.pm-surya-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.pm-text {
  flex: 1 1 500px;
}

.pm-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pm-text .highlight {
  color: #0056b3;
}

.pm-quote-box {
  background-size: 50px;
  padding: 1.75rem 1.25rem 1.25rem 3.5rem;
  border-left: 4px solid #2c7a7b;
  font-style: italic;
  border-radius: 6px;
  margin: 1rem 0;
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.pm-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.pm-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.pm-title {
  color: #2c7a7b;
  font-size: 1rem;
}

.pm-image {
  flex: 1 1 350px;
  text-align: right;
}

.pm-image img {
  width: 100%;
  max-width: 1500px;
  height: auto;
  border-radius: 8px;
}

/* Accordion Styling */
.pm-details-section {
  padding: 0.1rem 1.5rem;
  background-color: #fdfdfd;
}

.pm-details-section .container {
  max-width: 1400px;
  margin: 0 auto;
}

.pm-details-section p,
.pm-details-section ul {
  text-align: justify;
}

.accordion-btn {
  background-color: #2c7a7b;
  color: white;
  cursor: pointer;
  padding: 1rem 1.25rem;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
  margin-top: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.accordion-btn:hover,
.accordion-btn.active {
  background-color: #145b5a;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #f9f9f9;
  padding: 0 1rem;
  border-left: 4px solid #2c7a7b;
  border-radius: 0 0 6px 6px;
}

.accordion-panel.open {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.accordion-btn.active + .accordion-panel {
  max-height: 300px; /* Or higher if needed */
}

.accordion-panel p,
.accordion-panel ul {
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .pm-surya-container {
    flex-direction: column;
    text-align: center;
  }

  .pm-image {
    text-align: center;
    margin-top: 1rem;
  }

  .pm-image img {
    max-width: 250px;
  }

  .pm-text h2 {
    font-size: 2rem;
  }

  .pm-text p {
    font-size: 1rem;
  }

  .pm-details-section {
    padding: 1rem 1rem;
  }
}

// Benefits Section Styles

.benefits-section {
  background-color: #f8fafd;
  padding: 1rem 1rem;
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 1400px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  color: #004aad;
  margin-bottom: 2rem;
}

.benefit-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3rem;
}

.benefit-left,
.benefit-right {
  flex: 1 1 45%;
  text-align: center;
}

.benefit-left h3,
.benefit-right h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlight {
  color: #004aad;
}

.subsidy-grid {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
}

.subsidy-item {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
}

.amount {
  color: #004aad;
  font-weight: bold;
  font-size: 1.8rem;
}

.caption {
  font-size: 0.9rem;
  color: #555;
}

.note {
  font-size: 0.85rem;
  color: #555;
}

.special-note {
  text-align: center;
  font-weight: 500;
  margin-top: 2rem;
}

.plant-heading {
  text-align: center;
  font-size: 1.3rem;
  margin-top: 1rem;
}

.solar-table {
  margin: 1.5rem auto;
  max-width: 900px;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
}

.solar-row {
  display: flex;
  text-align: center;
}

.label {
  flex: 1 1 40%;
  padding: 1rem;
  background: #f1f1f1;
  font-weight: bold;
}

.value {
  flex: 1;
  padding: 1rem;
  border-left: 1px solid #ddd;
}

@media (max-width: 768px) {
  .benefit-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .subsidy-grid {
    flex-direction: column;
    align-items: center;
  }

  .solar-row {
    flex-direction: column;
  }

  .label,
  .value {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid #ddd;
  }
}

/* Benifits section trial */

.benefits-trial {
  padding: 1rem 1rem;
  background-color: #f9f9ff;
  text-align: center;
}

.benefits-trial h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #004899;
}

.benefits-trial img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Registration process */

.registration-process {
  padding: 1rem 1rem;
  background-color: #f9f9ff;
  text-align: center;
}

.registration-process h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #004899;
}

.registration-image-wrapper img {
  width: 100%;
  max-width: 1400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

// Why chose Avira?//

.section {
  padding: 2rem 1rem;
  text-align: right;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #004899;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: center;
  padding: 1rem 1rem;
}

.feature {
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}
/*
.testimonials {
  background-color: #f3fefd;
  padding: 1rem 1rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 1.8rem;
  color: #004899;
  font-weight: 700;
  margin-bottom: 2rem;
}

.testimonials blockquote {
  max-width: 800px;
  margin: 1rem auto;
  background: #fff;
  padding: 1rem 1.5rem;
  border-left: 5px solid #2c7a7b;
  font-style: italic;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
*/

/* Testimonials Section */
.testimonials {
  background-color: #f3fefd;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

.testimonials h2 {
  color: #004899;
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonial-slider {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial-slider::-webkit-scrollbar {
  height: 8px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.testimonial-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 3px #e0f7f6;
}

.testimonial-card p {
  font-style: italic;
  font-size: 0.95rem;
  color: #333;
}

@media (max-width: 768px) {
  .benefit-grid {
    flex-direction: column;
  }
}

.benefit-column:not(:last-child) {
  border-right: none;
  border-bottom: 1px solid #e0e0e0;
}

.subsidy-table {
  font-size: 0.9rem;
}

.benefits-section {
  padding: 2rem 1rem;
}

.testimonial-slider {
  overflow-x: scroll;
}

@media (min-width: 768px) {
  .benefit-inner-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    gap: 2rem;
  }
}

/* Call to Action Section */

.cta {
  background-color: #2c7a7b;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.btn-outline {
  display: inline-block;
  color: white;
  border: 2px solid white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 1rem;
}

/* Signup Section */
.signup-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: #f9fdfd;
  min-height: calc(100vh - 300px);
}

.signup-container {
  width: 100%;
  max-width: 400px;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.signup-form label {
  text-align: left;
  font-weight: bold;
}

.signup-form input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.signup-form .btn {
  margin-top: 1rem;
}

.input-wrapper {
  position: relative;
}

.input-wrapper input {
  width: 100%;
  box-sizing: border-box;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 0.9rem;
  color: #2c7a7b;
  background: none;
  border: none;
  padding: 0;
  height: 100%;
}

.error {
  color: red;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.forgot-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.forgot-wrapper a {
  color: #2c7a7b;
  text-decoration: none;
  font-size: 0.9rem;
}

.forgot-wrapper a:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

/* Footer Styles */
.footer {
  position: relative;
  background-color: #ffffff;
  color: #000;
  padding: 3rem 1rem 2rem;
  overflow: hidden;
  z-index: 1;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.footer-container,
.footer-bottom {
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 0.5rem;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #2c7a7b;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.subscribe-form input[type="email"] {
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.subscribe-form button {
  padding: 0.6rem;
  background-color: #2c7a7b;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.subscribe-form button:hover {
  background-color: #145b5a;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 0.1rem;
  font-size: 0.85rem;
  color: #777;
}

@media (max-width: 769px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: center;
  }

  .subscribe-form input[type="email"],
  .subscribe-form button {
    width: 100%;
    max-width: 300px;
  }
}

/* Contact Section */

/* Base Styling */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f8f9fa;
}

img {
  max-width: 100%;
  height: auto;
}

/* Contact Page Layout */

.contact-section {
  padding: 1rem 2rem;
  background: #fff;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #2c7a7b;
  text-align: center;
}

.contact-section p {
  margin-bottom: 2rem;
  font-size: 1rem;
  text-align: center;
  color: #555;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form,
.contact-info {
  flex: 1 1 300px;
  background: #f3fefd;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-form h2,
.contact-info h2 {
  color: #2c7a7b;
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin: 0.5rem 0 0.25rem;
  font-weight: bold;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  background: #2c7a7b;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #23605f;
}

.contact-info p,
.contact-info h3 {
  font-size: 1rem;
  margin: 0.5rem 0;
  text-align: left;
}

/* Responsive Adjustments */
@media (max-width: 769px) {
  .contact-container {
    flex-direction: column;
    padding: 1rem;
  }
}

/* WhatsApp Floating Button */

.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 50px;
  z-index: 999;
  width: 60px;
  height: 60px;
  cursor: pointer;
  animation: pulse 2s infinite;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
}

/* Flashing Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* google maps */

.map-container {
  width: 100%;
  max-width: 1500px;
  margin: 1rem auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
