:root {
  /* Core colors */
  --primary-color: #ff5e62;
  --primary-color-dark: #e04247;
  --secondary-color: #0072ff;
  --secondary-color-dark: #0059c7;
  --accent-color: #36d1dc;
  --accent-color-dark: #28a8b1;
  --success-color: #5cb85c;
  --warning-color: #f0ad4e;
  --danger-color: #d9534f;
  --info-color: #5bc0de;
  
  /* Text colors */
  --text-dark: #333333;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  
  /* Background colors */
  --bg-light: #ffffff;
  --bg-dark: #121212;
  --bg-gray: #f4f7fa;
  
  /* Gradient backgrounds */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff9966);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  --gradient-dark: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 50%;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.adaptive-text {
  font-size: clamp(1.5rem, 3vw, 3rem);
}

/* Header/Navbar */
.navbar {
  transition: var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-item {
  font-weight: 500;
  transition: var(--transition-fast);
}

.animated-link {
  position: relative;
  transition: var(--transition-fast);
}

.animated-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  transform-origin: bottom right;
}

.animated-link:hover::after {
  width: 100%;
  transform-origin: bottom left;
}

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

.hero.is-fullheight-with-navbar {
  min-height: calc(100vh - 3.25rem);
}

.parallax-section {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
}

.hero-body {
  z-index: 1;
}

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

/* Buttons */
.button {
  transition: var(--transition-fast);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.button.is-primary:hover {
  box-shadow: 0 4px 15px rgba(255, 94, 98, 0.4);
  transform: translateY(-2px);
}

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

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

.pulse-button {
  position: relative;
}

.pulse-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--border-radius-md);
  box-shadow: 0 0 0 0 rgba(255, 94, 98, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 94, 98, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 94, 98, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 94, 98, 0);
  }
}

/* Research Section */
.research-card {
  height: 100%;
  transition: var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

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

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

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

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

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

.toggle-container {
  display: flex;
  justify-content: center;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 34px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-gray);
  transition: var(--transition-fast);
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--bg-light);
  transition: var(--transition-fast);
  border-radius: 50%;
}

.toggle input:checked + .slider {
  background-color: var(--primary-color);
}

.toggle input:checked + .slider:before {
  transform: translateX(86px);
}

.labels {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.toggle input:checked ~ .labels {
  color: var(--text-light);
}

.toggle input ~ .labels::before {
  content: attr(data-off);
  position: absolute;
  left: 10px;
}

.toggle input:checked ~ .labels::before {
  content: attr(data-on);
  position: absolute;
  left: auto;
  right: 10px;
}

/* Resource Cards */
.resource-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: var(--border-radius-full);
  background: var(--gradient-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  font-size: 2rem;
}

.animated-icon {
  animation: float 3s ease-in-out infinite;
}

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

.resource-list {
  list-style-type: none;
  padding: 0;
  margin: 20px 0 0;
}

.resource-list li {
  margin-bottom: 10px;
}

.resource-list a {
  color: var(--secondary-color);
  transition: var(--transition-fast);
  position: relative;
  display: inline-block;
  padding: 5px 0;
  font-weight: 500;
}

.resource-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
}

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

.resource-list a:hover::after {
  width: 100%;
}

/* News Section */
.news-card {
  height: 100%;
  transition: var(--transition-normal);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

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

.news-card .card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-card .image-container {
  width: 100%;
  height: 100%;
}

.news-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 5px 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border-top-right-radius: var(--border-radius-md);
}

.news-card .button.is-primary.is-outlined {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.news-card .button.is-primary.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Success Stories Section */
.success-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.success-card .image-container {
  border-radius: var(--border-radius-full);
  overflow: hidden;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.success-card img.is-rounded {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Press Section */
.press-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  overflow: hidden;
  height: 100%;
}

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

.press-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: var(--gradient-primary);
  color: var(--text-light);
}

.press-source {
  font-weight: 700;
  font-size: 1.1rem;
}

.press-date {
  font-size: 0.9rem;
  opacity: 0.9;
}

.press-content {
  padding: 20px;
}

.accordion-container {
  margin-top: 20px;
}

.accordion {
  width: 100%;
}

.accordion-header {
  display: flex;
  justify-content: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-normal);
  padding: 0 15px;
}

.accordion-header button {
  cursor: pointer;
  transition: var(--transition-fast);
}

.accordion-header button:focus + .accordion-content,
.accordion-header button:active + .accordion-content {
  max-height: 300px;
  padding: 15px;
  margin-top: 10px;
  border-top: 1px solid var(--bg-gray);
}

/* Contact Section */
.contact-card {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--border-radius-md);
  box-shadow: none;
  transition: var(--transition-fast);
  border: 2px solid var(--bg-gray);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  box-shadow: 0 0 0 2px rgba(255, 94, 98, 0.3);
  border-color: var(--primary-color);
}

.contact-form .control.has-icons-left .icon {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0;
}

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

.social-links a {
  color: var(--text-light);
  transition: var(--transition-fast);
  display: inline-block;
  margin-right: 15px;
  opacity: 0.8;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: translateY(-3px);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-light);
  transition: var(--transition-fast);
  opacity: 0.8;
  text-decoration: none;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: translateX(5px);
}

/* Animation effects */
.reveal-card {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Success page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: var(--gradient-secondary);
  color: var(--text-light);
}

.success-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: success-bounce 1.5s ease infinite;
}

@keyframes success-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Privacy and Terms pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-bottom: 60px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .hero.is-fullheight-with-navbar {
    min-height: 80vh;
  }

  .adaptive-text {
    font-size: clamp(1.2rem, 4vw, 2rem);
  }

  .success-card .columns {
    display: block;
  }

  .success-card .column.is-one-third {
    width: 100%;
    margin-bottom: 20px;
  }
  
  .contact-card {
    padding: 20px;
  }
  
  .image-container {
    height: 150px;
  }
  
  .icon-container {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Utility classes */
.has-shadow {
  box-shadow: var(--shadow-md);
}

.mt-auto {
  margin-top: auto;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About page */
.about-hero {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  text-align: center;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

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

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  margin: 30px auto 20px;
}

.team-info {
  padding: 20px;
}

.team-member .social-links {
  margin-top: 15px;
}

.team-member .social-links a {
  color: var(--primary-color);
  margin: 0 5px;
}

.team-member .social-links a:hover {
  color: var(--primary-color-dark);
}
*{
  opacity: 1 !important;
}