/* --- Professional Footer Refinement --- */
.footer-section {
    padding-top: 100px;
    color: #cbd5e1 !important; /* Soft light blue-gray for readability */
}

.footer-section h3 {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #ef7c00; /* Primary brand color */
}

.footer-desc {
    font-size: 15px;
    line-height: 1.8;
    margin-top: 25px;
    color: #cbd5e1;
}

.footer-section .list-area li {
    margin-bottom: 12px;
    list-style: none;
}

.footer-section .list-area li a,
.contact-info a,
.contact-info li {
    color: #cbd5e1 !important;
    transition: all 0.3s ease;
    font-size: 15px;
    text-decoration: none;
}

.footer-section .list-area li a:hover,
.contact-info a:hover {
    color: #ef7c00 !important;
    padding-left: 5px;
}

.contact-info {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #cbd5e1;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .contact-info li i {
    color: #cbd5e1 !important;
    margin-top: 5px;
}

/* Social icons hidden as per request */
.social-wrapper {
    display: none !important;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    transition: 0.3s;
}

.social-icon:hover {
    background: #ef7c00;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 0 !important;
}

.copyright-text, .copyright-text a {
    color: #64748b !important;
    font-size: 14px;
}

.footer-menu {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li a {
    color: #64748b !important;
    font-size: 14px;
    transition: 0.3s;
}

.footer-menu li a:hover {
    color: #ef7c00 !important;
}

/* --- Base Responsiveness --- */
img {
    max-width: 100%;
    height: auto;
}

/* --- Tablets (991px and below) --- */
@media (max-width: 991px) {
    /* Spacing Overrides */
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .space-top { padding-top: 70px !important; }
    .space-bottom { padding-bottom: 70px !important; }
    .mb-60 { margin-bottom: 40px !important; }

    /* Typography */
    h1 { font-size: 38px !important; line-height: 1.2 !important; }
    h2 { font-size: 32px !important; line-height: 1.2 !important; }
    h3 { font-size: 26px !important; }
    .cb-text { font-size: 16px !important; max-width: 100% !important; }

    /* Creative Banner V2 */
    .creative-banner-v2 {
        padding: 130px 0 70px !important;
        text-align: left;
    }
    .cb-line { margin: 20px 0 0 !important; }

    /* About Section 2 */
    .about-section2 {
        text-align: left;
    }
    .about-content2 {
        margin-bottom: 40px;
    }
    .about-mobile-img {
        display: flex;
        justify-content: flex-start;
    }
    .about-mobile-img .img-mask-circle {
        animation: morphShape 8s ease-in-out infinite !important;
    }
    .creative-hex-list {
        grid-template-columns: repeat(2, 1fr) !important;
        text-align: left;
    }
    .title-badge1 {
        display: none !important;
    }

    /* Who We Are Modern */
    .wwa-modern-box {
        padding: 40px 20px !important;
    }
    .wwa-feature-box {
        margin-top: 40px;
        padding: 30px !important;
    }

    /* Mission Vision Values Grid */
    .mvv-v3-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }

    /* Services Grid */
    .services-v2-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px !important;
    }

    /* Counter Modern Grid */
    .cc-modern-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        justify-content: flex-start;
        margin-top: 30px;
        gap: 20px !important;
    }
    .cc-modern-card {
        aspect-ratio: 1 / 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px !important;
        max-width: 200px;
        margin: 0;
    }
    .cc-modern-title {
        text-align: left;
        margin-bottom: 10px;
    }
    .cc-modern-subtitle {
        text-align: left;
    }

    /* Commitment Cards */
    .why-feature-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Partner Form Section */
    .partner-modern-img-wrap {
        margin-bottom: 50px;
    }

    /* FAQ Section */
    .modern-stat-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 40px;
        padding-left: 0 !important;
    }
}

/* --- Mobile Landscape (767px and below) --- */
@media (max-width: 767px) {
    /* Spacing */
    .space-top { padding-top: 60px !important; }
    .space-bottom { padding-bottom: 60px !important; }

    /* Typography */
    h1 { font-size: 32px !important; }
    h2 { font-size: 28px !important; }
    
    /* Creative Hex List */
    .creative-hex-list {
        grid-template-columns: 1fr !important;
    }

    /* MVV Grid */
    .mvv-v3-grid {
        grid-template-columns: 1fr !important;
    }

    /* Services Grid */
    .services-v2-grid {
        grid-template-columns: 1fr !important;
    }

    /* Counter Grid */
    .cc-modern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Stat Cards */
    .creative-stat-card {
        padding: 25px !important;
    }

    /* Services V3 List */
    .sv3-item {
        flex-direction: column !important;
        padding: 30px !important;
        text-align: left;
    }
    .sv3-title-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
    .sv3-desc-box {
        padding-left: 0 !important;
        margin-top: 20px;
    }
    .sv3-tags {
        justify-content: flex-start;
    }
}

