/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ===== TABLETS & SMALL LAPTOPS ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== MOBILE DEVICES ===== */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 13, 23, 0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .btn-hire {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-typed-wrapper {
        font-size: 1.2rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Profile Image */
    .profile-wrapper {
        max-width: 280px;
    }

    .floating-badge {
        font-size: 0.6rem;
        padding: 4px 10px;
    }

    .badge-1 { top: 5%; right: -5%; }
    .badge-2 { bottom: 15%; left: -10%; }
    .badge-3 { display: none; }

    /* Sections */
    .section-header h2 {
        font-size: 2rem;
    }

    .about-details {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-newsletter form {
        flex-direction: column;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-typed-wrapper {
        font-size: 1rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }

    .profile-wrapper {
        max-width: 220px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }

    .contact-details {
        gap: 12px;
    }

    .contact-item .icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 0.875rem;
    }
}
