/* Variables */
:root {
  /* Pastel Color Palette */
  --primary: #6abfb0;
  --primary-light: #8ecec2;
  --primary-dark: #4d9e8f;
  --secondary: #f3b9b3;
  --secondary-light: #ffd0cc;
  --secondary-dark: #e09f99;
  --accent: #ffd166;
  --accent-light: #ffe29d;
  --accent-dark: #e6b94d;
  --text-dark: #333333;
  --text-light: #ffffff;
  --gray-light: #f5f5f5;
  --gray-medium: #e0e0e0;
  --gray-dark: #9e9e9e;
  
  /* Shadows for Neumorphism */
  --shadow-light: rgba(255, 255, 255, 0.5);
  --shadow-dark: rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 15px;
  --radius-lg: 25px;
  --radius-xl: 40px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8em;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

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

/* Custom Bulma Overrides */
.container {
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 1.5rem;
}

.title {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-dark);
}

.subtitle {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
}

/* Buttons */
.button {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  box-shadow: 6px 6px 12px var(--shadow-dark), 
              -6px -6px 12px var(--shadow-light);
  border: none;
  padding: 0.75rem 1.5rem;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 16px var(--shadow-dark), 
              -8px -8px 16px var(--shadow-light);
}

.button:active {
  transform: translateY(0);
  box-shadow: inset 3px 3px 6px var(--shadow-dark), 
              inset -3px -3px 6px var(--shadow-light);
}

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

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

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

.button.is-light {
  background-color: var(--gray-light);
  color: var(--primary-dark);
}

.button.is-light:hover {
  background-color: var(--gray-medium);
  color: var(--primary-dark);
}

.button.is-rounded {
  border-radius: 2rem;
}

.button.is-large {
  font-size: 1.2rem;
  padding: 0.75rem 2rem;
}

/* Header/Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(245, 245, 245, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px var(--shadow-dark);
  transition: all var(--transition-medium);
}

.navbar {
  padding: 0.5rem 0;
}

.navbar-brand .title {
  margin-bottom: 0;
}

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

.navbar-item:hover {
  color: var(--primary);
  background-color: transparent !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: -1;
  transform: scale(1.05);
  transition: transform var(--transition-slow);
}

.hero.is-fullheight {
  min-height: 100vh;
}

.hero-body {
  position: relative;
  padding: 8rem 1.5rem;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero .title, 
.hero .subtitle, 
.hero p {
  color: var(--text-light) !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero .buttons {
  margin-top: 2rem;
}

/* Features Section */
.features-section {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  opacity: 0.5;
  z-index: 0;
}

.features-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.5;
  z-index: 0;
}

.feature-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  transform: translateY(50px);
  opacity: 0;
}

.feature-card.scrolled {
  transform: translateY(0);
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px var(--shadow-dark), 
              -15px -15px 30px var(--shadow-light);
}

.card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  text-align: center;
}

.image-container {
  height: 250px;
  overflow: hidden;
}

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

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

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

.card-content .title {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--primary-dark);
}

/* Services Section */
.services-section {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.service-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  transform: translateY(50px);
  opacity: 0;
}

.service-card.scrolled {
  transform: translateY(0);
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px var(--shadow-dark), 
              -15px -15px 30px var(--shadow-light);
}

/* Resources Section */
.resources-section {
  background-color: var(--gray-light);
  position: relative;
}

.resource-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
  margin-bottom: 2rem;
  transform: translateY(30px);
  opacity: 0;
}

.resource-card.scrolled {
  transform: translateY(0);
  opacity: 1;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 15px 15px 30px var(--shadow-dark), 
              -15px -15px 30px var(--shadow-light);
}

.resource-card .title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

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

.resource-card a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Webinar Section */
.webinar-section {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.webinar-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--accent-light);
  opacity: 0.3;
  z-index: 0;
}

.webinar-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  transform: translateY(50px);
  opacity: 0;
}

.webinar-card.scrolled {
  transform: translateY(0);
  opacity: 1;
}

.webinar-card:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px var(--shadow-dark), 
              -15px -15px 30px var(--shadow-light);
}

