/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .hero .subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }

    .section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

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

    .project-image {
        height: 200px;
    }

    .btn-glass,
    .btn-outline-glass {
        width: 100%;
        justify-content: center;
    }

    .experience-header {
        flex-direction: column;
    }

    .period {
        align-self: flex-start;
    }

    .skill-category,
    .education-card,
    .certification-card,
    .award-card {
        margin-bottom: 1rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .process-content {
        width: 100%;
        margin-left: 60px;
        --process-offset: 0px;
        transform: none !important;
    }

    .process-number {
        position: absolute;
        left: 0;
    }

}

/* Small Mobile Devices */
@media (max-width: 480px) {
    :root {
        --spacing: 1rem;
    }

    section {
        padding: clamp(3rem, 8vh, 5rem) 0;
    }

    .card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* Print Styles for Resume */
@media print {
    .navbar,
    .hero,
    #services,
    #work,
    #process,
    #contact,
    .footer,
    .animated-bg,
    .orb,
    .btn-glass {
        display: none !important;
    }

    #resume {
        padding: 20px !important;
    }

    .glass {
        background: white !important;
        border: 1px solid #ddd !important;
    }

    body {
        background: white !important;
        color: #000 !important;
    }

    h1, h2, h3, h4, h5, h6,
    .experience-header h4,
    .company,
    .period,
    .experience-list li,
    .tech-badge,
    .skill-tags span,
    p {
        color: #000 !important;
    }

    .section-title {
        color: #000 !important;
    }
}
