:root {
  /* Color Scheme - Complementary colors */
  --primary-color: #1e5f8a;
  --primary-color-dark: #154267;
  --primary-color-light: #2a7eaf;
  --secondary-color: #c75c29;
  --secondary-color-dark: #a14621;
  --secondary-color-light: #e97b48;
  --tertiary-color: #2a9d8f;
  --accent-color: #e9c46a;
  --accent-color-dark: #d4a84c;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f5f8fa;
  --medium-gray: #e2e8f0;
  --dark-gray: #4a5568;
  --black: #1a202c;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-blur: 10px;
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  
  /* Biomorphic Design */
  --bio-radius: 24px;
  --bio-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  
  /* Animation */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
}

/* Global Styles */
html, body {
  scroll-behavior: smooth;
  font-family: var(--body-font);
  color: var(--dark-gray);
  background-color: var(--light-gray);
  overflow-x: hidden;
}

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

.title {
  margin-bottom: 1.5rem;
}

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

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

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

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

/* Biomorphic Section */
.biomorphic-section {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.biomorphic-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: inherit;
  z-index: -1;
}

/* Glassmorphism */
.glassmorphism {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  border-radius: var(--bio-radius);
  box-shadow: var(--bio-shadow);
  transition: transform var(--transition-medium);
}

.glassmorphism:hover {
  transform: translateY(-5px);
}

/* Biomorphic Buttons */
.biomorphic-btn {
  border-radius: 50px !important;
  padding: 0.75rem 2rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none !important;
}

.biomorphic-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.5s;
  border-radius: 50px;
  z-index: -1;
}

.biomorphic-btn:hover::before {
  width: 100%;
}

.button.is-primary {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.button.is-primary:hover {
  background-color: var(--primary-color-dark) !important;
}

.button.is-light {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

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

/* Input Fields */
.biomorphic-input {
  border-radius: 50px !important;
  border: 1px solid var(--medium-gray) !important;
  padding: 1.25rem 1.5rem !important;
  transition: all var(--transition-fast) !important;
}

.biomorphic-input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(30, 95, 138, 0.2) !important;
}

textarea.biomorphic-input {
  border-radius: 20px !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color var(--transition-fast);
}

.header .navbar {
  background: #fff;
  min-height: 80px;
}

.navbar-item {
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem;
}

.navbar-burger {
  height: 80px;
}

/* Hero Section */
.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.hero .hero-body {
  padding-top: 120px;
  z-index: 1;
}

.hero .title, .hero .subtitle {
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.scroll-down-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.scroll-down-indicator span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
  margin: 0 3px;
  animation: scroll-down 2s infinite;
}

.scroll-down-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.scroll-down-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes scroll-down {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* Features Section */
#features .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#features .card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem 0 1rem;
}

#features .image-container {
  overflow: hidden;
  border-radius: 15px;
  height: 220px;
  width: 100%;
}

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

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

#features .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.progress-container {
  width: 100%;
  height: 6px;
  background-color: var(--medium-gray);
  border-radius: 3px;
  margin: 0.5rem 0 1.5rem 0;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
  border-radius: 3px;
}

/* Team Section */
#team .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#team .card-image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

#team .image-container {
  width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto;
}

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

#team .card:hover .image-container img {
  transform: scale(1.08);
}

#team .card-content {
  flex-grow: 1;
}

#team .subtitle {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Events Section */
#events .timeline {
  margin-left: 1rem;
  padding: 1rem 0 1rem 2rem;
  border-left: 2px solid var(--primary-color);
}

#events .timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

#events .timeline-item:last-child {
  margin-bottom: 0;
}

#events .timeline-marker {
  position: absolute;
  left: -2.7rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 4px solid var(--light-gray);
}

#events .timeline-content {
  padding: 1.5rem;
  position: relative;
}

#events .image-container {
  overflow: hidden;
  border-radius: 10px;
  height: 150px;
  width: 100%;
  margin-bottom: 1rem;
}

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

#events .timeline-content:hover .image-container img {
  transform: scale(1.05);
}

/* Innovation Section */
#innovation .card {
  height: 100%;
  margin-bottom: 2rem;
}

#innovation .image-container {
  overflow: hidden;
  border-radius: 15px;
  height: 250px;
  width: 100%;
  margin: 1rem auto;
}

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

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

/* Webinars Slider */
.custom-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.slider-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 1rem;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  flex: 0 0 auto;
  width: calc(100% - 2rem);
  max-width: 400px;
  margin: 0 1rem;
  scroll-snap-align: start;
  height: 100%;
}

.slider-item .image-container {
  overflow: hidden;
  border-radius: 15px 15px 0 0;
  height: 220px;
  width: 100%;
}

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

.slider-item:hover .image-container img {
  transform: scale(1.05);
}

.slider-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.slider-controls button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-controls button:hover {
  background-color: var(--secondary-color);
}

/* Pricing */
#pricing .pricing-card {
  height: 100%;
  text-align: center;
  transition: transform var(--transition-medium);
}

#pricing .pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--accent-color);
}

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

#pricing .pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

#pricing .pricing-card .title {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

#pricing .pricing-card ul {
  list-style-type: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

#pricing .pricing-card ul li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

#pricing .pricing-card ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--tertiary-color);
  font-weight: bold;
}

/* Media Section */
#media .card {
  height: 100%;
}

#media .media-left .image-container {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
}

#media .media-left .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact Section */
#contact .card {
  height: 100%;
}

#contact .image-container {
  overflow: hidden;
  border-radius: 15px;
  height: 200px;
  width: 100%;
  margin: 0 auto;
}

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

#contact .contact-info {
  margin-bottom: 2rem;
}

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

/* Footer */
.footer {
  background-color: var(--primary-color-dark);
  color: var(--white);
  padding: 5rem 1.5rem 3rem;
}

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

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
}

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

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

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

.footer .social-links a {
  display: inline-block;
  margin-bottom: 0.8rem;
  transition: color var(--transition-fast);
}

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

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

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

/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .biomorphic-section {
    padding: 4rem 1rem;
  }
  
  .navbar-menu {
    background-color: var(--primary-color-dark) !important;
  }
  
  .navbar-menu .navbar-item {
    color: white !important;
  }
  
  #team .image-container {
    width: 150px;
    height: 150px;
  }
  
  .slider-item {
    max-width: 300px;
  }
  
  #pricing .pricing-card.featured {
    transform: scale(1);
  }
  
  #pricing .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
  
  #events .timeline {
    margin-left: 0;
    padding-left: 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  h1.title.is-1 {
    font-size: 2.5rem !important;
  }
  
  h2.subtitle.is-3 {
    font-size: 1.5rem !important;
  }
  
  .biomorphic-btn {
    padding: 0.5rem 1.5rem !important;
  }
  
  #team .image-container {
    width: 120px;
    height: 120px;
  }
  
  .slider-item {
    max-width: 280px;
  }
}

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

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

/* Image Containers */
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Custom Styles for About and Terms pages */
.about-content, .terms-content {
  padding-top: 120px;
  min-height: calc(100vh - 300px);
}

/* Additional Card Styles */
.card {
  overflow: hidden;
  margin-bottom: 2rem;
}