/* Add custom font */
@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.body {
  font-family: "Montserrat";
}
/* Solar Energy Color Scheme */
:root {
  --primary: #fdb813; /* Sunny Yellow - Primary brand color */
  --primary-light: #ffd060; /* Light Yellow - Highlights */
  --primary-dark: #f09d00; /* Deep Yellow - Accents */

  --secondary: #4caf50; /* Green - Environmental aspect */
  --secondary-light: #81c784; /* Light Green - Success states */
  --secondary-dark: #388e3c; /* Deep Green - CTAs */

  --dark: #1a237e; /* Navy Blue - Text and headers */
  --light: #000000; /* Off White - Backgrounds */
  --gray: #757575; /* Medium Gray - Secondary text */

  --gradient-primary: linear-gradient(135deg, #fdb813 0%, #ff8c00 100%);
  --gradient-secondary: linear-gradient(
    135deg,
    var(--secondary) 0%,
    var(--secondary-light) 100%
  );
  --gradient-hero: linear-gradient(
    135deg,
    rgba(253, 184, 19, 0.9) 0%,
    rgba(255, 140, 0, 0.8) 100%
  );
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
  /* Failsafe: Auto-hide spinner after 3 seconds using CSS animation */
  animation: hideSpinnerFallback 3s forwards;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
  /* Reset animation when showing */
  animation: none;
}

/* Failsafe CSS animation to hide spinner */
@keyframes hideSpinnerFallback {
  0% {
    opacity: 1;
    visibility: visible;
  }
  90% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Header ***/
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3%;
  transition: all 0.3s ease;
}

.header.scrolled {
  top: 10px;
}

/* Logo Section - Separate from Navigation */
.logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Navigation Section - Right Side with Reduced Width */
.nav-section {
  max-width: 70%;
  min-width: 600px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.header.scrolled .nav-section {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Adjust header container within nav section */
.nav-section .header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  min-height: 80px;
}

/* Adjust navigation menu within nav section */
.nav-section .nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 20px;
}

.header-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  min-height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 110px;
  width: auto;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.header.scrolled .logo-img {
  height: 55px;
}

.nav-menu {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  margin: 0 20px;
}

.nav-list {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  background: none;
  box-shadow: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #000;
  background: rgba(255, 255, 255, 0.9);
  text-shadow: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.estimate-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.estimate-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  padding: 12px;
  gap: 4px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.mobile-menu-btn:hover {
  background: #fff;
  transform: scale(1.05);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-btn:active {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  /* Tablet styles */
  .header-container {
    padding: 0 25px;
    min-height: 70px;
  }

  .logo-img {
    height: 55px;
  }

  .header.scrolled .logo-img {
    height: 45px;
  }

  .nav-list {
    gap: 24px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .estimate-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 90% !important;
    max-width: 500px !important;
  }

  .hero-overlay h1 {
    font-size: 4rem !important;
    line-height: 4.5rem !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  .hero-overlay .sub {
    font-size: 2.2rem !important;
    padding-left: 0 !important;
    text-align: center !important;
  }

  .hero-overlay p {
    font-size: 1.2rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 12px 20px;
  }

  .logo-text {
    display: none; /* Hidden on small mobile too */
  }

  .logo-img {
    height: 38px;
  }

  .estimate-btn {
    display: none; /* Hide estimate button on small mobile */
  }

  .hero-overlay h1 {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
    margin-bottom: 15px !important;
  }

  .hero-overlay .sub {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
  }

  .hero-overlay p {
    font-size: 1rem !important;
    margin-bottom: 25px !important;
  }

  .hero-overlay {
    width: 95% !important;
    max-width: 400px !important;
  }
}

/*** Header End ***/

/* Video Background Section */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding-top: 80px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video covers the section */
  z-index: -1; /* Places the video behind content */
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 70%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: #ffffff;
  z-index: 1; /* Places content above the video */
}

.hero-overlay h1 {
  font-family: Montserrat;
  text-transform: uppercase;
  line-height: 6rem;
  text-align: left;
  color: white;
  font-size: 8rem;
  margin-bottom: 20px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}
.sub {
  font-family: Montserrat;
  text-transform: uppercase;
  color: white;
  text-align: left;
  font-size: 2.1rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-overlay p {
  font-family: Montserrat, serif;
  font-style: italic;
  text-align: left;
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.cta-button {
  background: linear-gradient(45deg, #558b2f, #558b2f);
  color: white;
  padding: 15px 30px;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-overlay .cta-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

/* Enhanced About Section Animations */
.about-card {
  font-family: "Montserrat";
  background: rgba(255, 255, 255, 0.9);
  border-left: 4px solid var(--primary);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(50px);
  opacity: 0;
  animation: slideUp 0.6s ease forwards;
}
.about-card .icon-box {
  color: var(--primary);
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* PM Section Styles */
.pm-section {
  margin-bottom: 2rem;
}

.pm-announcement-card {
  background: #041e42; /* Deep navy blue background */
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 1200px;
  margin: 0 auto;
  min-height: 400px;
}

.pm-image-side {
  flex: 0 0 40%;
  padding: 0;
  position: relative;
}

.pm-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pm-content-side {
  flex: 0 0 60%;
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pm-content-side h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: white;
  border-bottom: 2px solid #00ff9d;
  padding-bottom: 10px;
  display: inline-block;
}

.pm-content-side h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: white;
}

.highlight-text {
  font-size: 2rem;
  color: #00ff9d; /* Bright green */
  margin: 20px 0;
  font-weight: 500;
}

.hashtag {
  color: #87ceeb;
  font-size: 1.4rem;
  margin: 15px 0;
  font-weight: 500;
}

.cta-text {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 20px;
  color: white;
  text-transform: uppercase;
}

/* Scheme Cards Adjustment */
.scheme-card {
  height: 100%;
  min-height: 300px;
}
/* Vision Text Box - Keeping Original Style */
.vision-text {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  margin-top: 1.5rem;
}
.vision-text h5 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: var(--primary);
}

.vision-text p {
  color: var(--light);
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .pm-announcement-card {
    max-width: 100%;
  }

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

  .highlight-text {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .pm-announcement-card {
    flex-direction: column;
    min-height: auto;
  }

  .pm-image-side {
    flex: 0 0 auto;
    height: 400px;
  }

  .pm-content-side {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .pm-image-side {
    height: 300px;
  }

  .pm-content-side h3 {
    font-size: 1.5rem;
  }

  .pm-content-side h2 {
    font-size: 1.8rem;
  }

  .highlight-text {
    font-size: 1.5rem;
  }

  .cta-text {
    font-size: 1.6rem;
  }
}
/* Solar Schemes Section Styles */
.solar-schemes {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #fdb813, #ff8c00, #ffd700);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.solar-schemes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(0deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  transform: perspective(100px) rotateX(30deg);
  animation: gridMove 20s linear infinite;
  opacity: 0.3;
}

@keyframes gridMove {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  }
}

.solar-schemes .container-fluid {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin: 0 20px;
}

/* Title Section */
.solar-schemes .section-title {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

/* Title Section Enhancement */
.solar-schemes .text-center {
  position: relative;
  z-index: 2;
}

.solar-schemes h6.text-primary {
  color: var(--primary) !important;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.solar-schemes h2 {
  color: #ffffff;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.solar-schemes p.text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* PM Announcement Card Enhancement */
.pm-announcement-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  margin: 0 40px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pm-content-side {
  background: linear-gradient(
    135deg,
    rgba(26, 35, 126, 0.9),
    rgba(13, 71, 161, 0.9)
  );
  padding: 50px;
}

/* Grid Layout for Scheme Cards */
.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 0 40px;
  max-width: 1800px;
  margin: 0 auto;
}

.scheme-card {
  background: linear-gradient(
    135deg,
    rgba(26, 35, 126, 0.9),
    rgba(13, 71, 161, 0.8)
  );
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.scheme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(0, 255, 157, 0.05),
    rgba(255, 255, 255, 0.05)
  );
  z-index: -1;
}
.scheme-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.scheme-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.scheme-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
}
.scheme-icon i {
  font-size: 28px;
  color: var(--dark);
  transition: all 0.4s ease;
}
.scheme-card:hover .scheme-icon {
  background: var(--dark);
  transform: rotate(10deg);
}

.scheme-card:hover .scheme-icon i {
  color: var(--primary);
  transform: rotate(-10deg);
}
.scheme-card h4 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scheme-details {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.scheme-details p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.scheme-details ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/* General scheme details for scheme-card (dark background) */
.scheme-card .scheme-details ul li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

/* Initiative card scheme details (white background) */
.initiative-card .scheme-details ul li {
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.scheme-details ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}
.read-more:hover {
  color: var(--dark);
  transform: translateX(10px);
}
/* Responsive Design */
@media (max-width: 1400px) {
  .schemes-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 0 30px;
  }
}

@media (max-width: 1200px) {
  .solar-schemes .container-fluid {
    padding: 0 30px;
  }

  .pm-announcement-card {
    margin: 0 30px 40px;
  }
}

@media (max-width: 991px) {
  .pm-announcement-card {
    grid-template-columns: 1fr;
  }

  .schemes-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .solar-schemes {
    padding: 60px 0;
  }

  .solar-schemes .container-fluid {
    padding: 0 20px;
  }

  .pm-announcement-card {
    margin: 0 20px 30px;
  }

  .scheme-card {
    min-height: 350px;
  }
}

@media (max-width: 576px) {
  .schemes-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  .solar-schemes .container-fluid {
    padding: 0 15px;
  }

  .pm-announcement-card {
    margin: 0 15px 20px;
  }
}

/* Modern Services Section */
.services-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8ff 100%);
  padding: 80px 0;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(0, 123, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(40, 167, 69, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.services-wrapper {
  position: relative;
  z-index: 2;
}

.services-header h1 {
  font-weight: 700;
  color: #2c3e50;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-header p {
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(253, 184, 19, 0.8),
    rgba(255, 140, 0, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1);
}

.service-icon i {
  font-size: 2.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon i {
  color: #28a745;
}

/* Service Content */
.service-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.service-card:hover .service-content h4 {
  color: var(--primary);
}

.service-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

/* Service Features */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #6c757d;
  font-size: 0.95rem;
}

.service-features li i {
  color: #28a745;
  margin-right: 12px;
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

/* Service Button */
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  background: linear-gradient(135deg, #fdb813, #ff8c00);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.service-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.service-btn:hover::before {
  left: 100%;
}

.service-btn:hover {
  background: linear-gradient(135deg, #ff8c00, #fdb813);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(253, 184, 19, 0.3);
  color: white;
  text-decoration: none;
}

.service-btn:hover i {
  transform: translateX(4px);
}

.service-btn i {
  transition: transform 0.3s ease;
}

/* Services CTA */
.services-cta {
  background: linear-gradient(135deg, #fdb813, #ff8c00);
  padding: 50px;
  border-radius: 30px;
  color: white;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: ctaShimmer 8s ease-in-out infinite;
}

@keyframes ctaShimmer {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  50% {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}

.services-cta h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.services-cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.services-cta .cta-button {
  background: white;
  color: var(--primary);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  border: 2px solid white;
}

.services-cta .cta-button:hover {
  background: transparent;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.services-cta .cta-button:hover i {
  transform: translateX(5px);
}

.services-cta .cta-button i {
  transition: transform 0.3s ease;
}

/* Responsive Services Styles */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    border-radius: 20px;
  }

  .service-image {
    height: 220px;
  }

  .service-content {
    padding: 25px;
  }

  .service-content h4 {
    font-size: 1.3rem;
  }

  .services-cta {
    padding: 40px 30px;
    border-radius: 25px;
  }

  .services-cta h3 {
    font-size: 2rem;
  }

  .services-cta p {
    font-size: 1.1rem;
  }

  .services-cta .cta-button {
    padding: 16px 35px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 50px 0;
  }

  .service-image {
    height: 200px;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h4 {
    font-size: 1.2rem;
  }

  .service-content p {
    font-size: 0.95rem;
  }

  .service-features li {
    font-size: 0.9rem;
  }

  .service-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .services-cta {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .services-cta h3 {
    font-size: 1.8rem;
  }

  .services-cta p {
    font-size: 1rem;
  }

  .services-cta .cta-button {
    padding: 14px 30px;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}
/* Savings Calculator Section - Full Width Background */
.savings-calculator {
  width: 100%;
  min-height: auto;
  background-image: url("../img/c-back.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.savings-calculator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.calculator-container {
  max-width: 1200px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 30px 24px 24px 24px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

/* Subtle animated overlay for the wind turbine background */
.savings-calculator::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(
    45deg,
    rgba(139, 195, 74, 0.2),
    rgba(76, 175, 80, 0.2)
  );
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.calculator-container h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a237e;
  margin-bottom: 10px;
  text-align: center;
  animation: slideInUp 0.6s ease-out;
}

.calculator-container p {
  color: #333;
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 24px;
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.calculator {
  animation: slideInUp 0.6s ease-out 0.4s both;
  position: relative;
  z-index: 2;
}

/* Mobile Calculator Styles - Vertical Layout */
@media (max-width: 768px) {
  .calculator-container {
    padding: 20px 16px 16px 16px;
    border-radius: 24px;
  }

  .calculator-container h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .calculator-container p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .calculator-layout {
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
  }

  .calculator-inputs {
    max-width: 100%;
    flex: none;
    order: 1;
  }

  .calculator-results {
    flex: none;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    order: 2;
  }

  .results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding-bottom: 0;
  }

  .result-card {
    padding: 18px;
    gap: 14px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    min-height: 85px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(253, 184, 19, 0.15);
  }

  .result-icon {
    width: 32px;
    height: 32px;
  }

  .result-icon img {
    width: 18px;
    height: 18px;
  }

  .result-content h4 {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .result-content p {
    font-size: 1rem;
    font-weight: 600;
  }

  .input-group {
    padding: 18px;
    margin-bottom: 18px;
    min-height: 85px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(253, 184, 19, 0.2);
  }

  .input-group label {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .input-group input,
  .input-group select {
    padding: 12px 14px;
    font-size: 1rem;
  }

  .calculation-toggle {
    text-align: center;
    margin-top: 15px;
  }

  .calculation-toggle a {
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 123, 255, 0.1);
    display: inline-block;
    transition: all 0.3s ease;
  }

  .calculation-toggle a:hover {
    color: #0056b3;
    background: rgba(0, 123, 255, 0.15);
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .calculator-container {
    padding: 16px 12px 12px 12px;
    border-radius: 20px;
  }

  .calculator-container h2 {
    font-size: 1.6rem;
  }

  .calculator-container p {
    font-size: 0.95rem;
  }

  .calculator-layout {
    gap: 20px;
  }

  .calculator-inputs {
    max-width: 100%;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .result-card {
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
    min-height: 70px;
  }

  .result-icon {
    width: 30px;
    height: 30px;
  }

  .result-icon img {
    width: 16px;
    height: 16px;
  }

  .result-content h4 {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .result-content p {
    font-size: 0.9rem;
  }

  .input-group {
    padding: 14px;
    margin-bottom: 14px;
    min-height: 70px;
  }

  .input-group label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .input-group input,
  .input-group select {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .calculation-toggle a {
    font-size: 0.85rem;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .calculator-layout {
    gap: 15px;
  }
  
  .calculator-inputs {
    max-width: 100%;
  }
  
  .results-grid {
    gap: 10px;
  }
  
  .result-card {
    padding: 14px;
    gap: 10px;
    border-radius: 14px;
    min-height: 70px;
    background: rgba(255, 255, 255, 0.98);
    border: 2px solid rgba(253, 184, 19, 0.15);
  }
  
  .result-icon {
    width: 28px;
    height: 28px;
  }
  
  .result-icon img {
    width: 14px;
    height: 14px;
  }
  
  .result-content h4 {
    font-size: 0.75rem;
    margin-bottom: 3px;
  }
  
  .result-content p {
    font-size: 0.8rem;
  }
  
  .input-group {
    padding: 14px;
    margin-bottom: 14px;
    border-radius: 14px;
    min-height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(253, 184, 19, 0.2);
  }
  
  .input-group label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }
  
  .input-group input,
  .input-group select {
    padding: 8px 10px;
    font-size: 0.85rem;
    border-radius: 8px;
  }

  .calculation-toggle a {
    font-size: 0.8rem;
  }
}

.calculator-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.calculator-inputs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 400px;
  min-width: 300px;
}

.calculator-results {
  flex: 2;
  min-width: 0;
}

/* Large screens */
@media (min-width: 1400px) {
  .calculator-layout {
    gap: 50px;
  }
  
  .calculator-inputs {
    max-width: 450px;
  }
  
  .results-grid {
    gap: 25px;
  }
  
  .result-card {
    padding: 25px;
    min-height: 90px;
    border-radius: 18px;
  }
  
  .input-group {
    padding: 25px;
    min-height: 90px;
    border-radius: 18px;
  }
  
  .calculator-container {
    padding: 60px 50px;
    border-radius: 40px;
  }
  
  .calculator-container h2 {
    font-size: 2.5rem;
  }
  
  .calculator-container p {
    font-size: 1.2rem;
  }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  justify-items: stretch;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(31, 38, 135, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 80px;
}

.input-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(253, 184, 19, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.input-group:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31, 38, 135, 0.15);
  border-color: rgba(253, 184, 19, 0.3);
}

.input-group:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(253, 184, 19, 0.2);
  border-color: rgba(253, 184, 19, 0.5);
  background: rgba(255, 255, 255, 0.98);
}

.input-group label {
  font-weight: 500;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-group label::before {
  content: "";
  width: 20px;
  height: 20px;
  background: linear-gradient(45deg, #8bc34a, #4caf50);
  border-radius: 4px;
  flex-shrink: 0;
}

.input-group input,
.input-group select {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  background: #fff;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #4caf50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.calculation-toggle {
  margin-top: 10px;
}

.calculation-toggle a {
  color: #4caf50;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.calculation-toggle a:hover {
  color: #2e7d32;
  text-decoration: underline;
}

.result-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(31, 38, 135, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 80px;
}

.result-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #fdb813, #ffd060);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 38, 135, 0.12);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(253, 184, 19, 0.3);
}

.result-card:hover::before {
  transform: scaleX(1);
}

.result-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.result-icon img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.result-content {
  flex: 1;
}

.result-content h4 {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.result-content p {
  font-size: 1.4rem;
  color: #333;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.result-card p.updating {
  animation: countUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}



/* Loading state for results */
.result-card.loading p {
  position: relative;
  color: transparent;
}

.result-card.loading p::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #fdb813;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Calculation method indicator */
.calculation-method-indicator {
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, #fdb813, #ffd060);
  color: #1a237e;
  padding: 5px 15px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(253, 184, 19, 0.3);
  animation: slideInUp 0.5s ease-out;
}

/* Tooltip styles */
.tooltip {
  background: rgba(26, 35, 126, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  animation: tooltipFadeIn 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(26, 35, 126, 0.9);
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced input group shimmer effect */
.input-group:hover::before {
  left: 100%;
}

/* Result card enhanced interactions */
.result-card {
  transform-origin: center;
}

.result-card:active {
  transform: translateY(-3px) scale(0.98);
}

/* Add subtle gradient borders to cards */
.result-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(253, 184, 19, 0.3),
    rgba(255, 208, 96, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.result-card:hover::after {
  opacity: 1;
}



/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
  .savings-calculator {
    padding: 40px 15px;
    background-attachment: scroll;
    min-height: auto;
  }

  .calculator-container {
    padding: 25px 15px;
    margin: 0 5px;
    border-radius: 24px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .calculator-container h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }

  .calculator-container p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .savings-calculator::after {
    width: 40px;
    height: 40px;
    top: 15px;
    right: 15px;
  }

  /* Calculator layout is handled by the dedicated mobile calculator styles above */

  .calculation-toggle a {
    font-size: 0.9rem;
  }









  /* About Section Mobile */
  .about-card {
    padding: 1.5rem;
    margin: 0.5rem 0;
    text-align: center;
  }

  .about-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Government Initiatives Mobile */
  .initiatives-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .initiative-card {
    padding: 20px;
  }

  .card-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .scheme-highlights {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .highlight-item {
    font-size: 0.9rem;
    flex: 0 0 auto;
  }

  .scheme-card .scheme-details ul li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
  }

  .initiative-card .scheme-details ul li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #2c3e50;
  }

  .learn-more-btn,
  .view-scheme-btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
}

@media (max-width: 991px) {
  .calculator-container {
    padding: 35px 25px;
  }
  
  .calculator-layout {
    gap: 30px;
  }
  
  .calculator-inputs {
    max-width: 350px;
  }
  
  .results-grid {
    gap: 18px;
  }
  
  .result-card {
    border-radius: 16px;
    padding: 20px;
    min-height: 85px;
  }
  
  .input-group {
    border-radius: 16px;
    padding: 20px;
    min-height: 85px;
  }
}

/* Large Devices (less than 1200px) */
@media (max-width: 1200px) {
  .hero-overlay h1 {
    font-size: 6.5rem;
    line-height: 5rem;
  }

  .hero-overlay .sub {
    font-size: 2.8rem;
  }

  .hero-overlay p {
    font-size: 1.3rem;
  }

  .calculator {
    padding: 20px;
  }
  
  .calculator-layout {
    gap: 35px;
  }
  
  .calculator-inputs {
    max-width: 380px;
  }
}

/* Medium Devices (less than 992px) */
@media (max-width: 991px) {
  .hero-overlay h1 {
    font-size: 4.5rem;
    line-height: 4rem;
  }

  .hero-overlay .sub {
    font-size: 2.2rem;
  }

  .hero-overlay p {
    font-size: 1.2rem;
    padding-left: 250px;
  }

  /* Calculator layout is handled by dedicated mobile styles */
  
  .calculator-container {
    padding: 40px 30px;
  }

  /* Navigation Improvements */
  .navbar {
    background: rgba(255, 255, 255, 0.95);
  }

  .navbar-nav {
    gap: 10px;
    padding: 20px 0;
  }

  .nav-link {
    padding: 10px 20px !important;
  }
}

/* Small Devices (less than 768px) */
@media (max-width: 767px) {
  .hero-overlay {
    font-family: "Montserrat" !important;
    width: 100%;
    padding: 0 20px;
    left: 0;
    transform: translateY(-50%);
    text-align: center;
  }

  .hero-overlay h1 {
    font-family: "Montserrat" !important;
    font-size: 3.5rem;
    padding-left: 0;
    line-height: 3.5rem;
    text-align: center;
  }

  .hero-overlay .sub {
    font-family: "Montserrat" !important;
    font-size: 2rem;
    padding-left: 0;
    text-align: center;
  }

  .hero-overlay p {
    font-family: "Montserrat" !important;
    font-size: 1.1rem;
    padding-left: 0;
    text-align: center;
  }

  .hero-video-section {
    height: 90vh;
  }

  /* Calculator Enhancements */
  .savings-calculator {
    padding: 30px 15px;
  }

  .calculator {
    padding: 15px;
  }

  /* Note: Calculator results are handled by specific mobile calculator styles above */

  .input-group {
    padding: 15px;
    margin-bottom: 10px;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  .actions .btn {
    width: 100%;
    margin: 5px 0;
  }

  /* About Section */
  .about-card {
    padding: 1.5rem;
    margin: 0.5rem 0;
  }

  /* Schemes Section */
  .scheme-card {
    padding: 1.5rem;
    min-height: auto;
  }

  .pm-announcement-card {
    flex-direction: column;
  }

  .pm-content-side {
    padding: 20px;
  }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575px) {
  .hero-overlay h1 {
    font-size: 2.5rem !important;
    line-height: 2.8rem !important;
  }

  .hero-overlay .sub {
    font-size: 1.3rem !important;
    margin: 10px 0 !important;
  }

  .hero-overlay p {
    font-size: 0.95rem !important;
    margin-bottom: 20px !important;
    font-family: "Montserrat" !important;
    font-size: 3rem;
    line-height: 3rem;
  }

  .hero-overlay .sub {
    font-family: "Montserrat" !important;
    font-size: 1.5rem;
    margin: 10px 0;
  }

  .hero-overlay p {
    font-family: "Montserrat" !important;
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Enhanced Calculator for Very Small Screens */
  .calculator-container {
    padding: 18px 10px;
    margin: 0;
    border-radius: 20px;
  }

  .calculator-container h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
  }

  .calculator-container p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-card {
    padding: 10px;
    text-align: center;
  }

  .result-card h4 {
    font-size: 0.75rem;
    margin-bottom: 3px;
  }

  .result-card p {
    font-size: 0.95rem;
    font-weight: 700;
  }

  .result-icon {
    width: 25px;
    height: 25px;
  }

  .result-icon img {
    width: 15px;
    height: 15px;
  }

  .input-group {
    padding: 12px;
    margin-bottom: 14px;
  }

  .input-group label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .input-group select,
  .input-group input {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .calculation-toggle a {
    font-size: 0.8rem;
  }



  /* About Cards for Small Screens */
  .about-card {
    padding: 1.2rem;
    margin: 0.3rem 0;
  }

  .about-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .about-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Scheme Cards for Small Screens */
  .initiative-card {
    padding: 15px;
  }

  .card-header h3 {
    font-size: 1.1rem;
  }

  .scheme-tagline {
    font-size: 0.8rem;
  }

  .scheme-highlights {
    gap: 8px;
    justify-content: center;
  }

  .highlight-item {
    font-size: 0.8rem;
  }

  .scheme-card .scheme-details ul li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .initiative-card .scheme-details ul li {
    font-size: 0.85rem;
    color: #2c3e50;
  }

  .learn-more-btn,
  .view-scheme-btn {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  /* Services Section for Small Screens */
  .service-card {
    padding: 15px;
  }

  .service-content h4 {
    font-size: 1.1rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }

  .service-features li {
    font-size: 0.85rem;
  }

  /* Footer Mobile Optimizations */
  .footer-column h4 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .footer-column ul li a {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .footer-brand {
    margin-bottom: 20px;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-description {
    font-size: 0.9rem;
  }

  /* Form Optimizations */
  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .submit-btn,
  .submit-btn-modern {
    padding: 14px 20px;
    font-size: 0.95rem;
    width: 100%;
  }

  /* Contact Section Mobile */
  .contact-info-card {
    padding: 20px 15px;
    text-align: center;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-info-card h5 {
    font-size: 1.1rem;
  }

  .contact-info-card p {
    font-size: 0.9rem;
  }

  /* Navigation Refinements */
  .navbar-brand {
    font-size: 1.2rem;
  }

  .animated-logo {
    height: 35px;
  }
}

/* Portrait Orientation Specific */
@media (max-width: 767px) and (orientation: portrait) {
  .hero-video-section {
    height: 100vh;
  }

  .hero-overlay {
    top: 45%;
  }
}

/* Landscape Orientation Specific */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-video-section {
    height: 120vh;
  }

  .hero-overlay {
    top: 55%;
  }
}
/*** Team ***/
.team-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.team-item img {
  border-radius: 8px 60px 0 0;
}

.team-item .team-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: #ffffff;
  transition: 0.5s;
}

/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
  position: absolute;
  bottom: -19px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
  margin-bottom: 30px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  transform: scale(1);
}

/*** Contact ***/
@media (min-width: 992px) {
  .container.contact {
    max-width: 100% !important;
  }

  .contact-text {
    padding-left: calc(((100% - 960px) / 2) + 0.75rem);
  }
}

@media (min-width: 1200px) {
  .contact-text {
    padding-left: calc(((100% - 1140px) / 2) + 0.75rem);
  }
}

@media (min-width: 1400px) {
  .contact-text {
    padding-left: calc(((100% - 1320px) / 2) + 0.75rem);
  }
}

/* Schemes Navigation */
.schemes-navigation {
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
  overflow-x: auto;
  padding: 10px 0;
}

.nav-scroll-container {
  display: flex;
  gap: 15px;
  padding: 0 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-scroll-container::-webkit-scrollbar {
  display: none;
}

.schemes-navigation .nav-item {
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.schemes-navigation .nav-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.schemes-navigation .nav-item.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

/* Scheme Benefits */
.scheme-benefits {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.benefit-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.benefit-item span {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Scheme Stats */
.scheme-stats {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Enhanced Scheme Cards */
.scheme-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.scheme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 126, 0.1),
    rgba(13, 71, 161, 0.1)
  );
  z-index: 0;
}

.scheme-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.scheme-card .scheme-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.scheme-card h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.scheme-details {
  position: relative;
  z-index: 1;
}

.scheme-details p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.scheme-details ul {
  list-style: none;
  padding-left: 0;
}

.scheme-card .scheme-details ul li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.initiative-card .scheme-details ul li {
  color: #2c3e50;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.scheme-details ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .schemes-navigation {
    padding: 10px;
  }

  .nav-item {
    padding: 8px 15px;
    font-size: 0.8rem;
  }

  .benefit-item {
    padding: 8px 12px;
  }

  .scheme-stats {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .scheme-card {
    padding: 20px;
  }

  .scheme-benefits {
    flex-direction: column;
    gap: 10px;
  }

  .stat-value {
    font-size: 1.2rem;
  }
}

/* Government Initiatives Section */
.gov-initiatives {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.gov-initiatives::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="%23000000" fill-opacity="0.05"/></svg>');
  opacity: 0.5;
}

.section-header {
  margin-bottom: 60px;
}

.section-subtitle {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.section-title {
  color: var(--dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.section-description {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.initiative-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.initiative-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.initiative-card.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 2px solid var(--primary);
}

.card-header {
  padding: 30px;
  background: linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
  color: #ffffff;
  position: relative;
}

.scheme-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--dark);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.card-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scheme-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

.card-body {
  padding: 30px;
}

.scheme-highlights {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(253, 184, 19, 0.1);
  padding: 10px 20px;
  border-radius: 10px;
}

.highlight-item i {
  color: var(--primary);
  font-size: 1.2rem;
}

.highlight-item span {
  color: #1a237e;
  font-weight: 600;
}

.scheme-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.scheme-icon i {
  font-size: 24px;
  color: var(--dark);
}

/* Scheme details heading for scheme-card (dark background) */
.scheme-card .scheme-details h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Scheme details heading for initiative-card (white background) */
.initiative-card .scheme-details h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.scheme-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scheme-card .scheme-details ul li {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.initiative-card .scheme-details ul li {
  color: #2c3e50;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.scheme-details ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  color: var(--dark);
  transform: translateX(5px);
}

.scheme-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.view-scheme-btn {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.view-scheme-btn:hover {
  background: linear-gradient(135deg, #1976d2, #1565c0);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.view-scheme-btn i {
  font-size: 0.8rem;
}

/* Scheme Modal Styles */
.scheme-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.scheme-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
  padding: 20px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  overflow: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.7) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  flex-shrink: 0;
}

.modal-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.close-modal {
  font-size: 2rem;
  font-weight: 300;
  color: #aaa;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-modal:hover {
  color: #000;
  background: rgba(0, 0, 0, 0.1);
}

.modal-body {
  padding: 10px;
  text-align: center;
  overflow: auto;
  max-height: calc(95vh - 120px);
}

.modal-body img {
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

.modal-body img:hover {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

/* Special handling for wide banner images */
.wide-image-modal .modal-content {
  max-width: 90vw;
  width: auto;
}

.wide-image-modal .modal-body img {
  max-width: 100%;
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .wide-image-modal .modal-content {
    max-width: 95vw;
  }
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 15px 0;
  border-top: 1px solid #eee;
  margin-top: 15px;
  flex-shrink: 0;
}

.download-btn,
.share-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-btn {
  background: linear-gradient(135deg, #4caf50, #45a049);
  color: white;
}

.download-btn:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.share-btn {
  background: linear-gradient(135deg, #ff5722, #e64a19);
  color: white;
}

.share-btn:hover {
  background: linear-gradient(135deg, #e64a19, #d84315);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

@media (max-width: 768px) {
  .scheme-modal.active {
    padding: 10px;
  }

  .modal-content {
    max-width: 98vw;
    max-height: 98vh;
    margin: 0;
  }

  .modal-header {
    padding: 10px 15px;
  }

  .modal-header h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    padding: 10px;
    max-height: calc(98vh - 100px);
  }

  .modal-body img {
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .modal-actions {
    gap: 10px;
  }

  .download-btn,
  .share-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

.initiatives-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--dark) 0%, #2c3e50 100%);
  padding: 60px;
  border-radius: 20px;
  color: #ffffff;
}

.initiatives-cta h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.initiatives-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.initiatives-cta .cta-button {
  background: var(--gradient-primary);
  color: var(--dark);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  z-index: 100;
  cursor: pointer;
  pointer-events: auto;
  border: none;
  outline: none;
}

.initiatives-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(253, 184, 19, 0.3);
}

@media (max-width: 991px) {
  .initiatives-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .initiative-card.featured {
    grid-column: auto;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .gov-initiatives {
    padding: 60px 0;
  }

  .scheme-highlights {
    flex-direction: column;
    gap: 10px;
  }

  .initiatives-cta {
    padding: 40px 20px;
  }

  .initiatives-cta h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .card-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .initiatives-cta h3 {
    font-size: 1.5rem;
  }
}

/* Simple Footer Styles */
.simple-footer {
  background-color: #f8f9fa;
  padding: 60px 0 30px;
  border-top: 1px solid #e9ecef;
  margin-top: 60px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 350px;
}

.brand-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #212529;
}

.brand-description {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #fff;
  border-radius: 50%;
  color: #6c757d;
  text-decoration: none;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  font-size: 12px;
  font-weight: 600;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

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

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.new-badge {
  background-color: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #e9ecef;
}

.copyright p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Responsive Footer */
@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .simple-footer {
    padding: 40px 0 20px;
    margin-top: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-brand {
    text-align: center;
    max-width: none;
  }

  .brand-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom-links {
    gap: 16px;
  }

  .footer-bottom-links a {
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    gap: 30px;
  }

  .footer-column h4 {
    font-size: 11px;
    margin-bottom: 15px;
  }

  .footer-column ul li {
    margin-bottom: 10px;
  }

  .footer-column ul li a {
    font-size: 13px;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Modern Contact Form Styles */
.modern-form {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.modern-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #28a745, var(--primary));
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #495057;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.form-group label i {
  color: var(--primary);
  margin-right: 8px;
  font-size: 16px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  color: #495057;
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
  background: #fdfdfd;
}

.form-input:focus + label,
.form-select:focus + label,
.form-textarea:focus + label {
  color: var(--primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #adb5bd;
  opacity: 1;
}

.form-input:valid,
.form-select:valid,
.form-textarea:valid {
  border-color: #28a745;
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  appearance: none;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.submit-btn {
  background: linear-gradient(135deg, #fdb813, #ff8c00);
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(253, 184, 19, 0.3);
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(253, 184, 19, 0.4);
  background: linear-gradient(135deg, #ff8c00, #fdb813);
}

.submit-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(253, 184, 19, 0.3);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Form Validation States */
.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.success .form-input,
.form-group.success .form-select,
.form-group.success .form-textarea {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Loading State */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.submit-btn.loading .btn-text::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Modern Contact Section */
.contact-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 80px 0;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(0, 123, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 123, 255, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-wrapper {
  position: relative;
  z-index: 2;
}

.contact-header h1 {
  font-weight: 700;
  color: #2c3e50;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-header p {
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fdb813, #ff8c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.contact-icon i {
  font-size: 2rem;
  color: white;
}

.contact-info-card:hover .contact-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(253, 184, 19, 0.4);
}

.contact-info-card h5 {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
}

.contact-info-card p {
  color: #6c757d;
  margin-bottom: 0;
  line-height: 1.6;
}

.contact-info-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: #0056b3;
}

/* Modern Contact Form */
.contact-form-wrapper {
  background: white;
  border-radius: 30px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #fdb813, #ff8c00, #fdb813);
  background-size: 200% 100%;
  animation: contactGradientShift 4s ease infinite;
}

@keyframes contactGradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.modern-contact-form {
  position: relative;
  z-index: 2;
}

.form-header h3 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 1.1rem;
}

.submit-btn-modern {
  background: linear-gradient(135deg, #fdb813, #ff8c00);
  color: white;
  border: none;
  padding: 20px 50px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(253, 184, 19, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 250px;
  justify-content: center;
}

.submit-btn-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s ease;
}

.submit-btn-modern:hover::before {
  left: 100%;
}

.submit-btn-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(253, 184, 19, 0.4);
  background: linear-gradient(135deg, #ff8c00, #fdb813);
}

.submit-btn-modern:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(253, 184, 19, 0.3);
}

.submit-btn-modern:hover .btn-icon {
  transform: translateX(6px);
}

/* Responsive Contact Form Styles */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-form-wrapper {
    padding: 40px 30px;
    border-radius: 25px;
  }

  .contact-info-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .contact-icon {
    width: 70px;
    height: 70px;
  }

  .contact-icon i {
    font-size: 1.75rem;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 14px 16px;
    font-size: 14px;
  }

  .submit-btn-modern {
    width: 100%;
    padding: 18px 40px;
    font-size: 16px;
    min-width: auto;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-header h3 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-form-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .contact-info-card {
    padding: 25px 15px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    padding: 12px 14px;
    border-radius: 10px;
  }

  .submit-btn-modern {
    padding: 16px 30px;
    font-size: 15px;
    border-radius: 40px;
  }

  .form-header h3 {
    font-size: 1.5rem;
  }

  .form-header p {
    font-size: 1rem;
  }
}

/* Additional Mobile Optimizations for Better UX */
@media (max-width: 767px) {
  /* Ensure touch targets are at least 44px */
  .btn,
  .nav-link,
  .mobile-menu-btn,
  .estimate-btn,
  .learn-more-btn,
  .view-scheme-btn,
  .submit-btn,
  .submit-btn-modern {
    min-height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Improve form elements for mobile */
  .input-group input,
  .input-group select,
  .form-input,
  .form-select {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Better spacing for mobile content */
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Improve readability */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Smooth scrolling for mobile - Disabled to prevent conflicts with JS animations */
  /* html {
        scroll-behavior: smooth;
    } */

  /* Better modal for mobile */
  .scheme-modal {
    padding: 10px;
  }

  .modal-content {
    margin: 20px auto;
    border-radius: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Ensure images are responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Better focus indicators for accessibility */
  .btn:focus,
  .nav-link:focus,
  .form-input:focus,
  .form-select:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }
}

/* Performance optimizations for mobile */
@media (max-width: 767px) {
  /* Reduce animations on slower devices */
  *,
  *::before,
  *::after {
    animation-duration: 0.5s !important;
    animation-delay: 0s !important;
    transition-duration: 0.3s !important;
  }

  /* Optimize background attachments */
  .hero-video-section,
  .savings-calculator,
  .services-section,
  .gov-initiatives {
    background-attachment: scroll;
  }
}

/* Calculator Loading States */
.result-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.result-card.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.result-card p.updating {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Enhanced Input Group Styling */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.input-group select,
.input-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.input-group select:focus,
.input-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.input-group select:hover,
.input-group input:hover {
  border-color: #007bff;
}



/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Tooltip Styling */
.tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  max-width: 200px;
  text-align: center;
  z-index: 1000;
  opacity: 0;
  animation: tooltip-fade-in 0.3s ease forwards;
}

@keyframes tooltip-fade-in {
  to {
    opacity: 1;
  }
}

.tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.8);
}



/* Responsive Design Improvements */
@media (max-width: 768px) {





}

/* Additional Input Group Enhancements */
.input-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #007bff, #00c853);
  transition: width 0.3s ease;
}

.input-group:hover::before {
  width: 100%;
}

.calculation-toggle {
  text-align: center;
  margin: 20px 0;
}

.calculation-toggle a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

.calculation-toggle a:hover {
  background: rgba(0, 123, 255, 0.1);
  text-decoration: none;
}

/* Enhanced Result Card Styling */
.result-card {
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.result-card:hover::before {
  left: 100%;
}

/* Hero Section */
.hero-video-section {
  padding-top: 0;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 991px) {
  /* Tablet styles */
  .header-container {
    padding: 0 25px;
    min-height: 70px;
  }

  .logo-img {
    height: 55px;
  }

  .header.scrolled .logo-img {
    height: 45px;
  }

  .nav-list {
    gap: 24px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .estimate-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 767px) {
  /* Mobile styles for separated header layout */
  .header {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 15px 2% !important;
    top: 10px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    transform: none !important;
    background: none !important;
  }

  /* Logo section mobile - centered */
  .logo-section {
    width: 100% !important;
    justify-content: center !important;
    order: 1 !important;
  }

  /* COMPLETELY HIDE navigation section on mobile */
  .nav-section {
    display: none !important;
  }

  /* Floating hamburger menu button */
  .mobile-menu-btn {
    display: flex !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    cursor: pointer !important;
    padding: 12px !important;
    gap: 4px !important;
    width: 48px !important;
    height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    z-index: 10001 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  }

  /* Mobile menu overlay */
  .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 10000 !important;
    margin: 0 !important;
  }

  /* Active mobile menu */
  .nav-menu.active {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Mobile nav links styling */
  .nav-menu.active .nav-list {
    flex-direction: column !important;
    gap: 40px !important;
    text-align: center !important;
  }

  .nav-menu.active .nav-link {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    padding: 15px 30px !important;
    text-shadow: none !important;
    background: none !important;
    border-radius: 30px !important;
    display: block !important;
  }

  .nav-menu.active .nav-link:hover,
  .nav-menu.active .nav-link.active {
    background: var(--primary) !important;
    color: #fff !important;
    transform: scale(1.05) !important;
  }

  /* Hide estimate button on mobile */
  .header-actions .estimate-btn {
    display: none !important;
  }

  /* Hamburger button animations */
  .mobile-menu-btn span {
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    background: #333 !important;
    transition: all 0.3s ease !important;
    border-radius: 1px !important;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) !important;
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
  }
}

/* HIDE NAV SECTION ON MOBILE */
@media (max-width: 767px) {
  .nav-section {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 10001 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  }
}

/* END MOBILE NAVIGATION FIX */

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
  .savings-calculator {
    padding: 30px 10px;
  }

  .calculator-container {
    padding: 20px 12px;
    margin: 0 2px;
    border-radius: 20px;
    max-height: 85vh;
  }

  .calculator-container h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
  }

  .calculator-container p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  /* Calculator layout is handled by dedicated mobile styles above */




}

/* ===== ESTEEMED CLIENTS SECTION ===== */

.clients-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.clients-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.clients-header {
  margin-bottom: 60px;
}

.clients-header h6 {
  color: #007bff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clients-header h1 {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 20px;
}

.clients-header p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Client Categories */
.clients-categories {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 60px;
}

.client-category {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
}

.client-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 123, 255, 0.2);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(0, 123, 255, 0.1);
}

.category-icon {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 15px;
  padding: 15px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
}

.category-header h3 {
  color: #2c3e50;
  font-weight: 600;
  margin: 0;
  font-size: 1.5rem;
}

/* Client Logos Grid */
.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 20px;
}

.client-logo-item {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 25px 20px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.client-logo-item:hover {
  background: #ffffff;
  border-color: rgba(0, 123, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.client-logo-item h5 {
  color: #2c3e50;
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.client-logo-item p {
  color: #6c757d;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Credentials Section */
.credentials-section {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 123, 255, 0.1);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 123, 255, 0.05);
  padding: 12px 18px;
  border-radius: 25px;
  border: 1px solid rgba(0, 123, 255, 0.1);
}

.credential-item i {
  font-size: 1.2rem;
  color: #007bff;
}

.credential-item span {
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Partnership Statement */
.partnership-statement {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 25px;
  padding: 50px 40px;
  color: white;
  text-align: center;
}

.statement-content h4 {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.statement-content p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.partnership-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffd700;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
  .clients-section {
    padding: 60px 0;
  }
  
  .clients-header {
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .clients-header h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .clients-header p {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .clients-categories {
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  
  .client-category {
    padding: 25px 20px;
    border-radius: 15px;
  }
  
  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
  }
  
  .category-icon {
    min-width: 50px;
    height: 50px;
    padding: 12px;
  }
  
  .category-header h3 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .client-logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .client-logo-item {
    padding: 20px 15px;
    gap: 12px;
  }
  
  .logo-placeholder {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .client-logo-item h5 {
    font-size: 0.9rem;
  }
  
  .client-logo-item p {
    font-size: 0.8rem;
  }
  
  .credentials-section {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
  }
  
  .credential-item {
    justify-content: center;
    padding: 10px 15px;
  }
  
  .partnership-statement {
    padding: 35px 25px;
    margin: 0 20px;
    border-radius: 20px;
  }
  
  .statement-content h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .statement-content p {
    font-size: 1rem;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  .partnership-stats {
    gap: 25px;
  }
  
  .stat-item {
    min-width: 100px;
  }
  
  .stat-number {
    font-size: 2rem;
    margin-bottom: 6px;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .clients-section {
    padding: 50px 0;
  }
  
  .clients-header {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .clients-header h1 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .clients-header p {
    font-size: 0.95rem;
    padding: 0 5px;
  }
  
  .clients-categories {
    gap: 25px;
    margin-bottom: 30px;
    padding: 0 15px;
  }
  
  .client-category {
    padding: 20px 15px;
    border-radius: 12px;
  }
  
  .category-header {
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
  }
  
  .category-icon {
    min-width: 45px;
    height: 45px;
    padding: 10px;
  }
  
  .category-header h3 {
    font-size: 1.2rem;
  }
  
  .client-logos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .client-logo-item {
    padding: 18px 12px;
    gap: 10px;
  }
  
  .logo-placeholder {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .client-logo-item h5 {
    font-size: 0.85rem;
  }
  
  .client-logo-item p {
    font-size: 0.75rem;
  }
  
  .credentials-section {
    gap: 12px;
    margin-top: 18px;
    padding-top: 18px;
  }
  
  .credential-item {
    padding: 8px 12px;
  }
  
  .credential-item span {
    font-size: 0.85rem;
  }
  
  .partnership-statement {
    padding: 30px 20px;
    margin: 0 15px;
    border-radius: 18px;
  }
  
  .statement-content h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .statement-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding: 0 5px;
  }
  
  .partnership-stats {
    gap: 20px;
  }
  
  .stat-item {
    min-width: 90px;
  }
  
  .stat-number {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .clients-section {
    padding: 40px 0;
  }
  
  .clients-header {
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  .clients-header h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .clients-header p {
    font-size: 0.9rem;
    padding: 0;
  }
  
  .clients-categories {
    gap: 20px;
    margin-bottom: 25px;
    padding: 0 10px;
  }
  
  .client-category {
    padding: 18px 12px;
    border-radius: 10px;
  }
  
  .category-header {
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 10px;
  }
  
  .category-icon {
    min-width: 40px;
    height: 40px;
    padding: 8px;
  }
  
  .category-header h3 {
    font-size: 1.1rem;
  }
  
  .client-logos-grid {
    gap: 10px;
  }
  
  .client-logo-item {
    padding: 15px 10px;
    gap: 8px;
  }
  
  .logo-placeholder {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  
  .client-logo-item h5 {
    font-size: 0.8rem;
  }
  
  .client-logo-item p {
    font-size: 0.7rem;
  }
  
  .credentials-section {
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
  }
  
  .credential-item {
    padding: 6px 10px;
  }
  
  .credential-item span {
    font-size: 0.8rem;
  }
  
  .partnership-statement {
    padding: 25px 15px;
    margin: 0 10px;
    border-radius: 15px;
  }
  
  .statement-content h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .statement-content p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  
  .partnership-stats {
    gap: 15px;
  }
  
  .stat-item {
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
}
