

:root {
  /* Colors */
  --color-background: #040e1ae4;
  --color-surface: #051d34e5;
  --color-text: rgba(245, 245, 245, 1);
  --color-text-secondary: rgba(167, 169, 169, 0.7);

  --color-primary: #00bcd4;
  --color-primary-hover: #04d1ec;
  --color-primary-active: #04a2b7;

  --color-secondary: rgba(119, 124, 124, 0.15);
  --color-secondary-hover: rgba(119, 124, 124, 0.25);
  --color-secondary-active: rgba(119, 124, 124, 0.3);

  --color-border: rgba(119, 124, 124, 0.3);

  --color-btn-primary-text: rgba(19, 52, 59, 1);

  --color-card-border: rgba(119, 124, 124, 0.2);
  --color-card-border-inner: rgba(119, 124, 124, 0.15);

  --color-error: rgba(255, 84, 89, 1);
  --color-success: rgba(50, 184, 198, 1);
  --color-warning: rgba(230, 129, 97, 1);
  --color-info: rgba(167, 169, 169, 1);

  --color-focus-ring: rgba(50, 184, 198, 0.4);
  --color-select-caret: rgba(245, 245, 245, 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;

  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB (for opacity utilities) */
  --color-success-rgb: 50, 184, 198;
  --color-error-rgb: 255, 84, 89;
  --color-warning-rgb: 230, 129, 97;
  --color-info-rgb: 167, 169, 169;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;

  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4),
    0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5),
    0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5),
    0 4px 6px -2px rgba(0, 0, 0, 0.4);

  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}


/* Dark mode colors */

/* Base styles */


html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}


body {
  margin: 0;
  padding: 0;
}


*,
*::before,
*::after {
  box-sizing: inherit;
}


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

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

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

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

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

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: rgba(10, 20, 40, 0.389); /* dark navy, translucent */
  backdrop-filter: blur(0px);       /* glass effect (optional) */
  -webkit-backdrop-filter: blur(0px);
  
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #e6eaf2;                    /* soft light text */
}


.btn--outline:hover {
  background: rgba(10, 20, 40, 0.8);
  border-color: rgba(255, 255, 255, 0.4);
}


.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

.btn--full-width {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* Import design system styles first */

/* Additional custom styles for QUIZZICLES */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  overflow-x: hidden;
}

/* Navigation */

.team-avatar {
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the face fits in circle */
}



.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: red;
  margin: 3px 0;
  transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 1150px) {
  .hamburger {
    display: flex;
    
  }
  .bar {
  background: rgba(50, 184, 198, 1);
 
  
}


  

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
   .nav-menu .nav-link {
    font-size: 0.8rem; /* Adjust as needed */
   
  }
}


/* Hero Section */



@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-24);
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.223);
}

.hero-title .letter {
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.1s);
}

.letter.q { color: #FFD700; --i: 0; }
.letter.u { color: #1E90FF; --i: 1; }
.letter.i { color: #FF4500; --i: 2; }
.letter.z1 { color: #32CD32; --i: 3; }
.letter.z2 { color: #9370DB; --i: 4; }
.letter.i2 { color: #FFA500; --i: 5; }
.letter.c { color: #FF69B4; --i: 6; }
.letter.l { color: #00CED1; --i: 7; }
.letter.e { color: #FF1493; --i: 8; }
.letter.s { color: #00FF00; --i: 9; }

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.hero-subtitle {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-16);
  animation: fadeInUp 1s ease-out 0.3s both;
}
.hero-subtitle1 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-16);
  animation: fadeInUp 1s ease-out 0.3s both;
}
.hero-description {
  font-family:  "Trajan Pro", serif;
  font-size: calc(var(--font-size-lg) * 2.2);
  font-weight: 400;          /* Algeria is already bold by design */
  letter-spacing: 0.5px;     /* enhances the regal feel */
  line-height: 1.6;

  color: rgb(230, 235, 245);
  margin-bottom: var(--space-32);
 text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  animation: fadeInUp 1s ease-out 0.6s both;
}



.hero-buttons {
  display: flex;
  gap: var(--space-16);
  justify-content: center;
  margin-bottom: var(--space-32);
  animation: fadeInUp 1s ease-out 0.9s both;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-32);
  animation: fadeInUp 1s ease-out 1.2s both;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}


/* 
.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: #FFD700;
  margin-bottom: var(--space-8);
} */

.stat-label {
  font-size: var(--font-size-2xl);
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
section {
  padding: var(--space-32) 0;
}

.section-title {
  text-align: center;
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-32);
  color: var(--color-text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(45deg, var(--color-primary), #1E90FF);
  border-radius: 2px;
}

/* About Section */
.about {
  /* background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%); */
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-24);
  color: var(--color-text-secondary);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-24);
  margin-top: var(--space-32);
}

.feature {
  text-align: center;
  padding: var(--space-24);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-standard);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--space-16);
}

.feature h3 {
  margin-bottom: var(--space-8);
  color: var(--color-primary);
}

/* Questions Section */
.questions {
  background: var(--color-background);
}

.questions-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  margin-bottom: var(--space-32);
}

.tab-btn {
  padding: var(--space-12) var(--space-24);
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  font-weight: var(--font-weight-medium);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.questions-content {
  max-width: 800px;
  margin: 0 auto;
}

.question-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  margin-bottom: var(--space-24);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-standard);
}

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

.question-number {
  background: var(--color-primary);
  color: white;
  width:fit-content;
  height: auto;
  border-radius:0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-16);
padding:10px;
}

.question-text {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-20);
  color: var(--color-text);
}

