:root {
  --primary-color: #1e3c72;
  --secondary-color: #2a5298;
  --warning-color: #ffc107;
  --success-color: #28a745;
  --dark-color: #343a40;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --bs-primary: #29417c;
  --bs-primary-rgb: 41, 65, 124;
  --bs-primary-bg-subtle: rgba(41, 65, 124, 0.125);
  --bs-primary-border-subtle: rgba(41, 65, 124, 0.375);
  --bs-primary-text: #29417c;
}
.glass-effect {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.floating {
  animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
  0%, 100% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-8px);
  }
}
.particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 20% 50%, rgba(30, 60, 114, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(42, 82, 152, 0.1) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
}
@keyframes particleFloat {
  0%, 100% {
      transform: translateY(0px) rotate(0deg);
  }
  33% {
      transform: translateY(-30px) rotate(120deg);
  }
  66% {
      transform: translateY(15px) rotate(240deg);
  }
}
.language-dropdown {
  min-width: 140px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
}
.language-dropdown .dropdown-item {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 4px;
}
.language-dropdown .dropdown-item:hover {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateX(5px);
}
.language-dropdown .dropdown-item img {
  transition: transform 0.3s ease;
}
.language-dropdown .dropdown-item:hover img {
  transform: scale(1.1);
}
#languageDropdown {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}
#languageDropdown:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
#currentFlag {
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.neon-glow {
  position: relative;
  overflow: hidden;
}
.neon-glow::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ffc107, #1e3c72, #2a5298, #ffc107);
  border-radius: inherit;
  z-index: -1;
  animation: neonRotate 3s linear infinite;
}
@keyframes neonRotate {
  0% {
      transform: rotate(0deg);
  }
  100% {
      transform: rotate(360deg);
  }
}

/* Mobile Header Language Selector */
.mobile-header-language {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 1rem;
}

.language-flags-header {
    align-items: center;
}

.lang-flag-btn-header {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 22px;
    text-decoration: none !important;
    color: inherit !important;
    pointer-events: auto;
}

.lang-flag-btn-header:focus,
.lang-flag-btn-header:active,
.lang-flag-btn-header:visited {
    outline: none;
    text-decoration: none !important;
    color: inherit !important;
}

.lang-flag-btn-header:hover {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.2);
    transform: scale(1.05);
}

.lang-flag-btn-header.active {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.3);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.lang-flag-btn-header img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Hide logo when mobile menu is open */
@media (max-width: 991.98px) {
    .navbar-collapse.show ~ .navbar-brand,
    .navbar-collapse.collapsing ~ .navbar-brand {
        display: none;
    }
    
    .navbar-collapse.show ~ .mobile-header-language,
    .navbar-collapse.collapsing ~ .mobile-header-language {
        margin-left: 0;
        flex: 1;
        justify-content: center;
    }
}

/* Mobile Navigation Styles */
.mobile-action-buttons {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.mobile-buttons-row {
    margin-bottom: 1rem;
}

.mobile-buttons-row .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.mobile-language-selector {
    border-radius: 8px;
    overflow: hidden;
}

.language-flags {
    align-items: center;
}

.lang-flag-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 30px;
}

.lang-flag-btn:hover {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.2);
    transform: scale(1.05);
}

.lang-flag-btn.active {
    border-color: #ffc107;
    background: rgba(255, 193, 7, 0.3);
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

.lang-flag-btn img {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(30, 60, 114, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 0 0 15px 15px;
        margin-top: 10px;
        padding: 1rem;
    }
}
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}
.tilt-3d:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(2deg) scale(1.02);
}
.service-card.tilt-3d, #tellimus .tilt-3d {
  transform-style: initial;
}
.service-card.tilt-3d:hover, #tellimus .tilt-3d:hover {
  transform: translateY(-5px) scale(1.02);
}
.morph-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.morph-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 193, 7, 0.3));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.morph-btn:hover::before {
  width: 300px;
  height: 300px;
}
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.magnetic {
  position: relative;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.magnetic:hover {
  transform: scale(1.1);
}
.magnetic::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
  z-index: -1;
}
.magnetic:hover::after {
  width: 150px;
  height: 150px;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(30, 60, 114, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(30, 60, 114, 0.98) !important;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #fff, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}
.navbar-brand:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}
.navbar-brand i {
  color: #ffc107;
  margin-right: 0.5rem;
  animation: busMove 2s ease-in-out infinite;
}
@keyframes busMove {
  0%, 100% {
      transform: translateX(0);
  }
  50% {
      transform: translateX(5px);
  }
}
.navbar-nav .nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
  border-radius: 0.375rem;
  margin: 0 0.25rem;
}
.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #ffc107, #fff);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::before, .navbar-nav .nav-link.active::before {
  width: 80%;
}
.navbar-nav .nav-link:hover {
  color: var(--warning-color) !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}
.navbar-nav .nav-link.btn-warning {
  background: linear-gradient(45deg, #ffc107, #ffdb4d) !important;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  transition: all 0.3s ease;
}
.navbar-nav .nav-link.btn-warning:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  background: linear-gradient(45deg, #ffdb4d, #ffc107) !important;
}
.navbar-nav .nav-link.btn-success {
  background: linear-gradient(45deg, #28a745, #20c997) !important;
  border: none;
  color: white !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
}
.navbar-nav .nav-link.btn-success:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  background: linear-gradient(45deg, #20c997, #28a745) !important;
  color: white !important;
}
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffc107, transparent);
  animation: navbarGlow 3s ease-in-out infinite;
}
@keyframes navbarGlow {
  0%, 100% {
      opacity: 0.3;
  }
  50% {
      opacity: 1;
  }
}
.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  z-index: 1;
  pointer-events: none;
}
.hero-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.8) 0%, rgba(42, 82, 152, 0.6) 50%, rgba(30, 60, 114, 0.9) 100%);
  z-index: 1;
}
.hero-bg .container {
  position: relative;
  z-index: 2;
}
.hero-bg .display-4 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInFromLeft 1s ease-out;
}
.hero-bg .lead {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: slideInFromLeft 1s ease-out 0.3s both;
}
.hero-bg .btn {
  animation: slideInFromLeft 1s ease-out 0.6s both;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.hero-bg .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.carousel-item img {
  transition: all 0.5s ease;
  border-radius: 30% 0 30% 0 !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 0 16px rgba(30, 60, 114, 0.15) !important;
  animation: heroImageFloat 6s ease-in-out infinite, slideInFromRight 1s ease-out 0.5s both;
  position: relative;
  overflow: hidden;
}
.carousel-item img::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 193, 7, 0.1) 50%, transparent 52%);
  pointer-events: none;
  z-index: 1;
}
.carousel-item:hover img {
  transform: scale(1.03) rotate(2deg);
  border-radius: 35% 0 35% 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 12px rgba(255, 255, 255, 0.2), 0 0 0 24px rgba(255, 193, 7, 0.2);
}
@media (max-width: 768px) {
  .carousel-item img {
      border-radius: 20% 0 20% 0;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(255, 255, 255, 0.1), 0 0 0 12px rgba(30, 60, 114, 0.15);
  }
  .carousel-item:hover img {
      border-radius: 25% 0 25% 0;
      transform: scale(1.02) rotate(1deg);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.2), 0 0 0 16px rgba(255, 193, 7, 0.2);
  }
}
.carousel-item img.floating {
  animation: heroImageFloat 6s ease-in-out infinite, slideInFromRight 1s ease-out 0.5s both;
}
@keyframes heroImageFloat {
  0%, 100% {
      transform: translateY(0px) rotate(0deg);
      border-radius: 30% 0 30% 0;
  }
  33% {
      transform: translateY(-8px) rotate(1deg);
      border-radius: 32% 0 28% 0;
  }
  66% {
      transform: translateY(4px) rotate(-0.5deg);
      border-radius: 28% 0 32% 0;
  }
}
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  transition: all 0.3s ease;
}
.carousel-indicators button.active {
  background: #ffc107;
  border-color: #ffc107;
  transform: scale(1.2);
}
.carousel-control-prev, .carousel-control-next {
  width: 5%;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}
