/********** Template CSS **********/

.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;
    border-radius: 50px;
}

.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: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

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

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }

    /* Contact form layout tweaks */
    /* Keeps the form centered and prevents inputs from appearing too stretched */
    section.container > .row > .col-12.col-md-10.col-lg-8 {
        margin: 0 auto;
    }

    /* Slightly larger input paddings and consistent radius */
    section.container .form-control {
        padding: 0.85rem 0.9rem;
        border-radius: 8px;
    }

    /* Make the country code small and aligned */
    .input-group input#countryCode {
        max-width: 95px;
        text-align: center;
    }

    /* Button styling stays consistent but slightly larger on desktop */
    .btn-outline-primary.py-3 {
        border-radius: 10px;
    }

    @media (min-width: 992px) {
        section.container > .row > .col-12.col-md-10.col-lg-8 {
            max-width: 820px;
        }
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .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;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    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: 550px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) top center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {

    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

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

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -1000px 0;
    }
}

.footer {
    background-image: url(../img/foo.png);
    background-position: 0px 0px;
    background-repeat: repeat-x;
    animation: footerAnimatedBg 50s linear infinite;
}

/** NEW CSS INPUT**/

/* Navbar Logo – keeps same size as text */
.navbar-logo {
    height: 50px;
    /* same visual height as h2 */
    width: auto;
    display: block;
}

/* Mobile safety */
@media (max-width: 800px) {
    .navbar-logo {
        height: 36px;
    }
}

.navbar-logo:hover {
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.6));
}


/* ===============================
   FAQ SECTION – PREMIUM WMC STYLE
================================ */

/* FAQ container spacing */
#faqAccordion {
    max-width: 900px;
    margin: 0 auto;
}

/* Accordion item (card look) */
.accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    margin-bottom: 16px;
    overflow: hidden;
    backdrop-filter: blur(6px);
}

/* Remove default Bootstrap focus outline */
.accordion-button:focus {
    box-shadow: none;
    outline: none;
}

/* Accordion header button */
.accordion-button {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px 24px;
}

/* Gold highlight when active */
.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg,
            rgba(212, 175, 55, 0.15),
            rgba(212, 175, 55, 0.05));
    color: #d4af37;
}

/* Arrow icon color */
.accordion-button::after {
    filter: brightness(0) invert(1);
}

/* Accordion body */
.accordion-body {
    background-color: rgba(0, 0, 0, 0.85);
    color: #d1d1d1;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 20px 24px;
}

/* FAQ section heading */
section h2 {
    color: #d4af37;
    letter-spacing: 1px;
}

/* FAQ subtitle */
section p.text-muted {
    color: #b5b5b5 !important;
    max-width: 700px;
    margin: 0 auto;
}

/* Hover effect */
.accordion-item:hover {
    border-color: rgba(212, 175, 55, 0.6);
    transition: border-color 0.3s ease;
}


/* ================================
   intl-tel-input FORCE VISIBILITY
================================ */

.iti {
    width: 100% !important;
}

.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent !important;
}

.iti__flag-container {
    z-index: 5;
}

.iti-input {
    padding-left: 95px !important;
    /* space for flag + code */
}

.iti__country-list {
    background: #111 !important;
    color: #fff !important;
    border: 1px solid #333;
}

.iti__country:hover {
    background: #222 !important;
}

.iti__dial-code {
    color: #d4af37 !important;
}

/* ====================================
   MOBILE RESPONSIVENESS IMPROVEMENTS
   ==================================== */

/* Mobile: Hero Carousel Text & Padding */
@media (max-width: 768px) {
    .carousel-caption {
        padding-top: 60px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .carousel-caption .title {
        margin-bottom: 1rem !important;
    }

    .carousel-caption h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
    }

    .carousel-caption h5 {
        font-size: 0.9rem !important;
    }

    .carousel-caption p {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 10px !important;
    }

    .carousel-caption .title .mx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .carousel-caption .title .px-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Mobile: Buttons */
@media (max-width: 768px) {
    .btn {
        font-size: 0.9rem !important;
        padding: 10px 20px !important;
    }

    .carousel-caption .btn {
        padding: 12px 25px !important;
    }
}

/* Mobile: Title Component */
@media (max-width: 768px) {
    .title h1 {
        font-size: 1.5rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word !important;
    }

    .title h5 {
        font-size: 0.85rem !important;
    }

    /* Hide decorative lines on mobile for better readability */
    .title .title-left h5::after,
    .title .title-center h5::before,
    .title .title-center h5::after,
    .title .title-right h5::before {
        display: none !important;
    }
}

/* Mobile: Service Items */
@media (max-width: 767.98px) {
    .service-item {
        margin-top: 1.5rem !important;
    }

    .service-item .service-img {
        padding: 2rem !important;
        margin: 0 auto !important;
        max-width: 300px !important;
    }

    .service-item .service-img img {
        max-width: 100% !important;
        height: auto !important;
    }

    .service-item .service-text {
        padding: 1.5rem 1rem !important;
        text-align: center !important;
    }

    .service-item .service-text h3 {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }

    .service-item .service-text p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
}

/* Mobile: Team Cards */
@media (max-width: 768px) {
    .team-item {
        margin-bottom: 1.5rem !important;
    }

    .team-item img {
        max-width: 100% !important;
        height: auto !important;
    }

    .team-item .team-name h5 {
        font-size: 1rem !important;
    }
}

/* Mobile: Page Headers */
@media (max-width: 768px) {
    .page-header {
        padding-top: 120px !important;
        padding-bottom: 3rem !important;
    }

    .page-header h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
        padding: 0 15px !important;
    }
}

