/* CSS Variables - Retro Gradient Theme */
:root {
  /* Primary Colors */
  --primary-color: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8557;
  
  /* Secondary Colors */
  --secondary-color: #4ecdc4;
  --secondary-dark: #45b7b8;
  --secondary-light: #6bccc4;
  
  /* Accent Colors */
  --accent-pink: #ff3366;
  --accent-yellow: #ffd23f;
  --accent-purple: #9b59b6;
  --accent-blue: #3498db;
  
  /* Neutral Colors */
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --white: #ffffff;
  --black: #000000;
  --gray: #95a5a6;
  --gray-light: #bdc3c7;
  --gray-dark: #7f8c8d;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  --gradient-secondary: linear-gradient(135deg, #32fef1 0%, #046a77 100%);
  --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #9b321b 100%);
  --gradient-retro: linear-gradient(45deg, #ff6b35, #ffd23f, #4ecdc4, #9b59b6);
  
  /* Typography */
  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --container-padding: 1.5rem;
  --element-margin: 1.5rem;
  
  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-large: 16px;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.25);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.retro-title {
  background: var(--gradient-retro);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Global Button Styles */
.btn, button, input[type='submit'], .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  transform: perspective(1px) translateZ(0);
  box-shadow: var(--shadow-light);
}

.btn:before, button:before, .button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-normal);
}

.btn:hover:before, button:hover:before, .button:hover:before {
  left: 100%;
}

.retro-button {
  background: var(--gradient-primary);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: skew(-5deg);
}

.retro-button:hover {
  transform: skew(-5deg) translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.retro-button.is-outlined {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.retro-button.is-outlined:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Header Styles */
.header {
  position: relative;
  z-index: 1000;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-light);
  transition: var(--transition-normal);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-medium);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:hover:after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-gradient {
  background: var(--gradient-hero);
}

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

.hero-body {
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.hero-stats {
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius);
  margin: 0.5rem;
  transform: skew(-2deg);
  transition: var(--transition-normal);
}

.stat-item:hover {
  transform: skew(-2deg) translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-yellow);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
  display: block;
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Particle Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particles-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 200, 255, 0.3) 0%, transparent 50%);
  animation: particles-float 20s ease-in-out infinite;
}

@keyframes particles-float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(15px) rotate(240deg); }
}

/* Section Styles */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  position: relative;
  color: var(--dark-color);
}

.title-underline {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 1rem auto;
  border-radius: 2px;
  position: relative;
}

.title-underline:after {
  content: '';
  position: absolute;
  top: -2px;
  left: -10px;
  width: 80px;
  height: 8px;
  background: rgba(255, 107, 53, 0.2);
  border-radius: 4px;
  z-index: -1;
}

/* About Section */
.about-section {
  background: var(--light-color);
  position: relative;
}

.about-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff6b35' fill-opacity='0.03'%3E%3Cpath d='M0 0h20v20H0V0zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm20 0a7 7 0 1 0 0-14 7 7 0 0 0 0 14zM10 37a7 7 0 1 0 0-14 7 7 0 0 0 0 14zm10-17h20v20H20V20zm10 17a7 7 0 1 0 0-14 7 7 0 0 0 0 14z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.content-block {
  position: relative;
  z-index: 1;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-color);
  margin-bottom: 1.5rem;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  transform: skew(-2deg);
  transition: var(--transition-normal);
}

.image-container:hover {
  transform: skew(-2deg) scale(1.05);
}

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

.progress-indicators {
  margin-top: 3rem;
}

.progress-item {
  margin-bottom: 1rem;
}

.progress-label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.progress {
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.1);
}

/* Methodology Section */
.methodology-section {
  background: var(--gradient-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.methodology-section .section-title {
  color: var(--white);
}

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

.timeline {
  position: relative;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 2rem;
  text-align: right;
  transform: skew(2deg);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 2rem;
  text-align: left;
  transform: skew(-2deg);
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--accent-yellow);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(255, 211, 63, 0.5);
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
}

.timeline-content:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px) skew(0deg);
}

.timeline-content h4 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
  background: var(--white);
  position: relative;
}

