/* ===== ROOT VARIABLES ===== */
:root {
  /* Split-complementary color scheme with retro feel */
  --primary-color: #FF6B35;
  --primary-dark: #E85A2B;
  --secondary-color: #4ECDC4;
  --secondary-dark: #3DB5AE;
  --accent-color: #FFE66D;
  --accent-dark: #F4D03F;
  
  --text-primary: #2C3E50;
  --text-secondary: #7F8C8D;
  --text-light: #BDC3C7;
  --text-white: #FFFFFF;
  
  --background-primary: #FFFFFF;
  --background-secondary: #F8F9FA;
  --background-dark: #2C3E50;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #4ECDC4 100%);
  --gradient-secondary: linear-gradient(135deg, #4ECDC4 0%, #FFE66D 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255,107,53,0.9) 0%, rgba(78,205,196,0.9) 100%);
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
  
  /* Typography */
  --font-primary: 'Raleway', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-primary);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

/* ===== GLOBAL BUTTON STYLES ===== */
.btn, button, .button, input[type='submit'] {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: var(--text-white) !important;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  text-align: center;
  height: auto !important;
}

.btn:hover, button:hover, .button:hover, input[type='submit']:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--text-white) !important;
}

.btn:active, button:active, .button:active {
  transform: translateY(-1px);
}

