:root {
  /* Neomorphic Color Palette - Triadic color scheme */
  --primary: #3273dc;
  --primary-dark: #205bbc;
  --primary-light: #5294f9;
  
  --secondary: #dc3232;
  --secondary-dark: #bc2020;
  --secondary-light: #f95252;
  
  --tertiary: #32dc7d;
  --tertiary-dark: #20bc5d;
  --tertiary-light: #52f99d;
  
  /* Neutrals */
  --bg-light: #f0f5ff;
  --bg-dark: #1a1f35;
  --text-dark: #1a1f35;
  --text-light: #f0f5ff;
  
  /* Shadows for neomorphism */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(166, 180, 200, 0.25);
  --shadow-dark-brutal: rgba(0, 0, 0, 0.4);
  
  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Rubik', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

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

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

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

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

section {
  padding: var(--space-lg) 0;
  position: relative;
}

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

/* Utility Classes */
.has-text-primary { color: var(--primary); }
.has-text-secondary { color: var(--secondary); }
.has-text-tertiary { color: var(--tertiary); }
.has-bg-primary { background-color: var(--primary); }
.has-bg-secondary { background-color: var(--secondary); }
.has-bg-tertiary { background-color: var(--tertiary); }

/* Neomorphic Elements */
.neomorphic-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: 
    8px 8px 16px var(--shadow-dark),
    -8px -8px 16px var(--shadow-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: hidden;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    10px 10px 20px var(--shadow-dark),
    -10px -10px 20px var(--shadow-light);
}

.neomorphic-button {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.neomorphic-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    7px 7px 14px var(--shadow-dark),
    -7px -7px 14px var(--shadow-light);
}

.neomorphic-button:active {
  transform: translateY(1px);
  box-shadow: 
    inset 5px 5px 10px var(--shadow-dark),
    inset -5px -5px 10px var(--shadow-light);
}

.neomorphic-input, .neomorphic-textarea, .neomorphic-select {
  background-color: var(--bg-light);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: 
    inset 3px 3px 6px var(--shadow-dark),
    inset -3px -3px 6px var(--shadow-light);
  padding: var(--space-sm);
  transition: box-shadow var(--transition-normal);
}

.neomorphic-input:focus, .neomorphic-textarea:focus, .neomorphic-select:focus {
  box-shadow: 
    inset 4px 4px 8px var(--shadow-dark),
    inset -4px -4px 8px var(--shadow-light),
    0 0 0 3px rgba(50, 115, 220, 0.2);
  outline: none;
}

/* Neo-Brutalism Elements */
.brutal-card {
  background-color: var(--bg-light);
  border: 3px solid var(--text-dark);
  border-radius: var(--radius-md);
  box-shadow: 5px 5px 0 var(--shadow-dark-brutal);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  padding: var(--space-md);
  margin-bottom: var(--space-md);
}

.brutal-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--shadow-dark-brutal);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

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

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

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../image/about-5.jpg') center / cover no-repeat;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.hero-title.revealed,
.hero-subtitle.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-down-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  opacity: 0.8;
  transition: opacity var(--transition-normal);
  cursor: pointer;
}

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

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

.arrow-down {
  width: 30px;
  height: 30px;
  border-right: 3px solid var(--text-light);
  border-bottom: 3px solid var(--text-light);
  transform: rotate(45deg);
  animation: arrow-bounce 2s infinite;
}

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

/* Mission Section */
.mission-section {
  padding: var(--space-xl) 0;
}

.mission-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
}

.mission-text {
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  line-height: 1.7;
}

.progress-container {
  margin-top: var(--space-md);
}

.progress {
  height: 12px;
  border-radius: 6px;
  margin-bottom: var(--space-sm);
  overflow: hidden;
  background-color: #e0e6f5;
}

.progress::-webkit-progress-value {
  background-color: var(--primary);
  transition: width 1s ease;
}

.progress::-moz-progress-bar {
  background-color: var(--primary);
  transition: width 1s ease;
}

/* Features Section */
.features-section {
  background-color: #f7faff;
  padding: var(--space-xl) 0;
}

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

.card-image {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

.card-content h3 {
  margin-bottom: var(--space-sm);
}

.card-content p {
  flex-grow: 1;
  margin-bottom: var(--space-sm);
}

/* Gallery Section */
.gallery-section {
  padding: var(--space-xl) 0;
}

.gallery-container {
  position: relative;
  padding: var(--space-md);
  overflow: hidden;
}

.gallery-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--space-sm);
  z-index: 10;
}

