/* ========================================
   9. Uluslararası 19. Ulusal
   Sağlık ve Hastane İdaresi Kongresi
   Design System
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #0a3d6b;
  --primary-dark: #062a4d;
  --primary-light: #1565a0;
  --accent-magenta: #910443;
  --accent-cyan: #00bcd4;
  --accent-teal: #009688;
  --text-dark: #1a1a2e;
  --text-light: #f0f4f8;
  --text-muted: #6b7b8d;
  --bg-light: #eef3f8;
  --bg-white: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 2px 8px rgba(10, 61, 107, 0.08);
  --shadow-md: 0 4px 20px rgba(10, 61, 107, 0.12);
  --shadow-lg: 0 8px 40px rgba(10, 61, 107, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Geometric background pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(60deg, rgba(10, 61, 107, 0.02) 25%, transparent 25%),
    linear-gradient(-60deg, rgba(10, 61, 107, 0.02) 25%, transparent 25%),
    linear-gradient(60deg, transparent 75%, rgba(10, 61, 107, 0.02) 75%),
    linear-gradient(-60deg, transparent 75%, rgba(10, 61, 107, 0.02) 75%);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px;
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 6px 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 100;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.top-bar .search-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
}

.top-bar .search-btn:hover {
  color: #fff;
}

.top-bar .social-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: var(--transition);
}

.top-bar .social-link:hover {
  color: #fff;
}

.green-congress-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #2e7d32;
  color: #fff !important;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: var(--transition);
  margin-right: auto;
  box-shadow: 0 2px 10px rgba(46, 125, 50, 0.3);
}

.green-congress-btn:hover {
  background: #1b5e20;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.green-congress-btn i {
  font-size: 0.9rem;
}

/* ---- Container ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Main Header ---- */
.main-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.header-logo .logo-img {
  width: 200px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(10, 61, 107, 0.2));
  transition: transform var(--transition);
}

.header-logo:hover .logo-img {
  transform: scale(1.05);
}

.header-logo .university-name {
  font-size: 0.55rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.3;
}

.header-logo .congress-name {
  font-size: 0.5rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  max-width: 280px;
}

/* Navigation rows */
.nav-side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.nav-side.left {
  align-items: flex-end;
}

.nav-side.right {
  align-items: flex-start;
}

.nav-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-side.left .nav-row {
  justify-content: flex-end;
}

.nav-side.right .nav-row {
  justify-content: flex-start;
}

.nav-item {
  position: relative;
}

.nav-item>a {
  display: block;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item>a:hover {
  background: var(--primary);
  color: white;
}

.nav-item>a .arrow {
  font-size: 0.6rem;
  margin-left: 3px;
  display: inline-block;
  transition: transform var(--transition);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 100;
  padding: 8px;
  border: 1px solid rgba(10, 61, 107, 0.08);
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown a {
  display: block;
  padding: 8px 14px;
  font-size: 0.75rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-weight: 500;
}

.dropdown a:hover {
  background: var(--primary);
  color: white;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Geometric decorations */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(255, 255, 255, 0.06);
  transform: rotate(45deg);
  border-radius: 60px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(255, 255, 255, 0.04);
  transform: rotate(30deg);
  border-radius: 60px;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(60deg, rgba(255, 255, 255, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.5) 75%),
    linear-gradient(60deg, rgba(255, 255, 255, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(255, 255, 255, 0.5) 75%);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  pointer-events: none;
}

/* Grid pattern on right side */
.hero-grid {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 200px;
  height: 200px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 4px;
  opacity: 0.08;
}

.hero-grid span {
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-radius: 2px;
}

.hero-grid-bl {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 150px;
  height: 150px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 4px;
  opacity: 0.06;
}

.hero-grid-bl span {
  width: 100%;
  height: 100%;
  border: 1px solid #fff;
  border-radius: 2px;
}

/* Hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  display: none;
  animation: fadeSlide 0.8s ease;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 60px 20px 50px;
  color: white;
}

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.hero-logo-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-logo-badge .badge-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: #4fc3f7;
}

.hero-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-en-title {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.7;
  font-style: italic;
  margin-bottom: 20px;
}

.hero-theme {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 4px;
  color: #b3e5fc;
}

.hero-theme-en {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.6;
  margin-bottom: 30px;
}

.hero-date {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-light);
  text-shadow: 0 2px 20px rgba(233, 30, 123, 0.4);
  margin-bottom: 4px;
}

.hero-date-en {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 20px;
}

.hero-venue {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  opacity: 0.75;
}

.hero-venue strong {
  font-weight: 600;
  opacity: 1;
}

.hero-website {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Slider navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* ---- Countdown Section ---- */
.countdown-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 30px 0;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.countdown-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.countdown-label {
  color: white;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.countdown-timer {
  display: flex;
  gap: 16px;
}

.countdown-item {
  text-align: center;
  color: white;
}

.countdown-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  min-width: 70px;
}

.countdown-unit {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  opacity: 0.8;
}

/* ---- Duyurular (Announcements) Section ---- */
.announcements {
  padding: 60px 0 70px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--primary);
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent-magenta);
  border-radius: 50%;
}

.section-title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
  margin: 0 20px;
}

.btn-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-all:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Announcement cards */
.announcement-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.announcement-card {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 61, 107, 0.06);
  transition: var(--transition);
  cursor: pointer;
}

.announcement-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.announcement-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 16px 20px;
  min-width: 100px;
  text-align: center;
}

