:root {
  /* Main color scheme - Split-Complementary */
  --primary: #3273dc;
  --primary-light: #4a8aff;
  --primary-dark: #1c58b8;
  --secondary: #ff9b4a;
  --secondary-dark: #e57d29;
  --accent: #7a4aff;
  --accent-dark: #5c30d1;
  --success: #48c774;
  --warning: #ffdd57;
  --danger: #f14668;
  --info: #3298dc;
  
  /* Neutral colors */
  --light: #f5f5f5;
  --dark: #363636;
  --gray-light: #f8f9fa;
  --gray: #6c757d;
  --gray-dark: #343a40;
  
  /* Background colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f3f7ff;
  --bg-dark: #202c3d;
  
  /* Text colors */
  --text-primary: #2c3e50;
  --text-secondary: #596981;
  --text-light: #ffffff;
  --text-dark: #1a1a1a;
  
  /* Shadows */
  --shadow-small: 4px 4px 10px rgba(0, 0, 0, 0.05), -4px -4px 10px rgba(255, 255, 255, 0.8);
  --shadow-medium: 6px 6px 16px rgba(0, 0, 0, 0.08), -6px -6px 16px rgba(255, 255, 255, 0.8);
  --shadow-large: 10px 10px 30px rgba(0, 0, 0, 0.1), -10px -10px 30px rgba(255, 255, 255, 0.8);
  --shadow-inset: inset 4px 4px 10px rgba(0, 0, 0, 0.05), inset -4px -4px 10px rgba(255, 255, 255, 0.8);
  
  /* Border radius */
  --border-radius-small: 6px;
  --border-radius-medium: 12px;
  --border-radius-large: 24px;
  --border-radius-full: 9999px;
  
  /* Animation speeds */
  --transition-fast: 0.2s;
  --transition-medium: 0.3s;
  --transition-slow: 0.5s;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 5rem;

  /* Container padding */
  --container-padding: 1.5rem;
  
  /* Z-index layers */
  --z-navbar: 1000;
  --z-dropdown: 990;
  --z-modal: 995;
  --z-tooltip: 999;
}

/* ======= Base Styles ======= */

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.title.is-1 {
  font-size: 3rem;
  letter-spacing: -0.5px;
}

.title.is-2 {
  font-size: 2.5rem;
  letter-spacing: -0.25px;
}

@media screen and (max-width: 768px) {
  .title.is-1 {
    font-size: 2.5rem;
  }
  
  .title.is-2 {
    font-size: 2rem;
  }
}

p {
  margin-bottom: 1.5rem;
}

.container {
  padding: 0 var(--container-padding);
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  margin: 0 auto 2rem;
  border-radius: var(--border-radius-full);
}

section {
  position: relative;
  padding: 5rem 0;
}

/* ======= Neomorphism UI Elements ======= */

.neomorphic-box {
  border-radius: var(--border-radius-medium);
  background: var(--bg-primary);
  box-shadow: var(--shadow-medium);
  padding: 1.5rem;
  transition: box-shadow var(--transition-medium);
}

.neomorphic-box:hover {
  box-shadow: var(--shadow-large);
}

.neomorphic-card {
  border-radius: var(--border-radius-medium);
  background: var(--bg-primary);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.neomorphic-button {
  box-shadow: var(--shadow-small);
  border-radius: var(--border-radius-medium) !important;
  border: none !important;
  transition: all var(--transition-fast) !important;
  position: relative;
  overflow: hidden;
}

.neomorphic-button:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-3px);
}

.neomorphic-button:active {
  box-shadow: var(--shadow-inset);
  transform: translateY(0);
}

.neomorphic-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  /*opacity: 0;*/
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.neomorphic-button:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(100, 100);
    /*opacity: 0;*/
  }
}

.neomorphic-input,
.neomorphic-textarea,
.neomorphic-select select {
  border-radius: var(--border-radius-medium) !important;
  border: none !important;
  box-shadow: var(--shadow-inset) !important;
  transition: all var(--transition-fast) !important;
  background-color: var(--bg-primary) !important;
}

.neomorphic-input:focus,
.neomorphic-textarea:focus,
.neomorphic-select select:focus {
  box-shadow: var(--shadow-medium) !important;
}

