/* ===============================
   VARIABLES
   =============================== */
:root {
  /* Main Colors */
  --primary-color: #4a7bfc;
  --primary-light: #6b95ff;
  --primary-dark: #3063e6;
  
  --secondary-color: #34c9db;
  --secondary-light: #5ad7e6;
  --secondary-dark: #28b0c1;
  
  --accent-color: #7c4afc;
  --accent-light: #9771fd;
  --accent-dark: #6538e6;
  
  /* Neutral Colors */
  --background: #f5f7fa;
  --surface: #ffffff;
  --text-primary: #333645;
  --text-secondary: #666a7a;
  --text-light: #9da0af;
  --border-color: #e4e8ef;
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Shadows */
  --shadow-small: 6px 6px 12px rgba(200, 204, 212, 0.25), -6px -6px 12px rgba(255, 255, 255, 0.8);
  --shadow-medium: 10px 10px 20px rgba(200, 204, 212, 0.3), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --shadow-large: 15px 15px 30px rgba(200, 204, 212, 0.4), -15px -15px 30px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 4px 4px 8px rgba(200, 204, 212, 0.25), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
  
  /* Border Radius */
  --border-radius-small: 8px;
  --border-radius-medium: 16px;
  --border-radius-large: 24px;
  --border-radius-full: 999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-medium: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-slow: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

.title, .subtitle {
  font-family: var(--font-heading);
}

.title.is-1 {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.title.is-2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.title.is-3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-sm);
}

.title.is-4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
}

.subtitle {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

p {
  margin-bottom: var(--spacing-sm);
}

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

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

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-small);
}

.section {
  padding: var(--spacing-xl) 0;
}

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

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

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

.mb-6 {
  margin-bottom: var(--spacing-lg) !important;
}

/* Neuromorphic Card Styles */
.card {
  background-color: var(--surface);
  border-radius: var(--border-radius-medium);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.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: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Button Styles */
.button {
  font-family: var(--font-heading);
  font-weight: 500;
  border-radius: var(--border-radius-full);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75em 1.5em;
}

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

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

.button.is-light {
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--primary-dark);
}

.button.is-light:hover {
  background-color: white;
}

.button.is-rounded {
  border-radius: var(--border-radius-full);
}

.button.is-large {
  font-size: 1.25rem;
}

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

.pulse-btn {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(74, 123, 252, 0.7);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(74, 123, 252, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(74, 123, 252, 0);
  }
}

/* ===============================
   NAVBAR
   =============================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.navbar-burger:hover {
  background-color: transparent;
}

.navbar-brand .title {
  margin: 0;
  color: var(--primary-color);
  font-weight: 700;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  position: relative;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  color: white;
}

.hero.is-fullheight {
  min-height: 100vh;
}

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

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

.hero .button {
  margin-top: var(--spacing-md);
}

.arrow-down {
  position: relative;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  padding-top: 20px;
  animation: bounce 2s infinite;
}

.arrow-down span {
  display: block;
  width: 20px;
  height: 20px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  margin: 0 auto;
}

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

/* ===============================
   SERVICES SECTION
   =============================== */
.services-section {
  background-color: var(--background);
}

.service-card {
  height: 100%;
}

.service-card .card-image {
  height: 250px;
  background-color: var(--accent-light);
}

.service-card h3 {
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
}

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

/* ===============================
   INSTRUCTORS SECTION
   =============================== */
.instructors-section {
  background-color: var(--surface);
}

.instructor-card .card-image {
  height: 400px;
}

.instructor-card h3 {
  margin-bottom: var(--spacing-xs);
}

.instructor-card .subtitle {
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
}

.instructor-card p {
  color: var(--text-secondary);
}

/* ===============================
   WORKSHOPS SECTION
   =============================== */
.workshops-section {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.workshops-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 45%;
  height: 100%;
  background-color: rgba(74, 123, 252, 0.05);
  transform: skewX(-15deg);
  z-index: 1;
}

.timeline {
  position: relative;
  z-index: 2;
}

.workshop-card {
  position: relative;
  margin-bottom: var(--spacing-md);
}

.workshop-date {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5em 1em;
  border-radius: var(--border-radius-full);
  margin-bottom: var(--spacing-sm);
}

