@media (max-width: 900px) {
    .main-layout { flex-direction: column !important; }
    .sidebar-desktop { display: none !important; }
    .sidebar-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        background: #cdf0ff;
        min-width: 0;
        max-width: 700px;
        width: 100%;
        padding: 40px 20px 40px 20px;
        box-shadow: -2px 0 8px rgba(0,124,240,0.06);
        border-radius: 20px 20px 20px 20px;
        margin: 32px auto 0 auto;
        order: 3;
    }
    @media (max-width: 700px) {
        .sidebar-mobile {
            max-width:98vw;
            padding-left: 2vw;
            padding-right: 2vw;
        }
    }
    .sidebar-mobile h2 {
        margin-bottom: 24px;
        font-size: 1.3em;
        color: #007cf0;
        text-align: center;
    }
    .sidebar-mobile .skills-list {
        display: flex;
        flex-direction: column;
        gap: 28px;
        align-items: center;
        width: 100%;
    }
    .sidebar-mobile .skill {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        min-height: unset;
    }
    .sidebar-mobile .skill img {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 10px !important;
        margin-right: 0 !important;
    }
    .sidebar-mobile .skill span {
        font-size: 1em;
        color: #007cf0;
        font-weight: 600;
    }
}
@media (max-width: 900px) {
    .main-layout { flex-direction: column !important; }
    .sidebar-desktop { display: none !important; }
    .sidebar-mobile { display: block !important; width: 100% !important; margin: 2em 0 0 0; padding: 0 1em; }
}
/* Hide/show sidebar for desktop/mobile */
.sidebar-mobile { display: none; }
@media (max-width: 900px) {
    .main-layout { flex-direction: column; }
    .sidebar-desktop { display: none !important; }
    .sidebar-mobile { display: block !important; margin: 2em 0 0 0; padding: 0 1em; }
}
@media (max-width: 700px) {
    /* Projects: stack vertically, image above text */
    .project-list { flex-direction: column !important; gap: 18px !important; align-items: stretch !important; }
    .project { flex-direction: column !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; align-items: stretch !important; padding: 0 !important; min-height: unset !important; }
    .project-image { flex: none !important; min-width: 0 !important; max-width: 100% !important; width: 100% !important; height: auto !important; border-radius: 12px 12px 0 0 !important; justify-content: center !important; align-items: center !important; overflow: hidden; }
    .project-image img { width: 100% !important; height: auto !important; border-radius: 12px 12px 0 0 !important; object-fit: cover !important; margin: 0 !important; }
    .project-text { padding: 18px 14px 14px 14px !important; text-align: left !important; }
}
.contact-form .back-to-start, a.back-to-start {
    padding: 8px 20px !important;
    font-size: 0.95em !important;
    background: linear-gradient(90deg, #00dfd8 0%, #007cf0 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(0,124,240,0.10) !important;
    text-decoration: none !important;
    transition: background 0.3s, transform 0.2s !important;
    display: inline-block !important;
    appearance: none !important;
    min-width: 120px !important;
    width: auto !important;
    text-align: center !important;
    vertical-align: middle !important;
}
.contact-form .back-to-start:hover, a.back-to-start:hover {
    background: linear-gradient(90deg, #007cf0 0%, #00dfd8 100%) !important;
    transform: scale(1.06) !important;
}
.contact-section {
    background: #e2f7fd;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 40px 10vw 30px 10vw;
    margin: 40px auto 0 auto;
    max-width: 700px;
}
.contact-section h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 28px;
    background: linear-gradient(90deg, #007cf0, #00dfd8, #007cf0);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradient-move 3s linear infinite;
    font-weight: bold;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 420px;
    margin: 0 auto;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-weight: 600;
    color: #007cf0;
    margin-bottom: 2px;
}
.form-group input,
.form-group textarea {
    padding: 10px 14px;
    border: 1.5px solid #b2e6f7;
    border-radius: 6px;
    font-size: 1em;
    background: #f6f7fa;
    color: #222;
    transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    border: 1.5px solid #00dfd8;
    outline: none;
}
.contact-form .learn-more {
    margin-top: 10px;
    width: 100%;
    font-size: 1.1em;
}
#hero-typewriter {
    background: linear-gradient(90deg, #007cf0, #00dfd8, #007cf0);
    background-size: 200% auto;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    animation: gradient-move 3s linear infinite;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 1.5px;
    display: inline-block;
    width: 28ch;
    min-width: 28ch;
    max-width: 28ch;
    min-height: 1.2em;
    line-height: 1.2em;
    white-space: nowrap;
}
body {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin: 0;
    background: none;
    color: #222;
    position: relative;
}

.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.7);
}
header {
    background: linear-gradient(90deg, rgba(47,140,228,0.3) 0%, rgba(0,223,216,0.75) 100%);
    color: #fff;
    padding: 60px 0 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#header .learn-more, .learn-more {
    margin-top: 22px;
    padding: 12px 32px;
    font-size: 1.1em;
    background: linear-gradient(90deg, #00dfd8 0%, #007cf0 100%);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,124,240,0.10);
    transition: background 0.3s, transform 0.2s;
}
.learn-more:hover {
    background: linear-gradient(90deg, #007cf0 0%, #00dfd8 100%);
    transform: scale(1.06);
}
#typewriter {
    font-size: 2.5em;
    font-weight: bold;
    min-height: 60px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 1.2em;
    opacity: 0.85;
}
.projects {
    padding: 40px 10vw;
    background: #e2f7fd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 12px;
}
.projects h2 {
        font-size: 40px;
        text-align: center;
        margin-bottom: 30px;
        background: linear-gradient(90deg, #007cf0, #00dfd8, #007cf0);
        background-size: 200% auto;
        color: transparent;
        background-clip: text;
        -webkit-background-clip: text;
        animation: gradient-move 3s linear infinite;
        font-weight: bold;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}
.project-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}
.project {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #c6f2ff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 0;
    width: 540px;
    min-height: 180px;
    margin: 0;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    animation: fadeInUp 1s;
    overflow: hidden;
}
.project img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    margin: 0;
    opacity: 1;
    position: static;
    pointer-events: auto;
}
.project-image {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c6f2ff;
}
.project-text {
    flex: 1;
    padding: 28px 24px 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #c6f2ff;
}
/* Project image and text containers */
/* removed duplicate .project-image and .project-text rules */
.project-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.25em;
    color: #007cf0;
}
.project-text p {
    margin: 0;
    color: #222;
    font-size: 1em;
}

