/* General styles */
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #f0f8ff; /* Light blue background */
    color: #333;
}

/* Header */
header {
    background: linear-gradient(90deg, #007bff, #0056b3); /* Blue gradient */
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

header nav a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #ffcc00; /* Yellow hover */
    text-decoration: underline;
}

/* Sections */
section {
    padding: 30px 20px;
    max-width: 1000px;
    margin: 20px auto;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

section h2 {
    font-size: 2rem;
    color: #007bff; /* Blue heading */
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
    text-align: center;
}

section p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

/* Projects */
#projects .project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.project {
    border: 1px solid #ddd;
    background: #f9f9f9;
    padding: 15px;
    flex: 1;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project h3 {
    font-size: 1.2rem;
    color: #0056b3;
    margin-bottom: 8px;
}

.project p {
    font-size: 0.9rem;
    color: #666;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.6);
    padding-top: 60px;
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 20px;
    border: none;
    border-radius: 10px;
    width: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #333;
}

/* Skills Section */
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.skill-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 30%;
    min-width: 180px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.skill-item h3 {
    font-size: 1.2rem;
    color: #0288d1;
    margin-bottom: 8px;
}

.skill-item p {
    font-size: 0.9rem;
    color: #555;
}

/* Experience and Education */
.experience-list, .education-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.experience-item, .education-item {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    width: 30%;
    min-width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover, .education-item:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.experience-item h3, .education-item h3 {
    font-size: 1.2rem;
    color: #0056b3;
    margin-bottom: 8px;
}

.experience-item p, .education-item p {
    font-size: 0.9rem;
    color: #555;
}

/* Footer */
footer {
    background: #0056b3;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    border-top: 5px solid #007bff;
}

footer a {
    color: #ffcc00;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffd700;
}
/* Certifications Section */
#certifications {
    padding: 30px 20px;
    background: #eaf2f8; /* Light blue-gray background */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

#certifications h2 {
    color: #007bff; /* Blue heading */
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 5px;
}

.certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.certification-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 30%;
    min-width: 180px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certification-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.certification-item h3 {
    font-size: 1.2rem;
    color: #0056b3; /* Dark blue title */
    margin-bottom: 8px;
}

.certification-item p {
    font-size: 0.9rem;
    color: #666;
}