.button.is-light {
  background: rgba(255,255,255,0.9);
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.button.is-outlined {
  background: transparent;
  border: 2px solid var(--text-white);
  color: var(--text-white) !important;
}

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

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ===== PARALLAX BASE ===== */
.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* ===== NAVIGATION ===== */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.navbar.is-fixed-top {
  box-shadow: var(--shadow-sm);
}

.navbar-brand .logo {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

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

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: var(--primary-color);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

.hero .title {
  color: var(--text-white) !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: var(--spacing-md);
}

.hero .subtitle {
  color: var(--text-white) !important;
  opacity: 0.9;
  margin-bottom: var(--spacing-md);
}

.hero p {
  color: var(--text-white) !important;
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
}

.hero-cta {
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

/* ===== STATISTICS SECTION ===== */
.stats-section {
  background: var(--gradient-secondary);
  padding: var(--spacing-xl) 0;
}

.stat-widget {
  background: rgba(255,255,255,0.9);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  /* transform: skew(-2deg); */
  transition: all var(--transition-normal);
}

.stat-widget:hover {
  transform: skew(-2deg) translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat-widget > * {
  transform: skew(2deg);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1.125rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ===== SECTIONS BASE ===== */
.section {
  padding: var(--spacing-xl) 0;
}

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

.section .title {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.section .subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: var(--background-primary);
}

.gallery-grid {
  margin-top: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  /* transform: rotate(-1deg); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:nth-child(even) {
  transform: rotate(1deg);
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all var(--transition-slow);
}

/* ===== CARD STYLES ===== */
.card {
  background: var(--background-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

/* ===== WEBINARS/PROGRAMS SECTION ===== */
.webinars-section {
  background: var(--background-secondary);
}

.program-card {
  /* transform: skew(-1deg); */
  margin-bottom: var(--spacing-md);
}

.program-card:nth-child(even) {
  transform: skew(1deg);
}

.program-card .card-content {
  transform: skew(1deg);
}

.program-card:nth-child(even) .card-content {
  transform: skew(-1deg);
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: var(--background-primary);
}

.team-member {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.team-member .image-container {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ===== ACCORDION (INSTRUCTORS) ===== */
.instructors-section {
  background: var(--background-secondary);
}

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

.accordion-item {
  background: var(--background-primary);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
}

.accordion-header:hover {
  background: var(--gradient-secondary);
}

.accordion-header h3 {
  margin: 0;
  color: var(--text-white);
}

.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-item.active .accordion-content {
  padding: var(--spacing-md);
  max-height: 200px;
}

/* ===== BEHIND THE SCENES ===== */
.behind-scenes-section {
  color: var(--text-white);
  text-align: left;
}

.behind-scenes-section .title,
.behind-scenes-section p {
  color: var(--text-white) !important;
}

/* ===== PRICING SECTION ===== */
.pricing-section {
  background: var(--background-primary);
}

.pricing-grid {
  margin-top: var(--spacing-lg);
}

.pricing-card {
  position: relative;
  /* transform: skew(-1deg); */
  margin-bottom: var(--spacing-md);
}

.pricing-card.is-featured {
  /* transform: scale(1.05) skew(-1deg); */
  border: 3px solid var(--primary-color);
}

.pricing-card .card-content {
  /* transform: skew(1deg); */
  padding: var(--spacing-lg);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: var(--spacing-md) 0;
}

.currency {
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

.period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: var(--spacing-xs);
}

.pricing-features {
  list-style: none;
  margin: var(--spacing-md) 0;
}

.pricing-features li {
  padding: var(--spacing-xs) 0;
  position: relative;
  padding-left: var(--spacing-md);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* ===== PARTNERS SECTION ===== */
.partners-section {
  background: var(--background-secondary);
}

.partners-grid {
  margin-top: var(--spacing-lg);
}

.partner-item {
  padding: var(--spacing-md);
  background: var(--background-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-item img {
  width: 150px;
  height: 75px;
  object-fit: contain;
  margin: 0 auto var(--spacing-sm);
}

.partner-item h4 {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ===== RESOURCES SECTION ===== */
.resources-section {
  background: var(--background-primary);
}

.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--background-secondary);
}

.contact-form-container {
  background: var(--background-primary);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  /* transform: skew(-1deg); */
}

.contact-form {
  transform: skew(1deg);
}

.field {
  margin-bottom: var(--spacing-md);
}

.label {
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.input, .textarea, .select select {
  width: 100%;
  /* padding: var(--spacing-sm); */
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  transition: border-color var(--transition-fast);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.contact-info {
  padding: var(--spacing-md);
}

.contact-item {
  margin-bottom: var(--spacing-lg);
}

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--background-dark);
  color: var(--text-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer h4 {
  color: var(--text-white);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

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

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

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.social-links a {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--primary-color);
  color: var(--text-white);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  font-weight: 600;
}

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

/* ===== SUCCESS PAGE ===== */
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: var(--text-white);
  text-align: center;
  padding: var(--spacing-md);
}

.success-content {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  max-width: 500px;
}

.success-content h1,
.success-content p {
  /* color: var(--text-white) !important; */
}

/* ===== PRIVACY & TERMS PAGES ===== */
.legal-container {
  padding-top: 100px;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

.legal-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.legal-content h2 {
  color: var(--text-primary);
  margin: var(--spacing-lg) 0 var(--spacing-md);
}

.legal-content p, .legal-content li {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.legal-content ul {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  :root {
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
  }
  
  .parallax-section {
    background-attachment: scroll;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .pricing-card.is-featured {
    transform: none;
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-lg: 1.5rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .hero-cta {
    margin-right: 0;
    width: 100%;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .buttons .button {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .stat-widget,
  .pricing-card,
  .contact-form-container,
  .program-card {
    transform: none;
  }
  
  .team-member .image-container {
    width: 150px;
    height: 150px;
  }
  
  .navbar-menu {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
  }
  
  .social-links {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .stat-number {
    font-size: 2rem;
  }
  
  .amount {
    font-size: 2.5rem;
  }
  
  .partner-item img {
    width: 120px;
    height: 60px;
  }
  
  .contact-form-container {
    padding: var(--spacing-md);
  }
  
  .legal-content {
    padding: var(--spacing-md);
  }
}

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

.stat-widget:hover {
  animation: float 2s ease-in-out infinite;
}

/* ===== UTILITY CLASSES ===== */
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

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

.is-fullwidth { width: 100%; }
.is-large { font-size: 1.25rem; padding: 1.25rem 2.5rem; }

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* ===== READ MORE LINKS ===== */
.read-more, a[href*="read"], a[href*="learn"] {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all var(--transition-fast);
}

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

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

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}