@keyframes slideInFromLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}
@keyframes slideInFromRight {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}
.feature-icon {
  transition: transform 0.3s ease, color 0.3s ease;
}
.feature-icon:hover {
  transform: translateY(-10px);
}
.feature-icon:hover i {
  color: var(--warning-color) !important;
}
.route-card, .service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.route-card .card-body, .service-card .card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
}
.route-card .card-text, .service-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.route-card .d-flex.gap-2 {
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
}
.service-card .btn {
  margin-top: auto;
  align-self: center;
}
.route-card:hover, .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}
#teenused .row {
  display: flex;
  align-items: stretch;
}
#teenused .col-lg-4 {
  display: flex;
  margin-bottom: 2rem;
}
#teenused .service-card {
  width: 100%;
}
.route-info {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
}
.bus-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.bus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.bus-image-container {
  position: relative;
  overflow: hidden;
}
.bus-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  background: #f8f9fa;
}
.bus-card:hover .bus-image {
  transform: scale(1.05);
}
.bus-seats-badge {
  z-index: 10;
}
.bus-seats-badge .badge {
  background: linear-gradient(45deg, #ffc107, #ff8c00) !important;
  color: #212529 !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}
.bus-features {
  background: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
}
.bus-features h6 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.bus-features .badge {
  background: #e9ecef !important;
  color: #495057 !important;
  border: 1px solid #dee2e6;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
}
.contact-info i {
  color: var(--warning-color);
}
.social-links a {
  transition: transform 0.3s ease;
}
.social-links a:hover {
  transform: scale(1.2);
}
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover {
  color: white;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}
@media (min-width: 768px) and (max-width: 1200px) {
  .navbar-nav .nav-item:first-child, .navbar-nav .nav-item:nth-child(6) {
      display: none;
  }
  .navbar-nav .nav-link.btn-warning {
      font-size: 0.85rem;
  }
  .navbar-nav .nav-link.btn-warning::after {
      content: "Telli";
  }
  .navbar-nav .nav-link.btn-success::after {
      content: "Osta";
  }
  .navbar-nav .nav-link.btn-warning, .navbar-nav .nav-link.btn-success {
      font-size: 0;
  }
  .navbar-nav .nav-link.btn-warning::after, .navbar-nav .nav-link.btn-success::after {
      font-size: 0.85rem;
  }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .navbar-nav .nav-link {
      padding: 0.5rem 0.75rem !important;
      margin: 0 0.125rem;
      font-size: 0.9rem;
  }
  .navbar-nav .nav-link.btn-warning, .navbar-nav .nav-link.btn-success {
      padding: 0.5rem 1.25rem !important;
      margin: 0 0.25rem;
  }
}
@media (max-width: 1024px) {
  .navbar-nav {
      padding: 0.5rem 0;
  }
  .navbar-nav .nav-link {
      padding: 0.75rem 1rem !important;
      margin: 0.25rem 0.5rem;
      border-radius: 0.5rem;
      transition: all 0.3s ease;
  }
  .navbar-nav .nav-link:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateX(5px);
  }
  .hero-bg .container {
      padding: 2rem 1rem;
  }
  .display-4 {
      font-size: 2.25rem;
      line-height: 1.2;
      margin-bottom: 1.5rem;
  }
  .lead {
      font-size: 1.1rem;
      margin-bottom: 2rem;
  }
  .section-padding {
      padding: 4rem 0;
  }
  .card {
      margin-bottom: 2rem;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
}
@media (max-width: 768px) {
  .navbar-nav .nav-item:first-child {
      display: none;
  }
  body {
      font-size: 16px;
      line-height: 1.6;
  }
  h1, .h1 {
      font-size: 2.25rem;
      line-height: 1.3;
  }
  h2, .h2 {
      font-size: 2rem;
      line-height: 1.3;
      margin-bottom: 1.5rem;
  }
  h3, .h3 {
      font-size: 1.75rem;
      line-height: 1.4;
  }
  h4, .h4 {
      font-size: 1.5rem;
      line-height: 1.4;
      margin-bottom: 1rem;
  }
  h5, .h5 {
      font-size: 1.3rem;
      line-height: 1.4;
  }
  h6, .h6 {
      font-size: 1.1rem;
      line-height: 1.4;
  }
  p, .lead {
      font-size: 1.1rem;
      line-height: 1.7;
      margin-bottom: 1.5rem;
  }
  .small, small {
      font-size: 0.95rem;
  }
  .carousel-item img {
      border-radius: 15% 0 15% 0;
  }
  .navbar {
      padding: 0.75rem 0;
  }
  .navbar-brand {
      font-size: 1.6rem;
      padding: 0.5rem 0;
  }
  .navbar-toggler {
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 0.5rem;
      padding: 0.75rem 1rem;
      margin: 0.25rem 0;
      transition: all 0.3s ease;
  }
  .navbar-toggler:hover {
      border-color: var(--warning-color);
      background: rgba(255, 193, 7, 0.1);
      transform: scale(1.05);
  }
  .navbar-toggler-icon {
      width: 1.4em;
      height: 1.4em;
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www-w3-org.njmu.s5.bt8.net/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .navbar-collapse {
      background: rgba(30, 60, 114, 0.98);
      backdrop-filter: blur(20px);
      border-radius: 0.75rem;
      margin-top: 1rem;
      padding: 2rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-nav {
      gap: 0.75rem;
  }
  .navbar-nav .nav-link {
      padding: 1.25rem 1.5rem !important;
      margin: 0.25rem 0;
      font-size: 1.1rem;
      font-weight: 500;
      border-radius: 0.75rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: space-between;
  }
  .navbar-nav .nav-link::after {
      content: '→';
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      font-size: 1.2rem;
  }
  .navbar-nav .nav-link:hover {
      background: rgba(255, 255, 255, 0.15);
      border-color: rgba(255, 193, 7, 0.3);
      transform: translateX(5px);
      color: var(--warning-color) !important;
  }
  .navbar-nav .nav-link:hover::after {
      opacity: 1;
      transform: translateX(0);
  }
  .navbar-nav .nav-link.btn-warning, .navbar-nav .nav-link.btn-success {
      background: linear-gradient(45deg, var(--warning-color), #ffdb4d) !important;
      color: #000 !important;
      font-weight: 600;
      border: 2px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
      font-size: 1.1rem;
  }
  .navbar-nav .nav-link.btn-success {
      background: linear-gradient(45deg, var(--success-color), #34ce57) !important;
      color: white !important;
      box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  }
  .navbar-nav .nav-link.btn-warning:hover, .navbar-nav .nav-link.btn-success:hover {
      transform: translateX(5px) scale(1.02);
      box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
  }
  .dropdown-menu.language-dropdown {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(0, 0, 0, 0.1);
      border-radius: 0.75rem;
      padding: 1.25rem;
      margin-top: 0.5rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  .language-dropdown .dropdown-item {
      padding: 1rem 1.25rem;
      border-radius: 0.5rem;
      margin: 0.25rem 0;
      font-weight: 500;
      font-size: 1rem;
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
  }
  .language-dropdown .dropdown-item:hover {
      background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
      color: white;
      transform: translateX(8px);
  }
  .hero-bg .container .row {
      text-align: center;
      padding: 2.5rem 0;
  }
  .display-4 {
      font-size: 2.25rem;
      line-height: 1.3;
      margin-bottom: 1.5rem;
  }
  .lead {
      font-size: 1.2rem;
      margin-bottom: 2rem;
      line-height: 1.6;
  }
  .btn-lg {
      padding: 1rem 2rem;
      font-size: 1.1rem;
      margin: 0.5rem 0;
      border-radius: 2rem;
      min-width: 200px;
  }
  .d-flex.gap-3.flex-wrap {
      flex-direction: column;
      align-items: center;
      gap: 1rem !important;
  }
  .d-flex.gap-3.flex-wrap .btn {
      width: 100%;
      max-width: 300px;
      margin-bottom: 0.5rem;
  }
  ```text ```text .feature-icon {
      margin-bottom: 1.5rem;
  }
  .bus-card {
      margin-bottom: 2rem;
      border-radius: 1rem;
      overflow: hidden;
  }
  .route-card, .service-card {
      margin-bottom: 2rem;
      padding: 2rem 1.5rem !important;
      border-radius: 1rem;
  }
  .service-card h4 {
      font-size: 1.4rem;
      margin-bottom: 1rem;
  }
  .service-card p {
      font-size: 1.05rem;
      line-height: 1.6;
  }
  .route-card h5 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
  }
  .route-card p {
      font-size: 1.05rem;
      line-height: 1.6;
  }
  .modal-lg {
      max-width: 95%;
      margin: 1rem auto;
  }
  .modal-body {
      padding: 2rem 1.5rem;
  }
  .modal-header {
      padding: 1.5rem;
  }
  .modal-footer {
      padding: 1rem 1.5rem 1.5rem;
      flex-direction: column;
      gap: 1rem;
  }
  .modal-footer .btn {
      width: 100%;
      order: 2;
      font-size: 1.05rem;
      padding: 0.875rem 1.5rem;
  }
  .modal-footer .btn-secondary {
      order: 1;
  }
  .contact-info {
      margin-bottom: 2.5rem;
      padding: 2rem 1.5rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 1rem;
  }
  .contact-info .d-flex {
      margin-bottom: 2rem;
      padding: 1.5rem;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 0.75rem;
      transition: all 0.3s ease;
      flex-direction: column;
      text-align: center;
  }
  .contact-info .d-flex:hover {
      background: rgba(255, 255, 255, 0.1);
      transform: translateY(-2px);
  }
  .contact-info .d-flex i {
      margin-bottom: 0.75rem;
      margin-right: 0 !important;
      font-size: 1.5rem;
  }
  .contact-info .d-flex div {
      font-size: 1.1rem;
      line-height: 1.6;
  }
  .contact-info .d-flex div strong {
      font-size: 1.2rem;
      display: block;
      margin-bottom: 0.25rem;
  }
  #kontakt .col-lg-4:nth-child(2) {
      display: none;
  }
  #kontakt .col-lg-4 {
      margin-bottom: 3rem;
  }
  #kontakt h4 {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      text-align: center;
  }
  #kontakt h5 {
      font-size: 1.3rem;
      margin-bottom: 1rem;
  }
  #kontakt .input-group {
      margin-top: 1rem;
  }
  #kontakt .input-group .form-control {
      font-size: 1rem;
      padding: 0.875rem 1rem;
      border-radius: 0.5rem 0 0 0.5rem;
  }
  #kontakt .input-group .btn {
      font-size: 1rem;
      padding: 0.875rem 1.5rem;
      border-radius: 0 0.5rem 0.5rem 0;
  }
  footer p {
      font-size: 1rem;
      line-height: 1.6;
      text-align: center;
  }
  section {
      padding: 3.5rem 0;
  }
  .py-5 {
      padding-top: 3.5rem !important;
      padding-bottom: 3.5rem !important;
  }
  .container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
  }
}
@media (max-width: 576px) {
  .navbar-nav .nav-item:first-child, .navbar-nav .nav-item:nth-child(6) {
      display: none;
  }
  .navbar {
      padding: 0.5rem 0;
  }
  .navbar-brand {
      font-size: 1.3rem;
      padding: 0.25rem 0;
  }
  .navbar-brand i {
      font-size: 1.1rem;
  }
  .navbar-toggler {
      padding: 0.4rem 0.6rem;
      font-size: 0.9rem;
  }
  .navbar-collapse {
      margin-top: 0.75rem;
      padding: 1.25rem;
      border-radius: 0.75rem;
  }
  .navbar-nav .nav-link {
      padding: 0.875rem 1rem !important;
      font-size: 0.95rem;
      margin: 0.125rem 0;
  }
  .display-4 {
      font-size: 1.75rem;
      line-height: 1.4;
      margin-bottom: 1rem;
  }
  .lead {
      font-size: 0.95rem;
      margin-bottom: 1.5rem;
      padding: 0 0.5rem;
  }
  .hero-bg .btn {
      display: block;
      width: 100%;
      max-width: 280px;
      margin: 0.375rem auto;
      padding: 0.75rem 1.5rem;
      font-size: 0.95rem;
  }
  .d-flex.gap-3.flex-wrap {
      padding: 0 1rem;
  }
  .carousel-item img {
      margin-top: 1.5rem;
      border-radius: 0.75rem;
  }
  .carousel-indicators {
      bottom: -3rem;
  }
  .carousel-indicators button {
      width: 10px;
      height: 10px;
  }
  .bus-card, .route-card, .service-card {
      margin-bottom: 1.5rem;
      border-radius: 0.875rem;
  }
  .service-card {
      padding: 1.5rem !important;
  }
  .bus-badge {
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
      border-radius: 1rem;
  }
  .bus-specs {
      font-size: 0.85rem;
  }
  .feature-icon i {
      font-size: 2.5rem !important;
  }
  .feature-icon {
      margin-bottom: 1rem;
  }
  .modal-dialog {
      margin: 0.5rem;
      width: calc(100% - 1rem);
  }
  .modal-content {
      border-radius: 0.875rem;
  }
  .modal-header {
      padding: 1.25rem 1.25rem 1rem;
  }
  .modal-title {
      font-size: 1.1rem;
      line-height: 1.3;
  }
  .modal-body {
      padding: 1.25rem;
  }
  .modal-footer {
      padding: 1rem 1.25rem 1.25rem;
      gap: 0.75rem;
  }
  .modal-footer .btn {
      padding: 0.75rem 1.25rem;
      font-size: 0.9rem;
  }
  .form-control, .form-select {
      padding: 1rem 1.25rem;
      font-size: 1.1rem;
      border-radius: 0.75rem;
      min-height: 50px;
      line-height: 1.5;
  }
  .form-label {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--primary-color);
  }
  .btn {
      font-size: 1.05rem;
      padding: 0.875rem 1.5rem;
      min-height: 48px;
      border-radius: 0.75rem;
  }
  .btn-sm {
      font-size: 1rem;
      padding: 0.75rem 1.25rem;
      min-height: 44px;
  }
  .btn-lg {
      font-size: 1.2rem;
      padding: 1.125rem 2rem;
      min-height: 52px;
  }
  .contact-info {
      padding: 1.25rem;
      margin-bottom: 2rem;
  }
  .contact-info .d-flex {
      padding: 0.875rem;
      margin-bottom: 1rem;
      flex-direction: column;
      text-align: center;
  }
  .contact-info .d-flex i {
      margin-bottom: 0.5rem;
      margin-right: 0 !important;
  }
  .social-links {
      text-align: center;
      margin: 1.5rem 0;
  }
  .social-links a {
      margin: 0 1rem;
      display: inline-block;
      padding: 0.5rem;
  }
  .scroll-top {
      width: 50px;
      height: 50px;
      bottom: 1rem;
      right: 1rem;
      font-size: 1.25rem;
  }
  .scandinavian-title {
      font-size: 1.75rem;
      text-align: center;
      margin-bottom: 1rem;
  }
  .scandinavian-content .btn {
      width: 100%;
      margin-bottom: 0.75rem;
      max-width: 280px;
  }
  .feature-item {
      font-size: 0.85rem;
      padding: 0.625rem;
  }
  .gallery-thumbnails {
      margin-top: 1rem;
  }
  .tour-duration, .tour-featured {
      font-size: 0.7rem;
      padding: 0.25rem 0.5rem;
  }
  .tour-package {
      margin-bottom: 1.5rem;
  }
  .tour-image {
      height: 160px;
  }
  h2, .h2 {
      font-size: 1.75rem;
      margin-bottom: 2rem;
      text-align: center;
  }
  h4, .h4 {
      font-size: 1.25rem;
      margin-bottom: 1rem;
  }
  .container {
      padding-left: 1rem;
      padding-right: 1rem;
  }
  section {
      padding: 2.5rem 0;
  }
  .py-5 {
      padding-top: 2.5rem !important;
      padding-bottom: 2.5rem !important;
  }
}
.service-detail-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 60, 114, 0.1);
}
.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(30, 60, 114, 0.2);
}
.service-icon {
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(255, 193, 7, 0.1));
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}
.service-detail-card:hover .service-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(30, 60, 114, 0.2), rgba(255, 193, 7, 0.2));
}
.conditions-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(30, 60, 114, 0.1);
}
.condition-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.condition-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.condition-card h5 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.condition-card ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.condition-card ul li:last-child {
  border-bottom: none;
}
.form-control.filled, .form-select.filled {
  background-color: rgba(40, 167, 69, 0.05);
  border-color: rgba(40, 167, 69, 0.3);
}
.form-control::placeholder {
  color: #6c757d;
  opacity: 0.8;
}
.form-control:focus::placeholder {
  opacity: 0.4;
}
.alert {
  border: none;
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
}
.alert-warning {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 140, 0, 0.1));
  color: #856404;
  border-left: 4px solid #ffc107;
}
.alert-danger {
  background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 0, 0, 0.1));
  color: #721c24;
  border-left: 4px solid #dc3545;
}
.alert-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(0, 255, 0, 0.1));
  color: #155724;
  border-left: 4px solid #28a745;
}
.alert-info {
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.1), rgba(0, 123, 255, 0.1));
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}
@media (max-width: 768px) {
  .service-detail-card {
      margin-bottom: 2rem;
  }
  .service-detail-card .row {
      text-align: center;
  }
  .service-icon {
      width: 60px;
      height: 60px;
      margin-bottom: 1rem;
  }
  .service-icon i {
      font-size: 1.5rem !important;
  }
  .conditions-section {
      padding: 1.5rem;
      margin-bottom: 2rem;
  }
  .condition-card {
      padding: 1rem;
      margin-bottom: 1.5rem;
  }
  .d-flex.gap-2 {
      flex-direction: column;
      gap: 0.5rem !important;
  }
  .d-flex.gap-2 .btn {
      width: 100%;
  }
}
@media (max-width: 576px) {
  .conditions-section {
      padding: 1rem;
  }
  .condition-card h5 {
      font-size: 1rem;
  }
  .alert {
      padding: 0.75rem;
  }
  .alert .row {
      text-align: center;
  }
  .alert ul {
      margin-bottom: 0;
  }
}
.modal {
  padding: 0 !important;
}
.modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  margin: auto;
  pointer-events: auto;
}
.modal-dialog-centered {
  min-height: calc(100vh - 1rem);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.modal-dialog {
  margin: 1rem auto !important;
  max-width: 90%;
  position: relative;
  width: auto;
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
.modal.show .modal-dialog {
  transform: none;
}
.modal .modal-dialog-centered .modal-content {
  width: 100%;
}
@media (max-width: 576px) {
  .modal-dialog-centered {
      min-height: calc(100vh - 0.5rem);
  }
  .modal-content {
      border-radius: 0.75rem;
  }
  .modal-header {
      padding: 1rem;
  }
  .modal-title {
      font-size: 1.1rem;
  }
}
.modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 3s ease-in-out infinite;
}
@keyframes modalHeaderShine {
  0% {
      left: -100%;
  }
  50% {
      left: 100%;
  }
  100% {
      left: 100%;
  }
}
.modal-title {
  font-weight: 600;
  font-size: 1.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.modal-body {
  padding: 2rem;
  position: relative;
}
.modal-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(30, 60, 114, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.modal-footer {
  border: none;
  padding: 1rem 2rem 2rem;
  background: linear-gradient(180deg, transparent, rgba(248, 249, 250, 0.5));
}
.modal-footer .btn {
  border-radius: 2rem;
  padding: 0.75rem 2rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.modal-footer .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.modal-footer .btn:hover::before {
  width: 300px;
  height: 300px;
}
.route-table {
  font-size: 0.9rem;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.route-table th {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-top: none;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}
.route-table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--warning-color));
}
.route-table td {
  vertical-align: middle;
  transition: all 0.3s ease;
  position: relative;
}
.route-table tbody tr:hover td {
  background: rgba(30, 60, 114, 0.05);
  transform: scale(1.01);
}
.route-table tbody tr:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.modal-dialog {
  margin: 1rem auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 2rem);
}
.modal-xl {
  max-width: min(95vw, 1140px) !important;
  width: min(95vw, 1140px) !important;
}
.modal-lg {
  max-width: min(90vw, 800px) !important;
  width: min(90vw, 800px) !important;
}
.modal-md {
  max-width: min(85vw, 500px) !important;
  width: min(85vw, 500px) !important;
}
.modal-sm {
  max-width: min(80vw, 300px) !important;
  width: min(80vw, 300px) !important;
}
.modal.fade .modal-dialog {
  transform: scale(0.8) rotate(2deg);
  transition: all 0.2s ease-out;
}
.modal.show .modal-dialog {
  transform: scale(1) rotate(0deg);
}

/* Modal loading states */
.modal-loading {
  position: relative;
}
.modal-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: modalSpinner 1s linear infinite;
  z-index: 1061;
}

