/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;

}

html {
    overflow-x: hidden;  /* NEW: Global horizontal scroll prevention */
}

/* Consolidated body styling - Responsive background with fallback */
body {
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;  /* Ensures it scales on all devices */
  /* MOVED: Fallback under image only on body */
    line-height: 1.6;  /* Improves readability */
    padding-top: 120px;  /* Matches navbar height */
    overflow-x: hidden;  /* NEW: Prevent body-level horizontal scroll */
}

/* Navbar - Fixed and responsive */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 120px; /* Fixed height for consistency */
    color: black;
    padding: 15px 20px;
    position: fixed; /* Keeps it in place */
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional shadow */
    max-width: 100%;  /* NEW: Constrain to viewport */
}

.logo {
    padding-right: 20px;
}

.logo img {
    height: 100px;
    width: auto;
    max-width: 100%;  /* NEW: Prevent logo overflow */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;    /* Keep all in one line */
    /* REMOVED: overflow-x: auto; - Not needed, as it can cause unwanted scroll */
}

.nav-links li {
    margin: 2px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 550;
    white-space: nowrap;  /* NEW: Prevent link text wrapping */
}


.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}


/* Dropdown menu (hidden by default) */
.dropdown-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 9;
    padding-top: 150px; /* Space for the menu toggle */
    margin-top: 20px; /* Add space between navbar and dropdown */
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu li {
    list-style: none;
    padding: 15px 0;
    border-bottom: 1px solid #555;
    
}

.dropdown-menu a {
    text-decoration: none;
    color: black;
    font-size: 1.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

}




/* me */



/* Our Team */

#team-section .title-section {
  margin-bottom: 5px;
}

#team-section .title-section,
.team-members .magnifier-inner {
  text-align: center;
}

.team-members .row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding-left: 0px;
  padding-top: 15px;
}

.member-team {
  position: relative;
  cursor: pointer;
  max-width: 500px;
  margin: 0 auto;
}

.member-team img {
  width: 100%;
  border-radius: 10px;
}

.member-team .magnifier {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.member-team:hover .magnifier {
  opacity: 1;
}

.member-team .magnifier .magnifier-inner {
  position: absolute;
  width: 100%;
  top: 20%;
  padding: 0 20px;
}

.member-team .magnifier .magnifier-inner p {
  font-size: 18px;
  color: #333;
  line-height: 22px;
  margin-bottom: 30px;
}

.member-team .magnifier .magnifier-inner ul.social-icons {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.member-team .magnifier .magnifier-inner ul.social-icons li {
  display: inline-block;
}

.member-team .magnifier .magnifier-inner ul.social-icons li a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #f1f1f1;
  border-radius: 50%;
  text-align: center;
  transition: background 0.3s ease-in-out;
}

.member-team .magnifier .magnifier-inner ul.social-icons li a i {
  color: #8e8e8e;
}

.member-team .magnifier .magnifier-inner ul.social-icons li a:hover {
  background: #000;
}

.member-team .magnifier .magnifier-inner ul.social-icons li a:hover i {
  color: #fff;
}

#team-section .container {
  text-align: center;
  margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 1200px) {
  .team-members .row {
    flex-direction: column;
    align-items: center;
  }

  .member-team {
    max-width: 90%;
  }
}


.info-note {
  position: relative;
  z-index: 0; /* Lower than the hover elements */
  padding-top: 10px;
}



.info-note {
  position: relative;
  z-index: 0;
  max-width: 1000px;
  text-align: center;
  padding: 25px;
  border-left: 5px solid #007bff;
  border-right: 5px solid #007bff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  color: #333;
  transition: transform 0.3s ease;
  margin-top: 20px;
  font-size: 20px;

  /* ✅ Center the element */
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .info-note {
    max-width: 90%; /* Allow it to take more space on smaller screens */
    border-left: none; /* Remove left border */
    border-top: 5px solid #007bff; /* Add top border */
  }
}
