/* CSS Variables - Monochromatic Retro Color Scheme */
:root {
  /* Primary Colors - Blue Base Monochromatic */
  --primary-color: #2c5aa0;
  --primary-light: #4a7bc8;
  --primary-dark: #1e3d6f;
  --primary-darker: #152b4d;
  
  /* Secondary Colors - Complementary */
  --secondary-color: #5a7ba8;
  --secondary-light: #7d9bc7;
  --secondary-dark: #3d5a7e;
  
  /* Accent Colors */
  --accent-color: #f39c12;
  --accent-light: #f5b041;
  --accent-dark: #d68910;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;
  --black: #212529;
  
  /* Background Colors */
  --bg-primary: var(--white);
  --bg-secondary: var(--light-gray);
  --bg-dark: var(--dark-gray);
  
  /* Text Colors */
  --text-primary: var(--dark-gray);
  --text-secondary: var(--medium-gray);
  --text-light: var(--white);
  --text-dark: var(--black);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  --gradient-dark: linear-gradient(135deg, var(--primary-darker) 0%, var(--primary-dark) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Work Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: var(--spacing-sm);
}

/* Global Button Styles */
.btn, button, input[type='submit'], .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: 44px;
}

.btn:before, button:before, input[type='submit']: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);
  z-index: -1;
}

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

/* 3D Button Effect */
.btn-3d, .button.btn-3d {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 6px 0 var(--primary-dark), var(--shadow-lg);
  transform: translateY(0);
}

.btn-3d:hover, .button.btn-3d:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--primary-dark), var(--shadow-xl);
}

.btn-3d:active, .button.btn-3d:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--primary-dark), var(--shadow-sm);
}

/* Button Variants */
.btn-primary, .button.is-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
}

.btn-primary:hover, .button.is-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 90, 160, 0.1);
  transition: all var(--transition-normal);
}

.navbar {
  padding: var(--spacing-sm) 0;
}

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

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

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

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

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(30, 61, 111, 0.6) 100%);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

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

.hero .title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
}

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

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

.section.has-background-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
}

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

/* Card Styles */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(44, 90, 160, 0.1);
}

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

.card-image {
  width: 100%;
  text-align: center;
}

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

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

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

/* Team Cards */
.team-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.team-card .image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  text-align: center;
}

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

.team-card:hover .image-container img {
  transform: scale(1.1);
}

/* Gallery Cards */
.gallery-card {
  position: relative;
  overflow: hidden;
}

.gallery-card .card-image {
  position: relative;
  overflow: hidden;
  height: 350px;
  text-align: center;
}

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

/* Blog Cards */
.blog-card .card-image {
  height: 250px;
  overflow: hidden;
  text-align: center;
}

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

.blog-card .tag {
  margin-bottom: var(--spacing-sm);
}

/* Resource Cards */
.resource-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.resource-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Behind Scene Cards */
.behind-card .card-image {
  height: 300px;
  overflow: hidden;
  text-align: center;
}

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

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

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

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

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

.timeline-marker {
  position: absolute;
  left: -28px;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  margin-left: var(--spacing-md);
}

/* Accordion Styles */
.success-accordion {
  max-width: 1000px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
  transition: all var(--transition-normal);
}

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

.accordion-header {
  padding: var(--spacing-md);
  cursor: pointer;
  background: var(--gradient-primary);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-normal);
}

.accordion-header:hover {
  background: var(--gradient-secondary);
}

.accordion-header .title {
  color: var(--text-light);
  margin: 0;
}

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

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

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

.accordion-content.active {
  max-height: 1000px;
}

.accordion-content .columns {
  padding: var(--spacing-md);
}

.accordion-content img {
  border-radius: var(--radius-md);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Contact Form Styles */
.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .input,
.contact-form .select select,
.contact-form .textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(44, 90, 160, 0.3);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.contact-form .input:focus,
.contact-form .select select:focus,
.contact-form .textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

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

.contact-info .content p {
  margin-bottom: var(--spacing-sm);
}

/* Footer Styles */
.footer {
  background: var(--gradient-dark);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer .title,
.footer .subtitle {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

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

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast);
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  transform: translateX(5px);
}

.social-links a {
  display: inline-block;
  margin-right: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast);
  opacity: 0.8;
  font-weight: 500;
  position: relative;
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width var(--transition-normal);
}

.social-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  transform: translateY(-2px);
}

.social-links a:hover::after {
  width: 100%;
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

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

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

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

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

.content-page .content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.content-page .content h1 {
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

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

.content-page .content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

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

.content-page .content li {
  margin-bottom: var(--spacing-xs);
}

/* Read More Links */
.read-more, .btn-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
}

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

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

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

/* Responsive Design */
@media screen and (max-width: 1024px) {
  :root {
    --spacing-xl: 3rem;
  }
  
  .hero .title {
    font-size: 3rem;
  }
  
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
  }
  
  .hero {
    min-height: 80vh;
    background-attachment: scroll;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
  
  .timeline {
    padding-left: var(--spacing-md);
  }
  
  .timeline::before {
    left: 15px;
  }
  
  .timeline-marker {
    left: -23px;
  }
  
  .contact-form-container {
    padding: var(--spacing-md);
  }
  
  .card-image,
  .team-card .image-container,
  .gallery-card .card-image,
  .blog-card .card-image,
  .behind-card .card-image {
    height: 250px;
  }
  
  .accordion-content img {
    height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.1rem;
  }
  
  .btn, button, input[type='submit'], .button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .card-content {
    padding: var(--spacing-sm);
  }
  
  .contact-form-container {
    padding: var(--spacing-sm);
  }
}

/* Loading Animation */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.loading {
  animation: pulse 1.5s infinite;
}

/* Glassmorphism Effect */
.glass {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Retro Elements */
.retro-border {
  border: 3px solid var(--primary-color);
  border-radius: var(--radius-md);
  position: relative;
}

.retro-border::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* Utility Classes */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

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

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

.full-width {
  width: 100%;
}

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

.margin-auto {
  margin: 0 auto;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.btn:focus, button:focus, input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.3);
}