#socials{
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    background-color: inherit;
}

#intro { 
    display: flex;             /* Enable flexbox */
    justify-content: space-between;  /* Space out the left and right sections */
    padding: 10px;
    margin-bottom: 0;
    padding-bottom: 0;
    background-color: inherit;
    color: white;             /* White text */
    display: flex;             /* Enable flexbox */
    flex-direction: row;       /* Ensure the layout is horizontal (rows) */
    box-sizing: border-box; /* Ensure padding is included in the height */
}
#about { 
        background-color: rgb(45, 44, 49);
    background-color: inherit;
    width: 100%;           /* Make the width fill 100% of the parent (or viewport) */
    padding-top: 50px;   /* More space at the bottom */
    line-height: 1.5;
}

/* Projects */
#open-source-projects {
    background-color: rgb(45, 44, 49);
    text-align: left;  /* Left-align the text inside the container */
 
}
/* Super large text class */
.super-large {
    font-weight: bold;  /* Bold the super large text */
    letter-spacing: 0.05em;  /* Optional: Space the letters out a bit for extra effect */
    line-height: 1.4;
    text-transform: uppercase;  /* Optional: Make the text uppercase */
    margin: 0;  /* Remove any margin */
}

/* Font size scaling based on h1, h2, and h3 default sizes */
h1.super-large {
    font-size: 8rem;  /* Scalable based on viewport width */
}

h2.super-large {
    font-size: 6rem;  /* Slightly smaller than h1 */
}

h3.super-large {
    margin-top: 5px;
    font-size: 1.5rem;  /* Even smaller for h3 */
}



.project {
    flex: 0 0 500px;
    height: 750px;
    padding: 1.4em;
    background-color: rgb(47, 47, 54);
    background-color: rgb(45, 44, 49);;
        background-color: rgb(50, 50, 59);
    background-color:rgb(58, 56, 63);;

    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for move and shadow */
}
#volunteering {
    background-color: rgb(45, 44, 49);
}
.volunteer-card {
    flex: 0 0 1300px;
    padding: 1.4em;
    background-color: rgb(45, 44, 49);
    background-color:rgb(58, 56, 63);;

    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for move and shadow */
}

#contact-me {
    background-color: inherit;
    /*background-color: rgb(45, 44, 49);*/
    height: 200px;

}


/* ---------- Base Styles ---------- */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif; /* Consistent body font */
    background-color:rgb(58, 56, 63);;
    color: #ffffff;
    
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* Uniform serif font for headings */
    margin: 0;
}

/* Headings */
h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: #ffffff;
}

h2 {
    font-size: 2.5em;
    font-weight: 700;
    color: #c9b49e;
    text-decoration: underline; /* Adds an underline to the h2 */
}

h3 {
    font-size: 1.8em;
    font-weight: 700;
    color: #ffffff;
}

h4 {
    font-size: 1.3em;
    font-weight: 700;
    color: #ffffff;
}

/* Paragraphs & links */
p {
    font-family: 'Montserrat', sans-serif; /* Clean sans-serif for paragraphs */
    font-size: 1.05em;
    line-height: 1.7;
}

a {
    color: hsl(0, 0%, 100%);
    text-decoration: none;
    font-weight: 700;
    
}

a:hover {
    color: #ffffff;
}

/* ---------- Header ---------- */
header {
    background-color: rgb(207, 181, 156);
    background-color: rgb(0, 0, 0);
    background-color: rgb(45, 44, 49);
    padding: 1.5em 1em 0.5em 1em;
    text-align: center;
    color: #c9b49e;
        color: white;

}

header h1 {
    font-size: 4em;
    font-weight: 700;
    font-family: 'Playfair Display', serif; /* Ensures consistency in header */
}

header h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
    margin-top: 0.5em;
}

nav {
    /*margin-top: 1.5em;*/
    margin-bottom: 1.0em;
}

nav a {
    margin: 0 1em;
    font-size: 1.2em;
    text-decoration: underline; /* Adds an underline to all links */
    color:#c9b49e;

}

/* Social Icons */
.social-icons {
    margin-top: 0em;
}

.social-icons a {
    margin: 0 0.6em;
    font-size: 1.6em;
    color: #ffffff;
    transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
    color: #fcfbfa;
    transform: translateY(-3px);
}

/* ---------- Sections ---------- */
section {
    max-width: 1500px;
    margin: 2em auto;  /* Center the section horizontally */
    padding: 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;  /* Center columns horizontally */
    align-items: flex-start;  /* Align items at the top (you can change to center if needed) */
    border-radius: 0px;
    transition: background-color 0.5s ease;  /* Smooth transition for background color */
    background-color: white;  /* Example background color */
}


.left, .right { 
    flex: 1 1 45%;
    font-family: 'Merriweather', serif; /* Distinct font for section content */
}


.projects-container {
    display: flex;
    gap: 1.5em;
    overflow-x: auto;
    padding: 1em 0;
}



