/********** Template CSS **********/
:root {
    --primary: #F97316;
    --secondary: #1D4ED8;
    --light: #F8FAFC;
    --dark: #0B2D4D;
}

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

.back-to-top {
    position: fixed;
    display: none;
    right: 35px;
    bottom: 35px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50% !important; /* Force perfectly round circle shape */
    background: linear-gradient(135deg, var(--primary) 0%, #ff6a00 100%) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(255, 62, 0, 0.4) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
}

.back-to-top i {
    font-size: 20px;
    color: #FFFFFF !important;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 62, 0, 0.55) !important;
    background: linear-gradient(135deg, #ff6a00 0%, var(--primary) 100%) !important;
}

.back-to-top:hover i {
    animation: bounceUp 0.6s infinite alternate;
}

@keyframes bounceUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-4px);
    }
}


/*** 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;
}

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

/*** Navbar ***/
.top-bar {
    background: var(--dark);
    color: var(--light);
    font-size: 14px;
    height: 45px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.top-bar a {
    color: var(--light);
    transition: .3s;
}

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

.navbar {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: .3s;
}

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

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

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
        padding: 15px 0;
    }
}

.navbar-light .navbar-brand {
    height: 110px;
    background: #FFFFFF !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 40px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.navbar-light .navbar-brand img {
    height: 95px !important;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    transform: scale(1.15); /* Zoom-in default to compensate for whitespace */
}

.navbar-light .navbar-brand:hover img {
    transform: scale(1.22);
}

.navbar-light.sticky-top {
    top: 0;
    background: #FFFFFF !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.btn-nav {
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6a00 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 62, 0, 0.3);
    transition: all 0.3s ease;
    margin-left: 20px;
    display: inline-block;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 62, 0, 0.4);
    background: linear-gradient(135deg, #ff6a00 0%, var(--primary) 100%);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 3px;
        bottom: 25px;
        left: 50%;
        background: var(--primary);
        border-radius: 3px;
        transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.header-carousel .owl-carousel-item {
    position: relative;
    z-index: 1;
}

.header-carousel .owl-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to right, rgba(10, 8, 19, 0.85) 0%, rgba(10, 8, 19, 0.4) 60%, rgba(10, 8, 19, 0.1) 100%);
    z-index: 1;
}

.header-carousel .owl-carousel-item > div {
    z-index: 2;
}

.header-carousel .owl-carousel-item h5 {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary) !important;
    background-color: rgba(255, 62, 0, 0.12);
    border: 1px solid rgba(255, 62, 0, 0.2);
    border-radius: 50px;
    margin-bottom: 25px !important;
    backdrop-filter: blur(5px);
}

.header-carousel .owl-carousel-item h1 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (min-width: 992px) {
    .header-carousel .owl-carousel-item h1 {
        font-size: 4rem;
    }
}

.header-carousel .owl-carousel-item p {
    font-size: 1.05rem !important;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 600px;
    font-weight: 400 !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px !important;
}

@media (min-width: 992px) {
    .header-carousel .owl-carousel-item p {
        font-size: 1.15rem !important;
    }
}

.header-carousel .btn-primary {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6a00 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 62, 0, 0.4);
    transition: all 0.3s ease;
}

.header-carousel .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 62, 0, 0.5);
    background: linear-gradient(135deg, #ff6a00 0%, var(--primary) 100%);
}

.header-carousel .btn-secondary {
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header-carousel .btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    background: #FFFFFF;
    color: var(--dark) !important;
    border-color: #FFFFFF;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@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 h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 10px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 62, 0, 0.3);
}

