/* 
  Global Styles & Variables – Logo-driven vibrant palette
  -------------------------------------------------- 
*/
/* Global stil ayarları ve logo renklerine göre oluşturulmuş renk paleti */

:root {
  /* Logo dark navy-blue */
  --text-strong: #111827;
  /* Ana koyu yazı rengi */

  /* Primary: vibrant teal from logo */
  --primary: #06b6d4;
  /* Ana vurgu rengi (turkuaz) */
  --primary-soft: #cffafe;
  /* Açık turkuaz ton */

  /* Accent: red from logo */
  --accent: #ef4444;
  /* Kırmızı vurgu rengi */
  --accent-soft: #fee2e2;
  /* Açık kırmızı ton */

  /* Support: rainbow palette tones */
  --bg-main: #f8fafc;
  /* Ana arka plan rengi */
  --bg-elevated: #ffffff;
  /* Kart vb. beyaz yüzey rengi */
  --bg-alt: #f0fdfa;
  /* Alternatif arka plan */
  --text-muted: #6b7280;
  /* Soluk gri yazı rengi */
  --border-subtle: #e5e7eb;
  /* İnce border rengi */
  --white: #ffffff;
  /* Beyaz renk */

  --radius-lg: 16px;
  /* Büyük köşe yuvarlama */
  --shadow-soft: 0 18px 40px rgba(17, 24, 39, 0.12);
  /* Yumuşak gölge efekti */
  --transition-fast: 0.2s ease-out;
  /* Hızlı animasyon süresi */
  --transition-med: 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Orta hız animasyon */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  /* Offset for the fixed navbar */
  font-size: 92%;
  /* Scaled down the entire site base */
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: var(--text-strong);
  min-height: 100vh;
  line-height: 1.5;
  /* Slightly tighter line height */
  padding-top: 80px;
  /* Reduced navbar space */
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--text-strong);
  box-shadow: 0 10px 30px rgba(40, 58, 97, 0.247);
  z-index: 50;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.01rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.9;
}

.brand-logo {
  height: 140px;
  width: auto;
  object-fit: contain;
  margin-right: 0.01rem;
  display: block;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.brand:hover .brand-logo {
  transform: rotate(-3deg) scale(1.08);
  /* More professional subtle tilt */
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.3));
}

.brand-name {
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white);
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.brand:hover .brand-name {
  color: #facc15;
  /* More vibrant yellow on hover */
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.4);
  transform: translateX(5px);
  /* Professional slight push */
}

/* --- Mobile Nav Dropdown --- */
.mobile-nav {
  position: absolute;
  top: 100%;
  right: 1.5rem;
  width: 250px;
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.95);
  transform-origin: top right;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px) scale(1);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #facc15;
  transform: translateX(5px);
}

.brand-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #facc15;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: 8rem;
}

.nav-link {
  text-decoration: none;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: transparent;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: linear-gradient(135deg, #facc15);
  color: var(--text-strong);
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
  outline: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  /* Set to full height */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  /* Removed bottom padding */
  overflow: hidden;
  background-color: #020617;
  /* Dark space background */
  perspective: 2000px;
  /* Perspective for 3D effects */
}

.hero-image-vessel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: bg-pulse 15s ease-in-out infinite;
}

.hero-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7) contrast(1.1);
}

.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 2rem;
  max-width: 680px;
  /* Further reduced from 750px */
  width: 85%;
  box-shadow:
    0 15px 35px -10px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transform: rotateX(5deg) rotateY(-5deg) translateZ(50px);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
  animation: float-3d 8s ease-in-out infinite;
}

.hero-card:hover {
  transform: rotateX(0deg) rotateY(0deg) translateZ(100px);
  box-shadow:
    0 50px 100px -20px rgba(6, 182, 212, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 3;
}

@keyframes float-3d {

  0%,
  100% {
    transform: rotateX(5deg) rotateY(-5deg) translateZ(50px) translateY(0);
  }

  50% {
    transform: rotateX(8deg) rotateY(-2deg) translateZ(80px) translateY(-20px);
  }
}

@keyframes bg-pulse {

  0%,
  100% {
    transform: scale(1.02) rotate(0.5deg);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.1) rotate(-1deg);
    /* More visible pulse */
    opacity: 1;
  }
}

