/* ==================== COUNCIL CSS ==================== */

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

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #1a1a1a;
  background: linear-gradient(135deg, 
    rgba(240, 255, 240, 0.75) 0%, 
    rgba(144, 238, 144, 0.65) 20%, 
    rgba(152, 251, 152, 0.55) 40%, 
    rgba(255, 250, 205, 0.65) 60%, 
    rgba(255, 228, 181, 0.65) 80%, 
    rgba(255, 215, 0, 0.55) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(144, 238, 144, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Main Content Container */
main {
  padding: 3rem 0;
  min-height: calc(100vh - 200px);
  position: relative;
  z-index: 1;
}

/* ==================== COUNCIL HEADER SECTION ==================== */
.council-header {
  background: linear-gradient(135deg, 
    rgba(144, 238, 144, 0.45) 0%, 
    rgba(34, 139, 34, 0.55) 50%, 
    rgba(255, 215, 0, 0.45) 100%);
  color: #2D5016;
  padding: 5rem 3rem;
  text-align: center;
  margin: 3rem auto;
  max-width: 1300px;
  border-radius: 30px;
  box-shadow: 
    0 30px 60px rgba(144, 238, 144, 0.2),
    0 0 80px rgba(255, 215, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid rgba(255, 215, 0, 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.council-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(144, 238, 144, 0.1) 0%, transparent 30%),
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
  animation: shimmer 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.council-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 2rem;
  border: 5px solid rgba(255, 215, 0, 0.5);
  box-shadow: 
    0 15px 40px rgba(45, 80, 22, 0.25),
    0 0 30px rgba(255, 215, 0, 0.2),
    inset 0 2px 10px rgba(255, 255, 255, 0.3);
  object-fit: cover;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
}

.council-logo:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 
    0 25px 60px rgba(45, 80, 22, 0.35),
    0 0 50px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.8);
}

.council-name {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #2D5016;
  text-shadow: 
    2px 2px 4px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 215, 0, 0.3);
  letter-spacing: -1px;
  position: relative;
  z-index: 2;
  line-height: 1.2;
}

.council-motto {
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #4D8528;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.council-description {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.9;
  position: relative;
  z-index: 2;
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* ==================== TEAM SECTION ==================== */
.team-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.team-section h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #2D5016;
  position: relative;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.team-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #4D8528, #D89000);
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(216, 144, 0, 0.3);
}

/* Mentor and President Cards */
.mentor-card, .president-card {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(45, 80, 22, 0.15),
    0 0 30px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  margin: 2rem auto;
  max-width: 450px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.mentor-card:hover, .president-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 30px 70px rgba(45, 80, 22, 0.25),
    0 0 50px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.4);
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 5px solid rgba(77, 133, 40, 0.5);
  box-shadow: 
    0 10px 30px rgba(45, 80, 22, 0.2),
    0 0 20px rgba(255, 215, 0, 0.15);
  object-fit: cover;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.85);
}

.profile-pic:hover {
  transform: scale(1.08);
  border-color: rgba(216, 144, 0, 0.7);
  box-shadow: 
    0 15px 40px rgba(45, 80, 22, 0.3),
    0 0 30px rgba(255, 215, 0, 0.3);
}

.mentor-card h3, .president-card h3 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.mentor-card p, .president-card p {
  color: #7f8c8d;
  margin-bottom: 0.5rem;
}

/* Vice Presidents Row */
.vp-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Team Cards */
.team-card {
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 
    0 15px 35px rgba(45, 80, 22, 0.12),
    0 0 20px rgba(255, 215, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 215, 0, 0.15);
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(45, 80, 22, 0.2),
    0 0 35px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
}

.team-card.no-image .profile-pic {
  display: none;
}

.team-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.team-card p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

/* Search Input */
#member-search {
  width: 100%;
  max-width: 400px;
  padding: 12px 20px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 1rem;
  margin: 2rem auto;
  display: block;
  transition: all 0.3s ease;
}

#member-search:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