@keyframes modalSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Button loading states */
.btn-loading {
  position: relative;
  pointer-events: none;
}
.btn-loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: btnSpinner 0.8s linear infinite;
}

@keyframes btnSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Faster modal transitions */
.modal.fade {
  transition: opacity 0.15s linear;
}
.modal.fade .modal-dialog {
  transition: transform 0.15s ease-out;
}

/* Pre-loading indicator for buttons */
.btn-preload {
  position: relative;
  overflow: hidden;
}
.btn-preload::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}
.btn-preload:hover::after {
  left: 100%;
});
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.modal.show .modal-dialog {
  transform: scale(1) rotate(0deg);
}
.bus-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.bus-feature-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.bus-feature-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}
.bus-feature-badge:hover::before {
  left: 100%;
}
.bus-feature-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
}
.status-indicator {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-available {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}
.status-busy {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: #212529;
}
.status-maintenance {
  background: linear-gradient(135deg, #dc3545, #e83e8c);
  color: white;
}
.spinner-border-custom {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.loading-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.loading-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 193, 7, 0.3);
  border-radius: 50%;
  border-top-color: #ffc107;
  animation: loadingSpin 1s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes loadingSpin {
  to {
      transform: rotate(360deg);
  }
}
section {
  position: relative;
  overflow: hidden;
}
section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 48%, rgba(255, 193, 7, 0.05) 50%, transparent 52%);
  animation: sectionGlow 8s linear infinite;
  pointer-events: none;
}
@keyframes sectionGlow {
  0% {
      transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}
.hover-zone {
  position: relative;
  overflow: hidden;
}
.hover-zone::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}
.hover-zone:hover::after {
  width: 300px;
  height: 300px;
}
.scandinavian-hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 140, 0, 0.9));
  color: #212529;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  animation: heroGlow 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
}
@keyframes heroGlow {
  0%, 100% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  }
  50% {
      transform: scale(1.05);
      box-shadow: 0 6px 25px rgba(255, 193, 7, 0.6);
  }
}
.text-gradient-hero {
  background: linear-gradient(45deg, #ffc107, #fff, #2a5298);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: heroGradientShift 4s ease-in-out infinite;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
@keyframes heroGradientShift {
  0%, 100% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
}
.scandinavian-features-mini {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-mini {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.feature-mini:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}
.scandinavian-hero-gallery {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.hero-tour-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, rgba(30, 60, 114, 0.95), rgba(42, 82, 152, 0.95));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: floating 3s ease-in-out infinite;
  font-size: 0.9rem;
}
.scandinavian-tours {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}
.scandinavian-tours::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="scandinavian-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0,0 L25,25 L50,0 L50,50 L25,25 L0,50 Z" fill="rgba(30,60,114,0.03)" opacity="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23scandinavian-pattern)"/></svg>');
  opacity: 0.6;
  animation: scandinavianPattern 20s linear infinite;
}
@keyframes scandinavianPattern {
  0% {
      transform: translateX(-100px);
  }
  100% {
      transform: translateX(100px);
  }
}
.section-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% {
      transform: scale(1);
      box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
  }
  50% {
      transform: scale(1.05);
      box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
  }
}
.scandinavian-title {
  font-weight: 700;
  line-height: 1.2;
}
.text-gradient {
  background: linear-gradient(45deg, #1e3c72, #2a5298, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}
@keyframes gradientShift {
  0%, 100% {
      background-position: 0% 50%;
  }
  50% {
      background-position: 100% 50%;
  }
}
.feature-item {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.scandinavian-gallery {
  position: relative;
}
.gallery-main {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}
.main-image {
  transition: all 0.5s ease;
  transform: scale(1);
}
.gallery-main:hover .main-image {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}
.tour-badge {
  background: linear-gradient(45deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: floating 3s ease-in-out infinite;
}
.thumbnail-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
.thumbnail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.thumbnail-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem 0.5rem 0.5rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.thumbnail-card:hover .thumbnail-overlay {
  transform: translateY(0);
}
.worker-transport-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.worker-transport-modal .modal-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  position: relative;
  overflow: hidden;
}
.worker-transport-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}
.feature-highlight {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.feature-highlight:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.feature-highlight i {
  font-size: 1.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.worker-transport-content .btn {
  transition: all 0.3s ease;
}
.worker-transport-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.3);
}
.worker-transport-gallery {
  position: relative;
}
.transport-badge {
  background: linear-gradient(45deg, rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9));
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: floating 3s ease-in-out infinite;
}
@media (max-width: 768px) {
  .feature-highlight {
      flex-direction: column;
      text-align: center;
      padding: 1.25rem;
  }
  .feature-highlight i {
      margin-bottom: 0.75rem;
      margin-top: 0;
  }
  .worker-transport-content .btn {
      width: 100%;
      margin-bottom: 0.75rem;
  }
  .worker-transport-modal .modal-body {
      padding: 1.5rem;
  }
}
.group-travel-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.group-travel-modal .modal-header {
  background: linear-gradient(135deg, #28a745, #20c997);
  position: relative;
  overflow: hidden;
}
.group-travel-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}
.excursion-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.excursion-modal .modal-header {
  background: linear-gradient(135deg, #fd7e14, #ffc107);
  position: relative;
  overflow: hidden;
}
.excursion-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}
.excursion-highlights {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid #ffc107;
}
.business-event-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.business-event-modal .modal-header {
  background: linear-gradient(135deg, #6f42c1, #e83e8c);
  position: relative;
  overflow: hidden;
}
.business-event-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}
.business-advantages {
  background: rgba(248, 249, 250, 0.8);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid #6f42c1;
}
.scandinavian-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.scandinavian-modal .modal-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  position: relative;
  overflow: hidden;
}
.scandinavian-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}
.tour-package {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.tour-package:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
.tour-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-package:hover .tour-image img {
  transform: scale(1.1);
}
.tour-duration {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(30, 60, 114, 0.9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.tour-featured {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(45deg, #ffc107, #ff8c00);
  color: #212529;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: featuredPulse 2s ease-in-out infinite;
}
@keyframes featuredPulse {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
}
.tour-highlights {
  background: rgba(248, 249, 250, 0.8);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--primary-color);
}
.tour-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .navbar-nav .nav-link {
      padding: 0.5rem 0.75rem !important;
      margin: 0.125rem 0.125rem;
      font-size: 0.85rem;
  }
  .navbar-nav .nav-link.btn-warning, .navbar-nav .nav-link.btn-success {
      padding: 0.5rem 1rem !important;
      font-size: 0.8rem;
  }
  .hero-bg .container {
      padding: 1.5rem;
  }
  .display-4 {
      font-size: 2.5rem;
  }
  .lead {
      font-size: 1.1rem;
  }
  .btn-lg {
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
  }
  .bus-card, .route-card, .service-card {
      height: 100%;
      min-height: 320px;
  }
  .modal-lg {
      max-width: 85%;
  }
  .contact-info .d-flex {
      padding: 1.25rem;
  }
}
@media (max-width: 768px) {
  .scandinavian-title {
      font-size: 2rem;
      line-height: 1.3;
      padding: 0 1rem;
  }
  .section-badge {
      font-size: 0.8rem;
      padding: 0.5rem 1.25rem;
      margin-bottom: 1rem;
  }
  .feature-item {
      padding: 0.75rem;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      border-radius: 0.5rem;
  }
  .scandinavian-features {
      margin-bottom: 2rem;
  }
  .scandinavian-content {
      text-align: center;
      padding: 0 1rem;
  }
  .scandinavian-content .btn {
      width: 100%;
      max-width: 300px;
      margin: 0.5rem auto;
  }
  .gallery-thumbnails {
      margin-top: 1.5rem;
  }
  .gallery-main {
      margin-bottom: 1rem;
  }
  .tour-package {
      margin-bottom: 2rem;
  }
  .modal-xl {
      max-width: 95%;
      margin: 1rem auto;
  }
  .tour-image {
      height: 180px;
      position: relative;
  }
  .scandinavian-modal .modal-body {
      padding: 1.5rem;
  }
  .scandinavian-hero-badge {
      font-size: 0.8rem;
      padding: 0.375rem 1rem;
      margin-bottom: 1rem;
  }
  .text-gradient-hero {
      font-size: 1.75rem;
      line-height: 1.4;
  }
  .scandinavian-features-mini {
      margin-bottom: 1.5rem;
      padding: 1rem;
  }
  .feature-mini {
      font-size: 0.85rem;
      padding: 0.5rem;
      margin-bottom: 0.25rem;
  }
}
@media (max-width: 576px) {
  .scandinavian-title {
      font-size: 1.75rem;
      text-align: center;
  }
  .scandinavian-content .btn {
      width: 100%;
      margin-bottom: 0.5rem;
  }
  .feature-item {
      font-size: 0.8rem;
  }
  .tour-duration, .tour-featured {
      font-size: 0.7rem;
      padding: 0.2rem 0.5rem;
  }
  .scandinavian-modal .modal-body {
      padding: 1.5rem;
  }
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.loading-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.loading-overlay .text-center {
  position: relative;
  z-index: 2;
}
.loading-spinner {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 193, 7, 0.3);
  border-radius: 50%;
  border-top-color: #ffc107;
  animation: loadingSpin 1s ease-in-out infinite;
  margin: 0 auto;
}
@keyframes loadingSpin {
  to {
      transform: rotate(360deg);
  }
}
.price-calculator-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.price-calculator-modal .modal-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  position: relative;
  overflow: hidden;
}
.price-calculator-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}
.calculator-form {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.calculator-result {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  display: flex;
  flex-direction: column;
}
.result-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(30, 60, 114, 0.1);
  transition: all 0.3s ease;
}
.result-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}
.price-breakdown {
  animation: slideInFromRight 0.5s ease-out;
}
@keyframes slideInFromRight {
  from {
      opacity: 0;
      transform: translateX(30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}
.price-details {
  font-size: 0.95rem;
}
.price-details .d-flex {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.price-details .d-flex:hover {
  background: rgba(30, 60, 114, 0.05);
  padding-left: 0.5rem;
  border-radius: 0.25rem;
}
.price-details .d-flex:last-child {
  border-bottom: none;
}
.input-group-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  font-weight: 500;
}
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
}
@media (max-width: 768px) {
  .price-calculator-modal .modal-xl {
      max-width: 95%;
      margin: 0.5rem auto;
  }
  .calculator-form, .calculator-result {
      padding: 1.5rem;
      margin-bottom: 1.5rem;
  }
  .result-card {
      padding: 1.5rem !important;
  }
  .price-details {
      font-size: 0.9rem;
  }
  .calculator-form h6, .calculator-result h6 {
      font-size: 1rem;
  }
  .modal-body {
      padding: 1.5rem;
  }
  .form-control, .form-select {
      padding: 0.875rem 1rem;
      font-size: 16px;
      border-radius: 0.5rem;
  }
  .input-group-text {
      padding: 0.875rem 1rem;
      font-size: 0.9rem;
  }
  .alert.position-fixed {
      top: 70px !important;
      left: 1rem !important;
      right: 1rem !important;
      max-width: calc(100% - 2rem) !important;
  }
}
@media (max-width: 576px) {
  .calculator-form, .calculator-result {
      padding: 1.25rem;
      border-radius: 0.75rem;
  }
  .result-card {
      padding: 1.25rem !important;
      border-radius: 0.75rem;
  }
  .price-details .d-flex {
      font-size: 0.85rem;
      flex-direction: column;
      align-items: flex-start !important;
  }
  .price-details .d-flex span:last-child {
      font-weight: 600;
      color: var(--primary-color);
      margin-top: 0.25rem;
  }
  .modal-title {
      font-size: 1rem;
      line-height: 1.3;
  }
  .form-control, .form-select {
      padding: 1rem;
      font-size: 16px;
      border-radius: 0.5rem;
      min-height: 50px;
  }
}
.bus-gallery-modal .modal-dialog {
  max-width: 90%;
  margin: 1rem auto;
}
.bus-gallery-modal .modal-content {
  background: #ffffff;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  max-height: 90vh;
  overflow: hidden;
}
.bus-gallery-modal .modal-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  border: none;
  border-radius: 1rem 1rem 0 0;
  position: relative;
  overflow: hidden;
}
.bus-gallery-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 3s ease-in-out infinite;
}
.bus-gallery-container {
  background: #ffffff;
  border-radius: 0 0 1rem 1rem;
  padding: 0;
}
.gallery-main-display {
  background: #f8f9fa;
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  margin: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.gallery-main-display img {
  transition: all 0.3s ease;
  width: 100%;
  height: 400px;
  object-fit: cover;
  background: #f8f9fa;
}
.gallery-main-display img.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}
@keyframes loading {
  0% {
      background-position: 200% 0;
  }
  100% {
      background-position: -200% 0;
  }
}
.gallery-main-display:hover img {
  transform: scale(1.02);
}
.gallery-controls {
  z-index: 10;
}
.gallery-controls .btn {
  background: rgba(30, 60, 114, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  font-size: 1.1rem;
  font-weight: 600;
}
.gallery-controls .btn:hover {
  background: var(--primary-color);
  transform: scale(1.1);
  color: white;
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
  border-color: #ffc107;
}
.gallery-info {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
  border-radius: 0 0 0.75rem 0.75rem;
  padding: 2rem 1.5rem 1.5rem;
}
.gallery-info h6 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.gallery-info p {
  margin-bottom: 0;
  opacity: 0.95;
  font-size: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.gallery-thumbnails {
  background: #f8f9fa;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 0 1.5rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.gallery-thumbnails .col-2 {
  cursor: pointer;
  padding: 0.375rem;
}
.gallery-thumbnail {
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 3px solid transparent;
  position: relative;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.gallery-thumbnail:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.25);
}
.gallery-thumbnail.active {
  border-color: #ffc107;
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.4);
  transform: translateY(-3px) scale(1.05);
}
.gallery-thumbnail img {
  width: 100%;
  height: 60px;
  object-fit: cover;
  transition: all 0.3s ease;
  background: #f8f9fa;
}
.gallery-thumbnail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  border-radius: 0.25rem;
}
.gallery-thumbnail:hover::after {
  background: rgba(30, 60, 114, 0.15);
}
.gallery-thumbnail.active::after {
  background: rgba(255, 193, 7, 0.2);
}
@media (max-width: 768px) {
  .bus-gallery-modal .modal-dialog {
      max-width: 95%;
      margin: 0.5rem auto;
  }
  .gallery-main-display {
      margin: 0.5rem;
  }
  .gallery-main-display img {
      height: 280px;
  }
  .gallery-controls .btn {
      width: 40px;
      height: 40px;
      font-size: 0.9rem;
  }
  .gallery-thumbnails {
      margin: 0 0.5rem 0.5rem;
      padding: 1rem;
  }
  .gallery-thumbnail img {
      height: 50px;
  }
  .gallery-info {
      padding: 1.5rem 1rem 1rem;
  }
  .gallery-info h6 {
      font-size: 1.1rem;
  }
  .gallery-info p {
      font-size: 0.9rem;
  }
}
@media (max-width: 576px) {
  .gallery-main-display img {
      height: 200px;
  }
  .gallery-controls .btn {
      width: 30px;
      height: 30px;
      font-size: 0.7rem;
  }
  .gallery-thumbnail img {
      height: 35px;
  }
  .gallery-thumbnails .col-2 {
      flex: 0 0 auto;
      width: 25%;
  }
}
.feedback-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}
.feedback-modal .modal-header {
  background: linear-gradient(135deg, #28a745, #20c997);
  position: relative;
  overflow: hidden;
}
.rating-stars {
  display: flex;
  gap: 0.25rem;
  font-size: 1.5rem;
}
.rating-stars .star {
  cursor: pointer;
  transition: all 0.3s ease;
  filter: grayscale(100%);
}
.rating-stars .star:hover, .rating-stars .star.active {
  filter: grayscale(0%);
  transform: scale(1.2);
}
.rating-stars .star:hover~.star {
  filter: grayscale(100%);
  transform: scale(1);
}
.floating-feedback-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.floating-feedback-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  color: white;
}
.floating-feedback-btn:focus {
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.4);
  color: white;
  outline: none;
}
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lazy-image.loaded {
  opacity: 1;
}
.lazy-image.loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}
@keyframes loading {
  0% {
      background-position: 200% 0;
  }
  100% {
      background-position: -200% 0;
  }
}
.pwa-install-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.pwa-install-banner.show {
  transform: translateY(0);
}
.pwa-install-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.pwa-install-text {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: white;
}
.pwa-install-text strong {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.pwa-install-text .small {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.pwa-install-icon {
  width: 40px;
  height: 40px;
  background: url('/assets/img/logo.png') center/cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.pwa-install-buttons {
  display: flex;
  gap: 0.5rem;
}
.pwa-install-buttons .btn {
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.pwa-install-buttons .btn-light {
  background: white !important;
  color: #1e3c72 !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.pwa-install-buttons .btn-light:hover {
  background: #f8f9fa !important;
  color: #1e3c72 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.pwa-install-buttons .btn-outline-light {
  color: white !important;
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: transparent !important;
}
.pwa-install-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.offline-indicator {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, #dc3545, #c82333);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
  display: none;
  animation: slideDown 0.3s ease;
}
.offline-indicator.show {
  display: block;
}
@keyframes slideDown {
  from {
      transform: translateX(-50%) translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
  }
}
@media (min-width: 992px) {
  .floating-feedback-btn {
      width: 65px;
      height: 65px;
      min-width: 65px;
      min-height: 65px;
      font-size: 1.3rem;
      bottom: 2.5rem;
      right: 2.5rem;
  }
}
@media (max-width: 768px) {
  .floating-feedback-btn {
      bottom: 1.5rem;
      right: 1rem;
      width: 50px;
      height: 50px;
      min-width: 50px;
      min-height: 50px;
      font-size: 1rem;
      box-shadow: 0 3px 12px rgba(40, 167, 69, 0.3);
  }
}
.gallery-controls .btn {
  padding: 0.375rem;
  font-size: 0.875rem;
}
.gallery-thumbnails .col-2 {
  flex: 0 0 auto;
  width: 20%;
}
.gallery-thumbnail img {
  height: 40px;
}
.pwa-install-banner {
  padding: 0.75rem;
}
.pwa-install-content {
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}
.rating-stars {
  justify-content: center;
}
}
@media (max-width: 576px) {
  .floating-feedback-btn {
      bottom: 1.25rem;
      right: 0.75rem;
      width: 45px;
      height: 45px;
      min-width: 45px;
      min-height: 45px;
      font-size: 0.9rem;
  }
  .gallery-main-display img {
      height: 250px !important;
  }
  .gallery-thumbnail img {
      height: 35px;
  }
  .pwa-install-text {
      flex-direction: column;
      gap: 0.5rem;
  }
  .pwa-install-buttons {
      width: 100%;
      justify-content: center;
  }
  .input-group {
      margin-bottom: 1rem;
  }
  .input-group-text {
      padding: 1rem;
      min-width: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  .form-label {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      color: var(--primary-color);
  }
  .modal-footer {
      flex-direction: column;
      gap: 0.75rem;
      padding: 1rem 1.25rem 1.5rem;
  }
  .modal-footer .btn {
      width: 100%;
      padding: 0.875rem 1.5rem;
      font-size: 1rem;
      border-radius: 2rem;
  }
  .modal-footer .btn-secondary {
      order: 2;
  }
  .modal-footer .btn-success {
      order: 1;
  }
}
.calculator-form .form-control, .calculator-form .form-select {
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  border: 2px solid rgba(30, 60, 114, 0.1);
}
.calculator-form .form-control:focus, .calculator-form .form-select:focus {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(30, 60, 114, 0.2);
}
.calculator-form .input-group {
  transition: all 0.3s ease;
}
.calculator-form .input-group:hover {
  transform: translateY(-1px);
}
.calculating {
  position: relative;
  overflow: hidden;
}
.calculating::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(30, 60, 114, 0.1), transparent);
  animation: calculatorShimmer 1.5s infinite;
}
@keyframes calculatorShimmer {
  0% {
      left: -100%;
  }
  100% {
      left: 100%;
  }
}

/* Route Details Modal Styles */
.route-details-modal .modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.98));
  backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.route-details-modal .modal-header {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  position: relative;
  overflow: hidden;
}