.options {
  display: grid;
  gap: var(--space-12);
}

.option {
  padding: var(--space-12) var(--space-16);
  background: var(--color-secondary);
  border-radius: var(--radius-base);
  transition: background var(--duration-fast) var(--ease-standard);
  cursor: pointer;
}

.option:hover {
  background: var(--color-secondary-hover);
}

.option.correct {
  background: rgba(var(--color-success-rgb), 0.1);
  border: 1px solid var(--color-success);
  color: var(--color-success);
}

.hidden {
  display: none;
}

/* Edition Section */
.edition {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.edition-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-24);
}

.edition-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-standard);
}

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

.edition-card h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-16);
}

.detail-item {
  margin-bottom: var(--space-12);
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
}

.dates-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.date-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: var(--space-12) var(--space-16);
  background: var(--color-secondary);
  border-radius: var(--radius-base);
  gap:10px;
}

.date-label {
  font-weight: var(--font-weight-medium);
}

.date-value {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

/* Team Section */
.team {
  /* background: var(--color-background); */
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-24);
}

.team-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-standard);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--color-primary), #1E90FF);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin: 0 auto var(--space-16);
}

.team-info h3 {
  margin-bottom: var(--space-8);
  color: var(--color-text);
}

.team-role {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-12);
}

.team-description {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

/* Sponsors Section */
.sponsors {
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-24);
}

.sponsor-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-standard);
}

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

.sponsor-category {
  display: inline-block;
  padding: var(--space-4) var(--space-12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-16);
}

.title-sponsor {
  background: rgba(255, 215, 0, 0.2);
  color: #B8860B;
}

.category-sponsor {
  background: rgba(30, 144, 255, 0.2);
  color: #1E90FF;
}

.supporting-partner {
  background: rgba(50, 205, 50, 0.2);
  color: #32CD32;
}

.academic-partner {
  background: rgba(255, 69, 180, 0.2);
  color: #FF45B4;
}

.sponsor-card h3 {
  margin-bottom: var(--space-12);
  color: var(--color-text);
}

/* Contact Section */
.contact {
  /* background: var(--color-background); */
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-32);
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: var(--space-16);
  color: var(--color-primary);
}

.contact-info p {
  margin-bottom: var(--space-24);
  color: var(--color-text-secondary);
}

.contact-item {
  margin-bottom: var(--space-16);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-form {
  background: var(--color-surface);
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-24);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    gap: var(--space-16);
  }
  
  .questions-tabs {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer */
.footer {
 background:  #051d34e5;
  color: white;
  padding: var(--space-32) 0 var(--space-16);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-32);
  margin-bottom: var(--space-24);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--space-16);
  color: var(--color-primary);
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin-bottom: var(--space-8);
  transition: color var(--duration-fast) var(--ease-standard);
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--space-24);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
}

/* Button Enhancements */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Responsive Design */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-container {
    padding: 0 var(--space-16);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
}

/* Smooth reveal animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn:disabled::before {
  display: none;
}

@media (prefers-color-scheme: light) {
  #learnMore {
    background:transparent; /* Match greenish-blue color */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.545);
  }

  #learnMore:hover {
    background-color: #12666e; /* Slightly darker on hover */
    color: white;
  }
}


/* =======================
   NAVBAR (FIXED & CLEAN)
======================= */

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;

  background: rgba(4, 14, 26, 0.08); /* translucency */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Safari support */

  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}


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

/* ================= CONTAINER ================= */
.nav-container {
  display: flex;
  align-items: center;
  padding: 0;
  padding-right: 2rem;
  height: 72px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ================= LEFT ================= */
.nav-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-logo .logo-text {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  background: rgba(4, 85, 21, 0.795);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= CENTER ================= */
.nav-menu {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;

}

/* ================= LINKS ================= */
.nav-link {
  font-size: 1.3rem;
  font-weight: var(--font-weight-medium);
  color: white;
  position: relative;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ================= RIGHT ================= */
.nav-right-logos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.nav-logo-img {
  height: 68px;
  object-fit: contain;
  transition: transform 0.2s ease;

  filter: brightness(1.5) contrast(1.1);
}

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

.nav-logo-img1 {
  height: 160px;
  object-fit: contain;
  transition: transform 0.2s ease;
   filter: brightness(1.2) contrast(1.1);
}

.nav-logo-img1:hover {
  transform: scale(1.05);
}
.nav-logo-img2 { 
  height: 150px;
  object-fit: contain;
  transition: transform 0.2s ease;
  padding-top: 10px;

}

.nav-logo-img2:hover {
 filter: brightness(1.2) contrast(1.1);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-left: 1rem;
}

.bar {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.835);
  transition: 0.3s;
}

/* =======================
   MOBILE
======================= */

@media (max-width: 1150px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    background: var(--color-surface);
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-right-logos {
    display: none;
  }
}
/* ===== HERO BACKGROUND IMAGE ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevents image overlap if it's larger than container */
}

.hero-bg {
  /* Position it to fill the parent */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* The "Magic" property */
  object-fit: cover; 
  
  /* Ensures it stays behind the text */
  z-index: 0; 
  
  /* Optional: adjust focus point (like background-position) */
  object-position:center center;
}

.hero-content {
  color: white;
  text-align: center;
  z-index: 1; /* Keeps text above the image */
}
.hero-bg {
  filter: brightness(0.5) contrast(1.0);
}

#schedule{
   /* background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%); */
}

@media (max-width: 300px) {
  .hero-content{
 
    margin-top: 40px;
  }
  
}