/* ===== Variables ===== */
:root {
  /* Triadic Color Scheme */
  --primary-color: #ff6b6b;
  --secondary-color: #6b6bff;
  --tertiary-color: #6bff6b;
  
  /* Shades */
  --primary-dark: #e05050;
  --secondary-dark: #5050e0;
  --tertiary-dark: #50e050;
  
  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --bg-dark: #212529;
  
  /* Text Colors */
  --text-dark: #333333;
  --text-light: #f8f9fa;
  --text-muted: #6c757d;
  
  /* Utilities */
  --border-radius: 12px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Retro Elements */
  --retro-gradient: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(107, 107, 255, 0.2));
  --retro-shadow: 5px 5px 0px rgba(0, 0, 0, 0.2);
  --retro-border: 3px solid var(--text-dark);
  
  /* Volumetric UI */
  --volume-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 6px 6px rgba(0, 0, 0, 0.1);
  --volume-hover-shadow: 0 14px 28px rgba(0, 0, 0, 0.2), 0 10px 10px rgba(0, 0, 0, 0.2);
  --volume-pressed-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --volume-border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ===== Base Styles ===== */
body {
  font-family: 'Work Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

/* ===== Utility Classes ===== */
.retro-section {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
}

.retro-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--retro-gradient);
  opacity: 0.1;
  z-index: -1;
}

.retro-footer {
  background-color: #222;
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.retro-footer a {
  color: var(--text-light);
  transition: var(--transition);
}

.retro-footer a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

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

/* ===== Header Styles ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--volume-shadow);
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
}

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

.hero .title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  animation: bounce 2s infinite;
}

.arrow-down {
  width: 20px;
  height: 20px;
  border-right: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(45deg);
  margin-top: 10px;
}

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

/* ===== Button Styles ===== */
.button {
  font-weight: 500;
  border-radius: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

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

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

.volume-button {
  box-shadow: var(--volume-shadow);
  border: var(--volume-border);
}

.volume-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, transparent 50%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
}

.volume-button:hover::before {
  opacity: 1;
}

/* ===== Mission Section ===== */
.stats-widgets {
  margin-top: 3rem;
}

.stats-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
  transition: var(--transition);
  text-align: center;
  height: 100%;
}

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

.icon-wrapper {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.stats-icon {
  font-size: 2rem;
  font-style: normal;
}

.stats-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* ===== Process Section ===== */
.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 0;
  width: 3px;
  height: 100%;
  background-color: var(--secondary-color);
}

.process-step {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  background-color: var(--secondary-color);
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  margin-right: 2rem;
  box-shadow: var(--volume-shadow);
}

.step-content {
  flex: 1;
  padding-right: 2rem;
}

.step-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--retro-shadow);
  transition: var(--transition);
}

.step-image img:hover {
  transform: scale(1.03) rotate(1deg);
}

/* ===== Methodology Section ===== */
.methodology-accordion {
  margin: 2rem 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--volume-shadow);
  transition: var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--volume-hover-shadow);
}

.accordion-header {
  background-color: var(--bg-white);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

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

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

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

.methodology-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--retro-shadow);
}

/* ===== Events Calendar Section ===== */
.events-calendar {
  margin: 3rem 0;
}

.event-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  transition: var(--transition);
}

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

.event-date {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  min-width: 100px;
}

.month {
  font-size: 1rem;
  text-transform: uppercase;
}

.day {
  font-size: 2.5rem;
  font-weight: 700;
}

.event-details {
  flex: 1;
}

.event-location {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* ===== Resources Section ===== */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

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

.resource-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

/* ===== Success Stories Section ===== */
.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-slide {
  padding: 3rem 2rem;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
  margin-bottom: 2rem;
}

.testimonial-content {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.testimonial-image {
  flex: 0 0 150px;
  margin-right: 2rem;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary-color);
  box-shadow: var(--retro-shadow);
}

.testimonial-text {
  flex: 1;
}

.testimonial-author {
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
}

.success-metrics {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.metric-label {
  color: var(--text-muted);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
}

/* ===== Accolades Section ===== */
.accolades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.accolade-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

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

.accolade-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.partners-section {
  margin-top: 4rem;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.partner-logo {
  flex: 0 0 150px;
  text-align: center;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partner-logo:hover {
  filter: grayscale(0%);
}

.partner-logo img {
  max-width: 100%;
  height: auto;
}

/* ===== Contact Section ===== */
.contact-info-box,
.contact-form-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
  padding: 2rem;
  height: 100%;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.retro-input,
.retro-textarea,
.retro-select {
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: var(--transition);
}

.retro-input:focus,
.retro-textarea:focus,
.retro-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

/* ===== Footer Links ===== */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  position: relative;
  padding-left: 15px;
}

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

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

.copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

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

.success-icon {
  font-size: 5rem;
  color: var(--tertiary-color);
  margin-bottom: 2rem;
  animation: pop 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

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

.privacy-content,
.terms-content {
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  box-shadow: var(--volume-shadow);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 1023px) {
  .process-step {
    flex-direction: column;
  }
  
  .step-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .step-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .testimonial-content {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-image {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    margin-right: 0;
    margin-bottom: 2rem;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .success-metrics {
    flex-direction: column;
    gap: 2rem;
  }
  
  .partners-logos {
    flex-direction: column;
    align-items: center;
  }
  
  .partner-logo {
    flex: 0 0 100px;
  }
  
  .resource-card,
  .accolade-card {
    padding: 1.5rem;
  }
}

/* Animation for Retro Elements */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Add some floating animation to certain elements */
.icon-wrapper, .step-number, .accolade-icon, .contact-icon {
  animation: floating 3s ease-in-out infinite;
}

/* Additional Styles for Navbar */
.navbar-burger {
  color: var(--text-dark);
}

.navbar-menu.is-active {
  box-shadow: var(--volume-shadow);
}