body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
}

.section-padding {
  padding: 80px 0; /* Increased padding for more breathing room */
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background-color: #e0f2f7; /* Light blue header/navbar background */
}

.navbar-brand img {
  height: 50px; /* Adjust logo size */
}

.nav-link {
  font-weight: 500;
  color: #333 !important;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffc107 !important; /* Warning color for active/hover */
}

/* Hero Section with Video Background (for index.html) */
.hero-video-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

#heroVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Darker overlay for better text readability */
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-content p.lead {
  font-size: 1.7rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-content .btn {
  font-size: 1.3rem;
  padding: 15px 40px;
  border-radius: 50px;
  background-color: #ffc107;
  border-color: #ffc107;
  color: #333; /* Darker text for contrast */
  transition: all 0.3s ease;
}

.hero-content .btn:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Page Headers for About Us and Contact Page */
/* Assuming a generic class like 'page-header' or specific IDs like 'about-header' and 'contact-header' */
/* You'll need to add a class or ID to the HTML container for these headers in about.html and contact-page.html */

.page-header {
  background-color: #e0f2f7; /* Light blue background for page headers */
  padding: 120px 20px 80px; /* Top padding to account for fixed navbar, adjust as needed */
  text-align: center;
  margin-top: 70px; /* Push down content below fixed navbar */
  /* Remove any existing margin-top from the elements inside if they are pushing it down */
}

.page-header h1,
.page-header h2 {
  font-size: 3.5rem; /* Larger font for main page titles */
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.3rem;
  color: #555;
  max-width: 700px; /* Limit width for readability */
  margin: 0 auto; /* Center the paragraph */
}


/* Section Titles (for other sections on index.html, about.html, contact-page.html) */
section h2 {
  font-weight: 600;
  font-size: 2.8rem; /* Slightly larger heading */
  color: #333;
  margin-bottom: 40px;
}

/* Cards in Why Choose Us and Projects */
.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px); /* More pronounced lift on hover */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.18);
}

.card-body {
  padding: 30px;
}

.card-title {
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 15px;
  color: #333;
}

.card-text {
  color: #666;
}

.card .display-4 {
  font-size: 3.5rem;
  color: #ffc107;
}

.project-card .card-img-top {
  height: 250px; /* Fixed height for project images */
  object-fit: cover; /* Ensures images cover the area without distortion */
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.project-card .btn {
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: #ffc107;
  border-color: #ffc107;
  color: #333;
  transition: all 0.3s ease;
}

.project-card .btn:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  transform: translateY(-2px);
}


/* Contact Form Enhancements */
#contact .form-control {
  border-radius: 10px;
  padding: 12px 15px;
  border: 1px solid #ddd;
}

#contact .form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

#contact .btn-warning {
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 10px;
  background-color: #ffc107;
  border-color: #ffc107;
  color: #333;
  transition: all 0.3s ease;
}

#contact .btn-warning:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #333;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-info a {
  color: #ffc107;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #e0a800;
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  background-color: #f8f9fa; /* Light gray background for testimonials */
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}

.testimonials-section h2 {
  font-size: 2.5em;
  color: #333;
  margin-bottom: 40px;
}

.testimonial-item {
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.testimonial-item .testimonial-text {
  font-size: 1.2em;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-item .testimonial-author {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.testimonial-item .testimonial-title {
  font-size: 1em;
  color: #777;
  margin-top: 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  color: #000;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 15px;
}

.carousel-indicators button {
  background-color: #888;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 5px;
  border: none;
}

.carousel-indicators button.active {
  background-color: #ffc107; /* Matching indicator to brand color */
}


/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  font-size: 2.2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
  background-color: #212529 !important;
  color: #f8f9fa;
  padding: 50px 0;
}

footer h5 {
  color: #ffc107;
  margin-bottom: 20px;
}

footer p,
footer li {
  font-size: 0.95rem;
  color: #adb5bd;
}

footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffc107;
}

footer .border-top {
  border-color: #495057 !important;
}

.social-icons {
  margin-left: 15px;
  display: inline-flex;
  gap: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffc107;
  text-decoration: none;
}

/* Responsive Enhancements */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-content p.lead {
    font-size: 1.4rem;
  }
  .hero-content .btn {
    font-size: 1.1rem;
    padding: 10px 25px;
  }
  .page-header h1,
  .page-header h2 {
    font-size: 3rem;
  }
  .page-header p {
    font-size: 1.1rem;
  }
  section h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .hero-content p.lead {
    font-size: 1.2rem;
  }
  .hero-content .btn {
    font-size: 1rem;
    padding: 8px 20px;
  }
  .page-header {
    padding: 100px 15px 60px;
  }
  .page-header h1,
  .page-header h2 {
    font-size: 2.5rem;
  }
  .page-header p {
    font-size: 1rem;
  }
  .section-padding {
    padding: 50px 0;
  }
  section h2 {
    font-size: 2rem;
  }
  .whatsapp-button {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
  }
  .testimonials-section {
    padding: 40px 15px;
  }
  .testimonials-section h2 {
    font-size: 2em;
  }
  .testimonial-item {
    padding: 20px;
  }
  .testimonial-item .testimonial-text {
    font-size: 1em;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 8%;
  }
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 10px;
  }
  .footer .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .social-icons {
    margin-top: 10px;
    margin-left: 0;
  }
}

@media (max-width: 575px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p.lead {
    font-size: 1rem;
  }
  .page-header h1,
  .page-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
  }
  .testimonial-author img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 60px 20px;
  background-color: #e0f2f7; /* Changed from #f8f9fa to light blue */
  text-align: center;
  font-family: Arial, sans-serif;
  color: #333;
}