/* styles.css */

/* background*/

*{
    margin: 0px;
    padding: 0px;

}
body{
    background-color: #f4f7f6; /* Very light grey background */
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* More modern font stack */
    text-align: center;
    padding-bottom: 50px;
    color: #333; /* Default text color for better contrast */
}


.social-icons {
    margin: 0 10px;
    font-size: 30px; /* Set size of the icons */
    color: #0077b5; /* Blue color for LinkedIn and GitHub */
    position: relative;
}


/*Navbar settings */

.navbar {
    background-color: rgba(248, 249, 250, 0.5); /* Lighter background with transparency */
    backdrop-filter: blur(10px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 70px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-bottom: 1px solid rgba(231, 231, 231, 0.5); /* Subtle bottom border with transparency */
}

.navbar .nav-list {
    display: flex;
    list-style: none;
    margin: 0px;
    padding: 0px;
    justify-content: center;
}

.navbar a{
    text-decoration: none;
    color: #343a40; /* Darker text for links */
    display: inline-block;
    padding: 20px;
    text-align: center;
    width: 80px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.navbar a:hover{
    color: #0056b3; /* Darker blue on hover */
    background-color: #e2e6ea; /* Light grey background on hover */
}


.navbar a.active{
    background-color: #d0d0d0; /* Slightly darker light gray for active link, distinct from hover */
    color: #343a40;
}

.navbar .hamburger-toggle{
    color: #343a40; /* Darker color for hamburger icon */
    font-size: 25px;
    display:none;
    padding: 15px;
}

.navbar .hamburger-toggle .x{
    display:none;
}


.navbar .hamburger-toggle:hover{
    color: #0056b3; /* Darker blue on hover for hamburger icon */
    background-color: #e2e6ea; /* Light grey background on hover */
}

/* For mobile device viewing*/

@media screen and (max-width: 768px) {

    .navbar.open .nav-list{
        display: block;
        position: static;
        top: 400px;
        left: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color:#f8f9fa;
    }

    .navbar.open a {
        display: block;
        padding-left: 0px; 
        padding-right: 0px;
        width: 100%;
        text-align: center;
    }

    .navbar .hamburger-toggle{
        display: block;
    }

    .navbar.open .hamburger-toggle .x{
        display: block;
        
    }

    .navbar.open .hamburger-toggle .hamburger{
        display: none;
        padding: 10px;
    }

    .navbar .nav-list{
        display:none;
    }
}


/*Top Banner */
.banner-area {
    background-image: url("imgs/better_background.jpeg");
    background-size: cover;
    background-position: center ;
    top: 0px;
    height: 200px;
    position: relative;
    width: 100%;
    padding-top: 75px;
}

.parallax {
    background-attachment: fixed;
}

.banner-area::after{
    content: "";
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(45deg, rgba(2,0,36,0.7) 0%, rgba(9,9,121,0.7) 35%, rgba(0,212,255,0.7) 100%);
    z-index:1;
}
.banner-area{
    position:relative;
}

.banner-area .bold-title-h1 {
    font-weight: bold; /* Ensure bold */
    text-align: center;
    font-size: 3.5em; /* Relative font size for responsiveness */
    position: relative;
    color: white;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* A more elegant serif font */
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for readability */
    animation: fadeInSlideUp 1s ease-in-out;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*Content for this home section */
.content{
    position: relative;
    background: white;
    
    max-width: 1100px;
    padding-left: 1pc;
    padding-right: 1pc;

    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Subtle shadow */

    margin: 30px auto; /* Center the content */
    max-width: 1100px;
    width: calc(100% - 6pc); /* keeps 4pc on each side */
}

.content h2.bold-title-h2 {
    font-weight: bold;
    text-align: center;
    font-size: 2.5em; /* Relative font size */
    color: #007bff; /* Bootstrap primary blue */
    margin-bottom: 20px; /* Add some space below */
}

.content p{
    padding: 2% 0;
    line-height: 30px;
    text-align: justify;
}

/* Style for Split Screen body */

.container-home {
    justify-content: center;
    padding: 0px;
    display: grid;
    place-items: center;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    

    max-width: 1100px;
    margin: 0 auto;
    margin-top: -30px;
}

.left-column {
    padding-right: 0px;
}

.profile-picture {
    width: 100%; /* Makes the picture responsive */
    max-width: 200px; /* Sets a max width for the picture */
    border-radius: 50%; /* Makes the picture circular */   
    margin-top: 30px;
}

.left-column .contact {
    margin-top: 7px;
}

.socials {
    margin-top: 10px;
}

.socials a {
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
    text-decoration: none;
    color: rgb(0, 0, 14);
    font-size: 25px;
}

.right-column {
    margin-bottom: 0px;
}

/* For stacking the profile pick and About Grid */
@media screen and (max-width: 768px) {
    .container-home {
        grid-template-columns: 1fr; /* Stack items on mobile */
    }
}

/*Skill Section*/
/* For the skill breakdown */
.container-skill {
    display: grid;
    grid-template-columns: 1fr 7fr;
    gap: 0px;
    align-items: center;
    padding-left: 2pc;
    padding-right: 2pc;
    padding-bottom: 15px;
    
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -30px;
}
.container-skill .header {
    font-weight: bold;
    text-align: left;
    color: rgb(93, 93, 93);
}
.container-skill .entry {
    margin: 1px 0;
    padding: 5px;
    border-radius: 5px;
    text-align: left;
    display: inline-block;
}
.container-skill .x-entry {
    background-color: #7cb9ef; /* Light blue */
    color: black; /* Navy */
}
.container-skill .link-entry a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    text-align: left;
}
.container-skill .link-entry a:hover {
    text-decoration: underline;
}



/*Project Summaries*/
/* Styling for the summary section */
#summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-family: "Courier New", Courier, monospace;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 20px 0;
}
/* Styling for each column */
#summary .column {
    flex: 1;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #eaeaea;
}
/* Header styling */
#summary h2 {
    color: #2c3e50;
    font-size: 1.25em;
    margin-bottom: 10px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
    text-align: center;
}
/* Paragraph styling */
#summary p {
    color: #4d4d4d;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}
