/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f5f5f5; 
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}


a, .btn {
    transition: all 300ms ease;
}


nav, .nav-links {
    display: flex;
}

nav {
    justify-content: space-around;
    align-items: center;
    height: 17vh;
    background-color: #fff; 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); 
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
}

.logo {
    font-size: 2rem;
    font-weight: 600; 
}

.logo:hover {
    cursor: default;
}


#hamburger-nav {
    display: none; 
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3s ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}

/* SECTIONS */
section {
    padding-top: 4vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container {
    display: flex;
    gap: 4rem; 
}

/* PROFILE SECTION */
#profile {
    display: flex;
    align-items: center; 
    justify-content: flex-start;
    height: 80vh;
    gap: 2rem;
}

.section_pic-container {
    height: 300px; 
    width: 300px;
    overflow: hidden;
    border-radius: 50%; 
}

.section_pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.section_text {
    text-align: left;
}

.section_text p {
    font-weight: 600;
}

.section_text_p1 {
    font-size: 2rem; 
    margin-bottom: 1rem;
}

.title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center; 
}

#socials-container {
    display: flex;
    justify-content: flex-start; 
    margin-top: 1.5rem; 
    gap: 2rem;
}

/* ICONS */
.icon {
    cursor: pointer;
    height: 2.5rem; 
    transition: transform 0.3s; 
}

.icon:hover {
    transform: scale(1.1);
}

.btn-container {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 1.5rem; 
}

.btn {
    font-weight: 600;
    padding: 1rem;
    width: 10rem; 
    border-radius: 2rem;
    transition: all 300ms ease;
}

.btn-color-1, .btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover, .btn-color-2:hover {
    cursor: pointer;
}

.btn-color-1, .btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
}

.btn-color-1:hover {
    background: rgb(0, 0, 0);
}

.btn-color-2 {
    background: none;
}

.btn-color-2:hover {
    border: rgb(255, 255, 255) 0.1rem solid;
}

/* ABOUT SECTION */
#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6vh 0;
}

.about-containers {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 2rem;
    text-align: left;
}

.about-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
}

.about-pic {
    border-radius: 50%; 
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.about-containers h3 {
    font-size: 2rem; 
    font-weight: 700; 
}

.about-containers p {
    font-size: 1.25rem; 
    font-weight: 500;
}

.title {
    text-align: center; 
    margin-bottom: 1rem;
    font-size: 3rem; 
}

/* LEADERSHIP SECTION */
#leadership {
    position: relative;
    padding-top: 6vh;
    margin-bottom: 6vh;
}

.leadership-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    text-align: center; 
}

.leadership-details-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    gap: 2rem;
}

.article-container {
    display: flex;
    text-align: left; 
    flex-direction: column;
    gap: 2rem;
}

article {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    font-size: 1.25rem; 
    line-height: 1.5;
    max-width: 100%; 
}

article .icon {
    height: 2.5rem;
    flex-shrink: 0;
}

article p {
    margin: 0;
}

/* SKILLS SECTION */
#skills {
    padding: 6vh 0;
    background-color: #fafafa;
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    border-radius: 1rem;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.05);
    padding: 1.5rem;
    transition: transform 0.2s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
}

.skill-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    font-size: 1rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.skill-category li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .skills-wrapper {
        grid-template-columns: 1fr;
    }
}


/* PROJECT SECTION */
#projects {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    padding-top: 4vh;
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    text-align: center; 
    width: 100%;
    max-width: 600px;
    margin-bottom: 2rem;
}

.project-img {
    border-radius: 2rem;
    max-width: 100%;
    height: auto;
}

.project-title {
    margin: 1rem;
    font-size: 1.75rem; 
    color: black;
}

.project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
    font-size: 1.25rem; 
}

/* CONTACT SECTION */
#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

footer {
    height: 20vh; 
    margin: 0 1rem;
    padding: 2rem 0; 
    text-align: center; 
    background-color: #333;
    color: white;
}

footer p {
    text-align: center;
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    
    section {
        margin: 0 2rem;
        padding-top: 3vh;
    }

    .section-container {
        flex-direction: column;
        gap: 2rem;
    }

    #profile {
        flex-direction: column;
        height: auto;
    }

    .section_pic-container {
        width: 100%;
        height: auto;
    }

    #socials-container {
        flex-direction: row;
    }

    .hamburger-icon {
        display: flex;
    }

    #hamburger-nav {
        display: flex; 
    }

    nav#desktop-nav {
        display: none; 
    }

    footer {
        height: auto;
        padding: 2rem 1rem;
    }
}