.route-details-modal .modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: modalHeaderShine 4s ease-in-out infinite;
}

.route-schedule {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.route-stops {
  position: relative;
}

.stop-indicator i {
  font-size: 0.75rem;
}

.stop-line {
  width: 2px;
  height: 20px;
  background: linear-gradient(180deg, transparent, #6c757d, transparent);
  margin-left: 6px;
}
.text-primary {
  color: var(--bs-primary) !important;
}
.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}
.floating-feedback-btn i {
  font-size: 1.25rem;
}
footer {
  position: relative;
}
footer .carousel-control-prev, footer .carousel-control-next, footer .carousel-indicators {
  display: none !important;
}



/* Modern Contact Section Styles */
.contact-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 193, 7, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 193, 7, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-icon-wrapper {
    position: relative;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(255, 193, 7, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.contact-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.contact-card:hover .contact-icon::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.contact-icon i {
    font-size: 2rem;
    color: #212529;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 15px 40px rgba(255, 193, 7, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.contact-link {
    color: #ffc107;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffc107, #fff);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.contact-link:hover {
    color: #fff;
    transform: translateY(-2px);
}

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

.info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    height: 100%;
    transition: all 0.3s ease;
}

.info-section:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.quick-link:hover {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateX(8px);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #4267B2, #365899);
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(66, 103, 178, 0.3);
}

.social-btn:hover {
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(66, 103, 178, 0.4);
}

.social-btn i {
    font-size: 1.25rem;
}

.newsletter-form {
    position: relative;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
    color: white;
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border: none;
    border-radius: 12px;
    color: #212529;
    font-weight: 600;
    padding: 0.875rem 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ffc107);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #212529;
}

.backdrop-blur {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-card {
        padding: 2rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-icon i {
        font-size: 1.5rem;
    }

    .info-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .quick-link {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 1.5rem 1rem;
    }

    .info-section {
        padding: 1.25rem;
    }

    .display-5 {
        font-size: 2rem;
    }
}





















* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 1;
    padding: 4rem 0 3rem;
}

.footer-main .row {
    row-gap: 3rem;
}

.footer-section {
    height: 100%;
    padding: 0 1rem;
}

.footer-section > * + * {
    margin-top: 1.5rem;
}

/* Footer Logo */
.footer-logo h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ff6b35);
    border-radius: 2px;
    margin-bottom: 1rem;
}

