/* Mobile Responsive Fixes */

/* Base Mobile Styles */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Typography */
    .display-1, .display-2 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .display-3, .display-4 {
        font-size: 1.8rem !important;
        line-height: 1.3;
    }
    
    .display-5, .display-6 {
        font-size: 1.5rem !important;
    }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.2rem !important; }
    h4 { font-size: 1.1rem !important; }
    h5 { font-size: 1rem !important; }
    
    /* Hero/Page Headers */
    .hero-header, .page-header {
        height: auto !important;
        min-height: 60vh !important;
        padding: 3rem 0 !important;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand h6 {
        font-size: 0.9rem !important;
    }
    
    .navbar-nav {
        padding: 1rem 0;
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
    }
    
    /* Cards and Sections */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5, .mt-5 {
        margin-bottom: 1.5rem !important;
        margin-top: 1.5rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Images */
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
}

/* Disable hover effects on mobile */
@media (max-width: 767px) {
    * {
        -webkit-transform: none !important;
        transform: none !important;
        transition: none !important;
    }
    
    .service-item:hover,
    .program-item:hover,
    .events-item:hover,
    .blog-item:hover,
    .team-item:hover,
    .btn:hover,
    .nav-link:hover {
        transform: none !important;
        box-shadow: inherit !important;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .display-1, .display-2 {
        font-size: 3rem !important;
    }
    
    .display-3, .display-4 {
        font-size: 2.5rem !important;
    }
}

/* Small Mobile Styles */
@media (max-width: 575px) {
    .container {
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .display-1, .display-2, .display-3 {
        font-size: 1.8rem !important;
    }
    
    h1 { font-size: 1.3rem !important; }
    h2 { font-size: 1.2rem !important; }
    h3 { font-size: 1.1rem !important; }
    
    .navbar-brand h6 {
        font-size: 0.8rem !important;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero-header, .page-header {
        min-height: 50vh !important;
        padding: 2rem 0 !important;
    }
}