:root {
    --primary-purple: #956bd0;
    --light-purple: #d4c5eb;
    --bg-color: #faf6fc;
    --text-dark: #3a3a4c;
    --text-light: #6e6e80;
    --pink-btn: #f6b6cd;
    --cyan-btn: #89ded5;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 40%, #ffffff 40%, #ffffff 60%, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 0) 100%);
    background-size: cover;
    background-attachment: fixed;
}

/* Navbar */
.navbar {
    background-color: var(--primary-purple);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    gap: 3rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0 1.5rem;
}

.logo-m {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-top: 3rem;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.image-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 1rem;
    margin-bottom: 4rem;
}

.grid-item {
    border-radius: 12px;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.item-1 {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
}

.item-1 img {
    transform: scale(1.15);
    object-position: center 20%;
}

.item-2 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
}

.item-3 {
    grid-row: 1 / 2;
    grid-column: 3 / 4;
}

.item-3 img {
    object-fit: cover;
    object-position: center 15%;
}

.item-4 {
    grid-row: 2 / 3;
    grid-column: 2 / 4;
}

.item-4 img {
    object-position: center 20%;
    transform: scale(1.15);
}

/* Intro Section */
.intro {
    text-align: center;
    margin-bottom: 5rem;
}

.intro p {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-pink {
    background-color: var(--pink-btn);
    color: var(--text-dark);
}

.btn-cyan {
    background-color: var(--cyan-btn);
    color: var(--text-dark);
}

/* Blog Section */
.blog {
    text-align: center;
    margin-bottom: 5rem;
}

.blog h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.blog>p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.blog-featured {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    aspect-ratio: 16 / 8; /* Notebook proportion */
}

.blog-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3); /* Higher zoom to cut out all table background */
    object-position: center;
    display: block;
}

.ai-generated-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.card {
    background-color: var(--light-purple);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-dark);
}

.btn-articles {
    padding: 0.6rem 1.5rem;
}

/* Quick Links */
.quick-links {
    text-align: center;
    margin-bottom: 3rem;
}

.quick-links h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Social Cards */
.social-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.social-card {
    background-color: var(--light-purple);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.linkedin-card {
    flex: 2;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/avatar.jpg') center/cover;
    color: white;
}

.linkedin-card h3 {
    color: white;
}

.follow-card {
    flex: 1;
}

.avatar-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid var(--white);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.social-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--light-purple);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.newsletter p {
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.subscribe-form {
    display: flex;
    background-color: var(--white);
    border-radius: 30px;
    padding: 0.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.subscribe-form input {
    flex: 1;
    border: none;
    padding: 0 1.5rem;
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: var(--text-dark);
}

.subscribe-form button {
    padding: 0.8rem 2rem;
}

.disclaimer {
    font-size: 0.85rem !important;
    color: var(--text-light) !important;
    margin-bottom: 0 !important;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-dark);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-icons a {
    color: var(--text-dark);
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-purple);
}

footer p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===== DESKTOP - Hamburger hidden, links visible ===== */
@media (min-width: 769px) {
    .hamburger,
    .maya-hamburger {
        display: none !important;
    }

    /* Me.html: logo in center, links on sides */
    .navbar {
        justify-content: center;
        gap: 3rem;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row !important;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        gap: 1.5rem !important;
    }

    .nav-links a {
        padding: 0 !important;
        border: none !important;
    }

    /* About/Contact/Projects/Skills pages nav */
    .maya-top-nav {
        justify-content: center;
        gap: 3rem;
    }

    .nav-mobile-links {
        display: flex !important;
        flex-direction: row !important;
        background: none !important;
        border: none !important;
        gap: 2rem !important;
    }

    .nav-mobile-links a {
        padding: 0 !important;
        border: none !important;
        font-size: 1.1rem !important;
    }
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== MOBILE MEDIA QUERY - Me.html navbar ===== */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.8rem 1rem;
        gap: 0;
        position: relative;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .logo {
        order: 1;
        border: none;
        padding: 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        order: 4;
        gap: 0;
        background-color: var(--primary-purple);
        padding: 0.5rem 0;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .image-grid {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 150px 150px;
        gap: 0.5rem;
    }

    .item-1,
    .item-2,
    .item-3,
    .item-4 {
        height: 100%;
    }

    .item-1 img {
        transform: none;
        object-position: center center;
    }

    .item-4 img {
        transform: none;
        object-position: center center;
    }

    .intro p {
        font-size: 1rem;
    }

    .blog-cards {
        grid-template-columns: 1fr;
    }

    .social-cards {
        flex-direction: column;
    }

    .social-card {
        width: 100%;
    }

    .newsletter {
        padding: 2rem 1.2rem;
    }

    .subscribe-form {
        flex-direction: column;
        border-radius: 12px;
        gap: 0.5rem;
        padding: 0.5rem;
    }

    .subscribe-form input {
        padding: 0.8rem 1rem;
        text-align: center;
    }

    .subscribe-form button {
        width: 100%;
        border-radius: 20px;
    }

    .container {
        padding: 1.2rem;
    }
}

/* Maya Layout specific styling for About.html */
body.maya-layout {
    background-color: #faf8ff;
    /* very light purple/pink background */
    font-family: 'Outfit', sans-serif;
    color: #2c1a4d;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Diagonal Background Accents (optional, simplified) */
body.maya-layout::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 40%, rgba(240, 230, 255, 0.5) 60%);
    z-index: -1;
    pointer-events: none;
}

.maya-top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #9f81cd;
    /* header purple */
    color: white;
    padding: 1rem 2rem;
    gap: 3rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.maya-top-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: opacity 0.3s;
    position: relative;
}

