
/* ===== CSS Variables ===== */
:root {
  /* Light Mode */
  --primary: #3a5ba0;
  --primary-dark: #2c3f66;
  --secondary: #10b981;
  --accent: #e76f51;
  --light: #f5f7fa;
  --dark: #1e293b;
  --gray: #cbd5e1;
  --white: #ffffff;
  --black: #000000;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --max-width: 1200px;
  --nav-height: 80px;
  --font-primary: "Inter", system-ui, sans-serif;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--primary);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h4 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-bottom: 1.5rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Utility Classes ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

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

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--secondary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  background: var(--primary);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

/* ===== Header & Navigation ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: var(--nav-height);
}

.header-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: transform 0.4s ease;
}

.logo:hover .logo-img {
  transform: scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text h1 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--primary);
}

.logo-text span {
  font-size: 1.1rem;
  color: var(--secondary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links > li { 
  position: relative;
}

.nav-links a {
  font-weight: 600;
  color: var(--dark);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.nav-links a i {
  font-size: 0.9rem;
  color: var(--dark);
  transition: var(--transition);
}

.nav-links a:hover i,
.nav-links .current a i {
  color: var(--secondary);
  transform: scale(1.2);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.4s ease;
}

.nav-links a:hover::after,
.nav-links .current a::after {
  width: 100%;
}

.nav-links .current a { color: var(--secondary); }

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  z-index: 100;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: var(--dark);
  transition: var(--transition);
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background: var(--light);
  color: var(--secondary);
  padding-left: 1.8rem;
  transform: translateX(5px);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.4s ease;
}

.hamburger:hover {
  transform: rotate(90deg);
}

/* Mobile Menu Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-backdrop.active {
  display: block;
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
position: fixed;
bottom: 2rem;
right: 2rem;
background: var(--primary);
color: var(--white);
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow);
opacity: 0;
visibility: hidden;
transition: var(--transition);
z-index: 1000;
transform: scale(0.8);
}

.back-to-top.visible {
opacity: 1;
visibility: visible;
transform: scale(1);
}

.back-to-top:hover {
background: var(--primary-dark);
transform: translateY(-3px) scale(1.1);
}


/* ===== Committee Section Styles ===== */
.committee-section {
  background: var(--white);
  padding: 5rem 0;
  margin-top: var(--nav-height);
}

.committee-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.committee {
  position: relative;
  margin-bottom: 3rem;
}

.committee-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.committee-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.committee-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 0;
  background: var(--secondary);
  transition: height 0.6s ease;
}

.committee-card:hover::before {
  height: 100%;
}

.committee-card h2 {
  margin-bottom: 0.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.committee-card h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.committee-card:hover h2::after {
  transform: scaleX(1);
}

.role {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.5rem;
  display: block;
}

.committee-members {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.committee-member {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-radius: var(--radius);
  transition: var(--transition);
  border-left: 3px solid transparent;
}

.committee-member:hover {
  background: rgba(16, 185, 129, 0.05);
  border-left-color: var(--secondary);
  transform: translateX(5px);
}

.member-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1.5rem;
  flex-shrink: 0;
  border: 3px solid var(--light);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.committee-member:hover .member-photo {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.committee-member:hover .member-photo img {
  transform: scale(1.1);
}

.member-info {
  display: flex;
  flex-direction: column;
}

.member-name {
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.member-position {
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: var(--dark);
  opacity: 0.8;
}

/* ===== Footer ===== */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary);
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
  color: #bdc3c7;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--secondary);
  transform: translateX(10px);
}

.contact-info { list-style: none; }

.contact-info li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-info i {
  margin-top: 3px;
  color: var(--secondary);
}

.social {
  display: flex;
  gap: 25px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--black);
  color: var(--dark);
  font-size: 1.3rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social a:nth-child(1) { color: #3b5998; }
.social a:nth-child(2) { color: #1da1f2; }
.social a:nth-child(3) { color: #e1306c; }
.social a:nth-child(4) { color: #25d366; }

.social a:hover,
.social a:focus {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-hover);
}

.social a:nth-child(1):hover,
.social a:nth-child(1):focus { background: #3b5998; color: white; }
.social a:nth-child(2):hover,
.social a:nth-child(2):focus { background: #1da1f2; color: white; }
.social a:nth-child(3):hover,
.social a:nth-child(3):focus { background: #e1306c; color: white; }
.social a:nth-child(4):hover,
.social a:nth-child(4):focus { background: #25d366; color: white; }

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}
.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.tech-badge {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #03fa6e;
  border-radius: 4px;
  background: rgba(0, 10, 20, 0.4);
  backdrop-filter: blur(4px);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tech-badge span {
  font-size: 0.7em;
  color: #03fa6e;
  display: block;
}

.tech-badge strong {
  font-size: 0.9em;
  color: white;
  font-weight: 500;
}

.tech-badge:hover {
  background: rgba(0, 243, 255, 0.1);
  border-color: #03fa6e;
}
/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Mobile Styles ===== */
@media (max-width: 1138px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--nav-height));
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1rem;
    transition: left 0.4s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-links.active {
    left: 0;
  }

  .dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.02);
    display: none;
    margin-left: 1rem;
    margin-top: 0.5rem;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .hamburger {
    display: block;
  }

  .committee-members {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .committee-section { padding: 3rem 0; }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .committee-card {
    padding: 1.5rem;
  }

  .member-photo {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
  }
}

@media (max-width: 480px) {
  .committee-member {
    flex-direction: column;
    text-align: center;
  }

  .member-photo {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
