/********** Template CSS **********/
:root {
    --primary: #FF3E41;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    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: var(--primary);
}

@media (max-width: 991.98px) {
    .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,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: #FFFFFF;
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-5.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.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 #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    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 .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}



/* Custom added css by me */


.alternating-content {
    gap: 5rem; /* Add space between each content pair */
    
}

.content{
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    direction: rtl;
    margin-bottom: 1rem;
}

.content .text {
    direction: ltr;
    /* margin-right: 4rem; */
}

.text {
    text-align: left;
    padding: 5rem 0 5rem 5rem; /* Add spacing within the text box */
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 1;
}

.text h2{
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.reverse {
    grid-template-columns: 1fr 1fr; /* Same layout */
    direction: ltr; /* Reverse column order */
    margin-bottom: 1rem;
   
}

/* .reverse .text {
    margin-left: 4rem;
} */

.flip {
    transform: rotate(-270deg)
}

.image {
    width: 80%;
    margin: 0 auto;
}


/* FAQ section */

.faq-h1 {
    line-height: 1.2;
    margin: 1rem;
    font-size: 2rem;
    text-align: center;
}

.faq-p {
    margin: 1rem;
    text-align: center;
}

.accordion {
    max-width: 90%;
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }

  .accordion-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem;
  }

  .accordion-item:last-child {
    border-bottom: none;
  }

  .accordion-header {
    background-color: #eeeded;
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .accordion-header:hover {
    background-color: #f0f0f0;
  }

  .accordion-header h3 {
    margin: 0;
    font-size: 16px;
  }

  .accordion-icon {
    font-size: 25px;
    transition: transform 0.3s ease;
  }

  .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    background-color: #eeeded;
  }

  .accordion-content p {
    margin: 15px 0;
  }

  .accordion-item.active .accordion-content {
    max-height: 200px;
  }

  .accordion-item.active .accordion-icon {
    transform: rotate(45deg);
  }



/* For mobile */
@media (max-width: 768px) {
    .alternating-content {
        display: grid;
        gap: 2rem; /* Add space between each content pair */
        margin: 3rem 2rem;
    }
      
    .content {
        display: grid;
        grid-template-columns: 1fr; /* Two equal columns */
        align-items: center;
        gap: 1rem;
    }
    
    .reverse {
        grid-template-columns: 1fr; /* Same layout */
        direction: ltr; /* Reverse column order */
    }

    .reverse .text{
        margin-left: 0;
    }
    
    .text {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center text vertically */
        order: -1; 
        padding: 0;
    }
    
    .text h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .content .text, .reverse .text {
        margin-right: 0;
    }

    .image {
        width: 80%;
        padding-top: 3rem;
        border-radius: 10px;
        order: 2;
        display: inline;
        margin: 0 auto;
    }
    
    #image-div {
        display: flex;
        background-color:#eeeded;
        border-radius: 10px;
    }

    /* FAQ Section */

    .accordion {
        max-width: 600px;
    }
}


/* Brand carousel styling */

.brand-carousel {
    overflow: hidden;
    padding: 1rem 0;
    margin-bottom: 1rem;
    background: #f9f9f9;
  }
  
  .carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 25s linear infinite;
    align-items: center;
  }
  
  .carousel-track img {
    height: 150px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
    border-radius: 50%;
  }
  
  .carousel-track img:hover {
    filter: grayscale(0%);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  

  @media (max-width: 768px) {
    .carousel-track {
      animation-duration: 10s; /* Faster on smaller screens */
    }
  
    .carousel-track img {
        height: 130px; /* Optional: slightly smaller for mobile */
      }
  }


  /* Booking section styling */

  .booking-section {
    padding: 2rem;
    background: #fff;
    color: #333;
    text-align: center;
  }
  
  
  .filter-buttons {
    margin-bottom: 2rem;
  }
  
  .filter-buttons button {
    padding: 0.5rem 1rem;
    border: none;
    background: #eee;
    color: #FF3E41;
    /* color: #c70000; */
    margin: 0 0.5rem;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
  }
  
  .filter-buttons button.active,
  .filter-buttons button:hover {
    background: #FF3E41;
    /* background: #c70000; */
    color: #fff;
  }
  
  .trip-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    margin-bottom: 2rem;
  }
  
  .trip-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
    /* text-align: left; */
  }
  
  .trip-card:hover {
    transform: scale(1.03);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .trip-card i {
    color: #FF3E41;
    /* color: #c70000; */
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    
  }
  
  .trip-card .destination, .trip-card .price {
    font-weight: bold;
    font-size: larger;
    text-align: center;
  }
  
  .cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .cta {
    background: #FF3E41;
    /* background: #c70000; */
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease;
  }
  
  .cta:hover {
    background: #900;
    color: #eee;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    text-align: left;
  }
  
  .modal-content h3 {
    margin-top: 0;
    color: #FF3E41;
    /* color: #c70000; */
    text-align: center;
  }
  
  .modal-content input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .modal-content .submit {
    width: 100%;
    padding: 0.75rem;
  }
  
  .close {
    text-align: right;
    font-size: 1.5rem;
    cursor: pointer;
  }
  


  @media (max-width: 768px) {
    .trip-grid {
        grid-template-columns: 1fr;
  }

    .modal-content {
        margin-top: 12rem;
  }

}