.language-switcher {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.lang-toggle:hover {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.5);
  transform: translateY(-1px);
}

.lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #e5e7eb;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: 120%;
  margin-top: 0.25rem;
  list-style: none;
  padding: 0.35rem 0;
  min-width: 160px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.6);
  background: radial-gradient(circle at top, #020617, #020617 55%, #020617 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
  transform-origin: top right;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out;
  z-index: 60;
}

.language-switcher.is-open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option {
  padding: 0.4rem 0.95rem;
  font-size: 0.8rem;
  color: #e5e7eb;
  cursor: pointer;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.lang-option:hover {
  background: rgba(249, 249, 22, 0.9);
  color: #111827;
  padding-left: 1.15rem;
}

.hero-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: rgba(255, 255, 255, 0.7);
}

.hero-title {
  display: inline-block;
  /* Ensure better hover interaction */
  font-size: clamp(2rem, 6vw, 4rem);
  /* Reduced from 5rem max */
  font-weight: 800;
  margin-bottom: 3rem;
  /* Reduced from 4rem */
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
  position: relative;
  padding-bottom: 2rem;
  animation: hero-text-pulse 4s ease-in-out infinite alternate;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
}

.hero-title:hover {
  transform: translateY(-10px) scale(1.06) !important;
  filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.6)) !important;
  cursor: default;
}

@keyframes hero-text-pulse {
  from {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
  }

  to {
    filter: drop-shadow(0 0 30px rgba(165, 180, 252, 0.5));
  }
}


.hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 130px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
}

.hero-line {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lang-changing {
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.18s ease-out,
    transform 0.18s ease-out;
}

.countdown-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  /* Reduced from 3.5rem */
}

.hero-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  /* Slower, smoother transition */
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.join-team-btn {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: btn-pulse 3s infinite ease-in-out;
}

@keyframes btn-pulse {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.15);
  }

  50% {
    box-shadow: 0 0 25px rgba(6, 182, 212, 0.4);
    transform: scale(1.02);
    border-color: var(--primary);
  }

  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.15);
  }
}

.join-team-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px) scale(1.02) !important;
  /* Simpler, subtler lift */
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.35) !important;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  animation-play-state: paused;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.time-box {
  min-width: 90px;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  transform: translateY(0) scale(0.99);
  transition:
    transform 0.22s ease-out,
    box-shadow 0.22s ease-out,
    background 0.22s ease-out,
    border-color 0.22s ease-out;
}

.time-box:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.35);
  border-color: var(--primary);
  background: var(--primary);
}

.time-box:hover .time-value,
.time-box:hover .time-label {
  color: var(--white);
}

.time-box.tick {
  transform: translateY(-1px) scale(1.01);
}

.time-value {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.time-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.content-section {
  padding: 4rem 1.5rem;
  background-color: #fafafa;
  /* Tam beyaz yerine daha yumuşak bir ton */
  color: var(--text-strong);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.content-section.alt {
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.content-section.alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  z-index: 1;
}

/* World Signal Circles */
.content-section.alt::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  background: repeating-radial-gradient(circle at center,
      transparent 0,
      transparent 50px,
      rgba(6, 182, 212, 0.03) 51px,
      rgba(6, 182, 212, 0.03) 52px);
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: signal-pulse 10s linear infinite;
}

@keyframes signal-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
}


.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* About Header Styling */
.about-header-box {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  padding: 1rem 7rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

.about-header-box:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px) scale(1.05);
}

.main-about-title {
  font-size: 2.3rem !important;
  font-weight: 800 !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.15em !important;
  background: linear-gradient(135deg, #06b6d4, #a855f7, #ec4899) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-header-box:hover .main-about-title {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(168, 85, 247, 0.8));
}

/* Team Header Styling */
.team-header-box {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  padding: 1rem 7rem;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: default;
}

.team-header-box:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.15);
  transform: translateY(-5px) scale(1.05);
}


