/* ===== Mobile Responsive Fixes ===== */

/* Logo Responsive */
@media (max-width: 576px) {
    .logo-img {
        height: 35px !important;
    }
}

/* About Section Responsive */
@media (max-width: 992px) {
    .experience-badge {
        position: static !important;
        margin-top: 2rem;
        justify-content: center;
    }
    
    .about-image-wrapper {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {
    .profile-photo-container {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.75rem !important;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .about-buttons .btn {
        width: 100%;
    }
    
    .badge-content h4 {
        font-size: 1.25rem;
    }
    
    .badge-content p {
        font-size: 0.75rem;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-top {
        padding: 3rem 0 2rem !important;
    }
    
    .footer-links,
    .footer-contact {
        margin-top: 2rem;
    }
    
    .footer-bottom {
        padding: 2rem 0 !important;
    }
    
    .footer-bottom .col-md-6 {
        text-align: center !important;
        margin: 0.5rem 0;
    }
    
    .footer-logo {
        max-width: 140px;
        height: auto;
    }
}

/* Graphic Cards Responsive */
@media (max-width: 768px) {
    .graphic-card {
        max-width: 280px !important;
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .graphic-card {
        padding: 1rem !important;
        max-width: 240px !important;
    }
    
    .section-graphic {
        max-width: 100%;
    }
}

/* Stats Box Responsive */
@media (max-width: 768px) {
    .stats-box {
        padding: 1.5rem !important;
    }
    
    .stats-box h3 {
        font-size: 2rem !important;
    }
    
    .stats-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .stats-icon-wrapper i {
        font-size: 1.5rem !important;
    }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 8rem 0 4rem !important;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
}

/* Prevent Layout Overflow */
body {
    overflow-x: hidden !important;
}

.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Fix Section Padding on Mobile */
@media (max-width: 768px) {
    section {
        padding: 3rem 0 !important;
    }
    
    section.py-5 {
        padding: 3rem 0 !important;
    }
}
