/* Reset and General Styles */
* {
    font-family: "League Spartan", sans-serif;
	margin: 0;
}

/* Navbar Styles */
.navbar-nav {
    font-size: 19px;
    font-weight: 300;
    justify-content: center;
    width: 100%;
    padding: 10px;
}

.nav-item {
    padding: 0px 25px;
}

.navbar-nav .nav-item .nav-link {
    position: relative;
    padding-bottom: 5px;
    color: #000;
    text-decoration: none;
}

.navbar-nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease-out;
}

.navbar-nav .nav-item .nav-link:hover::after {
    left: 0;
    width: 100%;
}

.navbar-nav .nav-item.active .nav-link::after {
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #000;
}


/* Hero Section */
.hero-bg {
    position: relative; /* Needed for absolute positioning of the overlay */
    background-image: url("../image/resume-hero-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 105vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 400px 25px 40px;
    text-align: left;
}

/* Semi-transparent overlay for the background */
.hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Adjust opacity (20% transparency) */
    z-index: 1; /* Ensure it sits behind the content */
}

/* Heading styles (on top of overlay) */
.hero-bg h1 {
    position: relative; /* Ensure the heading is above the overlay */
    z-index: 2; /* Ensure it sits above the overlay */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 9.5rem;
    color: #DF95B2;
    padding-left: 50px;
}



#animation_text {
    transform: translateX(-100%); /* Start off-screen to the left */
    opacity: 0; /* Start invisible */
    transition: all 1s ease-out; /* Smooth transition for animation */
}
#animation_text.animate {
    transform: translateX(0); /* Move into place */
    opacity: 1; /* Fully visible */
}



/* Introduction Section */
header {
    background-color: #E4A4BD;
    text-align: center;
    padding: 50px 0;
}

header h1 {
    text-transform: uppercase;
    color: #FDF8F3;
    font-weight: bold;
    font-size: 3rem;
    margin-bottom: 10px;
}

header p {
    color: #111111;
    font-size: 1.2rem;
}

#headshot-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px; /* Center the image with spacing */
}

/* About Section */
#about {
    background-color: #FFF7ED;
    padding: 50px 0;
    color: #111111;
    line-height: 1.6;
}

#about h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #111111;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Progress Bar Styling */
.progress {
    height: 25px;
    background-color: #f1f1f1;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    background-color: #E4A4BD;
    font-weight: bold;
    text-align: center;
    line-height: 25px;
}

/* Default Accordion Button */
.accordion-button {
    color: #111111 !important; /* Dark text */
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Hover State */
.accordion-button:hover {
    background-color: #E4A4BD !important; /* Pink background */
    color: #FDF8F3 !important; /* White text */
}

/* Expanded State (not collapsed) */
.accordion-button:not(.collapsed) {
    background-color: #E4A4BD !important; /* Pink background */
    color: #FDF8F3 !important; /* White text */
    border-color: #E4A4BD !important; /* Pink border */
}

/* Icon Adjustments in Expanded State */
.accordion-button:not(.collapsed)::after {
    filter: brightness(0.8); /* Optional icon styling */
}



/* Table Section */
#table {
    margin: 50px auto; /* Center the table section on the page */
    width: 90%; /* Adjust width for responsiveness */
}

#table .table {
    width: 100%; /* Ensure the table spans its container */
    border: 1px solid #ddd; /* Subtle border for separation */
    text-align: left;
    margin-top: 20px;
    background-color: #FFF7ED; /* Light background for clarity */
    border-radius: 10px; /* Rounded corners for modern look */
    overflow: hidden; /* Ensure content stays within borders */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

#table .table thead {
    background-color: #E4A4BD; /* Pink header background */
    color: #FDF8F3; /* White text for contrast */
    font-weight: bold;
}

#table .table th, #table .table td {
    padding: 15px; /* Add spacing inside cells */
    vertical-align: middle;
    font-size: 1rem;
    color: #111111; /* Standard dark text */
}

#table .badge {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: capitalize; /* Ensure badge text is consistent */
}




/* Footer Styles */
footer {
    background-color: #E4A4BD;
    border-top: 1px solid #ddd;
	color: #FDF8F3;
}

footer a {
	color: #FDF8F3;
    text-decoration: none;
    transition: color 0.3s ease;
}
.list-unstyled a{
	color: #FDF8F3 !important;
}
.list-unstyled li{
	padding: 4px;
}
footer h5 {
	text-transform: uppercase;
	font-size: 25px;
	padding-bottom: 10px;
}

footer a:hover {
    color: #111111;
}

footer .fab {
	color: #FDF8F3;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

footer .fab:hover {
    transform: scale(1.2);
}


/* Responsive Styles for Small Screens */
@media (max-width: 576px) {
    /* Navbar */
    .navbar-nav {
        font-size: 16px;
        padding: 5px;
    }

    .nav-item {
        padding: 0 15px;
    }

    /* Hero Section */
    .hero-bg {
        padding: 100px 15px 20px;
        text-align: center;
        height: 300px;
    }

    .hero-bg h1 {
        font-size: 5.5rem;
        padding-right: 0;
    }

    /* Introduction Section */
    header {
        padding: 30px 15px;
    }

    header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    header p {
        font-size: 1rem;
    }

    #headshot-img {
        width: 150px;
        height: 150px;
    }

    /* About Section */
    #about {
        padding: 30px 15px;
    }

    #about h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    #about p {
        font-size: 0.9rem;
    }

    /* Accordion Section */
    .accordion-button {
        font-size: 1rem;
        padding: 10px;
    }

    .accordion-button:hover {
        font-size: 1rem;
    }

    /* Progress Bar */
    .progress {
        height: 20px;
    }

    .progress-bar {
        font-size: 0.8rem;
    }

    /* Table Section */
    #table {
        margin: 20px auto;
        width: 100%;
    }

    #table .table {
        margin-top: 10px;
    }

    #table .table th,
    #table .table td {
        font-size: 0.9rem;
        padding: 10px;
    }

    .badge {
        font-size: 0.8rem;
        padding: 3px 5px;
    }

    /* Footer */
    footer {
        font-size: 14px;
    }

    footer h5 {
        font-size: 18px;
    }

    .list-unstyled li {
        padding: 2px;
    }

    /* Accordion and Table Adjustments */
    .accordion-button {
        font-size: 1rem;
    }

    .accordion-body {
        font-size: 0.9rem;
    }

    .accordion-item {
        margin-bottom: 10px;
    }
}
