:root {
  /* Main color scheme - Complementary */
  --primary-color: #3a7bd5;
  --primary-dark: #2856a3;
  --primary-light: #6398e8;
  --accent-color: #ff7e33;
  --accent-dark: #e05a16;
  --accent-light: #ffa76b;

  /* Neutrals */
  --dark: #252934;
  --dark-medium: #373f53;
  --medium: #6e7a94;
  --light-medium: #b0b8cc;
  --light: #f5f7fa;

  /* Typography */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Merriweather", serif;

  /* Animations */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  --bounce: cubic-bezier(0.5, -0.5, 0.1, 1.5);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);

  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
}



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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--light);
  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;
  margin-bottom: 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover,
a:focus {
  color: var(--primary-dark);
  text-decoration: none;
}

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

.button {
  background-color: var(--primary-color);
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-medium) var(--bounce);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background-color: var(--primary-dark);
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.section {
  padding: 5rem 1.5rem;
}

.section:nth-child(even) {
  background-color: var(--light);
}

.section:nth-child(odd) {
  background-color: white;
}

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

.title {
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.subtitle {
  color: var(--medium);
}

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

.mb-5 {
  margin-bottom: 3rem;
}

.header {
  height: fit-content;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);

}

/* Navbar styles */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
    padding-inline: 20px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

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

.navbar-menu {
  transition: all var(--transition-medium);
}

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

.navbar-item:hover,
.navbar-item:focus {
  color: var(--primary-color);
  background-color: transparent;
}

.navbar-burger {
  color: var(--dark);
}

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

.hero-body {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 6rem 1.5rem;
}

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

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

/* Mission section */
.mission-section {
  position: relative;
  overflow: hidden;
}

.mission-image {
  margin: 3rem 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-medium) var(--bounce);
}

.mission-image:hover {
  transform: scale(1.02);
}

.mission-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}

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

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("image/texture-pattern.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium) var(--bounce);
  display: flex;
  flex-direction: column;
  background-color: white;
  margin-bottom: 2rem;
}

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

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

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

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

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

.card-content .title {
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1.5rem;
}

.card-content .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Statistics section */
.statistics-section {
  color: white;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.statistics-section .title,
.statistics-section .subtitle {
  color: white;
}

.stat-box {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-medium) var(--bounce);
}

.stat-box:hover {
  transform: scale(1.05);
  background-color: rgba(255, 255, 255, 0.15);
}

.stat-box .title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-box .subtitle {
  font-size: 1.25rem;
  color: white;
}

/* Projects section */
.projects-section {
  position: relative;
  overflow: hidden;
}

.projects-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("image/texture-pattern.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

/* External Resources section */
.resources-section {
  background-color: var(--light);
}

.external-resources {
  margin-top: 2rem;
}

.resource-card {
  background-color: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

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

.resource-card h3 {
  margin-bottom: 0.75rem;
}

.resource-card a {
  font-weight: 600;
  color: var(--primary-color);
}

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

.resource-card p {
  color: var(--medium);
  margin-bottom: 0;
}

/* Webinars section */
.webinars-section {
  background-color: white;
}

/* Press section */
.press-section {
  background-color: var(--light);
}

.press-section .card {
  background-color: white;
}

/* Contact section */
.contact-section {
  position: relative;
  background-color: white;
}

.contact-section .card {
  height: 100%;
}

.contact-section form {
  width: 100%;
}

.contact-section .label {
  color: var(--dark);
  font-weight: 600;
}

.contact-section .input,
.contact-section .textarea {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--light-medium);
  transition: all var(--transition-fast);
}

.contact-section .input:focus,
.contact-section .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 123, 213, 0.2);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("image/texture-pattern.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.025;
  pointer-events: none;
}

.footer .title {
  color: white;
}

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

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

.footer a {
  color: var(--light-medium);
  transition: all var(--transition-fast);
}

.footer a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: var(--light-medium);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  color: white;
  transform: translateY(-2px);
}

.newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.newsletter-form .input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .input:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Cookie popup */
#cookie-popup {
  background-color: rgba(37, 41, 52, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

#accept-cookies {
  background-color: var(--accent-color);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-medium) var(--bounce);
}

#accept-cookies:hover {
  background-color: var(--accent-dark);
  transform: scale(1.05);
}

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

.success-container {
  max-width: 600px;
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  animation: bounceIn 0.8s var(--bounce) forwards;
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

/* Privacy and Terms pages */
.legal-page {
  padding-top: 100px;
  min-height: 100vh;
}

.legal-page .content {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

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

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

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

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

/* Responsive styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }

  .hero-body {
    min-height: 80vh;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .section {
    padding: 3rem 1rem;
  }

  .hero-body {
    min-height: 70vh;
    padding: 6rem 1rem 3rem;
  }

  .stat-box {
    margin-bottom: 1.5rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Utility classes */
.fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.scale-in {
  animation: scaleIn 0.6s var(--bounce) forwards;
}

.pulse {
  animation: pulseAnimation 2s infinite;
}

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

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

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

.text-light {
  color: white !important;
}

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

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

.bg-dark {
  background-color: var(--dark) !important;
}

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

.has-text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.glass-effect {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
}
