/* CSS Variables */
:root {
  /* Monochrome Color Palette */
  --primary-color: #1a1a1a;
  --secondary-color: #333333;
  --accent-color: #666666;
  --light-color: #f5f5f5;
  --white-color: #ffffff;
  --dark-overlay: rgba(0, 0, 0, 0.5);
  --light-overlay: rgba(255, 255, 255, 0.1);
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  --gradient-secondary: linear-gradient(135deg, #333333 0%, #666666 100%);
  --gradient-accent: linear-gradient(135deg, #666666 0%, #999999 100%);
  
  /* Typography */
  --font-primary: 'Space Grotesk', sans-serif;
  --font-secondary: 'DM Sans', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
}

/* Global Button Styles */
.btn, .button, button, input[type="submit"] {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-primary);
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: var(--white-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-md);
}

.btn:hover, .button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-secondary);
}

.btn:active, .button:active, button:active, input[type="submit"]:active {
  transform: translateY(0);
}

.btn::before, .button::before, button::before, input[type="submit"]::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 var(--transition-slow);
}

.btn:hover::before, .button:hover::before, button:hover::before, input[type="submit"]:hover::before {
  left: 100%;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.navbar {
  padding: var(--space-sm) 0;
}
.navbar.is-transparent{
  background: transparent;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-icon {
  font-size: 2rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s infinite;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-color);
}

.navbar-item {
  color: var(--white-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
  position: relative;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-item:hover {
  color: var(--accent-color);
  background: var(--light-overlay);
}

.navbar-item:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) 0;
}

.hero-content .title {
  color: var(--white-color) !important;
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero-content .subtitle {
  color: var(--white-color) !important;
  font-size: 1.3rem;
  margin-bottom: var(--space-xl);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-form-container {
  position: relative;
  z-index: 2;
}

.hero-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-form .title {
  color: var(--primary-color) !important;
  margin-bottom: var(--space-lg);
  text-shadow: none;
}

/* Form Styles */
.field {
  margin-bottom: var(--space-md);
}

.label {
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--primary-color);
}

.input, .textarea, .select select {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: var(--white-color);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.1);
}

/* Section Styles */
.section {
  padding: var(--space-xxl) 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--white-color);
}

.section:nth-child(odd) {
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

/* Innovation Section */
.innovation-section {
  position: relative;
  overflow: hidden;
}

.innovation-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(102, 102, 102, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.innovation-card {
  background: var(--white-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.innovation-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.innovation-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.innovation-card .image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.innovation-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.innovation-card:hover img {
  transform: scale(1.05);
}

.innovation-card .card-content {
  padding: var(--space-lg);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Research Section */
.research-section {
  background: var(--gradient-primary);
  color: var(--white-color);
}

.research-section .title,
.research-section .subtitle {
  color: var(--white-color) !important;
}

.stats-widget {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
  text-align: center;
  padding: var(--space-md);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: var(--space-xs);
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.research-text {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
}

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Process Section */
.process-section {
  background: var(--white-color);
}

.process-timeline {
  position: relative;
}

.process-step {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(145deg, #f8f8f8, #e8e8e8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.process-step::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(102, 102, 102, 0.1), transparent);
  animation: rotate 10s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.process-step:hover::before {
  opacity: 1;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 2;
}

.process-description {
  background: rgba(102, 102, 102, 0.05);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
  border-left: 4px solid var(--accent-color);
}

/* External Resources Section */
.external-resources-section {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.resource-card {
  background: var(--white-color);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.resource-card .button {
  margin-top: var(--space-md);
}

/* Media Gallery */
.media-section {
  background: var(--white-color);
}

.media-gallery {
  margin-top: var(--space-xl);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

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

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Events Section */
.events-section {
  background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
}

.event-card {
  background: var(--white-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.event-card .card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card .image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.event-card:hover img {
  transform: scale(1.05);
}

.event-card .card-content {
  padding: var(--space-lg);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-date {
  background: var(--gradient-accent);
  color: var(--white-color);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  display: inline-block;
}

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

.contact-form-container {
  background: linear-gradient(145deg, #f8f8f8, #f0f0f0);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  background: var(--white-color);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.contact-info {
  padding: var(--space-lg);
}

.contact-item {
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: rgba(102, 102, 102, 0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-color);
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: var(--gradient-primary);
  color: var(--white-color);
  padding: var(--space-xxl) 0 var(--space-lg) 0;
}

.footer-brand {
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-container {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: var(--space-lg) 0;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--white-color);
}

.success-content {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Content Pages */
.content-page {
  padding-top: 100px;
  min-height: calc(100vh - 100px);
}

.content-page .section {
  padding: var(--space-xl) 0;
}

.content-page .title {
  margin-bottom: var(--space-lg);
}

.content-page .content {
  background: var(--white-color);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.content-page .content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--primary-color);
}

.content-page .content h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--secondary-color);
}

.content-page .content p {
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.content-page .content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.content-page .content li {
  margin-bottom: var(--space-xs);
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 2.5rem;
  }

  .hero-content .title {
    font-size: 2.5rem;
  }

  .hero-content .subtitle {
    font-size: 1.1rem;
  }

  .hero-form {
    padding: var(--space-lg);
  }

  .section {
    padding: var(--space-xl) 0 var(--space-lg) 0;
  }

  .innovation-card .card-content,
  .event-card .card-content {
    padding: var(--space-md);
  }

  .stats-widget {
    padding: var(--space-lg);
  }

  .stat-number {
    font-size: 2rem;
  }

  .process-step {
    padding: var(--space-md);
  }

  .step-number {
    font-size: 2rem;
  }

  .contact-form-container {
    padding: var(--space-lg);
  }

  .contact-form {
    padding: var(--space-lg);
  }

  .navbar-burger {
    color: var(--white-color);
  }

  .navbar-menu {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }

.has-text-dark { color: var(--primary-color) !important; }
.has-text-light { color: var(--white-color) !important; }
.has-text-white { color: var(--white-color) !important; }

/* Scroll Reveal Effects */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Cookie Popup */
.cookie-popup {
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-popup button:hover {
  background: var(--accent-color);
}