/* -------------------------
   Devices up to 1050px wide
-------------------------- */
@media (max-width: 1050px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.active {
    display: block;
  }

  .logo img  {
    width: 10%;
    height: auto;
  }
  .logo2 img {
    width: 60%;
  }

  .team-section {
    padding: 40px 40px;
    gap: 20px;
  }

  .member {
    flex-direction: column;
    text-align: center;
  }

  .profile-section {
    flex-direction: column;
    align-items: center;
  }

  .profile-text {
    text-align: center;
  }

  .profile-image img {
    max-width: 300px;
  }

  .iw-wrapper {
    flex-direction: column;
  }
}

















/* -------------------------
   Tablets
-------------------------- */
@media (max-width: 768px) {
  .logo img {
    width: 10%;
  }
 .logo2 img {
width: 50%;
 }
  .nav-menu {
    display: none;
  }

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

  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .mts-contact-wrapper {
    flex-direction: column;
  }

  .carousel-inner {
    height: 60vh;
  }

  .carousel-img {
    object-fit: cover;
  }
}






@media (max-width: 500px) {

  /* Navbar Adjustments */
  header.navbar,
  .navbar {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    height: auto;
  }

  .logo,
  .logo2 {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .logo img  {
    width: 10%;
    height: auto;
  }
  .logo2 img {
    width: 40%;
  }

  .Dist h1 {
    font-size: 20px;
    text-align: center;
  }

  .Dist h6 {
    font-size: 14px;
    text-align: center;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu ul,
  .mobile-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .nav-menu ul li,
  .mobile-menu ul li {
    margin: 5px 0;
  }

  .hamburger {
    display: flex !important;
    margin-top: 10px;
  }

  .mobile-menu {
    display: none;
    background: #0078cc;
    padding: 15px;
  }

  .mobile-menu.active {
    display: block;
  }

  /* Text Resizing */
  .text-content h1 span {
    font-size: 1.5rem;
  }

  .text-content h2,
  .info h2 {
    font-size: 1.2rem;
  }

  .text-content p,
  .info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Profile and Member Layout */
  .profile-section,
  .member {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .profile-image img {
    max-width: 90%;
    height: auto;
  }

  .iw-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  /* Team Section */
  .team-section {
    padding: 20px;
    gap: 20px;
  }

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

  .team-member img {
    height: auto;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    padding: 0 10px;
    text-align: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 200px;
    object-fit: cover;
  }

  .caption {
    font-size: 1rem;
    padding: 10px;
  }

  /* Contact Section */
  .mts-contact-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .mts-map,
  .mts-image {
    height: 250px;
  }

  /* Carousel */
  .carousel-inner {
    height: 50vh;
  }

  .carousel-img {
    object-fit: cover;
  }

}




































/* Desktop default styles */
.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #0078cc;
  color: white;
}

.nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn.gold {
  background-color: gold;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .nav-menu ul {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 70px; /* Adjust based on nav height */
    left: 0;
    width: 100%;
    background-color: #0078cc;
    z-index: 999;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 10px 0;
  }

  .mobile-menu ul li {
    text-align: center;
    margin: 10px 0;
  }

  .mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
  }

  .actions {
    gap: 10px;
  }
}


/* -------------------------
   Devices up to 420px wide
-------------------------- */
@media (max-width: 420px) {
  /* Logo size smaller */
  .logo img {
    width: 8%;
    height: auto;
  }

  .logo2 img {
    width: 35%;
  }

  /* Navbar tweaks */
  .navbar {
    padding: 8px 10px;
  }

  .hamburger {
    margin-top: 5px;
  }

  .mobile-menu {
    padding: 10px;
  }

  /* Text resizing */
  .Dist h1 {
    font-size: 18px;
  }

  .Dist h6 {
    font-size: 12px;
  }

  .text-content h1 span {
    font-size: 1.2rem;
  }

  .text-content h2,
  .info h2 {
    font-size: 1rem;
  }

  .text-content p,
  .info p {
    font-size: 0.8rem;
  }

  /* Profile images */
  .profile-image img {
    max-width: 100%;
  }

  /* Footer */
  .footer-bottom {
    gap: 5px;
    font-size: 0.9rem;
  }

  /* Gallery */
  .gallery-item img {
    height: 180px;
  }

  .caption {
    font-size: 0.9rem;
  }

  /* Contact section */
  .mts-map,
  .mts-image {
    height: 200px;
  }

  /* Carousel */
  .carousel-inner {
    height: 40vh;
  }
}


