/* Keep desktop carousel as is */
.carousel,
.carousel-item,
.carousel-item img {
  height: 100%;
  width: 100%;
  margin-top: 20px;
  object-fit: contain;
  object-position: center;
}

/* Mobile: Show full original image size without cropping */
@media (max-width: 768px) {
  .carousel,
  .carousel-item,
  .carousel-item img {
    height: auto; /* Let image determine its own height */
    width: 100%; /* Full width but maintain aspect ratio */
    object-fit: contain; /* Show complete image without cropping */
    object-position: center;
    max-height: none; /* Remove any height restrictions */
  }
  
  .carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa; /* Optional: Add background color if images have transparency */
  }
  
  .hero-section {
    margin-top: 55px;
  }
}

/* Rest of your existing CSS remains exactly the same */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}

.checkbox input[type="checkbox"] {
  margin-top: 5px;
}

#about .row {
  margin: 0;
}

#about .col-md-6 {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  #about .col-md-6 {
    padding: 10px 15px;
    text-align: center;
  }

  #about img {
    height: auto !important;
  }
}

button,
.btn,
.submit-btn {
  background: linear-gradient(90deg, #0D47A1, #FFC107, #0D47A1);
  background-size: 200%;
  background-position: left;
  color: #ffffff;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: background-position 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animate swipe on hover */
button:hover,
.btn:hover,
.submit-btn:hover {
  background-position: right;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

body {
      background-color: #f9f9f9 !important;
      font-family: 'Poppins', sans-serif;
      color: #333;
    }
    h1, h2, h3, h4, h5 {
      color: #1e3a8a;
    }
  
#fixed-social-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}
#about {
    font-family: 'Poppins', sans-serif;
    background: #f9f9f9;
    color: #333;
    padding: 60px 20px;
  }

  #about .container {
    max-width: 900px;
    margin: auto;
  }

  #about h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
  }

  #about p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  #about ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
  }

  #about ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #444;
  }

  #about ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
  }

  @media (max-width: 768px) {
    #about h2 {
      font-size: 2rem;
    }

    #about p,
    #about ul {
      text-align: center;
    }
  }
   /*end of style about us  */
  
  .hero {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
    font-size: 1.1rem;
  }
}

  body {
  overflow-x: hidden;
}

  
  body {
    background-color:#f0e6d2; /* Very light beige */
    color: #222; /* Darker text for good contrast */
}

  :root {
  --primary-color: #0D47A1;
  --secondary-color: #FFC107;
  --background-color: #F5F5F5;
  --text-color: #333333;
  --navbar-bg: #ffffff;
}

/* Global styles */
body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
  background-color: var(--navbar-bg);
}

.navbar a {
  color: var(--primary-color);
  font-weight: 500;
}

.navbar a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(13, 71, 161, 0.6), rgba(13, 71, 161, 0.6)), url('your-image.jpg') center/cover no-repeat;
  color: #ffffff;
}
/* --- ADD THE FOLLOWING CODE HERE --- */
.hero-text-overlay {
    @media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    position: relative !important;
  }

  section, div, .container, .row, .col {
    max-width: 100vw !important;
    overflow: visible !important;
    height: auto !important;
    position: relative !important;
    display: block !important;
  }

  .hero-section {
    width: 100% !important;
    padding: 20px !important;
    margin: 0 auto !important;
  }

  section {
    padding: 40px 15px !important;
  }

  img, iframe {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}



  /* Fix section layout issues */
  section, div, .container, .row, .col {
    max-width: 100vw;
    overflow: visible !important;
    height: auto !important;
    position: relative !important;
  }

  /* Responsive media (images, iframes, etc.) */
  img, iframe {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Optional: reduce padding for mobile */
  section {
    padding: 40px 15px;
  }
}
/* Hero Text */  

