:root {
    --primary-color: #2D3436;
    --accent-color: #0984E3;
    --background-color: #FFFFFF;
    --text-color: #2D3436;
    --spacing: clamp(1rem, 5vw, 2rem);
    --h1-size: clamp(2.5rem, 8vw, 4rem);
    --h2-size: clamp(1.75rem, 4vw, 2rem);
    --p-size: clamp(1rem, 2.5vw, 1.25rem);
}

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

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Navigation */
nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-radius: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: fit-content;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    padding: 0 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background: 
        radial-gradient(circle at 0% 0%, rgba(9, 132, 227, 0.1) 20%, transparent 70%),
        radial-gradient(circle at 100% 100%, rgba(9, 132, 227, 0.15) 20%, transparent 70%),
        linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    animation: float 20s infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, var(--accent-color), #74b9ff);
    top: 0%;
    left: -20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(-45deg, #0984e3, #74b9ff);
    top: 50%;
    right: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color), #0984e3);
    bottom: 0%;
    left: 30%;
    animation-delay: -10s;
}

/* Add new decorative elements */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(9, 132, 227, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(9, 132, 227, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.8;
}

.background-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(9, 132, 227, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(40px, -40px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg) scale(0.9);
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
    }
}

.typing-container {
    height: 1.5em;
    margin: 1rem 0;
}

.subtitle-dynamic {
    font-size: 1.5rem;
    color: var(--accent-color);
}

h1 {
    font-size: var(--h1-size);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 50%,
        #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

/* Mouse Scroll Animation */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-color);
    border-radius: 13px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-color);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* Sections */
section {
    padding: clamp(3rem, 8vw, 5rem) var(--spacing);
    max-width: 1200px;
    margin: 0 auto;
    scroll-margin-top: 80px;
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
}

h2 {
    font-size: var(--h2-size);
    margin-bottom: 2rem;
}

/* Skills */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    margin-top: 2rem;
    justify-content: flex-start;
    max-width: 850px;
}

.skills span {
    padding: 0.6rem 1rem;
    background: rgba(9, 132, 227, 0.1);
    border-radius: 25px;
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--accent-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.skills span:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Projects */
#projects {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    padding: 4rem 3rem;
    margin-top: 2rem;
}

.project-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    justify-content: flex-start;
    align-items: stretch;
}

.project-card {
    width: 350px;
    max-width: 350px;
    flex: 0 0 350px;
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(1.5rem, 4vw, 2rem);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 380px;
}

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

.project-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-card p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    color: #666;
    margin: 0;
    margin-bottom: 1rem;
    flex: 1;
}

.project-card .project-links {
    margin-top: auto;
    padding-top: 1rem;
}

.tech-stack {
    font-size: 0.9rem;
    color: var(--accent-color);
    opacity: 0.8;
    border-top: 1px solid rgba(9, 132, 227, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #projects {
        padding: 2rem 1.5rem;
    }
    
    .project-container {
        max-width: 350px;
        margin: 0 auto;
    }
    
    .project-grid {
        justify-content: center;
    }
    
    .project-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Contact */
.contact-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-button {
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact-button:hover {
    background: #0773C5;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.footer-content p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-content .heart {
    color: #ff3b30;
    display: inline-block;
    transform-origin: center;
    animation: beat 1s ease-in-out infinite;
}

@keyframes beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        top: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .background-shapes .shape {
        filter: blur(60px);
    }
    
    .shape-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-3 {
        width: 100px;
        height: 100px;
    }

    .background-grid {
        background-size: 30px 30px;
    }
    
    .background-dots {
        background-size: 15px 15px;
    }
} 

/* About Section Specific Styles */
#about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    margin-top: -100px;
    position: relative;
    z-index: 3;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    padding: 4rem 3rem;
}

#about p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 0 2rem;
    text-align: left;
}