.page-header {
    background: linear-gradient(rgba(10, 8, 19, 0.75), rgba(10, 8, 19, 0.45)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
    text-align: center;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 8px 24px;
    border-radius: 50px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}


/*** 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);
    }
}


/*** 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);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: .5s;
}

.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: all 0.4s ease;
    transform: scale(0.95);
    opacity: 0.7;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    transform: scale(1.03);
    opacity: 1;
    border-color: rgba(255, 62, 0, 0.12);
    box-shadow: 0 15px 35px rgba(255, 62, 0, 0.07);
}

.testimonial-item img {
    border: 4px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}

.testimonial-item i.fa-quote-right {
    color: rgba(255, 62, 0, 0.06) !important;
    font-size: 4rem !important;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-item.center .testimonial-item:hover i.fa-quote-right {
    color: rgba(255, 62, 0, 0.1) !important;
    transform: scale(1.08);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


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

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

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

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


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(10, 8, 19, 0.7), rgba(10, 8, 19, 0.7)), url(../img/map.png) center center no-repeat;
    background-size: cover;
    color: rgba(255, 255, 255, 0.7);
}

.footer h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.footer h4::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 3px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.footer .btn.btn-social {
    margin-right: 8px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer .btn.btn-social:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 62, 0, 0.35);
    border-color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    padding-left: 5px;
    box-shadow: none;
}

.footer .form-control {
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}

.footer .form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 62, 0, 0.2) !important;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer .copyright a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

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

/*** Redesigned About Section ***/
.about-img-container {
    position: relative;
    height: 380px;
    max-width: 85%;
    margin: 20px auto;
    z-index: 1;
}

.about-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.about-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.04);
}

.about-accent-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    left: -20px;
    background: linear-gradient(135deg, rgba(255, 62, 0, 0.12) 0%, rgba(255, 106, 0, 0.04) 100%);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.5s ease;
}

.col-lg-6:hover .about-accent-bg {
    transform: translate(8px, -8px);
}

.about-badge {
    display: inline-block;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    background-color: rgba(255, 62, 0, 0.08);
    border-radius: 50px;
    margin-bottom: 20px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 25px;
}

.about-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 62, 0, 0.06);
    border-color: rgba(255, 62, 0, 0.12);
}

.about-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: rgba(255, 62, 0, 0.08);
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 22px;
    transition: all 0.3s ease;
}

.about-card:hover .about-card-icon {
    background: var(--primary);
    color: #FFFFFF;
    transform: rotateY(180deg);
}

/*** Redesigned Services Cards ***/
.service-item {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    padding: 0 !important;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 62, 0, 0.08);
    border-color: rgba(255, 62, 0, 0.12);
}

.service-item .service-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 20px 20px 18px 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.service-item img {
    height: 230px;
    width: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item:hover img {
    transform: scale(1.08);
}

.service-item .service-img-container::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(255, 62, 0, 0.2) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.service-item:hover .service-img-container::after {
    opacity: 1;
}

.service-item h4 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 24px 12px 24px;
    transition: color 0.3s ease;
}

.service-item:hover h4 {
    color: var(--primary);
}

.service-item p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 24px 20px 24px;
}

.service-item a.btn-slide {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 62, 0, 0.08) !important;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: visible;
    height: auto;
    width: auto;
    margin: auto 24px 24px 24px;
}

.service-item a.btn-slide i {
    background: none !important;
    padding: 0 !important;
    color: var(--primary) !important;
    font-size: 13px !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    margin-left: 8px;
    order: 2;
    transition: transform 0.3s ease;
}

.service-item a.btn-slide span {
    background: none !important;
    padding: 0 !important;
    color: var(--primary) !important;
    font-size: 13px !important;
    font-weight: 700;
    left: 0 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
    order: 1;
}

.service-item:hover a.btn-slide {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(255, 62, 0, 0.25);
}

.service-item:hover a.btn-slide span,
.service-item:hover a.btn-slide i {
    color: #FFFFFF !important;
}

.service-item:hover a.btn-slide i {
    transform: translateX(4px);
}

/*** Redesigned Feature Section ***/
.feature-img-container {
    position: relative;
    height: 380px;
    max-width: 85%;
    margin: 20px auto;
    z-index: 1;
}

.feature-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.feature-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.feature-img-wrapper:hover img {
    transform: scale(1.04);
}