.footer-text {
    color: #e8e8e8;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Company Stats */
.company-stats {
    display: flex;
    gap: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: #b8b8b8;
    margin-top: 0.25rem;
}

/* Footer Titles */
.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ffc107;
    border-radius: 1px;
}

/* Contact List */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ffc107;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-item i {
    color: #ffc107;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item div {
    flex: 1;
}

.contact-item strong {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
    color: #e8e8e8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffc107;
}

/* Quick Links */
.links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.footer-link {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: block;
}

.footer-link:hover {
    color: #ffc107;
    border-bottom-color: #ffc107;
    transform: translateX(3px);
}

/* Newsletter */
.newsletter-section {
    margin-top: 1rem;
}

.newsletter-text {
    color: #e8e8e8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.input-wrapper input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.9rem;
}

.input-wrapper input::placeholder {
    color: #b8b8b8;
}

.input-wrapper input:focus {
    outline: none;
}

.newsletter-btn {
    padding: 0.875rem 1.25rem;
    background: #ffc107;
    border: none;
    color: #1a1a2e;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #ffca2c;
    transform: scale(1.05);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link.facebook {
    background: rgba(66, 103, 178, 0.2);
    color: #4267B2;
}

.social-link.facebook::before {
    background: #4267B2;
}

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

.social-link.instagram {
    background: rgba(225, 48, 108, 0.2);
    color: #E1306C;
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #E1306C, #FD1D1D);
}

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

.social-link.linkedin {
    background: rgba(0, 119, 181, 0.2);
    color: #0077B5;
}

.social-link.linkedin::before {
    background: #0077B5;
}

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

.social-link.youtube {
    background: rgba(255, 0, 0, 0.2);
    color: #FF0000;
}

.social-link.youtube::before {
    background: #FF0000;
}

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

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}