.gallery-grid {
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  transform: skew(-1deg);
  transition: var(--transition-normal);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover {
  transform: skew(-1deg) scale(1.05);
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

/* Vision Section */
.vision-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--white);
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

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

.vision-content {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  transform: skew(-1deg);
  margin-bottom: 3rem;
}

.vision-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-widget {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  min-width: 150px;
  transform: skew(-2deg);
  transition: var(--transition-normal);
}

.stat-widget:hover {
  transform: skew(-2deg) translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-widget .stat-number {
  font-size: 2rem;
  color: var(--accent-yellow);
}

.stat-widget .stat-label {
  color: var(--white);
  font-size: 0.9rem;
}

/* Awards Section */
.awards-section {
  background: var(--light-color);
  position: relative;
}

.awards-timeline {
  margin-top: 3rem;
}

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

.award-card .card {
  height: 100%;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  transform: skew(-1deg);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.award-card .card:hover {
  transform: skew(-1deg) translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.award-card .card-image {
  position: relative;
  height: 200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card .card-image .image-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 auto;
}

.award-card .card-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.award-year {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Resources Section */
.resources-section {
  background: var(--white);
}

.resources-links {
  margin-top: 2rem;
}

.resource-link {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

.resource-item {
  background: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  transform: skew(-1deg);
  transition: var(--transition-normal);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.resource-item:hover {
  transform: skew(-1deg) translateY(-5px);
  background: var(--primary-color);
  color: var(--white);
  box-shadow: var(--shadow-medium);
}

/* Contact Section */
.contact-section {
  background: var(--gradient-secondary);
  color: var(--white);
  position: relative;
}

.contact-section .section-title {
  color: var(--white);
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  transform: skew(-1deg);
}

.contact-form {
  transform: skew(1deg);
}

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

.contact-form .label {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  font-family: var(--font-body);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  background: var(--white);
  border-color: var(--accent-yellow);
  box-shadow: 0 0 20px rgba(255, 211, 63, 0.3);
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--accent-yellow);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-text {
  line-height: 1.8;
  color: var(--gray-light);
}

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

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

.footer-links a,
.footer-link {
  color: var(--gray-light);
  text-decoration: none;
  transition: var(--transition-normal);
  position: relative;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-link:hover {
  color: var(--accent-yellow);
  transform: translateX(5px);
}

.footer-links a:before,
.footer-link:before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-yellow);
  transition: var(--transition-normal);
}

.footer-links a:hover:before,
.footer-link:hover:before {
  width: 100%;
}

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

.social-links .footer-link {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-normal);
  text-align: center;
  min-width: 80px;
}

.social-links .footer-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: 2rem 0;
}

.footer-copyright {
  color: var(--gray-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  color: var(--white);
}

.success-content {
  text-align: center;
  max-width: 600px;
  padding: 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--accent-yellow);
}

/* Privacy and Terms Pages */
.content-page {
  padding-top: 100px;
  min-height: 100vh;
}

.content-page .container {
  max-width: 800px;
}

.content-page .content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-light);
  line-height: 1.8;
}

.content-page h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}

.content-page h3 {
  color: var(--dark-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .timeline:before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: row;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: row;
  }
  
  .timeline-item .timeline-content {
    margin-left: 2rem;
    margin-right: 0;
    text-align: left;
    transform: skew(-1deg);
  }
  
  .timeline-marker {
    margin-left: 10px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .hero-body {
    padding: 4rem 0;
  }
  
  .stat-item {
    margin-bottom: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .timeline-content,
  .vision-content,
  .contact-form-container {
    padding: 2rem;
  }
  
  .vision-stats {
    flex-direction: column;
    align-items: center;
  }
  
  .award-card .card-content {
    padding: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  .hero-buttons .button {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .timeline-content,
  .contact-form-container {
    transform: none;
    padding: 1.5rem;
  }
  
  .contact-form {
    transform: none;
  }
  
  .gallery-item,
  .award-card .card,
  .resource-item {
    transform: none;
  }
  
  .image-container {
    transform: none;
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skew-left {
  transform: skew(-2deg);
}

.skew-right {
  transform: skew(2deg);
}

.hover-lift {
  transition: var(--transition-normal);
}

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

.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Read More Links */
.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}

.read-more-link:after {
  content: ' →';
  transition: var(--transition-normal);
}

.read-more-link:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

.read-more-link:hover:after {
  transform: translateX(5px);
}

/* Scroll Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease forwards;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease forwards;
}

/* Print Styles */
@media print {
  .navbar,
  .hero,
  .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .content-page {
    padding-top: 0;
  }
}