/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #3A72FF;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #ffffff;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    white-space: nowrap;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(58, 114, 255, 0.1);
}

/* Language Toggle Button */
.lang-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle:hover {
    background: rgba(58, 114, 255, 0.1);
}

.lang-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.lang-toggle:hover .lang-icon {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 120px 20px 60px;
    z-index: 1;
}


.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.gradient-bg {
    position: absolute;
    opacity: 0.6;
    pointer-events: none;
    will-change: transform;
    max-width: 80%;
    max-height: 80%;
}

.gradient-top-left {
    top: 0%;
    left: 0%;
    animation: floatGradient1 8s ease-in-out infinite;
}

.gradient-bottom-right {
    bottom: 0%;
    right: 0%;
    animation: floatGradient2 10s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatGradient1 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) translateX(-15px) rotate(180deg) scale(0.9);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-40px) translateX(10px) rotate(270deg) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes floatGradient2 {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    33% { 
        transform: translateY(25px) translateX(-20px) rotate(120deg) scale(1.2);
        opacity: 0.6;
    }
    66% { 
        transform: translateY(35px) translateX(15px) rotate(240deg) scale(0.8);
        opacity: 0.4;
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.blob-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.blob-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 60%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    color: #1a1a1a;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #666;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    animation: fadeInUp 1s ease-out 0.4s both;
}

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

/* Portfolio Section */
.portfolio {
    padding: 60px 0 100px;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 32px;
    margin-top: 0;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.project-image {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: block;
    width: 100%;
}

.project-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

/* No overlay on project images for clean display */

.device-frame.laptop {
    width: 180px;
    height: 120px;
}

.device-frame.phone {
    width: 60px;
    height: 120px;
    border-radius: 20px;
}

.device-frame.phone-hand {
    width: 80px;
    height: 160px;
    border-radius: 25px;
}

.screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 8px;
    position: relative;
}

.screen.dark {
    background: #1a1a1a;
}

.screen::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: #4F7DF3;
    border-radius: 2px;
}

.project-info {
    padding: 24px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 12px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0;
    color: #1a1a1a;
    flex: 1 1 auto;
    line-height: 1.3;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: wrap;
    width: 100%;
    order: 3;
}