.main-team-title {
  font-size: 2.3rem !important;
  /* Reduced from 2.8rem */
  font-weight: 800 !important;
  margin-bottom: 0 !important;
  letter-spacing: 0.15em !important;
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #6366f1) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.team-header-box:hover .main-team-title {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(6, 182, 212, 0.8));
}



@keyframes title-glow {
  from {
    filter: drop-shadow(0 0 2px rgba(6, 182, 212, 0.2));
  }

  to {
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.6));
  }
}

.title-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #06b6d4, transparent);
  animation: line-scan 3s linear infinite;
}

@keyframes line-scan {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}


.section-title {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Rainbow palette per section */
#committees .section-title {
  color: #06b6d4;
}

#about .section-title {
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#team .section-title {
  background: linear-gradient(135deg, #facc15, #f97316, #ef4444, #d946ef, #a855f7, #3b82f6, #06b6d4, #a3e635);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


.section-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-section p {
  color: var(--text-muted);
  max-width: 640px;
}

/* Team Grid Layout */
.section-intro {
  margin-bottom: 2.5rem;
  color: var(--text-muted);
}

/* --- About & Team Shared Styles --- */
.about-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  /* Entrance Animation Initial State */
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.section-visible .about-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
  /* Wait for title animation */
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #e5e7eb !important;
  max-width: 100% !important;
  margin-bottom: 2rem;
}

.about-info-container {
  width: 100%;
  max-width: 600px;
  /* More compact since only date is left */
  margin: 3rem auto 0 auto;
  padding: 1.5rem 1rem;
  background: rgba(59, 130, 246, 0.05);
  /* Subtle blue tint */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  /* Pill shape for attention */
  text-align: center;
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
  /* Slower, smoother hover and entry */
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
  animation: date-pulse 4s infinite ease-in-out;
  cursor: default;
  /* Entrance Animation Initial State */
  opacity: 0;
  transform: translateY(40px);
}

@keyframes date-pulse {
  0% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.3);
    border-color: #3b82f6;
    transform: scale(1.03);
  }

  100% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1);
  }
}

/* Ensure visibility when it enters viewport */
.about-info-container.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-info-container:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  transform: translateY(-3px) scale(1.01) !important;
  /* Simpler, subtler lift */
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.2) !important;
  animation-play-state: paused;
}

.about-info-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  color: #3b82f6;
  /* Changed to vibrant blue as requested */
  font-size: 2.2rem;
  /* Made larger */
  font-weight: 850;
  letter-spacing: 0.1em;
  text-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.about-info-date i {
  font-size: 2.4rem;
  color: #3b82f6;
}

@media (max-width: 768px) {
  .about-info-container {
    padding: 1.2rem;
    max-width: 90%;
  }

  .about-info-date {
    font-size: 1.4rem;
  }

  .about-info-date i {
    font-size: 1.6rem;
  }
}

.about-content {
  margin-top: auto;
  margin-bottom: auto;
}

/* --- About Section - Galaxy Theme --- */
#about {
  position: relative;
  background: #0f172a;
  background-image:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, calc(0.12 * var(--glow-opacity, 0))) 0%, transparent 60%),
    radial-gradient(circle at 20% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #0d1425 0%, #0f172a 100%);
  overflow: hidden;
  padding: 6rem 2rem 4rem;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

#about::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 50% 60%, rgba(200, 230, 255, 0.7), transparent),
    radial-gradient(1px 1px at 80% 40%, #fff, transparent);
  background-size: 600px 600px;
  opacity: 0.1;
  animation: galaxy-rotation 240s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* --- Team Section - Interactive Galaxy Theme --- */
#team {
  position: relative;
  background: #0b1120;
  /* Slightly different cosmic base */
  background-image:
    radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, calc(0.12 * var(--glow-opacity, 0))) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, #0f172a 0%, #0b1120 100%);
  overflow: hidden;
  padding: 6rem 2rem 4rem;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
}

