/* Variables */
:root {
  --primary-color: #3a36e0;
  --primary-dark: #2926a9;
  --primary-light: #6c67ff;
  --secondary-color: #202020;
  --secondary-dark: #171717;
  --secondary-light: #2c2c2c;
  --accent-color: #ff4d5a;
  --accent-dark: #e63946;
  --text-light: #ffffff;
  --text-dark: #121212;
  --text-gray: #7e7e7e;
  --background-light: #f8f9fa;
  --background-dark: #181818;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  --transition: all 0.3s ease;
  --glassmorphism: rgba(255, 255, 255, 0.08);
  --glassmorphism-border: 1px solid rgba(255, 255, 255, 0.18);
  --card-background: rgba(255, 255, 255, 0.9);
  --neobrutalism-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.9);
  --glassmorphism-card: rgba(255, 255, 255, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--secondary-color);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

/* Buttons */
.btn, 
button, 
input[type='submit'] {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  text-align: center;
  font-size: 1rem;
  margin: 0.5rem;
}

.primary-btn {
  background-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: var(--neobrutalism-shadow);
}

.primary-btn:hover {
  background-color: var(--primary-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.9);
  color: var(--text-light);
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--neobrutalism-shadow);
}

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 0.9);
}

/* Glassmorphism */
.glassmorphism {
  background: var(--glassmorphism);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--glassmorphism-border);
  box-shadow: var(--box-shadow);
}

.glassmorphism-header {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

/* Header & Navigation */
header {
  padding: 1.25rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 1.5rem;
}

.main-nav ul li a {
  color: var(--text-dark);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav ul li a:hover:after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.burger-menu span {
  height: 3px;
  width: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1, 
.hero-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1 1 40%;
}

.about-text {
  flex: 1 1 50%;
}

.about-features {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  text-align: center;
  flex: 1 1 30%;
}

.animated-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  transition: var(--transition);
}

.animated-icon:hover {
  transform: scale(1.1);
}

.image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--neobrutalism-shadow);
  transition: var(--transition);
}

.image-container:hover {
  transform: translateY(-10px);
}

/* Methodology Section */
.methodology-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: var(--text-light);
}

.methodology-section .section-title,
.methodology-section p,
.methodology-section h3 {
  color: var(--text-light);
}

.methodology-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.methodology-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background: var(--glassmorphism-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
}

.step:hover {
  transform: translateX(10px);
  box-shadow: var(--neobrutalism-shadow);
}

.step-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.step-content {
  flex: 1;
}

/* Stories Section */
.stories-section {
  padding: 6rem 0;
  background-color: var(--background-light);
}

.stories-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.story-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 300px;
}

.card {
  background-color: var(--card-background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.rating {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-top: auto;
}

.testimonial {
  font-style: italic;
  color: var(--text-gray);
}

/* Process Section */
.process-section {
  padding: 6rem 0;
}

.process-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: var(--primary-color);
  z-index: 1;
}

.timeline-item {
  display: flex;
  justify-content: flex-start;
  padding-bottom: 3rem;
  width: 50%;
  position: relative;
  z-index: 2;
}

.timeline-item:nth-child(even) {
  margin-left: auto;
  justify-content: flex-start;
}

.timeline-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 3;
  box-shadow: var(--neobrutalism-shadow);
}

.timeline-item:nth-child(even) .timeline-number {
  left: auto;
  right: 0;
  transform: translate(50%, -50%);
}

.timeline-content {
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.timeline-content:hover {
  box-shadow: var(--neobrutalism-shadow);
}

/* Behind Section */
.behind-section {
  padding: 6rem 0;
}

.behind-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.behind-text {
  flex: 1 1 50%;
}

.behind-image {
  flex: 1 1 40%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--neobrutalism-shadow);
}

.behind-image img {
  transition: var(--transition);
}

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

/* Resources Section */
.resources-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--text-light);
}

.resources-section .section-title,
.resources-section p,
.resources-section h3 {
  color: var(--text-light);
}

.resources-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.resources-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.resource-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 300px;
}

.resource-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 600;
}

.resource-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  color: var(--text-light);
}

/* Projects Section */
.projects-section {
  padding: 6rem 0;
}

.projects-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 300px;
}

.project-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.detail {
  background-color: var(--primary-light);
  color: var(--text-light);
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Team Section */
.team-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  color: var(--text-light);
}

.team-section .section-title,
.team-section h3 {
  color: var(--text-light);
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--text-light);
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-card {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 300px;
}

.team-card .card {
  text-align: center;
}

.team-card .card-image {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  margin: 1.5rem auto 1rem;
  overflow: hidden;
}

.position {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Instructors Section */
.instructors-section {
  padding: 6rem 0;
}

.instructors-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.instructors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.instructor-card {
  flex: 1 1 calc(50% - 2rem);
  min-width: 300px;
}

.course {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--text-light);
}

.contact-section .section-title,
.contact-section h3 {
  color: var(--text-light);
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  color: var(--text-light);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-form {
  flex: 1 1 60%;
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--neobrutalism-shadow);
}

.contact-info {
  flex: 1 1 30%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'Nunito', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-toggle {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  margin-right: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.toggle-label {
  font-weight: 600;
  color: var(--text-dark);
}

.info-box {
  background: var(--glassmorphism-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--neobrutalism-shadow);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.info-item .animated-icon {
  margin-right: 1rem;
  margin-bottom: 0;
}

.info-item p {
  margin-bottom: 0;
  color: var(--text-light);
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--neobrutalism-shadow);
  height: 200px;
}

/* Footer Section */
.footer-section {
  background-color: var(--secondary-dark);
  padding: 4rem 0 2rem;
  color: var(--text-light);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  flex: 1 1 100%;
  max-width: 200px;
}

.footer-nav,
.footer-legal,
.footer-social {
  flex: 1 1 calc(33.333% - 2rem);
  min-width: 200px;
}

.footer-section h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.social-links {
  display: flex;
  gap: 1rem;
}

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

.footer-bottom p {
  color: var(--text-light);
  opacity: 0.6;
  margin-bottom: 0;
}

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

.success-content {
  max-width: 600px;
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--neobrutalism-shadow);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

/* Terms & Privacy */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media screen and (max-width: 991px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .behind-content {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 2rem;
  }
  
  .timeline-item:nth-child(even) {
    padding-left: 2rem;
    padding-right: 0;
  }
  
  .timeline-number {
    left: 0;
    transform: translateY(-50%);
  }
  
  .timeline-item:nth-child(even) .timeline-number {
    left: 0;
    right: auto;
    transform: translateY(-50%);
  }
  
  .process-timeline:before {
    left: 0;
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .burger-menu {
    display: flex;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  .about-features {
    flex-direction: column;
  }
  
  .feature {
    margin-bottom: 1.5rem;
  }
  
  .project-details {
    flex-direction: column;
  }
  
  .detail {
    margin-bottom: 0.5rem;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-logo,
  .footer-nav,
  .footer-legal,
  .footer-social {
    flex: 1 1 100%;
  }
}

/* AOS Animation Styles */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

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

.animated-icon img {
  animation: float 3s ease-in-out infinite;
}