/* ===== ROOT VARIABLES ===== */
:root {
  /* Main color palette */
  --primary-color: #4a6da7;
  --primary-dark: #3a5a8a;
  --primary-light: #6b8bc0;
  --secondary-color: #d96666;
  --secondary-dark: #b55353;
  --secondary-light: #e68a8a;
  
  /* Neutral palette */
  --neutral-100: #ffffff;
  --neutral-200: #f5f5f5;
  --neutral-300: #e0e0e0;
  --neutral-400: #cccccc;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #616161;
  --neutral-800: #424242;
  --neutral-900: #212121;
  
  /* Text colors */
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --text-muted: #888888;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Card specific */
  --card-padding: 1.5rem;
  --card-margin-bottom: 2rem;
}

/* ===== BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--neutral-100);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.container {
  padding-inline: 12px;
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* ===== UTILITY CLASSES ===== */
.has-text-centered {
  text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-6 { margin-bottom: 3.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3.5rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 1rem; }
.mr-4 { margin-right: 1.5rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 1rem; }
.ml-4 { margin-left: 1.5rem; }

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

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleUp {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar {
  padding: 0.75rem 0;
}

.navbar-brand img {
  max-height: 2.5rem;
}

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

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

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

/* ===== BUTTONS ===== */
.button {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.button.is-outlined {
  border: 2px solid;
}

.button.is-large {
  font-size: 1.1rem;
  height: 3.2rem;
  padding: 0 1.8rem;
}

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

.button.is-primary.is-outlined:hover {
  color: var(--neutral-100);
  background-color: var(--primary-color);
}

.button.is-fullwidth {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 0;
}

.hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero .title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.hero .subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-lg);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: var(--space-xl) 0;
}

.stat-widget {
  padding: var(--space-md);
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.stat-number {
  color: var(--primary-color);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: var(--space-xl) 0;
}

.services-section .card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
}

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

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

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

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

.services-section .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.services-section .title {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

/* ===== HISTORY SECTION ===== */
.history-section {
  padding: var(--space-xl) 0;
}

.timeline {
  position: relative;
  margin-top: var(--space-lg);
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background-color: var(--primary-light);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
}

.timeline-marker {
  position: absolute;
  top: 6px;
  left: -30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 0 4px var(--neutral-100), 0 0 0 5px var(--primary-light);
  transition: transform var(--transition-normal);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.2);
}

.timeline-content h4 {
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

/* ===== WEBINARS SECTION ===== */
.webinars-section {
  padding: var(--space-xl) 0;
}

.event-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
}

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

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

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

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

.event-card .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

/* ===== INSTRUCTORS SECTION ===== */
.instructors-section {
  padding: var(--space-xl) 0;
}

.instructor-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
}

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

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

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

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

.instructor-card .card-content {
  padding: var(--card-padding);
  text-align: center;
}

.instructor-card .title {
  margin-bottom: var(--space-xs);
}

.instructor-card .subtitle {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
  padding: var(--space-xl) 0;
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
}

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

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

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

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

.resource-card .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: var(--space-xl) 0;
}

.project-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
}

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

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

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

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

.project-card .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card .title {
  margin-bottom: var(--space-sm);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: var(--space-xl) 0;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

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

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

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

/* ===== INNOVATION SECTION ===== */
.innovation-section {
  padding: var(--space-xl) 0;
}

.innovation-section .content h3 {
  color: var(--primary-color);
  margin-bottom: var(--space-sm);
}

.innovation-section .content {
  padding: var(--space-md);
  background-color: var(--neutral-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  height: 100%;
}

.innovation-section .content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  padding: var(--space-xl) 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--neutral-300);
  padding-bottom: var(--space-md);
}

.faq-question {
  cursor: pointer;
  position: relative;
  padding-right: 30px;
  color: var(--primary-color);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.5rem;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-top: var(--space-sm);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn var(--transition-normal);
}

/* ===== SUCCESS STORIES SECTION ===== */
.success-section {
  padding: var(--space-xl) 0;
}

.testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
  padding: var(--space-md);
}

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

.testimonial-card .media {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.testimonial-card .media-left {
  margin-right: var(--space-md);
}

.testimonial-card .image.is-64x64 {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-card .image.is-64x64 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .title {
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.testimonial-card .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== NEWS SECTION ===== */
.news-section {
  padding: var(--space-xl) 0;
}

.news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--card-margin-bottom);
}

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

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

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

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

.news-card .card-content {
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card .title {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.news-card .has-text-grey {
  color: var(--text-muted) !important;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: var(--space-xl) 0;
}

.contact-info-card,
.contact-form-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-info-card .card-content,
.contact-form-card .card-content {
  padding: var(--card-padding);
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item .icon {
  color: var(--primary-color);
}

.map-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.contact-form-card .label {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-form-card .input,
.contact-form-card .textarea,
.contact-form-card .select select {
  background-color: var(--neutral-200);
  border-color: var(--neutral-300);
  border-radius: var(--border-radius-sm);
  box-shadow: none;
  transition: all var(--transition-fast);
}

.contact-form-card .input:focus,
.contact-form-card .textarea:focus,
.contact-form-card .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(74, 109, 167, 0.2);
}

/* ===== WHY US SECTION ===== */
.why-us-section {
  padding: var(--space-xl) 0;
}

.feature-card {
  padding: var(--space-md);
  background-color: var(--neutral-100);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  margin-bottom: var(--space-md);
  height: 100%;
  text-align: center;
}

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

.feature-icon {
  margin-bottom: var(--space-sm);
  color: var(--primary-color);
}

.feature-card .title {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: var(--space-lg) 0;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer .title {
  color: var(--neutral-100);
  margin-bottom: var(--space-md);
}

.social-links a {
  color: var(--neutral-300);
  transition: color var(--transition-fast);
  display: inline-block;
  margin-right: var(--space-sm);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--neutral-300);
  transition: color var(--transition-fast);
}

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

.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.contact-info .icon {
  color: var(--primary-light);
  margin-right: var(--space-xs);
}

.footer hr {
  background-color: var(--neutral-700);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media screen and (max-width: 768px) {
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .timeline {
    padding-left: 30px;
  }
  
  .timeline-marker {
    left: -25px;
    width: 15px;
    height: 15px;
  }
  
  .image-container {
    height: 200px;
  }
  
  .contact-item {
    flex-direction: column;
  }
  
  .contact-item .icon {
    margin-bottom: var(--space-xs);
  }
}

/* ===== SPECIAL PAGES ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-content {
  max-width: 600px;
  padding: var(--space-lg);
}

.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

/* ===== READ MORE LINKS ===== */
.read-more,
a.button.is-primary.is-outlined {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  transition: all var(--transition-fast);
  padding-bottom: 2px;
}

.read-more::after,
a.button.is-primary.is-outlined::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.read-more:hover,
a.button.is-primary.is-outlined:hover {
  color: var(--primary-dark);
}

.read-more:hover::after,
a.button.is-primary.is-outlined:hover::after {
  width: 100%;
}

/* ===== AOS CUSTOM ANIMATIONS ===== */
[data-aos="custom-fade-up"] {
  transform: translateY(50px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

[data-aos="custom-fade-right"] {
  transform: translateX(-50px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-right"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}

[data-aos="custom-fade-left"] {
  transform: translateX(50px);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="custom-fade-left"].aos-animate {
  transform: translateX(0);
  opacity: 1;
}