/********** Template CSS **********/
::selection {
    background-color: #DCA54A;
    /* Changes the highlight background color */
    color: #000000;
}

:root {
    --primary: #DCA54A;
    --light: #121212;
    --dark: #ffffff;
}

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

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

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

/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 75px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    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 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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 ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45)), url(../img/Smart%20Robotic%20Cleaning.jpg.png) center center no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    width: 100%;
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(220, 165, 74, 0.1);
    color: #DCA54A;
    border: 1px solid rgba(220, 165, 74, 0.2);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title-modern {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #DCA54A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
}

.hero-desc-modern {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
}

/* Feature checklist styling */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 14px;
}

.hero-feature-item i {
    color: #DCA54A;
    font-size: 18px;
    margin-right: 12px;
}



/* Button enhancements */
.btn-hero-primary {
    background: linear-gradient(135deg, #DCA54A 0%, #9C6F28 100%);
    color: #000000 !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(220, 165, 74, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(220, 165, 74, 0.5);
    background: linear-gradient(135deg, #f0b85a 0%, #b28236 100%);
}

.btn-hero-secondary {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    border-color: #DCA54A;
    color: #DCA54A;
    background: rgba(220, 165, 74, 0.05);
}

/* Responsive updates for full-bleed hero banner */
@media (max-width: 991px) {
    .hero-section {
        min-height: 600px;
        background-position: 15% center;
    }

    .hero-title-modern {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 520px;
        background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url(../img/Smart%20Robotic%20Cleaning.jpg.png) center center no-repeat;
        background-size: cover;
        background-position: 8% center;
    }

    .hero-title-modern {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 480px;
        background-position: 5% center;
    }

    .hero-title-modern {
        font-size: 28px;
    }

    .hero-desc-modern {
        font-size: 15px;
    }

    .hero-feature-item {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
}



@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

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

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: #FFFFFF;
    box-shadow: 0 0 30px rgba(255, 255, 255, .9);
    border-radius: 45px;
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    border-radius: 45px;
    transition: .5s;
}

.page-headerabout {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../img/aboutb.png) center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    position: relative;
}

.page-headerservice {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../img/servies.png) center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    position: relative;
}

.page-headercontact {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../img/contact.png) center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    position: relative;
}

.page-headerd {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url(../img/dealership.png) center center no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    width: 100%;
    position: relative;
}

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


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.row.g-4> :has(> .service-item) {
    display: flex;
    flex-direction: column;
}

.service-item>.position-relative {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    position: relative;
    margin: -50px 0 25px 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 100px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover .service-icon {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-img {
    position: relative;
}

.portfolio-img::before,
.portfolio-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    background: var(--dark);
    transition: .5s;
}

.portfolio-img::before {
    left: 50%;
}

.portfolio-img::after {
    right: 50%;
}

.portfolio-item:hover .portfolio-img::before {
    width: 51%;
    left: 0;
}

.portfolio-item:hover .portfolio-img::after {
    width: 51%;
    right: 0;
}

.portfolio-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 1;
    transition: .5s;
}

.portfolio-item:hover .portfolio-btn {
    opacity: 1;
    transition-delay: .3s;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    border-radius: 8px 60px 0 0;
}

.team-item .team-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: #121212;
    transition: .5s;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-img .btn-square {
    position: absolute !important;
    bottom: -19px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-social {
    margin-right: 5px;
    color: #9B9B9B;
    border: 1px solid #9B9B9B;
    border-radius: 38px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #9B9B9B;
    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 {
    color: #FFFFFF;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: #a0a0a0;
}

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


/* --- Premium Dark Mode Overrides --- */

/* Force body and background elements to be dark */
body {
    background-color: #000000 !important;
    color: #c0c0c0 !important;
}

.bg-white {
    background-color: #000000 !important;
}

.bg-light {
    background-color: #121212 !important;
}

/* Navbar specific fixes */
.navbar-light .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
}

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

.navbar-light .navbar-brand h2 {
    color: var(--primary) !important;
}

.navbar-light .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/* Dropdown styling */
.dropdown-menu {
    background-color: #1a1a1a !important;
    border: 1px solid #333333 !important;
}

.dropdown-item {
    color: #ffffff !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary) !important;
    color: #000000 !important;
}

/* Service item dark styling */
.service-item {
    background-color: #121212 !important;
    border: 1px solid #1a1a1a !important;
}

.service-icon {
    background: #000000 !important;
    color: var(--primary) !important;
}

.service-item:hover .service-icon {
    color: #000000 !important;
    background: var(--primary) !important;
}

/* Project and testimonial styling */
.portfolio-item {
    background-color: #121212 !important;
}

.testimonial-item {
    background-color: #121212 !important;
}

.testimonial-carousel .testimonial-text {
    background-color: #121212 !important;
    color: #ffffff !important;
}

/* Team element styles */
.team-item {
    background-color: #121212 !important;
}

.team-item .bg-white {
    background-color: #121212 !important;
}

/* Form and input placeholders styling */
::placeholder {
    color: #6c757d !important;
}

.form-floating>.form-control::placeholder {
    color: transparent !important;
}

.form-floating>.form-control:focus::placeholder {
    color: #6c757d !important;
}

/* Fix quote text styling */
.quote-text h1,
.quote-text h6 {
    color: #ffffff !important;
}

/* --- Custom Footer Mockup Design Overrides --- */
.bg-black-footer {
    background-color: #000000 !important;
}

.footer-logo img {
    max-height: 80px;
}

.btn-footer-link {
    display: block;
    margin-bottom: 12px;
    color: #ffffff !important;
    font-weight: normal;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.btn-footer-link:hover {
    color: var(--primary) !important;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff !important;
    color: #000000 !important;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s ease-in-out;
    margin-right: 4px;
    border: 1px solid #ffffff;
}

.social-badge i {
    font-size: 13px;
}

.social-badge:hover {
    opacity: 0.8;
}

/*** Video Showcase Custom Styles ***/
.video-item {
    position: relative;
    background: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.video-link-wrapper {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-icon {
    transform: scale(0.7);
    transition: transform 0.3s ease;
}

.video-item:hover .video-icon {
    transform: scale(1);
}

/*** Responsive Enhancements for Mobile & Tablet ***/
/* Custom Golden Hamburger Icon for Dark Navbar */
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28251, 175, 50, 1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {

    /* Optimize navbar brand padding, border, and logo size on mobile/tablet */
    .navbar .navbar-brand {
        border-right: none !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 65% !important;
    }

    .navbar .navbar-brand img {
        height: 48px !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }
}

@media (max-width: 768px) {



    /* Optimize subpage header banner heights on mobile */
    .page-headerabout,
    .page-headerservice,
    .page-headercontact,
    .page-headerd,
    .page-header {
        height: 220px !important;
    }

    .page-headerabout h1,
    .page-headerservice h1,
    .page-headercontact h1,
    .page-headerd h1,
    .page-header h1 {
        font-size: 32px !important;
    }

    /* Adjust breadcrumbs placement in banners */
    .page-headerabout .container,
    .page-headerservice .container,
    .page-headercontact .container,
    .page-headerd .container {
        padding-top: 15px !important;
    }
}