/* --- Mobile Portrait (575px and below) --- */
@media (max-width: 575px) {
    /* Spacing */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .space-top { padding-top: 50px !important; }
    .space-bottom { padding-bottom: 50px !important; }

    /* Typography */
    h1 { font-size: 28px !important; }
    h2 { font-size: 24px !important; }

    /* Banner */
    .creative-banner-v2 {
        padding: 110px 0 60px !important;
        text-align: center;
    }
    .cb-content-box { text-align: center !important; }
    .cb-title {
        font-size: 30px !important;
        justify-content: center !important;
        text-align: center !important;
    }
    .cb-title span {
        font-size: 42px !important;
        letter-spacing: -1px !important;
    }
    .cb-text {
        padding: 0 !important;
        text-align: center !important;
    }

    /* About Us Title Center */
    .about-content2 .section-title {
        text-align: center !important;
    }

    /* Who We Are Title Center */
    .wwa-content-wrap .section-title {
        text-align: center !important;
    }

    /* Unified Page Centering */
    .services-v3-section .section-title,
    .partner-form-wrapper .section-title,
    .choose-section .section-title,
    .mvv-v3-section .section-title,
    .regions-section .section-title,
    .product-modern-section .section-title,
    .product-modern-section .text-center,
    .why-orange-section .text-center,
    .services-v2-section .section-title,
    .care-counter-section-modern .cc-modern-title,
    .care-counter-section-modern .cc-modern-subtitle,
    .partner-modern-section .section-title {
        text-align: center !important;
    }

    /* Hero Center (Removed conflicts, moved to banner specific block) */

    .banner-thumb-items {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 30px;
    }

    /* Counter Section Mobile Center */
    .cc-modern-title, .cc-modern-subtitle {
        text-align: center !important;
    }
    .cc-modern-grid {
        justify-content: center !important;
    }

    .who-we-work-grid {
        text-align: left !important;
    }
    .who-we-work-grid h4 {
        text-align: center !important;
    }

    /* FAQ Title Center */
    .faq-section .section-title {
        text-align: center !important;
    }

    /* Header */
    .header-logo img {
        max-height: 45px !important;
        width: auto !important;
    }
    .header-main {
        padding: 12px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
    }
    .header-left {
        text-align: left;
    }

    /* Footer */
    .footer-section { 
        padding-top: 50px !important; 
        text-align: left;
    }
    .footer-section h3 { 
        margin-bottom: 20px !important; 
        font-size: 16px !important; 
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    .footer-section h3::after {
        left: 0 !important;
        transform: none;
    }
    .footer-bottom { margin-top: 0 !important; }
    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center !important;
    }
    .footer-menu {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px !important;
    }
    .footer-desc { 
        text-align: left; 
        font-size: 14px !important;
        padding: 0;
    }
    .single-footer-widget { 
        text-align: left; 
        margin-bottom: 30px;
    }
    .contact-info li { 
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    .contact-info li i {
        margin-top: 5px !important;
        font-size: 16px;
    }

    /* Counter Grid */
    .cc-modern-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        justify-items: flex-start; 
        justify-content: flex-start;
        gap: 15px !important;
    }
    .cc-modern-card {
        padding: 20px 10px !important;
        aspect-ratio: 1 / 1;
        width: 100%;
        max-width: 160px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }
    .cc-modern-num {
        font-size: 24px !important;
    }
    .cc-modern-label {
        font-size: 11px !important;
    }

    /* Commitment Cards */
    .why-feature-grid.cols-4 {
        grid-template-columns: 1fr !important;
    }

    /* Modern Stat Grid */
    .modern-stat-grid {
        grid-template-columns: 1fr !important;
    }

    /* Who We Are Badge */
    .wwa-icon-circle {
        width: 35px !important;
        height: 35px !important;
    }
    .wwa-feature-box h3 {
        font-size: 22px !important;
    }

    /* Accordion */
    .accordion-button {
        font-size: 15px !important;
        padding: 15px !important;
    }

    /* Commitment Cards Mobile Center */
    .commitment-card {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px !important;
    }

    .commitment-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Banner Section 3 Mobile Fix */
    .banner-section3 {
        padding: 80px 0px 80px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-attachment: scroll !important;
        min-height: auto !important;
    }

    .banner-section3 .hero-content-version3 {
        padding-top: 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .banner-section3 .hero-content-version3 h1,
    .banner-section3 .hero-content-version3 h1 span {
        text-align: center !important;
        margin-bottom: 20px;
        justify-content: center !important;
        display: block !important;
    }

    .banner-section3 .hero-content-version3 P {
        text-align: center !important;
        margin-bottom: 30px;
    }

    .banner-section3 .hero-content-version3 .d-flex {
        justify-content: center !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        gap: 15px !important;
    }

    .banner-section3 .hero-content-version3 .watch-video {
        width: 100%;
        display: flex;
        justify-content: center;
    }


    .banner-section3 .banner-thumb-items {
        display: flex;
        justify-content: center;
        margin-top: 50px;
        position: relative;
    }

    .banner-section3 .banner-thumb-items .counter-area-1 {
        display: none !important; /* Hide counter on mobile if it blocks or breaks layout */
    }

    .care-counter-section-modern {
        text-align: center !important;
    }

    .care-counter-section-modern .pm-btn {
        margin: 20px auto 0 !important;
    }
}

@media (max-width: 575px) {
    .banner-section3 {
        padding: 50px 0px 50px !important;
    }
}
