/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
}

/* Navigation */
.top-nav {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-nav.nav-hidden {
    transform: translateY(-100%);
}

.top-nav:not(.nav-hidden) {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.6;
}

.brand-name {
    font-weight: 400;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    transition: opacity 0.3s;
}

.brand-name:hover {
    opacity: 0.6;
    color: #333;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

/* Hamburger Button */
.hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: -10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    justify-content: center;
    align-items: flex-start;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999;
    padding-top: 80px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-menu li {
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.active .mobile-nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-nav-menu li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 400;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
    display: inline-block;
    position: relative;
}

.mobile-nav-menu a:hover {
    opacity: 0.6;
}

.mobile-social-icons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.5s;
}

.mobile-menu.active .mobile-social-icons {
    opacity: 1;
    transform: translateY(0);
}

.mobile-social-icons a {
    color: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-social-icons a:hover {
    opacity: 0.7;
    transform: scale(1.2);
}

body.menu-open {
    overflow: hidden;
}

.foster-empathy {
    background-color: #f5f5f5;
}

.social-icons a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.6;
}

/* Content Layout */
.project-sidebar {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.8;
    position: sticky;
    top: 2rem;
}

.project-sidebar h6 {
    color: #999;
    font-weight: 400;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.project-sidebar p {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-sidebar strong {
    color: #999;
    font-weight: 500;
}

.hero-placeholder {
    background-color: #e0e0e0;
    height: 400px;
    margin-bottom: 3rem;
}

.image-placeholder {
    background-color: #e0e0e0;
    height: 300px;
    margin-bottom: 2rem;
}

.small-placeholder {
    background-color: #e0e0e0;
    height: 200px;
}

.section-title, h2 {
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

h1 {
    font-weight: 600;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.project-card {
    background-color: #e0e0e0;
    height: 250px;
    margin-bottom: 2rem;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.btn-custom {
    background-color: #fff;
    border: 2px solid #333;
    color: #333;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-custom:hover {
    background-color: #333;
    color: #fff;
}

.content-section {
    margin-bottom: 3rem;
}

.main-content {
    padding-right: 30px;
}

.main-content p {
    line-height: 1.6;
    color: #666;
}

/* Work Page - Introduction */
.intro-section {
    text-align: left;
    margin-bottom: 3rem;
}

.intro-heading {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: #333;
}

.intro-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* Work Page - Project Grid */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-box {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    background-color: #f5f5f5;
    transition: transform 0.3s ease;
}

.project-box:hover {
    transform: translateY(-5px);
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.project-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

/* About Page */
.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.profile-photo-wrapper {
    width: 100%;
    max-width: 250px;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 50%;
    display: block;
}

.about-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

.about-text strong {
    color: #333;
    font-weight: 600;
}

.experience-entry {
    margin-bottom: 2.5rem;
}

.experience-period {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.experience-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.experience-company {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.75rem;
}
.left-side {
    padding-right: 40px;    
}
.right-side {
    padding-left: 40px;    
}

/* Other Projects Page */
.other-intro-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin-bottom: 3rem;
}
.other-project-for {
    font-size: 1rem;
    color: #333;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.other-project-entry {
    margin-bottom: 5rem;
}

.other-project-header {
    margin-bottom: 2rem;
}

.other-project-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.1rem;
}

.other-project-meta {
    display: block;
    margin-bottom: 1rem;
}

.other-project-type {
    font-size: 0.85rem;
    color: #999;

    letter-spacing: 0.5px;
}

.other-project-year {
    font-size: 0.85rem;
    color: #999;
}

.other-project-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0;
    margin-top: 2rem;
}

.other-project-images {
    margin-top: 2rem;
}

.other-image-single {
    margin-bottom: 1rem;
}

.other-project-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.btn-back-top {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-back-top:hover {
    background-color: #333;
    color: #fff;
}

.btn-back-work {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    color: #333;
    text-decoration: none;
    border: 2px solid #333;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-back-work:hover {
    background-color: #333;
    color: #fff;
}

/* Project Detail Pages */
.project-hero {
    margin-bottom: 3rem;
}

.half-left {
    width: 45% !important;
    float: left;
}

.project-detail-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.highlight-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    padding: 1.5rem;
    background-color: #f8f8f8;
    border-left: 4px solid #333;
    margin: 2rem 0;
}

.insight-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

li {
    color: #666;
    margin-bottom: 5px;
}

.insight-list li {
    padding: 0.75rem 0;
    line-height: 1.7;
    color: #666;
}

.insight-list li strong {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-block {
    margin-bottom: 2rem;
}

.feature-block h3 {
    margin-bottom: 0.5rem;
}

.feature-block p, .feature-block li {
    color: #666;
}

/* Lightbox Gallery */
.project-detail-image {
    cursor: pointer;
    transition: opacity 0.3s;
}

.project-detail-image:hover {
    opacity: 0.9;
}

.caption {
    font-size: 0.85rem;
    color: #aeaeae !important;
    margin-bottom: 0;
    font-style: italic;
    margin-bottom: 30px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    animation: zoomIn 0.3s;
    background: #fff!important;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.lightbox-content video {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 4px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
    background: none;
    border: none;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #ddd;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    background: none;
    border: none;
    padding: 20px;
    z-index: 10001;
    transition: color 0.3s;
    user-select: none;
}

.lightbox-nav:hover {
    color: #ddd;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 30px;
    }
    
    .lightbox-nav {
        font-size: 35px;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* Foster Empathy Project Images */
.project-content-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.project-image-section {
    margin: 2rem 0;
}

.project-image-section img {
    max-width: 100%;
    height: auto;
}

/* Key Insights Box */
.key-insights {
    background: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #14e8e3;
    border-radius: 4px;
    margin: 2rem 0;
}

.key-insights ul {
    margin-bottom: 0;
}

/* VR Prototype Button */
.btn-vr-prototype {
    display: inline-block;
    padding: 12px 32px;
    background: #14e8e3;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.button-2-prototype {
    background: #BCC4DC; border: none; color: #fff; padding: 12px 32px; border-radius: 20px; font-weight: 600;
}
.button-3-prototype {
    background: #ff8800; border: none; color: #fff; padding: 12px 32px; border-radius: 20px; font-weight: 600;
}
.button-2-prototype:hover {
    background: #ACB4CC; 
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 132, 127, 0.3);
}
.button-3-prototype:hover {
    background: #ff9900; 
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 136, 0, 0.3);
}
.btn-vr-prototype:hover {
    background: #0fc9c4;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 232, 227, 0.3);
}

/* Subsection Title */
.subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-top: 2rem;
}

/* More Projects Carousel */
.more-projects-section {
    background-color: #f8f8f8;
    padding: 80px 0;
    margin-top: 80px;
}

.more-projects-title {
    font-size: 1.25rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 30px;
    padding-left: 15px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover:not(:disabled) {
    background: #333;
    border-color: #333;
}

.carousel-btn:hover:not(:disabled) svg {
    stroke: white;
}

.carousel-btn:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.carousel-track-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: calc((100% - 40px) / 3);
    flex-shrink: 0;
}

.carousel-project-link {
    text-decoration: none;
    display: block;
}

.carousel-project-card {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.carousel-project-card:hover {
    transform: translateY(-5px);
}

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

.carousel-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-project-card:hover .carousel-project-overlay {
    opacity: 1;
}

.carousel-project-title {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .carousel-slide {
        min-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 576px) {
    .carousel-slide {
        min-width: 100%;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .more-projects-section {
        padding: 60px 0;
        margin-top: 60px;
    }
}

/* Tools and Skills Section */
.tools-skills-section {
    background-color: #f5f5f5;
    padding: 60px 40px;
    margin-top: 100px;
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 12px;
}

.tools-skills-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.tools-skills-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.tools-list {
    text-align: center;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 20px;
}

.skills-list {
    text-align: center;
    color: #666;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .tools-skills-section {
        padding: 40px 20px;
        margin-top: 60px;
    }
    
    .tools-skills-title {
        font-size: 2rem;
    }
    
    .tools-list,
    .skills-list {
        font-size: 0.9rem;
    }
}

/* Footer Styles */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    margin-top: 80px;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-social-icons {
    display: inline-flex;
    gap: 20px;
    align-items: center;
}

.footer-social-icons a {
    color: #666;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-social-icons a:hover {
    color: #333;
    transform: translateY(-2px);
}

.footer-social-icons svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 25px 0;
        margin-top: 60px;
    }
    
    .footer-text {
        margin-bottom: 15px !important;
    }
    
    .footer-social-icons {
        margin-top: 10px;
    }
}

/* ==================== */
/* Mobile Responsive    */
/* ==================== */

@media (max-width: 991px) {
    /* Container padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* Images responsive */
    .project-content-image {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Project sidebar on mobile */
    .project-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid #e0e0e0;
    }
    
    /* Typography adjustments */
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .subsection-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    /* Base spacing */
    body {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* Container padding */
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Navigation adjustments */
    .top-nav {
        padding: 0.875rem 0;
    }
    
    /* Hero images */
    .project-hero {
        margin-bottom: 0;
    }
    
    .project-hero img {
        height: auto;
        max-height: 280px;
        object-fit: cover;
    }
    
    /* Main content spacing */
    .main-content {
        padding: 0;
    }
    
    /* Row spacing */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .row.mt-4 {
        margin-top: 1.25rem !important;
    }
    
    .row.mt-5 {
        margin-top: 1.5rem !important;
    }
    
    /* Columns on mobile */
    .col-md-6 {
        margin-bottom: 0.75rem;
    }
    
    /* Typography mobile */
    .main-title {
        font-size: 1.6rem;
        line-height: 1.35;
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
        line-height: 1.4;
        margin-bottom: 1rem;
        margin-top: 2rem;
    }
    
    .subsection-title {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
        margin-top: 1.5rem;
    }
    
    p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    /* Content sections */
    .content-section {
        margin-bottom: 1.5rem;
    }
    
    /* Key insights mobile */
    .key-insights {
        padding: 1rem 1rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .key-insights p {
        margin-bottom: 0.5rem;
    }
    
    /* Caption */
    .caption {
        font-size: 0.8rem;
        margin-top: 0.5rem;
    }
    
    /* Images */
    .project-content-image {
        margin-bottom: 0.5rem;
    }
    
    /* Work grid mobile */
    .work-item {
        margin-bottom: 1.25rem;
    }
    
    /* About page mobile */
    .about-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .about-section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .about-text {
        font-size: 0.9rem;
        line-height: 1.8;
    }
    
    .profile-photo-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .profile-photo {
        max-width: 200px;
    }
    
    /* Experience entries */
    .experience-entry {
        margin-bottom: 1.5rem;
    }
    
    .experience-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .experience-period {
        font-size: 0.8rem;
    }
    
    .experience-company {
        font-size: 0.85rem;
    }
    
    .experience-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Left/right columns on about */
    .left-side, .right-side {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Other projects mobile */
    .other-project-card {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .other-project-title {
        font-size: 1.35rem;
        line-height: 1.3;
    }
    
    .other-project-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .other-intro-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    /* Intro section */
    .intro-heading {
        font-size: 1.4rem;
        line-height: 1.4;
    }
    
    .intro-text {
        font-size: 0.9rem;
        line-height: 1.7;
    }
    
    /* Carousel mobile */
    .more-projects-section {
        padding: 2.5rem 0;
        margin-top: 2rem;
    }
    
    .more-projects-title {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }
    
    /* Footer mobile */
    .site-footer {
        margin-top: 2.5rem;
        padding: 1.5rem 0;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 575px) {
    /* Very small screens */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .main-title {
        font-size: 1.4rem;
        line-height: 1.35;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .subsection-title {
        font-size: 1rem;
    }
    
    p {
        font-size: 0.875rem;
    }
    
    /* Brand name size */
    .brand-name {
        font-size: 0.8rem;
    }
    
    /* Intro */
    .intro-heading {
        font-size: 1.25rem;
    }
    
    .intro-text {
        font-size: 0.85rem;
    }
    
    /* About */
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-section-title {
        font-size: 1.1rem;
    }
    
    .about-text {
        font-size: 0.85rem;
    }
    
    /* Tools section */
    .tools-skills-section {
        padding: 2rem 1rem;
        margin-left: -16px;
        margin-right: -16px;
    }
    
    .tools-skills-title {
        font-size: 1.5rem;
    }
    
    .tools-list,
    .skills-list {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    /* Other projects */
    .other-intro-title {
        font-size: 1.15rem;
    }
    
    .other-project-title {
        font-size: 1.2rem;
    }
    
    /* Footer mobile */
    .site-footer {
        text-align: center;
        padding: 1.25rem 0;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
    
    .footer-social-icons {
        justify-content: center;
        margin-top: 0.75rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #555;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ==================== */
/* Nice Animations      */
/* ==================== */

/* Link underline animation */
.nav-menu a,
.mobile-nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile menu link hover */
.mobile-nav-menu a:hover {
    opacity: 1;
    letter-spacing: 2px;
}

/* Work item / Project card hover */
.work-item {
    transition: transform 0.4s ease;
}

.work-item:hover {
    transform: translateY(-8px);
}

.work-item img {
    transition: transform 0.5s ease, filter 0.3s ease;
}

.work-item:hover img {
    transform: scale(1.03);
}

/* Other project cards */
.other-project-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.other-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Image hover zoom */
.project-hero img {
    transition: transform 0.6s ease;
}

.project-hero:hover img {
    transform: scale(1.02);
}

/* Content images */
.project-content-image {
    overflow: hidden;
    border-radius: 4px;
}

.project-content-image img {
    transition: transform 0.5s ease;
}

.project-content-image:hover img {
    transform: scale(1.02);
}

/* Carousel card hover */
.carousel-project-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.carousel-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Social icons hover */
.social-icons a,
.mobile-social-icons a,
.footer-social-icons a {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover,
.mobile-social-icons a:hover,
.footer-social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.8;
}

/* Button hover effects */
.btn-vr-prototype,
.btn-prototype,
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-vr-prototype:hover,
.btn-prototype:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* Slide animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Apply animations to page elements */
.intro-section {
    animation: slideInUp 0.8s ease forwards;
}

.about-title {
    animation: slideInUp 0.6s ease forwards;
}

.project-hero {
    animation: fadeIn 0.8s ease forwards;
}

/* Smooth image loading */
img {
    opacity: 1;
    transition: opacity 0.4s ease;
}

img[loading] {
    opacity: 0;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #333;
    outline-offset: 3px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
