/* Mobile Responsiveness Overrides */

/* Large Tablets and below (991px) */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto !important;
        text-align: center;
        padding: 60px 0;
    }

    .hero-section .row {
        flex-direction: column;
    }

    .hero-section .col-lg-6 {
        width: 100%;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-section img {
        margin-top: 40px;
        max-height: 300px !important;
    }
    
    .project-meta {
        margin-top: 30px;
        position: static !important;
    }
}

/* Tablets and below (768px) */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0 !important;
    }

    .hero-inner {
        padding: 60px 0 !important;
    }

    .display-3 {
        font-size: 2.2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .card {
        margin-bottom: 20px;
    }
}

/* Mobile Phones (576px) */
@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.9rem;
    }
    
    .navbar-brand img {
        height: 30px !important;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    h2 {
        font-size: 1.75rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .d-flex {
        justify-content: center;
        margin-top: 20px;
    }
}
