/* ==========================================================================
   1. GLOBAL VARIABLES & RESET
   ========================================================================== */
:root {
    --aggiemaroon: #500000;
    --slate: #2b3a4a;
    /* Casual secondary blue-gray */
    --logic-high: #ff9f1c;
    /* Amber LED / Logic High accent */
    --bg-white: #fdfdfd;
    --font-code: 'IBM Plex Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: var(--slate);
    line-height: 1.6;

    background-image:
        /* Layer 1: Vertical Traces (Converted to Muted Gray) */
        url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23888888' stroke-opacity='0.5' stroke-width='2.5'%3E%3Cpath d='M100 0 v40 L120 60 v60 L100 140 v60'/%3E%3Ccircle cx='120' cy='60' r='2' fill='%23888888' fill-opacity='0.25'/%3E%3C/g%3E%3C/svg%3E"),

        /* Layer 2: VLSI Components (Converted to Deep Gray) */
        url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23555555' stroke-opacity='0.7' fill='none' stroke-width='1'%3E%3Cpath d='M30 50 v20 M25 60 h10 M35 55 v10'/%3E%3Cpath d='M150 250 v20 M145 260 h10 M155 255 v10'/%3E%3Cpath d='M320 80 v20 M315 90 h10 M325 85 v10'/%3E%3Cpath d='M60 350 v20 M55 360 h10 M65 355 v10'/%3E%3Cpath d='M250 150 v20 M245 160 h10 M255 155 v10'/%3E%3Cpath d='M100 120 h20 M100 125 h20'/%3E%3Cpath d='M280 320 h20 M280 325 h20'/%3E%3Cpath d='M350 200 h20 M350 205 h20'/%3E%3Crect x='180' y='40' width='30' height='20' rx='2'/%3E%3Cpath d='M185 40 v-4 M195 40 v-4 M205 40 v-4 M185 60 v4 M195 60 v4 M205 60 v4'/%3E%3Crect x='40' y='220' width='30' height='20' rx='2'/%3E%3Cpath d='M45 220 v-4 M55 220 v-4 M65 220 v-4 M45 240 v4 M55 240 v4 M65 240 v4'/%3E%3C/g%3E%3C/svg%3E"),

        /* Layer 3: Professional Gradient Base */
        linear-gradient(to bottom right, #f0f2f5, #d9e2ec);

    background-color: #fdfdfd;
    background-attachment: scroll;
}

section {
    padding: 60px 15% !important;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: none;
    display: block;
}

@media (max-width: 768px) {
    section {
        padding: 40px 5%;
        /* Less side padding on small screens */
    }

    h1 {
        font-size: 2.5rem;
        /* Smaller text so it doesn't overflow */
    }

    .hero-container {
        flex-direction: column;
        /* Stack the text and image vertically */
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }

    .nav-list {
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        background: var(--aggiemaroon);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-list.active {
        max-height: 500px;
        /* Adjust based on content */
    }

    .nav-list li {
        margin: 20px 0;
    }

    .hero-contact-socials {
        padding: 10px 20px;
    }
}

/* ==========================================================================
   3. TYPOGRAPHY (OPTION 1: MODERN ACCENTED)
   ========================================================================== */

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: var(--aggiemaroon);
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--aggiemaroon);
    position: relative;
    display: inline-block;
    padding-bottom: 0px;
    cursor: default;
}

h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    background: #fe8c01;
    bottom: 0;
    left: 0;
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

h2:hover::after {
    width: 100%;
}

section:hover h2::after {
    width: 100%;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--aggiemaroon);
}

h3 a:visited {
    text-decoration: none;
    color: var(--aggiemaroon);
    /* Prevents the 'visited' purple color */

}

h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--aggiemaroon);
    letter-spacing: 1px;
}

h5 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--aggiemaroon);
    letter-spacing: 1px;
}

/* ==========================================================================
   3. LAYOUT & SECTIONS
   ========================================================================== */
section {
    padding: 60px 15%;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    /* box-shadow: 0 0 40px rgba(0, 0, 0, 0.05); */
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-bottom: 20px !important;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    text-align: left;
    margin-top: 40px;
}

.hero-left {
    flex: 1.5;
}

