/* ==========================================================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Breakpoint for Medium/Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .gmc-hero h1 {
        font-size: 3.8rem;
    }
}

/* Breakpoint for Laptops & Small Desktops (max-width: 1199px) */
@media (max-width: 1199px) {
    .gmc-hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .why-features-grid {
        gap: 30px 20px;
    }
    
    .contact-card-info, .contact-form-wrapper {
        padding: 30px;
    }
}

/* Breakpoint for Tablets (max-width: 991px) */
@media (max-width: 991px) {
    body {
        font-size: 15px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .heading-premium-border::after {
        width: 45px;
    }
    
    /* Padding Reductions */
    .gmc-about, 
    .gmc-services, 
    .gmc-why, 
    .gmc-process, 
    .gmc-testimonials, 
    .gmc-faq, 
    .gmc-blog, 
    .gmc-contact {
        padding: 70px 0;
    }
    
    /* Topbar adjustments */
    .gmc-topbar {
        display: none; /* Hide topbar on mobile/tablet to reduce clutter */
    }
    
    /* Navigation */
    .gmc-navbar {
        padding: 10px 0;
    }
    
    .gmc-navbar .nav-link::after {
        display: none; /* Remove hover lines on mobile */
    }
    
    /* Hero */
    .gmc-hero {
        padding: 60px 0 100px 0;
    }
    
    .gmc-hero-card-wrapper {
        margin-top: 50px;
    }
    
    .gmc-hero-card {
        padding: 30px;
        box-shadow: 15px 15px 0px var(--accent);
    }
    
    .gmc-hero-features-list {
        margin-top: 35px;
        gap: 15px 25px;
    }
    
    /* Trust Indicators Grid */
    .gmc-trust {
        margin-top: -50px;
        padding-bottom: 50px;
    }
    
    .trust-card {
        padding: 22px 15px;
    }
    
    .trust-card-num {
        font-size: 32px;
    }
    
    /* About */
    .about-img-wrapper {
        margin-bottom: 40px;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Why Choose Us Grid */
    .why-features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Process Timeline */
    .process-timeline::before {
        left: 20px;
    }
    
    .process-marker {
        left: 20px;
        transform: translateX(-50%);
        box-shadow: 0 0 0 6px var(--bg-light);
    }
    
    .process-item:hover .process-marker {
        transform: translateX(-50%) scale(1.1);
    }
    
    .process-content {
        width: calc(100% - 50px);
        margin-left: 50px !important;
        padding: 25px;
    }
    
    .process-item:nth-child(even) .process-content {
        text-align: left;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 18px;
    }
    
    /* Contact */
    .contact-card-info {
        margin-bottom: 30px;
    }
    
    /* Company Lawyers Mobile Slider */
    .company-lawyers-wrapper .company-lawyers-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        scroll-behavior: smooth;
    }
    .company-lawyers-wrapper .company-lawyers-row::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    .company-lawyer-col {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: center;
    }
}

/* Breakpoint for Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
    /* Responsive Spacing & Typo */
    h1 {
        font-size: 2.2rem !important;
        line-height: 1.25;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .gmc-hero {
        padding: 40px 0 80px 0;
    }
    
    .gmc-hero-features-list {
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-card {
        margin-bottom: 15px;
    }
    
    .gmc-trust .row > div:last-child .trust-card {
        margin-bottom: 0;
    }
    
    /* Footer */
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .gmc-footer .row > div:last-child .footer-widget {
        margin-bottom: 0;
    }
    
    .footer-bottom {
        margin-top: 30px;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    /* ==========================================================================
       STICKY MOBILE CTA BAR (Mandatory Conversion Requirement)
       ========================================================================== */
    .gmc-sticky-mobile-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background-color: var(--dark-navy);
        border-top: 2px solid var(--accent);
        display: flex;
        z-index: 1050; /* Above typical layouts */
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    }
    
    .sticky-cta-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--bg-white);
        text-decoration: none;
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        transition: var(--transition-fast);
        border: none;
    }
    
    .sticky-cta-btn.cta-call {
        background-color: var(--dark-navy);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.9);
    }
    
    .sticky-cta-btn.cta-call:hover {
        color: var(--accent);
    }
    
    .sticky-cta-btn.cta-book {
        background-color: var(--accent);
        color: var(--bg-white);
    }
    
    .sticky-cta-btn.cta-book:hover {
        background-color: var(--accent-hover);
    }
    
    /* Offset body padding to prevent footer/content overlap on mobile */
    body {
        padding-bottom: 60px;
    }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
    .gmc-hero-card {
        padding: 25px 20px;
        box-shadow: 10px 10px 0px var(--accent);
    }
    
    .gmc-hero-card:hover {
        box-shadow: 12px 12px 0px var(--accent);
    }
    
    .about-img-tag {
        position: relative;
        bottom: 0;
        right: 0;
        display: block;
        margin-top: 15px;
        text-align: center;
        padding: 10px 20px;
        font-size: 1.25rem;
    }
    
    .service-grid-cell {
        padding: 35px 25px;
    }
}

/* Responsive adjustments for new features */
@media (max-width: 991px) {
    .partner-card {
        min-width: calc(50% - 15px); /* Show 2 partners on tablets */
    }
    
    .gmc-nav-right {
        display: none; /* Hide header details in mobile navigation bar */
    }
}

@media (max-width: 767px) {
    .partner-card {
        min-width: 100%; /* Show 1 partner on mobile */
    }
    
    /* Show mobile slider for team lawyers instead of 4-column grid */
    .team-grid-desktop {
        display: none;
    }
    
    .team-slider-mobile {
        display: block;
    }
    
    .team-card {
        padding: 30px 20px;
    }
    
    /* Stack hotline column blocks vertically on mobile */
    .hotline-col-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 20px 10px;
    }
    
    .hotline-col-card:last-child {
        border-bottom: none;
    }
    
    .gmc-footer-hotlines {
        padding: 10px 0;
    }
}