/* ======= Navigation ======= */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-navbar);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-medium);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar {
  height: 80px;
  transition: all var(--transition-medium);
}

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

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

.navbar-burger {
  height: 3.25rem;
  width: 3.25rem;
}

/* ======= Hero Section ======= */

.hero {
  position: relative;
  margin-top: 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

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

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

.hero-description {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= About Section ======= */

.about-section {
  background-color: var(--bg-primary);
}

.image-container {
  width: 100%;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  position: relative;
}

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

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

/* ======= Courses Section ======= */

.courses-section {
  position: relative;
  background-color: var(--bg-secondary);
}

.courses-section .card-image {
  height: 250px;
  overflow: hidden;
}

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

.courses-section .card:hover .card-image img {
  transform: scale(1.1);
}

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

.courses-section .card-content > p:last-of-type {
  margin-top: auto;
}

/* ======= Statistics Section ======= */

.statistics-section {
  background-color: var(--bg-primary);
}

.statistic-card {
  padding: 2rem 1rem;
  text-align: center;
  height: 100%;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.stat-title {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.chart-container {
  width: 100%;
  margin-top: 2rem;
}

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

/* ======= Partners Section ======= */

.partners-section {
  background-color: var(--bg-secondary);
}

.partners-description {
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--text-secondary);
}

.partner-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.partner-card img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: all var(--transition-medium);
}

.partner-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.partner-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
}

/* ======= Resources Section ======= */

.resources-section {
  position: relative;
  color: var(--text-light);
}

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

.resources-section .container {
  position: relative;
  z-index: 2;
}

.resources-section .box {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
}

.resources-list li {
  margin-bottom: 1rem;
}

.resources-list a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.resources-list a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ======= Events Section ======= */

.events-section {
  background-color: var(--bg-primary);
}

.event-card .card-image {
  height: 250px;
  overflow: hidden;
}

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

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

.event-date {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.calendar-container {
  width: 100%;
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

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

/* ======= Blog Section ======= */

.blog-section {
  position: relative;
  background-color: var(--bg-secondary);
}

.blog-card .card-image {
  height: 250px;
  overflow: hidden;
}

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

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

.blog-date {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ======= Community Section ======= */

.community-section {
  background-color: var(--bg-primary);
}

.community-mosaic {
  margin-top: 2rem;
}

.testimonials-slider {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  display: flex;
  width: 100%;
}

.testimonial-content {
  width: 100%;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-content p::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  left: 0;
  top: -20px;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
  box-shadow: var(--shadow-small);
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ======= Innovation Section ======= */

.innovation-section {
  position: relative;
  color: var(--text-light);
}

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

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

.innovation-section .box, 
.innovation-section .feature-box {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
}

.feature-box {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--border-radius-medium);
  transition: transform var(--transition-medium);
}

.feature-box:hover {
  transform: translateY(-5px);
}

/* ======= Contact Section ======= */

.contact-section {
  background-color: var(--bg-secondary);
}

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

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

.contact-info-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info {
  flex-grow: 1;
}

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

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

.map-container {
  width: 100%;
  border-radius: var(--border-radius-small);
  overflow: hidden;
}

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

/* ======= Footer ======= */

.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

.footer .title {
  color: var(--text-light);
}

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

.social-links a {
  color: var(--text-light);
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

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

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

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

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

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

.copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ======= Parallax Effect ======= */

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ======= Animation Effects ======= */

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

.fade-in {
  animation: fadeIn var(--transition-slow) ease forwards;
}

/* Counter animation */
@keyframes countUp {
  from {
    /*opacity: 0;*/
  }
  to {
    opacity: 1;
  }
}

/* ======= Responsive Adjustments ======= */

@media (max-width: 1023px) {
  section {
    padding: 4rem 0;
  }
  
  .title.is-1 {
    font-size: 2.75rem;
  }
  
  .title.is-2 {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .title.is-1 {
    font-size: 2.25rem;
  }
  
  .title.is-2 {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .divider {
    width: 60px;
    height: 3px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 2.5rem 0;
  }
  
  .title.is-1 {
    font-size: 2rem;
  }
  
  .title.is-2 {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
}

/* ======= Additional Pages Styles ======= */

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

.success-container {
  max-width: 600px;
}

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

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