.hero-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centers icons relative to the image width */
    gap: 15px;
    /* Space between image and icons */
}

.hero-contact-socials {
    display: flex;
    gap: 20px;
    /* background: rgba(255, 255, 255, 0.5); Very light aggiemaroon tint */
    padding: 10px 80px;
    border-radius: 50px;
    /* border: 1px transparent rgba(112, 110, 110, 0.212); */

}

.hero-contact-socials a {
    color: var(--aggiemaroon);
    font-size: 1.6rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-contact-socials a:hover {
    color: var(--logic-high);
    transform: translateY(-3px);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--aggiemaroon);
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero .name {
    color: var(--aggiemaroon);
}

#typing-text {
    font-family: var(--font-code);
    color: var(--aggiemaroon);
    background: #002b5b11;
    padding: 2px 8px;
    border-radius: 4px;
}

#typing-text-about {
    font-family: var(--font-code);
    color: var(--aggiemaroon);
    background: #002b5b11;
    padding: 0px 8px;
    border-radius: 4px;
}

.hero-description {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 90%;

    background: rgba(255, 255, 255, 0.85);
    padding: 15px 25px;
    border-radius: 8px;
    border-left: 4px solid var(--logic-high);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: justify;
}

.about {
    padding-top: 20px;
    padding-bottom: 60px;
}

/* ==========================================================================
   4. NAVIGATION (aggiemaroon BG, WHITE TEXT, ORANGE HOVER)
   ========================================================================== */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 15%;
    background: var(--aggiemaroon);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

nav .logo {
    font-family: var(--font-code);
    color: #ffffff;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--logic-high) !important;
    transition: 1s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0px;
    bottom: 0;
    left: 0;
    background-color: var(--logic-high);
    transition: width 1s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--logic-high);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--aggiemaroon);
}

nav ul li a:hover::after {
    width: 100%;
}

/* ==========================================================================
   5. COMPONENTS (CARDS, IMAGES, BUTTONS)
   ========================================================================== */
.profile-img-large {
    width: 30px;
    height: 30px;
    object-fit: fill;
    transition: transform 0.1s ease;
}

.profile-img-large:hover {
    transform: scale(0.5);
}

img {
    max-width: 100%;
    height: auto;
    /* Maintains aspect ratio */
}

.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 5px solid var(--aggiemaroon);
    border-radius: 12px;
    /* Subtle rounding for the "chip" look */
    box-shadow: 10px 10px 0px var(--aggiemaroon);
    /* Amber accent "shadow" */
    transition: transform 0.3s ease;
}

.work-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.workex .work-container {
    display: flex;
    flex-direction: column;
}

.work-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0, 43, 91, 0.1);
    border-left: 5px solid var(--aggiemaroon);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 10px;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 43, 91, 0.08);
    border-color: var(--logic-high);
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.project-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: 0.4s ease;
    border-left: 5px solid var(--aggiemaroon);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 43, 91, 0.1);
    border-left-color: var(--logic-high);
}

.project-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

/* Expanded state triggered by JavaScript */
.project-card.expanded .project-details {
    max-height: 500px;
    /* Set high enough to fit your text */
    opacity: 1;
    margin-top: 15px;
}

.work-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    opacity: 0;
}

/* Expanded state triggered by JavaScript */
.work-card.expanded .work-details {
    max-height: 2000px;
    /* Increased to fit content */
    opacity: 1;
    margin-top: 15px;
}

/* Button Styling matching your Aggie Maroon theme */
.view-more-btn {
    background: none;
    border: 1px solid var(--aggiemaroon);
    color: var(--aggiemaroon);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 15px;
    transition: 0.3s;
    width: fit-content;
}

.view-more-btn:hover {
    background: var(--aggiemaroon);
    color: white;
    box-shadow: 0 4px 10px rgba(80, 0, 0, 0.2);
}

.edu .view-more-btn {
    display: none;
}

.btn {
    margin-top: 30px;
    padding: 14px 32px;
    background: var(--aggiemaroon);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid var(--aggiemaroon);
}

.btn:hover {
    background: white;
    color: var(--aggiemaroon);
    box-shadow: 0 8px 15px rgba(0, 43, 91, 0.2);
}