/* Mobile: Container Padding */
@media (max-width: 768px) {
    .container-fluid .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    section.container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* Mobile: About Section */
@media (max-width: 768px) {
    .pb-0.pb-lg-5.py-5 {
        padding-bottom: 2rem !important;
        padding-top: 2rem !important;
    }

    .list-group {
        font-size: 0.9rem !important;
    }
}

/* Mobile: Banner/Appointment Section */
@media (max-width: 768px) {
    .position-relative .form-control {
        padding-right: 2rem !important;
        font-size: 0.9rem !important;
    }

    .position-relative .btn {
        position: relative !important;
        width: 100% !important;
        margin-top: 10px !important;
    }
}

/* Mobile: FAQ Accordion */
@media (max-width: 768px) {
    #faqAccordion {
        padding: 0 10px !important;
    }

    .accordion-button {
        font-size: 0.95rem !important;
        padding: 15px 18px !important;
    }

    .accordion-body {
        font-size: 0.85rem !important;
        padding: 15px 18px !important;
    }
}

/* Mobile: Footer */
@media (max-width: 768px) {
    .footer h1 {
        font-size: 1.5rem !important;
    }

    .footer .btn-lg-square {
        width: 40px !important;
        height: 40px !important;
        margin: 0.25rem !important;
    }
}

/* Mobile: Navbar Logo */
@media (max-width: 768px) {
    .navbar-logo {
        height: 40px !important;
    }
}

/* Mobile: Display Classes Override */
@media (max-width: 768px) {
    .display-1 {
        font-size: 2rem !important;
    }

    .display-4 {
        font-size: 1.75rem !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }
}

/* Mobile: Contact Form */
@media (max-width: 768px) {
    .form-floating>.form-control {
        font-size: 0.9rem !important;
    }

    .form-floating>label {
        font-size: 0.85rem !important;
    }

    table.table td,
    table.table th {
        font-size: 0.85rem !important;
        padding: 0.75rem !important;
    }
}

/* Mobile: Testimonial Carousel */
@media (max-width: 768px) {
    .testimonial-carousel .testimonial-item p {
        font-size: 0.9rem !important;
        padding: 0 15px !important;
    }

    .testimonial-carousel .owl-dots {
        height: 80px !important;
    }

    .testimonial-carousel .owl-dots .owl-dot {
        width: 50px !important;
        height: 50px !important;
    }

    .testimonial-carousel .owl-dots .owl-dot.active {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Mobile: Spacing Utilities Override */
@media (max-width: 768px) {
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .my-5 {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }
}

/* Mobile: Image Optimization */
@media (max-width: 768px) {
    img.img-fluid {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Extra Small Devices (phones < 576px) */
@media (max-width: 575.98px) {
    .carousel-caption h1 {
        font-size: 1.5rem !important;
    }

    .carousel-caption p {
        font-size: 0.85rem !important;
    }

    .service-item .service-text h3 {
        font-size: 1.1rem !important;
    }

    .btn {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
}

/* Footer Link & Button Styling */
.footer .btn.btn-link {
    display: block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    text-align: left;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary) !important;
    letter-spacing: 1px;
    padding-left: 5px;
}

.footer h5 {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer .btn-sm-square {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 25px;
}

.footer .copyright a {
    text-decoration: none;
    transition: 0.3s;
}

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

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
    .footer .col-lg-3,
    .footer .col-lg-2,
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .footer .btn.btn-link {
        text-align: center;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .footer h5 {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer .d-flex {
        justify-content: center;
    }
    
    .footer .copyright {
        text-align: center;
    }
    
    .footer .footer-logo {
        text-align: center;
    }
}




/* ==============================
   FOOTER RESPONSIVE COMPACT FIX
================================ */

/* Reduce vertical padding */
.footer {
  padding-top: 3rem !important;
  padding-bottom: 2rem !important;
}

/* Reduce inner container spacing */
.footer .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Text tightening */
.footer p {
  margin-bottom: 0.6rem;
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Section headings */
.footer h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Footer links spacing */
.footer .btn-link {
  padding: 0.15rem 0;
  font-size: 0.9rem;
  display: block;
}

/* Social icons size */
.footer .btn-sm-square {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Contact icons alignment */
.footer i {
  font-size: 0.9rem;
}

/* Copyright bar */
.footer .copyright {
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ==============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 767px) {

  .footer {
    text-align: center;
  }

  .footer .row > div {
    margin-bottom: 1.5rem;
  }

  .footer .d-flex {
    justify-content: center;
  }

  .footer .btn-link {
    text-align: center;
  }

  .footer .copyright .text-md-start,
  .footer .copyright .text-md-end {
    text-align: center !important;
  }
}



#submitBtn {
  position: relative;
  z-index: 9999;
  pointer-events: auto !important;
}

.card,
.container,
.row {
  pointer-events: auto;
}
