/* ============================================
   MORA CHESS - Complete Redesign
   Color Theme: #010024, #f9c939, Black, White
   ============================================ */

/* CSS Variables */
:root {
  --primary: #010024;
  --accent: #f9c939;
  --black: #000000;
  --white: #ffffff;
  --gray-dark: #1a1a2e;
  --gray-light: #f5f5f5;
  --gradient-gold: linear-gradient(135deg, #f9c939 0%, #ffd700 50%, #f9c939 100%);
  --gradient-dark: linear-gradient(135deg, #010024 0%, #1a1a2e 100%);
  --shadow-lg: 0 25px 50px -12px rgba(1, 0, 36, 0.25);
  --shadow-gold: 0 10px 40px rgba(249, 201, 57, 0.3);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--primary);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.chess-piece {
  position: absolute;
  font-size: 4rem;
  color: rgba(249, 201, 57, 0.03);
  animation: float 20s infinite;
}

.piece-1 { top: 10%; left: 5%; animation-delay: 0s; }
.piece-2 { top: 30%; right: 10%; animation-delay: -4s; }
.piece-3 { top: 60%; left: 15%; animation-delay: -8s; }
.piece-4 { top: 80%; right: 20%; animation-delay: -12s; }
.piece-5 { top: 50%; left: 50%; animation-delay: -16s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.03; }
  50% { transform: translateY(-100px) rotate(180deg); opacity: 0.08; }
}

/* ============================================
   NAVIGATION
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  background: rgba(1, 0, 36, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  border: 1px solid rgba(249, 201, 57, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(1, 0, 36, 0.95);
  box-shadow: var(--shadow-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
}

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

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-sub {
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 4px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 30px;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
}

.btn-contact {
  background: var(--gradient-gold);
  color: var(--primary) !important;
  font-weight: 600;
  border: none;
}

.btn-contact::before {
  display: none;
}

.btn-contact:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 80px;
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(249, 201, 57, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(249, 201, 57, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(249, 201, 57, 0.15);
  color: var(--accent);
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 30px;
  border: 1px solid rgba(249, 201, 57, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249, 201, 57, 0.4); }
  50% { box-shadow: 0 0 0 15px rgba(249, 201, 57, 0); }
}

.hero-title {
  margin-bottom: 20px;
}

.title-line {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.title-line.accent {
  color: var(--accent);
  text-shadow: 0 0 60px rgba(249, 201, 57, 0.5);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  font-weight: 300;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary);
}

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  animation: bounce 2s infinite;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
  0%, 100% { opacity: 1; top: 8px; }
  50% { opacity: 0; top: 20px; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: 100px 5%;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header.left {
  text-align: left;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.section-title .accent {
  color: var(--accent);
}

.title-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.title-decoration span {
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.title-decoration i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  background: var(--primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.about-text .lead-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

.about-features {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 500;
}

.feature i {
  font-size: 1.2rem;
}

.about-image {
  position: relative;
}

.image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.image-frame::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent);
  border-radius: 20px;
  z-index: -1;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background: var(--gray-dark);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(249, 201, 57, 0.1);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.stat-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 5px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-section {
  background: var(--gray-dark);
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateX(-30px);
  transition: var(--transition);
}

.timeline-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.timeline-marker {
  position: absolute;
  left: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-marker i {
  color: var(--primary);
  font-size: 1rem;
}

.timeline-content {
  background: var(--primary);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(249, 201, 57, 0.1);
}

.timeline-year {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin: 10px 0;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.achievement-badge {
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.achievement-badge.gold {
  background: rgba(255, 215, 0, 0.2);
  color: #ffd700;
}

.achievement-badge.silver {
  background: rgba(192, 192, 192, 0.2);
  color: #c0c0c0;
}

.achievement-badge.bronze {
  background: rgba(205, 127, 50, 0.2);
  color: #cd7f32;
}

/* Timeline Intro */
.timeline-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.timeline-intro .lead-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

/* Achievement badges spacing */
.timeline-content .achievement-badge {
  margin-right: 10px;
  margin-top: 10px;
}

/* Gallery Horizontal */
.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

.gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery-slide {
  flex: 0 0 33.333%;
  padding: 20px;
  box-sizing: border-box;
  transition: all 0.5s ease;
}

.gallery-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  filter: grayscale(100%);
  transform: scale(0.9);
  opacity: 0.5;
  transition: all 0.5s ease;
}

.gallery-slide.active img {
  filter: grayscale(0%);
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 15px 40px rgba(249, 201, 57, 0.4);
}

.slide-title {
  text-align: center;
  margin-top: 15px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.5s ease;
}

.gallery-slide.active .slide-title {
  color: var(--accent);
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.gallery-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.gallery-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator.active {
  background: var(--accent);
}

/* ============================================
   EVENTS SECTION
   ============================================ */
.events-section {
  background: var(--primary);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card {
  background: var(--gray-dark);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  border: 1px solid rgba(249, 201, 57, 0.1);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.event-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.event-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-gold);
}

.event-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--gray-dark) 0%, rgba(249, 201, 57, 0.1) 100%);
}

.event-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-gold);
  color: var(--primary);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.event-card.featured {
  position: relative;
}

