/* Base Styles */
:root {
  --primary-color: #003366;
  --secondary-color: #0056b3;
  --accent-color: #00bfff;
  --light-color: #e6f7ff;
  --dark-color: #001f3f;
  --text-color: #333;
  --light-text: #fff;
  --card-bg: #fff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: #f9f9f9;
  line-height: 1.6;
}


html, body {
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

.ho-container {
  padding: 0 15px; 
  overflow-x: hidden;
  box-sizing: border-box;
}


/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-text);
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  z-index: 1;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease;
  position: relative;
}

.hero-section p {
  font-size: 1.2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Main Content */
.com-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  gap: 2rem;
}

.sidebar {
  flex: 0 0 300px;
  background-color: var(--primary-color);
  border-radius: 10px;
  padding: 2rem;
  height: fit-content;
  box-shadow: var(--shadow);
  position: sticky;
  top: 120px;
}

.sidebar h2 {
  color: var(--light-text);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

#committeeList {
  list-style: none;
}

#committeeList li {
  color: var(--light-text);
  padding: 0.8rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

#committeeList li:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

#committeeList li i {
  font-size: 1.1rem;
}

.content {
  flex: 1;
}

.committee-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

#committeeTitle {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0;
  position: relative;
  display: inline-block;
}

#committeeTitle::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.committee-count {
  background-color: var(--accent-color);
  color: var(--light-text);
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  animation: pulse 2s infinite;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.member-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

.member-card:nth-child(odd) {
  animation-delay: 0.5s;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-color);
  transition: var(--transition);
}

.member-card:hover::before {
  width: 8px;
  background-color: var(--secondary-color);
}

.welcome-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-color);
  opacity: 0.7;
}

.welcome-message i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  animation: bounce 2s infinite;
}

.welcome-message p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}


/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}



@media (max-width: 480px) {
  .logo span {
    font-size: 1.2rem;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  #committeeTitle {
    font-size: 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
}

 /* Right panel */
 .content {
  padding: 30px;
  overflow-y: auto;
}

#committeeTitle {
  font-size: 28px;
  margin-bottom: 10px;
}

#memberCount {
  display: inline-block;
  background-color: #2980b9;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.members-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.member-card {
  background-color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  opacity: 0;
}


.welcome-message {
  text-align: center;
  font-size: 18px;
  color: #666;
  grid-column: 1 / -1;
}



/* Responsive view */
@media (max-width: 1200px) {
  /* Large desktop adjustments */
  .com-container {
    max-width: 100%;
    padding: 0 1.5rem 2rem;
  }
  
  .sidebar {
    flex: 0 0 280px;
  }
  
  .members-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 992px) {
  /* Tablet landscape / small desktop */
  .hero-section h1 {
    font-size: 2.2rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .com-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .sidebar {
    position: static;
    flex: 1;
    width: 100%;
  }
  
  #committeeList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.5rem;
  }
  
  #committeeList li {
    margin-bottom: 0;
    padding: 0.7rem;
  }
  
  .content {
    width: 100%;
  }
  
  #committeeTitle {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  /* Tablet portrait */
  .hero-section {
    padding: 3rem 1.5rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .sidebar h2 {
    font-size: 1.3rem;
  }
  
  #committeeList {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  
  .committee-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .committee-count {
    align-self: flex-end;
  }
  
  .members-grid {
    gap: 1.2rem;
  }
  
  .member-card {
    padding: 1.2rem;
  }
}

@media (max-width: 576px) {
  /* Mobile devices */
  .hero-section {
    padding: 2.5rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.7rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .com-container {
    padding: 0 1rem 1.5rem;
  }
  
  .sidebar {
    padding: 1.5rem;
  }
  
  #committeeList {
    grid-template-columns: 1fr;
  }
  
  #committeeList li {
    padding: 0.8rem 1rem;
  }
  
  #committeeTitle {
    font-size: 1.5rem;
  }
  
  .members-grid {
    grid-template-columns: 1fr;
  }
  
  .member-card {
    animation: none;
    transform: none !important;
  }
  
  .welcome-message i {
    font-size: 2.5rem;
  }
  
  .welcome-message p {
    font-size: 1rem;
  }
}

@media (max-width: 400px) {
  /* Small mobile devices */
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .sidebar {
    padding: 1.2rem;
  }
  
  #committeeList li {
    font-size: 0.95rem;
  }
  
  #committeeTitle {
    font-size: 1.3rem;
  }
  
  .committee-count {
    font-size: 0.9rem;
    padding: 0.2rem 0.8rem;
  }
  
  /* Animation adjustments for small devices */
  .hero-section h1 {
    animation-duration: 0.8s;
  }
  
  .hero-section p {
    animation-duration: 0.8s;
  }
  
  #committeeList li {
    transition: none;
  }
  
  #committeeList li:hover {
    transform: none;
  }
}