/* Highlighting keywords */
#summary strong {
    color: #e74c3c;
    font-weight: bold;
}
/* Responsive Layout */
@media (max-width: 768px) {
    #summary {
        flex-direction: column; /* Stack columns vertically */
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    #summary .column {
        width: 100%; /* Make each column take up full width */

    }
}


/* Paper/Writeup Section CSS */
.pdf-card {
    display: flex;
    background-color: white; /* Change to white for consistency with other cards */
    color: #333; /* Darker text */
    border-radius: 10px; /* Slightly more rounded */
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    margin-bottom: 20px; /* Add margin for separation */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: 1px solid #e0e0e0; /* Subtle border */
}
.pdf-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}
.pdf-thumbnail img {
    width: 90px;
    height: auto;
    object-fit: cover;
    padding: 8px;
}
.pdf-info {
    padding: 16px;
}
.pdf-info h2 {
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.4;
}
.pdf-info p {
    margin: 4px 0;
}
.pdf-info em {
    font-size: 14px;
    color: #656565;
}
.pdf-link {
    text-decoration: none;
}


/* Project container style*/
.projects-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.projects-container .project-card {
    display: flex;
    background: white;
    border-radius: 10px; /* Slightly more rounded */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* More pronounced shadow */
    overflow: hidden;
    margin-bottom: 25px; /* Slightly more margin */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for shadow too */
    border: 1px solid #e0e0e0; /* Subtle border */
}
.projects-container .project-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}
.project-card .project-image {
    width: 35%;
    object-fit: cover;
}
.project-card .project-info {
    padding: 20px;
    flex-grow: 1;
}
.project-card .project-title {
    margin: 0;
    color: #333;
    font-size: 1.5em;
}
.project-card .project-description {
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .projects-container .project-card {
        flex-direction: column;
    }
    .project-card .project-image {
        width: 100%;
    }
}

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    border: none;
    outline: none;
    background-color: rgba(248, 249, 250, 0.7);
    color: #333;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#scrollToTopBtn:hover {
    background-color: rgba(248, 249, 250, 1);
}




