/* ============================================
   Alpins Clone - Complete Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --primary: #389df2;
  --primary-dark: #2d8ad8;
  --dark: #25303a;
  --dark-light: #2d3a47;
  --text: #4a5568;
  --text-light: #92a0ad;
  --light-bg: #f4f7fa;
  --white: #ffffff;
  --success: #48bb78;
  --warning: #ed8936;
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Section */
.section {
  padding: 80px 0;
}

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

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

/* Section Titles */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title.centered {
  text-align: center;
}

.section-dark .section-title {
  color: var(--white);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.section-subtitle.centered {
  justify-content: center;
  text-align: center;
}

.section-subtitle .line {
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(56, 157, 242, 0.3);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

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

.btn-link span {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-link:hover span {
  transform: translateX(5px);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(37, 48, 58, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-icon {
  width: 45px;
  height: 45px;
  color: var(--primary);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* User Menu Dropdown */
.user-menu {
  position: relative;
}

.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 8px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.user-menu-toggle svg {
  flex-shrink: 0;
}

.user-menu-toggle .chevron {
  transition: transform 0.3s ease;
}

.user-menu-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.dropdown-item:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.dropdown-item.logout {
  color: var(--warning);
}

.dropdown-item.logout:hover {
  background: rgba(237, 137, 54, 0.1);
}

.dropdown-divider {
  height: 1px;
  background: var(--light-bg);
  margin: 8px 0;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

.flag-icon {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* Hide mobile-only elements on desktop */
.mobile-auth {
  display: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 48, 58, 0.7) 0%, rgba(37, 48, 58, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 120px;
  padding-bottom: 200px;
  position: relative;
  z-index: 2;
}

.hero-left {
  max-width: 500px;
}

.hero-title {
  margin-bottom: 60px;
}

.hero-title-line {
  display: block;
  font-size: 72px;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  letter-spacing: 2px;
}

.hero-title-outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
  /* text-stroke: 2px rgba(255, 255, 255, 0.3); Removed as non-standard */
}

.hero-quote {
  color: var(--white);
}

.quote-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.9;
  max-width: 300px;
  margin-bottom: 20px;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.author-line {
  width: 30px;
  height: 3px;
  background: var(--primary);
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left;
  color: var(--white);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.stat-label {
  font-size: 13px;
  opacity: 0.7;
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
}

.stat-value small {
  font-size: 18px;
  font-weight: 400;
  opacity: 0.8;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  bottom: 40px;
  right: 60px;
  width: 500px;
  z-index: 3;
}

.slider-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-item {
  flex: 0 0 150px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  scroll-snap-align: start;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.slider-item:hover {
  transform: scale(1.05);
}

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

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.play-btn svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.slider-progress {
  margin-top: 15px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.progress-bar {
  width: 30%;
  height: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.3s ease;
}

/* Scroll Top Button */
.scroll-top {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  color: var(--dark);
}

/* ============================================
   Latest Trips Section
   ============================================ */
.trips-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

.trips-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.trip-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.trip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.trip-image {
  position: relative;
  height: 220px;
}

.trip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-price {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.trip-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(37, 48, 58, 0.95));
  padding: 30px 20px 15px;
  display: flex;
  gap: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.meta-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.meta-label {
  font-size: 10px;
  color: var(--white);
  opacity: 0.8;
}

.difficulty-easy {
  color: var(--success) !important;
}

.difficulty-medium {
  color: var(--warning) !important;
}

.trip-content {
  padding: 25px;
}

.trip-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.trip-description {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 15px;
}

.trip-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.trip-location svg {
  width: 20px;
  height: 20px;
}

.trips-info {
  padding-top: 20px;
}

.trips-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.trips-dots {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.dot {
  width: 35px;
  height: 4px;
  background: #dce3ea;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
}

/* ============================================
   About Us Section
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.about-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.about-col p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

.about-buttons {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

/* Accordion */
.about-accordion {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  background: var(--white);
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: var(--light-bg);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.accordion-content p {
  padding: 0 25px 20px 60px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Destination Cards */
.destination-cards {
  display: flex;
  gap: 20px;
  margin-top: 60px;
  align-items: flex-end;
}

.destination-card {
  flex: 0 0 200px;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-10px);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
}

.destination-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.destination-line {
  width: 30px;
  height: 3px;
  background: var(--primary);
  margin-bottom: 10px;
}

.destination-location {
  font-size: 13px;
  opacity: 0.9;
}

.all-treks-btn {
  margin-left: auto;
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  padding: 35px;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

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

.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  color: var(--primary);
}

.service-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.service-badge.badge-dark {
  background: var(--dark);
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Features Section
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.feature-item {
  padding: 30px 20px;
  border-right: 1px solid #e2e8f0;
}

.feature-item:last-child {
  border-right: none;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  color: var(--primary);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================
   Leaders Section
   ============================================ */
.leaders-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.leaders-title {
  font-size: 36px;
  font-weight: 800;
  font-style: italic;
  color: var(--white);
  margin-bottom: 10px;
}

.leaders-subtitle {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: var(--text-light);
}

.leaders-subtitle .line {
  width: 30px;
  height: 3px;
  background: var(--primary);
}

.leaders-nav {
  display: flex;
  gap: 10px;
}

.nav-arrow {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.nav-arrow svg {
  width: 20px;
  height: 20px;
}

.leaders-slider {
  overflow: hidden;
}

.leaders-track {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease;
}

.leader-card {
  flex: 0 0 calc(100% - 50px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
}

.leader-image {
  height: 300px;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-content {
  background: var(--dark-light);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leader-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.leader-date {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 20px;
}

.leader-date .line {
  width: 20px;
  height: 2px;
  background: var(--primary);
}

.leader-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ============================================
   Partners Section
   ============================================ */
.partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  flex: 1;
  min-width: 120px;
  max-width: 150px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo svg {
  width: 100%;
  height: 40px;
}

/* ============================================
   Newsletter Section
   ============================================ */
.newsletter-form {
  max-width: 800px;
  margin: 40px auto 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  margin-bottom: 20px;
}

.form-input {
  padding: 16px 25px;
  border: 1px solid #dce3ea;
  border-radius: 50px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 157, 242, 0.1);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark-light);
  color: var(--white);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-light);
}

.contact-dash {
  width: 8px;
  height: 2px;
  background: var(--primary);
}

.social-links {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link.facebook {
  background: #3b5998;
}

.social-link.twitter {
  background: #1da1f2;
}

.social-link.instagram {
  background: #c32aa3;
}

.social-link.google {
  background: #db4a39;
}

.social-link:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  background: var(--dark);
  padding: 20px 0;
  margin-top: 60px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}

.footer-bottom a {
  color: var(--primary);
  transition: color 0.3s ease;
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-links span {
  opacity: 0.5;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-title-line {
    font-size: 56px;
  }

  .hero-slider {
    width: 400px;
    right: 40px;
  }

  .trips-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .trips-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-item {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .feature-item:nth-child(2),
  .feature-item:nth-child(4) {
    border-left: 1px solid #e2e8f0;
  }

  .leader-card {
    flex: 0 0 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 25px;
  }

  .nav-link {
    font-size: 18px;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
    padding-top: 100px;
    padding-bottom: 280px;
  }

  .hero-title-line {
    font-size: 42px;
  }

  .hero-stats {
    flex-direction: row;
    gap: 40px;
  }

  .hero-slider {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .trips-cards {
    grid-template-columns: 1fr;
  }

  .about-text-cols {
    grid-template-columns: 1fr;
  }

  .about-buttons {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Hide desktop-only elements on mobile */
  .desktop-only {
    display: none !important;
  }

  .destination-cards {
    flex-direction: column;
    align-items: stretch;
  }

  .destination-card {
    flex: 0 0 auto;
  }

  .all-treks-btn {
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-item {
    border-right: none;
    border-left: none !important;
  }

  .leader-card {
    grid-template-columns: 1fr;
  }

  .leader-image {
    height: 200px;
  }

  .leaders-title {
    font-size: 28px;
  }

  .partners-grid {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title-line {
    font-size: 32px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat-value {
    font-size: 28px;
  }

  .slider-item {
    flex: 0 0 120px;
    height: 80px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 13px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-line {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.hero-title-line:nth-child(3) {
  animation-delay: 0.4s;
}

.hero-quote {
  animation: fadeInUp 0.8s ease 0.6s forwards;
  opacity: 0;
}

.hero-stats {
  animation: fadeInUp 0.8s ease 0.8s forwards;
  opacity: 0;
}

/* Slider Navigation Buttons */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(37, 48, 58, 0.8);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.1);
}

.slider-nav svg {
  width: 20px;
  height: 20px;
}

.slider-nav.prev {
  left: -20px;
}

.slider-nav.next {
  right: -20px;
}

/* Difficulty Level Colors matching Destination model */
.difficulty-moderate {
  color: var(--warning) !important;
}

.difficulty-challenging,
.difficulty-difficult,
.difficulty-extreme {
  color: #ff4757 !important; /* Red/Danger color */
}

/* Upcoming Trips Section Overrides */
.upcoming-trips .trips-grid {
  grid-template-columns: 1fr; /* Remove the sidebar column reservation */
}

.upcoming-trips .trips-cards {
  grid-template-columns: repeat(4, 1fr); /* Show 4 trips in a row */
}

@media (max-width: 1024px) {
  .upcoming-trips .trips-cards {
    grid-template-columns: repeat(2, 1fr); /* 2x2 on medium screens */
  }
}

@media (max-width: 768px) {
  .upcoming-trips .trips-cards {
    grid-template-columns: 1fr; /* Stack on mobile */
  }
}

/* Tours Section Overrides (About Us) */
.tours-section .trips-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Responsive Grid */
@media (max-width: 992px) {
  .tours-section .trips-cards {
    grid-template-columns: repeat(2, 1fr); /* 2x2 on medium screens */
  }
  
  .tours-section .trip-title {
    font-size: 1rem !important;
  }
}

@media (max-width: 576px) {
  .tours-section .trips-cards {
    grid-template-columns: 1fr; /* Stack on very small screens */
  }
}

/* Hero Animations */
@keyframes zoomInEffect {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.hero-title-line.typing-active {
  animation: zoomInEffect 4s infinite ease-in-out; /* Subtle zoom pulse */
}

/* Cursor specifically for the typing effect (optional) */
.hero-title-line::after {
  content: '|';
  animation: blink 1s infinite;
  opacity: 0;
}
.hero-title-line.typing::after {
  opacity: 1;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* Animation Classes */
.hero-title-line.typing-text {
  opacity: 0; /* Hidden initially, revealed by JS */
  display: block; /* Ensure they are block/flex lines */
  transform: scale(0.9); /* Start slightly zoomed out */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-title-line.typing-text.visible {
  opacity: 1;
  transform: scale(1) translateZ(0); /* Zoom In effect */
  animation: zoomInKey 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes zoomInKey {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* Cursor if needed */
.typing-cursor::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Character Pop Animation */
.char-pop {
  display: inline-block;
  opacity: 0;
  transform: scale(3); /* Start Big */
  animation: letterPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes letterPop {
  0% { opacity: 0; transform: scale(3); }
  60% { opacity: 1; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* Ensure spaces are preserved */
.typing-target span {
  display: inline-block;
}

/* Prevent word breaking in animated titles */
.hero-title-line.typing-text {
  word-break: keep-all; /* CJK specific, useful for keeping chars together */
  overflow-wrap: break-word; /* Fallback */
  white-space: normal;
}
.hero-title-line.typing-text span.char-pop {
  display: inline-block; /* Ensure transforms work */
}
/* Ensure spaces are actual breaking spaces */


/* Prevent Word Breaking in Title Lines */
.hero-title-line {
  white-space: nowrap;
  word-break: keep-all; 
}

/* Strict Title Layout */
.hero-title-line {
  display: block;
  width: 100%;
  white-space: pre-wrap; /* Allow wrapping if absolutely necessary but prefer structure */
}

/* Ensure typing text doesn't collapse */
.typing-target {
  display: block;
  min-height: 1.2em; /* Reserve space */
}

/* Responsive Title Sizing */
@media (max-width: 900px) {
  .hero-title-line {
    font-size: 56px !important;
  }
}

@media (max-width: 600px) {
  .hero-title-line {
    font-size: 40px !important;
    word-break: normal !important; /* Allow normal breaking if absolutely needed on tiny screens, but prefer keep-all */
  }
  
  .hero-content {
    padding-top: 100px;
  }
}

@media (max-width: 400px) {
  .hero-title-line {
    font-size: 32px !important;
  }
}


/* Add to your CSS file */
.hero-title-line {
    white-space: nowrap !important;
    display: block !important;
    overflow: visible !important;
    width: 100% !important;
    line-height: 1 !important;
    margin-bottom: 0.2em !important;
}

.hero-title-line span {
    display: inline-block !important;
    white-space: nowrap !important;
}

/* Ensure 4-word structure doesn't break */
#heroTitleLine1 { /* Word 1 */
    font-size: 72px;
}

#heroTitleLine2 { /* Words 2 & 3 */
    font-size: 72px;
    word-spacing: 0.2em;
}

#heroTitleLine3 { /* Word 4 */
    font-size: 72px;
}
/* Marquee Section */
.marquee-section {
    padding: 60px 0;
    overflow: hidden;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 400px;
    justify-content: center;
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 20s linear infinite;
    width: max-content; /* Ensure width fits content */
    will-change: transform;
}

.marquee-content.reverse {
    animation-direction: reverse;
}

.marquee-item {
    font-size: 80px;
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(37, 48, 58, 0.2);
    margin-right: 40px; /* Spacing between repeats */
    line-height: 0.9;
    letter-spacing: -2px;
}

.marquee-item.filled {
    color: var(--primary);
    -webkit-text-stroke: 0;
    opacity: 0.8;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Accessing duplicate starts halfway */
}

/* Hover pause (optional) */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* ============================================
   Marquee Section
   ============================================ */
.marquee-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid #eee;
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.marquee-row {
  display: flex;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: flex;
  align-items: center;
  /* Animate the content track */
  animation: scroll 20s linear infinite;
  /* Will-change for performance */
  will-change: transform;
  flex-shrink: 0;
}

.scroll-left .marquee-content {
  animation-direction: normal; /* Left */
}

.scroll-right .marquee-content {
  animation-direction: reverse; /* Right */
}

/* Pause on hover if desired, usually premium sites keep it moving but maybe slower */
/* .marquee-row:hover .marquee-content {
  animation-play-state: paused; 
} */

.marquee-text {
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    color: #transparent;
    /* Outline Text Effect */
    -webkit-text-stroke: 2px rgba(37, 48, 58, 0.1);
    color: transparent;
    padding: 0 10px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -2px;
  }

.marquee-row:hover .marquee-text {
  color: var(--primary); /* Fill on hover */
  -webkit-text-stroke: 0;
}

.marquee-separator {
  font-size: 40px;
  color: var(--primary);
  opacity: 0.5;
  margin: 0 20px;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


/* Responsive Tour Filters */
@media (max-width: 991px) {
  .tours-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .filter-sidebar {
    position: relative !important;
    top: 0 !important;
    margin-bottom: 20px;
    padding: 20px !important;
  }
}

/* ============================================
   About Page Styles
   ============================================ */

.about-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  text-align: center;
}

.about-hero-title {
  font-size: 64px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.about-hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 500;
}

.about-content {
  padding: 80px 0;
}

.about-image-wrapper {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  height: 500px;
}

.about-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-main-image {
  transform: scale(1.05);
}

.about-text-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.about-col p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
}

.faq-container {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  margin-bottom: 16px;
  background: var(--white);
  border: 1px solid rgba(37, 48, 58, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(56, 157, 242, 0.1);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: color 0.3s ease;
}

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

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 30px 24px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

/* About CTA Section */
.about-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 15px;
}

/* Responsive Styles for About Page */
@media (max-width: 768px) {
  .about-hero-title {
    font-size: 42px;
  }
  
  .about-image-wrapper {
    height: 300px;
  }
  
  .about-text-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .faq-question {
    font-size: 16px;
    padding: 20px;
  }
  
  .faq-answer p {
    padding: 0 20px 20px;
  }
  
  .btn-lg {
    display: block;
    margin: 10px 0 !important;
    text-align: center;
  }
}



/* ============================================
   Mobile Navigation Fixes
   ============================================ */

/* Mobile Navigation Overlay */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Changed to space-between */
    padding: 100px 30px 50px; /* Added padding top and bottom */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto; /* Enable scrolling if needed */
    z-index: 999;
  }
  
  .nav.active {
    transform: translateX(0);
  }
  
  .nav-list {
    flex-direction: column;
    gap: 25px;
    margin-top: 40px; /* Push down from header */
  }
  
  .nav-link {
    font-size: 18px;
    color: var(--white) !important; /* Force white color */
    opacity: 0.9;
    padding: 12px 0;
    display: block;
  }
  
  .nav-link:hover {
    color: var(--primary) !important;
    opacity: 1;
  }
  
  /* Mobile Auth Buttons */
  .mobile-auth {
    display: block;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }
  
  .mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
  }
  
  /* Mobile User Menu */
  .mobile-user-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .mobile-auth-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .mobile-auth-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
  }
  
  .mobile-auth-link:hover {
    background: rgba(56, 157, 242, 0.1);
    color: var(--primary);
  }
  
  .mobile-auth-link.logout {
    color: var(--warning);
  }
  
  .mobile-auth-link.logout:hover {
    background: rgba(237, 137, 54, 0.1);
  }
  
  /* Mobile Toggle Animation */
  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  /* Ensure all navigation items are visible */
  .nav-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
  }
  
  .nav.active .nav-item {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Staggered animation for nav items */
  .nav-item:nth-child(1) { transition-delay: 0.1s; }
  .nav-item:nth-child(2) { transition-delay: 0.2s; }
  .nav-item:nth-child(3) { transition-delay: 0.3s; }
  .nav-item:nth-child(4) { transition-delay: 0.4s; }
  .nav-item:nth-child(5) { transition-delay: 0.5s; }
  
  /* Mobile auth section animation */
  .mobile-auth {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.6s;
  }
  
  .nav.active .mobile-auth {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Fix header overlay issue */
  .header {
    backdrop-filter: none; /* Remove blur when not scrolled */
  }
  
  .header.scrolled {
    backdrop-filter: blur(10px);
    background: rgba(37, 48, 58, 0.95);
  }
  
  /* Ensure mobile nav has solid background */
  .nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px; /* Match header height */
    background: var(--dark);
    z-index: -1;
  }
  
  /* Mobile toggle z-index fix */
  .mobile-toggle {
    position: relative;
    z-index: 1001;
  }
  
  /* Prevent body scroll when nav is open */
  body.nav-open {
    overflow: hidden;
  }
}


/* ============================================
   Responsive Header Background Fix
   ============================================ */

/* Ensure header has background on mobile when nav is open */
@media (max-width: 768px) {
  .header {
    background: transparent;
    transition: background 0.3s ease;
  }
  
  /* When scrolled or nav is open, show solid background */
  .header.scrolled,
  .nav.active ~ .header {
    background: var(--dark) !important;
    backdrop-filter: none !important;
  }
  
  /* Make sure logo and toggle are visible */
  .header-container {
    position: relative;
    z-index: 1002;
  }
  
  /* Mobile nav overlay background */
  .nav.active {
    background: var(--dark);
  }
  
  /* Ensure nav items have proper contrast */
  .nav-link {
    color: var(--white) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Add subtle shadow to nav items for better readability */
  .nav-item {
    padding: 5px 0;
  }
}

/* Desktop styles for comparison */
@media (min-width: 769px) {
  .mobile-auth {
    display: none !important;
  }
  
  .mobile-toggle {
    display: none !important;
  }
}


/* ============================================
   Toast Notifications
   ============================================ */

.toast-container {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  padding: 0 20px;
}

.toast {
  background: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 500px;
  width: 100%;
  animation: slideDown 0.3s ease forwards, fadeOut 0.3s ease 1.7s forwards;
  border-left: 4px solid var(--primary);
  pointer-events: auto;
  transform: translateY(-20px);
  opacity: 0;
}

.toast.success {
  border-left-color: var(--success);
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(72, 187, 120, 0.02) 100%);
}

.toast.error {
  border-left-color: #e74c3c;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(231, 76, 60, 0.02) 100%);
}

.toast.warning {
  border-left-color: var(--warning);
  background: linear-gradient(135deg, rgba(237, 137, 54, 0.05) 0%, rgba(237, 137, 54, 0.02) 100%);
}

.toast.info {
  border-left-color: var(--primary);
  background: linear-gradient(135deg, rgba(56, 157, 242, 0.05) 0%, rgba(56, 157, 242, 0.02) 100%);
}

.toast-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: var(--success);
}

.toast.error .toast-icon {
  color: #e74c3c;
}

.toast.warning .toast-icon {
  color: var(--warning);
}

.toast.info .toast-icon {
  color: var(--primary);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.toast-message {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  color: var(--dark);
  background: rgba(0, 0, 0, 0.05);
}

.toast-close svg {
  width: 16px;
  height: 16px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Adjust position when header is scrolled */
.header.scrolled + .toast-container {
  top: 70px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .toast-container {
    top: 70px;
    padding: 0 15px;
  }
  
  .toast {
    padding: 14px 16px;
  }
  
  .toast-title {
    font-size: 13px;
  }
  
  .toast-message {
    font-size: 12px;
  }
}