body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #222;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    min-width: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
nav {
    background-color: #ffffff;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-weight: bold;
    font-size: clamp(14px, 2vw, 20px);
    color: #2874a6 !important;
    text-decoration: none;
    margin: 0 !important;
}

.nav-brand:hover {
    color: #1a5276 !important;
}

.nav-social-icons {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-left: 25px;
}

.nav-social-icons a {
    color: #555 !important;
    font-size: 16px;
    margin: 0 !important;
    transition: color 0.2s ease;
}

.nav-social-icons a:hover {
    color: #2874a6 !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

nav a {
    color: #222;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #0077cc;
}

nav a.active-nav {
    color: #0077cc;
}

.nav-name {
    font-weight: bold;
    font-size: 18px;
    color: #222;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    white-space: nowrap;
    pointer-events: none;
    position: absolute;
    left: 30px;
    text-decoration: none;
}

.nav-name.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.nav-name:hover {
    color: #0077cc;
}

/* Hamburger - hidden on desktop */
.nav-hamburger {
    display: none;
}

/* Mobile Menu Button - hidden on desktop */
.mobile-menu-btn {
    display: none;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2874a6;
    z-index: 9999;
    flex-direction: column;
    padding: 30px 30px 40px 30px;
    display: none;
    opacity: 0;
    transform: translateY(-20px);
}

.mobile-menu.open {
    display: flex;
    animation: menuFadeIn 0.4s ease forwards;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.mobile-menu.open .mobile-menu-header {
    animation: fadeSlideDown 0.3s ease 0.2s both;
}

.mobile-menu-name {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
}

.mobile-menu-links a {
    color: #ffffff;
    font-size: 28px;
    font-family: Georgia, serif;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.open .mobile-menu-links a:nth-child(1) { animation: fadeSlideUp 0.4s ease 0.15s both; }
.mobile-menu.open .mobile-menu-links a:nth-child(2) { animation: fadeSlideUp 0.4s ease 0.25s both; }
.mobile-menu.open .mobile-menu-links a:nth-child(3) { animation: fadeSlideUp 0.4s ease 0.35s both; }
.mobile-menu.open .mobile-menu-links a:nth-child(4) { animation: fadeSlideUp 0.4s ease 0.45s both; }

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-links a:hover {
    opacity: 0.7 !important;
}

.mobile-menu-socials {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding-top: 20px;
    padding-bottom: 50px;
}

.mobile-menu-socials a {
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mobile-menu-socials a:hover {
    opacity: 0.7;
}

/* Main content */
main {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
}

/* Sections */
section {
    background-color: white;
    padding: 40px;
    margin-bottom: 0;
    border-radius: 0;
}

/* Section Titles — unified centered style */
section > h2 {
    text-align: center;
    font-size: 32px;
    color: #222;
    margin-bottom: 5px;
    position: relative;
    padding-bottom: 15px;
}

section > h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: #0077cc;
    margin: 12px auto 0;
    border-radius: 2px;
}

h3 {
    margin-bottom: 5px;
    color: #222;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 20px;
    margin: 10px 5px 10px 0;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: #005fa3;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #2874a6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Page content fade in */
body.loaded main,
body.loaded nav,
body.loaded footer {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: #222;
    color: white;
}

/* Music Section (all pages) */
.music-section {
    background-color: #a8c8e0;
    padding: 50px 40px;
    text-align: center;
    border-radius: 0;
    margin: 0;
}

.music-label {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    text-decoration: underline;
}

.music-video {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.music-video iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

footer p {
    margin: 0;
    font-size: 14px;
}

/* Typewriter cursor */
.cursor {
    animation: blink 0.7s infinite;
    color: #0077cc;
    font-weight: normal;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Typewriter Section */
.typewriter-section {
    text-align: center;
    padding: 30px 40px;
}

.typewriter-text {
    font-size: 24px;
    font-weight: bold;
    color: #222;
    margin: 0;
}

.typewriter-text span {
    color: #0077cc;
}

/* ===== HOME SECTION ===== */
.hero-section {
    background-color: #2874a6;
    padding: 124px 60px;
    border-radius: 0;
    margin-bottom: 0;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-image {
    flex: 0 0 220px;
}

.hero-section .profile-photo {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.hero-text h1 {
    font-size: 40px;
    color: #ffffff;
    line-height: 1.5;
    font-weight: bold;
    text-align: left;
    margin: 0 0 15px 0;
}

.hero-text h1::after {
    display: none;
}

.hero-tagline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

/* ===== ABOUT / INTRO SECTION ===== */
.intro-section {
    background-color: white;
    padding: 60px 40px;
    border-radius: 0;
}

.intro-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.intro-line {
    width: 50px;
    height: 3px;
    background-color: #2874a6;
    border-radius: 2px;
}

.intro-header h2 {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    text-align: left;
}

.intro-header h2::after {
    display: none;
}

.intro-content p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

/* Intro Gallery */
.intro-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #e0e0e0;
    border: 3px solid #2874a6;
}

/* Keep old home styles for fallback */
.home-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.home-text {
    flex: 1;
}

.home-text h1 {
    font-size: 42px;
    margin-bottom: 5px;
    color: #222;
    text-align: left;
}

.home-text h1::after {
    display: none;
}

.home-text p {
    color: #444;
    font-size: 16px;
    margin-bottom: 20px;
}

.home-image {
    flex: 0 0 250px;
    text-align: center;
}

.profile-photo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
}

/* ===== FILTER TABS (Portfolio page) ===== */
.section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 30px;
    background-color: #fff;
    color: #444;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: Arial, sans-serif;
}

.filter-btn:hover {
    border-color: #0077cc;
    color: #0077cc;
}

.filter-btn.active {
    background-color: #0077cc;
    border-color: #0077cc;
    color: #fff;
}

/* ===== PROJECTS & EXPERIENCE GRID ===== */
.project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.project-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.project-content {
    padding: 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-content h3 {
    font-size: 17px;
    margin-top: 0;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 14px;
    color: #444;
}

.project-skills {
    margin-top: auto;
}

.project-button {
    margin-top: 10px;
}

.project-meta {
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

/* Project Tags */
.project-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tag-work {
    background-color: #dbeafe;
    color: #1e40af;
}

.tag-research {
    background-color: #f3e8ff;
    color: #7c3aed;
}

.tag-event {
    background-color: #d1fae5;
    color: #065f46;
}

.tag-competition {
    background-color: #fef3c7;
    color: #92400e;
}

.project-skills {
    color: #555;
    font-size: 13px;
    padding-top: 8px;
}

.project-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.project-button:hover {
    background-color: #005fa3;
}

.project-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Slideshow */
.slideshow {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

/* Project video on card — same position as image (above content) */
.project-card > .project-video {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.project-card > .project-video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== COURSES GRID ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.course-card {
    padding: 16px 20px;
    background-color: #f5f7fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.course-card:hover {
    transform: translateY(-3px);
    border-color: #0077cc;
}

.course-code {
    display: block;
    font-size: 11px;
    color: #0077cc;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.courses-group-title {
    text-align: center;
    color: #0077cc;
    font-size: 20px;
    margin-top: 35px;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .courses-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== SKILLS SECTION ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.skill-item {
    padding: 14px 20px;
    background-color: #f5f7fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    border-color: #0077cc;
}

/* ===== RESUME SECTION ===== */
.resume-list {
    max-width: 800px;
    margin: 30px auto 0;
}

.resume-item {
    padding: 25px 0;
    border-bottom: 1px solid #eee;
}

.resume-item:last-child {
    border-bottom: none;
}

.resume-header {
    margin-bottom: 12px;
}

.resume-header h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 5px;
}

.resume-location {
    display: inline-block;
    font-size: 14px;
    color: #0077cc;
    margin-right: 15px;
}

.resume-date {
    display: inline-block;
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.resume-item ul {
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 0;
}

.resume-item ul li {
    font-size: 15px;
    color: #444;
    margin-bottom: 6px;
    line-height: 1.6;
}

/* ===== EDUCATION TIMELINE ===== */
.timeline {
    margin-top: 40px;
    padding-left: 30px;
    border-left: 2px solid #e8e8e8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    position: relative;
    padding-bottom: 35px;
    padding-left: 25px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -10px;
    top: 5px;
    width: 16px;
    height: 16px;
    background-color: #0077cc;
    border-radius: 50%;
}

.timeline-content h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 4px;
}

.timeline-institution {
    color: #0077cc;
    font-size: 15px;
    margin-bottom: 2px;
}

.timeline-date {
    color: #888;
    font-size: 14px;
}

/* ===== CONTACT SECTION ===== */
.contact-subtitle {
    text-align: center;
    color: #444;
    margin-bottom: 40px;
    font-size: 16px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #333;
}

.contact-icon-svg {
    width: 24px;
    height: 24px;
    color: #0077cc;
    flex-shrink: 0;
}

.contact-info-item a {
    color: #0077cc;
    text-decoration: none;
    font-weight: 500;
}

.contact-info-item a:hover {
    text-decoration: underline;
}

/* Contact Social */
.contact-social {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-social h3 {
    font-size: 20px;
    color: #222;
    margin-bottom: 5px;
}

.contact-social a {
    color: #444;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-social a:hover {
    color: #0077cc;
}

.social-icon-svg {
    width: 20px;
    font-size: 18px;
    color: #0077cc;
    text-align: center;
}

/* Contact Form */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form label {
    font-size: 14px;
    color: #222;
    margin-top: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    background-color: #f9fafb;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #0077cc;
    background-color: #fff;
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.send-button {
    margin-top: 15px;
    align-self: center;
    padding: 14px 30px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
}

/* ===== RESPONSIVE: Tablet (768px - 1024px) ===== */
@media (max-width: 1024px) {
    main {
        padding: 30px 20px;
    }

    .hero-layout {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 30px;
    }

    .project-container {
        grid-template-columns: repeat(2, 1fr);
    }

    nav {
        padding: 15px 20px;
    }
}

/* ===== RESPONSIVE: Small Tablet / Large Phone (600px - 768px) ===== */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        text-align: center;
        font-size: 26px;
    }

    .hero-section .profile-photo {
        width: 180px;
        height: 220px;
    }

    .project-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

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

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

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .intro-gallery {
        grid-template-columns: 1fr;
    }

    .quote-content {
        flex-direction: column;
        gap: 20px;
    }

    .quote-text p {
        font-size: 24px;
    }

    section > h2 {
        font-size: 26px;
    }

    /* Nav: hide links on tablet, show hamburger */
    .nav-links {
        display: none !important;
    }
    .nav-social-icons {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    .mobile-menu-btn span {
        width: 28px;
        height: 3px;
        background-color: #2874a6;
        border-radius: 2px;
    }
}

/* ===== RESPONSIVE: Mobile (max 600px) ===== */
@media (max-width: 600px) {
    body {
        background-color: #2874a6;
    }

    nav {
        padding: 15px 20px;
        background-color: #ffffff;
        border-bottom: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav-brand {
        font-size: 14px !important;
        color: #2874a6 !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-social-icons {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .mobile-menu-btn span {
        width: 28px;
        height: 3px;
        background-color: #2874a6;
        border-radius: 2px;
    }

    main {
        padding: 0 15px 40px;
    }

    .hero-section {
        background-color: #2874a6;
        padding: 40px 0;
        border-radius: 0;
    }

    .hero-layout {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 22px;
        text-align: left;
        color: #ffffff;
    }

    .hero-tagline {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
    }

    .hero-image {
        flex: none;
        text-align: center;
        width: 100%;
    }

    .hero-section .profile-photo {
        width: 200px;
        height: 250px;
        border-radius: 8px;
        border: none;
    }

    .intro-section {
        background-color: #2874a6;
        padding: 30px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .intro-header h2 {
        color: #ffffff;
        font-size: 14px;
    }

    .intro-line {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .intro-content p,
    .intro-right p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 15px;
        line-height: 1.8;
    }

    .intro-gallery {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .gallery-image {
        height: 180px;
    }

    .typewriter-section {
        background-color: #2874a6;
        padding: 25px 0;
    }

    .typewriter-text {
        font-size: 17px;
        color: #ffffff;
    }

    section {
        background-color: transparent;
        padding: 20px 0;
    }

    section > h2 {
        font-size: 20px;
    }

    h1 {
        font-size: 22px;
    }

    .project-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-content h3 {
        font-size: 15px;
    }

    .project-content p {
        font-size: 13px;
    }

    .project-image,
    .slideshow {
        height: 160px;
    }

    .project-card > .project-video {
        height: 160px;
    }

    .skills-container {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        font-size: 16px;
        padding: 12px 14px;
        box-sizing: border-box;
    }

    .contact-form label {
        font-size: 14px;
    }

    .send-button {
        width: 100%;
        max-width: 100%;
    }

    .contact-subtitle {
        font-size: 14px;
        padding: 0 5px;
    }

    .contact-info-item {
        font-size: 13px;
        word-break: break-word;
    }

    .contact-social a {
        font-size: 14px;
    }

    #contact {
        padding: 20px 15px;
        background-color: #ffffff;
        border-radius: 10px;
    }

    .quote-section {
        padding: 35px 15px;
    }

    .quote-content {
        flex-direction: column;
        gap: 15px;
    }

    .quote-text p {
        font-size: 18px;
    }

    .quote-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .music-section {
        padding: 30px 15px;
    }

    .music-video {
        max-width: 100%;
    }

    .music-video iframe {
        height: 180px;
    }

    footer {
        background-color: #222;
    }

    footer p {
        color: white;
        font-size: 13px;
    }

    .filter-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-btn {
        font-size: 13px;
        padding: 7px 14px;
    }
}

/* ===== RESPONSIVE: Small Mobile (max 380px) ===== */
@media (max-width: 380px) {
    .nav-brand {
        font-size: 13px !important;
    }

    .hero-text h1 {
        font-size: 19px;
    }

    .hero-section .profile-photo {
        width: 170px;
        height: 210px;
    }

    .intro-right p,
    .intro-content p {
        font-size: 14px;
    }

    .typewriter-text {
        font-size: 15px;
    }

    .quote-text p {
        font-size: 16px;
    }

    .project-content h3 {
        font-size: 14px;
    }

    .project-content p {
        font-size: 12px;
    }

    .mobile-menu-links a {
        font-size: 22px;
    }

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