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

:root {
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #7c3aed;
  --accent-color: #06b6d4;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-light: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Hero Header */
.hero {
  position: relative;
  background: var(--gradient-hero);
  color: white;
  padding: 80px 30px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.university-logo {
  margin-bottom: 16px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.university-logo img {
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

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

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.meta-item svg {
  opacity: 0.8;
}

.hero-decoration {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: var(--bg-secondary);
  border-radius: 50% 50% 0 0 / 30px 30px 0 0;
}

/* Main Content */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 30px;
}

/* Section Styles */
section {
  margin-bottom: 64px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin-top: 8px;
}

/* Content Cards */
.content-card {
  background: var(--bg-primary);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.lead-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}

.content-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* Participant Section */
.participant-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 16px;
}

.participant-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 0;
}

.participant-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.participant-list li svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Details Grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.detail-card {
  background: var(--bg-primary);
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.detail-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.detail-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.detail-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Eligibility Section */
.eligibility-card {
  background: var(--bg-primary);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.eligibility-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eligibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.eligibility-list li svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Privacy Section */
.privacy-card {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.privacy-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.privacy-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.privacy-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Scheduling Section */
.scheduling-card {
  background: var(--bg-primary);
  padding: 32px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.scheduling-subtitle {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 16px;
}

.scheduling-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.scheduling-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.scheduling-list li svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Register Section */
.register-section {
  margin-top: 80px;
  margin-bottom: 40px;
}

.register-card {
  background: var(--gradient-primary);
  color: white;
  padding: 48px;
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.register-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.register-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.register-card p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.register-button {
  position: relative;
  z-index: 1;
  padding: 16px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.register-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  background: #f8fafc;
}

.register-button:active {
  transform: translateY(0);
}

.register-button svg {
  transition: transform 0.3s ease;
}

.register-button:hover svg {
  transform: translateX(4px);
}

/* Footer */
footer {
  background: var(--text-primary);
  color: white;
  padding: 48px 30px;
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-text {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 8px;
}

.footer-email {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 16px;
}

.footer-email a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-email a:hover {
  color: #0891b2;
  opacity: 0.9;
  text-decoration: underline;
}

.footer-note {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .hero-meta {
    flex-direction: column;
    gap: 16px;
  }

  .logo-section {
    margin-bottom: 32px;
  }

  .university-logo {
    padding: 12px 20px;
    margin-bottom: 12px;
  }

  .university-logo img {
    max-height: 60px;
  }

  main {
    padding: 40px 20px;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .content-card,
  .eligibility-card,
  .privacy-card,
  .scheduling-card {
    padding: 24px;
  }

  .privacy-card {
    flex-direction: column;
    text-align: center;
  }

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

  .register-card {
    padding: 32px 24px;
  }

  .register-card h2 {
    font-size: 1.5rem;
  }
}

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

  .logo-section {
    margin-bottom: 24px;
  }

  .university-logo {
    padding: 10px 16px;
    margin-bottom: 10px;
  }

  .university-logo img {
    max-height: 50px;
  }

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Schedule Page Layout */
.schedule-section {
  padding: 60px 30px;
}

.schedule-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.schedule-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1025px) {
  .schedule-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

.schedule-text {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.schedule-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.schedule-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.schedule-text p:last-of-type {
  margin-bottom: 0;
}

.schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.schedule-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

.schedule-list li svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.schedule-note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.schedule-note strong {
  color: var(--text-primary);
  font-weight: 600;
}

.schedule-note a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.schedule-note a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.schedule-calendar {
  background: var(--bg-primary);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: sticky;
  top: 20px;
}

.schedule-calendar iframe {
  border-radius: 8px;
  width: 100%;
  min-height: 600px;
}

/* Responsive for Schedule Page */
@media (max-width: 1024px) {
  .schedule-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .schedule-calendar {
    position: static;
  }

  .schedule-calendar iframe {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .schedule-section {
    padding: 40px 20px;
  }

  .schedule-text {
    padding: 24px;
  }

  .schedule-text h2 {
    font-size: 1.5rem;
  }

  .schedule-calendar {
    padding: 15px;
  }

  .schedule-calendar iframe {
    min-height: 400px;
  }
}

@media (max-width: 480px) {

  .schedule-calendar iframe {
    min-height: 350px;
  }
}

/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
