@media (max-width: 768px) {
    /* General */
    body {
        padding: 15px;
    }

    /* Header */
    header {
        flex-wrap: wrap;
        gap: 15px;
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 20px;
    }

    .logo {
        height: 40px;
    }

    .open-to-work {
        padding: 8px 16px;
        font-size: 12px;
        border: 1.5px dashed var(--green);
    }

    .open-to-work p {
        font-size: 12px;
    }

    .dot {
        height: 8px;
        width: 8px;
        margin-right: 8px;
    }

    /* Hero Section */
    .main-hero {
        min-height: 75vh;
        padding: 40px 15px;
    }

    .hero-content {
        gap: 30px;
    }

    .project-name {
        white-space: normal;
        font-size: clamp(45px, 18vw, 180px) !important;
        line-height: 0.85;
    }

    .letter-gray {
        color: rgba(255, 255, 255, 0.15);
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
        text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    }

    .letter-green {
        color: rgba(76, 175, 80, 0.1);
        -webkit-text-stroke: 1.5px var(--green);
        text-stroke: 1.5px var(--green);
    }

    .hero-tagline p {
        font-size: 20px !important;
        line-height: 0.7;
    }

    .tagline-normal, .tagline-highlight {
        display: block;
    }

    .hero-info {
        margin-bottom: 20px;
    }

    .role-badge {
        font-size: 7px !important;
        padding: 5px 8px !important;
    }

    /* About Section */
    .about-section {
        padding: 40px 20px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-header h2 {
        font-size: 32px;
    }

    .about-text p {
        font-size: 15px;
        line-height: 1.6;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .stat-card {
        padding: 25px 20px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .about-skills {
        margin-top: 40px;
    }

    .about-skills h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .skill-tag {
        padding: 12px 15px;
        font-size: 12px;
    }

    /* Projects Section */
    .projects-section {
        padding: 40px 20px;
    }

    .projects-header h2 {
        font-size: 32px;
    }

    .timeline {
        position: relative;
        padding: 20px 0;
    }

    .timeline::before {
        left: 15px;
        width: 2px;
    }

    .timeline-item {
        display: block;
        margin-bottom: 40px;
        padding-left: 50px;
        position: relative;
    }

    .timeline-item.timeline-left,
    .timeline-item.timeline-right {
        flex-direction: column;
    }

    .timeline-content {
        width: 100%;
        padding: 0;
        text-align: left !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        text-align: left;
    }

    .timeline-left .tech-stack,
    .timeline-right .tech-stack {
        justify-content: flex-start;
    }

    .timeline-left .project-links,
    .timeline-right .project-links {
        justify-content: flex-start !important;
    }

    .timeline-dot {
        position: absolute;
        left: 3.5px;
        top: 50%;
        transform: translateY(-50%);
        width: 20px !important;
        height: 20px !important;
        box-shadow: 0 0 15px rgba(76, 175, 80, 0.6) !important;
    }

    .timeline-dot::before {
        width: 28px !important;
        height: 28px !important;
        border-width: 2px !important;
    }

    .timeline-dot::after {
        width: 10px !important;
        height: 10px !important;
    }

    .timeline-item h3 {
        font-size: 18px;
        margin: 0 0 8px 0;
    }

    .timeline-item p {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 0 10px 0;
    }

    .tech-stack {
        gap: 8px;
        flex-wrap: wrap;
        display: flex;
    }

    .tech-tag {
        padding: 6px 10px;
        font-size: 10px;
    }

    .show-more-btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    /* Contact Section */
    .contact-section {
        padding: 40px 20px;
    }

    .contact-header h2 {
        font-size: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-form-header h3 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .contact-form-header p {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
    }

    .contact-info-wrapper {
        display: flex;
        flex-direction: column;
    }

    .direct-contact {
        padding: 25px 20px;
    }

    .direct-contact h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(76, 175, 80, 0.1);
    }

    .contact-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .contact-icon {
        width: 40px;
        min-width: 40px;
    }

    .contact-icon svg {
        width: 24px;
        height: 24px;
    }

    .contact-label {
        font-size: 11px;
    }

    .contact-details p {
        font-size: 14px;
    }

    .social-presence {
        padding: 25px 20px;
    }

    .social-presence h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .social-links {
        gap: 12px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    /* Footer */
    .footer {
        padding: 40px 20px;
        border-top: 1px solid rgba(76, 175, 80, 0.1);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        height: auto;
        width: 50px;
        margin-bottom: 30px;
    }

    .footer-section {
        border-bottom: 1px solid rgba(76, 175, 80, 0.1);
        padding-bottom: 20px;
    }

    .footer-section:last-child {
        border-bottom: none;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-section a {
        font-size: 14px;
        display: block;
        margin-bottom: 10px;
    }

    .footer-section p {
        font-size: 14px;
    }

    .footer-about p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-social {
        gap: 12px;
        margin-top: 15px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        display: inline-flex;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(76, 175, 80, 0.1);
    }

    .footer-bottom p {
        font-size: 12px;
        margin: 0;
    }

    /* Floating Menu */
    .floating-menu {
        bottom: 20px;
        padding: 8px 10px;
        gap: 8px;
    }

    .menu-item {
        width: 40px;
        height: 40px;
    }

    .menu-item svg {
        width: 20px;
        height: 20px;
    }

    .menu-item::before {
        font-size: 10px;
        padding: 6px 10px;
    }

    /* Toast */
    .toast {
        left: 10px;
        right: 10px;
        max-width: none;
        transform: translateX(0) translateY(20px);
        padding: 14px 16px;
        font-size: 13px;
        bottom: 20px;
    }

    .toast.show {
        transform: translateX(0) translateY(0);
    }
}
