/* Root Variables */
:root {
  /* Monochromatic color scheme */
  --primary-color: #2b3990;
  --primary-dark: #1e2665;
  --primary-light: #4a59c2;
  --primary-hover: #5a6ad2;
  --secondary-color: #e6e6e6;
  --secondary-dark: #c4c4c4;
  --secondary-light: #f7f7f7;
  
  /* Text colors */
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #f5f5f5;
  
  /* Glass effect */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
}

/* Typography */
body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--secondary-light);
  overflow-x: hidden;
}
.navbar-item h1{
  opacity: 1!important;
}
h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
}
#acceptCookies.button{
  opacity: 1!important;
}
.title {
  letter-spacing: -0.02em;
}

.subtitle {
  color: var(--text-medium);
  font-weight: 400;
}

/* General Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.button {
  font-weight: 500;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

.button.is-outlined.is-light {
  border-color: var(--text-light);
  color: var(--text-light);
}

.button.is-outlined.is-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Glassmorphism Card */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

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

.glassmorphism-card .card-content {
  padding: var(--spacing-md);
  width: 100%;
}

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

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

.glassmorphism-card:hover .image-container img {
  transform: scale(1.05);
}

.glassmorphism-card .card-image {
  width: 100%;
  text-align: center;
}

.glassmorphism-card .card-image img {
  width: 100%;
  object-fit: cover;
  margin: 0 auto;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-medium);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.navbar {
  transition: padding var(--transition-medium);
}

.navbar-item {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary-color) !important;
}

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  filter: brightness(0.7);
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .buttons {
  margin-top: var(--spacing-md);
}

/* Mission Section */
#mission {
  padding: var(--spacing-xl) 0;
}

/* Research Section */
#research {
  padding: var(--spacing-xl) 0;
  background-color: var(--secondary-light);
}

#research .title {
  margin-bottom: var(--spacing-lg);
}

/* Portfolio Section */
#portfolio {
  padding: var(--spacing-xl) 0;
}

#portfolio .title {
  margin-bottom: var(--spacing-lg);
}

/* Resources Section */
#resources {
  padding: var(--spacing-xl) 0;
  background-color: var(--secondary-light);
}

#resources .title {
  margin-bottom: var(--spacing-lg);
}

/* Instructors Section */
#instructors {
  padding: var(--spacing-xl) 0;
}

#instructors .title {
  margin-bottom: var(--spacing-lg);
}

/* Accolades Section */
#accolades {
  padding: var(--spacing-xl) 0;
  background-color: var(--secondary-light);
}

#accolades .title {
  margin-bottom: var(--spacing-lg);
}

#accolades .glassmorphism-card {
  text-align: center;
}

#accolades img {
  max-width: 200px;
  margin: 0 auto var(--spacing-md);
}

/* Careers Section */
#careers {
  padding: var(--spacing-xl) 0;
}

#careers .title {
  margin-bottom: var(--spacing-lg);
}

.job-item {
  border-bottom: 1px solid var(--secondary-dark);
  padding-bottom: var(--spacing-md);
}

.job-item:last-child {
  border-bottom: none;
}

/* Community Section */
#community {
  padding: var(--spacing-xl) 0;
  background-color: var(--secondary-light);
}

#community .title {
  margin-bottom: var(--spacing-lg);
}

/* Media Section */
#media {
  padding: var(--spacing-xl) 0;
}

#media .title {
  margin-bottom: var(--spacing-lg);
}

/* Contact Section */
#contact {
  padding: var(--spacing-xl) 0;
  background-color: var(--secondary-light);
}

#contact .title {
  margin-bottom: var(--spacing-lg);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.map-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Form Elements */
.input, .textarea, .select select {
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  box-shadow: 0 0 0 2px var(--primary-light);
  border-color: var(--primary-color);
}

.label {
  font-weight: 500;
  color: var(--text-dark);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer .title, .footer h3 {
  color: white;
}

.footer a {
  color: var(--secondary-light);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: var(--spacing-xs);
}

.social-links a {
  display: inline-block;
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  transition: transform var(--transition-fast);
}

.social-links a:hover {
  transform: translateY(-2px);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: var(--spacing-md);
  z-index: 9999;
  display: none;
  box-shadow: var(--shadow-lg);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin: 0;
  margin-right: var(--spacing-md);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-md);
}

.success-content {
  max-width: 600px;
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

/* Scroll Reveal Animations */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

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

.reveal-fade-in {
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.reveal-fade-in.active {
  opacity: 1;
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  
  .hero .title {
    font-size: 2.5rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.5rem !important;
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem !important;
  }
  
  .hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
  
  .glassmorphism-card .image-container {
    height: 200px;
  }
}

/* Additional Utilities */
.has-text-centered-mobile {
  @media screen and (max-width: 768px) {
    text-align: center;
  }
}

.mb-5 {
  margin-bottom: var(--spacing-md) !important;
}

.mt-5 {
  margin-top: var(--spacing-md) !important;
}

.mt-3 {
  margin-top: var(--spacing-sm) !important;
}

.mb-4 {
  margin-bottom: var(--spacing-sm) !important;
}

/* Read More Links */
a.read-more {
  display: inline-block;
  font-weight: 500;
  color: var(--primary-color);
  text-decoration: none;
  position: relative;
  padding-right: 20px;
}

a.read-more::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-fast);
}

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

a.read-more:hover::after {
  transform: translate(5px, -50%);
}