:root {
  --bg: #f9faff;
  --text: #e9ecf8;
  --muted: #a9b0d2;
  --accent: #ff9800;   /* Orange */
  --accent-2: #2196f3; /* Blue */
  --card: #1e2338;
}

/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: #333;
  line-height: 1.6;
}

/* 🔹 Same Header as Gallery */
.header-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  background: rgba(0,0,0,0.85); /* semi-opaque black */
  position: relative;
  z-index: 10;
}

/* Logo */
.logo { display:flex; align-items:center; }
.logo img { height: 50px; }

/* NAV */
nav {
  display:flex;
  gap: 18px;
  align-items:center;
}

/* Apply same hover to all header buttons (links & dropdown triggers) */
nav a,
nav a:visited,
nav a:focus,
nav a:active,
nav .dropdown > a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 180ms ease, transform 180ms ease, background 180ms ease;
  display: inline-block;
}

/* Unified hover/active effect */
nav a:hover,
nav .dropdown > a:hover,
nav a:focus,
nav .dropdown > a:focus {
  color: var(--accent);
  transform: translateY(-2px);
  background: rgba(255,102,0,0.06);
}
nav a.active,
nav .dropdown > a.active {
  background: #ff6600;
  color: #fff;
}


.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: var(--card);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 10px 14px; color: var(--text); }
.dropdown-menu a:hover { background: var(--accent); color: #fff; }

/* Hero Section */
.management-hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #8e24aa, #3949ab);
  color: #fff;
}
.management-hero h1 {
  font-size: 42px;
  margin-bottom: 15px;
}
.management-hero p {
  font-size: 18px;
  opacity: 0.9;
}

/* Team Members */
.management-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Popup Box */
.popup-content {
  background: #fff;
  color: #111;
  padding: 25px 30px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  animation: scaleUp 0.3s ease;
   position: relative; /* ✅ Needed for close button */
}

.popup-content h2 {
  margin-bottom: 15px;
  color: #ff6600;
  text-align: center;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px; right: 25px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}
.close-btn:hover { color: #ff6600; }
/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #3949ab;
  color: #fff;
  margin-top: 40px;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  color: var(--text);
  cursor: pointer;
}

/* Mobile nav */
#navMenu {
  display: flex;
  gap: 18px;
  align-items: center;
}
#navMenu.show {
  display: block;
}
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
  }
  nav a {
    display: block;
    text-align: center;
    padding: 12px;
  }
  .hamburger { display: block; }
}
/* Mobile nav */
#navMenu {
  display: flex;
  gap: 18px;
  align-items: center;
}

@media (max-width: 768px) {
  #navMenu {
    display: none;  /* hide by default on mobile */
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
  }

  #navMenu.show {
    display: flex; /* show when toggled */
  }

  #navMenu a {
    display: block;
    text-align: center;
    padding: 12px;
  }

  .hamburger { display: block; }
}


/* Single executive image */
.executive-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}
.executive-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.executive-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

