* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

header {
  color: #333;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.navbar-brand img {
  max-height: 50px; /* Adjust the maximum height as needed */
  width: auto;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  margin-left: auto;
  gap: 1rem;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  padding: 0.5rem 1rem;
  transition: background 0.3s;
  border-radius: 5px;
}

.enquire-button {
  color: #ffffff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
}

main {
  flex-grow: 1;
  padding: 2rem;
  background-color: #ffffff;
}

.intro-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 2px solid #add8e6;
}

.intro-text {
  flex: 1;
  margin-right: 2rem;
}

.intro-text h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.2rem;
  color: #555;
}

.intro-photo {
  flex: 1;
}

.hero-img {
  height: 80vh;
  width: 900px;
  object-fit: cover;
  border-radius: 10px;
}

.grant-section,
.home-energy-section {
  padding: 6rem 0; /* Adjust the padding as needed */
}

.grant-section {
  border-bottom: none; /* Remove the bottom border */
}

.grant-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.grant-content {
  display: flex;
  flex-direction: column;  /* Add this line */
  justify-content: flex-start;  /* Change this from space-between */
  align-items: flex-start;  /* Change this from center */
}

.grant-photo {
  flex: 1;
  margin-right: 2rem;
}

.grant-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.grant-text {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.grant-text h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.grant-text p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.home-energy-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.home-energy-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

footer {
  background-color: #f0f8ff;
  color: #333;
  text-align: center;
  padding: 1rem;
  border-top: 2px solid #add8e6;
}

/* Styles for About Us page */
.about-section {
  padding: 4rem 0;
}

.about-section h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.about-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

.about-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Ensuring consistent button styles */
.btn-custom {
  color: #333;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s, border 0.3s;
}

.btn-custom:hover {
  background-color: #9dfcff;
}

/* Existing styles */

/* New styles for ECO Scheme page */
.eco-scheme-section {
  padding: 4rem 0;
}

.eco-scheme-section h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.eco-scheme-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.eco-scheme-section h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.eco-scheme-section p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1rem;
}

.eco-scheme-section ul {
  list-style-type: disc;
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.eco-scheme-section li {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.solar-image {
  display: block;
  margin: 1.5rem 0;
  max-width: 100%;
  padding: 0.5rem;
}

.heat-pump-image {
  display: block;
  margin: 1.5rem 0;
  height: auto; /* Or specify a fixed height */
  width: 100%; /* Or specify a fixed width */
}

/* qualifying benefits */
.qualifying-benefits-section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.benefit-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #198754, #157347);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon i {
  font-size: 1.8rem;
  color: white;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table thead {
  background-color: #198754;
  color: white;
}

.table th, .table td {
  padding: 1rem;
  vertical-align: middle;
}

.btn-lg {
  padding: 1rem 2rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .benefit-card {
    padding: 1.5rem;
  }
  
  .benefit-icon {
    width: 60px;
    height: 60px;
  }
  
  .table-responsive {
    margin-top: 2rem;
  }
}

/* New Modern Styles */
.hero-section {
  position: relative;
  background: url('/assets/hero-img.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  padding: 2rem;
  max-width: 600px;
}

.min-vh-80 {
  min-height: 80vh;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;  /* Adjust this value as needed */
  height: 80px;  /* Adjust this value as needed */
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* This will ensure the image covers the area without distortion */
  border-radius: 8px;  /* Optional: adds rounded corners */
}

.benefit-list {
  margin-top: 2rem;
}

.benefit-item {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #198754;
}

.benefit-item h4 {
  color: #333;
  margin-bottom: 0.5rem;
}

.cta-section {
  background: linear-gradient(45deg, #198754, #157347);
  color: white;
  padding: 5rem 0;
}

.btn {
  padding: 0.8rem 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.grant-img {
  transition: transform 0.3s ease;
}

.grant-img:hover {
  transform: scale(1.02);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
    text-align: center;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-lg {
    width: 100%;
  }
}

/* Form Styles */
.form-hero {
  min-height: 40vh;
  background: linear-gradient(45deg, #198754, #157347);
}

.form-container {
  margin-top: -50px;
  position: relative;
  z-index: 1;
}

.form-section {
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 2rem;
}

.form-section:last-child {
  border-bottom: none;
}

.form-section h3 {
  color: #198754;
  font-size: 1.5rem;
  font-weight: 600;
}

.form-label {
  font-weight: 500;
  color: #495057;
}

.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #198754;
  box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.form-check-input:checked {
  background-color: #198754;
  border-color: #198754;
}

@media (max-width: 768px) {
  .form-container {
    margin-top: -30px;
    padding: 1.5rem !important;
  }
  
  .form-section {
    padding-bottom: 1.5rem;
  }
}

.badge-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.badge {
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.progress-steps {
  margin-top: 2rem;
}

.step {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: white;
  font-size: 0.9rem;
  position: relative;
}

.step.active {
  background: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1.5rem;
  top: 50%;
  width: 1rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .progress-steps {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .step:not(:last-child)::after {
    display: none;
  }
  
  .badge-wrapper {
    gap: 0.5rem;
  }
}

.process-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.process-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #198754, #157347);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.process-icon i {
    font-size: 1.8rem;
    color: white;
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(25, 135, 84, 0.1);
}

.process-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.process-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.process-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.process-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.process-features li i {
    color: #198754;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .process-card {
        padding: 1.5rem;
    }
    
    .process-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-number {
        font-size: 2.5rem;
    }
}