.workshop-details {
  display: flex;
  flex-direction: column;
  margin-top: var(--spacing-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.workshop-details span {
  margin-bottom: 0.25em;
}

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

.webinar-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.webinar-card .card-image {
  position: relative;
  height: 200px;
}

.webinar-date {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.5em 1em;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.webinar-card h3 {
  margin-bottom: var(--spacing-sm);
}

.webinar-card p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.webinar-card .price {
  font-weight: 600;
  color: var(--text-primary);
  margin-left: 1em;
}

.webinar-card .button {
  align-self: flex-start;
}

/* ===============================
   INNOVATION SECTION
   =============================== */
.innovation-section {
  background-color: var(--background);
  position: relative;
  overflow: hidden;
}

.innovation-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 40%;
  height: 70%;
  background-color: rgba(124, 74, 252, 0.05);
  transform: skewX(-15deg);
  z-index: 1;
}

.innovation-card {
  position: relative;
  z-index: 2;
}

.innovation-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.innovation-card .media {
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.innovation-card .media-content {
  padding-left: var(--spacing-sm);
}

.innovation-card .title {
  margin-bottom: 0;
}

.innovation-card .content p {
  color: var(--text-secondary);
}

/* ===============================
   COMMUNITY SECTION
   =============================== */
.community-section {
  background-color: var(--surface);
}

.community-event-card .card-image,
.community-forum-card .card-image,
.community-book-club-card .card-image,
.community-challenge-card .card-image {
  height: 250px;
}

.event-details, 
.forum-stats, 
.book-club-details, 
.challenge-details {
  display: flex;
  flex-direction: column;
  margin: var(--spacing-sm) 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.event-details span, 
.forum-stats span, 
.book-club-details span, 
.challenge-details span {
  margin-bottom: 0.25em;
}

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

.resource-card {
  height: 100%;
}

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

.resource-list li {
  margin-bottom: 0.75em;
  padding-left: 1.5em;
  position: relative;
}

.resource-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.resource-list a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.resource-list a:hover {
  color: var(--primary-color);
}

/* ===============================
   CLIENTELE SECTION
   =============================== */
.clientele-section {
  background-color: var(--surface);
  text-align: center;
}

.client-logos {
  margin: var(--spacing-lg) 0;
}

.client-logos img {
  max-height: 60px;
  margin: var(--spacing-sm);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-medium);
}

.client-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.testimonial-card {
  background-color: var(--background);
  border-radius: var(--border-radius-medium);
  padding: var(--spacing-md);
  box-shadow: var(--shadow-medium);
  margin-bottom: var(--spacing-md);
}

.testimonial-content {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding: 0 var(--spacing-sm);
}

.testimonial-content::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  opacity: 0.2;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  box-shadow: var(--shadow-small);
}

.author-info h4 {
  margin: 0;
  font-weight: 600;
}

.author-info p {
  margin: 0;
  color: var(--primary-color);
}

/* ===============================
   ACCOLADES SECTION
   =============================== */
.accolades-section {
  background-color: var(--background);
}

.accolade-card .card-image {
  height: 200px;
}

.accolade-card h3 {
  margin-bottom: var(--spacing-xs);
}

.accolade-card p {
  color: var(--text-secondary);
}

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

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

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

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

.contact-form-card .input:focus, 
.contact-form-card .textarea:focus, 
.contact-form-card .select select:focus {
  box-shadow: var(--shadow-inset), 0 0 0 2px var(--primary-light);
}

.contact-info-card .card-image {
  height: 200px;
}

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

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-sm);
}

.info-item .icon {
  color: var(--primary-color);
  width: 24px;
  margin-right: var(--spacing-xs);
}

.social-media h4 {
  margin-bottom: var(--spacing-xs);
}

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

.social-links a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

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

/* ===============================
   FOOTER
   =============================== */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer .newsletter-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

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

.footer .newsletter-form .button {
  background-color: white;
  color: var(--primary-dark);
}

.footer .newsletter-form .button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.footer .social-links {
  margin-top: var(--spacing-md);
}

.footer .social-links a {
  color: white;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer .social-links a:hover {
  opacity: 1;
}

.copyright {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===============================
   BACK TO TOP BUTTON
   =============================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
}

.back-to-top.visible {
  visibility: visible;
  opacity: 1;
}

.back-to-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.back-to-top a:hover {
  transform: translateY(-5px);
  background-color: var(--primary-light);
}

/* ===============================
   PRIVACY & TERMS PAGES
   =============================== */
.privacy-content,
.terms-content {
  padding-top: 100px;
}

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

.success-content {
  text-align: center;
  padding: var(--spacing-xl);
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

/* ===============================
   RESPONSIVE STYLES
   =============================== */
@media screen and (max-width: 1023px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
  
  .title.is-3 {
    font-size: 1.75rem;
  }
  
  .service-card .card-image,
  .webinar-card .card-image,
  .accolade-card .card-image {
    height: 200px;
  }
  
  .instructor-card .card-image {
    height: 350px;
  }
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .card {
    margin-bottom: var(--spacing-md);
  }
  
  .service-card .card-image,
  .webinar-card .card-image,
  .accolade-card .card-image,
  .community-event-card .card-image,
  .community-forum-card .card-image,
  .community-book-club-card .card-image,
  .community-challenge-card .card-image {
    height: 180px;
  }
  
  .instructor-card .card-image {
    height: 300px;
  }
  
  .client-logos img {
    max-height: 50px;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .column {
    margin-bottom: var(--spacing-md);
  }
  
  .footer .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .title.is-1 {
    font-size: 1.75rem;
  }
  
  .title.is-2 {
    font-size: 1.5rem;
  }
  
  .buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .button {
    width: 100%;
    margin-bottom: var(--spacing-xs);
  }
  
  .service-card .card-image,
  .webinar-card .card-image,
  .accolade-card .card-image {
    height: 160px;
  }
  
  .instructor-card .card-image {
    height: 250px;
  }
}

.title:not(.is-spaced)+.subtitle {
    margin-top: 0;
}