/* GENERAL */


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


* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

#vanta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

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

/* DESKTOP NAV */

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

nav {
    justify-content: space-around;
    align-items: center;
    height: 8vh;
    
}

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

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

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

.logo {
    font-size: 2rem;
    cursor: pointer;
    transition: all 300ms ease;
}

.logo:hover {
    color: gray;
}

/* HAMBURGER MENU */

#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;
    transition: all 0.3s ease-in-out;
}

.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);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none;
}

/* SECTIONS */

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

.section-container {
    display: flex;
}
/* /////////////////////////////////////////// */

#about {
    margin-top: 40px; /* Adjust this value as needed to increase the space */
}

.section__pic-container, .about-details-container {
    margin-right: 50px; /* Adds some space between the picture and the details */
}


/* /////////////////////////////////////////// */





/* PROFILE SECTION */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section__pic-container {
    display: flex;
    margin: auto 0;
    width: 400px;
    height: 400px;
}

.section__pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
}

.right-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: 4rem;
}

.right-side .section__pic-container {
    margin: 0;
    margin-bottom: 0.3rem;
}

.right-side .btn-container {
    margin-top: 1.5rem;
    margin-bottom: 0.3rem;
}

.right-side #social_container {
    margin-top: 0.6rem;
}

.section__text {
    align-self: flex-start;
    text-align: center;
    margin-top: 4rem;
}

.section__text p {
    font-weight: 600; /* Uniform font-weight, adjust if needed */
}

.section__text__p1 {
    text-align: center;
}


.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem; /* Maintain margin around the introductory text */
}

.about-description {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(85, 85, 85);
    text-align: left;
    margin: 0;
}

.title {
    font-size: 3rem; /* Keep title large */
    text-align: center;
}

#social_container {
    display: flex;
    justify-content: center; /* Center these elements within their container */
    margin-top: 1rem;
    gap: 10px; /* Space between buttons/icons */
}


/* ICONS */

.icon {
    cursor: pointer;
    height: 2rem;
}


/* BUTTONS */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

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

.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;
}

.btn-repo-private {
    background: rgb(163, 163, 163);
    color: white;
    border: rgb(163, 163, 163) 0.1rem solid;
    font-weight: 500;
    cursor: default;
    opacity: 0.8;
}

.btn-container {
    gap: 1rem;
}

/* ABOUT SECTION */

#about {
    position: relative;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
    align-items: flex-start;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-containers, .about-details-container {
    display: flex;
}

.about-pic {
    border-radius: 2rem;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: 2px solid rgb(163, 163, 163);
    text-align: center;
    min-width: 300px;
    max-width: 350px;
}

.section-container {
    gap: 4rem;
    height: 80%;
}


/* PROJECT SECTION */

#projects {
    position: relative;
    margin-top: 20px;
    padding-top: 10px; /* Alternatively, you could use padding */
}

.projects-details-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.projects-main-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.projects-left-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.python-pic-container {
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.python-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
}

.projects-description {
    max-width: 400px;
    text-align: center;
}

.projects-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(85, 85, 85);
    margin: 0;
}

.projects-right-side {
    flex: 1;
    display: flex;
    justify-content: center;
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    min-height: 580px;
    max-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-img {
    width: 95%;
    height: 250px;
    border-radius: 2rem;
    object-fit: cover;
}

.project-title {
    margin: 0.7rem 1rem 0.3rem 1rem;
    color: black;
}

.project-description {
    margin: 0 1rem 0.7rem 1rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    border: 1px solid rgba(163, 163, 163, 0.3);
}

.project-description p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: rgb(70, 70, 70);
    margin: 0;
    text-align: left;
}

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

.paper-info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem;
    margin: 0.3rem 0;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.paper-text {
    color: rgb(25, 118, 210);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.private-repo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 1rem;
}

.private-repo-text p {
    color: rgb(163, 163, 163);
    font-style: italic;
    font-size: 1rem;
    margin: 0;
}


/* 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: 0.1rem solid rgb(53, 53, 53) ;
    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.55rem;
}

/* FOOTER SECTION */

footer {
    height: 26vh;
    margin: 0 1rem;
}

footer p {
    text-align: center;
}

/* PDF MODAL STYLES */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.pdf-modal-content {
    position: relative;
    background-color: white;
    margin: 2% auto;
    width: 90%;
    max-width: 900px;
    height: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f9fa;
    border-radius: 10px 10px 0 0;
}

.pdf-modal-title {
    margin: 0;
    font-size: 1.5rem;
    color: rgb(85, 85, 85);
    font-weight: 600;
}

.pdf-modal-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pdf-download-btn {
    background: rgb(53, 53, 53);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.pdf-download-btn:hover {
    background: rgb(0, 0, 0);
    transform: translateY(-2px);
}

.pdf-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pdf-close-btn:hover {
    background-color: #f0f0f0;
    color: #333;
}

.pdf-viewer {
    flex: 1;
    padding: 0;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
}

.pdf-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 10px 10px;
}

/* Mobile responsive for PDF modal */
@media screen and (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        height: 95%;
        margin: 2.5% auto;
    }
    
    .pdf-modal-header {
        padding: 15px;
    }
    
    .pdf-modal-title {
        font-size: 1.2rem;
    }
    
    .pdf-download-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}










