body {
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    overflow-x: hidden;
    max-width: 100%;
}
/* Styling for the header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ccc;
    width: 100%;         /* Fix: use 100% instead of 100vw */
    box-sizing: border-box;
    position: relative;   /* Ensure it stays in normal flow */
    z-index: 1001;        /* Ensure header is above mobile menu */
}
.header-title {
    color: #000;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    /* Remove any default link styling */
    display: flex;
    align-items: center;
}

.header-title:visited,
.header-title:active,
.header-title:focus {
    color: #000;
    text-decoration: none;
}

.header-buttons {
    display: flex;
    gap: 8px;
}

.header-button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: transparent;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-button:hover {
    background-color: #e0e0e0;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    z-index: 1001;
    align-items: center;
    justify-content: center;
    height: 44px;
    margin-top: -4px; /* Shift up to align with header */
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s cubic-bezier(.4,2,.6,1);
    border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px; /* Adjust based on header height */
    left: 0;
    right: 0;
    background-color: #f4f4f4;
    border-bottom: 1px solid #ccc;
    z-index: 1000;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Remove debug border and min-height */
}

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

.mobile-menu-item {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 0;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

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

.mobile-menu-item:hover {
    background-color: #e0e0e0;
}

/* Dark mode styles for hamburger menu */
body.dark-mode .hamburger-line {
    background-color: #e6f0ff;
}

body.dark-mode .mobile-menu {
    background-color: #142447;
    border-bottom-color: #223366;
}

body.dark-mode .mobile-menu-item {
    color: #e6f0ff;
    border-bottom-color: #223366;
}

body.dark-mode .mobile-menu-item:hover {
    background-color: #223366;
}

/* Styling for the text and image below the header */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px;
    gap: 40px;
}
.main-title {
    font-size: clamp(56px, 18vw, 160px);
    font-weight: bold;
    text-align: left;
    min-width: 420px; /* Reserve space for animated text, adjust as needed */
    width: 420px;
    box-sizing: border-box;
}
.main-title .line {
    display: block;
}
.main-right {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
    max-width: 500px;
    margin-left: 48px; /* Shift profile picture right */
}
.main-intro {
    font-size: 35px;
    font-weight: 400;
    color: rgba(0,0,0,0.7);
    margin-top: 0;
    line-height: 1.3;
    margin-left: 40%;
}
.profile-photo-container {
    position: relative;
    width: 650px;
    height: 520px; /* Increased to fit SVG below image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: url('assets/grad.svg') no-repeat 20% bottom;
    background-size: 600px 530px; /* Adjust as needed for your SVG */
}
.main-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    margin-top: 24px;
    margin-left: 120px; /* Add spacing above the image */
}

/* Styling for the About M button */
.aboutm-button,
.discover-button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    height: 48px;
    min-width: 140px; /* Ensures both buttons have a similar width */
    padding: 0 16px;  /* Use the same padding for both */
    font-size: 15px;
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    font-weight: 400;
    border-width: 2px;
    border-style: solid;
    border-radius: 0;
    box-sizing: border-box;
}

.aboutm-button {
    color: #fff;
    background: #001f4d;
    border-color: #001f4d;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-top-right-radius: 6px;    /* Add this */
    border-bottom-right-radius: 6px; /* Add this */
}

.discover-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Remove underline for links */
    color: #001f4d;
    background: transparent;
    border-color: #001f4d;
    border-width: 2px;
    border-style: solid;
    border-radius: 6px;
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.main-buttons {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 8px; /* Add a little bit of spacing between the two buttons */
    margin-top: 24px;
    margin-left: 0;
    justify-content: flex-start;
}

