/* ==================== MOBILE CSS - RESPONSIVE STYLES ==================== */

/* ==================== CRITICAL MOBILE IMPROVEMENTS ==================== */

/* Fix font sizes - minimum 14px for readability */
@media (max-width: 480px) {
    /* Base font size improvements */
    body {
        font-size: 16px; /* Ensure base is readable */
    }
    
    /* Paragraph text - increase to 0.875rem (14px) minimum */
    p, 
    .about-text p,
    .timeline-content p,
    .project-card p,
    .service-card p,
    .volunteer-text p,
    .reference-content p {
        font-size: 0.875rem !important; /* 14px minimum */
        line-height: 1.6;
    }
    
    /* Info labels - increase to 0.75rem minimum */
    .info-label,
    .stat-label,
    .education-meta {
        font-size: 0.75rem !important; /* 12px minimum for labels */
    }
    
    /* Hero description - make more readable */
    .hero-description {
        font-size: 1rem !important; /* 16px for main description */
        line-height: 1.6;
    }
    
    /* Navigation links */
    .nav-link {
        font-size: 1rem !important; /* Easier to read */
        padding: 0.875rem 1.2rem; /* Better touch target */
    }
    
    /* Button text */
    .btn {
        font-size: 0.875rem !important; /* 14px minimum */
        padding: 12px 20px; /* Better touch area */
    }
}

/* Improve touch targets - minimum 44px */
@media (max-width: 768px) {
    /* Social links - increase to 44px */
    .social-link {
        width: 44px !important;
        height: 44px !important;
        font-size: 1rem;
    }
    
    /* Navigation links */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Theme toggle button */
    .theme-toggle {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem;
    }
    
    /* Hamburger menu */
    .hamburger {
        width: 44px !important;
        height: 44px !important;
    }
    
    /* Scroll to top button */
    .scroll-to-top {
        width: 56px !important;
        height: 56px !important;
        font-size: 1.3rem;
    }
}