.btnedu {
    margin-top: 10px;
    padding: 10px 25px;
    background: var(--aggiemaroon);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid var(--aggiemaroon);
    width: fit-content;
    /* Sets a fixed width */
    text-align: center;
}

.btnedu:hover {
    background: white;
    color: var(--aggiemaroon);
    box-shadow: 0 8px 15px rgba(0, 43, 91, 0.2);
}

.tech-tag {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--aggiemaroon);
    background: #eef2f7;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 5px 5px 0 0;
    display: inline-block;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.skill-category {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    transition: 0.4s ease;
    border-left: 5px solid var(--aggiemaroon);
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 43, 91, 0.1);
    border-left-color: var(--logic-high);
}

.skill-category:hover h4 {
    color: var(--aggiemaroon);
    transition: color 0.3s ease;
}

.skill-category ul {
    list-style-type: disc;
    margin-left: 20px;
}

.skill-category ul ul {
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: 10px;
    list-style-type: circle;
}

.skill-category ul ul ul {
    margin-left: 20px;
    list-style-type: square;
}

.skill-category li {
    margin-bottom: 5px;
}




.work-category ul {
    list-style-type: disc;
    margin-left: 20px;
}

.work-category ul ul {
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: 10px;
    list-style-type: circle;
}

.work-category ul ul ul {
    margin-left: 20px;
    list-style-type: square;
}

.work-category li {
    margin-bottom: 5px;
}

/* ==========================================================================
   6. CONTACT & FOOTER
   ========================================================================== */
.contact {
    background: var(--aggiemaroon);
    color: white;
    padding: 60px 15% !important;
    text-align: center;
}

.contact h2 {
    color: #ffffff;
    display: inline-block;
    padding: 5px 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-item {
    color: white;
    text-decoration: none;
    font-family: var(--font-code);
    font-size: 0.95rem;
    transition: 0.3s;
}

.contact-item i {
    color: #ffffff;
    margin-right: 8px;
}

.contact-item:hover {
    color: var(--logic-high);
}

footer {
    background: var(--bg-white);
    color: rgb(0, 0, 0);
    padding: 25px;
    text-align: center;
    font-size: 0.8rem;
    font-family: var(--font-code);
}



/* ==========================================================================
   7. Certificate
   ========================================================================== */
#cert-viewer {
    padding: 40px 15% !important;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    display: block;
    overflow: hidden;
}


.slider-container.media-slider-look {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.356);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.cert-slide {
    display: block;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.8s;
    transform: translateX(20px);
    pointer-events: none;
}

.cert-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.cert-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 17 / 12;
    object-fit: contain;
    background-color: #f8f9fa;
}

.cert-details {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #fff;
    text-align: center;
}

.slider-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: rgba(0, 43, 91, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all ease;
    z-index: 10;
}

