/* ===== VARIABLES ===== */
:root {
  /* Main Colors */
  --primary-color: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --secondary-color: #7e22ce;
  --secondary-dark: #6d28d9;
  --secondary-light: #a855f7;
  
  /* Accent Colors */
  --accent-1: #ef4444;
  --accent-2: #f59e0b;
  --accent-3: #10b981;
  
  /* Neutral Colors */
  --dark: #1f2937;
  --dark-gray: #4b5563;
  --medium-gray: #9ca3af;
  --light-gray: #e5e7eb;
  --white: #ffffff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-primary-light: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  --gradient-overlay: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  --gradient-overlay-light: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2));
  --gradient-card: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 5rem 0;
}

/* ===== BUTTONS ===== */
.btn,
button:not(.faq-question),
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-medium);
  border: none;
  outline: none;
  text-decoration: none;
}

.btn-primary,
input[type="submit"] {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  filter: brightness(110%);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background-color: var(--light-gray);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
}

.btn-text {
  padding: 0;
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
}

.btn-text::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.btn-text:hover::after {
  width: 100%;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--primary-color);
  transition: all var(--transition-medium);
}

.read-more:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.read-more::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform var(--transition-medium);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition-medium);
}

header.scrolled {
  background: var(--dark);
  box-shadow: var(--shadow-md);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

nav a {
  color: var(--white);
  transition: color var(--transition-medium);
}

nav a:hover {
  color: var(--light-gray);
}

#mobile-menu-button {
  background: transparent;
  border: none;
  color: var(--white);
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
#hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero .absolute.bg-cover {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1);
  transition: transform 1s ease;
}

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

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== FEATURES SECTION ===== */
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

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

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

.card-content {
  padding: 1.5rem;
  width: 100%;
  text-align: center;
}

.card-content h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.card-content p {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

/* ===== PROCESS SECTION ===== */
.process-steps {
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--secondary-light));
}

.process-step {
  position: relative;
  margin-bottom: 5rem;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step-number {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.process-step-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

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

/* ===== PROJECTS SECTION ===== */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.project-image {
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: opacity var(--transition-medium);
  opacity: 0;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-description {
  color: var(--light-gray);
  margin-bottom: 1rem;
}

/* ===== FAQ SECTION ===== */
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition-medium);
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-question svg {
  transition: transform var(--transition-medium);
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: var(--dark-gray);
}

/* ===== RESEARCH SECTION ===== */
.research-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.research-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.research-content {
  padding: 1.5rem;
}

.research-title {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.research-text {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

/* ===== BEHIND THE SCENES SECTION ===== */
.scene-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.scene-image {
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: var(--gradient-overlay);
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.scene-card:hover .scene-overlay {
  transform: translateY(0);
}

.scene-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.scene-description {
  color: var(--light-gray);
}

/* ===== EVENTS CALENDAR SECTION ===== */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

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

.event-image {
  position: relative;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.event-content {
  padding: 1.5rem;
}

.event-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.event-description {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.event-details {
  display: flex;
  align-items: center;
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

.event-details svg {
  margin-right: 0.5rem;
}

/* ===== PORTFOLIO SECTION ===== */
#portfolio-slider {
  display: flex;
  transition: transform var(--transition-medium);
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.portfolio-image {
  height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-description {
  color: var(--light-gray);
  margin-bottom: 1.5rem;
}

/* Slider Controls */
.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-medium);
}

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

.slider-control:hover svg {
  color: var(--white);
}

.slider-control.prev {
  left: 1rem;
}

.slider-control.next {
  right: 1rem;
}

/* ===== CAREERS SECTION ===== */
.career-benefit {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.benefit-icon {
  margin-right: 1rem;
  background: var(--primary-light);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-content h4 {
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.benefit-content p {
  color: var(--dark-gray);
}

.job-card {
  background: var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

.job-title {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.job-description {
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-tag {
  background: var(--primary-light);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

/* ===== CONTACT SECTION ===== */
.contact-info {
  margin-bottom: 2rem;
}

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

.contact-icon {
  margin-right: 1rem;
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-content h4 {
  margin-bottom: 0.25rem;
  color: var(--white);
}

.contact-content p {
  color: var(--light-gray);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Social media */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--light-gray);
  transition: color var(--transition-medium);
}

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

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: var(--light-gray);
  padding: 4rem 0 2rem;
}

.footer-heading {
  color: var(--white);
  margin-bottom: 1.5rem;
}

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

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

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  margin-right: 0.75rem;
  color: var(--primary-light);
}

.footer-contact-text {
  color: var(--medium-gray);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--medium-gray);
  font-size: 0.875rem;
}

.footer-legal a {
  color: var(--medium-gray);
  font-size: 0.875rem;
  margin-left: 1.5rem;
  transition: color var(--transition-medium);
}

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

/* ===== COOKIE CONSENT ===== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(31, 41, 55, 0.95);
  color: var(--white);
  z-index: 9999;
  padding: 1rem;
  display: none;
}

#cookie-consent p {
  margin-bottom: 1rem;
}

#accept-cookies {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-medium);
}

#accept-cookies:hover {
  background: var(--primary-light);
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
  background: var(--gradient-primary-light);
  color: var(--white);
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 2rem;
}

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

.success-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.legal-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.legal-heading {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.legal-section ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--dark-gray);
}

.legal-section li {
  margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .process-steps::before {
    left: 20px;
  }
  
  .process-step-number {
    left: 20px;
    transform: none;
  }
  
  .process-step-content {
    margin-left: 60px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    margin-top: 1rem;
  }
  
  .footer-legal a {
    margin: 0 0.75rem;
  }
}

@media (max-width: 640px) {
  section {
    padding: 3rem 0;
  }
  
  .card-image {
    height: 180px;
  }
  
  .project-image,
  .portfolio-image,
  .scene-image {
    height: 250px;
  }
  
  .event-image {
    height: 180px;
  }
  
  .contact-info,
  .contact-form {
    width: 100%;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease forwards;
}

.animate-delay-1 {
  animation-delay: 0.2s;
}

.animate-delay-2 {
  animation-delay: 0.4s;
}

.animate-delay-3 {
  animation-delay: 0.6s;
}