.copyright p {
    margin: 0 0 0.5rem 0;
    color: #e8e8e8;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffc107;
}

/* Language Selector */
.language-selector {
    text-align: right;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffc107;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    color: #333;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #ffc107;
    color: #1a1a2e;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-main {
        padding: 3rem 0 2rem;
    }

    .footer-main .row {
        row-gap: 2.5rem;
    }

    .footer-section {
        padding: 0 0.5rem;
        text-align: center;
    }

    .company-stats {
        justify-content: center;
        margin-top: 1rem;
    }

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

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-item i {
        margin-top: 0;
    }

    .newsletter-section {
        margin-top: 2rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }

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

    .language-selector {
        text-align: center;
        margin-top: 1rem;
    }

    .legal-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .lang-btn {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 2rem 0 1rem;
    }

    .footer-title {
        font-size: 1.1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .company-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }
}





















/* Rating stars styling */
.rating-stars {
    gap: 0.25rem !important;
}

.rating-star {
    transition: color 0.2s ease, transform 0.1s ease !important;
    user-select: none !important;
}

.rating-star:hover {
    transform: scale(1.1) !important;
}

.rating-star.active {
    color: #ffc107 !important;
}

@media (max-width: 768px) {
    .rating-stars {
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .rating-star {
        font-size: 2rem !important;
        touch-action: manipulation !important;
    }
}

/* Ticket Booking Modal Styles */
.ticket-booking-modal .modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 249, 250, 0.95));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
}

