body {
    font-family: Arial, sans-serif;
    background-color: #fff6f6;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header, .about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

h1, h2 {
    margin-top: 0;
}

.buttons {
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    margin: 5px;
}

.primary {
    background: #f28b82;
    color: white;
}

.secondary {
    background: #fce8e6;
    color: #f28b82;
}

.btn:hover {
    opacity: 0.9;
}

.skills-grid, .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.skill {
    text-align: center;
    background: #fef6f6;
    padding: 15px;
    border-radius: 10px;
}

.skill i {
    font-size: 24px;
    color: #f28b82;
    margin-bottom: 5px;
}

.project {
    background: #fef6f6;
    padding: 15px;
    border-radius: 10px;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
/* Styling for the project cards in the grid */
.project-card {
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

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

/* Modal and Blur Effect */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 80%;
    max-width: 800px;
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
    position: relative;
}

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

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}