/* Other Members List */
.other-members {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.other-members h3 {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.other-members ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.other-members li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  color: #555;
}

/* ==================== INITIATIVES SECTION ==================== */
.initiatives-section {
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 4rem 3rem;
  margin: 3rem auto;
  max-width: 1300px;
  box-shadow: 
    0 20px 50px rgba(45, 80, 22, 0.15),
    0 0 30px rgba(255, 215, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.2);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: #2D5016;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #4D8528, #D89000);
  border-radius: 3px;
  box-shadow: 0 2px 10px rgba(216, 144, 0, 0.3);
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.initiative-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(240, 255, 240, 0.8) 100%);
    -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 5px solid #4D8528;
  box-shadow: 
    0 10px 30px rgba(45, 80, 22, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.initiative-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 45px rgba(45, 80, 22, 0.18),
    0 0 25px rgba(255, 215, 0, 0.15);
  border-left-color: #D89000;
}

.initiative-card h4 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.initiative-card p {
  color: #555;
  line-height: 1.6;
}

/* ==================== EVENTS GALLERY SECTION ==================== */
.events-gallery {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.events-gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #2c3e50;
  position: relative;
}

.events-gallery h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.event-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.event-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.event-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.event-item:hover img {
  transform: scale(1.05);
}

.event-item h4 {
  padding: 1rem 1.5rem 0.5rem;
  color: #2c3e50;
  font-size: 1.2rem;
}

.event-item p {
  padding: 0 1.5rem 1.5rem;
  color: #7f8c8d;
  line-height: 1.5;
}

/* Video Gallery */
.video-gallery {
  margin-top: 3rem;
}

.video-gallery h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.video-item {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.video-item video,
.video-item iframe {
  width: 100%;
  height: 250px;
  border: none;
}

.video-item h4 {
  padding: 1rem;
  color: #2c3e50;
  text-align: center;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .council-header {
    padding: 2rem 1rem;
    margin: 1rem;
  }
  
  .council-name {
    font-size: 2rem;
  }
  
  .council-motto {
    font-size: 1.1rem;
  }
  
  .council-description {
    font-size: 1rem;
  }
  
  .team-section {
    padding: 0 1rem;
  }
  
  .team-section h2 {
    font-size: 2rem;
  }
  
  .vp-row {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .other-members ul {
    grid-template-columns: 1fr;
  }
  
  .initiatives-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .video-item video,
  .video-item iframe {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .council-header {
    padding: 1.5rem 0.5rem;
  }
  
  .council-name {
    font-size: 1.8rem;
  }
  
  .profile-pic {
    width: 120px;
    height: 120px;
  }
  
  .mentor-card, .president-card {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .initiatives-section {
    margin: 2rem 0.5rem;
    padding: 2rem 1rem;
  }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ==================== COUNCIL SPECIFIC STYLES ==================== */

/* Section Subtitle */
.section-subtitle {
  text-align: center;
  font-size: 2.2rem;
  margin: 2rem 0;
  color: #2D5016;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

/* Clubs Intro Paragraph */
.clubs-intro {
  margin-bottom: 2rem;
  text-align: center;
  font-size: 1.1rem;
  color: #2c3e50;
}

/* Council Stats */
.council-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.9) 0%, 
    rgba(240, 255, 240, 0.85) 100%);
    -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 
    0 15px 35px rgba(45, 80, 22, 0.12),
    0 0 20px rgba(255, 215, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 215, 0, 0.15);
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 
    0 25px 50px rgba(45, 80, 22, 0.2),
    0 0 35px rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #2D5016;
  display: block;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #4D8528;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Council Mission */
.council-mission {
  background: linear-gradient(135deg, 
    rgba(144, 238, 144, 0.5) 0%, 
    rgba(34, 139, 34, 0.6) 50%, 
    rgba(255, 215, 0, 0.5) 100%);
    -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #1a1a1a;
  border-radius: 30px;
  padding: 4rem 3rem;
  margin: 3rem auto;
  max-width: 1100px;
  text-align: center;
  box-shadow: 
    0 25px 60px rgba(45, 80, 22, 0.2),
    0 0 40px rgba(255, 215, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(255, 215, 0, 0.3);
}

.council-mission h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #2D5016;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.6);
}

.council-mission p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #1a1a1a;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

