
@media (max-width: 768px) {
    body {
        padding-top: 80px; /* Adjust to match the fixed header height */
    }

    /* The navigation is now handled by the slide-in menu, so this is not needed */
    main {
        padding: 0 20px;
    }

    section {
        padding: 40px 10px;
    }

    .hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    section h1 {
        font-size: 100px;
        line-height: 1.1;
    }

    section h2 {
        font-size: 50px;
    }

    section h3 {
        font-size: 30px;
    }

    section p {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .hero h2 {
        font-size: 30px;
    }

    .search-input {
        padding: 10px;
        font-size: 14px;
    }

    .dark-section, .gradient-section {
        padding: 40px;
    }

    .message {
        max-width: 90%;
        padding: 10px 15px;
    }

    .chat-container {
        padding: 0;
    }

    .table-responsive-wrapper {
        overflow-x: auto;
    }
}

@media (max-width: 500px) {
    body {
        padding-top: 80px; /* Was 200px, correcting for fixed header */
    }

    section h1 {
        font-size: 80px;
    }

    section h2 {
        font-size: 40px;
    }

    section h3 {
        font-size: 25px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .hero h2 {
        font-size: 25px;
    }

    .search-input {
        padding: 8px;
        font-size: 13px;
    }

    header {
        padding: 10px 15px;
    }

    .message {
        max-width: 95%;
        padding: 8px 12px;
    }
}

@media (max-width: 400px) {
    section h1 {
        font-size: 60px;
    }

    section h2 {
        font-size: 35px;
    }

    section h3 {
        font-size: 22px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .search-input {
        padding: 6px;
        font-size: 12px;
    }
}
