/* Navbar Styling (unchanged) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-link{
    font-size: 1rem;
    font-weight: bold;
  }
  
  .navbar-logo {
    width: 180px;
    height: 50px;
  }
  
  .wattsapp-float {
    z-index: 9999;
    position: fixed;
    bottom: 40px;
    right: 5px;
  }
  
  .phone-float {
    z-index: 9999;
    position: fixed;
    bottom: 110px;
    right: 5px;
  }

/* main part images */
/* Gallery Styling */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 images per row on laptop */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  padding: 0 20px;
}

.gallery-item {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.gallery-item:hover {
  transform: scale(1.05);
}

/* Gallery Button Styling */
.gallery-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.btn-gallery {
  padding: 12px 25px;
  border: 2px solid #002043;
  background-color: transparent;
  color: #002043;
  cursor: pointer;
  border-radius: 50px; /* Capsule shape */
  transition: 0.3s ease-in-out;
}

.btn-gallery.active {
  background-color: #002043;
  color: white;
}

.btn-gallery:hover {
  background-color: #002043;
  color: white;
}

/* Responsive Layout */
@media (max-width: 1024px) {
  .gallery-container {
    grid-template-columns: repeat(4, 1fr); /* 4 images per row on tablet */
  }
}

@media (max-width: 768px) {
  .gallery-container {
    grid-template-columns: 1fr; /* 1 image per row on mobile */
  }

  .gallery-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-gallery {
    width: 100%; /* Full-width buttons on mobile */
  }
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 50px;
  overflow: hidden;
}

.modal-content-container {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  text-align: center;
}

.modal-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover {
  color: #ff4d4d;
}

/* Add professionalism */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

.gallery-section {
  padding: 40px 0;
}

h1, h2 {
  text-align: center;
  font-weight: 700;
  color: #333;
}

/* Ensuring that modal does not overlap navbar */
@media (max-width: 768px) {
  .modal-content-container {
    max-width: 95%;
    max-height: 70%;
  }
}

@media (min-width: 768px) {
  .modal-content-container {
    max-width: 70%;
    max-height: 70%;
  }
}


/* 6th part- footer */
.footer {
  background-color: #02194b; /* Navy blue background */
  color: #f8f9fa; /* Light text */
}

.footerimg{
  max-width:100%;
  height:auto;
}

.footer h4, .footer h5 {
  font-weight: bold;
  color:rgb(255, 217, 0);
}

.footer p {
  font-size: 1.2rem;
  color: rgba(245, 245, 245, 0.646);
}

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

.footer ul li a {
  color: #f8f9fa;
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: #ffcc00; /* Gold color for hover effect */
}

.footer .bi {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.footer .bi:hover {
  transform: scale(1.2);
  color: #ffcc00; /* Gold for social media icon hover */
}


@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer .d-flex {
    justify-content: center;
    gap: 1rem;
  }

  .footer form {
    margin-top: 20px;
  }
}
