/* ==================== TABLET LANDSCAPE (991px and below) ==================== */
@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }

    /* NAVBAR */
    .navbar-nav {
        gap: 2px;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 10px;
    }

    .location-text {
        font-size: 13px;
    }

    /* HERO */
    .hero-box {
        min-height: 420px;
        padding: 35px;
    }

    .hero-content {
        padding: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .slide-indicators {
        bottom: 20px;
        left: 40px;
    }

    /* SECTION TITLES */
    .section-title h2 {
        font-size: 32px;
    }

    /* CIRCLE LINKS */
    .subpages-wrap {
        display: flex;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .circle-link {
        width: 90px;
        height: 90px;
        font-size: 13px;
    }

    /* ABOUT SECTION */
    .about-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-left, .about-right {
        width: 100%;
    }

    /* PROMO BOX */
    .promo-box {
        min-height: 280px;
        padding: 25px;
    }

    .promo-content h3 {
        font-size: 24px;
    }

    /* SERVICE BOX */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-box {
        padding: 20px;
    }

    /* TEAM GRID */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* PROCESS */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-step {
        flex-direction: row;
    }

    /* BUTTON */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* REVIEW SECTION */
    .review-slider {
        padding: 20px;
    }
}

/* ==================== TABLET PORTRAIT (767px and below) ==================== */
@media (max-width: 767px) {

    .container {
        padding: 0 15px;
    }

    /* NAVBAR */
    .navbar-wrapper {
        gap: 8px;
    }

    .navbar-nav {
        display: none;
    }

    .custom-navbar .navbar-nav {
        display: flex;
    }

    .logo-img {
        width: min(112px, 40vw);
        height: 46px;
        border-radius: 16px;
    }

    .location-box {
        padding: 6px 10px;
        font-size: 12px;
    }

    .flag-icon {
        width: 20px;
        height: 20px;
    }

    .location-icon {
        font-size: 14px;
    }

    /* HERO */
    .hero-box {
        min-height: 360px;
        padding: 25px;
    }

    .hero-content {
        padding: 30px;
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .slide-indicators {
        bottom: 15px;
        left: 20px;
        gap: 8px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 12px;
        height: 12px;
    }

    /* SECTION TITLES */
    .section-title {
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 14px;
    }

    /* CIRCLE LINKS */
    .subpages-mobile-only {
        display: block;
    }

    .subpages-desktop-only {
        display: none;
    }

    .subpages-wrap {
        display: flex;
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }

    .subpages-mobile-only .subpages-wrap {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 6px 4px 10px;
    }

    .subpages-mobile-only .subpages-wrap::-webkit-scrollbar {
        display: none;
    }

    .subpages-mobile-only .subpages-wrap {
        scrollbar-width: none;
    }

    .circle-link {
        width: 75px;
        height: 75px;
        font-size: 11px;
    }

    .subpages-mobile-only .circle-link {
        flex: 0 0 auto;
        scroll-snap-align: center;
    }

    .circle-link i {
        font-size: 20px;
    }

    /* ABOUT SECTION */
    .about-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-left p, .about-right p {
        font-size: 14px;
    }

    .about-right {
        height: 300px;
    }

    /* PROMO BOX */
    .promo-box {
        min-height: 260px;
        padding: 20px;
        border-radius: 20px;
    }

    .promo-content h3 {
        font-size: 20px;
    }

    .promo-content p {
        font-size: 13px;
    }

    /* SERVICE GRID */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-box {
        padding: 18px;
    }

    .service-box h4 {
        font-size: 16px;
    }

    .service-box p {
        font-size: 13px;
    }

    /* TEAM GRID */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-box {
        min-height: 280px;
    }

    .team-name {
        font-size: 14px;
    }

    .team-position {
        font-size: 12px;
    }

    /* PROCESS */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .process-box {
        padding: 18px;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .process-number {
        margin-bottom: 10px;
    }

    /* BUTTON */
    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .btn-brand, .btn-light-brand, .btn-outline-brand {
        width: 100%;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    /* REVIEW */
    .review-box {
        padding: 15px;
    }

    .review-text {
        font-size: 13px;
    }

    .review-author {
        font-size: 12px;
    }
}

/* ==================== MOBILE (575px and below) ==================== */
@media (max-width: 575px) {


    .container {
        padding: 0 12px;
    }

    /* NAVBAR */
    .navbar-wrapper {
        gap: 6px;
    }

    .logo-img {
        width: min(104px, 38vw);
        height: 42px;
        border-radius: 16px;
    }

    .location-box {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }

    .flag-icon {
        width: 18px;
        height: 18px;
    }

    /* HERO */
    .hero-box {
        min-height: 320px;
        padding: 20px;
    }

    .hero-content {
        padding: 20px;
        max-width: 100%;
    }

    .hero-content {
        text-align: left;
    }

    .hero-content h1 {
        font-size: 22px;
        line-height: 1.3;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.5;
        margin: 15px 0;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .slide-indicators {
        bottom: 12px;
        left: 15px;
        gap: 6px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    .indicator.active {
        width: 10px;
        height: 10px;
    }

    /* SECTION TITLES */
    .section-title {
        margin-bottom: 25px;
    }

    .section-title h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }

    .section-title p {
        font-size: 13px;
    }

    .section-left h2 {
        text-align: left;
        font-size: 22px;
    }

    /* CIRCLE LINKS */
    .subpages-mobile-only {
        display: block;
    }

    .subpages-desktop-only {
        display: none;
    }

    .subpages-wrap {
        display: flex;
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .subpages-mobile-only .subpages-wrap {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 6px 2px 10px;
    }

    .circle-link {
        width: 70px;
        height: 70px;
        font-size: 10px;
    }

    .circle-link i {
        font-size: 18px;
    }

    /* ABOUT SECTION */
    .about-row {
        gap: 25px;
    }

    .about-left p, .about-right p {
        font-size: 13px;
    }

    .about-right {
        height: 250px;
    }

    /* PROMO BOX */
    .promo-box {
        min-height: 240px;
        padding: 18px;
        border-radius: 16px;
    }

    .promo-content h3 {
        font-size: 18px;
    }

    .promo-content p {
        font-size: 12px;
    }

    .promo-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    /* SERVICE GRID */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-box {
        padding: 15px;
    }

    .service-box i {
        font-size: 28px;
    }

    .service-box h4 {
        font-size: 15px;
        margin: 10px 0;
    }

    .service-box p {
        font-size: 12px;
    }

    /* TEAM GRID */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .team-box {
        min-height: 250px;
    }

    .team-name {
        font-size: 13px;
    }

    .team-position {
        font-size: 11px;
    }

    /* PROCESS SECTION */
    .process-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .process-box {
        padding: 15px;
    }

    .process-box h4 {
        font-size: 15px;
    }

    .process-box p {
        font-size: 12px;
    }

    /* BUTTON */
    .btn {
        padding: 9px 16px;
        font-size: 12px;
        border-radius: 25px;
    }

    /* FORM ELEMENTS */
    input[type="text"],
    input[type="email"],
    textarea {
        padding: 10px 12px;
        font-size: 13px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* REVIEW */
    .review-box {
        padding: 12px;
    }

    .review-text {
        font-size: 12px;
    }

    .review-author {
        font-size: 11px;
    }

    .review-rating {
        font-size: 12px;
    }

    /* FOOTER */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .footer-col ul li {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .footer-bottom {
        padding: 15px 0;
        font-size: 12px;
    }

    /* PAGINATION */
    .pagination {
        gap: 5px;
    }

    .pagination a, .pagination span {
        padding: 6px 8px;
        font-size: 12px;
    }
}

/* ==================== EXTRA SMALL (400px and below) ==================== */
@media (max-width: 400px) {
    section {
        padding: 25px 0;
    }

    .container {
        padding: 0 10px;
    }

    /* HERO */
    .hero-box {
        min-height: 280px;
        padding: 15px;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 20px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .slide-indicators {
        bottom: 10px;
        left: 12px;
        gap: 5px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }

    /* SECTION TITLES */
    .section-title h2 {
        font-size: 20px;
    }

    /* CIRCLE LINKS */
    .subpages-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .circle-link {
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 12px;
    }

    .circle-link i {
        font-size: 24px;
    }

    /* SERVICE BOX */
    .service-box {
        padding: 12px;
    }

    .service-box i {
        font-size: 24px;
    }

    /* BUTTON */
    .btn {
        padding: 8px 14px;
        font-size: 11px;
    }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar, .footer, .navigation {
        display: none;
    }

    section {
        page-break-inside: avoid;
        padding: 20px 0;
    }

    .container {
        max-width: 100%;
    }
}

/* ==================== CURRENT LAYOUT OVERRIDES ==================== */
@media (max-width: 1199px) {
    .branches-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .branch-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .branch-detail-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .branch-detail-nav a {
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    section {
        padding: 44px 0;
    }

    .hero-section,
    .about-banner,
    .branches-hero,
    .contact-hero,
    .promises-hero,
    .services-hero,
    .blogs-hero,
    .team-hero,
    .branch-detail-hero {
        min-height: auto;
        border-radius: 22px;
    }

    .hero-section .container,
    .about-banner .container,
    .branches-hero .container,
    .contact-hero .container,
    .promises-hero .container,
    .services-hero .container,
    .blogs-hero .container,
    .team-hero .container,
    .branch-detail-hero .container {
        padding: 34px 0 !important;
    }

    .hero-section .hero-content.hero-split-content {
        padding: 28px !important;
    }

    .subpages-wrap {
        justify-content: center;
        gap: 14px;
    }

    .circle-link {
        width: 88px;
        height: 88px;
    }

    .process-row,
    .service-row,
    .experience-row,
    .team-row,
    .review-row,
    .footer-grid,
    .branch-card-grid,
    .branches-intro-grid,
    .branch-benefits {
        grid-template-columns: 1fr;
    }

    .about-row {
        flex-direction: column;
        gap: 32px;
    }

    .branch-filter-tabs,
    .branch-detail-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: none;
    }

    .branch-filter-tabs::-webkit-scrollbar,
    .branch-detail-nav::-webkit-scrollbar {
        display: none;
    }

    .branch-filter-btn,
    .branch-detail-nav a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .branches-intro-image img {
        height: 360px;
    }

    .branch-card-image img {
        height: 230px;
    }

    .faq-wrapper,
    .branch-faq-wrap {
        gap: 14px;
    }

    .faq-item,
    .faq-item-card {
        border-radius: 14px;
    }

    .faq-question,
    .faq-toggle {
        font-size: 15px;
        padding: 16px 18px;
        gap: 12px;
    }

    .faq-answer,
    .faq-answer-box p {
        font-size: 14px;
        line-height: 1.65;
    }

    .faq-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .process-box,
    .service-box,
    .team-box,
    .review-box,
    .branch-card,
    .branch-card-body,
    .branch-info-card,
    .branch-steps-card,
    .record-card,
    .feature-card,
    .feedback-card,
    .nearby-card,
    .branch-cta-box,
    .branch-locator-box {
        border-radius: 16px;
        padding: 22px 18px;
    }

    .experience-box {
        min-height: 130px;
        padding: 20px 14px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 36px 0;
    }

    .container,
    .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-box {
        border-radius: 22px;
        min-height: auto;
    }

    .hero-section .hero-content.hero-split-content {
        padding: 24px 20px !important;
    }

    .hero-content h1,
    .branches-hero-content h1,
    .branch-detail-hero-content h1 {
        font-size: 32px !important;
        line-height: 1.15 !important;
    }

    .hero-content p,
    .branches-hero-content p,
    .branch-detail-hero-content p {
        font-size: 15px !important;
    }

    .hero-buttons,
    .branch-actions,
    .about-cta-buttons,
    .branch-hero-actions,
    .branch-cta-actions,
    .branch-info-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }

    .hero-buttons .btn,
    .branch-actions .btn,
    .about-cta-buttons .btn,
    .branch-hero-actions .btn,
    .branch-cta-actions .btn,
    .branch-info-actions .btn,
    .btn-branch-outline,
    .branch-outline-btn {
        width: auto;
        justify-content: center;
    }

    .contact-form-box .btn,
    .contact-form .btn,
    .form-box .btn,
    .newsletter-form .btn {
        width: 100%;
    }

    .index-branch-slide-link img {
        height: 190px;
    }

    .index-branch-detail {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .section-title h2,
    .about-left h2,
    .branch-locator-box h2,
    .branch-cta-box h2 {
        font-size: 28px;
    }

    /* Global mobile text alignment cleanup */
    .section-title,
    .section-title h2,
    .section-title p,
    .hero-content,
    .hero-content h1,
    .hero-content p,
    .branches-hero-content,
    .branches-hero-content h1,
    .branches-hero-content p,
    .branch-detail-hero-content,
    .branch-detail-hero-content h1,
    .branch-detail-hero-content p,
    .about-banner-content,
    .about-banner-content h1,
    .about-banner-content p,
    .contact-hero-content,
    .contact-hero-content h1,
    .contact-hero-content p,
    .promises-hero-content,
    .promises-hero-content h1,
    .promises-hero-content p,
    .services-hero-content,
    .services-hero-content h1,
    .services-hero-content p,
    .blogs-hero-content,
    .blogs-hero-content h1,
    .blogs-hero-content p,
    .team-hero-content,
    .team-hero-content h1,
    .team-hero-content p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .about-left,
    .about-left p,
    .about-left .section-left,
    .about-left .section-left h2,
    .about-left .section-left p,
    .service-box p,
    .process-box p,
    .team-box p,
    .review-box p,
    .record-card p,
    .feature-card p,
    .feedback-card p,
    .nearby-card p,
    .branch-info-card p,
    .branch-locator-box p,
    .branch-cta-box p,
    .faq-answer,
    .faq-answer-box p {
        text-align: left;
    }

    .branches-hero,
    .branch-detail-hero {
        padding: 70px 0 54px;
    }

    .branch-card-body,
    .branch-info-card,
    .branch-steps-card,
    .record-card,
    .feature-card,
    .feedback-card,
    .nearby-card,
    .branch-cta-box,
    .branch-locator-box {
        padding: 18px 14px;
    }

    .process-box,
    .service-box,
    .team-box,
    .review-box,
    .branch-card {
        padding: 16px 12px;
    }

    .team-box img,
    .branch-card-image img,
    .branches-intro-image img,
    .about-image {
        height: 200px !important;
    }

    .branch-map-card iframe,
    .branch-visual-card img,
    .branch-detail-hero-media img {
        min-height: 280px !important;
    }

    .footer-section {
        padding: 34px 0 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .footer-logo,
    .footer-text,
    .footer-title,
    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-branches-map {
        margin-top: 8px;
    }

    #footer-branches-mapbox {
        height: 160px;
    }

    .faq-wrapper,
    .branch-faq-wrap {
        gap: 12px;
    }

    .faq-item,
    .faq-item-card {
        border-radius: 12px;
    }

    .faq-question,
    .faq-toggle {
        font-size: 14px;
        padding: 14px 14px;
        align-items: flex-start;
    }

    .faq-question span:first-child,
    .faq-toggle span:first-child {
        flex: 1;
        min-width: 0;
        line-height: 1.45;
    }

    .faq-answer,
    .faq-answer-box p {
        font-size: 13px;
        line-height: 1.6;
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 14px;
    }

    .faq-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        margin-top: 2px;
    }
}

@media (max-width: 575px) {
    section {
        padding: 0px 0;
    }

    .container,
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero-section .hero-content.hero-split-content,
    .branch-detail-hero-content,
    .branches-hero-content {
        padding: 18px 0 !important;
    }

    .hero-content h1,
    .branches-hero-content h1,
    .branch-detail-hero-content h1 {
        font-size: 26px !important;
    }

    .hero-content p,
    .branches-hero-content p,
    .branch-detail-hero-content p,
    .section-title p,
    .branch-meta li,
    .footer-links a,
    .footer-contact {
        font-size: 14px !important;
    }

    .circle-link {
        width: 68px;
        height: 68px;
        border-radius: 50%;
        flex: 0 0 68px;
    }

    .subpages-mobile-only .circle-link {
        width: 84px;
        height: 84px;
        flex: 0 0 84px;
        border-radius: 50%;
        padding: 9px 7px;
        gap: 4px;
        overflow: hidden;
    }

    .subpages-mobile-only .circle-link i {
        font-size: 17px;
        line-height: 1;
        flex: 0 0 auto;
    }

    .subpages-mobile-only .circle-link span {
        max-width: 66px;
        min-height: 0;
        margin: 0 auto;
        display: block;
        font-size: 9px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .branch-filter-btn,
    .branch-detail-nav a {
        font-size: 13px;
        padding: 10px 14px;
    }

    .branch-card-image img,
    .branches-intro-image img,
    .about-image,
    .team-box img {
        height: 180px !important;
    }

    .promo-box {
        min-height: 240px;
        padding: 18px;
    }

    .faq-question,
    .faq-toggle {
        font-size: 13px;
        padding: 12px 12px;
        gap: 8px;
    }

    .faq-answer,
    .faq-answer-box p {
        font-size: 12.5px;
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 12px;
    }

    .faq-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }

    .section-title,
    .section-title h2,
    .section-title p,
    .hero-content,
    .hero-content h1,
    .hero-content p,
    .branches-hero-content,
    .branch-detail-hero-content,
    .about-banner-content,
    .contact-hero-content,
    .promises-hero-content,
    .services-hero-content,
    .blogs-hero-content,
    .team-hero-content {
        text-align: center !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== RESPONSIVE STABILITY PACK ==================== */
@media (max-width: 991px) {
    .table,
    table {
        width: 100%;
    }

    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .btn,
    .btn-brand,
    .btn-light-brand,
    .btn-outline-brand,
    .btn-outline-light-custom {
        min-height: 42px;
    }

    input,
    select,
    textarea {
        font-size: 16px;
    }

    .table,
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 575px) {
    .hero-buttons,
    .branch-actions,
    .about-cta-buttons,
    .services-hero-buttons,
    .blogs-hero-buttons,
    .contact-hero-buttons,
    .branch-hero-actions,
    .branch-cta-actions,
    .branch-info-actions {
        width: 100%;
    }

    .hero-buttons .btn,
    .branch-actions .btn,
    .about-cta-buttons .btn,
    .services-hero-buttons .btn,
    .blogs-hero-buttons .btn,
    .contact-hero-buttons .btn,
    .branch-hero-actions .btn,
    .branch-cta-actions .btn,
    .branch-info-actions .btn {
        width: 100%;
    }
}

/* Index mobile shortcut ticker: keep square 3D boxes after responsive overrides */
@media (max-width: 991px) {
    .subpages-mobile-only {
        display: block !important;
        margin: 0 !important;
    }

    .subpages-desktop-only {
        display: none !important;
    }

    .subpages-mobile-only.subpages-section {
        padding: 4px 0 7px !important;
        border: 2px solid #5a0336 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .subpages-mobile-only.subpages-section::before,
    .subpages-mobile-only.subpages-section::after {
        display: none !important;
    }

    .subpages-mobile-only .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .subpages-mobile-only .subpages-wrap {
        display: flex !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 2px 2px 5px !important;
        scrollbar-width: none !important;
        mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 18px), transparent 100%);
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 18px), transparent 100%);
    }

    .subpages-mobile-only .subpages-wrap::-webkit-scrollbar {
        display: none !important;
    }

    .subpages-mobile-only .circle-link {
        width: 72px !important;
        height: 48px !important;
        flex: 0 0 72px !important;
        min-width: 72px !important;
        min-height: 48px !important;
        padding: 4px 5px !important;
        border-radius: 8px !important;
        border: 2px solid #5a0336 !important;
        gap: 2px !important;
        font-size: 7.6px !important;
        line-height: 1.05 !important;
        scroll-snap-align: start !important;
        background: linear-gradient(145deg, #e5dbd3 0%, #D4CBC4 58%, #bbaaa1 100%) !important;
        color: #5a0336 !important;
        box-shadow:
            3px 3px 0 rgba(90, 3, 54, 0.22),
            0 6px 12px rgba(90, 3, 54, 0.14),
            inset 1px 1px 0 rgba(255, 255, 255, 0.48) !important;
    }

    .subpages-mobile-only .circle-link i {
        width: 18px !important;
        height: 18px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        background: linear-gradient(145deg, #7a0649 0%, #5a0336 62%, #3a0123 100%) !important;
        border: 1px solid rgba(242, 201, 76, 0.46) !important;
        border-radius: 5px !important;
        box-shadow:
            1px 2px 0 rgba(90, 3, 54, 0.22),
            inset 1px 1px 0 rgba(255, 255, 255, 0.18) !important;
    }

    .subpages-mobile-only .circle-link span {
        max-width: 62px !important;
        min-height: 14px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 7.6px !important;
        line-height: 1.08 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .subpages-mobile-only .circle-link.is-ticker-active {
        background: linear-gradient(145deg, #e5dbd3 0%, #D4CBC4 58%, #bbaaa1 100%) !important;
        color: #5a0336 !important;
        border-color: #5a0336 !important;
        transform: translateY(-2px) !important;
        box-shadow:
            4px 5px 0 rgba(90, 3, 54, 0.28),
            0 9px 16px rgba(90, 3, 54, 0.22),
            inset 1px 1px 0 rgba(255, 255, 255, 0.22) !important;
    }

    .subpages-mobile-only .circle-link.is-ticker-active i,
    .subpages-mobile-only .circle-link.is-ticker-active .bi {
        color: #ffffff !important;
    }
}

@media (max-width: 575px) {
    .subpages-mobile-only.subpages-section {
        padding: 3px 0 6px !important;
    }

    .subpages-mobile-only .subpages-wrap {
        gap: 7px !important;
        padding-bottom: 4px !important;
    }

    .subpages-mobile-only .circle-link {
        width: 66px !important;
        height: 44px !important;
        flex-basis: 66px !important;
        min-width: 66px !important;
        min-height: 44px !important;
        padding: 3px 4px !important;
        font-size: 7px !important;
        border: 2px solid #5a0336 !important;
        box-shadow:
            2px 3px 0 rgba(90, 3, 54, 0.22),
            0 5px 10px rgba(90, 3, 54, 0.14),
            inset 1px 1px 0 rgba(255, 255, 255, 0.45) !important;
    }

    .subpages-mobile-only .circle-link i {
        font-size: 11px !important;
    }

    .subpages-mobile-only .circle-link span {
        max-width: 56px !important;
        min-height: 12px !important;
        font-size: 7px !important;
    }

    .subpages-mobile-only .circle-link.is-ticker-active {
        box-shadow:
            3px 4px 0 rgba(90, 3, 54, 0.28),
            0 8px 14px rgba(90, 3, 54, 0.2),
            inset 1px 1px 0 rgba(255, 255, 255, 0.22) !important;
    }
}

/* ================= GLOBAL FINAL THEME PASS ================= */
html,
body {
    background: #D4CBC4 !important;
}

.bg-white,
.bg-light,
.page-content,
.main-content,
.content-section,
.about-section,
.branches-section,
.promises-section,
.contact-section,
.service-detail-section,
.team-section,
.reviews-section,
.blog-section {
    background-color: #D4CBC4 !important;
}

.card,
.service-box,
.service-card,
.service-feature-card,
.service-detail-card,
.process-box,
.branch-card,
.promise-card,
.team-box,
.review-box,
.review-page-card,
.contact-info-card,
.contact-form-box,
.track-result-card,
.track-form-card,
.legal-card,
.blog-card,
.site-gold-buyer-seo-box,
.accordion-item,
.list-group-item,
.modal-content {
    background: linear-gradient(145deg, #e5dbd3 0%, #D4CBC4 58%, #bbaaa1 100%) !important;
    border: 2px solid rgba(90, 3, 54, 0.9) !important;
    box-shadow:
        6px 7px 0 rgba(90, 3, 54, 0.22),
        0 16px 28px rgba(90, 3, 54, 0.16),
        inset 1px 1px 0 rgba(255, 255, 255, 0.45) !important;
    transform-style: preserve-3d;
}

.btn,
.btn-brand,
.btn-light-brand,
.btn-outline-brand,
.btn-outline-light-custom,
a.btn,
input[type="submit"],
input[type="button"],
button:not(.nav-toggle):not(.navbar-toggler):not(.site-search-close):not(.sold-ticker-open):not(.sold-ticker-modal-close):not(.hot-deal-close) {
    background: linear-gradient(145deg, #7a0649 0%, #5a0336 58%, #3a0123 100%) !important;
    border: 1px solid rgba(241, 196, 15, 0.45) !important;
    color: #ffffff !important;
    box-shadow:
        4px 5px 0 rgba(58, 1, 35, 0.42),
        0 10px 18px rgba(90, 3, 54, 0.2),
        inset 1px 1px 0 rgba(255, 255, 255, 0.2) !important;
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.btn:hover,
.btn-brand:hover,
.btn-light-brand:hover,
.btn-outline-brand:hover,
.btn-outline-light-custom:hover,
a.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:not(.nav-toggle):not(.navbar-toggler):not(.site-search-close):not(.sold-ticker-open):not(.sold-ticker-modal-close):not(.hot-deal-close):hover {
    color: #ffffff !important;
    filter: brightness(1.08);
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow:
        6px 8px 0 rgba(58, 1, 35, 0.45),
        0 16px 24px rgba(90, 3, 54, 0.26),
        inset 1px 1px 0 rgba(255, 255, 255, 0.24) !important;
}

.subpages-mobile-only .circle-link,
.subpages-mobile-only .circle-link:hover,
.subpages-mobile-only .circle-link:focus,
.subpages-mobile-only .circle-link.is-ticker-active {
    background: linear-gradient(145deg, #e5dbd3 0%, #D4CBC4 58%, #bbaaa1 100%) !important;
    color: #5a0336 !important;
    border-color: #5a0336 !important;
}

.subpages-mobile-only .circle-link i,
.subpages-mobile-only .circle-link .bi,
.subpages-mobile-only .circle-link:hover i,
.subpages-mobile-only .circle-link:hover .bi,
.subpages-mobile-only .circle-link.is-ticker-active i,
.subpages-mobile-only .circle-link.is-ticker-active .bi {
    color: #ffffff !important;
    background: linear-gradient(145deg, #7a0649 0%, #5a0336 62%, #3a0123 100%) !important;
    border-color: rgba(242, 201, 76, 0.46) !important;
}

.sold-ticker-open,
.sold-ticker-open:hover,
.sold-ticker-open:focus-visible {
    background: linear-gradient(145deg, #e5dbd3 0%, #D4CBC4 58%, #bbaaa1 100%) !important;
    color: #5a0336 !important;
}

.modern-mv-section,
.mission-vision-section.modern-mv-section,
.modern-mv-section .container,
.modern-mv-row,
.modern-mv-box,
.modern-mv-box.mission-modern,
.modern-mv-box.vision-modern {
    background: #D4CBC4 !important;
    background-color: #D4CBC4 !important;
}

.modern-mv-box,
.modern-mv-box.mission-modern,
.modern-mv-box.vision-modern {
    border: 2px solid #5a0336 !important;
    box-shadow:
        6px 7px 0 rgba(90, 3, 54, 0.22),
        0 16px 28px rgba(90, 3, 54, 0.16),
        inset 1px 1px 0 rgba(255, 255, 255, 0.38) !important;
}
