/*
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:50 pm
    Author     : anoop
*/

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {

    /* Slightly smaller header height so it feels compact on tablet */
    .site-header .navbar {
        min-height: 68px; /* was 80px */
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }

    /* Logo scale down on tablet */
    .site-header .brand-logo {
        max-height: 34px; /* reduce from 40px */
        transition: max-height .12s ease;
    }

    /* Reduce nav link padding & font-size so more links can fit centered */
    .site-header .navbar-nav .nav-link {
        padding: 0.4rem 0.6rem; /* smaller horizontal padding */
        font-size: 0.95rem;
    }

    /* Reduce space between nav items (center area) */
    .site-header .navbar-nav {
        gap: 8px;
    }

    /* CTAs - make them slightly more compact */
    .site-header .nav-ctas .btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .site-header .btn-phone, .btn-whatsapp {
        padding: 6px 10px;
    }

    .site-header .btn-quote {
        padding: 7px 10px;
    }

    /* Reduce gap between CTA buttons so they stay on one line */
    .site-header .nav-ctas {
        gap: 8px;
        white-space: nowrap; /* keep CTAs on a single line */
    }

    /* Give the centered nav slightly more priority by allowing it to shrink a bit */
    .site-header .collapse.navbar-collapse {
        flex: 1 1 auto;
    }

    /* Prevent overflow: allow the center nav to scroll horizontally if still tight */
    .site-header .navbar-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* hide the scrollbar visually while still allowing scroll (optional) */
    .site-header .navbar-nav::-webkit-scrollbar {
        height: 4px;
    }
    .site-header .navbar-nav::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.08);
        border-radius: 2px;
    }

    /* Accessibility: keep focus outlines visible */
    .site-header .btn:focus, .nav-link:focus {
        outline: 3px solid rgba(246,193,29,0.14);
        outline-offset: 2px;
    }

    /* ===============================
    HERO SECTION - Tablet
    ================================ */

    .hero-section .hero-section__title {
        font-size: 2.4rem;
    }
    .hero-section .hero-section__subtitle {
        font-size: 1rem;
    }
    .hero-section .hero-section__image {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-section .hero-section__stats {
        bottom: -5%;
        padding: 10px 14px;
    }
    .hero-section .hero-section__stats .fw-bold {
        font-size: 18px;
    }

    .hero-section .hero-section__estimate-card {
        padding: 0.5rem;
        border-radius: 16px;
    }
    .hero-section .hero-section__estimate-form .form-control,
    .hero-section .hero-section__estimate-form .form-select {
        font-size: 1rem;
    }
    .hero-section .hero-section__estimate-btn {
        font-size: 1rem;
    }

    .funfacts-section .funfact-card {
        min-height: 160px;
        padding: 18px;
        border-radius: 14px;
    }
    .funfacts-section .funfact-icon {
        width: 64px;
        height: 64px;
        font-size: 1.2rem;
    }
    .funfacts-section .funfact-number {
        font-size: 1.75rem; /* ~28px */
    }
    .funfacts-section .funfact-text {
        font-size: 0.93rem;
    }

    /* Slightly tighter card padding on tablets */
    .why-section .why-section__card {
        padding: 2.25rem;
    }

    /* Two-up grid: two columns per row (col-md-6 in markup already ensures this)
       but we adjust spacing and make icons slightly smaller */
    .why-section .why-section__icon {
        width: 72px;
        height: 72px;
        font-size: 1.45rem;
    }

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

    .why-section .why-section__lead {
        max-width: 60ch;
        font-size: 0.98rem;
    }

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


    .recent-projects .project-badge-left,
    .recent-projects .project-badge-right {
        top: 10px;
        padding: .3rem .55rem;
        font-size: .78rem;
    }
    .recent-projects .project-badge-left {
        left: 10px;
    }
    .recent-projects .project-badge-right {
        right: 10px;
    }

    .cta-section .cta-box {
        padding: 30px 32px;
        max-width: 900px;
        border-radius: 12px;
    }

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

    .cta-section .cta-subtitle {
        font-size: 0.94rem;
    }

    .cta-actions .btn {
        min-width: 150px;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .how-we-work .how-we-work__title {
        font-size: 1.6rem;
    }

    .how-we-work .how-we-work__desc {
        font-size: 0.95rem;
    }

    /* Show a shorter connector between the two center columns (optional) */
    .how-we-work .how-we-work__steps {
        padding-top: 20px;
        padding-bottom: 8px;
    }


    /* add small connector lines between the two cards in each row */
    .how-we-work  .how-we-work__card {
        margin-top: 8px;
    }

    /* reduce sizes slightly */
    .how-we-work  .how-we-work__card .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 0.95rem;
    }

    .how-we-work .how-we-work__card .icon-circle {
        width: 58px;
        height: 58px;
        font-size: 1.15rem;
    }

    .how-we-work  .how-we-work__card .duration-pill {
        padding: 5px 9px;
        font-size: 0.8rem;
    }

    .process-works .process-works__card {
        padding: 1.5rem 1.5rem;
    }

    .process-works .process-works__item {
        min-height: 210px;
        padding: 0.9rem;
    }

    .process-works .process-works__icon {
        width: 64px;
        height: 64px;
        font-size: 1.25rem;
    }

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

    .process-works .process-works__desc {
        font-size: 0.92rem;
        max-width: 44ch;
    }

    /* Slightly reduce hover magnitude on tablet for stability */
    .process-works .process-works__item:hover {
        transform: translateY(-6px);
    }

    .process-works .process-works__item:hover .process-works__icon {
        transform: scale(1.18) rotate(6deg);
    }

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

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

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

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

    .testimonials-section #googleReviewsModal .modal-dialog {
        max-width: 900px;
    }

    /* Slightly smaller dialog on tablet */
    #googleReviewsModal .modal-dialog {
        max-width: 820px;
        margin: 2rem auto;
    }

    /* header spacing slightly reduced */
    #googleReviewsModal .modal-dialog {
        max-width: 900px;
    }

    #googleReviewsModal .gr-google-logo {
        width: 48px;
        height: 48px;
        padding: 5px;
    }
    #googleReviewsModal .btn-close {
        width: 38px;
        height: 38px;
    }

    #googleReviewsModal .gr-rating-number {
        font-size: 1.6rem;
    }
    #googleReviewsModal .gr-right {
        min-width: 120px;
    }

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

    .section-trust-factors .stats-card {
        padding: 26px;
        border-radius: 12px;
    }

    .section-trust-factors .stats-card__title {
        font-size: 18px;
    }

    .section-trust-factors .stats-card__grid {
        gap: 1.25rem;
    }

    .section-trust-factors .stat {
        flex: 1 1 150px;
        max-width: 220px;
        min-width: 140px;
    }

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

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

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

    /* slightly tighter paddings for tablet */
    .section-faq .section-faq__panel {
        padding: 20px;
    }
    .section-faq .section-faq__accordion .accordion-button {
        padding: 14px 16px;
        font-size: 15px;
    }
    .section-faq .section-faq__accordion .accordion-body {
        padding: 12px 16px 14px;
        font-size: 14px;
    }

    /* Right column stacks visually closer */
    .section-faq  .section-faq .col-lg-4 {
        margin-top: 0;
    }

    /* make title slightly smaller on tablet */
    .section-faq .section-faq__title {
        font-size: 26px;
    }

    /* ---------- section-footer-buildmasters (TABLET) ---------- */
    /* Slightly reduce paddings and font sizes for tablet */
    .section-footer-buildmasters {
        padding-top: 44px;
        padding-bottom: 44px;
    }

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

    .section-footer-buildmasters .section-footer-buildmasters__heading {
        font-size: 1rem;
    }

    /* Put service areas into two equal columns on tablet */
    .section-footer-buildmasters .row > .col-12.col-md-12.col-lg-4 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    /* Contact & social spacing */
    .section-footer-buildmasters  .section-footer-buildmasters__social a {
        margin-right: 0.9rem;
    }

    /* CTA becomes full-width-ish on tablets */
    .section-footer-buildmasters .section-footer-buildmasters__cta {
        display: inline-block;
        min-width: 220px;
    }

    .section-services-buildmasters .section-services-buildmasters__title {
        font-size: 1.8rem;
    }
    .section-services-buildmasters .section-services-buildmasters__lead {
        font-size: 0.94rem;
    }
    /* make cards slightly taller on tablets to balance two-column layout */
    .section-services-buildmasters .section-services-buildmasters__card {
        min-height: 150px;
    }
    .section-services-buildmasters .section-services-buildmasters__icon {
        width: 52px;
        height: 52px;
        border-radius: 10px;
        font-size: 1.05rem;
    }
    .section-services-buildmasters .section-services-buildmasters__service-title {
        font-size: 0.98rem;
    }
    .section-services-buildmasters .section-services-buildmasters__excerpt {
        font-size: 0.9rem;
    }
    /* reduce hover lift a bit for tablet */
    .section-services-buildmasters .section-services-buildmasters__card:hover {
        transform: translateY(-6px);
    }

    .section-house-tours {
        padding-bottom: 3rem;
    }
    .section-house-tours .section-house-tours__title {
        font-size: 1.8rem;
    }
    .section-house-tours .section-house-tours__play-btn {
        width: 76px;
        height: 76px;
    }
    .section-house-tours .section-house-tours__card {
        min-height: 260px;
    }

    .section-cta-bar .section-cta-bar__inner {
        gap: 0.6rem;
        padding-left: 10px;
        padding-right: 10px;
    }
    .section-cta-bar .section-cta-bar__btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.92rem;
    }
    .section-cta-bar .section-cta-bar__btn--whatsapp {
        border-width: 1.8px;
    }

    .section-service-areas {
        padding: 1rem;
    }
    .section-service-areas .section-service-areas__badge {
        font-size: 0.84rem;
        padding: 0.4rem 0.6rem;
    }

    .section-thank-you .section-thank-you__content {
        padding: 1.7rem;
    }
    .section-thank-you .section-thank-you__title {
        font-size: 1.6rem;
    }
    .section-thank-you .section-thank-you__lead {
        font-size: 0.98rem;
    }
    .section-thank-you .section-thank-you__btn-book {
        min-width: 200px;
    }
    .section-thank-you .section-thank-you__summary {
        padding: 1rem;
    }
    .section-thank-you .section-thank-you__steps {
        font-size: 0.95rem;
    }

    .section-social-engagement .section-social-engagement__title {
        font-size: 1.7rem;
    }
    .section-social-engagement .section-social-engagement__btn {
        min-width: 220px;
        padding: 10px 20px;
    }
    .section-social-engagement .section-social-engagement__buttons {
        gap: 1rem;
    }

}