/* CSS Variables */
:root {
  /* Analog Color Scheme */
  --primary-color: #2C5282;
  --primary-dark: #1A365D;
  --primary-light: #4299E1;
  --secondary-color: #E53E3E;
  --secondary-dark: #C53030;
  --secondary-light: #FC8181;
  --accent-color: #38A169;
  --accent-dark: #2F855A;
  --accent-light: #68D391;
  --tertiary-color: #D69E2E;
  --tertiary-dark: #B7791F;
  --tertiary-light: #F6E05E;
  
  /* Neutral Colors */
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  --background-primary: #FFFFFF;
  --background-secondary: #F7FAFC;
  --background-dark: #1A202C;
  --background-overlay: rgba(0, 0, 0, 0.5);
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --gradient-overlay: linear-gradient(135deg, rgba(44, 82, 130, 0.8), rgba(66, 153, 225, 0.8));
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography */
  --font-family-headings: 'Poppins', sans-serif;
  --font-family-body: 'Work Sans', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

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

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

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Button Styles */
.btn,
button,
input[type='submit'],
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius-md);
  font-family: var(--font-family-headings);
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

.btn::before,
button::before,
input[type='submit']::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: left var(--transition-slow);
}

.btn:hover::before,
button:hover::before,
input[type='submit']:hover::before,
.button:hover::before {
  left: 100%;
}

.btn:hover,
button:hover,
input[type='submit']:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-primary:hover,
.button.is-primary:hover {
  background: var(--gradient-primary);
  filter: brightness(1.1);
}

.btn-secondary,
.button.is-secondary {
  background: var(--gradient-secondary);
  color: var(--text-white);
}

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

.btn-outline:hover,
.button.is-outlined:hover {
  background: var(--primary-color);
  color: var(--text-white);
}

/* Link Styles */
.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-normal);
}

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

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

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

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-sm) 0;
  transition: all var(--transition-normal);
}

.navbar.is-scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar-brand .title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-2xl);
}

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

.navbar-item::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

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

.navbar-item:hover::before {
  width: 100%;
}

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

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-body {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-md);
}

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

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

.hero p {
  color: var(--text-white);
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.section .title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: var(--border-radius-sm);
}

.section .subtitle {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  color: var(--text-secondary);
}

/* Card Styles */
.card,
.info-card {
  background: var(--background-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.card:hover,
.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

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

.card-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline Styles */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) 0;
}

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

.timeline-item {
  position: relative;
  margin: var(--spacing-xl) 0;
  display: flex;
  align-items: center;
}

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

.timeline-item:nth-child(odd) .timeline-content {
  text-align: right;
  padding-right: var(--spacing-xl);
}

.timeline-item:nth-child(even) .timeline-content {
  text-align: left;
  padding-left: var(--spacing-xl);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px var(--background-primary);
}

.timeline-content {
  flex: 1;
  background: var(--background-primary);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 20px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -20px;
  border-left-color: var(--background-primary);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  border-right-color: var(--background-primary);
}

/* Stats Widget */
.stats-widget {
  background: var(--gradient-primary);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  color: var(--text-white);
  text-align: center;
}

.stats-widget .title {
  color: var(--text-white);
  margin-bottom: var(--spacing-sm);
}

.stats-widget .subtitle {
  color: rgba(255, 255, 255, 0.8);
}

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

.label {
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

.input,
.textarea,
.select select {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-family-body);
  transition: all var(--transition-normal);
  background: var(--background-primary);
}

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

/* Footer */
.footer {
  background: var(--background-dark);
  color: var(--text-white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

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

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

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

.footer ul li {
  margin-bottom: var(--spacing-sm);
}

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

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

.social-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  padding: var(--spacing-sm) 0;
  font-weight: 500;
  transition: all var(--transition-normal);
}

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
}

.fade-in-delay-3 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.hover-effect:hover {
  transform: translateY(-2px);
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-lg);
}

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

.success-content {
  max-width: 500px;
  padding: var(--spacing-2xl);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.success-content p {
  color: rgba(255, 255, 255, 0.9);
  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-2xl) var(--spacing-lg);
}

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

.content-page h2 {
  color: var(--text-primary);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

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

.content-page ul {
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-xl);
}

.content-page li {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero .title {
    font-size: var(--font-size-3xl);
  }
  
  .hero .subtitle {
    font-size: var(--font-size-xl);
  }
  
  .hero p {
    font-size: var(--font-size-base);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: column;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .timeline-content {
    margin-left: 50px;
    text-align: left !important;
    padding-left: var(--spacing-lg) !important;
    padding-right: var(--spacing-lg) !important;
  }
  
  .timeline-content::before {
    left: -20px !important;
    right: auto !important;
    border-left-color: transparent !important;
    border-right-color: var(--background-primary) !important;
  }
  
  .social-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .card-content {
    padding: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero .title {
    font-size: var(--font-size-2xl);
  }
  
  .hero .subtitle {
    font-size: var(--font-size-lg);
  }
  
  .section .title {
    font-size: var(--font-size-2xl);
  }
  
  .btn,
  button,
  .button {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
  }
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.d-flex { display: flex; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

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

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-white { background-color: var(--background-primary); }
.bg-dark { background-color: var(--background-dark); }

.border-radius-sm { border-radius: var(--border-radius-sm); }
.border-radius-md { border-radius: var(--border-radius-md); }
.border-radius-lg { border-radius: var(--border-radius-lg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.transition-fast { transition: all var(--transition-fast); }
.transition-normal { transition: all var(--transition-normal); }
.transition-slow { transition: all var(--transition-slow); }