/* Main Responsive Fixes */

/* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar .container {
        justify-content: space-between;
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        color: white;
    }
}

/* Hero Section Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* About Section Mobile */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .about-image img {
        width: 200px;
        height: 200px;
    }
    
    .about-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .detail {
        justify-content: center;
        text-align: center;
    }
}

/* Skills Section Mobile */
@media (max-width: 768px) {
    .skill-items {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .skill-category {
        margin-bottom: 2rem;
    }
}

/* Projects Section Mobile */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .projects-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .filter-btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

/* Contact Section Mobile */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .contact-form {
        order: -1;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-item .icon {
        margin: 0 auto;
    }
}

/* Experience Tabs */
.experience-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.exp-tab {
    padding: 0.8rem 1.5rem;
    border: 2px solid #000080;
    background: transparent;
    color: #000080;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.exp-tab.active,
.exp-tab:hover {
    background: #000080;
    color: white;
}

.exp-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.exp-item.active {
    display: block;
}

.exp-date {
    color: #000080;
    font-weight: 600;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .experience-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .exp-tab {
        width: 100%;
    }
}