/* Project links styling */
.project-links {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    margin-top: auto;
    margin-bottom: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.github-link {
    background: #24292e;
    color: white;
}

.github-link:hover {
    background: #1a1e22;
    transform: translateY(-2px);
}

.appstore-link {
    background: #0070e0;
    color: white;
}

.appstore-link:hover {
    background: #0060c0;
    transform: translateY(-2px);
}

.appstore-link img {
    vertical-align: middle;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    padding: 4rem 3rem;
    margin-top: 2rem;
    text-align: left;
}

#contact p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 0 2rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--accent-color);
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    font-weight: 500;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link svg {
    width: 20px;
    height: 20px;
} 

/* Base responsive adjustments */
:root {
    --spacing: clamp(1rem, 5vw, 2rem);
    --h1-size: clamp(2.5rem, 8vw, 4rem);
    --h2-size: clamp(1.75rem, 4vw, 2rem);
    --p-size: clamp(1rem, 2.5vw, 1.25rem);
}

/* Header responsive adjustments */
h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

/* Navigation responsive */
nav {
    width: fit-content;
    margin: 0 auto;
}

/* Section padding adjustments */
section {
    padding: clamp(3rem, 8vw, 5rem) var(--spacing);
    width: min(100% - 2rem, 1200px);
    margin-inline: auto;
}

/* Project grid responsive */
.project-grid {
    grid-template-columns: repeat(2, 350px);
    gap: 24px;
    width: 100%;
    justify-content: start;
}

/* Skills responsive */
.skills {
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
}

.skills span {
    padding: 0.6rem 1rem;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Project cards responsive */
.project-card {
    padding: clamp(1.5rem, 4vw, 2rem);
}

.project-card h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.project-card p {
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Project links responsive */
.project-links {
    flex-wrap: wrap;
}

.project-link {
    flex: 1;
    justify-content: center;
    min-width: 120px;
}

/* Contact section responsive */
.contact-links {
    flex-wrap: wrap;
}

.contact-link {
    font-size: clamp(0.875rem, 2vw, 1rem);
}

/* Enhanced mobile styles */
@media (max-width: 768px) {
    /* Header adjustments */
    header {
        padding: 1rem;
        height: 100svh;
    }

    .background-shapes {
        opacity: 0.5;
    }

    /* Navigation adjustments */
    nav {
        padding: 0.6rem 1rem;
        background: rgba(255, 255, 255, 0.9);
        width: auto;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    /* About section */
    #about {
        margin-top: -50px;
        padding: 2rem 1.5rem;
    }

    /* Project cards */
    .project-links {
        gap: 0.75rem;
    }

    .project-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    /* Contact section */
    #contact {
        padding: 2rem 1.5rem;
    }

    .contact-links {
        gap: 1rem;
    }

    /* Footer */
    footer {
        margin-top: 2rem;
        padding: 1.5rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 380px) {
    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link {
        width: 100%;
    }

    .skills {
        justify-content: center;
    }
}

/* Landscape mode adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    header {
        height: auto;
        min-height: 100vh;
        padding: 6rem 1rem 3rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .project-card:hover,
    .skills span:hover,
    .project-link:hover {
        transform: none;
    }
}

/* High-DPI screen optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .background-grid,
    .background-dots {
        background-size: 20px 20px;
    }
} 

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display'),
         url('/fonts/SF-Pro-Display-Regular.woff2') format('woff2'),
         url('/fonts/SF-Pro-Display-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display Medium'),
         url('/fonts/SF-Pro-Display-Medium.woff2') format('woff2'),
         url('/fonts/SF-Pro-Display-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display Semibold'),
         url('/fonts/SF-Pro-Display-Semibold.woff2') format('woff2'),
         url('/fonts/SF-Pro-Display-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
} 

/* Update info icon styles */
.info-button {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 32px;
    height: 32px;
    padding: 6px;
    border: none;
    border-radius: 50%;
    background: rgba(9, 132, 227, 0.1);
    cursor: pointer;
    color: var(--accent-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.info-button:hover {
    background: rgba(9, 132, 227, 0.2);
    transform: scale(1.1);
}

.modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(0px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.modal-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2.5rem;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    max-width: 1000px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Add spring animation for modal close */
.modal.closing {
    opacity: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
}

.modal.closing .modal-content {
    transform: scale(0.98) translateY(10px);
    opacity: 0;
}

.modal-images {
    position: relative;
    margin: 0;
    height: 700px;
    border-radius: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.carousel {
    position: relative;
    height: 100%;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.carousel-inner {
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f7;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-button.prev {
    left: 1rem;
}

.carousel-button.next {
    right: 1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
    }

    .modal-images {
        height: 500px;
    }
}

.carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.carousel-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Modal content styling */
.modal-content-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding: 1.5rem 0.5rem 0 0;
}

.modal-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #424245;
    margin-bottom: 2rem;
}

.modal-features {
    margin-bottom: 2rem;
}

.modal-features h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.features-list {
    padding: 0;
    margin: 0;
}

.modal-features li {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    color: #424245;
    position: relative;
    list-style-type: none;
}

.modal-features li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 1.4em;
    line-height: 1;
}

.tech-stack {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e7;
    color: #6e6e73;
    font-size: 0.95rem;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        position: relative;
    }

    .modal-images {
        height: 500px;
        margin-top: 0;
    }

    .modal-content-right {
        padding-top: 0;
    }

    .modal-title {
        padding-right: 0;
    }

    .modal-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 10;
        background: rgba(255, 255, 255, 0.9);
        padding: 8px;
        width: 24px;
        height: 24px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

/* Loading state */
.carousel-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 35px;
}

.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

/* Update modal close button styles */
.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: #6e6e73;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 4px;
    box-sizing: content-box;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

/* Mobile adjustments for close button */
@media (max-width: 768px) {
    .modal-close {
        top: 1rem;
        right: 1rem;
    }
} 

/* Update project card styles to handle different content lengths */
.project-card[data-project-id="lumenis"] p {
    margin-bottom: 2.5rem; /* Add extra space after shorter description */
}

.project-card p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    color: #666;
    margin: 0;
    margin-bottom: 1rem; /* Default margin */
    flex: 1;
}

.project-card .project-links {
    margin-top: auto;
    padding-top: 1rem; /* Reduced from 2rem to make cards more equal */
} 