/* Reset + font setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 20px;
  font-family: "Poppins", sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.intro-section {
  background-color: #1e2a38;
  color: white;
  padding: 80px 20px;
}

.intro-section h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.designation {
  font-size: 1.2rem;
  color: #a2d2ff;
}

.side-role {
  font-size: 1rem;
  margin-top: 5px;
  color: #b0c4de;
}

.about-section {
  background-color: #12151b;
  color: #f0f0f0;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.about-section p {
  font-size: 1.1rem;
  color: #ccc;
  text-align: left;
}

.profile-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  display: block;
  border: 3px solid #1da1f2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
}

.zoom-container {
  width: 100%;
  height: 100%;
  transform: scale(2);
  transform-origin: center center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-pic {
  width: auto;
  height: 100%;
  object-fit: cover;
  margin-right: 10%;
  margin-bottom: 10%;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 42, 56, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: visible;
}

.modal-img-wrapper {
  position: relative;
  background: transparent;
  display: flex;
  animation: popup 0.25s ease-out;
}

.modal-img-wrapper .close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(51, 51, 51, 0.85);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s ease;
  z-index: 10;
}

.modal-img-wrapper .close-btn:hover {
  background: rgba(85, 85, 85, 0.95);
}

.modal-img-wrapper img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.square-popup {
  width: 300px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.square-popup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

@keyframes popup {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  margin-left: 6px;
  cursor: pointer;
  user-select: none;
  font-size: 0.9rem;
  color: #f0f0f0;
}

#dropdownMenu {
  display: none;
  position: absolute;
  top: 32px;
  left: 0;
  background: #1a1e24;
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

#dropdownMenu.show {
  display: block;
}

#dropdownMenu li {
  padding: 10px 20px;
}

#dropdownMenu li a {
  color: #f0f0f0;
  text-decoration: none;
  display: block;
}

#dropdownMenu li a:hover {
  color: #1da1f2;
}

/* Responsive Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(18, 21, 27, 0.85);
  backdrop-filter: blur(10px);
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: background-color 0.3s ease;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1da1f2;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.menu-toggle {
  display: none;
  font-size: 1.4rem;
  color: #f0f0f0;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 1.6rem;
    z-index: 1000;
  }

  .nav-container {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 20px;
    background: rgba(18, 21, 27, 0.95);
    backdrop-filter: blur(8px);
    flex-direction: column;
    gap: 16px;
    padding: 20px 30px;
    border-radius: 12px;
    display: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    z-index: 999;
    font-size: 1.2rem;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px 0;
    width: 100%;
    color: #f0f0f0;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #1da1f2;
  }
}
