/* General Styles */
/* CSS Update */
@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');
/* Certifications Section */
.certifications-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.certification-card {
    background-color: #222;
    border-radius: 10px;
    width: 45%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

.certification-card h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.certification-card a {
    text-decoration: none;
    color: #1E90FF;
    font-size: 1em;
    transition: color 0.3s ease;
}

.certification-card a:hover {
    color: #00BFFF;
}

.certification-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Alice', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #000;
    text-align: center;
    padding: 20px;
}

h1 {
    margin: 0;
    font-size: 2em;
}

section {
    margin: 20px;
    padding: 15px;
    border-radius: 10px;
    background-color: #111;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

section h2 {
    text-align: center;
    margin-bottom: 10px;
    text-decoration: underline;
}

/* Hackathon Images Section */
.pictures {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 15px;
}

.hackathon-img {
width: 32%; /* Increased size of images to fill space */
height: 250px; /* Fixed height for images */
object-fit: cover; /* Ensure images fill the square without distortion */
border-radius: 10px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Background with opacity */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f44336;
    text-decoration: none;
    cursor: pointer;
}

/* Projects Section */
.projects-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 20px;
}

.project-card {
background-color: #222;
border-radius: 10px;
width: 45%; /* Increased size of each project card */
padding: 20px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
transition: transform 0.3s ease;
}

.project-card:hover {
transform: scale(1.05);
}

.project-card h3 {
font-size: 1.4em;
margin: 10px 0;
}

.project-card ol {
padding-left: 20px;
}

.project-card a {
text-decoration: none;
background-color: #007bff;
color: #fff;
padding: 5px 10px;
border-radius: 5px;
display: inline-block;
margin-top: 10px;
}

.project-card a:hover {
background-color: #0056b3;
}

/* Resume Section */
#resume-download {
    text-align: center;
}

#resume-download button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px;
    cursor: pointer;
}

#resume-download button:hover {
    background-color: #0056b3;
}

/* Footer Section */
footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
}

footer nav a {
    text-decoration: none;
    color: #fff;
    margin: 0 10px;
}

/* Social Links */
.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #1E90FF; /* Highlighted blue color */
    margin: 0 10px; /* Space between icons */
    font-size: 1.4em; /* Slightly larger text size */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, transform 0.3s ease; /* Smooth transition for color change and hover effect */
}

.social-links a:hover {
    color: #00BFFF; /* Lighter blue on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .pictures {
        justify-content: center; /* Center-align images */
    }

    .hackathon-img {
        width: 100px;
        height: 100px; /* Smaller square size for mobile */
    }

    .project-card {
        width: 100%;
    }
    .certifications-container {
        justify-content: center;
    }

    .certification-card {
        width: 100%;
}
}