.announcement-date .date-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
  opacity: 0.8;
}

.announcement-date .date-text {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.announcement-title {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  flex: 1;
}

/* Announcement pages */
.announcement-page {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.announcement-page.active {
  display: flex;
}

/* Pagination dots */
.announcement-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.ann-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(10, 61, 107, 0.15);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.ann-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* ---- Important Dates Timeline ---- */
.timeline-section {
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, rgba(10, 61, 107, 0.03), transparent);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.timeline-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(10, 61, 107, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-magenta), var(--primary));
  border-radius: 0 4px 4px 0;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.timeline-date {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-magenta);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.timeline-status {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-status.upcoming {
  background: rgba(233, 30, 123, 0.1);
  color: var(--accent-magenta);
}

.timeline-status.past {
  background: rgba(0, 150, 136, 0.1);
  color: var(--accent-teal);
}

/* ---- Congress Topics Section ---- */
.topics-section {
  padding: 60px 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.topic-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(10, 61, 107, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}

.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.topic-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.topic-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ---- Sponsors Section ---- */
.sponsors-section {
  padding: 50px 0 60px;
  background: rgba(10, 61, 107, 0.02);
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.sponsor-item {
  width: 140px;
  height: 80px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 61, 107, 0.06);
  transition: var(--transition);
  padding: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.sponsor-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ---- Footer ---- */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(30deg, rgba(255, 255, 255, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.02) 87.5%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.02) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.02) 87.5%);
  background-size: 80px 140px;
  pointer-events: none;
}

.footer-main {
  padding: 50px 0 30px;
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo .logo-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
}

.footer-logo .footer-uni-name {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.4;
}

.footer-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section p {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.8;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-cyan);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 0.82rem;
  padding: 4px 0;
  opacity: 0.8;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  font-size: 1.1rem;
  opacity: 0.5;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

/* ---- Mobile Navigation Overlay ---- */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background: var(--bg-white);
  z-index: 201;
  overflow-y: auto;
  transition: left var(--transition);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-header {
  padding: 20px;
  background: var(--primary);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-menu {
  padding: 10px;
}

.mobile-nav-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-menu a:hover {
  background: var(--primary);
  color: white;
}

.mobile-nav-menu .mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-nav-menu .mobile-sub {
  display: none;
  padding-left: 16px;
}

.mobile-nav-menu .mobile-sub.open {
  display: block;
}

.mobile-nav-menu .mobile-sub a {
  font-size: 0.8rem;
  padding: 8px 16px;
  opacity: 0.8;
}

/* ---- Scroll to Top ---- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 50;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---- Responsive ---- */
@media (max-width: 992px) {

  .nav-side,
  .header-logo .university-name,
  .header-logo .congress-name {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-inner {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-date {
    font-size: 1.8rem;
  }

  .hero-content {
    padding: 40px 15px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-links a::before {
    display: none;
  }

  .countdown-wrapper {
    flex-direction: column;
    gap: 16px;
  }

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

@media (max-width: 600px) {
  .hero {
    min-height: 420px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-date {
    font-size: 1.4rem;
  }

  .hero-number {
    font-size: 0.9rem;
  }

  .hero-logos {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero-logo-badge {
    font-size: 0.65rem;
    padding: 6px 12px;
  }

  .countdown-num {
    font-size: 1.5rem;
    padding: 8px 12px;
    min-width: 55px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .section-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .slider-nav {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

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

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

  .announcement-date {
    flex-direction: row;
    padding: 10px 16px;
    min-width: auto;
    gap: 8px;
  }
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

/* ---- Nav Button ---- */
.nav-btn a {
  background: var(--accent-magenta) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(233, 30, 123, 0.25);
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn a:hover {
  background: var(--primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(21, 101, 160, 0.3);
}

.city-btn a {
  background: var(--primary) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(10, 61, 107, 0.25);
  margin-left: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.city-btn a:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(10, 61, 107, 0.3);
}

.nav-item.nav-btn,
.nav-item.city-btn {
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {

  .nav-btn a,
  .city-btn a {
    margin-left: 0;
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* ---- Blinking Label ---- */
.blinking-label {
  display: inline-block;
  background: var(--accent-magenta);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0.3;
  }
}

/* ---- Welcome Modal ---- */
.welcome-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 61, 107, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.welcome-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.welcome-modal {
  background: var(--bg-white);
  width: 90%;
  max-width: 600px;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  transform: scale(0.9);
  transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(10, 61, 107, 0.1);
}

.welcome-modal-overlay.active .welcome-modal {
  transform: scale(1);
}

.modal-congress-title {
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}

.modal-congress-details {
  background: var(--bg-light);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 25px;
  font-weight: 600;
  color: var(--primary-light);
  font-size: 0.95rem;
}

.modal-congress-details i {
  margin-right: 8px;
}

.modal-notice {
  text-align: left;
  background: #f8faff;
  padding: 25px;
  border-left: 4px solid var(--accent-magenta);
  border-radius: var(--radius-sm);
  margin-bottom: 30px;
}

.modal-notice p {
  color: var(--text-dark);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.modal-close-btn {
  background: var(--primary);
  color: white !important;
  border: none;
  padding: 12px 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.modal-close-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 61, 107, 0.2);
}

@media (max-width: 768px) {
  .welcome-modal {
    padding: 30px 20px;
  }

  .modal-congress-title {
    font-size: 1.25rem;
  }
}