.tag {
    background: rgba(58, 114, 255, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-year {
    position: static;
    margin-left: auto;
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
    order: 2;
    padding-top: 2px;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #1a1a1a;
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 100px 20px 40px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Adjust gradient for mobile */
    .gradient-bg {
        opacity: 0.4;
    }
    
    .gradient-top-left {
        max-width: 60%;
        max-height: 60%;
    }
    
    .gradient-bottom-right {
        max-width: 60%;
        max-height: 60%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-section .section-title {
        font-size: 2.5rem;
    }
    
    .project-header .project-title {
        font-size: 2.5rem;
    }
    
    .portfolio {
        padding: 40px 0 80px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .project-card {
        margin: 0 10px;
    }
    
    /* Center footer content on small screens */
    .footer {
        text-align: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .footer-section ul {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 60vh;
        padding: 80px 15px 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Reduce opacity for better readability on small screens */
    .gradient-bg {
        opacity: 0.3;
    }
    
    .gradient-top-left {
        max-width: 50%;
        max-height: 50%;
    }
    
    .gradient-bottom-right {
        max-width: 50%;
        max-height: 50%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .page-section .section-title {
        font-size: 2rem;
    }
    
    .project-header .project-title {
        font-size: 2rem;
    }
    
    
    .navbar {
        left: 50%;
        transform: translateX(-50%);
        top: 15px;
        width: auto;
        padding: 8px 18px;
        border-radius: 50px;
        background: rgba(255, 255, 255, 0.9);
    }
    
    .nav-container {
        justify-content: center;
    }
    
    .nav-links {
        gap: 12px;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 8px 14px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 36px;
    }
    
    .lang-toggle {
        padding: 10px;
        margin-left: 8px;
    }
    
    .lang-icon {
        width: 22px;
        height: 22px;
    }
    
    .lang-toggle {
        padding: 5px;
    }
    
    .lang-icon {
        width: 20px;
        height: 20px;
    }
    
    .portfolio-grid {
        gap: 20px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    /* Ensure footer stays centered on extra small screens */
    .footer {
        text-align: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .footer-section ul {
        padding: 0;
    }
}



/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

/* Resume Section */
.resume {
    padding: 100px 0;
    background: #f8faff;
}

.resume-content {
    max-width: 900px;
    margin: 0 auto;
}

.resume-section {
    margin-bottom: 60px;
}

/* Personal Info Section */
.personal-info {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border-radius: 20px;
}

.personal-header {
    max-width: 600px;
    margin: 0 auto;
}

.resume-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.resume-title {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #666;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-text {
    font-weight: 500;
}

.resume-actions {
    margin-top: 30px;
}

.resume-actions .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
}

.resume-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    padding-left: 20px;
}

.resume-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}


/* Skills */
.skills-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.skill-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}


.skill-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f8faff 0%, #e8f2ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.skill-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), #2c5ce6);
    border-radius: 22px;
    z-index: -1;
}

.icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.skill-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.skill-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.skill-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tool-tag {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
}


/* Experience & Education Cards */
.experience-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.experience-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.experience-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 16px;
}

.experience-logo {
    width: 72px;
    height: 72px;
    background: #f8faff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.experience-info {
    flex: 1;
}

.experience-date {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.experience-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

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

.experience-description {
    margin-top: 12px;
}

.experience-description ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-description li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 4px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.experience-description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 0.8rem;
}

.experience-description p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: start;
}

.about-text {
    order: 1;
}

.about-image {
    order: 2;
}

.about-text .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.about-description {
    margin-bottom: 40px;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.about-highlights {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.highlight-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.about-contact h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(58, 114, 255, 0.1);
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(58, 114, 255, 0.1) 0%, rgba(58, 114, 255, 0.05) 100%);
    z-index: 1;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .resume, .about {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .resume-section {
        margin-bottom: 40px;
    }
    
    .personal-info {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .resume-name {
        font-size: 2rem;
    }
    
    .resume-title {
        font-size: 1.3rem;
    }
    
    .contact-info {
        gap: 20px;
        margin: 25px 0;
    }
    
    .contact-item {
        font-size: 0.95rem;
    }
    
    .resume-actions .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .skills-cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .skill-card {
        padding: 20px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .icon-img {
        width: 36px;
        height: 36px;
    }
    
    .skill-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .skill-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .tool-tag {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .skill-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .icon-img {
        width: 40px;
        height: 40px;
    }
    
    .skill-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .skill-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
    }
    
    .about-highlights {
        gap: 20px;
    }
    
    .experience-cards {
        gap: 20px;
    }
    
    .experience-card {
        padding: 20px;
    }
    
    .experience-header {
        gap: 20px;
        margin-bottom: 16px;
    }
    
    .experience-description {
        margin-top: 12px;
    }
    
    .experience-title {
        font-size: 1.1rem;
    }
    
    .experience-description li,
    .experience-description p {
        font-size: 0.9rem;
    }
    
}

@media (max-width: 480px) {
    .about-highlights {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-link {
        text-align: center;
    }
    
    .image-placeholder {
        height: 300px;
    }
    
    .personal-info {
        padding: 25px 15px;
        margin-bottom: 30px;
    }
    
    .resume-name {
        font-size: 1.5rem;
    }
    
    .resume-title {
        font-size: 1.2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
        margin: 20px 0;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .resume-actions .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .skills-description {
        gap: 25px;
    }
    
    .skill-column {
        gap: 20px;
    }
    
    .skill-title {
        font-size: 1rem;
    }
    
    .skill-description {
        font-size: 0.95rem;
    }
    
    .skills-cards {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .skill-card {
        padding: 15px;
    }
    
    .skill-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .icon-img {
        width: 30px;
        height: 30px;
    }
    
    .skill-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .skill-description {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .tool-tag {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .experience-cards {
        gap: 15px;
    }
    
    .experience-card {
        padding: 15px;
    }
    
    .experience-header {
        gap: 16px;
        margin-bottom: 12px;
    }
    
    .experience-description {
        margin-top: 10px;
    }
    
    .experience-title {
        font-size: 1rem;
    }
    
    .experience-company {
        font-size: 0.9rem;
    }
    
    .experience-description li,
    .experience-description p {
        font-size: 0.85rem;
    }
    
}

/* Extra small screens - single column for skills */
@media (max-width: 360px) {
    .skills-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .skill-card {
        padding: 20px;
    }
    
    .skill-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .icon-img {
        width: 36px;
        height: 36px;
    }
    
    .skill-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .skill-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .tool-tag {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* Page Section for standalone pages */
.page-section {
    padding-top: 120px;
    min-height: 100vh;
}

.page-section .section-header {
    margin-bottom: 60px;
}

.page-section .section-title {
    font-size: 3rem;
}

/* Project Detail Pages */
.project-detail {
    padding: 120px 0 60px;
    background: #ffffff;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.project-header .project-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.project-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.project-header .project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.project-header .project-year {
    color: #999;
    font-weight: 500;
}

.project-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.project-hero-image {
    margin-bottom: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.project-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 60px;
}

.content-section h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    position: relative;
    padding-left: 20px;
}

.content-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background: var(--primary);
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.content-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Grid Layouts for Project Details */
.solution-grid,
.feature-grid,
.concept-grid,
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.solution-item,
.feature-item,
.concept-item,
.research-item {
    background: #f8faff;
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.solution-item h4,
.feature-item h4,
.concept-item h4,
.research-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.solution-item p,
.feature-item p,
.concept-item p,
.research-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.result-item {
    text-align: center;
    padding: 30px;
    background: #f8faff;
    border-radius: 16px;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.result-text {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Project Navigation */
.project-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    gap: 30px;
}

.nav-project {
    flex: 1;
    padding: 30px;
    background: #f8faff;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-project:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(58, 114, 255, 0.15);
}

.nav-project.prev {
    text-align: left;
}

.nav-project.next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Responsive Design for Project Details */
@media (max-width: 768px) {
    .project-detail {
        padding: 100px 0 40px;
    }
    
    .project-header {
        margin-bottom: 40px;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .project-hero-image {
        margin-bottom: 50px;
    }
    
    .content-section {
        margin-bottom: 40px;
    }
    
    .solution-grid,
    .feature-grid,
    .concept-grid,
    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .project-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-project.prev,
    .nav-project.next {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .solution-item,
    .feature-item,
    .concept-item,
    .research-item,
    .result-item,
    .nav-project {
        padding: 20px;
    }
    
    .project-navigation {
        margin-top: 50px;
    }
}

/* Update project card styles for links */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card:hover {
    color: inherit;
}

/* Ensure content sits above decorations */
.portfolio, .resume, .about, .project-detail, .footer { position: relative; z-index: 2; }

/* Coming Soon Page */
.coming-soon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    background: #ffffff;
}

.coming-soon-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-icon {
    margin-bottom: 40px;
}

.loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.loading-dots .dot {
    width: 24px;
    height: 24px;
    opacity: 0.6;
    animation: dotBounce 2.5s ease-in-out infinite both;
}

.loading-dots .dot-1 {
    animation-delay: 0s;
}

.loading-dots .dot-2 {
    animation-delay: 0.5s;
}

.loading-dots .dot-3 {
    animation-delay: 1s;
}

@keyframes dotBounce {
    0%, 20%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    10% {
        transform: translateY(-15px);
        opacity: 1;
    }
}

.coming-soon-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.coming-soon-subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.coming-soon-description {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.coming-soon-actions {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(58, 114, 255, 0.3);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

/* Responsive Design for Coming Soon */
@media (max-width: 768px) {
    .coming-soon {
        padding: 100px 20px 40px;
    }
    
    .coming-soon-title {
        font-size: 2.5rem;
    }
    
    .coming-soon-subtitle {
        font-size: 1.3rem;
    }
    
    .coming-soon-description {
        font-size: 1rem;
    }
    
    .loading-dots .dot {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .coming-soon {
        padding: 80px 15px 30px;
    }
    
    .coming-soon-title {
        font-size: 2rem;
    }
    
    .coming-soon-subtitle {
        font-size: 1.2rem;
    }
    
    .coming-soon-description {
        font-size: 0.95rem;
    }
    
    .loading-dots .dot {
        width: 18px;
        height: 18px;
    }
    
    .loading-dots {
        gap: 8px;
    }
}