.slider-arrow:hover {
    background-color: var(--logic-high);
    scale: 1.1;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

@keyframes smoothSlideIn {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ==========================================================================
   7. Course
   ========================================================================== */
.course-list {
    margin-top: 20px;
    font-family: var(--font-main);
}

/* Primary List (Semesters) */
.course-list>ul {
    list-style-type: none;
    /* Remove default bullets for semesters */
    padding-left: 0;
}

.course-list>ul>li {
    margin-bottom: 20px;
    color: var(--navy);
    font-weight: 600;
}

/* Nested List (Specific Courses) */
.course-list ul ul {
    margin-top: 8px;
    padding-left: 30px;
    /* This creates the indentation */
    list-style-type: square;
    /* Professional square bullets */
}

.course-list ul ul li {
    margin-bottom: 5px;
    color: var(--slate);
    font-weight: 400;
    font-family: var(--font-main);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 5%;
    }

    .menu-toggle {
        display: block;
        margin-right: 10px;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .menu-toggle:hover {
        transform: scale(1.1);
        color: var(--logic-high);
    }

    /* Mobile Menu Container */
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(80, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: stretch;
        /* Stretch items to full width */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
        padding: 0;
        /* Reset padding */
    }

    .nav-list.active {
        max-height: 100vh;
        padding: 10px 0;
    }

    .nav-list li {
        margin: 0 !important;
        /* Force reset desktop margin */
        width: 100%;
    }

    .nav-list li a {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-align: center;
        transition: background 0.3s ease;
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }

    .nav-list li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--logic-high) !important;
    }

    .hero-description {
        text-align: left !important;
        padding: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1rem !important;
        line-height: 1.6;
    }

    .hero h3 {
        font-size: 1.1rem;
        min-height: 3.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15px;
    }

    /* --- CREATIVE MOBILE CARDS REDESIGN --- */

    /* Horizontal Scrolling Container */
    /* Horizontal Scrolling Container for Projects & Skills & Education */
    .edu .work-container,
    .project-container,
    .skills-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 20px 0 40px 0;
        margin: 0;
        -webkit-overflow-scrolling: touch;
        scroll-padding-inline: 12.5vw;
    }

    /* More visible scrollbar */
    .edu .work-container::-webkit-scrollbar,
    .project-container::-webkit-scrollbar,
    .skills-grid::-webkit-scrollbar {
        display: block;
        height: 6px;
    }

    .edu .work-container::-webkit-scrollbar-thumb,
    .project-container::-webkit-scrollbar-thumb,
    .skills-grid::-webkit-scrollbar-thumb {
        background: var(--logic-high);
        border-radius: 10px;
        border: 2px solid #fff;
        /* Inset look */
    }

    /* Vertical Stack ONLY for Work Experience */
    .workex .work-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 0;
        padding: 0;
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }

    /* Card Base Style for Horizontal Items (Peek Effect) */
    .edu .work-card,
    .project-card,
    .skill-category {
        min-width: 75vw;
        /* Smaller cards = bigger 'peek' */
        scroll-snap-align: center;
        scroll-margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
        gap: 12px;
        padding: 25px !important;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #f0f0f0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
        margin-top: 5px;
        height: auto;
        position: relative;
        transition: transform 0.3s ease;
    }

    .project-card:active,
    .skill-category:active {
        transform: scale(0.98);
        /* Subtle feedback on tap */
    }

    /* Card Base Style for Vertical Work Items (Experience Section) */
    .workex .work-card {
        min-width: 100%;
        /* Full width */
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
        gap: 12px;
        padding: 25px !important;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #f0f0f0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
        height: auto;
        position: relative;
    }

    /* Card Typography - Header */
    .work-card h3,
    .project-card h3 {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--aggiemaroon);
        margin: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .work-card h3 img,
    .project-card h3 img {
        width: 35px;
        height: 35px;
        object-fit: contain;
    }

    /* Card Typography - Subheader */
    .work-card h4,
    .project-card h4 {
        font-size: 0.95rem;
        color: #555;
        margin: 0;
        font-weight: 500;
        line-height: 1.4;
    }

    /* Highlight the role title */
    .work-card h4 strong {
        color: #222;
        font-size: 1rem;
        display: block;
        margin-bottom: 2px;
    }

    /* List styling */
    .work-card ul,
    .project-card ul {
        padding-left: 18px;
        margin-top: 5px;
    }

    .work-card li,
    .project-card li {
        margin-bottom: 8px;
        font-size: 0.95rem;
        color: #444;
    }

    /* Button Styling */
    .view-more-btn,
    .edu .view-more-btn {
        /* Ensure education button is visible too */
        margin-top: auto !important;
        /* Pushes button to bottom if card has height */
        width: 100%;
        padding: 12px 0;
        border-radius: 8px;
        background: #f8f9fa;
        color: var(--aggiemaroon);
        border: 1px solid rgba(80, 0, 0, 0.1);
        font-weight: 600;
        text-align: center;
        display: block;
    }

    /* Fix Education Section specifically */
    .edu .work-card .course-list ul {
        display: none;
    }

    .edu .work-card.expanded .course-list ul {
        display: block;
        animation: smoothSlideIn 0.3s ease;
    }

    /* Hide scrollbars */
    .project-container::-webkit-scrollbar,
    .skills-grid::-webkit-scrollbar,
    .work-container::-webkit-scrollbar {
        display: none;
    }

    section {
        padding: 40px 5% !important;
    }
}

.cert-details {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #fff;
    text-align: center;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-details h3 {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.3;
    max-height: 100%;
}