.prev-button, .next-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  background-color: rgba(240, 245, 255, 0.7);
  backdrop-filter: blur(5px);
}

.gallery-carousel {
  display: flex;
  transition: transform var(--transition-slow);
}

.gallery-item {
  flex: 0 0 100%;
  padding: var(--space-md);
  text-align: center;
}

.gallery-item img {
  width: 80%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gallery-caption {
  margin-top: var(--space-md);
  padding: 0 var(--space-md);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  margin-top: var(--space-md);
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccd6ea;
  margin: 0 5px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.gallery-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Resources Section */
.resources-section {
  background-color: #f7faff;
  padding: var(--space-xl) 0;
}

.resources-accordion {
  padding: var(--space-md);
}

.accordion-item {
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid #e0e6f5;
}

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

.accordion-header:hover {
  background-color: rgba(50, 115, 220, 0.05);
}

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

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

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

.accordion-header.is-active + .accordion-content {
  padding: var(--space-md);
}

/* Insights Section */
.insights-section {
  padding: var(--space-xl) 0;
}

.insight-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

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

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

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

.tag {
  margin-right: 5px;
  margin-bottom: 5px;
  font-weight: 500;
}

/* Events Section */
.events-section {
  background-color: #f7faff;
  padding: var(--space-xl) 0;
}

.event-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.event-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  text-align: center;
  z-index: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-date .day {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
}

.event-date .year {
  display: block;
  font-size: 0.8rem;
}

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

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

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

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

.event-details {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
}

.event-details span {
  margin-bottom: 5px;
}

/* Testimonials Section */
.testimonials-section {
  padding: var(--space-xl) 0;
}

.testimonials-carousel {
  position: relative;
  padding: var(--space-md);
}

.testimonial-item {
  display: none;
}

.testimonial-item:first-child {
  display: block;
}

.testimonial-avatar {
  text-align: center;
  margin-bottom: var(--space-sm);
}

.testimonial-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 5px solid white;
  margin: 0 auto;
}

.testimonial-content {
  padding: var(--space-sm);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary);
  position: absolute;
  opacity: 0.3;
}

.testimonial-text::before {
  top: -10px;
  left: -15px;
}

.testimonial-text::after {
  bottom: -30px;
  right: -15px;
}

.testimonial-author {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.testimonial-position {
  color: #777;
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
}

.testimonial-prev,
.testimonial-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  margin: 0 var(--space-sm);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin: 0 var(--space-sm);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccd6ea;
  margin: 0 5px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.testimonial-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Contact Section */
.contact-section {
  padding: var(--space-xl) 0;
}

.contact-container {
  padding: var(--space-lg);
}

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

.contact-item {
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

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

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.contact-form {
  padding-left: var(--space-md);
}

.contact-form .field {
  margin-bottom: var(--space-sm);
}

.contact-form .label {
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

/* Footer */
.footer {
  background-color: #1a1f35;
  color: white;
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer h3 {
  color: white;
  margin-bottom: var(--space-md);
}

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

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

.social-links a {
  color: white;
  transition: color var(--transition-normal);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.social-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width var(--transition-normal);
}

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

.social-links a:hover::after {
  width: 100%;
}

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

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

.footer-links a {
  color: #a9b3d2;
  transition: color var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.copyright {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #a9b3d2;
}

/* Static Pages (Privacy, Terms) */
.page-content {
  padding-top: 100px;
  min-height: 70vh;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

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

/* Scroll Reveal Animations */
[data-scroll-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-scroll-reveal="enter from the bottom"] {
  transform: translateY(50px);
}

[data-scroll-reveal="enter from the top"] {
  transform: translateY(-50px);
}

[data-scroll-reveal="enter from the left"] {
  transform: translateX(-50px);
}

[data-scroll-reveal="enter from the right"] {
  transform: translateX(50px);
}

[data-scroll-reveal].revealed {
  opacity: 1;
  transform: translate(0);
}

/* Read More Links */
.read-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding-right: 20px;
  transition: color var(--transition-normal);
}

.read-more::after {
  content: '→';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform var(--transition-normal);
}

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

.read-more:hover::after {
  transform: translate(5px, -50%);
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .mission-content {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    padding: var(--space-md) 0;
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: var(--space-md) 0;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .testimonial-avatar img {
    width: 100px;
    height: 100px;
  }
  
  .contact-container {
    padding: var(--space-md);
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .event-date {
    position: relative;
    top: auto;
    left: auto;
    display: inline-block;
    margin-bottom: var(--space-sm);
  }
  
  .prev-button, .next-button,
  .testimonial-prev, .testimonial-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}