/* ========== Variables ========== */
:root {
  /* Primary Colors */
  --primary-color: #3273dc;
  --primary-light: #4a89e8;
  --primary-dark: #2a60b8;
  
  /* Secondary Colors */
  --secondary-color: #209cee;
  --secondary-light: #3eaef5;
  --secondary-dark: #1a7fbe;
  
  /* Neutral Colors */
  --dark-color: #363636;
  --light-color: #f5f5f5;
  --white-color: #ffffff;
  --black-color: #0a0a0a;
  
  /* Glassmorphism Variables */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --heading-font: 'Inter', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  
  /* Border Radius */
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  
  /* Animations */
  --transition-speed: 0.3s;
  --bounce-effect: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* ========== Base Styles ========== */
html {
  scroll-behavior: smooth;
}

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

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

a {
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-light);
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  margin-top: 1rem;
  transition: all var(--transition-speed) var(--bounce-effect);
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: transform var(--transition-speed) var(--bounce-effect);
  display: inline-block;
}

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

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

.bg-light {
  background-color: var(--light-color);
}

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

/* ========== Glassmorphism Styles ========== */
.glassmorphism-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-speed) var(--bounce-effect), box-shadow var(--transition-speed);
}

.glassmorphism-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.15);
}

.glassmorphism-navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.glassmorphism-button {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 15px 0 var(--glass-shadow);
  transition: all var(--transition-speed) var(--bounce-effect);
}

.glassmorphism-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.2);
}

/* ========== Button Styles ========== */
.button {
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-speed) var(--bounce-effect);
}

.button.is-primary {
  background-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.button.is-light {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--dark-color);
}

.button.is-light:hover {
  background-color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ========== Header & Navbar ========== */
.navbar {
  padding: 1rem 0;
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-speed);
}

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

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-body {
  display: flex;
  align-items: center;
  padding: 8rem 1.5rem;
}

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

.hero .title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero-foot {
  position: absolute;
  bottom: 2rem;
  width: 100%;
}

.arrow-down {
  animation: bounce 2s infinite;
}

.arrow-down a {
  color: var(--white-color);
  font-size: 2rem;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* ========== Section Styles ========== */
.section {
  padding: 5rem 1.5rem;
}

.section .title {
  position: relative;
  margin-bottom: 3rem;
}

.section .title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* ========== Card Styles ========== */
.card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

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

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

.card .title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card .content {
  flex-grow: 1;
}

/* ========== Timeline Styles ========== */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline {
  position: relative;
}

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

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

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

.timeline-content {
  width: 45%;
  margin-left: auto;
}

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

/* ========== Carousel Styles ========== */
.content-carousel {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  padding: 1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.carousel-prev,
.carousel-next {
  background: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: all var(--transition-speed) var(--bounce-effect);
}

.carousel-prev:hover,
.carousel-next:hover {
  background: var(--primary-light);
  transform: scale(1.1);
}

/* ========== Process Timeline ========== */
.process-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ========== Partners Styles ========== */
.partners-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  width: 200px;
  text-align: center;
}

.partner img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  transition: transform var(--transition-speed) var(--bounce-effect);
}

.partner:hover img {
  transform: scale(1.1);
}

.partner .title {
  margin-bottom: 0;
}

/* ========== Contact Form Styles ========== */
.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form .label {
  font-weight: 600;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  box-shadow: 0 0 0 2px rgba(50, 115, 220, 0.25);
  border-color: var(--primary-color);
}

.map-container {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== Footer Styles ========== */
.footer {
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: var(--white-color);
  transition: color var(--transition-speed);
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
  color: var(--white-color);
  transition: color var(--transition-speed);
}

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

.footer-bottom-links {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.footer-bottom-links a {
  color: var(--white-color);
  margin: 0 0.5rem;
  transition: color var(--transition-speed);
}

.footer-bottom-links a:hover {
  color: var(--primary-light);
}

/* ========== Success Page Styles ========== */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.success-message {
  max-width: 600px;
  margin-bottom: 2rem;
}

/* ========== Privacy & Terms Pages ========== */
.privacy-page, .terms-page {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.privacy-page .container, .terms-page .container {
  max-width: 800px;
}

.privacy-page h1, .terms-page h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.privacy-page h2, .terms-page h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.privacy-page p, .terms-page p {
  margin-bottom: 1.5rem;
}

/* ========== Responsive Styles ========== */
@media (max-width: 1023px) {
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-marker {
    left: 40px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 1rem;
  }
  
  .hero-body {
    padding: 6rem 1rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.2rem;
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .partner {
    width: 150px;
  }
}

/* ========== Animations ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s var(--bounce-effect);
}

/* ========== Utility Classes ========== */
.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}