body {
    background: linear-gradient(to bottom, #fafafa, #f0f0f0); /* subtle gradient for depth */
    font-family: 'Roboto', sans-serif;
    color: #111;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background: #222;
    color: #fff;
}

    header a {
        color: #0af;
        text-decoration: none;
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-align: center;
    border: 1px solid #eee;
}

    .project-card:hover {
        transform: scale(1.04);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        border-color: #ddd;
    }

    .project-card img {
        width: 100%;
        height: 250px;
        object-fit: contain;
        transition: transform 0.3s ease;
    }


    .project-card:hover img {
        transform: scale(1.05);
    }


    .project-card h3 {
        margin: 10px 0 5px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600; 
        color: #1e90ff; 
        font-size: 1.25rem; 
    }


    .project-card p {
        margin: 0 10px 15px;
        font-size: 1rem; 
        color: #333;
    }

.project-page {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    text-align: center;
}

    .project-page img {
        width: 100%;
        max-width: 700px;
        height: auto;
        margin: 20px 0;
    }

.project-links {
    margin-top: 15px;
}

.button {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 15px;
    background: #1e90ff;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}


    .button:hover {
        background: #0a78d0; 
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

footer {
    text-align: center;
    padding: 20px;
    background: #1b1b1b; 
    color: #fff;
    font-size: 0.85em;
    border-top: 2px solid #1e90ff; 
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

    .gif-grid img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

a:hover {
    color: #0a78d0;
}

header a {
    color: #1e90ff;
    transition: color 0.2s ease;
}

    header a:hover {
        color: #0a78d0;
    }

.project-page h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #1e90ff;
    margin-bottom: 1rem;
}

.project-page h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #1a73e8;
    margin-top: 1.5rem;
}

.project-page p,
.project-page ul {
    text-align: left;
    max-width: 700px;
    margin: 0 auto 1rem auto;
    font-size: 1rem;
    line-height: 1.6;
}

.project-page ul {
    list-style-type: disc;
    padding-left: 20px;
}

.about-card {
    grid-column: 1 / -1; /* spans full width of grid */
    background: #eaf3ff; /* subtle accent color */
    border-radius: 12px;
}
.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-text {
    flex: 2; /* text takes more space */
    text-align: left;
}

.about-image {
    flex: 1; /* image takes less space */
}

    .about-image img {
        width: 100%;
        border-radius: 12px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

