/********** Superfast Custom CSS **********/

/* Modern Minimal Font: Plus Jakarta Sans */
body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 400;
    letter-spacing: 0.1px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0;
}

.btn,
.navbar .navbar-nav .nav-link,
.service-tabs .nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.2px;
}

p, li, span, a, label, input, textarea, select {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Reduce oversized display headings site-wide */
.display-1 {
    font-size: 2.5rem !important;
    line-height: 1.25;
}

.display-2 {
    font-size: 2.25rem !important;
    line-height: 1.25;
}

.display-3 {
    font-size: 2rem !important;
    line-height: 1.3;
}

.display-4 {
    font-size: 1.75rem !important;
    line-height: 1.3;
}

.display-5 {
    font-size: 1.5rem !important;
    line-height: 1.35;
}

.display-6 {
    font-size: 1.25rem !important;
}

@media (min-width: 992px) {
    .display-1 {
        font-size: 3rem !important;
    }
    .display-2 {
        font-size: 2.65rem !important;
    }
    .display-3 {
        font-size: 2.35rem !important;
    }
    .display-4 {
        font-size: 2rem !important;
    }
    .display-5 {
        font-size: 1.65rem !important;
    }
    .display-6 {
        font-size: 1.4rem !important;
    }
}

/* Trim regular heading and body text sizes slightly */
h1, .h1 { font-size: 1.75rem; }
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.25rem; }
h4, .h4 { font-size: 1.1rem; }
h5, .h5 { font-size: 1rem; }
h6, .h6 { font-size: 0.9rem; }

body {
    font-size: 0.95rem;
}

.fs-5 {
    font-size: 1.05rem !important;
}

.fs-4 {
    font-size: 1.15rem !important;
}
.navbar .navbar-brand {
    height: 105px;
}

/* Header logo - enlarge for clearer readability of the tagline */
.navbar .navbar-brand img[src*="logo.png"] {
    height: 90px !important;
    width: auto !important;
    max-width: none !important;
}

/* Sticky Header - stays visible on scroll across all pages */
nav.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

/* Service Category Tabs */
.service-tabs .nav-link {
    text-transform: uppercase;
    color: #1B1B1B;
    background: #F3F3F3;
    border-radius: 50px;
    padding: 12px 28px;
    margin: 5px;
    font-size: 14px;
    transition: .3s;
}

.service-tabs .nav-link.active,
.service-tabs .nav-link:hover {
    background: #F55B14;
    color: #FFFFFF;
}

/* Service Cards (icon based) */
.service-card {
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    transition: .4s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    border-color: #F55B14;
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    background: rgba(245, 91, 20, .1);
    color: #F55B14;
    border-radius: 50%;
    font-size: 28px;
    margin: 0 auto;
}

/* Inner Page Header Banner */
.page-header {
    background: linear-gradient(rgba(10, 15, 30, .82), rgba(10, 15, 30, .82)), url(../img/img-1920x1080-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item a {
    color: #FFFFFF;
    text-decoration: none;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #FFFFFF;
}

.floating-btn {
    position: fixed;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
    text-decoration: none;
    animation: pulse 2s infinite;
}

.call-btn {
    left: 25px;
    bottom: 25px;
    background: #F55B14;
}

.whatsapp-btn {
    right: 25px;
    bottom: 25px;
    background: #25D366;
}

.floating-btn:hover {
    color: #FFFFFF;
    transform: scale(1.08);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 91, 20, .4);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(245, 91, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 91, 20, 0);
    }
}

