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

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

header {
    background-color: #0d47a1;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 1rem;
}

header h1 {
    font-size: 2rem;
}

section {
    padding: 2rem 1rem;
}

#intro {
    background-color: #e3f2fd;
    border-top: 4px solid #0d47a1;
    border-bottom: 4px solid #0d47a1;
}

#intro h2, #projects h2, #contact h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #0d47a1;
    text-transform: uppercase;
}

#intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
}

#projects .projects-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 1rem;
}

.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    margin-bottom: 0.5rem;
    color: #0d47a1;
}

.project-card p {
    font-size: 0.9rem;
    color: #333333;
}

#contact p {
    font-size: 1rem;
    text-align: center;
}

#contact a {
    color: #0d47a1;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

footer {
    background-color: #0d47a1;
    color: #ffffff;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.8rem;
    border-top: 4px solid #0d47a1;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    #intro h2, #projects h2, #contact h2 {
        font-size: 1.3rem;
    }

    #intro p, #contact p {
        font-size: 0.9rem;
    }
}
