/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
html, body {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Base styles */
body {
    background-color: rgb(1, 1, 46);
    color: white;
    font-family: "Poppins", sans-serif;
    /* overflow-x: hidden; */
}

/* Navigation */
/* nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 63px;
    background-color: rgb(27, 27, 90);
}
nav ul {
    display: flex;
    justify-content: center;
}
nav ul li {
    list-style: none;
    margin: 0 23px;
}
nav ul li a {
    text-decoration: none;
    color: white;
}
nav ul li a:hover {
    color: rgb(170, 170, 236);
    font-size: 1.02rem;
}
.left {
    font-size: 1.5rem;
} */

/* Hero Section */
/* .firstSection {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 130px 0;
}
.firstSection > div {
    width: 100%;
    max-width: 30%;
}
.leftSection {
    font-size: 2rem;
}
.leftSection .buttons {
    padding: 23px;
}
.leftSection .btn {
    padding: 12px;
    background-color: #1e2167;
    color: white;
    border: 2px solid white;
    border-radius: 6px;
    font-size: 17px;
    cursor: pointer;
}
.rightSection img {
    width: 80%;
}

} */
.purple,
#element {
    color: rgb(167, 107, 223);
}
/* General Sections */
.secondSection {
    max-width: 80vw;
    margin: auto;
}
main hr {
    border: 0;
    background-color: #9c97f1;
    height: 1.2px;
    margin: 40px 84px;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 30px 20px;
}
footer h2 {
    margin-bottom: 20px;
    font-size: 24px;
}
.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: rgb(167, 107, 223);
}

/* Hamburger (for nav toggle) */
/* .hamburger {
    display: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
} */

/* About Me */
#about {
    padding: 40px 20px;
}
#about h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}
#about-container {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
}
.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #9c97f1;
    margin-bottom: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(156, 151, 241, 0.6);
}
.about-text {
    flex: 2;
    margin-left: 20px;
}
.about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
}
.info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.info-grid div {
    width: 45%;
    margin-bottom: 15px;
    color: #ccc;
}

/* Quotes Section */
#quotes {
    background-color: #1e1e3f;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}
#quotes h2 {
    font-size: 2rem;
    color: #9c97f1;
    margin-bottom: 40px;
}
.quote-box {
    margin: 30px auto;
    max-width: 700px;
    padding: 20px;
    border-left: 5px solid #9c97f1;
    background-color: #2e2e5e;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(156, 151, 241, 0.2);
    transition: transform 0.3s ease-in-out;
}
.quote-box:hover {
    transform: translateY(-5px);
}
.quote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 10px;
}
.author {
    display: block;
    font-size: 1rem;
    color: #ccc;
}

/* Contact Section */
#contact {
    background-color: #1e1e3f;
    color: white;
    padding: 60px 20px;
    text-align: center;
}
#contact h2 {
    font-size: 2rem;
    color: #9c97f1;
    margin-bottom: 10px;
}
.contact-intro {
    margin-bottom: 30px;
    color: #ccc;
    font-size: 1rem;
}
.contact-container {
    max-width: 600px;
    margin: auto;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #2e2e5e;
    color: #fff;
    outline: none;
    resize: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb;
}
.contact-form button {
    padding: 12px;
    background-color: #9c97f1;
    border: none;
    color: #fff;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.contact-form button:hover {
    background-color: #7b74d8;
}

/* Unified Responsive Styles (from 0 up to 891px) */
@media screen and (max-width: 891px) {
    /* nav {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: block;
    }

    .right {
        display: none;
        width: 100%;
        text-align: center;
    }

    .right ul {
        flex-direction: column;
    }

    .right.show {
        display: flex;
        justify-content: center;
    }

    .firstSection {
        flex-direction: column;
        text-align: center;
        margin: 60px 20px;
        padding: 20px 0;
    }

    .firstSection > div {
        width: 100%;
        max-width: 90%;
    }

    .leftSection {
        font-size: 1.2rem;
        line-height: 1.6;
        padding: 10px 15px;
        max-width: 320px;
        margin: auto;
    }

    .leftSection .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .social-icons {
        margin-top: 20px;
        display: flex;
        justify-content: center;
        gap: 15px;
        font-size: 1.3rem;
    }

    .rightSection {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 30px;
    }

    .rightSection img {
        width: 100%;
        max-width: 250px;
        height: auto;
    } */

    #about-container {
        flex-direction: column;
        text-align: center;
        padding: 0 15px;
    }

    .about-text {
        margin-left: 0;
        padding: 0 10px;
    }

    .info-grid {
        flex-direction: column;
        gap: 10px;
    }

    .info-grid div {
        width: 100%;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
    }

    #about h1 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 0 10px;
    }

    footer {
        padding: 20px 10px;
    }

    footer h2 {
        font-size: 18px;
    }

    .social-icons a {
        font-size: 20px;
        margin: 0 8px;
    }
}