.event-date {
  background: var(--primary);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.event-date .day {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.event-date .month {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--white);
}

.event-date .year {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.event-content {
  padding: 30px;
  flex: 1;
}

.event-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.event-content p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
}

.event-details {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.event-details span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.event-details i {
  color: var(--accent);
}

.btn-event {
  background: var(--gradient-gold);
  color: var(--primary);
  padding: 12px 25px;
  font-size: 0.9rem;
}

.btn-event:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.btn-event-outline {
  background: transparent;
  border: 2px solid rgba(249, 201, 57, 0.5);
  color: var(--accent);
  padding: 10px 25px;
  font-size: 0.9rem;
}

.btn-event-outline:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
  background: var(--gray-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  perspective: 1000px;
  height: 350px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
}

.team-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.team-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.team-card:hover .team-card-inner {
  transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.team-card-front {
  background: var(--primary);
  border: 1px solid rgba(249, 201, 57, 0.2);
}

.team-card-back {
  background: var(--gradient-gold);
  color: var(--primary);
  transform: rotateY(180deg);
}

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

.member-avatar i {
  font-size: 3rem;
  color: var(--primary);
}

.team-card-front h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.member-role {
  color: var(--accent);
  font-weight: 500;
}

.team-card-back h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.member-faculty,
.member-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 500;
}

.member-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.member-social a {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: var(--transition);
}

.member-social a:hover {
  transform: scale(1.1);
}

/* High Achievers Section */
.high-achievers-section {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid rgba(249, 201, 57, 0.2);
}

.achievers-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
}

.achievers-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
}

.achiever-card-small {
  background: var(--gray-dark);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(249, 201, 57, 0.1);
  transition: var(--transition);
  width: 200px;
  text-align: center;
}

.achiever-card-small:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(249, 201, 57, 0.25);
}

.achiever-img-small {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.achiever-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.achiever-card-small:hover .achiever-img-small img {
  transform: scale(1.1);
}

.achiever-details {
  padding: 15px;
}

.achiever-details h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.achiever-details p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--primary);
  text-align: center;
}

.contact-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Contact Persons Grid */
.contact-persons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 80px;
}

.contact-person-card {
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  padding: 40px 25px 25px;
  min-height: 280px;
  border: 1px solid rgba(249, 201, 57, 0.2);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.contact-person-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(1, 0, 36, 0.3) 0%, rgba(1, 0, 36, 0.95) 70%);
  z-index: 0;
}

.contact-person-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 15px 40px rgba(249, 201, 57, 0.3);
}

.contact-person-card:hover::before {
  background: linear-gradient(to bottom, rgba(1, 0, 36, 0.2) 0%, rgba(1, 0, 36, 0.9) 70%);
}

.person-info {
  position: relative;
  z-index: 1;
}

.person-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.person-role {
  display: block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.person-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.person-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(249, 201, 57, 0.15);
  border-radius: 10px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.person-contact a:hover {
  background: var(--accent);
  color: var(--primary);
}

.person-contact i {
  color: var(--accent);
  font-size: 1rem;
}

.person-contact a:hover i {
  color: var(--primary);
}

/* General Contact Info */
.contact-general {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 60px;
  border-top: 1px solid rgba(249, 201, 57, 0.2);
}

.contact-general .section-header {
  margin-bottom: 40px;
}

.contact-general h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
}

.general-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 25px;
  min-height: 120px;
  background: linear-gradient(145deg, var(--gray-dark), rgba(26, 26, 46, 0.8));
  border-radius: 20px;
  border: 1px solid rgba(249, 201, 57, 0.15);
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(249, 201, 57, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.info-item:hover::before {
  opacity: 1;
}

.info-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(249, 201, 57, 0.15);
}

.info-item:hover::before {
  opacity: 1;
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(249, 201, 57, 0.2), rgba(249, 201, 57, 0.1));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.info-item:hover .info-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-icon i {
  font-size: 1.8rem;
  color: var(--accent);
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.info-text .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
  white-space: nowrap;
}

.info-text a,
.info-text span {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  word-break: break-word;
  line-height: 1.4;
}

.info-text a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-link {
  width: 50px;
  height: 50px;
  background: var(--gray-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid rgba(249, 201, 57, 0.2);
}

.social-link:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px);
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--accent);
}

.btn-submit {
  width: 100%;
  background: var(--gradient-gold);
  color: var(--primary);
  padding: 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--black);
  padding: 60px 5% 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-links h4 {
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-card.featured {
    grid-column: span 1;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .achievers-row {
    gap: 15px;
  }

  .achiever-card-small {
    width: 180px;
  }

  .contact-persons {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .general-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-link {
    font-size: 1.2rem;
    padding: 15px 30px;
  }

  .hero {
    padding: 100px 5% 60px;
  }

  .title-line {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-card {
    padding: 30px 20px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .timeline {
    padding-left: 40px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-marker {
    left: -40px;
    width: 30px;
    height: 30px;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    gap: 10px;
    padding: 20px;
    min-width: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .team-card {
    height: 300px;
  }

  .contact-form-wrapper {
    padding: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 5%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .achievers-row {
    gap: 15px;
  }

  .achiever-card-small {
    width: 150px;
  }

  .achiever-img-small {
    height: 140px;
  }

  .achiever-details h4 {
    font-size: 0.85rem;
  }

  .achiever-details p {
    font-size: 0.7rem;
  }

  .about-features {
    flex-direction: column;
    gap: 15px;
  }

  /* Gallery Mobile */
  .gallery-slide {
    flex: 0 0 100%;
  }

  .gallery-slide img {
    height: 280px;
  }

  .slide-title {
    font-size: 1rem;
  }

  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }

  .scroll-indicator {
    display: none;
  }
}