.feature-accent-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 20px;
    right: -20px;
    background: linear-gradient(135deg, rgba(255, 62, 0, 0.12) 0%, rgba(255, 106, 0, 0.04) 100%);
    border-radius: 20px;
    z-index: 1;
    transition: all 0.5s ease;
}

.col-lg-6:hover .feature-accent-bg {
    transform: translate(-8px, -8px);
}

.feature-item-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    text-align: left;
}

.feature-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 62, 0, 0.05);
    border-color: rgba(255, 62, 0, 0.1);
}

.feature-item-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 62, 0, 0.08);
    color: var(--primary);
    font-size: 24px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

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

/*** Redesigned Quote Form Section ***/
.quote-info-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    margin-top: 30px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    text-align: left;
}

.quote-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 62, 0, 0.06);
    border-color: rgba(255, 62, 0, 0.12);
}

.quote-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 62, 0, 0.08);
    color: var(--primary);
    font-size: 24px;
    margin-right: 20px;
    transition: all 0.3s ease;
}

.quote-info-card:hover .quote-info-icon {
    background: var(--primary);
    color: #FFFFFF;
}

.quote-form-container {
    background: #FFFFFF;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.quote-form-container:hover {
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.07);
}

.quote-form-container .form-control,
.quote-form-container .form-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    font-weight: 500;
    color: var(--dark);
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.quote-form-container .form-control:focus,
.quote-form-container .form-select:focus {
    background-color: #FFFFFF;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 62, 0, 0.12) !important;
    color: var(--dark);
}

.quote-form-container textarea.form-control {
    min-height: 120px;
    resize: none;
}

.btn-quote-submit {
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6a00 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 62, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-quote-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 62, 0, 0.45);
    background: linear-gradient(135deg, #ff6a00 0%, var(--primary) 100%);
}

/*** Redesigned Fact Counter Section ***/
.fact-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 62, 0, 0.06);
    border-color: rgba(255, 62, 0, 0.12);
}

.fact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 62, 0, 0.08);
    color: var(--primary);
    font-size: 24px;
    margin: 0 auto 20px auto;
    transition: all 0.4s ease;
}

.fact-card:hover .fact-icon {
    background: var(--primary);
    color: #FFFFFF;
    transform: scale(1.08) rotate(360deg);
}

.fact-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.fact-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

/*** Redesigned Premium Explore Button ***/
.btn-premium-explore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6a00 100%);
    color: #FFFFFF !important;
    border: none;
    box-shadow: 0 6px 20px rgba(255, 62, 0, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-premium-explore:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 62, 0, 0.45);
    background: linear-gradient(135deg, #ff6a00 0%, var(--primary) 100%);
}

.btn-premium-explore i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-premium-explore:hover i {
    transform: translateX(4px);
}

/*** Redesigned Contact Page Section ***/
.contact-map-container {
    position: relative;
    height: 100%;
    min-height: 450px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    z-index: 1;
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.quote-form-container .form-floating > .form-control {
    border-radius: 12px !important;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef !important;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    height: 58px; /* Correct float height */
}

.quote-form-container .form-floating > .form-control:focus {
    background-color: #FFFFFF;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(255, 62, 0, 0.12) !important;
}

.quote-form-container .form-floating > textarea.form-control {
    height: 120px !important;
}

.quote-form-container .form-floating > label {
    padding-left: 20px;
    font-weight: 500;
    color: #6c757d;
}

/*** Redesigned Testimonial Avatar Initials Badge ***/
.testimonial-avatar-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #ff6a00 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(255, 62, 0, 0.25);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.testimonial-item:hover .testimonial-avatar-circle {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 62, 0, 0.35);
}

