/* ===== CSS VARIABLES ===== */
:root {
  /* Primary Color Palette - Complementary Blue/Orange */
  --primary-color: #2E86AB;
  --primary-light: #4A9BC7;
  --primary-dark: #1F5F7A;
  --secondary-color: #F18F01;
  --secondary-light: #F5A623;
  --secondary-dark: #D17700;
  
  /* Accent Colors */
  --accent-color: #A23B72;
  --accent-light: #C55394;
  --accent-dark: #7A2D56;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #6C757D;
  --dark-gray: #343A40;
  --black: #000000;
  
  /* Dynamic Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-hero: linear-gradient(135deg, rgba(46, 134, 171, 0.9) 0%, rgba(241, 143, 1, 0.8) 100%);
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 20px;
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

/* ===== PARTICLES ANIMATION ===== */
.particles-container {
  position: fixed;
  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: radial-gradient(circle at 20% 50%, rgba(46, 134, 171, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(241, 143, 1, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 40% 80%, rgba(162, 59, 114, 0.1) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite alternate;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(5deg); }
}

/* ===== BUTTON STYLES ===== */
.btn,
.button,
input[type='submit'],
button {
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius-medium);
  padding: 12px 30px;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn::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-medium);
}

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

.btn:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.custom-button {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-light);
}

.custom-button:hover {
  background: var(--gradient-secondary);
  color: var(--white);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  z-index: 1000;
  padding: 0.5rem 0;
}

.navbar-brand .navbar-item {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.navbar-item {
  color: var(--dark-gray);
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
}

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

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

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

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.parallax-bg::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;
  padding: 2rem 1.5rem;
}

.hero .title {
  color: var(--white) !important;
  font-size: 4rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

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

.hero p {
  color: var(--white) !important;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* ===== CARD STYLES ===== */
.card {
  background: var(--white);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-fast);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

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

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 4rem 0;
  position: relative;
}

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

.section .title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin-bottom: 1rem;
}

.section .subtitle {
  color: var(--gray);
  text-align: center;
  margin-bottom: 3rem;
}

/* ===== TIMELINE STYLES ===== */
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  margin: 3rem 0;
  padding: 0 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--secondary-color);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-light);
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
  position: relative;
  margin-left: 50%;
  width: calc(50% - 2rem);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: 50%;
}

/* ===== TESTIMONIAL STYLES ===== */
.slider-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  gap: 2rem;
  animation: slideInfinite 20s linear infinite;
}

.slide {
  min-width: 300px;
  flex-shrink: 0;
}

@keyframes slideInfinite {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.media {
  align-items: center;
  margin-bottom: 1rem;
}

.media-left .image {
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.media-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== FAQ STYLES ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-medium);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  margin: 0;
  background: var(--light-gray);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: var(--primary-light);
  color: var(--white);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

/* ===== FORM STYLES ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.field {
  margin-bottom: 1.5rem;
}

.label {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.input,
.textarea,
.select select {
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-small);
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.1);
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: var(--dark-gray);
  color: var(--light-gray);
  padding: 3rem 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer .title {
  color: var(--white);
  margin-bottom: 1rem;
  background: none;
  -webkit-text-fill-color: var(--white);
}

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

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

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

.footer-links a:hover {
  color: var(--secondary-color);
}

.social-links a {
  color: var(--light-gray);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
}

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

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

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

/* ===== SUCCESS PAGE STYLES ===== */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  text-align: center;
  color: var(--white);
}

.success-content {
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-heavy);
}

/* ===== PRIVACY & TERMS PAGES ===== */
.legal-page {
  padding-top: 100px;
}

.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.legal-page .content {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-light);
}

/* ===== UTILITY CLASSES ===== */
.has-text-dark {
  color: var(--dark-gray) !important;
}

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

.has-text-light {
  color: var(--light-gray) !important;
}

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

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

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

.read-more-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-fast);
}

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

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .timeline-container::before {
    left: 20px;
  }
  
  .timeline-item::before {
    left: 20px;
  }
  
  .timeline-content {
    margin-left: 60px;
    width: calc(100% - 80px);
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
  
  .slider-track {
    flex-direction: column;
    animation: none;
  }
  
  .slide {
    min-width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .slider-track {
    animation: none;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #FF4500;
    --dark-gray: #000000;
    --light-gray: #F0F0F0;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .particles-container {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  body {
    color: black;
    background: white;
  }
}