:root {
  /* Tetrad color scheme */
  --primary: #3498db;
  --primary-dark: #2980b9;
  --secondary: #e74c3c;
  --secondary-dark: #c0392b;
  --accent1: #2ecc71;
  --accent1-dark: #27ae60;
  --accent2: #f39c12;
  --accent2-dark: #d35400;
  
  /* Neutral colors */
  --dark: #333333;
  --darker: #222222;
  --light: #f8f9fa;
  --lighter: #ffffff;
  --medium: #6c757d;
  --medium-light: #dee2e6;
  
  /* Glassmorphism variables */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-blur: 10px;
  
  /* Text shadows */
  --text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  
  /* Transitions */
  --transition-slow: 0.5s ease;
  --transition-medium: 0.3s ease;
  --transition-fast: 0.2s ease;
  
  /* Border radius */
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 20px;
}

/* Base Styles */
body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--darker);
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

.section-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--medium);
}

/* Glassmorphism Effects */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  padding: 2rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glassmorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 var(--glass-shadow);
}

.glassmorphism-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 16px 0 var(--glass-shadow);
  transition: background var(--transition-medium);
}

.glassmorphism-header .navbar {
  padding: 1rem 0;
}

.glassmorphism-header .navbar-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
}

.glassmorphism-header .nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

.glassmorphism-header .nav-link:hover,
.glassmorphism-header .nav-link.active {
  color: var(--primary);
}

/* Button Styles */
.btn {
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transition: height var(--transition-medium);
  z-index: -1;
}

.btn:hover::after {
  height: 100%;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  color: var(--light);
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-light {
  color: var(--light);
  border-color: var(--light);
}

.btn-outline-light:hover, .btn-outline-light:focus {
  color: var(--dark);
  background-color: var(--light);
  border-color: var(--light);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--light);
  margin-top: 0;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

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

.hero-content h1 {
  color: var(--lighter);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: var(--text-shadow);
}

.hero-content p {
  color: var(--lighter);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: var(--text-shadow);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Portfolio Section */
.portfolio-section {
  background-color: var(--light);
}

.portfolio-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-medium);
}

.portfolio-card:hover {
  transform: translateY(-10px);
}

.portfolio-card .card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.portfolio-card .card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.portfolio-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Awards Section */
.awards-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--light);
}

.awards-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 0;
}

.awards-section .container {
  position: relative;
  z-index: 1;
}

.awards-section .section-title,
.awards-section .section-subtitle {
  color: var(--lighter);
}

.award-card {
  text-align: center;
  height: 100%;
}

.award-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.award-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--lighter);
}

.award-card p {
  color: var(--medium-light);
}

/* Behind the Scenes Section */
.behind-scenes-section {
  background-color: var(--light);
}

.behind-card {
  height: 100%;
}

.behind-card .image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.behind-card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.behind-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.behind-content .position {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.social-link:hover {
  color: var(--primary-dark);
}

/* Resources Section */
.resources-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.resources-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 0;
}

.resources-section .container {
  position: relative;
  z-index: 1;
}

.resources-section .section-title,
.resources-section .section-subtitle {
  color: var(--lighter);
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--lighter);
}

.resource-card p {
  color: var(--medium-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.resource-link {
  color: var(--accent2);
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-block;
  position: relative;
}

.resource-link:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent2);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform var(--transition-medium);
}

.resource-link:hover {
  color: var(--accent2-dark);
}

.resource-link:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Careers Section */
.careers-section {
  background-color: var(--light);
}

.career-card {
  height: 100%;
}

.career-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.career-details {
  margin-bottom: 1.5rem;
}

.career-details p {
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-info, .contact-form {
  height: 100%;
}

.contact-info h2 {
  color: var(--lighter);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--medium-light);
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
}

.contact-item .text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--lighter);
}

.contact-item .text p {
  color: var(--medium-light);
  margin-bottom: 0;
}

.contact-form h3 {
  color: var(--lighter);
  margin-bottom: 1.5rem;
}

.contact-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  color: var(--lighter);
  padding: 0.8rem 1rem;
}

.contact-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  box-shadow: none;
}

.contact-form label {
  color: var(--lighter);
  margin-bottom: 0.5rem;
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.site-footer {
  background-color: var(--darker);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.site-footer h3 {
  color: var(--lighter);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer p {
  color: var(--medium-light);
}

.social-media {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.social-media a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.social-media a:hover {
  color: var(--primary-dark);
}

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

.footer-links li {
  margin-bottom: 0.8rem;
}

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

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

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--lighter);
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--primary);
  box-shadow: none;
}

.copyright {
  margin-top: 1rem;
  color: var(--medium);
  font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  z-index: 9999;
  padding: 1rem;
}

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

.cookie-content p {
  margin: 0;
  padding: 0.5rem 0;
  flex: 1;
}

.cookie-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

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

.success-icon {
  font-size: 5rem;
  color: var(--accent1);
  margin-bottom: 2rem;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Privacy & Terms Pages */
.content-page {
  padding-top: 120px;
  padding-bottom: 5rem;
}

.content-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.content-page h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.content-page p {
  margin-bottom: 1.5rem;
}

/* 3D Effects and Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* Media Queries */
@media (max-width: 991.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .behind-card .row {
    flex-direction: column;
  }
  
  .behind-card .col-md-5 {
    margin-bottom: 1.5rem;
  }
  
  .contact-info {
    margin-bottom: 3rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-bottom: 1rem;
  }
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .glassmorphism-card {
    padding: 1.5rem;
  }
}