:root {
    --primary: #002436;
    --secondary: #FF6922;
    --light: #EFFDF5;
    --dark: #0E2E50;
}
 @media (max-width: 500px) {
  .vis{
    margin-left:80px !important; 
  }
 }

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}




/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
    background-color: #167fa6;
    border-color: #167fa6;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Navbar ***/
.nav-bar {
    position: relative;
    /* margin-top: 45px; */
    padding: 0 0rem;
    transition: .5s;
    z-index: 9999;
}

.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}

.navbar {
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 5px;
    transition: .5s;
}

.navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color:#0E2E50;
}

@media (max-width: 991.98px) {
    .nav-bar {
        margin: 0;
        padding: 0;
    }

    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand {
    height: 60px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        top: 100%;
        margin-top: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (min-width: 992px) {
    .header {
        margin-top: 0px;
    } 

}

.breadcrumb-item + .breadcrumb-item::before {
    color: #DDDDDD;
} 


/*** Footer ***/ 
.footer {
    background-color: #002436;  

}
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--light);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .form-control {
    border-color: rgba(255,255,255,0.5);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}  
/* *********************** */
th, td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
  }
  th {
    background-color: #f2f2f2;
  }
  .features ul{
    padding:0px !important;
  }

  .features li:before {
  content: '\f015';
  position: absolute;
  font-family: 'Font Awesome 5 Pro';
  font-size: 17px;
  color: #0e2e50 ;
  top: 0px;
  left: 0px;
  }
main h2{
    font-size: 18px; 
    color: #1d1d1dad;
} 
main p{
    color: #1d1d1dad; 
    font-size: 15px;
}
@media screen and (min-width: 600px) {
    .hide-d{
     display: none;
    }
       
} 
@media screen and (max-width: 600px) {
    .hide-phone{
     display: none;
    }
    .nav-mob{
       width: 100%;
    justify-content: center;
    }
 
} 
.header-p{
    font-size: 16px !important;
    text-align: center !important;
    background-color: #0e2e50 !important;
    color: #fff !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-weight: 600;
} 
.header-p h1{
    font-size: 20px !important;
    margin-bottom: 0px !important;
    color: #fff !important;
} 
.about h2{
    font-size : 18px !important;
} 

 /* STICKY CALL FOOTER */
    .sticky-call {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background: var(--primary);
      color: #fff;
      text-align: center;
      padding: 0.6em 0.5em;
      z-index: 200;
      font-size: 16px;
      box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    } 
    @media (max-width: 600px) {
      .sticky-call {
        display: block;
      }
    }

    .sticky-call span {
      display: block;
      font-size: 14px;
      opacity: 0.9;
      letter-spacing: 0.5px;
    }

    .sticky-call a {
      color: #fff;
      text-decoration: none;
      font-size: 20px;
      font-weight: 700;
      display: inline-flex;
      align-items: center;
      gap: 0.4em;
      margin-top: 0.2em;
    }

    .sticky-call a:hover {
      text-decoration: underline;
    }

    .sticky-call svg {
      width: 20px;
      height: 20px;
      fill: #fff;
    } 
.top-back{
    background-color: #00344d; 
    color: #fff !important;
} 
.top-back h1, .top-back p{
    color: #fff !important;
} 

/* === WHY BOOK WITH US (Scoped Styles) === */
.why-book-Railsfares {
  background: linear-gradient(135deg, #f7f9fc 0%, #eef3ff 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", Arial, sans-serif;
}

.why-book-Railsfares::before,
.why-book-Railsfares::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.why-book-Railsfares::before {
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: rgba(11, 61, 145, 0.08);
}

.why-book-Railsfares::after {
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(11, 61, 145, 0.05);
}

/* Inner Container */
.why-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header */
.why-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInDown 1s ease;
}

.why-header h1 {
  font-size: 2.5rem;
  color: #0b3d91;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.why-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #0b3d91, #1e63db);
  border-radius: 3px;
}

/* Content Cards */
.why-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  animation: fadeInUp 1.2s ease;
}

.why-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  padding: 30px 25px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(11, 61, 145, 0.15);
}

/* Icon styling */
.why-icon {
  background: linear-gradient(135deg, #0b3d91, #1e63db);
  color: #fff;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(11, 61, 145, 0.25);
}

.why-card p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.8;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .why-header h1 {
    font-size: 2rem;
  }

  .why-card {
    padding: 25px 20px;
  }

  .why-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
} 


/* 🌟 Travel Offers Slider */

.travel-offers {
  width: 100%;
  background: #f9f9f9;
  padding: 60px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.offer-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
  transition: filter 0.3s ease;
}

.offer-card:hover img {
  filter: brightness(90%);
}

.offer-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  color: #fff;
}

.offer-text h3 {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.4; 
  color: #fff;
}

/* Swiper customization */
.swiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #0078d7;
  transition: 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #004d99;
}

.swiper-pagination-bullet {
  background: #0078d7;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #004d99;
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .offer-text h3 {
    font-size: 1rem;
  }
}
/* --- Section Wrapper --- */
.amtrak-section {
  background-color: #f5f8f8;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* --- Main Container --- */
.amtrak-container {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1200px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Image --- */
.amtrak-image {
  flex: 1 1 50%;
}

.amtrak-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Content --- */
.amtrak-content {
  flex: 1 1 50%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.amtrak-content h2 {
  font-size: 2rem;
  color: #002b49;
  margin-bottom: 20px;
  line-height: 1.3;
}

.amtrak-content p {
  color: #001f2b;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* --- Button --- */
.amtrak-btn {
  font-size: 1.1rem;
  font-weight: 500;
  color: #007fa3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.amtrak-btn .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.amtrak-btn:hover {
  color: #004f63;
}

.amtrak-btn:hover .arrow {
  transform: translateX(5px);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .amtrak-container {
    flex-direction: column;
  }
  .amtrak-content {
    padding: 40px 30px;
  }
  .amtrak-content h2 {
    font-size: 20px;
  }
}
/* End of recent edits */ 
@media (max-width:460px) {
  /*.travel-offers{*/
  /*  padding-bottom: 10px;*/
  /*  padding-top: 20px;*/
  /*} */
  .amtrak-section{
    padding: 30px 10px;
  }
  .swiper-button-prev{
    display: none !important;
  }
}