/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5fafd;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(135deg, #20c4c4, #40e0d0);
    color: white;
    text-align: center;
    padding: 80px 20px;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Portfolio Section */
.portfolio {
    text-align: center;
    padding: 60px 20px;
}

.portfolio h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

/* Project Cards */
.project {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

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

/* Project Images */
.project img {
    width: 100%;
    height: 100%;
    display: block;
    filter: blur(1px);
}

/* Overlay Effect */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(32, 196, 196, 0);
    color: white;
    padding: 20px;
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    
}

.project:hover .overlay {
    opacity: 1;
}

/* Overlay Text */
.overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    
}

.overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Project Button */
.overlay a {
    display: inline-block;
    background: rgb(255, 255, 255);
    color: #128a8a;
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

.overlay a:hover {
    background: #ffffff;
    color: #128a8a;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}