/*** Responsive Layout Optimizations for Mobile (max-width: 991.98px) ***/
@media (max-width: 991.98px) {
    body {
        padding-top: 90px;
    }
    .navbar-light {
        min-height: 90px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1020;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }
    .navbar-light .navbar-brand {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .navbar-light .navbar-brand img {
        height: 70px !important;
        transform: scale(1.22) !important;
    }
    .navbar-light .navbar-collapse {
        background: #FFFFFF;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
        margin-top: 15px;
        padding: 24px !important;
        border: 1px solid rgba(0, 0, 0, 0.06);
        animation: slideDownCollapse 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    @keyframes slideDownCollapse {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .navbar-light .navbar-nav .nav-link {
        padding: 12px 20px !important;
        border-radius: 12px;
        transition: all 0.3s ease;
        font-weight: 600;
        color: var(--dark) !important;
        margin-bottom: 5px;
        display: flex;
        align-items: center;
    }
    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, rgba(255, 62, 0, 0.08) 0%, rgba(255, 106, 0, 0.03) 100%) !important;
        color: var(--primary) !important;
        padding-left: 28px !important;
    }
    .navbar-light .navbar-nav .nav-link::before {
        display: none !important;
    }
    .navbar-light .navbar-toggler {
        border: 2px solid rgba(255, 62, 0, 0.15) !important;
        background-color: rgba(255, 62, 0, 0.05) !important;
        padding: 8px 12px;
        border-radius: 10px;
        transition: all 0.3s ease !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto; /* Push toggler to the right when logo is absolute */
    }
    .navbar-light .navbar-toggler:hover,
    .navbar-light .navbar-toggler:focus {
        background-color: var(--primary) !important;
        border-color: var(--primary) !important;
        box-shadow: 0 0 0 3px rgba(255, 62, 0, 0.2) !important;
        outline: none;
    }
    .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%28255, 62, 0, 0.95%29' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        transition: all 0.3s ease;
        width: 22px;
        height: 22px;
    }
    .navbar-light .navbar-toggler:hover .navbar-toggler-icon,
    .navbar-light .navbar-toggler:focus .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='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
        transform: scale(0.95);
    }
}

/*** Mobile Layout Details (max-width: 767.98px) ***/
@media (max-width: 767.98px) {
    .container, .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .py-5 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
    .mb-5 {
        margin-bottom: 15px !important;
    }
    .my-5 {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    
    /* Hero Carousel on Mobile */
    .header-carousel .owl-carousel-item h5 {
        padding: 6px 15px !important;
        font-size: 11px !important;
        margin-bottom: 15px !important;
    }
    .header-carousel .owl-carousel-item h1 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    .header-carousel .owl-carousel-item p {
        font-size: 0.925rem !important;
        margin-bottom: 20px !important;
    }
    .header-carousel .btn-primary,
    .header-carousel .btn-secondary {
        padding: 12px 24px !important;
        font-size: 13px !important;
    }
    .header-carousel .owl-nav {
        display: none !important;
    }
    
    /* Page Header on Mobile */
    .page-header {
        margin-bottom: 2rem !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
    .page-header h1 {
        font-size: 2.25rem !important;
        font-weight: 800 !important;
        margin-bottom: 12px !important;
    }
    .page-header .breadcrumb {
        padding: 6px 18px !important;
    }
    
    /* About block on Mobile */
    .col-lg-6[style*="min-height: 400px"] {
        min-height: 280px !important;
        margin-bottom: 20px;
    }
    .col-lg-6[style*="min-height: 400px"] .position-relative {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    }
    
    /* Forms and Quote block */
    .quote-form-container {
        padding: 30px 20px !important;
        border-radius: 20px !important;
    }
    .about-title {
        font-size: 1.85rem !important;
        line-height: 1.3 !important;
    }
    
    /* Testimonial adjustments */
    .testimonial-item {
        padding: 25px 20px !important;
        margin: 15px 0 !important;
    }
    .testimonial-item p {
        font-size: 0.9rem !important;
    }
    
    /* Footer adjustments */
    .footer {
        margin-top: 1.5rem !important;
        padding-top: 40px !important;
    }
    .footer .py-5 {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .footer h4 {
        margin-bottom: 15px !important;
    }
}

/*** Small Screen Specific adjustments (max-width: 575.98px) ***/
@media (max-width: 575.98px) {
    .about-card, .feature-item-card {
        padding: 20px !important;
    }
    .about-card-icon, .feature-item-icon-box {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px !important;
    }
}