.ticket-booking-modal .modal-header {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.ticket-booking-modal .modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: modalHeaderShine 4s ease-in-out infinite;
}

.ticket-booking-modal .modal-body {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), transparent);
}

/* Trip Type Selection */
.trip-type-selection .btn-check:checked + .btn {
    background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
    border-color: #1e3c72 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.trip-type-selection .btn-outline-primary {
    border: 2px solid rgba(30, 60, 114, 0.3);
    color: #1e3c72;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.trip-type-selection .btn-outline-primary:hover {
    background: rgba(30, 60, 114, 0.1);
    border-color: #1e3c72;
    transform: translateY(-2px);
}

/* Route Selection */
.route-selection .form-label {
    color: #1e3c72;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.autocomplete-input {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(30, 60, 114, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.autocomplete-input:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
    background: white;
    transform: translateY(-2px);
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(30, 60, 114, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.autocomplete-dropdown.show {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.autocomplete-item:hover,
.autocomplete-item.active {
    background: linear-gradient(45deg, rgba(30, 60, 114, 0.1), rgba(255, 193, 7, 0.1));
    color: #1e3c72;
}

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

.swap-btn {
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    border: 2px solid rgba(30, 60, 114, 0.3) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1e3c72 !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.swap-btn:hover {
    background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
    color: white !important;
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

/* Date Selection */
.date-selection .form-control {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(30, 60, 114, 0.2);
    border-radius: 12px;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.date-selection .form-control:focus {
    border-color: #1e3c72;
    box-shadow: 0 0 0 0.2rem rgba(30, 60, 114, 0.25);
    transform: translateY(-2px);
}

/* Passengers Selection */
.passengers-selection h6 {
    color: #1e3c72;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.passenger-card {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(30, 60, 114, 0.1);
    border-radius: 15px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
}

.passenger-card:hover {
    border-color: rgba(30, 60, 114, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.passenger-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.3;
}

.passenger-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.passenger-controls .btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid rgba(30, 60, 114, 0.3);
    background: rgba(255, 255, 255, 0.9);
    color: #1e3c72;
    transition: all 0.3s ease;
}

.passenger-controls .btn:hover {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.passenger-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3c72;
    min-width: 30px;
}

/* Super Offers */
.super-offers h6 {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.offer-card {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.95), rgba(255, 140, 0, 0.9));
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 140, 0, 0.3);
    color: #212529;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.3) 50%, transparent 60%);
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.offer-card:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.offer-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
    border-color: #ff8c00;
}

.offer-route {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.offer-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d5016;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.offer-card .btn {
    background: linear-gradient(45deg, #28a745, #20c997) !important;
    border: none;
    color: white !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.offer-card .btn:hover {
    background: linear-gradient(45deg, #20c997, #28a745) !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* Search Button */
.ticket-booking-modal .btn-primary {
    background: linear-gradient(45deg, #1e3c72, #2a5298) !important;
    border: none;
    border-radius: 25px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ticket-booking-modal .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.ticket-booking-modal .btn-primary:hover::before {
    left: 100%;
}

.ticket-booking-modal .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(30, 60, 114, 0.4);
    background: linear-gradient(45deg, #2a5298, #1e3c72) !important;
}

/* Error Alert */
.ticket-booking-modal .alert {
    border: none;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(255, 0, 0, 0.05));
    color: #721c24;
    border-left: 4px solid #dc3545;
    backdrop-filter: blur(10px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ticket-booking-modal .modal-body {
        padding: 1.5rem;
    }

    .passenger-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .offer-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .swap-btn {
        width: 40px;
        height: 40px;
        margin: 0.5rem 0;
    }

    .autocomplete-input,
    .date-selection .form-control {
        padding: 1rem;
        font-size: 16px;
    }

    .passenger-controls .btn {
        width: 30px;
        height: 30px;
    }

    .passenger-count {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .trip-type-selection .col-6 {
        margin-bottom: 0.5rem;
    }

    .route-selection .col-md-5,
    .route-selection .col-md-2 {
        margin-bottom: 1rem;
    }

    .offer-card {
        padding: 1rem;
    }

    .offer-route {
        font-size: 0.85rem;
    }

    .offer-price {
        font-size: 1.25rem;
    }
}

/* Prevent horizontal scrolling on blog page */
.blog-page {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

.blog-page .container,
.blog-page .container-fluid {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Reset any conflicting navbar animations on blog page */
.blog-page .navbar-brand {
    transform: none !important;
    filter: none !important;
    transition: none !important;
}

.blog-page .navbar-brand:hover {
    transform: none !important;
    filter: none !important;
}

/* Fix language dropdown positioning and behavior */
.blog-page .language-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    min-width: 140px !important;
    max-width: 200px !important;
    width: auto !important;
    height: auto !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    backdrop-filter: blur(10px) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    padding: 4px !important;
    margin-top: 4px !important;
    z-index: 1050 !important;
    transform: none !important;
}

.blog-page .language-dropdown .dropdown-item {
    padding: 6px 12px !important;
    display: flex !important;
    align-items: center !important;
    transition: background-color 0.2s ease !important;
    border-radius: 4px !important;
    margin: 1px 2px !important;
    color: #333 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    font-size: 0.9rem !important;
}

.blog-page .language-dropdown .dropdown-item:hover {
    background: #ffc107 !important;
    color: #212529 !important;
    transform: none !important;
}

.blog-page .language-dropdown .dropdown-item img {
    margin-right: 6px !important;
    transition: none !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 15px !important;
}

.blog-page .language-dropdown .dropdown-item:hover img {
    transform: none !important;
}

/* Fix for navbar on blog page */
.blog-page .navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1030 !important;
    width: 100% !important;
    max-width: 100vw !important;
}

.blog-page .navbar-brand {
    transition: color 0.2s ease !important;
}

.blog-page .navbar-brand:hover {
    color: #ffc107 !important;
    transform: none !important;
    filter: none !important;
}

.blog-page .navbar .dropdown {
    position: relative !important;
}

.blog-page .navbar .dropdown-toggle::after {
    display: none !important;
}

/* Modern Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    padding: 100px 0 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,193,7,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: heroFloat 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(0.5deg); }
    66% { transform: translateY(8px) rotate(-0.3deg); }
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    color: white;
    animation: titleGlow 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes titleGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.1); }
}

.blog-hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.blog-hero-badge {
    display: inline-block;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 140, 0, 0.9));
    color: #212529;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Enhanced Blog Container */
.blog-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
}

.blog-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(255, 193, 7, 0.02) 50%, transparent 52%);
    pointer-events: none;
    animation: containerShine 15s linear infinite;
}

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

/* Modern Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

/* Enhanced Blog Cards */
.blog-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(255, 193, 7, 0.1);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), transparent 50%, rgba(255, 219, 77, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    border-radius: 28px;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(0,0,0,0.15),
        0 8px 32px rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
}

/* Premium Blog Image */
.blog-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.7), rgba(42, 82, 152, 0.7), rgba(255, 193, 7, 0.6));
    opacity: 0;
    transition: all 0.4s ease;
}

.blog-card:hover .blog-image::before {
    opacity: 1;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image::after {
    width: 200px;
    height: 200px;
}

/* Elegant Date Badge */
.blog-date {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.98));
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    box-shadow: 
        0 8px 20px rgba(0,0,0,0.15),
        0 2px 8px rgba(0,0,0,0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 10;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-date {
    transform: scale(1.05);
    background: linear-gradient(45deg, #ffc107, #ffdb4d);
    color: #212529;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

/* Enhanced Content Area */
.blog-content {
    padding: 40px 35px;
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 18px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #1e3c72;
}

.blog-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 193, 7, 0.1);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.blog-images-count {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 193, 7, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    color: #1e3c72;
}

/* Premium Read More Button */
.blog-read-more {
    background: linear-gradient(45deg, #ffc107, #ffdb4d) !important;
    color: #212529;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    letter-spacing: 0.5px;
    border: none;
}

.blog-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.blog-read-more:hover::before {
    left: 100%;
}

.blog-read-more:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #212529;
    text-decoration: none;
    background: linear-gradient(45deg, #ffdb4d, #ffc107) !important;
}

/* Enhanced No Posts State */
.no-posts {
    text-align: center;
    padding: 120px 20px;
    color: #64748b;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 219, 77, 0.05));
    border-radius: 30px;
    border: 2px dashed rgba(255, 193, 7, 0.2);
}

.no-posts i {
    font-size: 5rem;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffc107, #1e3c72);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
}

.no-posts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 15px;
}

/* Premium Single Post Styles */
.single-post {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.post-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.post-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e3c72, #334155, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-date {
    color: #212529;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(45deg, rgba(255, 193, 7, 0.9), rgba(255, 219, 77, 0.9));
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.post-content {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    padding: 60px 50px;
    border-radius: 32px;
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.08),
        0 8px 32px rgba(0,0,0,0.04);
    line-height: 1.8;
    font-size: 1.15rem;
    border: 1px solid rgba(255, 193, 7, 0.1);
    position: relative;
    overflow: hidden;
}

.post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #ffc107, #2a5298);
    border-radius: 32px 32px 0 0;
}

.post-content h2 {
    color: #1e293b;
    margin: 50px 0 25px;
    font-size: 2.2rem;
    font-weight: 800;
    position: relative;
    padding-left: 25px;
}

.post-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 60%;
    background: linear-gradient(135deg, #ffc107, #1e3c72);
    border-radius: 3px;
    transform: translateY(-50%);
}

.post-content h3 {
    color: #334155;
    margin: 40px 0 20px;
    font-size: 1.7rem;
    font-weight: 700;
}

.post-content p {
    margin-bottom: 20px;
    color: #475569;
}

.post-content ul, .post-content ol {
    margin: 25px 0;
    padding-left: 35px;
}

.post-content li {
    margin-bottom: 12px;
    color: #475569;
}

/* Premium Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #1e3c72;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 40px;
    transition: all 0.4s ease;
    background: rgba(255, 193, 7, 0.1);
    padding: 15px 25px;
    border-radius: 25px;
    border: 2px solid rgba(255, 193, 7, 0.2);
}

.back-link:hover {
    color: #212529;
    background: linear-gradient(45deg, #ffc107, #ffdb4d);
    transform: translateX(-8px);
    text-decoration: none;
    border-color: #ffc107;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.back-link i {
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-3px);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero h1 {
        font-size: 2.8rem;
    }

    .blog-hero p {
        font-size: 1.2rem;
    }

    .blog-container {
        padding: 60px 15px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-top: 40px;
    }

    .blog-card {
        border-radius: 24px;
    }

    .blog-content {
        padding: 30px 25px;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .post-content {
        padding: 40px 30px;
        border-radius: 24px;
    }

    .back-link {
        padding: 12px 20px;
    }
}

@media (max-width: 576px) {
    .blog-hero h1 {
        font-size: 2.2rem;
    }

    .blog-image {
        height: 220px;
    }

    .blog-content {
        padding: 25px 20px;
    }

    .post-content {
        padding: 30px 20px;
    }

    .post-content h2 {
        font-size: 1.8rem;
        padding-left: 20px;
    }
}

/* Animation for cards on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeInUp 0.6s ease forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

/* Blog Cover Image */
.blog-cover-image {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    margin-bottom: 40px;
}

.blog-cover-image img {
    transition: all 0.4s ease;
    border-radius: 20px;
}

.blog-cover-image:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.cover-image-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.blog-cover-image:hover .cover-image-overlay {
    opacity: 1;
}

/* Blog Post Images */
.blog-post-image {
    margin: 40px 0;
    text-align: center;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    padding: 20px;
}

.blog-post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.blog-clickable-image {
    position: relative;
}

.blog-clickable-image::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 193, 7, 0.9);
    color: #1e3c72;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.blog-clickable-image:hover::after {
    opacity: 1;
    transform: scale(1);
}

.blog-post-image:hover img {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.blog-post-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.03), transparent 50%, rgba(59, 130, 246, 0.03));
    border-radius: 20px;
    pointer-events: none;
}

/* Image captions */
.blog-image-caption {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    padding: 0 20px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    display: inline-block;
    transition: all 0.3s ease;
}

.blog-image-caption:hover {
    background: rgba(255, 193, 7, 0.2);
    color: #1e3c72;
}

/* Blog Image Modal */
.blog-thumbnail {
    transition: all 0.3s ease;
}

.blog-thumbnail:hover {
    transform: scale(1.1);
    opacity: 1 !important;
    border-color: #ffc107 !important;
}

#blogImageModal .modal-content {
    backdrop-filter: blur(20px);
}

#blogImageModal .btn {
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

#blogImageModal .btn:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #1e3c72 !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.05);
}

/* Responsive images */
@media (max-width: 768px) {
    .blog-post-image {
        margin: 30px 0;
        padding: 15px;
        border-radius: 16px;
    }

    .blog-post-image img {
        border-radius: 12px;
    }
    
    .blog-clickable-image::after {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        top: 10px;
        right: 10px;
    }
    
    #blogImageModal .btn {
        width: 40px;
        height: 40px;
    }
    
    .blog-thumbnail {
        width: 50px !important;
        height: 38px !important;
    }
}


@media ((min-width: 1200px) AND (max-width: 1400px)) {
    #bussipark_nav{
        visibility:hidden;
        display:none;
    }
}