.maya-top-nav a:hover {
    opacity: 0.8;
}

.maya-top-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: white;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    padding: 0 1.5rem;
}

.logo-m {
    font-size: 2.5rem;
    font-weight: 700;
}

.logo-divider {
    width: 2px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.5);
}

.logo-text {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
}

.maya-main-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.about-header-sec {
    text-align: center;
    margin-bottom: 4rem;
}

.about-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b2a59;
}

.maya-row {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.maya-row.row-image-right {
    flex-direction: row;
}

.maya-row.row-image-left {
    flex-direction: row;
}

/* Flex behavior for columns */
.maya-text-col {
    flex: 1;
}

.maya-img-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.maya-img-col img {
    max-width: 100%;
    border-radius: 16px;
    border: 4px solid #9f81cd;
    box-shadow: 0 10px 30px rgba(159, 129, 205, 0.2);
    object-fit: cover;
}

/* Image Aspect Ratios based on screenshot */
.maya-img-col img {
    aspect-ratio: 3/4;
    /* default tall portrait */
    width: 100%;
    max-width: 400px;
    max-height: 500px;
}

.maya-img-col.img-tall img {
    aspect-ratio: 3/4;
}

.maya-img-col.img-square img {
    aspect-ratio: 1/1; /* Keeps it square as it originally was */
    width: 100%;
    height: 100%; /* Force height to fill the box */
    max-width: 100%;
    max-height: none;
    object-fit: cover; /* Ensures no white space */
    object-position: center;
}

.maya-img-col.img-natural img {
    aspect-ratio: auto;
    width: 100%;
    max-width: 100%;
    max-height: none;
    height: auto;
}

.maya-text-col h2 {
    font-size: 1.5rem;
    color: #3b2a59;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.maya-text-col p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a3b69;
    margin-bottom: 1rem;
}

.inline-link {
    color: #2c1a4d;
    text-decoration: underline;
    font-weight: 600;
}

/* Keep in Touch section */
.keep-in-touch {
    text-align: center;
    margin-top: 6rem;
}

.keep-in-touch h2 {
    font-size: 2rem;
    color: #3b2a59;
    margin-bottom: 3rem;
}

.touch-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.touch-card {
    background-color: #bea7db;
    border-radius: 16px;
    padding: 2rem;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.linkedin-touch {
    background-image: linear-gradient(rgba(100, 80, 140, 0.7), rgba(100, 80, 140, 0.7)), url('../images/box4.jpg');
    background-size: cover;
    background-position: center;
}

.touch-avatar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.touch-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.touch-name {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #3b2a59;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
}

.touch-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.touch-btn {
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-block;
    transition: opacity 0.3s;
}

.touch-btn:hover {
    opacity: 0.9;
}

.touch-btn-cyan {
    background-color: #79ded2;
    color: #2c1a4d;
    border: none;
    cursor: pointer;
}

/* Newsletter */
.newsletter-box {
    background-color: #bea7db;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 600px;
    margin: 0 auto;
    color: #2c1a4d;
}

.newsletter-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-box p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.newsletter-input-group {
    display: flex;
    background: white;
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 1rem;
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1rem;
}

.newsletter-input-group button {
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
}

.privacy-text {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    opacity: 0.8;
}

/* Footer */
.maya-footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #3b2a59;
}

.maya-social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.maya-social-icons a {
    color: #3b2a59;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.maya-social-icons a:hover {
    color: #9f81cd;
}

.maya-footer p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* VS Code Marketplace Mockup */
.marketplace-mockup {
    background: #fff;
    border: 1px solid #e0d8ef;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 10px 30px rgba(159, 129, 205, 0.08);
    margin-bottom: 2rem;
}

.mp-navbar {
    background: #1e1e1e;
    color: #cccccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    font-size: 0.85rem;
}

.mp-nav-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.mp-nav-left i { color: #0078d7; font-size: 1.1rem; }

.mp-nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mp-search {
    display: flex;
    align-items: center;
    background: #333333;
    border: 1px solid #555555;
    padding: 2px 8px;
    border-radius: 2px;
}
.mp-search input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    width: 150px;
    font-size: 0.8rem;
}

.mp-breadcrumbs {
    background: #252526;
    color: #cccccc;
    display: flex;
    justify-content: space-between;
    padding: 6px 15px;
    font-size: 0.8rem;
}
.mp-breadcrumbs a { color: #0078d7; text-decoration: none; }

.mp-header {
    display: flex;
    padding: 20px 30px;
    gap: 25px;
    background: #f4f6f8;
    border-bottom: 1px solid #e0e0e0;
}

.mp-icon {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    background: #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mp-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-header-info {
    flex: 1;
}

.mp-header-info h2 {
    font-size: 1.6rem;
    color: #1e1e1e;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-badge {
    background: #d83b01;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.mp-author {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mp-author i { color: #666; }
.mp-author i.fa-heart { color: #d83b01; }

.mp-header-info p {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 15px;
    max-width: 600px;
    line-height: 1.5;
}

.mp-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mp-btn-install {
    background: #0078d4;
    color: white;
    border: none;
    padding: 6px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
}
.mp-btn-install:hover { background: #006cbe; }

.mp-trouble {
    font-size: 0.8rem;
    color: #0078d4;
    text-decoration: none;
}

.mp-tabs {
    display: flex;
    padding: 0 30px;
    border-bottom: 1px solid #e0e0e0;
    gap: 30px;
}

.mp-tabs span {
    padding: 12px 0;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.mp-tabs span.active {
    color: #0078d4;
    border-bottom-color: #0078d4;
    font-weight: 600;
}

.mp-body {
    display: flex;
    padding: 25px 30px;
    gap: 40px;
}

.mp-content {
    flex: 3;
}
.mp-content h3 {
    font-size: 1.3rem;
    color: #1e1e1e;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.mp-content p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.mp-sidebar {
    flex: 1;
}

.mp-sidebar-section {
    margin-bottom: 25px;
}

.mp-sidebar-section h4 {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.mp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mp-tag {
    border: 1px solid #ddd;
    padding: 2px 8px;
    font-size: 0.75rem;
    color: #444;
    border-radius: 2px;
    background: #fcfcfc;
}

/* Projects Hero */
.projects-hero {
    text-align: center;
    margin-bottom: 5rem;
    padding-top: 1rem;
}

.projects-hero h1 {
    font-size: 2.2rem;
    color: #3b2a59;
    font-weight: 700;
    margin-bottom: 2rem;
}

.projects-hero-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.btn-sponsor {
    background-color: #ffb6d3;
    color: #3b2a59;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-sponsor:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 182, 211, 0.4);
}

.link-coffee {
    color: #48a9a6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}

.link-coffee i {
    color: #48a9a6;
}

.link-coffee:hover {
    color: #357a78;
    border-color: #357a78;
}

/* Projects Page specific */
.projects-page {
    max-width: 900px;
}

.project-item {
    margin-bottom: 5rem;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(159, 129, 205, 0.08);
    margin-bottom: 1.5rem;
}

.browser-mockup {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0d8ef;
    margin-bottom: 2rem;
}

.browser-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e0d8ef;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.browser-content {
    width: 100%;
}

.browser-content img {
    width: 100%;
    height: auto;
    display: block;
    /* Removed aspect-ratio and object-fit so the full image (header to footer) is visible */
}

/* Project Details Styling */
.project-details {
    padding: 0 1rem;
}

.project-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.8rem;
    color: #3b2a59;
    font-weight: 700;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: #4a3b69;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.project-links a:hover {
    color: #9f81cd;
}

.project-subtitle {
    font-size: 1rem;
    color: #6e6e80;
    margin-bottom: 2rem;
}

.project-meta-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.meta-col h4 {
    font-size: 0.85rem;
    color: #6e6e80;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: #fff;
    border: 1px solid #e0d8ef;
    color: #4a3b69;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s;
}

.tag:hover {
    background: #f5f0fa;
}

.project-divider {
    border: 0;
    height: 1px;
    background: #e6ddf2;
    margin: 4rem 0;
}

/* ===== MOBILE - maya-top-nav (About, Contact, Projects, Skills pages) ===== */
@media (max-width: 768px) {
    .maya-top-nav {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.8rem 1rem;
        gap: 0;
        position: relative;
    }

    .nav-left,
    .nav-right {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #9f81cd;
        gap: 0;
        padding: 0.5rem 0;
    }

    .nav-left.open,
    .nav-right.open {
        display: flex;
    }

    .nav-left a,
    .nav-right a {
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        font-size: 1rem;
    }

    .nav-logo {
        order: 1;
        border: none;
        padding: 0;
    }

    .maya-hamburger {
        display: flex;
        order: 2;
    }

    .nav-mobile-links {
        order: 3;
        width: 100%;
        display: none;
        flex-direction: column;
        background-color: #9f81cd;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .nav-mobile-links.open {
        display: flex;
    }

    .nav-mobile-links a {
        color: white;
        text-decoration: none;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        transition: background 0.2s;
    }

    .nav-mobile-links a:hover {
        background: rgba(255,255,255,0.1);
    }

    .maya-row {
        flex-direction: column !important;
        gap: 1.5rem;
    }

    .maya-img-col img {
        max-width: 100%;
        max-height: 300px;
    }

    .maya-main-content {
        padding: 2rem 1.2rem;
    }

    .about-title {
        font-size: 1.7rem;
    }

    .maya-text-col h2 {
        font-size: 1.2rem;
    }

    .touch-cards {
        flex-direction: column;
        align-items: center;
    }

    .touch-card {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-input-group {
        flex-direction: column;
        border-radius: 12px;
        gap: 0.5rem;
    }

    .newsletter-input-group input {
        text-align: center;
        border-radius: 20px;
    }

    .newsletter-input-group button {
        width: 100%;
        border-radius: 20px;
    }

    .project-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
    }

    .laptop-mockup {
        width: 100%;
    }

    .projects-hero-links {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-keep-in-touch h1 {
        font-size: 1.5rem;
    }

    .contact-form-box {
        padding: 1.5rem 1rem;
    }

    .mp-body {
        flex-direction: column;
    }

    .mp-header {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Page Specific */
.contact-page {
    max-width: 800px;
}

.contact-keep-in-touch {
    margin-bottom: 6rem;
    text-align: center;
}

.contact-keep-in-touch h1 {
    font-size: 2.2rem;
    color: #3b2a59;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.contact-social-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-card {
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.linkedin-card-wide {
    background: linear-gradient(rgba(100, 80, 140, 0.7), rgba(100, 80, 140, 0.7)), url('../images/box4.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.linkedin-card-wide h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.follow-card-square {
    background-color: #d4c5eb;
    color: #3b2a59;
}

.follow-card-square h3 {
    color: #3b2a59;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-pill-btn {
    background-color: #89ded5;
    color: #2c1a4d;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.3s;
}

.contact-pill-btn:hover {
    opacity: 0.9;
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid white;
    overflow: hidden;
    margin-bottom: 1rem;
}

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

.contact-newsletter {
    background-color: #d4c5eb;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
}

.contact-newsletter h3 {
    font-size: 1.3rem;
    color: #3b2a59;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-newsletter p {
    color: #3b2a59;
    margin-bottom: 1.5rem;
}

.contact-newsletter .privacy-text {
    font-size: 0.85rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.contact-newsletter .newsletter-input-group {
    display: flex;
    background: white;
    border-radius: 30px;
    padding: 5px;
    margin-bottom: 1rem;
}

.contact-newsletter .newsletter-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-newsletter .btn-cyan {
    background-color: #89ded5;
    color: #2c1a4d;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.3s;
}

.contact-newsletter .btn-cyan:hover {
    opacity: 0.9;
}

/* Contact Form */
.contact-form-section {
    text-align: center;
}

.contact-form-section h2 {
    font-size: 1.8rem;
    color: #3b2a59;
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-form-box {
    background-color: #d4c5eb;
    border-radius: 16px;
    padding: 3rem;
    text-align: left;
}

.form-instruction {
    font-size: 0.85rem;
    color: #3b2a59;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #3b2a59;
    margin-bottom: 0.5rem;
}

.form-group label .required {
    color: #ff5f56;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    color: #3b2a59;
    outline: none;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0a0a0;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn-send {
    background-color: #ffb6d3;
    color: #3b2a59;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 182, 211, 0.4);
}

.btn-clear {
    background: transparent;
    border: none;
    color: #48a9a6;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.btn-clear:hover {
    color: #357a78;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-social-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* Skills Page specific styles */
.skills-page {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.skills-hero {
    margin: 4rem auto;
    max-width: 800px;
}

.skills-hero h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.skills-hero-action {
    margin-bottom: 4rem;
}

.skills-section {
    margin-bottom: 5rem;
    text-align: left;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.book-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
}

.book-img-wrapper {
    width: 100%;
    height: 300px;
    background: #f9f9f9;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

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

.book-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.book-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.get-copy-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.get-copy-link:hover {
    text-decoration: underline;
}

/* Avatar circular image zoom */
.avatar img {
    object-fit: cover;
    transform: scale(1.5);
    object-position: center 20%;
}

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