#team::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent),
    radial-gradient(2px 2px at 40% 50%, rgba(200, 230, 255, 0.8), transparent),
    radial-gradient(1px 1px at 70% 10%, #fff, transparent),
    radial-gradient(2.5px 2.5px at 90% 80%, rgba(200, 230, 255, 0.6), transparent),
    radial-gradient(2px 2px at 30% 90%, #fff, transparent);
  background-size: 800px 800px;
  opacity: 0.15;
  animation: galaxy-rotation 180s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes galaxy-rotation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Central interactive aurora glow */
#team::after {
  content: "";
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 500px;
  /* Further reduced size */
  height: 500px;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.025) 0%, transparent 70%);
  /* Extremely subtle (0.025) */
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  /* Key fix: CSS transition for position and opacity to make it buttery smooth */
  transition:
    top 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 1.2s ease-in-out;
  mix-blend-mode: screen;
  opacity: var(--glow-opacity, 0);
  /* Hidden by default */
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.75rem;
  /* Further reduced gap */
  max-width: 1000px;
  /* Further reduced from 1150px */
  margin: auto;
}

/* Lead Card in general team grid: Centered and Larger */
.team-grid .team-card.lead-card {
  grid-column: 2 / span 4;
  margin-bottom: 2rem;
  box-shadow: 0 0 50px rgba(250, 204, 21, 0.1);
}

.team-card.lead-card .team-media {
  height: 300px;
  /* Further reduced from 340px */
}

/* Row 2 & 3 in general team grid: 3 cards each */
.team-grid .team-card:nth-child(n+2):nth-child(-n+7) {
  grid-column: span 2;
}

/* Last Row in general team grid: 2 cards centered */
.team-grid .team-card:nth-child(8) {
  grid-column: 2 / span 2;
}

.team-grid .team-card:nth-child(9) {
  grid-column: 4 / span 2;
}

/* Coordinator Specific Styling - Compact Vertical & Short Profile */
.coordinator-box {
  max-width: 950px;
  margin: 2.5rem auto !important;
  flex-direction: row !important;
  /* Photo on LEFT */
  align-items: stretch !important;
  /* Stretch to match height */
  min-height: 280px;
  /* Controlled low height */
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  display: flex !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  border-radius: 18px;
  padding: 0;
}

.coordinator-box.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.coordinator-media {
  width: 30%;
  /* Left side */
  height: auto;
  min-height: 280px;
  flex: none;
  background-size: 110%;
  background-position: center 40%;
  border-right: 1px solid rgba(59, 130, 246, 0.3);
  border-bottom: none;
  transition: transform 0.6s ease;
  position: relative;
}

.coordinator-box:hover .coordinator-media {
  transform: scale(1.05);
}

.coordinator-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(15, 23, 42, 0.7));
}

.coordinator-box .team-content {
  flex: 1;
  /* Take remaining space */
  padding: 1.5rem 2rem !important;
  text-align: left !important;
  /* Text on right, aligned left */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 45px !important;
  /* Separation for Instagram button */
}

.team-name {
  font-size: 1.8rem;
  /* Smaller font */
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.2rem;
  background: linear-gradient(135deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-role {
  font-size: 0.95rem;
  /* Shrunk */
  color: #3b82f6;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  /* Reduced */
}

.team-bio p {
  font-size: 0.95rem;
  /* Shrunk */
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.85) !important;
  margin-bottom: 0.6rem;
  max-width: 100% !important;
}

.quote-box {
  margin: 0.5rem 0;
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  position: relative;
  max-width: 100%;
  width: 100%;
}

.quote-box::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 4rem;
  color: rgba(59, 130, 246, 0.4);
  font-family: serif;
  line-height: 1;
}

.quote-box blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Sub-Coordinators Grid - FORCED Side-by-Side */
.sub-coordinators-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  /* All rows will have the same height */
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  /* Increased gap as requested */
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  width: 100%;
}

