/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/*
    Created on : 9 Oct 2025, 4:19:43 pm
    Author     : anoop
*/

/* Mobile */
@media (max-width: 767.98px) {
    .topbar {
        height: auto;
        padding: 0px 0;
    }
    .topbar small {
        font-size: 0.65rem;
    }

    .site-header .brand-logo {
        max-height: 60px ;
    }

    .site-header  .navbar-nav .nav-link {
        font-size: 0.92rem;
        padding: 0.35rem 0.5rem;
    }

    /* On narrow screens hide text of phone/whatsapp but keep quote full width */
    .site-header  .btn-phone span, .btn-whatsapp span {
        display: none;
    }
    .site-header  .btn-phone, .btn-whatsapp {
        padding: 6px 8px;
    }
    .site-header .btn-quote {
        padding: 8px 12px;
        font-size: 0.95rem;
    }

    /* Ensure CTAs sit on the right without wrapping */
    .site-header  .nav-ctas {
        gap: 6px;
        flex-wrap: nowrap;
    }

    /* ===============================
    HERO SECTION - Mobile
    ================================ */

    .hero-section {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
    }

    .hero-section .hero-section__title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .hero-section .hero-section__subtitle {
        font-size: 0.95rem;
    }

    .hero-section .hero-section__image {
        margin-top: 1.5rem;
        max-width: 100%;
    }

    .hero-section .hero-section__badges {
        gap: 10px;
        font-size: 0.9rem;
    }

    .hero-section .hero-section__estimate-card {
        box-shadow: 0 4px 14px rgba(19, 24, 31, 0.06);
    }

    .hero-section .btn-warning {
        font-size: 0.9rem;
        padding: 10px;
    }

    .hero-section .btn-dark,
    .hero-section .btn-outline-warning {
        flex: 1 1 48%;
        font-size: 0.9rem;
        padding: 10px;
    }

    .hero-section .hero-section__stats {
        left: 5%;
        right: 5%;
        bottom: -6%;
        padding: 10px;
    }

    .hero-section .hero-section__stats .fw-bold {
        font-size: 1rem;
    }

    .hero-section .hero-section__btn-play {
        width: 44px;
        height: 44px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-section .hero-section__estimate-card {
        border-radius: 10px;
        padding: 0.25rem;
    }
    .hero-section .hero-section__estimate-form .form-control,
    .hero-section .hero-section__estimate-form .form-select {
        border-radius: 8px;
        font-size: 0.9rem;
    }
    .hero-section .hero-section__estimate-btn {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    .site-header .nav-ctas{
        width: 100%;
    }

    .site-header .nav-ctas .btn {
        padding: 4px 4px;
    }

    .funfacts-section {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }
    .funfacts-section .funfact-card {
        min-height: 150px;
        padding: 16px;
        border-radius: 12px;
    }
    .funfacts-section .funfact-icon {
        width: 56px;
        height: 56px;
        font-size: 1.05rem;
    }
    .funfacts-section .funfact-number {
        font-size: 1.4rem; /* ~22px */
    }
    .funfacts-section .funfact-text {
        font-size: 0.9rem;
    }

    /* More compact padding on mobile */
    .why-section .why-section__card {
        padding: 1.75rem 1rem;
        border-radius: 12px;
    }

    /* Stack: single column (col-md classes will make this happen), center content */
    .why-section .why-section__item {
        text-align: center;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .why-section .why-section__icon {
        width: 64px;
        height: 64px;
        font-size: 1.2rem;
    }

    .why-section .why-section__heading {
        font-size: 1.25rem;
    }

    .why-section .why-section__lead {
        font-size: 0.95rem;
        max-width: 48ch;
    }

    .why-section .why-section__title {
        font-size: 1rem;
    }

    .why-section .why-section__desc {
        font-size: 0.92rem;
    }

    recent-projects .project-badge-left,
    .recent-projects .project-badge-right {
        top: 8px;
        padding: .28rem .45rem;
        font-size: .75rem;
    }
    .recent-projects .card-img-top img {
        object-position: center top;
    }

    .cta-section {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .cta-section .cta-box {
        padding: 20px;
        border-radius: 12px;
        max-width: 96%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-section .cta-title {
        font-size: 1.1rem;
    }

    .cta-section .cta-subtitle {
        font-size: 0.92rem;
        margin-bottom: 14px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 10px;
    }

    .cta-actions .btn {
        width: 100%;
        min-width: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .how-we-work {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .how-we-work__title {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }
    .how-we-work__desc {
        font-size: 0.92rem;
        padding: 0 12px;
    }

    /* stack cards vertically and remove connector line */
    .how-we-work .how-we-work__steps::before {
        display: none !important;
    }

    .how-we-work .how-we-work__card {
        border-radius: 12px;
        padding: 18px;
    }

    .how-we-work .how-we-work__card .step-number {
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 0.95rem;
    }
    .how-we-work .how-we-work__card .icon-circle {
        width: 54px;
        height: 54px;
        font-size: 1.05rem;
    }
    .how-we-work .how-we-work__card .duration-pill {
        padding: 5px 8px;
        font-size: 0.78rem;
    }

    /* spacing: allow cards to breathe vertically */
    .how-we-work .how-we-work__card {
        margin-bottom: 10px;
    }

    /* remove hover translation on touch devices to avoid jumpiness */
    .how-we-work .how-we-work__card:hover {
        transform: none;
        box-shadow: 0 8px 20px rgba(19,24,31,0.06);
    }

    .process-works .process-works__card {
        padding: 1rem;
        border-radius: 12px;
    }

    .process-works .process-works__item {
        text-align: center;
        padding: 1rem;
        margin-bottom: 1rem;
        min-height: 160px;
    }

    /* Stack items full width - grid already stacks but make spacing explicit */
    .process-works .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .process-works .process-works__icon {
        width: 56px;
        height: 56px;
        font-size: 1.05rem;
    }

    .process-works .process-works__title {
        font-size: 0.98rem;
    }

    .process-works .process-works__desc {
        font-size: 0.9rem;
        max-width: 60ch;
    }

    /* reduce transforms on touch devices to avoid jumpiness */
    .process-works .process-works__item:hover,
    .process-works .process-works__item:focus-within {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgba(19,24,31,0.07);
    }

    .process-works .process-works__item:hover .process-works__icon,
    .process-works .process-works__item:focus-within .process-works__icon {
        transform: scale(1.12) rotate(4deg);
        box-shadow: 0 12px 22px rgba(0,0,0,0.06);
    }

    .testimonials-section .testimonials-section__featured {
        padding: 18px;
    }

    .testimonials-section .testimonials-section__video {
        height: 160px;
    }

    .testimonials-section .testimonials-section__quote {
        font-size: 1rem;
    }

    .testimonials-section .testimonials-section__thumb {
        width: 48px;
        height: 48px;
    }

    .testimonials-section .testimonials-section__play-btn {
        width: 48px;
        height: 48px;
    }

    .testimonials-section #googleReviewsModal .modal-dialog {
        max-width: 680px;
        margin: 1.75rem;
    }

    /* Dialog becomes almost full width but still rounded */
    #googleReviewsModal .modal-dialog {
        margin: 1.25rem;
        max-width: calc(100% - 2.5rem);
    }

    #googleReviewsModal .modal-content {
        border-radius: 12px;
    }

    #googleReviewsModal .modal-dialog {
        max-width: 96%;
        margin: 10px auto;
    }

    /* stack header content for small screens */
    #googleReviewsModal .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 12px;
    }

    #googleReviewsModal .gr-right {
        position: absolute;
        right: 12px;
        top: 12px;
        text-align: right;
    }

    #googleReviewsModal .gr-google-logo {
        width: 44px;
        height: 44px;
        padding: 4px;
    }
    #googleReviewsModal .gr-business-name {
        font-size: 1rem;
    }
    #googleReviewsModal .gr-business-address {
        font-size: 0.78rem;
    }

    #googleReviewsModal .google-review {
        padding: 12px;
    }
    #googleReviewsModal .google-review__text {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    #googleReviewsModal .btn-close {
        top: 8px;
        right: 8px;
        width: 36px;
        height: 36px;
    }

    .section-trust-factors .stats-card {
        padding: 18px;
        border-radius: 10px;
    }

    .section-trust-factors .stats-card__title {
        font-size: 16px;
        margin-bottom: 0.75rem;
        text-align: center;
    }

    .section-trust-factors .stats-card__grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .section-trust-factors .stat {
        width: 100%;
        max-width: 420px;
        text-align: center;
        padding: 8px 6px;
    }

    .section-trust-factors .stat__value {
        font-size: 24px;
    }

    .section-trust-factors .stat__small {
        font-size: 14px;
    }

    .section-trust-factors .stat__label {
        font-size: 12px;
        margin-top: 4px;
    }

    .section-footer-buildmasters {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    /* Stack columns: spacing and readability */
    .section-footer-buildmasters .row {
        row-gap: 1.25rem;
    }

    /* Brand enlarge slightly for mobile */
    .section-footer-buildmasters  .section-footer-buildmasters__brand .section-footer-buildmasters__logo {
        font-size: 1.25rem;
    }

    .section-footer-buildmasters  .section-footer-buildmasters__desc {
        font-size: 0.92rem;
    }

    /* Make lists more compact on mobile */
    .section-footer-buildmasters  .section-footer-buildmasters__links li,
    .section-footer-buildmasters  .section-footer-buildmasters__areas li {
        margin-bottom: 0.5rem;
    }

    /* CTA full width on mobile */
    .section-footer-buildmasters .section-footer-buildmasters__cta {
        display: block;
        width: 100%;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
        border-radius: 12px;
    }

    /* Bottom bar stack */
    .section-footer-buildmasters  .section-footer-buildmasters .row.mt-5 {
        flex-direction: column;
        gap: 0.4rem;
    }
    .section-footer-buildmasters  .section-footer-buildmasters .row.mt-5 .col-md-6 {
        text-align: left;
    }

    /* Slightly larger tap targets for contact icons/links */
    .section-footer-buildmasters  .section-footer-buildmasters__social a {
        display: inline-block;
        padding: 6px;
    }

    .section-services-buildmasters .section-services-buildmasters__card {
        box-shadow: 0 6px 14px rgba(11,18,32,0.06);
    }

    .section-house-tours {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
    .section-house-tours .section-house-tours__title {
        font-size: 1.25rem;
    }
    .section-house-tours .section-house-tours__lead {
        font-size: 0.92rem;
    }
    .section-house-tours .section-house-tours__play-btn {
        width: 56px;
        height: 56px;
    }
    .section-house-tours .section-house-tours__card {
        border-radius: 10px;
    }
    .section-house-tours .section-house-tours__meta {
        padding: .9rem;
    }
    .section-house-tours .section-house-tours__video-title {
        font-size: 0.98rem;
    }

    /* Make sure the bar does not exceed viewport width padding */
    .section-cta-bar .section-cta-bar__inner {
        padding-left: 12px;
        padding-right: 12px;
    }

    /* Reduce paddings and font-size to keep single line */
    .section-cta-bar .section-cta-bar__btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.88rem;
        border-radius: 8px;
    }

    /* Slightly tighter gap on mobile */
    .section-cta-bar .section-cta-bar__inner {
        gap: 0.5rem;
    }

    /* If the viewport becomes extremely narrow, allow horizontal scrolling but keep single line */
    .section-cta-bar .section-cta-bar__inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* firefox */
    }
    .section-cta-bar .section-cta-bar__inner::-webkit-scrollbar {
        display: none;
    } /* webkit */

    .section-service-areas {
        padding: 0.75rem;
    }
    .section-service-areas h5 {
        font-size: 1rem;
    }
    .section-service-areas .section-service-areas__badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.55rem;
    }

    .section-thank-you {
        padding-top: 1rem;
        padding-bottom: 1.5rem;
    }
    .section-thank-you .section-thank-you__content {
        padding: 1rem;
        border-radius: 10px;
    }
    .section-thank-you .section-thank-you__title {
        font-size: 1.25rem;
    }
    .section-thank-you .section-thank-you__lead {
        font-size: 0.95rem;
    }
    .section-thank-you .section-thank-you__reassure {
        font-size: 0.88rem;
    }
    .section-thank-you .section-thank-you__btn-call,
    .section-thank-you .section-thank-you__btn-wa,
    .section-thank-you .section-thank-you__btn-book {
        width: 100%;
        justify-content: center;
        min-width: 0;
    }
    .section-thank-you .section-thank-you__trust {
        gap: 0.5rem;
        font-size: 0.85rem;
    }
    .section-thank-you .section-thank-you__summary {
        margin-top: 0.5rem;
        padding: 0.9rem;
    }
    .section-thank-you .section-thank-you__steps {
        font-size: 0.92rem;
        padding-left: 1rem;
    }
    .section-thank-you .vr {
        display: none;
    }

    .section-social-engagement {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .section-social-engagement .section-social-engagement__title {
        font-size: 1.25rem;
    }
    .section-social-engagement .section-social-engagement__lead {
        font-size: 0.95rem;
        padding: 0 0.75rem;
    }
    /* allow horizontal scroll on tiny screens to keep buttons comfortable without wrapping awkwardly */
    .section-social-engagement .section-social-engagement__buttons {
        gap: 0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding-bottom: 0.25rem;
    }
    .section-social-engagement .section-social-engagement__btn {
        min-width: 170px;
        flex: 0 0 auto;
    }
    .section-social-engagement .section-social-engagement__note {
        font-size: 0.82rem;
    }

}