/* Backgrounds for each project type */
.project.commercial {
    background-image: url('/assets/images/commercial.png');
}
.project.store {
    background-image: url('/assets/images/store.png');
}
.project.portfolio {
    background-image: url('/assets/images/portfolio.png');
}
.project:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,124,240,0.15);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
.skills {
    padding: 40px 10vw;
    background: #eaf6fb;
}
.skills h2 {
    text-align: center;
    margin-bottom: 30px;
}
.skills-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1.2s;
}
.skill img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 6px #00dfd8aa);
    transition: transform 0.2s;
}
.skill img:hover {
    transform: scale(1.15) rotate(-5deg);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
footer {
    background: linear-gradient(90deg, rgba(0,124,240,0.3) 0%, rgba(0,223,216,0.65) 100%);
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 1em;
    margin-top: 40px;
}

/* --- Sidebar, Main Layout, and Hero Section --- */
.main-layout {
    display: flex;
    min-height: 70vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0 40px 0;
    flex-direction: row;
}
.sidebar {
    background: #cdf0ff;
    min-width: 220px;
    max-width: 260px;
    padding: 40px 20px 40px 20px;
    box-shadow: -2px 0 8px rgba(0,124,240,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px 20px 20px 20px;
    margin-left: 0;
    margin-top: 40px;
    order: 2;
}
.sidebar h2 {
    margin-bottom: 24px;
    font-size: 1.3em;
    color: #007cf0;
}
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: center;
}
.main-content {
    flex: 1;
    padding: 0 3vw;
    order: 1;
}
.hero {
    background: #fff;
    margin: 40px 0 30px 0;
    padding: 40px 30px 32px 30px;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,124,240,0.07);
    text-align: center;
    animation: fadeIn 1.2s;
}
.hero-text {
    font-size: 1.4em;
    margin-bottom: 28px;
    color: #222;
    font-weight: 500;
}
.skills {
    display: none;
}
.commercial {
    background-image: url('assets/images/commercial.png');
}