.aboutm-button:hover {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

.discover-button:hover {
    background: #e6f0ff;
    color: #003366;
    border-color: #003366;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 80px); 
    margin-bottom: 20px;
    margin-left: 40px; 
    margin-right: 40px; 
    margin-top: 64px; 
}

.projects-title {
    margin: 0; 
    font-size: 48px;
    font-weight: bold;
    flex-shrink: 0; 
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2vw 2vw; /* Explicit x and y gap - should be the same */
    padding: 2vw; /* Responsive padding */
    width: calc(100% - 8vw); /* Take up more screen width */
    max-width: none; /* Remove max-width restriction */
    margin: 40px auto 0 auto;
    box-sizing: border-box;
}
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.project-square {
    position: relative; /* Needed for overlay positioning */
    background: #f4f4f4;
    border: 1.5px solid #bfc9d1;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    min-width: 150px;
    max-width: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-square:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-square::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(100, 100, 100, 0.25); /* semi-transparent grey */
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    border-radius: 14px;
}

.project-square:hover::after {
    opacity: 1;
}

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

.project-info-overlay {
    position: absolute;
    inset: 0;
    background: rgba(40, 40, 40, 0.92);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    padding: 32px 24px 24px 24px;
    transition: opacity 0.2s;
    z-index: 2;
    border-radius: 14px;
    pointer-events: none;
}

.project-square:hover .project-info-overlay {
    opacity: 1;
    pointer-events: auto;
}

.project-info-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.project-info-desc {
    font-size: 1rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

.project-info-tags {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
    display: flex;
    gap: 12px;
}

.show-more-btn {
    background: #001f4d;
    color: #fff;
    border: 2px solid #001f4d;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    flex-shrink: 0;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.show-more-btn:hover {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

/* linkedin stuff */
.linkedin-footer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    bottom: 32px;
    z-index: 100;
    pointer-events: none;
    gap: 24px; /* Add space between icons */
}
.linkedin-footer a {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.linkedin-icon,
.email-icon {
    width: 30px;
    height: 30px;
    display: block;
    filter: invert(18%) sepia(60%) saturate(2000%) hue-rotate(200deg) brightness(70%);
}
/* Updated about section styling */
.about-section {
    margin-top: 64px; /* Adds space above the about section */
    margin-left: 40px; /* Align with other sections */
    margin-right: 40px; /* Add right margin for balance */
}

.about-title {
    margin: 0; /* Remove default h1 margins */
    font-size: 48px;
    font-weight: bold;
    flex-shrink: 0; /* Prevent title from shrinking */
    /* Removed the separate positioning - now it will align with the content */
}

.about-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the left */
    gap: 32px; /* Space between intro text and image section */
    margin-top: 32px;
    /* Removed margin-left and margin-right since they're now on the parent .about-section */
}

.about-image-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Align items to the top */
    gap: 40px;
    width: 100%;
}

.about-image {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.about-intro {
    font-size: 35px;
    font-weight: 400;
    color: rgba(0,0,0,0.7);
    line-height: 1.3;
    max-width: 100%; /* Use full available width */
   
}

.about-paragraph {
    font-size: 16px;
    max-width: 100%;
}

.lightblue-section {
    background: #e6f0ff;
    padding: 48px 40px;
    margin-top: 96px; /* Increased top margin for more space above the title */
    border-radius: 16px;
    color: #001f4d;
}

.contact-email {
    font-size: 16px;
    color: #555;
    letter-spacing: 0.5px;
}
.contact-email-row {
    display: flex;
    align-items: center;
    margin-top: 12px;
    margin-left: 11px; /* Match the left margin of .contact-form for alignment */
    gap: 8px;
}

.copy-icon {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.copy-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: none; /* Remove any box-shadow if present */
}

html {
    scroll-behavior: smooth;
}

body.dark-mode {
    background: #0a1833;
    color: #e6f0ff;
}

body.dark-mode header {
    background-color: #142447;
    border-bottom: 1px solid #223366;
}

body.dark-mode .header-title,
body.dark-mode .header-button {
    color: #e6f0ff;
}

body.dark-mode .header-button:hover {
    background-color: #223366;
}

body.dark-mode .main-title {
    color: #e6f0ff;
}

body.dark-mode .main-intro,
body.dark-mode .about-intro,
body.dark-mode .about-paragraph,
body.dark-mode .about-title,
body.dark-mode .projects-title,
body.dark-mode .lightblue-section,
body.dark-mode .contact-email {
    color: #e6f0ff;
}

body.dark-mode .main-content,
body.dark-mode .about-section {
    background: none;
}

body.dark-mode .project-square {
    background: #1a2a4d;
    border-color: #223366;
}

body.dark-mode .show-more-btn,
body.dark-mode .aboutm-button {
    background: #223366;
    color: #e6f0ff;
    border-color: #223366;
}

body.dark-mode .show-more-btn:hover,
body.dark-mode .aboutm-button:hover {
    background: #0a1833;
    color: #fff;
    border-color: #0a1833;
}

body.dark-mode .discover-button {
    background: transparent;
    color: #e6f0ff;
    border-color: #e6f0ff;
}

body.dark-mode .discover-button:hover {
    background: #223366;
    color: #fff;
    border-color: #e6f0ff;
}

body.dark-mode .linkedin-footer {
    background: transparent;
}

body.dark-mode .linkedin-icon,
body.dark-mode .email-icon,
body.dark-mode .copy-icon {
    filter: invert(90%) sepia(10%) saturate(500%) hue-rotate(180deg) brightness(90%);
}

body.dark-mode .lightblue-section {
    background: #142447;
    color: #e6f0ff;
}

body.dark-mode .contact-email {
    color: #bfc9d1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    width: 100%;
    margin-left: 11px;
    margin-top: 48px; /* Add this to move all boxes down */
}
        



.email-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 20px;
    margin-left: 11px;
}

.form-input {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.form-input::placeholder {
    color: #999;
}

.form-input:focus {
    outline: none;
    border-color: #666;
    background-color: #fff;
}

.message-input {
    min-height: 180px;
    resize: vertical;
    height: 120px;      /* Make it visually longer */
    max-width: 100%;    /* Prevent overflow */
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
    width: 100%;        /* Ensure all inputs and textarea fill the form width */
    margin-top: px;    /* Remove any extra right margin */
}

body.dark-mode .message-input {
    background-color: #2a2a2a;
    border-color: #555;
    color: #fff;
}

/* Dark mode styles */
body.dark-mode .form-input {
    background-color: #2a2a2a;
    border-color: #555;
    color: #fff;
}

body.dark-mode .form-input::placeholder {
    color: #aaa;
}

body.dark-mode .form-input:focus {
    border-color: #888;
    background-color: #333;
}

.submit-btn {
    width: 100%;
    padding: 14px 0;
    background: #001f4d;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
    box-sizing: border-box;
}

.submit-btn:hover {
    background: #003366;
}

body.dark-mode .submit-btn {
    background: #223366;
    color: #e6f0ff;
}

body.dark-mode .submit-btn:hover {
    background: #0a1833;
}

.cv-button,
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-width: 140px;
    padding: 0 16px;
    font-size: 15px;
    font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
    font-weight: 400;
    border-width: 2px;
    border-style: solid;
    border-radius: 6px;
    box-sizing: border-box;
    background: #001f4d;
    color: #fff;
    border-color: #001f4d;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    margin: 0;
    text-decoration: none; /* Remove underline */
}

.cv-button:hover,
.contact-button:hover {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

body.dark-mode .cv-button,
body.dark-mode .contact-button {
    background: #223366;
    color: #e6f0ff;
    border-color: #223366;
}

body.dark-mode .cv-button:hover,
body.dark-mode .contact-button:hover {
    background: #0a1833;
    color: #fff;
    border-color: #0a1833;
}

.button-icon {
    width: 40px;           /* Make it bigger */
    height: 40px;     /* Shift it left */
    display: inline-block;
    vertical-align: middle; /* Add some space between icon and text */
    filter: invert(18%) sepia(60%) saturate(2000%) hue-rotate(200deg) brightness(70%);
}

body.dark-mode .button-icon {
    filter: invert(90%) sepia(10%) saturate(500%) hue-rotate(180deg) brightness(90%);
}

.icon-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
}

.icon-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.linkedin-icon,
.email-icon,
.button-icon {
    width: 30px;
    height: 30px;
    display: block;
    filter: invert(18%) sepia(60%) saturate(2000%) hue-rotate(200deg) brightness(70%);
    transition: filter 0.2s;
}

body.dark-mode .linkedin-icon,
body.dark-mode .email-icon,
body.dark-mode .button-icon {
    filter: invert(90%) sepia(10%) saturate(500%) hue-rotate(180deg) brightness(90%);
}

@media (max-width: 768px) {
    .contact-email-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .main-title {
        font-size: 90px;
        width: 100%;
        min-width: 0;
        text-align: center;
        margin: 0 auto;
    }
    
    /* Show hamburger menu and hide regular header buttons on mobile */
    .hamburger-menu {
        display: flex;
    }
    
    .header-buttons {
        display: none;
    }
    
    /* Don't override mobile-menu display here - let JavaScript control it */
}

.contact-page .main-content {
    display: block;
    margin: 20px 0 0 0;
    gap: 0;
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        margin: 0;
    }
    .main-title {
        margin-left: 0;
        width: 100%;
        min-width: 0;
        text-align: center;
    }
    
    .main-right {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        margin-left: 0; /* Reset for mobile */
    }
    .profile-photo-container {
        margin-top: -40px;
        width: 100%;
        max-width: 220px;
        margin-left: 180px;
        height: auto;
        background: none; /* Remove background image on small screens */
        position: relative;
        right: 0;
        
    }
    .profile-photo-container::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -100px; /* Shift SVG further down */
        width: 100%;
        max-width: 800px;
        height: 200px;
        background: url('assets/grad.svg') no-repeat center bottom;
        background-size: contain;
        z-index: 0;
        pointer-events: none;
        display: block;
    }
    .main-image {
        width: 180px;
        height: 180px;
        margin-left: 0;
    }
}

