html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.navbar-wrapper {
  position: fixed;
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(1px);
  z-index: 999;
  font-family: 'Segoe UI', sans-serif;
}

.navbar {
  margin: 0 !important;
  padding: 0 !important;
}

.navbar .navbar-brand,
.navbar .nav-link {
  color: white;
  font-size: 1.1rem;
  text-transform: uppercase;
}

.navbar .nav-link:hover,
.navbar .navbar-brand:hover {
  color: #ffd700;
}

.logo-img {
  height: 60px;
  max-height: 8vh;
}

.divider-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.6);
  width: 950px;
  margin: 0 auto;
  margin-left: 420px;
}

.sub-nav-desktop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 55px;
  font-size: 1.3rem;
  padding: 1px 0;
}

.sub-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0;
}

.sub-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s ease;
  display: inline-block;
  text-align: center;
}

.sub-link:hover {
  color: #ffd700;
}

@media (max-width: 991px) {
  .sub-nav-desktop {
    display: none;
  }


  .sub-nav-mobile {
    display: flex;
  }

  .sub-link {
    text-align: left;
    padding-left: 1rem;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    margin-right: 150px;
  }
}


/* === Default: Mobile-first approach === */
#mainCarousel,
.carousel-inner,
.carousel-item {
  height: auto;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  /* Ensure full image is visible */
  display: block;
}

/* Optional: Improve caption visibility */
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 8px;
  font-size: 0.9rem;
}

/* === Tablet & Up: Larger height === */
@media (min-width: 768px) {

  .carousel-inner,
  .carousel-item {
    height: 400px;
  }

  .carousel-item img {
    height: 100%;
    object-fit: cover;
    /* Crop & fill the area attractively */
  }

  .carousel-caption {
    font-size: 1rem;
  }
}

/* === Desktop & Up: Even taller === */
@media (min-width: 992px) {

  .carousel-inner,
  .carousel-item {
    height: 600px;
  }

  .carousel-item img {
    height: 100%;
    object-fit: cover;
  }

  .carousel-caption {
    font-size: 1.2rem;
  }
}

.content-section {
  margin-top: 20px;
  /* or adjust as per navbar height */
}


.our_project_gallery {
  object-fit: cover;
  max-height: 400px;
  width: 100%;
  border-radius: 10px;
}


.why-choose {
  background-color: #fdf8f0;
}

/* Accordion Card Shadows */
.accordion .accordion-item {
  border: none;
  border-radius: .5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
  margin-bottom: 1rem;
}

.accordion-button {
  border-radius: .5rem;
  padding: 1rem;
}

.accordion-button:focus {
  box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}


.contact-section {
  padding: 50px 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  border-radius: 8px;
  box-shadow: none;
}

.contact-form textarea {
  resize: none;
  height: 120px;
}

.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.submit-btn {
  background-color: #00cc44;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
}

.submit-btn:hover {
  background-color: #009933;
}

.contact-title {
  color: deeppink;
  font-weight: bold;
}

.office-icon {
  width: 20px;
  margin-right: 10px;
}

.office-contact {
  font-size: 0.95rem;
}

/*****************************gallery section-----------------------------------------*/
.gallery-title {
  text-align: center;
  margin: 40px 0;
  font-weight: bold;
  color: #007bff;
}

.gallery-img {
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.modal-img {
  width: 90%;
  border-radius: 12px;
}

.card {
  border: none;
  background-color: transparent;
}



/***************************************contact us*****************************************/
.contact-section {
  padding: 60px 0;
}

.form-container,
.map-container {
  background: white;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

h2 {
  color: #007bff;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-control {
  border-radius: 10px;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 15px;
}

@media (max-width: 767px) {
  .map-container {
    height: 300px;
    margin-top: 30px;
  }
}

@media (min-width: 768px) {
  .map-container {
    height: 100%;
  }
}


/****************************start mission section*********************************/
.mission-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mission-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-content {
  padding: 30px;
  background-color: #ffffff;
}

.mission-title {
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
}

.mission-text {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .mission-title {
    font-size: 1.5rem;
  }
}