/* ============================
   MEDIA QUERIES - INSTAGRAM STYLE
   ============================ */

/* 📱 For tablets & smaller laptops */
@media (max-width: 1024px) {
    .app-container {
        width: 90%;
        max-width: 600px;
    }

    #mobile-nav {
        width: 90%;
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        padding: 0 40px;
    }
}

/* 📱 For phones (portrait mode, like Instagram mobile app) */
@media (max-width: 768px) {
    body {
        background: #fff;
    }

    .app-container {
        width: 100%;
        height: 100vh;
        border: none;
        border-radius: 0;
    }

    /* Top header (Instagram top bar) */
    .top-header {
        padding: 10px 15px;
        border-bottom: 1px solid #dbdbdb;
        background: #fff;
    }

    .logo {
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 0.3px;
    }

    /* Main content area */
    main {
        padding: 15px;
        overflow-y: auto;
    }

    /* Instagram-like mobile bottom nav */
    #mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #dbdbdb;
        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.05);
        height: 54px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 0 20px;
        z-index: 1000;
    }

    #mobile-nav ul {
        display: flex;
        justify-content: space-between;
        width: 100%;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    #mobile-nav li {
        flex: 1;
        text-align: center;
        cursor: pointer;
        transition: transform 0.2s ease, color 0.2s ease;
    }

    #mobile-nav li:hover {
        transform: scale(1.1);
        color: #0095f6;
    }

    #mobile-nav li.active {
        color: #0095f6;
    }

    #mobile-nav i {
        font-size: 22px;
    }

    .contact-card {
        padding: 30px 20px;
        max-width: 100%;
        border-radius: 24px;
    }

    .contact-card h3 {
        font-size: 28px;
    }

    .contact-input {
        padding: 14px 15px 14px 48px;
        font-size: 15px;
    }

    .input-group i {
        left: 18px;
        top: 20px;
        font-size: 16px;
    }
}

/* 📱 For extra small phones (like iPhone SE) */
@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }

    main {
        padding: 10px;
    }

    #mobile-nav i {
        font-size: 20px;
    }
}