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

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

@media (max-width: 425px) {
    .navbar-brand img {
        max-width: 40px !important;
        /* You can adjust this value as needed */
    }
}

.navbar-brand img {
    max-width: 80px;
    /* You can adjust this value as needed */
}

/*** 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: 1200px) {
    .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, .7);
    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, 0.299);
}

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


/*** Facts ***/
.fact {
    background: linear-gradient(rgb(42 65 114), rgb(3 10 25)), url(../img/carousel-bg-1.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)
}


/*** 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 ***/
/* Modern Footer Styles */
/* Footer Modern Base */
.footer-modern {
    background: linear-gradient(rgb(113 113 113 / 90%), rgb(107 68 68 / 90%));
    position: relative;
    /* overflow: hidden; */
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/carousel-bg-1.jpg') center center no-repeat;
    background-size: cover;
    z-index: -1;
    opacity: 0.1;
}

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
}

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

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

/* Footer Titles */
.footer-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #d81324, #dc3545);
    border-radius: 2px;
}

/* Contact Items */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d81324;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-text {
    flex: 1;
    line-height: 1.5;
}

.contact-text a {
    color: #e9ecef;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.contact-text a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Social Media Buttons */
.social-links h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.facebook {
    background: linear-gradient(45deg, #1877f2, #42a5f5);
    color: white;
}

.social-btn.whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

/* Opening Hours */
.hours-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.day-label {
    color: #e9ecef;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.time-badge {
    background: linear-gradient(45deg, #d81324, #dc3545);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hours-note {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.service-link {
    color: #e9ecef;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-link:hover {
    color: #d81324;
    /* background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3); */
    transform: translateX(5px);
}

.service-link i {
    color: #d81324;
    width: 16px;
    opacity: 0.8;
}

/* 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;
    backdrop-filter: blur(5px);
}

.copyright-text {
    font-size: 0.9rem;
    color: #adb5bd;
}

.brand-link {
    color: #d81323c8;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.brand-link:hover {
    color: #d81324;
    text-decoration: none;
}

.developer-credit {
    font-size: 0.85rem;
    color: #6c757d;
}

.developer-link {
    color: #d81323c8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.developer-link:hover {
    color: #d81324;
    text-decoration: none;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-section {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    .footer-modern {
        background: linear-gradient(135deg, rgba(20, 20, 20, 0.98) 0%, rgba(40, 40, 40, 0.98) 50%, rgba(30, 30, 30, 0.98) 100%);
    }
}

/* Responsive Design */

/* Medium Devices */
@media (max-width: 992px) {
    .footer-modern {
        padding-top: 2rem;
    }

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

    .footer-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-contact-icon {
        align-self: center;
    }

    .social-links {
        text-align: center;
    }

    .hours-container {
        text-align: center;
    }

    .hours-item {
        flex-direction: column;
        gap: 10px;
    }



    .service-link {
        justify-content: center;
    }

    .footer-bottom .row>div {
        text-align: center !important;
        margin-bottom: 1rem;
    }

    .social-icon-buttons {
        justify-content: center;
    }

}

@media (max-width: 767px) {
    .social-icon-buttons {
        justify-content: center;
    }

    .contact-item {
        text-align: center;
        display: block;
    }

    .footer-contact-icon {
        align-self: center;
        margin-bottom: -25px;
    }

}

/* Small Devices */
@media (max-width: 768px) {
    .footer-section {
        padding: 1.2rem;
    }

    .social-btn {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
     .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .footer-section {
        padding: 1rem;
    }

    .social-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .contact-text a {
        font-size: 0.9rem;
    }

    .service-link {
        font-size: 0.9rem;
        padding: 6px 10px;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
}

@media (min-width: 992px) and (max-width: 1399px) {

    /* Your styles here */
    .hours-item {
        flex-direction: column;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

}

/* Background Image scaling */
.footer-modern::before {
    background-size: cover;
    background-position: center;
}

.form-control {
    border-radius: 5px !important;
    
}