/* Accessibility - Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==================== MOBILE NAVIGATION ==================== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .navbar.floating .nav-wrapper {
        border-radius: 16px;
        padding: 0.6rem 1rem;
    }
    
    .navbar.scrolled {
        padding: 0.4rem 0;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: 50%;
        top: 90px; /* More space from navbar */
        width: calc(100% - 2rem);
        max-width: 350px; /* Slightly smaller for better mobile fit */
        height: auto;
        max-height: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        text-align: center;
        transition: max-height 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55), 
                    opacity 0.3s ease,
                    transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12),
                    0 2px 8px rgba(0, 0, 0, 0.08),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
        padding: 0;
        z-index: 999;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 16px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        gap: 0;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }
    
    body.dark-mode .nav-menu {
        background: rgba(26, 26, 26, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
                    0 2px 8px rgba(0, 0, 0, 0.3),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        max-height: 500px;
        padding: 0.8rem;
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .nav-menu li {
        padding: 0;
        margin: 0.25rem 0;
        opacity: 0;
        transform: translateX(-20px);
        line-height: 1;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }
    
    .nav-link {
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.75rem 1.2rem;
        display: block;
        border-radius: 10px;
        background: transparent;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        margin: 0;
        line-height: 1.4;
        position: relative;
        overflow: hidden;
    }
}
    .nav-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
        opacity: 0.1;
        transition: left 0.4s ease;
        z-index: -1;
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        left: 0;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
        color: var(--accent-color);
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    body.dark-mode .nav-link:hover,
    body.dark-mode .nav-link.active {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.1));
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    
    .nav-cv-btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar.floating .nav-wrapper {
        border-radius: 14px;
        padding: 0.5rem 0.8rem;
    }
    
    .logo {
        font-size: 0.95rem;
    }

    .logo::before {
        width: 6px;
        height: 6px;
    }
    
    .nav-cv-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.85rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    .hamburger {
        width: 40px;
        height: 40px;
        padding: 0.5rem;
    }

    .hamburger span {
        width: 20px;
    }
}
/* ==================== MOBILE HERO SECTION ==================== */
@media (max-width: 767px) {
    .hero {
        padding: 20px 0 25px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center;
    }
    
    .hero-left {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .profile-card {
        background: var(--card-bg);
        backdrop-filter: blur(10px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 1.5rem;
        gap: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        max-width: 100%;
        display: flex;
        flex-direction: column; /* Better mobile layout */
        align-items: center;
        text-align: center; /* Center for mobile */
    }
    
    .profile-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        border-color: var(--accent-color);
    }
    
    .profile-image-wrapper {
        width: 85px;
        height: 85px;
        min-width: 85px;
        min-height: 85px;
        position: relative;
        flex-shrink: 0;
    }
    
    .profile-ring {
        width: 85px !important;
        height: 85px !important;
        margin-top: -42.5px !important;
        margin-left: -42.5px !important;
        border-width: 1.5px !important;
        border-style: solid !important;
        border-color: var(--border-color) transparent var(--border-color) transparent !important;
        animation: rotate 8s linear infinite !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .profile-ring-2 {
        width: 100px !important;
        height: 100px !important;
        margin-top: -50px !important;
        margin-left: -50px !important;
        border-width: 1.5px !important;
        border-style: solid !important;
        border-color: transparent var(--accent-color) transparent var(--accent-color) !important;
        animation: rotate 6s linear infinite reverse !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .profile-image {
        width: 70px;
        height: 70px;
        border-width: 2px;
    }
    
    .profile-status {
        bottom: 4px;
        right: 4px;
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
}
    .profile-info {
        gap: 0.2rem;
        flex: none; /* Remove flex to center properly */
        text-align: center; /* Center text on mobile */
    }
    
    .profile-name {
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .profile-role {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .profile-social-links {
        gap: 0.5rem;
        margin-top: 0.8rem;
        justify-content: center; /* Center on mobile */
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-width: 1.5px;
    }
    
    .hero-right {
        gap: 1rem;
    }
    
    .hero-intro {
        gap: 0.3rem;
    }
    
    .hero-greeting {
        font-size: 0.85rem;
        display: none;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin: 0;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        display: none;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
        margin: 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }
    
    .stat-item {
        padding: 0.8rem 0.4rem;
        background: var(--card-bg);
        border-radius: 12px;
        border: 1px solid var(--border-color);
    }
    
    .stat-number {
        font-size: 1.4rem;
        margin-bottom: 0.2rem;
        font-weight: 700;
    }
    
    .stat-label {
        font-size: 0.65rem;
        font-weight: 500;
    }
}
    .hero-buttons {
        gap: 0.5rem;
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        border-radius: 10px;
    }
    
    .hero-buttons .btn i {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 15px 0 20px;
    }
    
    .hero-content {
        gap: 1rem;
    }
    
    .profile-card {
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .profile-image-wrapper {
        width: 75px;
        height: 75px;
        min-width: 75px;
        min-height: 75px;
        position: relative;
        flex-shrink: 0;
    }
    
    .profile-ring {
        width: 75px !important;
        height: 75px !important;
        margin-top: -37.5px !important;
        margin-left: -37.5px !important;
        border-width: 1.5px !important;
        border-style: solid !important;
        border-color: var(--border-color) transparent var(--border-color) transparent !important;
        animation: rotate 8s linear infinite !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .profile-ring-2 {
        width: 90px !important;
        height: 90px !important;
        margin-top: -45px !important;
        margin-left: -45px !important;
        border-width: 1.5px !important;
        border-style: solid !important;
        border-color: transparent var(--accent-color) transparent var(--accent-color) !important;
        animation: rotate 6s linear infinite reverse !important;
        border-radius: 50% !important;
        box-sizing: border-box !important;
    }
    
    .profile-image {
        width: 62px;
        height: 62px;
        border-width: 2px;
    }
    
    .profile-status {
        width: 14px;
        height: 14px;
        bottom: 5px;
        right: 5px;
    }
}
    .profile-name {
        font-size: 1rem;
    }
    
    .profile-role {
        font-size: 0.75rem;
    }
    
    .profile-social-links {
        gap: 0.35rem;
        margin-top: 0.4rem;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
        border-width: 1.5px;
    }
    
    .hero-right {
        gap: 0.9rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .hero-stats {
        gap: 0.5rem;
    }
    
    .stat-item {
        padding: 0.7rem 0.3rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.15rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .hero-buttons {
        gap: 0.45rem;
    }
    
    .hero-buttons .btn {
        padding: 9px 16px;
        font-size: 0.8rem;
    }
}

/* ==================== MOBILE CONTAINER ==================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px; /* Increased from 16px for more breathing room */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px; /* Increased from 12px */
    }
}
/* ==================== MOBILE SECTIONS ==================== */
@media (max-width: 480px) {
    /* Global paragraph font size for mobile */
    p {
        font-size: 0.875rem; /* Increased from 0.75rem for readability */
    }
    
    /* Section titles */
    .section-title {
        font-size: 1.5rem; /* Increased from 1.3rem */
        margin-bottom: 2rem; /* Increased from 1.2rem for more space */
    }
    
    /* Quick Highlights Mobile */
    .quick-highlights {
        padding: 2.5rem 0; /* Increased from 15px for more space */
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem; /* Increased from 0.8rem */
    }
    
    .highlight-card {
        padding: 1.25rem 1rem; /* Increased padding */
        min-height: 150px; /* Increased from 140px */
    }
    
    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .highlight-card h3 {
        font-size: 0.9rem;
    }
    
    .highlight-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    /* About Section Mobile */
    .about {
        padding: 3rem 0; /* Increased from 25px */
    }
    
    .about-content {
        gap: 1.25rem; /* Increased from 0.8rem */
    }
    
    .about-card {
        padding: 1.5rem; /* Increased from 1rem */
        animation: none;
        min-height: auto;
    }
    
    .about-text h3 {
        font-size: 0.8rem;
    }
    
    .about-text p {
        font-size: 0.6rem;
        line-height: 1.4;
        margin-bottom: 0.7rem;
    }
    
    .about-features {
        gap: 1rem; /* Increased from 0.7rem */
        margin-bottom: 1.25rem; /* Increased from 0.8rem */
    }
    
    .feature-item {
        padding: 1.25rem; /* Increased from 0.8rem */
        min-height: 150px; /* Increased from 140px */
    }
    
    .feature-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .feature-item h4 {
        font-size: 0.85rem;
    }
    
    .feature-item p {
        font-size: 0.7rem;
    }
}
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .info-item {
        padding: 0.7rem;
        min-height: 100px;
    }
    
    .info-icon {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }
    
    .info-label {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }
    
    .info-value {
        font-size: 0.8rem;
    }
    
    .info-link {
        font-size: 0.8rem;
        word-break: break-all;
    }
    
    .about-social {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .about-social h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .about-social-icons {
        gap: 0.8rem;
    }

    .about-social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-width: 1.5px;
    }
    
    /* Education Section Mobile */
    .education {
        padding: 3rem 0; /* Increased from 25px */
    }
    
    .education-grid {
        gap: 1.25rem; /* Increased from 0.8rem */
    }
    
    .education-card {
        padding: 1.5rem; /* Increased from 1rem */
        min-height: 170px; /* Increased from 160px */
    }
    
    .education-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .education-card h3 {
        font-size: 0.95rem;
    }
    
    .education-meta {
        font-size: 0.75rem;
    }
    
    .education-year {
        font-size: 0.7rem;
    }
}
    /* Experience Section Mobile */
    .experience {
        padding: 3rem 0; /* Increased from 15px for more space */
    }
    
    .experience-timeline {
        padding: 0.5rem 0;
    }
    
    .experience-timeline::before {
        display: none;
    }
    
    .timeline-item {
        margin-bottom: 1.5rem; /* Increased from 0.8rem */
        padding-left: 0;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left;
        padding: 1.25rem; /* Increased from 0.8rem */
    }
    
    .timeline-marker {
        display: none;
    }
    
    .timeline-content {
        padding: 0.6rem;
        min-height: auto;
    }
    
    .timeline-content h3 {
        font-size: 0.8rem;
    }
    
    .company {
        font-size: 0.65rem;
    }
    
    .period {
        font-size: 0.6rem;
    }
    
    .experience-badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.4rem;
    }
    
    .responsibilities {
        font-size: 0.6rem;
    }
    
    .responsibilities li {
        margin-bottom: 0.25rem;
        padding-left: 0.8rem;
    }
    
    /* Skills Section Mobile */
    .skills {
        padding: 10px 0;
    }
    
    .skills-container {
        gap: 0.4rem;
    }
    
    .skill-category {
        padding: 0.4rem;
    }
    
    .category-header {
        margin-bottom: 0.3rem;
    }
    
    .category-header h3 {
        font-size: 0.6rem;
    }
    
    .category-header i {
        font-size: 0.65rem;
    }
}
    .skill-item {
        margin-bottom: 0.3rem;
    }
    
    .skill-tag {
        font-size: 0.45rem;
        padding: 0.15rem 0.3rem;
    }
    
    .skill-rating {
        font-size: 0.4rem;
    }
    
    .skill-bar {
        height: 2.5px;
    }
    
    /* Skills Section Mobile */
    .skills {
        padding: 3rem 0;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
    
    .skill-category-header {
        flex-direction: row;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .skill-category-header i {
        font-size: 1.25rem;
    }
    
    .skill-category-header h3 {
        font-size: 1.1rem;
    }
    
    .skill-items {
        gap: 1rem;
    }
    
    .skill-name {
        font-size: 0.875rem;
    }
    
    .skill-level {
        font-size: 0.75rem;
    }
    
    .skill-bar {
        height: 6px;
    }
    
    /* Projects Section Mobile */
    .projects {
        padding: 3rem 0; /* Increased from 25px */
    }
    
    .projects-grid {
        gap: 1.25rem; /* Increased from 0.9rem */
    }
    
    .project-card {
        padding: 1.5rem; /* Increased from 1rem */
    }
    
    .project-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .project-header h3 {
        font-size: 0.95rem;
    }
    
    .project-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.45rem;
    }
    
    .project-card p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .project-details {
        font-size: 0.7rem;
        padding: 0.5rem;
        margin: 0.5rem 0;
    }
    
    .project-tech span {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    /* Freelancer Section Mobile */
    .freelancer {
        padding: 3rem 0;
    }
    
    .freelancer-intro {
        margin-bottom: 2rem;
    }
    
    .freelancer-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1rem;
    }
    
    .freelancer-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .freelancer-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .freelancer-card {
        padding: 1.5rem;
    }
    
    .freelancer-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .freelancer-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    
    .freelancer-card p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    .freelancer-skills li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .freelancer-cta {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .freelancer-cta-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .freelancer-cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .freelancer-cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .freelancer-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .freelancer-stats {
        flex-direction: row;
        gap: 1.5rem;
        justify-content: space-around;
    }
    
    .freelancer-stat-item i {
        font-size: 1.5rem;
    }
    
    .freelancer-stat-item .stat-value {
        font-size: 1.1rem;
    }
    
    .freelancer-stat-item .stat-label {
        font-size: 0.8rem;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 3rem 0; /* Increased from 25px */
    }
    
    /* References Section Mobile */
    .references {
        padding: 3rem 0; /* Increased from 25px */
    }
    
    /* Gallery Mobile */
    .gallery-grid {
        gap: 0.7rem;
    }
    
    .gallery-item {
        height: 160px;
    }
    
    .gallery-overlay h4 {
        font-size: 0.85rem;
    }
    
    .gallery-overlay p {
        font-size: 0.7rem;
    }
}
    /* Scroll to Top Button */
    #scrollToTop {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ==================== TABLET RESPONSIVE ==================== */
@media (max-width: 768px) {
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 60px);
        margin-left: 45px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 20px;
        transform: translateX(-50%);
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== MODERN UI MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
    .gradient-orb,
    .blob {
        width: 200px !important;
        height: 200px !important;
    }
    
    .glass-card {
        padding: 1rem;
    }
    
    .infographic-resume {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .info-stat {
        padding: 1rem;
    }
    
    .info-stat-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .info-stat-number {
        font-size: 1.5rem;
        margin: 0.3rem 0;
    }
    
    .info-stat-label {
        font-size: 0.8rem;
    }
    
    .circular-progress {
        width: 80px;
        height: 80px;
        margin-bottom: 0.5rem;
    }
    
    .circular-progress-text {
        font-size: 1rem;
    }
    
    .neon-text {
        font-size: 1.3rem;
    }
}
@media (max-width: 480px) {
    .gradient-orb,
    .blob {
        width: 150px !important;
        height: 150px !important;
        filter: blur(50px);
    }
    
    .glass-card {
        padding: 0.8rem;
        border-radius: 12px;
    }
    
    .infographic-resume {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .info-stat {
        padding: 0.8rem 0.5rem;
    }
    
    .info-stat-icon {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    
    .info-stat-number {
        font-size: 1.3rem;
        margin: 0.2rem 0;
    }
    
    .info-stat-label {
        font-size: 0.7rem;
        line-height: 1.2;
    }
    
    .info-stat-description {
        font-size: 0.65rem;
    }
    
    .circular-progress {
        width: 70px;
        height: 70px;
        margin-bottom: 0.4rem;
    }
    
    .circular-progress circle {
        stroke-width: 5;
    }
    
    .circular-progress-text {
        font-size: 0.9rem;
    }
    
    .btn-neon {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Hide decorative elements on mobile for performance */
    .gradient-orb {
        display: none;
    }
    
    /* Simplify blob animations */
    .blob {
        animation-duration: 15s !important;
    }
    
    /* Hide SVG illustration on mobile */
    .svg-illustration.developer-svg {
        display: none !important;
    }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
    /* Disable animation on mobile for performance */
    section {
        animation: none;
    }
    
    /* Reduce section spacing */
    section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    /* Optimize infographic resume spacing */
    .about .infographic-resume {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Optimize circular progress section */
    .skills .infographic-resume {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .skills .section-title {
        margin-top: 1.5rem !important;
    }
}