/* Variables & Reset */
:root {
  /* Primary Colors */
  --primary-color: #333333;
  --primary-light: #555555;
  --primary-dark: #222222;
  --primary-darker: #111111;
  
  /* Accent Colors */
  --accent-color: #6d6d6d;
  --accent-light: #8a8a8a;
  --accent-dark: #4a4a4a;
  
  /* Background Colors */
  --bg-color: #f5f5f5;
  --bg-light: #ffffff;
  --bg-dark: #e0e0e0;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #444444;
  --text-light: #ffffff;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 25px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Merriweather', serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-medium);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: var(--space-sm);
}

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

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

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

ul {
  list-style: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: var(--space-sm) auto;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--text-medium);
}

/* Glassmorphism */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px 0 var(--glass-shadow);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-medium);
  z-index: -1;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn:active {
  transform: translateY(-1px);
}

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

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

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

button, 
input[type='submit'] {
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-medium);
}

/* Form Styles */
input, 
textarea, 
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--bg-dark);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--bg-light);
  transition: border var(--transition-fast);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
}

.form-checkbox input {
  width: auto;
  margin-right: 10px;
}

.form-checkbox label {
  margin-bottom: 0;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-medium);
}

.header.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.95);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  h1{
    font-size: 22px;
  }
}

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

.nav-menu ul {
  display: flex;
  gap: var(--space-sm);
}

.nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-dark);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.nav-menu a:hover {
  color: var(--accent-color);
}

.nav-menu a:hover::after {
  width: 80%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--primary-dark);
  transition: all var(--transition-fast);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  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: -1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.hero-content {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: var(--space-lg);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: var(--space-md);
  color: var(--text-light);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: var(--space-lg);
  color: var(--text-light);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

/* Services Section */
.services-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content h3 {
  margin-bottom: var(--space-sm);
  font-weight: 700;
}

.progress-container {
  width: 100%;
  height: 8px;
  background-color: var(--bg-dark);
  border-radius: 4px;
  margin-top: var(--space-md);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--accent-color);
  border-radius: 4px;
  position: relative;
  width: 0;
  transition: width 1s ease;
}

.progress-text {
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* External Resources Section */
.external-resources-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-color);
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  text-align: center;
  height: 100%;
}

.resource-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.resource-card p {
  flex-grow: 1;
  margin-bottom: var(--space-md);
}

.resource-link {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 5px;
}

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

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

/* Team Section */
.team-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.team-position {
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.team-description {
  color: var(--text-medium);
}

/* Research Section */
.research-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-color);
}

.research-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.accordion {
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background-color: var(--bg-light);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--bg-dark);
}

.accordion-header h3 {
  margin-bottom: 0;
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform var(--transition-fast);
}

.accordion.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.accordion.active .accordion-content {
  max-height: 500px;
}

.content-wrapper {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-container {
  width: 100%;
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

/* Webinars Section */
.webinars-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

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

.webinar-date {
  font-family: var(--font-heading);
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.webinar-description {
  margin-bottom: var(--space-md);
}

/* Press Section */
.press-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-color);
}

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

.press-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-md);
  height: 100%;
}

.press-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.press-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.press-source {
  font-style: italic;
  color: var(--accent-color);
  margin-bottom: var(--space-sm);
}

.press-quote {
  position: relative;
  padding: 0 var(--space-sm);
}

.press-quote::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 0;
  font-size: 2rem;
  color: var(--accent-light);
  line-height: 1;
}

.press-quote::after {
  content: '"';
  position: absolute;
  bottom: -0.5rem;
  right: 0;
  font-size: 2rem;
  color: var(--accent-light);
  line-height: 1;
}

/* Contact Section */
.contact-section {
  padding: var(--space-xl) 0;
  background-color: var(--bg-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

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

.contact-info h3 {
  margin-bottom: var(--space-md);
}

.contact-info ul {
  margin-bottom: var(--space-md);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.contact-info i {
  margin-right: var(--space-sm);
  color: var(--accent-color);
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

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

.contact-form h3 {
  margin-bottom: var(--space-md);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
}

.footer-logo h2 {
  color: var(--text-light);
  margin-bottom: var(--space-xs);
}

.footer-logo p {
  color: var(--bg-dark);
}

.footer h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--accent-color);
  display: inline-block;
}

.footer-links ul, 
.footer-legal ul, 
.footer-social ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer a {
  color: var(--bg-dark);
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: var(--text-light);
}

.footer-bottom {
  padding: var(--space-md) 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--bg-dark);
  margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-light);
  z-index: 9999;
  padding: var(--space-md);
}

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

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

.btn-cookie {
  background-color: var(--accent-color);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

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

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

.success-icon {
  font-size: 5rem;
  color: #4CAF50;
  margin-bottom: var(--space-md);
}

/* Privacy & Terms Pages */
.legal-page {
  padding-top: 100px;
  padding-bottom: var(--space-xl);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-md);
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.legal-content h2 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--accent-color);
}

.legal-content h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.legal-content p, 
.legal-content ul {
  margin-bottom: var(--space-md);
}

.legal-content ul {
  padding-left: var(--space-md);
  list-style-type: disc;
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-500 {
  animation-delay: 0.5s;
}

/* Media Queries */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0;
  }
  
  .nav-menu.active {
    display: block;
  }
  
  .nav-menu ul {
    flex-direction: column;
    padding: 0 var(--space-md);
  }
  
  .nav-menu li {
    margin: var(--space-xs) 0;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h3 {
    margin-left: auto;
    margin-right: auto;
  }
  
  .footer-links ul, 
  .footer-legal ul, 
  .footer-social ul {
    align-items: center;
  }
  
  .cookie-content {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .card, 
  .press-card {
    padding: var(--space-sm);
  }
}