/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: black;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background-color: #333;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

nav ul {
    list-style: none;
    padding: 10px 0;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: #61dafb;
}

/* Main Container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

/* Section Styles */
.section {
    padding: 60px 20px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* About Section */
#about {
    text-align: justify;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #f5f5f5;
    margin-bottom: 40px;
}

#about h2 {
    color: #ffffff;
}

#about p {
    margin-bottom: 18px;
}

/* Skills Section */
.skills-section {
    margin-top: 20px;
    margin-bottom: 60px;
}

.skills-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.skills-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.skills-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.skills-list li i {
    width: 25px;
    font-size: 1.4rem;
    margin-right: 5px;
}

/* Projects Section */
#projects h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 25px;
}

.project-card {
    background-color: #f5f5f5;
    color: #333333;
    padding: 28px;
    margin: 28px 0;
    border-radius: 8px;
    line-height: 1.6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.4rem;
    color: #333333;
}

.project-card h4 {
    margin-top: 24px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #333333;
}

.project-card p {
    margin-bottom: 18px;
}

.project-card ul {
    padding-left: 25px;
    margin: 10px 0 22px 0;
}

.project-card li {
    margin-bottom: 6px;
    padding-left: 2px;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Project Images */
.project-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Event Images - prevents faces from being cropped */
.event-image {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 15px auto 20px auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Project Buttons */
.project-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.project-button {
    display: inline-block;
    padding: 10px 16px;
    background-color: #007bff;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.project-button:hover {
    background-color: #0056b3;
    text-decoration: none;
}

/* Iframe and Video */
iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

video {
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Resume Section */
#resume h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 20px;
}

#resume p {
    margin-bottom: 20px;
}

.resume-card {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
}

.resume-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}

.resume-button {
    display: inline-block;
    padding: 12px 22px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: bold;
}

.resume-button:hover {
    background-color: #0056b3;
}

/* Contact Section */
#contact h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 20px;
}

form {
    background-color: #ffffff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: #333333;
}

form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}

form button {
    background-color: #333333;
    color: #ffffff;
    padding: 12px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

form button:hover {
    background-color: #555555;
}

/* Social Section */
#social h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 15px;
}

#social p {
    margin-bottom: 10px;
}

#social ul {
    list-style: none;
}

#social ul li {
    margin-bottom: 8px;
}

#social a {
    color: #61dafb;
    text-decoration: none;
    font-weight: bold;
}

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

/* Footer Styles */
footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
}

/* Shooting Stars Background */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: shooting 5s linear infinite;
}

@keyframes shooting {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateY(600px) translateX(300px);
        opacity: 0;
    }
}

/* Mobile Layout */
@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    header h1 {
        font-size: 2rem;
    }

    nav ul li {
        display: inline-block;
        margin: 8px 10px;
    }

    .section {
        padding: 40px 15px;
    }

    #about {
        text-align: left;
        font-size: 1rem;
    }

    .project-card {
        padding: 20px;
    }

    .event-image {
        max-width: 300px;
        height: auto;
    }

    iframe {
        height: 250px;
    }
}
.education-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.school-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .education-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .school-logo {
        width: 70px;
        height: 70px;
    }
}