/* Mobile Responsive Styles */

/* Tablet and Mobile Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .dropdown-menu {
        border: none;
        background-color: transparent;
        padding-left: 1rem;
    }
}

/* Mobile Specific Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    body {
        font-size: 16px;
    }

    section {
        padding: 3rem 0;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        padding-bottom: 50px;
        background-attachment: scroll;
    }

    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-section h2 {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    /* About Section */
    #about .row {
        flex-direction: column;
    }

    #about .col-lg-6 {
        width: 100%;
        padding: 0 15px;
        margin-bottom: 2rem;
    }

    #about img {
        max-width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
    }

    /* Dates Table */
    .table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
        overflow-x: auto;
    }

    .table td, .table th {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    /* Theme Cards */
    .theme-card {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
        height: auto;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .theme-card h3 {
        font-size: 1.2rem;
    }

    .theme-card ul li {
        font-size: 0.9rem;
    }

    /* Objectives Section */
    .objectives-image {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }

    .objectives-list li {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    /* Outcomes Section */
    .outcome-card {
        margin-bottom: 1.5rem;
    }

    .outcome-card h3 {
        font-size: 1.2rem;
    }

    /* R&D Cell Section */
    .rd-slideshow-container {
        margin: 0 -15px;
        border-radius: 8px;
        overflow: hidden;
    }

    .rd-slide-img {
        height: 220px;
        object-fit: cover;
    }

    .rd-slide-caption {
        font-size: 0.9rem;
        padding: 0.75rem;
        background: rgba(0,0,0,0.7);
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 10px;
    }
    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section h2 {
        font-size: 1.25rem;
    }

    .paper-submission-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .navbar-brand img {
        height: 30px;
    }
}