/* CSS Variables - Analogous Color Scheme */
:root {
  /* Primary Colors (Blue-Green Analogous) */
  --primary-color: #0066cc;
  --primary-light: #3385d6;
  --primary-dark: #004499;
  --secondary-color: #00a0b0;
  --secondary-light: #33b3c1;
  --secondary-dark: #007080;
  --accent-color: #0080ff;
  --accent-light: #3399ff;
  --accent-dark: #0060cc;
  
  /* Complementary Colors */
  --orange-accent: #ff6b35;
  --orange-light: #ff8555;
  --orange-dark: #cc5429;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #000000;
  
  /* Background Colors */
  --bg-primary: var(--white);
  --bg-secondary: var(--light-gray);
  --bg-dark: var(--dark-gray);
  
  /* Text Colors */
  --text-primary: #2c3e50;
  --text-secondary: var(--medium-gray);
  --text-light: var(--white);
  --text-muted: #7f8c8d;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 160, 176, 0.8) 100%);
  --gradient-hero-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 102, 204, 0.4) 100%);
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-colored: 0 8px 25px rgba(0, 102, 204, 0.3);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-medium: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 {
  font-size: 3.5rem;
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  font-size: 1.1rem;
}

/* Global Button Styles */
.btn,
.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn-primary,
.button.is-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-colored);
}

.btn-primary:hover,
.button.is-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.btn-secondary,
.button.is-outlined {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover,
.button.is-outlined:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large,
.button.is-large {
  padding: var(--spacing-lg) var(--spacing-xxl);
  font-size: 1.2rem;
  min-height: 56px;
}

/* Read More Links */
.read-more,
.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  position: relative;
  transition: var(--transition-medium);
}

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

.read-more::after,
.read-more-link::after {
  content: '→';
  margin-left: var(--spacing-xs);
  transition: var(--transition-medium);
}

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 102, 204, 0.1);
  transition: var(--transition-medium);
  z-index: 1000;
}

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

.navbar-brand .title {
  color: var(--primary-color);
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  margin: 0;
}

.navbar-item {
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-medium);
  position: relative;
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

/* Hero Section */
.hero-header {
  position: relative;
  overflow: hidden;
}

.hero.is-fullheight {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.hero.is-fullheight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: var(--spacing-xxl) 0;
}

.hero .title {
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-lg);
}

.hero .subtitle {
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: var(--spacing-lg);
  font-weight: var(--font-weight-normal);
}

.hero p {
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xl);
}

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

/* Sections */
.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section.has-background-light {
  background: var(--bg-secondary);
}

.section.has-background-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.card-image {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.card-image .image {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.card-content .title {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.card-content p {
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Image Containers */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Statistics Section */
.progress-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  margin: 0 auto var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.progress-circle::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: var(--white);
  border-radius: 50%;
  z-index: 1;
}

.progress-circle .title {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--primary-color);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: var(--transition-medium);
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-slow);
  margin: 0 auto;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Partners Section */
.partner-card {
  padding: var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.partner-card img {
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Awards Section */
.award-card {
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition-medium);
  margin-bottom: var(--spacing-lg);
}

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

.award-card img {
  border-radius: var(--radius-md);
  object-fit: cover;
}

/* Timeline */
.future-timeline {
  position: relative;
  padding-left: var(--spacing-lg);
}

.future-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.timeline-marker {
  position: absolute;
  left: -15px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--primary-color);
  box-shadow: var(--shadow-light);
}

.timeline-content h5 {
  margin-bottom: var(--spacing-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-form {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}

.contact-info {
  padding: var(--spacing-lg);
}

.contact-item {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(0, 102, 204, 0.05);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.contact-item strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Form Elements */
.field {
  margin-bottom: var(--spacing-lg);
}

.label {
  font-weight: var(--font-weight-medium);
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  display: block;
}

.input,
.textarea,
.select select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid #e1e5e9;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-medium);
  background: var(--white);
}

.input:focus,
.textarea:focus,
.select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer .title {
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: var(--transition-medium);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  color: var(--white);
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  text-align: center;
  padding: var(--spacing-lg);
}

.success-content {
  background: var(--white);
  padding: var(--spacing-xxl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-heavy);
  max-width: 500px;
  width: 100%;
}

.success-content .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.success-content p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
}

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

.content-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl);
}

.content-page .content {
  background: var(--white);
  padding: var(--spacing-xxl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  line-height: 1.8;
}

.content-page h1 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.content-page h2 {
  color: var(--text-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary-color);
}

.content-page p {
  margin-bottom: var(--spacing-md);
  text-align: justify;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-white {
  color: var(--white);
}

.bg-gradient {
  background: var(--gradient-primary);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.py-xl {
  padding: var(--spacing-xl) 0;
}

.px-lg {
  padding: 0 var(--spacing-lg);
}

/* Glassmorphism Effects */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Asymmetric Balance Layout */
.asymmetric-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.asymmetric-layout.reverse {
  grid-template-columns: 1fr 2fr;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .asymmetric-layout,
  .asymmetric-layout.reverse {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .hero.is-fullheight {
    background-attachment: scroll;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing-xxl: 2rem;
    --spacing-xl: 1.5rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-body {
    padding: var(--spacing-xl) 0;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .card-content {
    padding: var(--spacing-md);
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .future-timeline {
    padding-left: var(--spacing-md);
  }
  
  .timeline-item {
    padding-left: var(--spacing-md);
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .btn,
  .button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.9rem;
  }
  
  .btn-large,
  .button.is-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
  }
  
  .success-content {
    padding: var(--spacing-xl);
  }
  
  .content-page .container {
    padding: var(--spacing-lg);
  }
  
  .content-page .content {
    padding: var(--spacing-lg);
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  
  .card {
    border: 2px solid var(--medium-gray);
  }
  
  .input,
  .textarea,
  .select select {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .parallax-bg {
    background-attachment: scroll !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .hero,
  .footer {
    display: none;
  }
  
  .section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--medium-gray);
  }
}