.project:hover {
    transform: translateY(-10px); /* Moves the card up by 10px */
box-shadow: 2px 8px 20px rgba(0, 0, 0, 0.5); 
}

.project h3 {
    margin-bottom: 0.5em;
}

.project h4 {
    font-weight: 400;
}

.project p:first-of-type {
    margin-top: 1em;
    margin-bottom: 2em;
}

.project p {
    text-align: left;
    margin: 0;
    padding: 0;
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
    line-height: 1.7;
    font-weight: normal;
}

.project .tech-icons {
    margin-top: auto;
    display: flex;
    justify-content: right;
    gap: 0.5em;
}

.tech-icons {
    display: flex;
    justify-content: flex-end;
    gap: 0.25em;
    align-items: center;
}

.tech-logo {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}

.tech-logo:hover {
    transform: scale(1.15);
}

/* Volunteering Cards */

.volunteer-card:hover {
    transform: translateY(-10px); /* Moves the card up by 10px */
box-shadow: 2px 8px 20px rgba(0, 0, 0, 0.5); 
}

.volunteer-card h3 {
    margin-bottom: 0.5em;
}

.volunteer-card h4 {
    font-weight: 400;
    margin-bottom: 0.8em;
}

.volunteer-card p {
    flex-grow: 1;
}

.volunteer-card .tech-icons {
    display: flex;
    justify-content: flex-end;
    gap: 0.25em;
    align-items: center;
    margin-top: 0.5em;
    font-size: 1.2em;
    color: #ffffff;
}

.volunteer-card .tech-icons i:hover {
    transform: scale(1.2);
    color: #ffffff;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* ---------- Footer ---------- */
footer {

    background-color: rgb(45, 44, 49);
    color: #c9b49e;
    color: white;
    text-align: right;
    padding: 0.1em 1em;
}


/* ----------- About Section ----------- */


#about .left-align {
    flex: 5;
    text-align: left;
}

#about .right {
    flex: 1;
    text-align: right;
}

#intro .left-align {
    flex: 5;
    text-align: left;
}

#intro .right {
    flex: 1;
    text-align: right;
}

.about-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.4em;
        color: white;

}

.highlight{
    color:#c9b49e
}

.about-line-description {
    display: flex;
    align-items: left;
    padding-bottom: 1.3em;
}

.left-align {
    font-size: 1.8em;
    text-align: left;
    font-weight: bold;
    font-family: 'Merriweather', serif;
}

.right-align {
    font-size: 1.4em;
    text-align: right;
    font-style: italic;
}


#intro .right img.profile-image {
    /*width: 100%;
    max-width: 275px;
    border-radius: 15px;
    object-fit: cover;
    display: block;
    margin-left: auto;*/
    width: 325px;          /* Set the size of the image */
    height: 325px;         /* Set the height equal to the width to make it a perfect circle */
    border-radius: 50%;    /* This makes the image a circle */
    object-fit: cover;     /* Ensures the image covers the area without distortion */
    border: 5px solid #c9b49e; /* Optional: adds a white border around the circle */
    margin-top: 40px;
}

#about .right img.profile-image {
    /*width: 100%;
    max-width: 275px;
    border-radius: 15px;
    object-fit: cover;
    display: block;
    margin-left: auto;*/
    width: 300px;          /* Set the size of the image */
    height: 300px;         /* Set the height equal to the width to make it a perfect circle */
    border-radius: 50%;    /* This makes the image a circle */
    object-fit: cover;     /* Ensures the image covers the area without distortion */
    border: 5px solid white; /* Optional: adds a white border around the circle */
    margin-top: 100px;
}

.project .chart-title {
    text-align: center;
    margin: 0;
    padding: 0;
    display: block;   /* Changed from inline-block to block for wrapping */
    width: 100%;      /* Ensure the width is 100% of its container */
    max-width: 100%;  /* Keep the max width at 100% */
    height: auto;
    line-height: 1.2; /* Adjusted line-height for better readability */
    word-wrap: break-word; /* Ensure long words wrap */
    white-space: normal;   /* Allow wrapping */
    font-size: 0.8em;  /* Make text smaller (adjust as needed) */
    font-weight: bold; /* Make the text bold */
}

.project .description {
    line-height: 1.8;
    margin-bottom: 1em;
}


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    section { flex-direction: column; padding: 1em; }
    .left, .right { flex: 1 1 100%; text-align: left !important; }

    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }

    .projects-container { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
    .project, .volunteer-card { flex: 1 1 80%; }
}



.section-title {
    margin-bottom: 1em; /* Space below the title */
}

.contact-container {
    display: flex; /* Use flexbox for stacking */
    flex-direction: column; /* Stack items vertically */
    align-items: left; /* Center items horizontally */
    width: 100%; /* Ensure it takes full width */
}

.contact-card {
    text-align: left;
    width: 100%;
}

.contact-info a {
    color: #6650b4; /* Lighter brown for links */
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline; /* Underline links on hover */
}