.whatsapp-btn {
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer text sizing */
.footer h3 {
    font-size: 1.15rem !important;
    margin-bottom: 1.25rem !important;
}

.footer .btn.btn-link {
    font-size: 0.9rem;
}

.footer p {
    font-size: 0.9rem;
}

.footer .copyright {
    font-size: 0.85rem;
}
.back-to-top {
    right: 25px !important;
    bottom: 95px !important;
    z-index: 999;
}

@media (max-width: 768px) {
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .call-btn {
        left: 15px;
        bottom: 20px;
    }
    .whatsapp-btn {
        right: 15px;
        bottom: 20px;
    }
    .back-to-top {
        right: 15px !important;
        bottom: 80px !important;
    }
}

/* ============================================
   Mobile Responsive Fixes (max-width: 767.98px)
   ============================================ */
@media (max-width: 767.98px) {

    /* Navbar / Logo */
    .navbar .navbar-brand {
        height: auto;
        padding: .4rem .75rem !important;
        border-end-width: 0 !important;
        border-right: none !important;
        min-width: 0;
        flex-shrink: 1;
    }

    .navbar .navbar-brand img {
        height: 40px !important;
        width: auto !important;
        max-width: 160px !important;
    }

    .navbar .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        margin-left: auto !important;
        margin-right: .5rem !important;
        border: 1px solid rgba(0, 0, 0, .15) !important;
        border-radius: 6px !important;
        background-color: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
    }

    .navbar .navbar-toggler-icon {
        width: 1.4em;
        height: 1.4em;
        display: inline-block !important;
    }

    .navbar-collapse {
        max-height: 75vh;
        overflow-y: auto;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        background: #fff;
        box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
        position: relative;
        z-index: 1055;
    }

    .navbar .navbar-nav .nav-link {
        padding: 12px 0 !important;
        font-size: 15px;
    }

    .navbar-phone {
        padding: 1rem !important;
        border-top: 1px solid #EEEEEE;
        border-left: none !important;
        justify-content: center;
    }

    .navbar-phone .btn {
        width: 100%;
    }

    /* Hero Carousel — force the background photo to always render as a
       full-cover image with a readable overlay, regardless of which
       banner (old display-1 style or new banner2 style) is in use. */
    .header-carousel .owl-carousel-item,
    .header-carousel .owl-carousel-item.banner2-slide {
        min-height: 420px !important;
        height: auto;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center;
        display: block !important;
        z-index: 0;
    }

    .header-carousel .owl-carousel-inner {
        position: absolute !important;
        inset: 0 !important;
        z-index: 1;
        display: flex !important;
        align-items: flex-end !important;
        padding-bottom: 24px;
        background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, .2) 65%, rgba(0, 0, 0, .05));
    }

    .header-carousel .row {
        justify-content: center !important;
    }

    .header-carousel .banner2-text,
    .header-carousel .col-9,
    .header-carousel .col-10,
    .header-carousel .col-sm-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center;
    }

    .header-carousel h1.display-1,
    .header-carousel .banner2-text h1 {
        font-size: 1.4rem !important;
        line-height: 1.3;
    }

    .header-carousel .fs-5,
    .header-carousel .banner2-text p {
        font-size: 0.9rem !important;
        display: none !important;
    }

    .header-carousel .btn {
        display: inline-block !important;
        width: auto !important;
        padding: .6rem 1.4rem !important;
        font-size: .85rem;
    }

    /* Feature / Stats */
    .display-5 {
        font-size: 1.35rem !important;
    }

    /* About / Why Us / Quote image blocks: shrink the fixed min-height
       so images don't dominate the screen on small phones */
    .container.about [style*="min-height: 400px"],
    .container.feature [style*="min-height: 400px"],
    .container.quote [style*="min-height: 400px"] {
        min-height: 220px !important;
    }

    .about-text .p-lg-5,
    .feature-text .p-lg-5,
    .quote-text .p-lg-5 {
        padding: 1.75rem 1rem !important;
    }

    /* Why Us - stat blocks stack cleanly */
    #why-us .col-6 .btn-lg-square {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    #why-us .col-6 .ms-4 {
        margin-left: .85rem !important;
    }

    #why-us h5 {
        font-size: .85rem !important;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem !important;
    }

    .service-tabs .nav-link {
        padding: 10px 18px;
        font-size: 12px;
    }

    /* Areas We Serve badges */
    #areas .badge {
        font-size: .8rem;
        padding: .6rem !important;
    }

    /* Buttons full width for easier tapping on key CTAs
       (the hero carousel CTA is kept auto-width above so it doesn't
       render as a giant full-bleed bar over the banner photo) */
    .quote-text .btn.btn-primary,
    #contact .btn.btn-primary {
        width: 100%;
    }

    /* Forms */
    .form-floating {
        margin-bottom: .5rem;
    }

    /* Page header (inner pages) */
    .page-header {
        padding: 2.5rem 0 !important;
    }

    .page-header .display-2 {
        font-size: 1.5rem !important;
    }

    .page-header .breadcrumb {
        font-size: .85rem;
    }

    /* Footer - keep left aligned on mobile for proper readability */
    .footer .col-lg-3 {
        text-align: left;
    }

    .footer .d-flex.pt-2 {
        justify-content: flex-start;
    }

    .footer .btn.btn-link {
        text-align: left;
    }

    .footer .copyright .row > div {
        font-size: .8rem;
        text-align: left !important;
    }

    /* Floating call/whatsapp buttons stay clear of content */
    .floating-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* Extra-small phones */
@media (max-width: 400px) {
    .header-carousel h1.display-1 {
        font-size: 1.35rem !important;
    }

    .navbar .navbar-brand img {
        height: 34px !important;
        width: auto !important;
        max-width: 125px !important;
    }

    .navbar .navbar-toggler {
        width: 36px !important;
        height: 36px !important;
    }

    #areas .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Footer logo - white background so it's visible on dark footer */
.footer img[src*="logo.png"] {
    background: #FFFFFF;
    height: 70px !important;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

/* Follow Us - Social Icons (Contact Page) */
.social-follow {
    position: static;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.social-follow .btn-social {
    position: static;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 20px;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s, opacity .3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.social-follow .btn-social:hover {
    transform: translateY(-5px);
    color: #FFFFFF;
    opacity: .92;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.social-follow .btn-social.social-whatsapp {
    background: #25D366;
}

.social-follow .btn-social.social-facebook {
    background: #1877F2;
}

.social-follow .btn-social.social-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}