/* ----------------- ROOT VARIABLES ----------------- */
:root {
  /* Main colors */
  --primary-color: #4a56e2;
  --primary-dark: #3a43b3;
  --primary-light: #7a84ff;
  --secondary-color: #ff7a50;
  --secondary-dark: #e55e35;
  --secondary-light: #ff9d7a;

  /* Complementary colors */
  --accent-color: #50d0ff;
  --accent-dark: #35a9e5;
  --accent-light: #7ae0ff;

  /* Neutral colors */
  --dark: #1f2233;
  --dark-gray: #3a3f5c;
  --medium-gray: #6c7293;
  --light-gray: #e1e5f2;
  --light: #f9faff;

  /* Typography */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Work Sans', sans-serif;

  /* 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 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.2);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.5, 0, 0.5, 1);
  --transition-normal: 0.3s cubic-bezier(0.5, 0, 0.5, 1);
  --transition-slow: 0.5s cubic-bezier(0.5, 0, 0.5, 1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-gray));
}

/* ----------------- GENERAL STYLING ----------------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

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

p {
  margin-bottom: 1.5rem;
}

/* Section styling */
.section {
  padding: 4rem 1.5rem;
}

.has-shadow {
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition-normal);
}

.has-shadow:hover {
  box-shadow: var(--shadow-lg);
}

/* Button styling */
.button {
  transition: all var(--transition-normal);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

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

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

.button.is-rounded {
  border-radius: 9999px;
}

/* ----------------- NAVBAR STYLING ----------------- */
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.8);
  transition: background-color var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

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

.navbar-item:hover {
  color: var(--primary-color);
}

/* ----------------- 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;
  justify-content: center;
  text-align: center;
}

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

.hero .title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.5s;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.7s;
}

.hero p {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 0.9s;
}

.hero .buttons {
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s forwards 1.1s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------- ABOUT SECTION ----------------- */
#about .card {
  height: 100%;
  transition: transform var(--transition-normal);
}

#about .card:hover {
  transform: translateY(-5px);
}

#about .card-image img {
  object-fit: cover;
  height: 100%;
}

#about .content {
  padding: 1.5rem;
}

/* ----------------- EVENTS SECTION ----------------- */
.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.carousel-content {
  transition: transform var(--transition-slow);
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 1rem;
  z-index: 10;
}

.carousel-controls button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.carousel-controls button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.card-image {
  position: relative;
  overflow: hidden;
}

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

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

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

.card .title {
  color: var(--dark);
  transition: color var(--transition-normal);
}

.card:hover .title {
  color: var(--primary-color);
}

/* ----------------- BEHIND THE SCENES SECTION ----------------- */
#behind-scenes .card {
  height: 100%;
}

#behind-scenes .card-image img {
  object-fit: cover;
  height: 100%;
}

#behind-scenes .content {
  padding: 1.5rem;
}

/* ----------------- PARTNERS SECTION ----------------- */
#partners .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#partners .card-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

#partners .card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

#partners .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

/* ----------------- METHODOLOGY SECTION (PRICES) ----------------- */
.pricing-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-normal);
  position: relative;
}

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

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

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

.price {
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-currency {
  font-size: 1.2rem;
  color: var(--medium-gray);
  margin-left: 0.5rem;
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -30px;
  transform: rotate(45deg);
  background: var(--secondary-color);
  color: white;
  padding: 5px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* ----------------- INSTRUCTORS SECTION ----------------- */
#instructors .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#instructors .card-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

#instructors .card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

#instructors .card-content {
  width: 100%;
  padding: 1.5rem;
}

/* ----------------- AWARDS SECTION ----------------- */
.award-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

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

.award-card img {
  border-radius: 50%;
  object-fit: cover;
}

/* ----------------- TESTIMONIALS SECTION ----------------- */
.testimonial-card {
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.testimonial-card .media-content {
  padding: 1rem 0;
}

.testimonial-card .content {
  padding: 1rem 0;
}

.stars {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* ----------------- SUSTAINABILITY SECTION ----------------- */
#sustainability .card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

#sustainability .card-image img {
  width: 100%;
  object-fit: cover;
}

#sustainability .content {
  padding: 2rem;
}

#sustainability h4 {
  color: var(--primary-color);
}

/* ----------------- CONTACT SECTION ----------------- */
#contact .card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

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

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

#contact form .button {
  margin-top: 1rem;
}

#contact .content h3 {
  color: var(--primary-color);
}

#contact .content p {
  margin-bottom: 0.5rem;
}

/* ----------------- FOOTER ----------------- */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 1.5rem;
}

.footer .title {
  color: var(--light);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
  display: inline-block;
  margin-bottom: 1rem;
}

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

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

.footer a {
  color: var(--light-gray);
  transition: color var(--transition-normal);
  text-decoration: none;
}

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

.social-links p {
  margin-bottom: 0.5rem;
}

.social-links a {
  color: var(--light-gray);
  transition: color var(--transition-normal);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.social-links a:hover {
  color: var(--primary-light);
}

/* ----------------- RESPONSIVE STYLING ----------------- */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .carousel-controls {
    display: none;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

/* ----------------- SUCCESS PAGE ----------------- */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  background-color: var(--light);
}

.success-content {
  max-width: 600px;
  padding: 2rem;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 1s ease-in-out;
}

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

/* ----------------- PRIVACY & TERMS PAGES ----------------- */
.privacy-content, .terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.privacy-content h1, .terms-content h1 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.privacy-content h2, .terms-content h2 {
  color: var(--primary-dark);
  margin: 2rem 0 1rem;
}

.privacy-content p, .terms-content p {
  margin-bottom: 1rem;
}

/* ----------------- UTILITY CLASSES ----------------- */
.has-text-primary {
  color: var(--primary-color) !important;
}

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

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

.has-background-gradient-primary {
  background: var(--gradient-primary);
}

.has-background-gradient-secondary {
  background: var(--gradient-secondary);
}

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

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 1.5rem !important;
}

.mb-6 {
  margin-bottom: 2rem !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mt-5 {
  margin-top: 1.5rem !important;
}

.mt-6 {
  margin-top: 2rem !important;
}
figure{
  width: 100%;
}