/* Root Variables */
:root {
  /* Primary Colors */
  --primary: #3273dc;
  --primary-dark: #2366d1;
  --primary-light: #4a89e8;
  
  /* Neutral Colors */
  --neutral-100: #ffffff;
  --neutral-200: #f5f5f5;
  --neutral-300: #e0e0e0;
  --neutral-400: #cccccc;
  --neutral-500: #9e9e9e;
  --neutral-600: #757575;
  --neutral-700: #424242;
  --neutral-800: #303030;
  --neutral-900: #212121;
  
  /* Accent Colors */
  --accent-success: #23d160;
  --accent-warning: #ffdd57;
  --accent-danger: #ff3860;
  --accent-info: #209cee;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #757575;
  
  /* Glass Effect Variables */
  --glass-background: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  --glass-blur: 10px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 16px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--neutral-200);
  position: relative;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

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

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

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

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

/* Glassmorphism Effects */
.glassmorphism {
  background: var(--glass-background);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  transition: all var(--transition-medium);
}

.glassmorphism:hover {
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.glassmorphism-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
  transition: all var(--transition-medium);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.glassmorphism-card:hover {
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.12);
  transform: translateY(-5px);
}

/* Buttons */
.button {
  font-weight: 500;
  border-radius: var(--radius-medium);
  transition: all var(--transition-medium);
  border: none;
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button:active {
  transform: translateY(0);
}

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

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

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

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

.button.is-light.is-outlined {
  background-color: transparent;
  border: 2px solid var(--neutral-100);
  color: var(--neutral-100);
}

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

/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: background-color var(--transition-medium);
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 999;
}

/* .header.is-transparent {
  background-color: transparent;
} */

.header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  background-color: transparent;
}

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

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

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

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

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

.hero .hero-body {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 2.5rem;
}

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

.scroll-down-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.scroll-down-indicator:hover {
  opacity: 1;
}

.scroll-down-indicator span {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.scroll-down-indicator svg {
  fill: var(--text-light);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Section Styles */
.section {
  padding: 5rem 1.5rem;
}

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

.section .title {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

.section .subtitle {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.section.has-background-light {
  background-color: var(--neutral-200);
}

/* Vision Section */
.vision-item {
  margin-bottom: 2rem;
}

.vision-item h3 {
  margin-bottom: 1rem;
  position: relative;
}

.vision-item h3::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 25px;
  background-color: var(--primary);
  border-radius: 2px;
}

.progress-container {
  margin-top: 3rem;
}

.progress {
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Team Section */
.card-image {
  overflow: hidden;
  border-radius: var(--radius-medium) var(--radius-medium) 0 0;
}

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

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

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

.team-stats {
  display: flex;
  margin-top: 1.5rem;
  border-top: 1px solid var(--neutral-300);
  padding-top: 1.5rem;
}

.team-stat {
  flex: 1;
  text-align: center;
}

.team-stat span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.team-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Instructors Section */
.instructor-container {
  margin-bottom: 2rem;
}

.instructor-container figure {
  overflow: hidden;
  border-radius: var(--radius-medium);
}

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

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

.tags {
  margin-top: 1rem;
}

.tag {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  border-radius: var(--radius-small);
  padding: 0.5em 0.8em;
}

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

.workshops-schedule {
  margin-top: 3rem;
}

.workshop-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-medium);
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-fast);
}

.workshop-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.workshop-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-small);
  margin-right: 1.5rem;
}

.workshop-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.workshop-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.workshop-info {
  flex: 1;
}

.workshop-info h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.workshop-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Portfolio Section */
.tabs {
  margin-bottom: 2rem;
}

.tabs li a {
  padding: 0.75em 1.5em;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tabs li.is-active a {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.portfolio-grid {
  margin-top: 2rem;
}

.portfolio-item {
  margin-bottom: 2rem;
}

.portfolio-stats {
  display: flex;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-300);
}

.portfolio-stat {
  flex: 1;
  text-align: center;
}

.portfolio-stat span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.portfolio-stat p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* News Section */
.news-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  margin-top: 1rem;
  position: relative;
}

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

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

/* Contact Section */
.contact-info {
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  margin-right: 1rem;
  color: var(--primary);
}

.contact-detail p {
  margin-bottom: 0;
}

.contact-form label {
  font-weight: 500;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-medium);
  box-shadow: none;
  transition: all var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-light);
}

.contact-form .checkbox {
  font-size: 0.9rem;
}

/* Resource Links */
.resource-links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.resource-links li {
  margin-bottom: 0.75rem;
}

.resource-links a {
  display: inline-block;
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
  transition: all var(--transition-fast);
}

.resource-links a::before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform var(--transition-fast);
}

.resource-links a:hover {
  padding-left: 1.75rem;
}

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

/* Footer Section */
.footer {
  background-color: var(--neutral-800);
  color: var(--neutral-300);
  padding: 5rem 1.5rem 2rem;
}

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

.footer-title {
  color: var(--neutral-100);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

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

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

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

.footer-links a:hover {
  color: var(--neutral-100);
  padding-left: 5px;
}

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

.social-links a {
  color: var(--neutral-400);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-links a:hover {
  color: var(--neutral-100);
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--neutral-700);
  font-size: 0.9rem;
}

/* Modal */
.modal-card {
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
}

.modal-card-head, .modal-card-foot {
  background-color: var(--neutral-100);
  border-color: var(--neutral-300);
}

.modal-card-body {
  max-height: calc(90vh - 120px);
}

.modal-background {
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

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

.success-content {
  max-width: 600px;
  padding: 3rem;
}

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

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

.privacy-content, .terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Responsive Adjustments */
@media screen and (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.4rem;
  }
  
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.is-active {
    position: absolute;
    left: 0;
    right: 0;
  }
  
  .section {
    padding: 4rem 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 1.5rem;
  }
  
  .team-stats, .portfolio-stats {
    flex-direction: column;
  }
  
  .team-stat, .portfolio-stat {
    margin-bottom: 1rem;
  }
  
  .workshop-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .workshop-date {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

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

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

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

/* Additional Utility Classes */
.shadow-sm {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.shadow-md {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

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

.pt-6 {
  padding-top: 3rem !important;
}

.pb-6 {
  padding-bottom: 3rem !important;
}