/* Additional Mobile Responsive Enhancements */

@media (max-width: 768px) {
    /* Hide hero background elements on tablet/mobile */
    .hero-grid-overlay,
    .glow-orb,
    .hero-spotlight,
    .particle {
        display: none !important;
    }

    /* Hide hero background image, keep only gradient */
    .hero-premium {
        background: radial-gradient(circle at top right, #1b1230 0%, #0a0515 100%) !important;
    }

    .section-pad {
        padding: 50px 0;
    }
    
    .lead-content {
        text-align: center;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .about-cards {
        gap: 16px !important;
    }
    
    .about-cards .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-hero {
        background-image: linear-gradient(180deg, rgba(11, 8, 30, 0.65), rgba(11, 8, 30, 0.65)), url('../img/about-hero-sm.jpg');
        padding: 80px 20px;
        min-height: 250px;
    }

    .about-hero .section-heading {
        font-size: 28px;
        margin-top: 90px;
    }
    
    .premium-services .service-card {
        min-height: 200px;
        padding: 18px;
    }
    
    .premium-services .service-icon-wrap {
        width: 56px;
        height: 56px;
    }
    
    .highlight-card {
        padding: 18px;
    }

    /* Platform Logo Carousel - Increase size on tablet */
    .platform-logo-card {
        height: 250px;
        padding: 35px 25px;
    }

    .platform-logo-container {
        width: 130px;
        height: 130px;
    }

    .platform-name {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-pad {
        padding: 40px 0;
    }
    
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    h1, h2, h3 {
        word-break: break-word;
    }
    
    .d-flex {
        flex-wrap: wrap;
        gap: 8px !important;
    }
    
    .about-cards {
        gap: 12px !important;
    }
    
    .about-cards .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .highlight-card {
        padding: 14px;
    }
    
    .card-flex {
        gap: 12px;
    }
    
    .about-icon {
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
    }
    
    .btn-primary-custom,
    .btn-hero-audit,
    .btn-hero-explore {
        width: 100%;
        justify-content: center;
    }

    /* Hero section buttons should not be full width */
    #hero .btn-hero-audit,
    #hero .btn-primary-custom {
        width: auto;
    }
    
    .premium-services .service-card {
        min-height: auto;
        padding: 14px;
    }
    
    .lead-form-card {
        padding: 12px;
    }
    
    .form-control {
        font-size: 16px;
    }

    /* Platform Logo Carousel - Larger sizes on small mobile */
    .platform-logo-card {
        height: 300px;
        padding: 40px 25px;
    }

    .platform-logo-container {
        width: 160px;
        height: 160px;
    }

    .platform-name {
        font-size: 2rem;
    }

    .platforms-swiper {
        padding: 20px 15px;
    }
}

/* ─── MOBILE BUTTON RESPONSIVENESS ─── */

@media (max-width: 768px) {
    /* Ensure buttons have touch-friendly sizes */
    button, .btn, .button, a[class*="btn"] {
        min-height: 44px;
        min-width: 44px;
        font-size: 0.95rem;
    }

    .btn-hero-audit {
        padding: 12px 32px;
        font-size: 0.95rem;
    }

    .btn-hero-explore {
        padding: 12px 32px;
        font-size: 0.95rem;
    }

    /* Make both hero section buttons same size */
    #hero .btn-hero-audit,
    #hero .btn-primary-custom.btn-footer-audit {
        padding: 12px 32px !important;
        font-size: 0.95rem !important;
    }

    .btn-alternating {
        padding: 9px 18px;
        font-size: 0.9rem;
    }

    .btn-contact-submit {
        min-height: 48px;
        padding: 14px !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    /* Hide hero background elements on mobile */
    .hero-grid-overlay,
    .glow-orb,
    .hero-spotlight,
    .particle {
        display: none !important;
    }

    /* Hide hero background image, keep only gradient */
    .hero-premium {
        background: radial-gradient(circle at top right, #1b1230 0%, #0a0515 100%) !important;
    }

    /* Mobile buttons with optimized touch targets */
    button, .btn, .button, a[class*="btn"] {
        min-height: 48px;
        padding-left: 16px !important;
        padding-right: 16px !important;
        font-size: 0.9rem;
    }

    .btn-nav {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-hero-audit {
        padding: 11px 28px;
        font-size: 0.9rem;
    }

    .btn-hero-explore {
        padding: 11px 28px;
        font-size: 0.9rem;
    }

    /* Make both hero section buttons same size */
    #hero .btn-hero-audit,
    #hero .btn-primary-custom.btn-footer-audit {
        padding: 11px 28px !important;
        font-size: 0.9rem !important;
    }

    .btn-alternating {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .btn-contact-submit {
        min-height: 48px;
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }

    .btn-footer-audit,
    .btn-primary-custom {
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
    }

    .contact-cta-btn {
        padding: 9px 18px;
        font-size: 0.8rem;
    }

    /* Footer Mobile Responsive */
    .footer-consultation-heading {
        font-size: 1.4rem !important;
    }

    .footer-consultation-sub {
        font-size: 0.95rem !important;
    }

    .footer-heading-custom {
        font-size: 0.95rem !important;
        margin-bottom: 16px !important;
    }

    .footer-link-custom {
        font-size: 0.9rem !important;
    }

    .footer-quick-links-horizontal {
        gap: 16px !important;
        padding: 24px 0 !important;
    }

    .footer-quick-links-horizontal a {
        font-size: 0.9rem !important;
    }

    .site-footer .container {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Footer Column Alignment on Mobile */
    .site-footer .row {
        flex-direction: column !important;
    }

    .site-footer .col-lg-4,
    .site-footer .col-6 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 24px !important;
        text-align: left !important;
    }

    .site-footer .col-6.col-lg-4 {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .footer-logo-custom {
        font-size: 1.4rem !important;
    }

    .footer-desc-custom {
        font-size: 0.9rem !important;
    }

    .footer-contact-custom {
        font-size: 0.9rem !important;
    }

    .footer-heading-custom {
        text-transform: capitalize !important;
    }

    .footer-bottom-bar {
        flex-direction: column !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .footer-bottom-left,
    .footer-bottom-right {
        flex: none !important;
        width: 100% !important;
        text-align: center !important;
    }
}