@import url("reset.css");
@import url("index.css");

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    color: #007bff;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 20px;
}

.header h1 {
    margin: 10px 0;
}

.contact {
    margin: 10px 0;
    font-size: 14px;
}

.contact a {
    color: #007bff;
    text-decoration: none;
}

.section {
    margin: 20px 0;
}

.section h2, .work-section h2 {
    margin-bottom: 10px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.item {
    margin-bottom: 15px;
}

.item h3 {
    margin: 0;
    font-size: 18px;
    color: #007bff; 
    text-decoration: underline; 
    font-weight: bold;
}

.item h3 a:hover {
    color: #0056b3;
    text-decoration: none;
}

.item p {
    margin: 5px 0;
    font-size: 14px;
}

.skills ul {
    list-style: none;
    padding: 0;
}

.skills ul li {
    display: inline-block;
    background: #007bff;
    color: #fff;
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
    border-radius: 4px;
}

.profile-pic {
    width: 200px;
    height: 200px;
    object-fit: cover;    
    border-radius: 50%;   
    border: 3px solid #007bff; 
    margin: 15px 0;       
}

#project-list {
    display: grid;
    gap: 24px;
    margin: 40px 0;        
    grid-template-columns: 1fr;  
}

/* Tablet */
@media (min-width: 768px) {
    #project-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 1100px) {
    #project-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: #007bff; 
}

.project-card h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #007bff;
    font-weight: bold;
}

.project-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; 
}

.project-card a {
    display: inline-block;
    text-align: center;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    transition: background 0.2s;
}

.project-card a:hover {
    background: #0056b3;
}
