/* General Styling */
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f3e8ff;
    color: #333333;
}
/* Home Background */
#home {
    min-height: 100vh;

    background: linear-gradient(
        rgba(0,0,0,0.6),
        rgba(0,0,0,0.6)
    ), url("background.jpg");

    background-size: cover;
    background-position: center;

    color: white;
}
/* Navigation Bar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #26345c;
}
header h2 {
    color: white;
    font-family: Georgia, serif;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 10px;
    font-size: 14px;
}
nav a:hover {
    color: #c4b5fd;
}
/* Home Introduction */
.intro {
    text-align: center;
    padding: 80px 20px 40px;
}
.intro img {
    width: 195px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
}
.intro h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    margin-top: 30px;
}
.intro h2 {
    font-size: 23px;
    color: #c4b5fd;
}
.intro p {
    font-size: 16px;
    line-height: 1.6;
}
/* Button */
button {
    background-color: #8b5cf6;
    color: white;
    padding: 12px 22px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    margin-top: 15px;
}
button:hover {
    background-color: #26345c;
}
/* Main Section Boxes */
.container {
    background-color: white;
    margin: 30px auto;
    padding: 35px;
    width: 80%;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #c4b5fd;
}
.container h1 {
    color: #6d28d9;
    font-family: Georgia, serif;
}
.container h2 {
    color: #438ceb;
}
.container p {
    line-height: 1.7;
}
/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th {
    background-color: #6d28d9;
    color: white;
    padding: 12px;
}
td {
    background-color: #f3e8ff;
    padding: 12px;
    border: 1px solid #c4b5fd;
}
tr:hover td {
    background-color: #e0d4ff;
}
/* Education and Project Boxes */
.details-box {
    background-color: #f3e8ff;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    border-left: 5px solid #8b5cf6;
}
.details-box h3 {
    color: #7c3aed;
}
/* Lists */
.container ul,
.container ol {
    display: inline-block;
    text-align: left;
    line-height: 2;
    background-color: #f3e8ff;
    padding: 20px 40px;
    border-radius: 10px;
}
/* Skills Section */
#skills.skills-section {
    background-color: #f3e8ff;
    width: auto;
    margin: 30px 0;
    padding: 40px 30px;
    border-radius: 0;
    border: none;
    text-align: center;
}
.skills-section h1 {
    color: #26345c;
    font-size: 35px;
}
.skills-section h1 span {
    color: #8b5cf6;
}
.skill-intro {
    color: #555555;
    margin-bottom: 30px;
}
/* Skills Cards */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.skill-card {
    background: linear-gradient(
        to right,
        #438ceb,
        #8b5cf6
    );

    width: 28%;
    min-height: 150px;
    padding: 20px;
    border-radius: 12px;
    box-sizing: border-box;
    text-align: left;
    color: white;
}
.skill-card h2 {
    color: #fde68a;
    font-size: 25px;
}
.skill-card h3 {
    color: white;
}
.skill-card p {
    color: white;
    line-height: 1.5;
    font-size: 14px;
}
.skill-card:hover {
    background: linear-gradient(
        to right,
        #6d28d9,
        #a78bfa
    );
    transform: scale(1.07);
}
/* Links */
.container a {
    color: #6d28d9;
    font-weight: bold;
}
.container a:hover {
    color: #438ceb;
}
/* Iframe */
iframe {
    border: 2px solid #c4b5fd;
    border-radius: 10px;
    margin-top: 15px;
}
/* Footer */
footer {
    background-color: #26345c;
    color: white;
    text-align: center;
    padding: 15px;
}
/* Mobile Responsive Design */
@media (max-width: 700px) {
    header {
        display: block;
        text-align: center;
    }
    nav a {
        display: inline-block;
        margin: 6px;
    }
    .intro {
        padding-top: 40px;
    }
    .intro h1 {
        font-size: 30px;
    }
    .container {
        width: 80%;
        padding: 20px;
    }
    .details-box {
        margin: 12px 0;
    }
    .skill-card {
        width: 100%;
    }
    table {
        font-size: 12px;
    }
    th, td {
        padding: 8px;
    }
}