/* Section Titles */
section h2, section h3 {
  color: var(--primary-color);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

/* Cards (Projects, Services) */
.card {
  border: none;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color:#0F172A;
  color: white;
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: #94A3B8;
}

 

  /* Prevent horizontal scroll on entire page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



/* Optional: Center your main wrapper */
.wrapper, .container, .main-content {
  margin: 0 auto;
  max-width: 1200px; /* or whatever width your layout needs */
  width: 100%;
}
.hero {
  background: linear-gradient(135deg, #0D47A1 0%, #FFC107 100%);
  color: #ffffff;
  padding: 100px 0;
  text-align: center;
  background-size: cover;
}

  
    .map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Aspect Ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Make sure no parent element hides the fixed positioning */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}


.project-card img {
      transition: transform 0.3s ease;
      cursor: pointer;
    }

    .project-card img:hover {
      transform: scale(1.05);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    body {
      font-family: 'Segoe UI', sans-serif;
      scroll-behavior: smooth;
    }
    
    .navbar {
      background-color: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }


    .section-title {
      margin-bottom: 2rem;
      font-weight: bold;
      color: #0a3d62;
    }

    .project-card, .testimonial-card {
      box-shadow: 0 0 15px rgba(0,0,0,0.1);
      padding: 2rem;
      border-radius: 10px;
      transition: transform 0.3s ease;
    }

    .project-card:hover, .testimonial-card:hover {
      transform: scale(1.03);
    }

    footer {
      background: #0a3d62;
      color: white;
      padding: 2rem 0;
    }

    .three-column-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 30px;
  background-color: #f3f3f3;
}

.enquiry-form,
.contact-details,
.google-map {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.enquiry-form form input,
.enquiry-form form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.enquiry-form form textarea {
  height: 120px;
}

.enquiry-form form button {
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  background-color: #4CAF50;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

.enquiry-form form button:hover {
  background-color: #45a049;
}
.btn-primary {
  background: linear-gradient(90deg, #0D47A1 0%, #FFC107 100%);
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 600;
  transition: 0.5s;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #FFC107 0%, #0D47A1 100%);
  color: #ffffff;
}


/* Contact Info Styling */
.contact-details h2 {
  color: #4CAF50;
  font-size: 28px;
}

.contact-details h3 {
  margin-top: 20px;
  font-size: 20px;
}

.contact-details p {
  margin: 10px 0;
  font-size: 16px;
}

.contact-details i {
  margin-right: 8px;
  vertical-align: middle;
}

/* Tilt phone icon */
.phone-icon {
  transform: rotate(110deg);
  display: inline-block;
}

/* Map Styling */
.google-map {
  height: 400px;
}

/* Responsive */
@media (max-width: 992px) {
  .three-column-container {
    flex-direction: column;
  }

  .google-map {
    height: 300px;
  }
  
}
#fixed-social-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column; /* 👈 for vertical stack */
  gap: 10px;
}

#fixed-social-buttons a {
  color: white;
  padding: 12px;
  border-radius: 50%;
  text-align: center;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

/* Individual platform styles */
.whatsapp {
  background: #1ebe5d;
}

.instagram {
  background: #a92b6f;
}

.facebook {
  background: #3b5998;
}

.whatsapp:hover,
.instagram:hover,
.facebook:hover {
  opacity: 0.85;
}



.testimonial-card {
      transition: transform 0.5s ease, box-shadow 0.5s ease;
    }
    
    .swiper-slide-active .testimonial-card {
      transform: scale(1.03);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
    .navbar-scrolled {
    background-color: white !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}
/* Sticky footer layout support */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

/* Footer styling */
.footer {
  background: linear-gradient(135deg, #0D47A1, #001F54);
  color: #ffffff;
  padding: 40px 0 20px;
  font-size: 16px;
  margin-top: auto;
}

.footer a.footer-link {
  color: #FFC107;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}

.footer a.footer-link:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-line {
  border-top: 1px solid #ffffff;
  margin: 20px 0;
  opacity: 0.2;
}