/********** Template CSS **********/
:root {
    --primary: #FDA12B;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

body {
    background: #f5f6f8;
    position: relative;
    min-height: 100vh;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../img/logo.jpeg');
    background-repeat: no-repeat;
    background-position: center 140px;
    background-size: clamp(360px, 32vw, 560px);
    opacity: 0.14;
    z-index: -1;
    transform: rotate(0deg);
    pointer-events: none;
    filter: grayscale(0.05) contrast(1.05);
}

.brand-logo {
    padding: 6px 12px;
    background: linear-gradient(145deg, #ffffff, #f0f3f7);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(24, 35, 51, 0.12);
    border: 1px solid rgba(24, 35, 51, 0.08);
    display: inline-block;
    object-fit: contain;
    height: 48px;
    width: auto;
    vertical-align: middle;
}

@media (max-width: 767.98px) {
    body::before {
        background-size: 220px auto;
        background-position: center 220px;
        opacity: 0.08;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    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;
}

/*** Contact CTA ***/
.contact-cta {
    gap: 12px;
}

.contact-cta .contact-btn {
    border-radius: 4px;
    font-weight: 700;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(24, 35, 51, 0.08);
    transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}

.contact-cta .contact-btn i {
    font-size: 1rem;
}

.contact-btn-facebook {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.contact-btn-facebook:hover {
    background: rgba(253, 161, 43, 0.08);
    color: #d88412;
    box-shadow: 0 10px 22px rgba(253, 161, 43, 0.25);
    transform: translateY(-2px);
}

.contact-btn-whatsapp {
    background: #138c4e;
    border: 2px solid #138c4e;
    color: #ffffff;
}

.contact-btn-whatsapp:hover {
    background: #0f7b44;
    border-color: #0f7b44;
    box-shadow: 0 10px 22px rgba(19, 140, 78, 0.25);
    transform: translateY(-2px);
}

.contact-btn-call {
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #ffffff;
}

.contact-btn-call:hover {
    background: #e58f12;
    border-color: #e58f12;
    box-shadow: 0 10px 22px rgba(253, 161, 43, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .contact-cta {
        gap: 10px;
    }

    .contact-cta .contact-btn {
        width: 100%;
        min-width: 0;
    }
}

/***** Topbar *****/
.topbar {
    background: linear-gradient(90deg, rgba(24, 35, 51, 0.03), rgba(253, 161, 43, 0.08));
    border-bottom: 1px solid rgba(24, 35, 51, 0.08);
}

.topbar .row {
    min-height: 60px;
}

.topbar .d-inline-flex.align-items-center {
    gap: 10px;
}

.topbar small {
    color: var(--dark);
    font-weight: 600;
}

.topbar small[class*="fa-"] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 161, 43, 0.18);
    color: var(--primary);
    font-size: 0.9rem;
}

.topbar .btn {
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    margin: 0 4px;
    box-shadow: 0 10px 25px rgba(24, 35, 51, 0.12);
}

.topbar .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    transform: translateY(-2px);
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 25px 0;
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 25px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.header-nav {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 15px 35px rgba(24, 35, 51, 0.08);
    border-bottom: 1px solid rgba(24, 35, 51, 0.05);
}

.header-nav .navbar-brand h1 {
    color: var(--dark);
    font-weight: 800;
    letter-spacing: 1px;
}

.header-nav .navbar-nav .nav-link {
    color: var(--dark);
    letter-spacing: .5px;
    padding: 25px 12px;
    margin-left: 0;
    position: relative;
}

.header-nav .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    height: 2px;
    background: var(--primary);
    opacity: 0;
    transform: scaleX(0);
    transition: .3s;
}

.header-nav .navbar-nav .nav-link:hover,
.header-nav .navbar-nav .nav-link.active {
    color: var(--primary);
}

.header-nav .navbar-nav .nav-link:hover::after,
.header-nav .navbar-nav .nav-link.active::after {
    opacity: 1;
    transform: scaleX(1);
}

@media (max-width: 991.98px) {
    .header-nav {
        border-radius: 0;
        box-shadow: none;
    }

    .header-nav .navbar-nav .nav-link::after {
        display: none;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, .65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-indicators {
    bottom: 24px;
    gap: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 1;
    transition: background-color .3s, transform .3s;
}

.carousel-indicators .active {
    background-color: var(--primary);
    transform: scale(1.15);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.12);
}

.carousel-caption .breadcrumb {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 12px;
}

.carousel-caption .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.carousel-caption .breadcrumb-item::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    margin-left: 10px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
}

@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;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
}

.page-header .breadcrumb-item {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.75);
    margin-left: 10px;
    margin-right: 6px;
}


/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, .65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}


/*** Service ***/
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: .5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}


/*** Appointment ***/
.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(24, 35, 51, 0.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.team-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 55px rgba(24, 35, 51, 0.18);
}

.team-item img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.team-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    transition: .5s;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
}

.team-text * {
    transition: .5s;
}

.team-item:hover .team-text * {
    letter-spacing: 2px;
}

@media (max-width: 767.98px) {
    .team-item img {
        height: 420px;
    }
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/***** Footer *****/
.footer {
    position: relative;
    background: linear-gradient(135deg, #0d141f, #182333 60%, #0b1c2c);
    color: rgba(255, 255, 255, 0.78);
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    overflow: hidden;
}

.footer::before,
.footer::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 30% 70% 50% 50%;
    background: rgba(253, 161, 43, 0.08);
    filter: blur(0.5px);
    pointer-events: none;
}

.footer::before {
    top: -120px;
    inset-inline-start: -60px;
}

.footer::after {
    bottom: -140px;
    inset-inline-end: -100px;
    background: rgba(255, 255, 255, 0.06);
}

.footer .row.g-5 > div {
    position: relative;
    z-index: 1;
}

.footer h1,
.footer h4 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.75);
}

.footer p {
    line-height: 1.7;
}

.footer .row.g-5 > div:nth-child(1) .d-flex {
    gap: 12px;
    padding-top: 0;
    margin-top: 20px;
}

.footer .row.g-5 > div:nth-child(2) p {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.footer .row.g-5 > div:nth-child(2) i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    font-size: 16px;
    margin: 0;
}

.footer .row.g-5 > div:nth-child(2) {
    text-align: right;
}

.footer .row.g-5 > div:nth-child(2) p {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    direction: rtl;
    text-align: right;
    white-space: normal;
    margin-bottom: 12px;
}

.footer .row.g-5 > div:nth-child(3) {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.footer .btn-square {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
    transition: .3s ease;
}

.footer .btn-square:hover {
    background: var(--primary);
    color: #111827;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(253, 161, 43, 0.35);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 6px;
    padding: 8px 0;
    padding-left: 32px;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: none;
    position: relative;
    transition: color .3s ease, transform .3s ease;
}

.footer .btn.btn-link::before {
    content: "\f104";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

.footer .btn.btn-link:hover::before {
    left: -6px;
}

.footer .copyright {
    margin-top: 30px;
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.7);
}

.footer .copyright a {
    color: #ffffff;
    font-weight: 600;
}

.footer .copyright a:hover {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .footer {
        border-radius: 0;
    }

    .footer .row.g-5 > div:nth-child(3) {
        padding: 20px;
    }
}

