/* 2025 Modern Design - Glassmorphism & Trendy Styles */

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

:root {
  /* 2025 Color Palette */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --text-accent: #4a5568;
  --card-bg: rgba(255, 255, 255, 0.12);
  --card-border: rgba(255, 255, 255, 0.15);
  --glow-color: rgba(103, 126, 234, 0.3);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 80px 0;
  --card-padding: 2rem;
  --border-radius: 20px;
  --border-radius-lg: 24px;
}

/* Body & Base */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
  background: #0f0f23;
  min-height: 100vh;
}

/* Animated Background */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    #0f0f23 0%,
    #1a1a2e 25%,
    #16213e 50%,
    #0f0f23 75%,
    #1a1a2e 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Floating Shapes */
.floating-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: var(--primary-gradient);
  opacity: 0.1;
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  background: var(--secondary-gradient);
  animation-delay: -7s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 60%;
  background: var(--accent-gradient);
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

/* Glass Morphism Components */
.glass-container,
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 64px 0 rgba(31, 38, 135, 0.5);
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero-section {
  padding: var(--section-padding);
  text-align: center;
}

.glass-container {
  padding: 3rem 2rem;
  margin: 0 auto;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.highlight-text {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-normal);
  margin-top: 1rem;
}

/* Section Headers */
.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
  margin: 0 auto;
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--secondary-gradient);
  border-radius: 50%;
}

/* Leader Card */
.leader-card {
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: var(--border-radius-lg);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--glow-color), transparent);
  animation: rotate 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.leader-card:hover .card-glow {
  opacity: 1;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.card-content {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.leader-image-container {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.leader-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-image {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(103, 126, 234, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.leader-card:hover .image-overlay {
  opacity: 1;
}

.leader-name {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin: 0;
}

.leader-role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
}

.leader-role i {
  color: #ffd700;
  font-size: 1.2rem;
}

.leader-quote {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.leader-quote:hover {
  transform: translateY(-2px);
}

.leader-quote blockquote {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
  padding: 1rem;
  border-left: 3px solid var(--glow-color);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.leader-quote:hover blockquote {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: #1da1f2;
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.2);
}

.leader-quote cite {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: var(--font-weight-medium);
  transition: color 0.3s ease;
}

.leader-quote:hover cite {
  color: #1da1f2;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.social-link.tiktok:hover {
  background: #000000;
  border-color: #000000;
  color: #ff0050;
}

/* Member Cards */
.member-card {
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.avatar-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.member-name {
  font-size: 1.3rem;
  font-weight: var(--font-weight-semibold);
  color: white;
  margin: 0;
}

.member-social {
  margin-top: auto;
}

.member-social .social-link {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

/* Achievement Cards */
.achievement-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  position: relative;
  height: 250px;
}

.achievement-image {
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.achievement-card:hover .achievement-image img {
  transform: scale(1.05);
}

.achievement-image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 0, 0, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  gap: 1rem;
}

.achievement-card:hover .image-overlay {
  opacity: 1;
}

.achievement-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1.5rem;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.achievement-card:hover .achievement-badge {
  transform: scale(1);
}

.achievement-badge.gold {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #b7791f;
}

.zoom-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  font-size: 1rem;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.achievement-card:hover .zoom-icon {
  transform: scale(1);
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-modal.show {
  opacity: 1;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(50px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modal-caption {
  color: white;
  font-size: 1.1rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

/* Footer */
.glass-footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 4rem;
}

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

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer-text i {
  color: #e91e63;
  animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --card-padding: 1.5rem;
  }
  
  .glass-container {
    padding: 2rem 1.5rem;
  }
  
  .leader-card .card-content {
    padding: 1.5rem;
  }
  
  .leader-image-container {
    width: 150px;
    height: 150px;
  }
  
  .member-card {
    padding: 1.5rem 1rem;
  }
  
  .achievement-card {
    height: 200px;
  }
  
  .social-links {
    gap: 0.75rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .glass-container {
    padding: 1.5rem 1rem;
  }
  
  .leader-image-container {
    width: 120px;
    height: 120px;
  }
  
  .member-avatar {
    width: 60px;
    height: 60px;
  }
  
  .avatar-placeholder {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

/* Animation Performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.95);
    --text-primary: #000000;
    --text-secondary: #333333;
  }
}

/* AOS Animation Styles */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}