@media only screen and (max-width: 768px) {
    /*Header*/
    .viewHeader {
        width: 100%;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 20px;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
    }

    .viewHeader::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        pointer-events: none;
    }

    .headerContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        position: relative;
        z-index: 1;
        text-align: center;
    }

    .avatarSection {
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: zoomIn 1s ease;
    }

    .avatar {
        width: 100px;
        height: 100px;
        border-radius: 50px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        object-fit: cover;
        animation: float 3s ease-in-out infinite;
    }

    .avatar:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
        animation-play-state: paused;
    }

    .viewInfoHeader {
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: slideInLeft 1s ease;
        animation-delay: 0.3s;
        animation-fill-mode: both;
    }

    .textNameHeader {
        color: white;
        font-size: 28px;
        font-family: 'demiBold';
        margin-bottom: 12px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        text-align: center;
        background: linear-gradient(
            90deg,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,0.8) 50%,
            rgba(255,255,255,1) 100%
        );
        background-size: 200% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        animation: fadeInUp 0.8s ease, shimmer 2s infinite;
    }

    .textNameHeader:hover {
        animation: pulse 0.6s ease;
    }

    .jobInfo, .locationInfo {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 6px 0;
        animation: slideInLeft 0.8s ease;
        animation-delay: 0.5s;
        animation-fill-mode: both;
        transition: transform 0.3s ease;
    }

    .jobInfo:hover, .locationInfo:hover {
        transform: scale(1.05);
    }

    .textMajorHeader {
        color: rgba(255, 255, 255, 0.95);
        font-size: var(--medium);
        font-family: 'demiBold';
        margin-left: 8px;
        text-align: center;
    }

    .textLocationHeader {
        color: rgba(255, 255, 255, 0.85);
        font-size: var(--small);
        font-family: 'regular';
        margin-left: 6px;
        text-align: center;
    }

    .viewContact {
        display: flex;
        flex-direction: column;
        align-items: center;
        animation: slideInRight 1s ease;
        animation-delay: 0.7s;
        animation-fill-mode: both;
        gap: 8px;
    }

    .contactTitle {
        margin-bottom: 10px;
    }

    .contactTitleText {
        color: rgba(255, 255, 255, 0.9);
        font-size: var(--small);
        font-family: 'demiBold';
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .viewWrapItemContact {
        display: flex;
        flex-direction: row;
        margin: 3px 0;
        width: 100%;
        justify-content: center;
    }

    .btnItemContact {
        outline: 0;
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 8px 12px;
        transition: background-color 0.2s ease, border-color 0.2s ease;
        backdrop-filter: blur(10px);
        max-width: 280px;
        width: 100%;
        justify-content: center;
    }

    .btnItemContact:hover {
        background-color: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
    }

    .textItemContact {
        color: white;
        font-size: var(--tiny);
        font-family: 'regular';
        margin-left: 6px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        text-align: center;
    }

    /*Body*/
    .viewBody {
        display: flex;
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }

    .viewWrapItemBody {
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        padding: 25px 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        border-left: 4px solid var(--orange);
        animation: fadeInUp 0.6s ease;
        animation-fill-mode: both;
    }

    .viewWrapItemBody:hover {
        transform: translateY(-5px) scale(1.01);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        border-left: 4px solid var(--theme);
    }

    .viewWrapItemBody:hover .textTitleItemBody {
        color: var(--theme);
        transform: scale(1.1) rotate(1deg);
        text-shadow: 0 2px 10px rgba(27, 168, 255, 0.4);
        animation: pulse 0.6s ease;
    }

    .viewWrapItemBody:nth-child(1) { animation-delay: 0.1s; }
    .viewWrapItemBody:nth-child(2) { animation-delay: 0.2s; }
    .viewWrapItemBody:nth-child(3) { animation-delay: 0.3s; }
    .viewWrapItemBody:nth-child(4) { animation-delay: 0.4s; }
    .viewWrapItemBody:nth-child(5) { animation-delay: 0.5s; }
    .viewWrapItemBody:nth-child(6) { animation-delay: 0.6s; }
    .viewWrapItemBody:nth-child(7) { animation-delay: 0.7s; }

    .breakLine {
        display: none; /* Remove break lines as we're using card design */
    }

    .viewWrapTitleItemBody {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 15px;
        justify-content: center;
    }

    .textTitleItemBody {
        color: var(--orange);
        font-size: var(--medium);
        font-family: 'demiBold';
        text-align: center;
        transition: all 0.3s ease;
        cursor: default;
    }

    .textTitleItemBody:hover {
        color: var(--theme);
        transform: scale(1.05);
        text-shadow: 0 2px 8px rgba(27, 168, 255, 0.3);
    }

    .viewWrapContentItemBody {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .textContentItemBody {
        color: var(--charcoalGrey);
        font-size: var(--small);
        font-family: 'demiBold';
        margin-bottom: 4px;
        text-align: left;
        word-spacing: normal;
        letter-spacing: normal;
    }

    .textContentItemBody1 {
        color: var(--charcoalGrey);
        font-size: var(--tiny);
        font-family: 'regular';
        line-height: 1.5;
        margin-bottom: 6px;
        text-align: left;
        word-spacing: normal;
        letter-spacing: normal;
        white-space: normal;
    }

    .textContentItemBody1 a {
        color: var(--theme);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .textContentItemBody1 a:hover {
        color: var(--orange);
        text-decoration: underline;
    }

    .textContentItemBody2 {
        color: #888;
        font-size: var(--tiny);
        font-family: 'lightItalic';
        margin-bottom: 6px;
        text-align: left;
        word-spacing: normal;
        letter-spacing: normal;
    }

    .viewWrapChildContent {
        display: flex;
        flex-direction: column;
        margin-left: 15px;
        padding-left: 10px;
        border-left: 2px solid var(--grey);
    }

    .downloadCVSection {
        display: flex;
        justify-content: center;
        margin: 25px 0;
        position: relative;
    }

    .downloadCVButton {
        background: linear-gradient(135deg, var(--theme) 0%, #2563eb 100%);
        color: white;
        padding: 14px 28px;
        border-radius: 10px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'demiBold';
        font-size: var(--small);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 3px 12px rgba(37, 99, 235, 0.3), 0 1px 3px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        max-width: 200px;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .downloadCVButton:hover {
        background: linear-gradient(135deg, var(--orange) 0%, #f97316 100%);
        transform: translateY(-2px) scale(1.01);
        box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4), 0 3px 6px rgba(0, 0, 0, 0.15);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .downloadCVButton::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }

    .downloadCVButton:hover::before {
        left: 100%;
    }

    .downloadCVText {
        color: white;
        font-family: 'demiBold';
        font-size: var(--small);
        position: relative;
        z-index: 1;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .downloadCVButton .icon {
        position: relative;
        z-index: 1;
    }

    /* Mobile-specific touch optimizations */
    .btnItemContact, .downloadCVButton {
        min-height: 44px; /* iOS recommended touch target size */
        -webkit-tap-highlight-color: transparent;
    }

    /* Reduce motion for users who prefer it */
    @media (prefers-reduced-motion: reduce) {
        .avatar, .viewWrapItemBody {
            animation: none;
        }

        .textNameHeader {
            animation: fadeIn 0.5s ease;
        }
    }
}
