/********** Template CSS **********/
:root {
    --primary: #FFBB1C;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #161f3c;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
body {
    background-color: #161f3c;
}
#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;
}


/******** LOGO ********/
.logo {
    height: 50px;
    width: auto;
    margin-right: 30px;
    margin-left: 20px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .logo {
        margin-left: 0 !important;
    }

    .navbar-brand {
        margin-left: 0 !important;
    }
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
    background-color:#161f3c;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 20px 0;
    color: #ffffff;
    font-weight: 300;
    font-size: 15px;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 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;
    }
}

@media (min-width: 991px) {
    .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;
    }
}

.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
}


/*** CAROUSEL START ***/
.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;
}

#header-carousel .carousel-item {
    height: auto;
    min-height: 300px;
}

#header-carousel .carousel-item img {
    position: relative !important;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: 45px !important;
}

.carousel-dot-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.carousel-dot-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: transparent;
    opacity: 1 !important;
    transition: 0.3s;
}

.carousel-dot-indicators .active {
    background-color: #fff;
    transform: scale(1.2);
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        height: auto;
        min-height: 300px;
    }

    #header-carousel .carousel-item img {
        position: relative !important;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-inner {
        display: flex !important;
        flex-direction: row !important;
    }

    .carousel-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 26px !important;
        line-height: 32px !important;
    }

    .carousel-caption p {
        font-size: 14px !important;
    }

    .carousel-caption .btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
        border-radius: 4px !important;
    }
}

/* About us */
.about-image-wrapper {
    overflow: hidden;
    min-height: 400px;
}

.about-image-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 7px;
}

.border-gold {
    /* border-color: #DFB32C !important; */
    border-color: #DFB32C !important;
}


/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .about-image-wrapper {
        min-height: 250px;
        /* shorter height for small screens */
    }
}
/* About us end */

/*** 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;
}
.row.g-0 img {
    border-radius: 0 !important;
}

/* facts end */


/* feature start */

@media (max-width: 768px) {
    .feature-img-mobile-center {
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        
    }

    .feature-img-mobile-center img {
        position: relative !important;
        width: 100% !important;
        height: 400px !important;
        object-fit: contain !important;
     
    }
}

/* feature end */

/*** 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;
}

/* ---------- Added Card Reduction Styles ---------- */

/* Reduce entire card size */
.service-item {
    max-width: 300px;       /* Reduce width */
    margin: 0 auto;         /* Center the card */
    border-radius: 6px;
}

/* Resize service images */
.service-item img {
    height: 180px !important;  /* Smaller height */
    object-fit: cover;
    width: 100%;
}

/* Reduce padding inside the card */
.service-text {
    padding: 20px !important;
}

/* Adjust title size */
.service-text h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Adjust paragraph spacing */
.service-text p {
    font-size: 14px;
    line-height: 1.4;
}


/*** Contact us  start***/

.appointment {
    background: linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .65)), 
    url("https://t4.ftcdn.net/jpg/01/44/38/81/360_F_144388179_CNAR0Ba2iNGZiIYs0hjnnPn2jEFnZG2b.jpg") center center no-repeat;
    background-size: cover;
}

.form-control.custom-bg {
    background-color: #161f3c !important;
    color: white !important;
    border: 0 !important;
}

.form-floating label::after {
    content: " *";
    color: #FFBB1C;
   
}










/*** Contact us  end***/

/*** Team ***/

.team-item {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.img-fluid {
    width: 100%;
    max-width: 750px;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

/* Hide carousel arrows on mobile */
@media (max-width: 767px) {
    .owl-nav {
        display: none !important;
    }
}


/*** 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);
}

@media (min-width: 992px) {
    .testimonial-carousel .owl-nav {
        display: none !important;
    }
}


/*** Footer ***/

.footer {
background:#161f3c;
    color: #fff;
}

.social-btn {
    color: #fff !important;
    border: 1px solid #fff !important;
    background: transparent;
}

.social-btn:hover {
    color: #DFB32C;
    background: #DFB32C !important;
    border-color: #fff !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #fff;
    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;
    color: #DFB32C;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #DFB32C;
    letter-spacing: 1px;
    box-shadow: none;
}


/* copyright start */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid #ffffff;
    padding-top: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom-left {
    margin-left: 50px;
    color: #ffffff;
}

.footer-bottom-right {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 50px;
}

.footer-bottom-right img { 
    height: 40px;
    width: auto;
    vertical-align: middle;
    background: transparent !important;
}


/* 📱 Mobile View */
@media (max-width: 768px) {

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-bottom-right {
        justify-content: center;
        align-items: center;
    }

    .footer-bottom-right img {
        display: inline-block;
        margin-top: 4px;
        margin-bottom: 6px;
    }
}


/* BACK TO TOP*/
.back-to-top {
    background-color:#DFB32C !important;
    border-color:#DFB32C !important;
}

.back-to-top:hover {
    background-color: #fff !important;
    border-color: #fff !important;
}


