:root {
  /* Elegant Color Palette */
  --primary-color: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --accent-color: #ec4899;
  --accent-light: #f472b6;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-elegant: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);

  /* Backgrounds */
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  /* Glass Effects */
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition-elegant: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: #ffffff;
  background: var(--bg-primary);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elegant Background */
.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(ellipse at top, #1a1a2e 0%, #0a0a0f 100%);
}

.background-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {

  0%,
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
  }
}

.background-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.particle:nth-child(2) {
  left: 30%;
  top: 60%;
  animation-delay: 2s;
}

.particle:nth-child(3) {
  left: 50%;
  top: 40%;
  animation-delay: 4s;
}

.particle:nth-child(4) {
  left: 70%;
  top: 70%;
  animation-delay: 6s;
}

.particle:nth-child(5) {
  left: 90%;
  top: 30%;
  animation-delay: 8s;
}

@keyframes float-particle {

  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }

  50% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0.6;
  }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-md);
  position: relative;
  z-index: 1;
}

/* Header Section */
.header {
  text-align: center;
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  animation: fadeInDown 1s ease-out;
}

/* Logos Container */
.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
  height: 100px;
  animation: fadeIn 0.8s ease-out;
}

.logo-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: var(--transition-elegant);
}

.logo-link:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.logo-image {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  transition: var(--transition-elegant);
}

.logo-link:hover .logo-image {
  filter: drop-shadow(0 8px 30px rgba(102, 126, 234, 0.4));
}

/* Alternating Logo Animation */
.logo-link-1 {
  animation: fadeInOut 8s ease-in-out infinite;
}

.logo-link-2 {
  animation: fadeInOut 8s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes fadeInOut {

  0%,
  45% {
    opacity: 1;
    visibility: visible;
  }

  50%,
  95% {
    opacity: 0;
    visibility: hidden;
  }

  100% {
    opacity: 1;
    visibility: visible;
  }
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: var(--spacing-md);
}

.logo-decoration {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  animation: scaleIn 1s ease-out;
}

.logo {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1.2;
  margin-top: var(--spacing-md);
  text-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
  animation: scaleIn 0.8s ease-out 0.2s both;
}

.subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--spacing-md);
  font-weight: 400;
  letter-spacing: 0.5px;
  animation: fadeIn 1.2s ease-out 0.4s both;
}

.tagline {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: var(--spacing-sm);
  font-style: italic;
  font-weight: 300;
  animation: fadeIn 1.4s ease-out 0.6s both;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: var(--spacing-md) auto;
  border-radius: 2px;
  animation: expandWidth 1s ease-out 0.8s both;
}

@keyframes expandWidth {
  from {
    width: 0;
  }

  to {
    width: 60px;
  }
}

/* Main Content */
.main-content {
  animation: fadeInUp 1s ease-out 0.5s both;
}

/* Info Cards Section */
.info-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: var(--spacing-lg);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition-elegant);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition-elegant);
  z-index: -1;
}

.info-card:hover {
  transform: translateY(-12px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.info-card:hover::before {
  opacity: 0.1;
}

.info-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: var(--transition-bounce);
}

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

.info-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: #fff;
  letter-spacing: 0.5px;
}

.info-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-weight: 300;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 32px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.5);
}

/* Section Title */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  letter-spacing: -1px;
}

/* Form Container */
.form-container {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 24px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  position: relative;
}

/* Google Form Iframe */
.google-form-iframe {
  width: 100%;
  height: 900px;
  min-height: 600px;
  border: none;
  border-radius: 20px;
  background: #fff;
  transition: var(--transition-smooth);
  display: block;
}

/* About Section */
.about-content {
  padding: var(--spacing-md);
  text-align: center;
  line-height: 1.9;
}

.about-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  margin-bottom: var(--spacing-md);
  font-weight: 300;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-text-secondary {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  font-weight: 300;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  text-align: center;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  animation: fadeIn 1.8s ease-out;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: var(--spacing-xl);
}

.footer-text {
  margin-bottom: var(--spacing-xs);
  font-weight: 300;
}

.footer a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition-smooth);
  font-weight: 400;
  position: relative;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: var(--transition-smooth);
}

.footer a:hover {
  color: var(--primary-color);
}

.footer a:hover::after {
  width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .logo {
    font-size: 3.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

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

  .info-section {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: var(--spacing-sm);
  }

  .header {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }

  .logos-container {
    height: 80px;
    margin-bottom: var(--spacing-md);
  }

  .logo-image {
    height: 80px;
  }

  .logo {
    font-size: 2.8rem;
    letter-spacing: -1px;
  }

  .subtitle {
    font-size: 1.1rem;
    padding: 0 var(--spacing-sm);
  }

  .tagline {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
  }

  .glass-card {
    padding: var(--spacing-md);
    border-radius: 24px;
  }

  .form-container {
    border-radius: 20px;
  }

  .google-form-iframe {
    height: 1100px;
    border-radius: 16px;
  }

  .info-section {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .info-card {
    padding: var(--spacing-md);
  }

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

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

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

@media (max-width: 480px) {
  .header {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }

  .logos-container {
    height: 60px;
    margin-bottom: var(--spacing-sm);
  }

  .logo-image {
    height: 60px;
  }

  .logo {
    font-size: 2.2rem;
    letter-spacing: 0;
  }

  .logo-decoration {
    width: 60px;
  }

  .subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }

  .tagline {
    font-size: 0.9rem;
  }

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

  .glass-card {
    padding: var(--spacing-sm);
    border-radius: 20px;
  }

  .form-container {
    border-radius: 16px;
  }

  .google-form-iframe {
    height: 1300px;
    min-height: 800px;
    border-radius: 12px;
  }

  .info-card {
    padding: var(--spacing-sm) var(--spacing-md);
  }

  .info-icon {
    font-size: 2.5rem;
  }

  .info-title {
    font-size: 1.2rem;
  }

  .info-description {
    font-size: 0.95rem;
  }

  .about-content {
    padding: var(--spacing-sm);
  }

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

  .about-text-secondary {
    font-size: 0.9rem;
  }

  .container {
    padding: 0.75rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Loading State */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Print Styles */
@media print {

  .background-wrapper,
  .footer {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .glass-card {
    border: 1px solid #ccc;
  }
}