/* Base Styles and Variables */
:root {
  /* Primary Colors */
  --primary-color: #1a73e8;
  --primary-dark: #0d47a1;
  --primary-light: #64b5f6;
  
  /* Secondary Colors */
  --secondary-color: #f14668;
  --secondary-dark: #c2185b;
  --secondary-light: #f78da7;
  
  /* Neutral Colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f7fa;
  --background-dark: #1c2237;
  
  /* Accent Colors */
  --accent-1: #ffab00;
  --accent-2: #00bfa5;
  --accent-3: #7c4dff;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
}

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

body {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-top: 0;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container and Layouts */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

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

.section.has-background-primary-light {
  background-color: rgba(26, 115, 232, 0.1);
}

.columns {
  display: flex;
  flex-wrap: wrap;
  margin: -1rem;
}

.column {
  padding: 1rem;
  flex: 1 1 0;
  min-width: 0;
}

.column.is-one-third {
  flex: 0 0 calc(33.333% - 2rem);
}

.column.is-half {
  flex: 0 0 calc(50% - 2rem);
}

.column.is-two-thirds {
  flex: 0 0 calc(66.666% - 2rem);
}

.column.is-full {
  flex: 0 0 calc(100% - 2rem);
}

.column.is-one-quarter {
  flex: 0 0 calc(25% - 2rem);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  transition: background-color var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-item {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color var(--transition-normal);
}

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

.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-burger {
  display: none;
  cursor: pointer;
  width: 3.25rem;
  height: 3.25rem;
  position: relative;
  background-color: transparent;
  border: none;
}

.navbar-burger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all var(--transition-normal);
}

.navbar-burger span:nth-child(1) {
  top: calc(50% - 8px);
}

.navbar-burger span:nth-child(2) {
  top: 50%;
}

.navbar-burger span:nth-child(3) {
  top: calc(50% + 8px);
}

.navbar-burger.is-active span:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.navbar-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.navbar-burger.is-active span:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

/* Button Styles */
.button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  text-decoration: none;
}

.button:hover, button:hover, input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.button:active, button:active, input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

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

.button.is-secondary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
}

.button.is-light {
  background-color: #ffffff;
  color: var(--primary-color);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

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

.button.is-large {
  font-size: 1.25rem;
  padding: 1rem 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero.is-fullheight {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem 0;
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Card Styles */
.card {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

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

.card .title {
  margin-top: 0;
  font-size: 1.5rem;
}

.card .subtitle {
  color: #666;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.5rem;
}

.card a.button {
  margin-top: auto;
  align-self: flex-start;
}

/* Box Styles */
.box {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Form Styles */
.field {
  margin-bottom: 1.5rem;
}

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

.control {
  position: relative;
  margin-bottom: 0.5rem;
}

.input, .textarea, .select select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  font-family: 'Work Sans', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.input:focus, .textarea:focus, .select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.select {
  position: relative;
  display: block;
  width: 100%;
}

.select:after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.8rem;
  color: #666;
}

.checkbox, .radio {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.checkbox input, .radio input {
  margin-right: 0.5rem;
}

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

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

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.2);
}

.timeline-content {
  width: 45%;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-left: auto;
}

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

/* Accordion Styles */
.accordion {
  margin-bottom: 2rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-normal);
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.accordion-header.active {
  background-color: rgba(26, 115, 232, 0.05);
}

.accordion-header h3 {
  margin: 0;
}

.accordion-header .icon {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

/* Custom Slider */
.custom-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.slider-container {
  display: flex;
  transition: transform var(--transition-normal);
}

.slider-item {
  flex: 0 0 100%;
  position: relative;
}

.slider-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.slider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  color: #ffffff;
}

.slider-controls {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
}

.slider-controls button {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.slider-controls button:hover {
  background-color: #ffffff;
  transform: scale(1.1);
}

/* Map Container */
.map-container {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer .title {
  color: #ffffff;
}

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

.footer a:hover {
  color: #ffffff;
}

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

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

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--primary-light);
  transition: color var(--transition-normal);
  text-decoration: none;
}

.social-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Animation Classes */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

.animate__delay-1s {
  animation-delay: 0.2s;
}

.animate__delay-2s {
  animation-delay: 0.4s;
}

.animate__delay-3s {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Animate on Scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Image Container */
.image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-md);
  text-align: center;
}

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

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

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

.success-container {
  max-width: 600px;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

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

/* Utility Classes */
.mt-4 {
  margin-top: 1rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

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

.mb-4 {
  margin-bottom: 1rem;
}

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

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

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

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

.is-size-4 {
  font-size: 1.5rem !important;
}

.is-size-5 {
  font-size: 1.25rem !important;
}

.is-size-6 {
  font-size: 1rem !important;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .column.is-one-third, 
  .column.is-half {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .navbar-menu.is-active {
    display: flex;
  }
  
  .navbar-item {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }
  
  .timeline:before {
    left: 2rem;
  }
  
  .timeline-marker {
    left: 2rem;
  }
  
  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 4rem !important;
  }
  
  .column.is-one-third, 
  .column.is-half, 
  .column.is-two-thirds,
  .column.is-one-quarter {
    flex: 0 0 calc(100% - 2rem);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .buttons {
    flex-direction: column;
  }
  
  .buttons .button {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}