/* On small screens, align the index (JOANNA CAI) title to the left */
@media (max-width: 900px) {
    .main-content .main-title {
        text-align: left;
        margin: 0 0 40px 0;
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .about-image-section {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    .about-image {
        margin-top: 0;
        width: 100%;
        max-width: 350px;
        height: auto;
    }
    .about-paragraph {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
    }
    .projects-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 0 0 0 0;
        width: 100%;
    }
    .project-square {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        aspect-ratio: unset;
        height: auto;
    }
    
    /* Project page mobile styles */
    .main-title {
        font-size: clamp(44px, 14vw, 90px);
        text-align: center;
        width: 100%;
        min-width: 0;
        margin: 0 auto 40px auto;
    }
    
    .project-row {
        flex-direction: column;
        gap: 32px;
        margin-bottom: 60px;
        padding: 0 20px;
        text-align: center;
    }
    
    .project-row.reverse {
        flex-direction: column;
    }
    
    .project-image {
        flex: none;
        width: 100%;
        max-width: 350px;
        height: 250px;
        order: -1; /* This ensures image appears first on mobile */
    }
    
    .project-content {
        max-width: 100%;
        order: 1; /* This ensures content appears after image */
    }
    
    .project-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .project-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .project-tags {
        text-align: center;
    }
}

@media (max-width: 900px) {
    .main-intro {
        margin-left: 0;
        text-align: left;
    }
}

.typing-cursor {
    animation: blink 1s infinite;
    font-weight: bold;
}

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

.contact-page .main-title .line {
    display: inline !important;
}

.contact-title {
    font-size: 120px;
    font-weight: bold;
    text-align: left;
    margin-bottom: 0.5em;
    line-height: 1;
    letter-spacing: -0.03em;
}
.contact-title-line {
    display: block;
}
@media (max-width: 900px) {
    .contact-title {
        font-size: 60px;
        padding-right: 24px;
        box-sizing: border-box;
        word-break: break-word;
    }
}

.form-container,
.contact-form {
    padding-right: 11px;
    box-sizing: border-box;
}

/* Project page specific styles */
.project-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 40px;
}

.project-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 0 40px;
    justify-content: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project-row.reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 0 0 400px;
    height: 300px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.project-content {
    flex: 1;
    max-width: 500px;
}

.project-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 0 20px 0;
    color: #001f4d;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin: 0 0 24px 0;
}

.project-tags {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.project-github-link {
    display: inline-block;
    background: #001f4d;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.project-github-link:hover {
    background: #003366;
}

/* Dark mode styles for project page */
body.dark-mode .project-title {
    color: #e6f0ff;
}

body.dark-mode .project-description {
    color: rgba(230, 240, 255, 0.8);
}

body.dark-mode .project-tags {
    color: #bfc9d1;
}

body.dark-mode .project-github-link {
    background: #223366;
}

body.dark-mode .project-github-link:hover {
    background: #0a1833;
}

/* Medium screens */
@media (min-width: 900px) {
    .about-image {
        max-width: 530px;
    }
    .about-paragraph {
        font-size: 18px;
        max-width: 450px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .about-image {
        max-width: 700px;
    }
    .about-paragraph {
        font-size: 22px;
        max-width: 600px;
    }
}

