/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.slider-area .hero__caption .stock-text h2:nth-child(2) {
    color: #fff;
    -webkit-animation: animate 4s ease-in-out infinite;
    animation: animate 4s ease-in-out infinite;
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 40px;
    bottom: 40px;
    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: 500;
    text-transform: uppercase;
    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;
    border-radius: 2px;
}


/*** 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 {
    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 .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 ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .15);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .15);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* Video coraousel */
.video-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.video-container video {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
}

/* Mobile fix */
@media (max-width: 768px) {
    .video-container {
        height: 250px;
    }

    .video-container video {
        top: -60px;
    }
}

/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/wall11.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Service ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Team 
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}

**/
/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
    margin-bottom: 30px;
}

.team .team-img {
    position: relative;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    transition: .3s;
}

.team .team-item:hover img {
    transform: scale(1.1);
}

.team .team-text {
    position: relative;
    width: 100%;
    padding: 35px 30px 30px 30px;
    text-align: center;
    background: #202C45;
    border-radius: 0 0 5px 5px;
    transition: .5s;
}

.team .team-item:hover .team-text {
    background: #E81C2E;
}

.team .team-text h2 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team .team-text p {
    margin: 0;
    color: #ffffff;
}

.team .team-social {
    position: absolute;
    width: 100%;
    height: 40px;
    top: -20px;
    left: 0;
    text-align: center;
    font-size: 0;
}

.team .team-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 3px;
    padding: 7px 0;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    background: #202C45;
    border-radius: 40px;
    transition: .5s;
}

.team .team-item:hover .team-social a {
    background: #E81C2E;
}

.team .team-social a:hover {
    color: #202C45;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .19), rgba(0, 0, 0, .9)), url(../img/menu_image.jpg) 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);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 60px 40px;
  }
  .blog-card {
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  .blog-card:hover {
    transform: translateY(-5px);
  }
  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  .blog-content {
    padding: 20px;
  }
  .blog-content small {
    color: #888;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
  }
  .blog-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
  }
  .blog-content a {
    font-size: 14px;
    color: #e11d48;
    text-decoration: none;
  }
  .newsletter {
    background-color: #f5f5f5;
    padding: 60px 40px;
    text-align: center;
  }
  .newsletter h2 {
    margin-bottom: 20px;
    font-size: 24px;
  }
  .newsletter form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
  }
  .newsletter input[type="email"] {
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
  }
  .newsletter button {
    padding: 15px;
    background-color: #dc1f2f;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .newsletter button:hover {
    background-color: #b71c1c;
  }
  .success-message {
    color: green;
    margin-top: 10px;
    font-weight: bold;
  }
  

  /********* New CSS for FAQs and Blog **********/
  
  body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: auto;
    background-color: #f8f8f8;
  }

  h1, h2, h3 {
    text-align: center;
  }

  .blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
  }

  .blog-card {
    width: 300px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .blog-content {
    padding: 15px;
  }

  .blog-content h3 {
    margin: 10px 0;
  }

  .read-more-btn {
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.3s;
  }

  .read-more-btn:hover {
    background-color: #95f209b1;
  }

  .slide-box {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding-left: 0;
  }

  .slide-box.open {
    margin-top: 8px;
  }

  /* FAQs */
  .faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
  }

  .faq-question {
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    background-color: red;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }

  .faq-question:hover {
    background-color: darkred;
  }

  .faq-answer {
    margin-top: 8px;
    border-left: 3px solid red;
    padding-left: 12px;
    background: #fff;
  }

/********* New CSS for Services **********/
  .view-details {
    padding: 8px 15px;
    border-color: #b30000;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s;
}

.view-details:hover {
    background-color: #f2f2f2;

}

.btn-primary {
    background-color: red;
    border-color: red;
}

.btn-primary:hover {
    background-color: #b30000;
    border-color: #b30000;
}


/* Hover effect for links and default background color */

    .view-details {
        padding: 8px 15px;
        border-color: #b30000;
        text-decoration: none;
        color: white;
        transition: background-color 0.3s;
    }

    .view-details:hover {
        background-color: #f2f2f2;
    
    }

    .btn-primary {
        background-color: red;
        border-color: red;
    }

    .btn-primary:hover {
        background-color: #b30000;
        border-color: #b30000;
    }


    /********* New CSS for Login **********/
    body {
        background:rgb(247, 248, 249);
        min-height: 100vh;
    }
    .main-container {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }
    .login-image {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 10px 0 0 10px;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    .login-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-width: 400px;
        max-height: 500px;
    }
    .login-container {
        flex: 1;
        max-width: 400px;
        margin: 0;
        padding: 40px 30px;
        background: #fff;
        border-radius: 0 10px 10px 0;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .login-container h2 {
        color: #0d6efd;
        margin-bottom: 30px;
        text-align: center;
    }
    .form-control {
        height: 50px;
        border-radius: 5px;
        margin-bottom: 20px;
        background: rgba(255, 255, 255, 0.9);
    }
    .btn-primary {
        height: 50px;
        border-radius: 5px;
        font-weight: 600;
    }
    .signup-link, .forgot-link {
        text-align: center;
        margin-top: 20px;
    }
    .forgot-link {
        margin-top: 10px;
        margin-bottom: -10px;
    }
    .error-message {
        color: #dc3545;
        margin-bottom: 15px;
        text-align: center;
    }
    @media (max-width: 900px) {
        .main-container {
            flex-direction: column;
        }
        .login-image, .login-container {
            border-radius: 10px 10px 0 0;
            max-width: 100%;
        }
        .login-image img {
            max-width: 100%;
            max-height: 250px;
        }
    }