@media (max-width: 1024px) {
  .sub-coordinators-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    /* Reset for wrapping */
  }
}

@media (max-width: 768px) {
  .sub-coordinators-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

.sub-coordinator-box {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Fill the grid cell */
  min-height: 450px;
  /* Same height for all 3 */
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: translateY(20px);
}

.sub-coordinator-box.section-visible {
  opacity: 1;
  transform: translateY(0);
}

.sub-coordinator-box:hover {
  transform: translateY(-5px);
  /* Subtler lift */
  border-color: #3b82f6 !important;
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.2) !important;
}

/* --- Mobile Menu Button --- */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1100;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

.mobile-menu-btn:hover {
  filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.8));
  transform: scale(1.05);
}

.hamburger-line {
  width: 100%;
  height: 3.5px;
  background: linear-gradient(90deg, #fff, #a5f3fc);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* Mobile Menu Active State (X) */
.mobile-menu-btn.is-active .hamburger-line {
  background: #facc15;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


.sub-coordinator-media {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

/* Specific Zoom for Işıl (1st box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(1) .sub-coordinator-media {
  background-size: 130%;
  background-position: center 60%;
}

/* Specific Zoom for PR Presidents (2nd box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(2) .sub-coordinator-media {
  background-size: 173%;
  background-position: center 20%;
}

/* Specific Zoom for Human Resources (3rd box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(3) .sub-coordinator-media {
  background-size: 100%;
  background-position: center 40%;
}

/* Specific Zoom for Başak (4th box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(4) .sub-coordinator-media {
  background-size: 100%;
  background-position: center 35%;
}

/* Specific Zoom for Field Operations (5th box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(5) .sub-coordinator-media {
  background-size: 130%;
  background-position: 55% 63%;
}

/* Specific Zoom for Sare Nisan Danışmaz (6th box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(6) .sub-coordinator-media {
  background-size: 185%;
  background-position: 70% 50%;
}

/* Specific Zoom for Security President (7th box) - CENTERED */
.sub-coordinators-grid .sub-coordinator-box:nth-child(7) .sub-coordinator-media {
  background-size: 128%;
  background-position: center 25%;
}

/* Specific Zoom for Zeynep (8th box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(8) .sub-coordinator-media {
  background-size: 100%;
  background-position: center 28%;
}

/* Specific Zoom for Ahmet Mirza (9th box) */
.sub-coordinators-grid .sub-coordinator-box:nth-child(9) .sub-coordinator-media {
  background-size: 110%;
  background-position: center 20%;
}

/* Specific Zoom for Kriz Başkanı (10th box) - CENTERED */
.sub-coordinators-grid .sub-coordinator-box:nth-child(10) {
  grid-column: 2;
  /* Center the last member in a 3-column grid */
}

.sub-coordinators-grid .sub-coordinator-box:nth-child(10) .sub-coordinator-media {
  background-size: 105%;
  background-position: center 5%;
}



.sub-coordinator-box .team-content {
  padding: 1.25rem !important;
  text-align: left !important;
  flex-grow: 1;
  /* Push footer down if needed or fill space */
  display: flex;
  flex-direction: column;
  padding-bottom: 50px !important;
  /* Separation for Instagram button */
}

.sub-coordinator-box .team-name {
  font-size: 1.25rem !important;
  margin-bottom: 0.2rem;
  min-height: 3.2rem;
  /* Ensure titles occupy the same vertical space */
  display: flex;
  align-items: center;
}

.sub-coordinator-box .team-role {
  font-size: 0.8rem !important;
  color: #3b82f6;
  margin-bottom: 0.75rem;
}

.sub-coordinator-box .team-bio p {
  font-size: 0.85rem !important;
  line-height: 1.5;
  margin-bottom: 0;
}


.team-card {
  background: rgba(255, 255, 255, 0.12);
  /* Lighter card background */
  backdrop-filter: blur(14px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  /* Ensure child absolute positioning works */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* CRITICAL: Fixes the media popping out issue */
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  min-height: auto;
}

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

.team-card .team-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  clip-path: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  background-size: cover;
  background-position: center;
}

.team-card .team-content {
  padding: 1.25rem;
  /* Reduced from 1.5rem */
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 50px;
  /* Separation for Instagram button */
}

.team-card:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #facc15;
  transform: translateY(-4px);
  /* Subtler lift */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* Specific Blue Hover for Coordinator */
.coordinator-box:hover {
  border-color: #3b82f6 !important;
  box-shadow: 0 15px 45px rgba(59, 130, 246, 0.4) !important;
}

.team-card:hover .team-media {
  transform: scale(1.08);
  /* More dynamic zoom since overflow is now hidden */
}

/* --- Footer Styling & Layout --- */
.footer {
  padding: 3.2rem 1.5rem;
  /* Increased height */
  background: var(--text-strong);
  /* Matches Navbar background */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 equal columns for perfect centering */
  align-items: center;
  gap: 1.5rem;
}

.team-instagram-container {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.team-instagram {
  position: relative;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f1f5f9;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.team-instagram i {
  font-size: 1rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.team-instagram:hover {
  background: rgba(30, 41, 59, 1);
  border-color: #e1306c;
  /* Instagram Pink */
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
  color: #e1306c;
  /* Pink text on hover */
}

.team-instagram:hover i {
  transform: none;
}

/* Specific adjustment for coordinator box to avoid overlap with bio if text is too long */
@media (min-width: 769px) {
  .coordinator-box .team-instagram-container {
    bottom: 15px;
    right: 25px;
  }
}

@media (max-width: 768px) {
  .team-instagram-container {
    bottom: 5px;
    right: 8px;
    gap: 4px;
  }

  .team-instagram {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* --- Improved Footer Layout --- */
.footer-left-socials {
  display: flex;
  justify-content: flex-start;
}

.footer-social-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Aligned to the LEFT as requested */
  gap: 1.2rem;
}

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

.footer-center p {
  font-size: 1.45rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
}

.footer #year {
  color: #facc15;
  /* Highlighted year in yellow */
  font-weight: 800;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
  /* Yellow glow effect */
}

.footer-right-signature {
  display: flex;
  justify-content: flex-end;
}

.footer-right-signature .signature-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  /* Space after 'by' */
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-right-signature .signature-handle {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  /* Very close icon and name */
}

.footer-right-signature .signature-link i {
  font-size: 1.3rem;
  transition: transform 0.4s ease;
}

.footer-right-signature .signature-link:hover {
  color: #facc15;
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}

.footer-right-signature .signature-link:hover i {
  transform: scale(1.15);
  /* Removed rotate */
  color: #facc15;
}

/* --- Contact Section - Galaxy Theme --- */

/* --- Social Links - Synchronized & Vibrant --- */
.social-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  font-size: 1.4rem;
  /* Increased text size */
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9) !important;
  /* Uniform text color */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link i {
  font-size: 2rem;
  /* Increased icon size */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link.instagram i {
  color: #f09433;
}

.social-link.gmail i {
  color: #ea4335;
}

.social-link:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-4px);
  /* Subtle professional lift */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  color: #fff !important;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
}

.social-link.gmail:hover {
  background: #ea4335;
}

.social-link:hover i {
  color: #fff !important;
  transform: scale(1.15);
  /* Slightly more prominent on hover */
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

/* Removed childish pulse animation */

/* Cleaned up previous hover rule */

.social-link span {
  position: relative;
}

.social-link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.social-link:hover span::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --- COMPREHENSIVE RESPONSIVE FIXES --- */

@media (max-width: 992px) {
  .nav-links {
    margin-right: 2rem;
  }

  .coordinator-box {
    max-width: 100%;
    margin-inline: 1rem !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  /* --- Navbar Mobile Fix --- */
  .navbar {
    height: 90px;
  }

  .nav-inner {
    padding: 0 1rem;
    justify-content: space-between;
  }

  /* Hide navigation links on mobile */
  .nav-links {
    display: none;
  }

  .brand-logo {
    height: 110px;
    /* Daha da devasa logo */
    margin-right: -15px;
    /* Yazıya iyice yapıştırıldı */
    margin-left: -5px;
  }

  .brand-name {
    font-size: 1.15rem;
    /* Yazı belirgin şekilde küçültüldü */
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .language-switcher {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin-left: auto;
    /* Pushes to the right */
  }

  .mobile-menu-btn {
    display: flex;
    margin-left: 1rem;
    /* Closer gap */
  }


  .lang-toggle {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  /* --- Hero Mobile Fix (100vh) --- */
  .hero {
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-card {
    width: 100%;
    padding: 2rem 1rem;
    /* Slightly reduced height as requested */
    animation: float-3d 6s ease-in-out infinite;
    border-radius: 25px;
    transform-style: preserve-3d;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
  }

  .hero-title {
    font-size: 2.8rem;
    /* Fine-tuned size for balance */
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
    line-height: 1.1;
  }

  .hero-title::after {
    width: 80px;
    height: 3px;
  }

  .countdown-container {
    margin-bottom: 2.5rem;
  }

  .countdown {
    display: flex;
    flex-wrap: nowrap;
    /* Side-by-side */
    justify-content: center;
    gap: 0.5rem;
    /* Slightly smaller gap to fit all units at once */
  }

  .time-box {
    width: 75px;
    /* Square units */
    height: 75px;
    /* Square units */
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    gap: 1px;
    background: var(--bg-elevated);
    /* PC standard white background */
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
  }

  .time-value {
    font-size: 1.4rem;
    /* Balanced size */
    font-weight: 800;
  }

  .time-label {
    font-size: 0.6rem;
    /* Balanced label */
    font-weight: 600;
  }

  .hero-btn {
    padding: 1.1rem 2rem;
    /* Larger button */
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    border-radius: 15px;
    margin-top: 1rem;
  }

  /* --- Section Spacing to fix overlap --- */
  .content-section {
    padding: 4rem 1rem 3rem !important;
    /* Reduced top padding to move higher */
    /* Balanced padding */
    scroll-margin-top: 0;
    /* Let JavaScript handle the offset for flawless results */
    display: block;
  }

  .about-header-box,
  .team-header-box {
    padding: 0.8rem 2rem;
    margin-bottom: 1.2rem;
    /* Reduced to move up */
    width: auto;
    max-width: 90%;
  }

  .main-about-title,
  .main-team-title {
    font-size: 2.1rem !important;
    /* Increased font size */
  }

  /* --- Redesigned Team Cards for Mobile --- */
  .coordinator-box {
    flex-direction: column !important;
    min-height: auto;
    margin: 1.5rem auto !important;
    border-radius: 15px;
  }

  .coordinator-media {
    width: 100% !important;
    height: 240px !important;
    border-right: none;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  }

  .coordinator-box .team-content {
    padding: 1.25rem 1.25rem 0.5rem !important;
  }

  .coordinator-box .team-instagram-container {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    padding: 0 1.25rem 1.25rem !important;
    justify-content: flex-end !important;
  }

  .team-name {
    font-size: 1.4rem;
  }

  /* --- Grid Fixes --- */
  .sub-coordinators-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
    margin-bottom: 2rem;
  }

  .sub-coordinator-box {
    min-height: auto !important;
  }

  .sub-coordinator-media {
    height: 200px !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .team-card,
  .team-card.lead-card {
    grid-column: span 1 !important;
    margin-bottom: 0;
  }

  /* --- Footer Mobile --- */
  .footer {
    padding: 2.5rem 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-left-socials {
    justify-content: center;
  }

  .footer-social-column {
    align-items: center;
    gap: 1rem;
  }

  .social-link {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
  }

  .footer-center p {
    font-size: 1.2rem;
  }

  .footer-right-signature {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .time-box {
    min-width: 60px;
  }

  .about-text {
    font-size: 0.95rem;
  }
}