/* Mobile Responsiveness Fixes */

/* Small Mobile Devices */
@media (max-width: 480px) {

    /* Hero Section Adjustments */
    .hero {
        padding-top: 100px !important;
        min-height: auto !important;
        /* Allow content to determine height */
        padding-bottom: 120px !important;
        /* Increased padding to prevent overlap */
    }

    .hero-title {
        font-size: 32px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }

    .hero-description {
        font-size: 16px !important;
        margin-bottom: 32px !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .btn-large {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Stats Section */
    .hero-stats {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-top: 40px !important;
        margin-bottom: 80px !important;
        /* Increased margin to push next section down */
        width: 100% !important;
    }

    .stat-item {
        background: #f8fafc;
        padding: 20px;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
    }

    /* Navigation */
    .nav-container {
        padding: 0 20px !important;
    }

    .logo img {
        height: 32px !important;
    }

    /* Featured App Section */
    .featured-content {
        gap: 40px !important;
        margin-top: 40px !important;
        /* Added top margin to featured content */
    }

    .image-card {
        padding: 20px !important;
    }

    .feature-list li {
        font-size: 15px !important;
    }

    /* Footer Adjustments */
    .footer-content {
        gap: 40px !important;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin-bottom: 32px !important;
        /* Fix spacing between text and social icons */
    }

    .social-links {
        justify-content: center !important;
        margin-bottom: 20px !important;
    }

    .footer-links {
        text-align: center;
    }
}

/* Tablet/Medium Devices */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: 40px !important;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .phone-mockup {
        margin: 0 auto;
    }
}