.webinar-info {
  margin-top: auto;
  background-color: var(--gray-medium);
  padding: 1rem;
  border-radius: var(--radius-sm);
  width: 100%;
}

.webinar-info p {
  margin-bottom: 0.5rem;
}

.webinar-info p:last-child {
  margin-bottom: 0;
}

/* Partners Section */
.partners-section {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.partners-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  opacity: 0.3;
  z-index: 0;
}

.partner-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  transform: translateY(50px);
  opacity: 0;
}

.partner-card.scrolled {
  transform: translateY(0);
  opacity: 1;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px var(--shadow-dark), 
              -15px -15px 30px var(--shadow-light);
}

/* Awards Section */
.awards-section {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--accent-light);
  opacity: 0.3;
  z-index: 0;
}

.award-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  transform: translateY(50px);
  opacity: 0;
}

.award-card.scrolled {
  transform: translateY(0);
  opacity: 1;
}

.award-card:hover {
  transform: translateY(-10px);
  box-shadow: 15px 15px 30px var(--shadow-dark), 
              -15px -15px 30px var(--shadow-light);
}

/* Contact Section */
.contact-section {
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.3;
  z-index: 0;
}

.contact-card, 
.info-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  transition: all var(--transition-medium);
}

.contact-info {
  margin-bottom: 1.5rem;
}

.map-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 5px 5px 10px var(--shadow-dark), 
              -5px -5px 10px var(--shadow-light);
}

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

/* Input fields */
.input, 
.textarea, 
.select {
  background-color: var(--gray-light);
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  box-shadow: inset 3px 3px 6px var(--shadow-dark), 
              inset -3px -3px 6px var(--shadow-light);
  transition: all var(--transition-fast);
}

.input:focus, 
.textarea:focus, 
.select:focus {
  outline: none;
  box-shadow: inset 4px 4px 8px var(--shadow-dark), 
              inset -4px -4px 8px var(--shadow-light);
  border-color: var(--primary);
}

.select select {
  background-color: var(--gray-light);
}

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

.checkbox {
  margin-right: 0.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary);
  opacity: 0.3;
  z-index: 0;
}

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

.footer p {
  color: var(--text-light);
  opacity: 0.9;
}

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

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--text-light);
  opacity: 0.9;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer a:hover {
  opacity: 1;
  color: var(--accent);
  text-decoration: underline;
}

.social-links li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.social-links a {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.social-links a:hover {
  transform: translateX(5px);
}

.copyright {
  margin-top: 3rem;
  text-align: center;
  opacity: 0.8;
}

/* Cookie Popup */
.cookie-popup {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: var(--text-light);
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

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

.cookie-content p {
  margin-bottom: 0;
  margin-right: 1rem;
}

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

.success-container {
  max-width: 600px;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background-color: var(--gray-light);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
}

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

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

.content-container {
  background-color: var(--gray-light);
  border-radius: var(--radius-md);
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .hero-body {
    padding: 6rem 1rem;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-info p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .button {
    margin-bottom: 0.5rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
}

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

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

.read-more {
  color: var(--primary-dark);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-top: 0.5rem;
  transition: all var(--transition-fast);
}

.read-more::after {
  content: "→";
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

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

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

/* Additional helper classes */
.has-shadow {
  box-shadow: 10px 10px 20px var(--shadow-dark), 
              -10px -10px 20px var(--shadow-light);
}

.has-inset-shadow {
  box-shadow: inset 3px 3px 6px var(--shadow-dark), 
              inset -3px -3px 6px var(--shadow-light);
}

.has-text-primary {
  color: var(--primary) !important;
}

.has-text-secondary {
  color: var(--secondary) !important;
}

.has-text-accent {
  color: var(--accent) !important;
}

.has-background-primary-light {
  background-color: var(--primary-light) !important;
}

.has-background-secondary-light {
  background-color: var(--secondary-light) !important;
}

.has-background-accent-light {
  background-color: var(--accent-light) !important;
}

.biomorphic-shape {
  position: relative;
  overflow: hidden;
}

.biomorphic-shape::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background-color: var(--primary-light);
  opacity: 0.3;
  z-index: -1;
  animation: float 6s ease-in-out infinite;
}