/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f4f4f4;
    --medium-gray: #ddd;
    --dark-gray: #555;
    --white: #fff;
    --success-color: #27ae60;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.nav-menu .resume-link {
    background: var(--secondary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    border-bottom: none;
}

.nav-menu .resume-link:hover {
    background: #2980b9;
    border-bottom: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section - Eric Wadkins Style */
#hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.45), rgba(52, 73, 94, 0.55)), 
                url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(44, 62, 80, 0.3) 100%);
    z-index: 1;
}

.profile-photo-hero {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.hero-profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: var(--transition);
}

.hero-profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

#hero h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

/* About Section - Eric Wadkins Style */
.about-section {
    padding-top: 0;
    background: #e8e8e8;
    position: relative;
    z-index: 10;
}

.about-logos-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(1.1rem, 2.2vw, 2.5rem);
    padding: 1.75rem clamp(1rem, 3vw, 2rem);
    background: #ffffff;
    border-bottom: 4px solid #c62828;
    min-height: 125px;
    overflow-x: clip;
}

.logo-wrapper {
    width: clamp(125px, 10.5vw, 180px);
    height: clamp(72px, 6.2vw, 95px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    min-width: 0;
    padding: clamp(8px, 1vw, 12px);
}

.about-logo-img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.about-logo-img.logo-utd {
    /* UTD mark is circular; give extra safe margin so it never clips */
    max-height: 92%;
    max-width: 92%;
}

.about-logo-img:hover {
    opacity: 0.7;
}

/* No cropping - full logo visible with padding */
.logo-utd, .logo-tuc, .logo-vtu, .logo-deloitte, 
.logo-bmw, .logo-microsoft, .logo-perplexity, .logo-ceris {
    transform: none;
}

.logo-img-square {
    height: clamp(62px, 5.6vw, 82px);
    width: clamp(62px, 5.6vw, 82px);
}

.about-container-main {
    background: #e8e8e8;
    padding: 4rem 2rem;
    margin-top: 0;
    position: relative;
}

.about-content-eric {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

.about-photo {
    position: relative;
    text-align: center;
}

.profile-image-about {
    width: 100%;
    max-width: 280px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
    border: 5px solid #d0d0d0;
    object-fit: cover;
    margin: 0 auto;
    background: #fff;
}

.profile-image-about:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
    border-color: #c0c0c0;
}

.about-social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.about-social-icon {
    width: 55px;
    height: 55px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.about-social-icon:hover {
    background: #555;
    transform: translateY(-2px);
}

.about-social-icon svg {
    width: 28px;
    height: 28px;
}

.profile-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    display: block;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    align-items: start;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

.education-highlights {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 1.5rem;
}

.hpc-achievement {
    margin-top: 1.5rem;
}

.hpc-achievement h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hpc-achievement p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.education-highlights h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.education-highlights ul {
    list-style: disc;
    padding-left: 1.2rem;
    margin: 0;
}

.education-highlights li {
    padding: 0.3rem 0;
    border-bottom: none;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.education-highlights li:last-child {
    border-bottom: none;
}

.associations {
    margin-top: 1rem;
    padding: 0;
    background: transparent;
    border-left: none;
    border-radius: 0;
    font-size: 0.95rem;
    color: #555;
}

.quick-links {
    margin-top: 3rem;
    text-align: center;
}

.quick-links h3 {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 400;
}

.link-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.link-card {
    background: transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: none;
    transition: var(--transition);
    text-align: center;
    border: 2px solid #3498db;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.link-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(52, 152, 219, 0.1);
}

.link-card h4 {
    font-size: 1rem;
    color: #3498db;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.link-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.skill-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card p {
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tags span {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.skills-compact {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.skills-compact-block {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.skills-compact-block h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.skills-compact-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--dark-gray);
    line-height: 1.7;
}

.skills-compact-list li {
    margin-bottom: 0.75rem;
}

.skills-pill-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skills-pill-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.skills-pill-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.skills-pill-label {
    font-weight: 600;
    color: #34495e;
    font-size: 0.95rem;
    padding-top: 0.4rem;
}

.skills-pill-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-pill {
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: #2980b9;
    padding: 0.5rem 0.85rem;
    border-radius: 8px; /* Rectangular round boxes */
    font-weight: 500;
    font-size: 0.92rem;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.05);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.skill-pill:hover {
    border-color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.15);
    color: #1c6ea4;
}

.skills-compact-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skills-compact-badges li {
    border: 1px solid rgba(41, 128, 185, 0.22);
    background: rgba(41, 128, 185, 0.08);
    color: #1f6aa5;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.cert-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #eaeaea;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.cert-provider {
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    background: #f0f4f8;
    color: #57606f;
    flex: 0 0 auto;
    letter-spacing: 0.5px;
}

.cert-name {
    font-weight: 600;
    color: #1f2d3a;
    font-size: 0.95rem;
    line-height: 1.3;
}

.cert-aws .cert-provider { background: rgba(255, 153, 0, 0.12); border-color: rgba(255, 153, 0, 0.22); color: #8a4b00; }
.cert-nvidia .cert-provider { background: rgba(118, 185, 0, 0.14); border-color: rgba(118, 185, 0, 0.22); color: #355600; }
.cert-google .cert-provider { background: rgba(66, 133, 244, 0.12); border-color: rgba(66, 133, 244, 0.22); color: #0d47a1; }
.cert-databricks .cert-provider { background: rgba(255, 54, 54, 0.10); border-color: rgba(255, 54, 54, 0.18); color: #8b1e1e; }
.cert-ibm .cert-provider { background: rgba(0, 125, 197, 0.10); border-color: rgba(0, 125, 197, 0.20); color: #0b4f78; }
.cert-microsoft .cert-provider { background: rgba(0, 120, 215, 0.12); border-color: rgba(0, 120, 215, 0.22); color: #0b4f78; }
.cert-governance .cert-provider { background: rgba(155, 89, 182, 0.12); border-color: rgba(155, 89, 182, 0.22); color: #4a235a; }

/* Experience Section */
.experience-list {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    background: var(--white);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.experience-item:hover {
    transform: translateX(5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title-group {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.company-logo {
    font-size: 3rem;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.company-logo-box {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow: hidden;
}

.company-logo-box:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.company-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.experience-item h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.date {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.company-name {
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
}

.experience-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.experience-item ul {
    list-style-position: outside;
    margin-left: 1.5rem;
}

.experience-item li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Publications Section */
.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

/* Publications + Conferences side-by-side */
.pubconf-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 2rem;
    align-items: start;
}

.pubconf-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pubconf-col {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.pubconf-col .section-title {
    margin-top: 0;
}

.pubconf-title {
    text-align: left;
}

.pubconf-subtitle {
    text-align: left;
}

.pubconf-grid .publications-list {
    max-width: none;
    margin: 0;
}

.pubconf-grid .publication-item {
    background: transparent;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

/* Right column: keep conference card readable in narrower layout */
.pubconf-grid .conference-card {
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.pubconf-grid .conference-photo img {
    height: 210px;
}

/* Conferences Section */
.conference-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.conference-list.conference-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.conference-list.conference-grid .conference-card {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
}

.conference-list.conference-grid .conference-media {
    width: 100%;
}

.conference-list.conference-grid .conference-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.conference-list.conference-grid .conference-photo {
    height: 220px;
}

.conference-list.conference-grid .conference-photo img {
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.conference-list.conference-grid .conference-photo-wide {
    grid-column: 1 / -1;
    height: auto;
}

.conference-list.conference-grid .conference-photo-wide img {
    object-position: top center;
    object-fit: contain;
    height: auto;
    width: 100%;
    max-height: 400px;
}

.conference-list.conference-grid .conference-content {
    flex: 1;
}

.conference-list.conference-grid .conference-card-photos-stacked .conference-media {
    grid-template-columns: 1fr;
}

.conference-list.conference-grid .conference-card-photos-stacked .conference-photo {
    height: 250px;
}

.conference-list.conference-grid .conference-card-photos-stacked .conference-photo img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.poster-img-container img {
    object-fit: cover !important;
    object-position: top center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    background: none !important;
}

.conference-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: stretch;
}

.conference-media {
    background: linear-gradient(135deg, rgba(41, 128, 185, 0.08) 0%, rgba(46, 204, 113, 0.06) 100%);
    padding: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.conference-photo {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f7fa;
    border: 1px solid rgba(0,0,0,0.06);
}

.conference-photo img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.conference-content {
    padding: 18px 20px;
}

.conference-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.conf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(46, 204, 113, 0.12);
    color: #1e7a45;
    border: 1px solid rgba(46, 204, 113, 0.25);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.conf-date {
    font-weight: 600;
    color: #5c6b7a;
    font-size: 0.9rem;
}

.conference-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    color: var(--primary-color);
    line-height: 1.25;
}

.conference-meta {
    margin: 0 0 1rem 0;
    color: #4e5b68;
    line-height: 1.6;
}

.conference-highlight {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.18);
    margin-bottom: 1rem;
}

.conference-highlight-label {
    font-weight: 700;
    color: #1f6aa5;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    align-self: start;
    padding-top: 2px;
}

.conference-paper-title {
    font-weight: 700;
    color: #1f2d3a;
    line-height: 1.35;
}

.conference-affil {
    margin-top: 0.2rem;
    color: #526171;
    font-weight: 600;
    font-size: 0.92rem;
}

.conference-bullets {
    margin: 0 0 1.25rem 1.1rem;
    color: #4e5b68;
    line-height: 1.65;
}

.conference-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 2px solid #2980b9;
    color: #2980b9;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(41, 128, 185, 0.08);
    transform: translateY(-1px);
}

.publication-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.publication-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.authors {
    color: var(--dark-gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.venue {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.venue a {
    color: var(--secondary-color);
    text-decoration: none;
}

.venue a:hover {
    text-decoration: underline;
}

.status {
    background: #f39c12;
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-size: 0.85rem;
    font-style: normal;
}

.status.accepted {
    background: var(--success-color);
}

/* Projects Section - Eric Wadkins Style */
.projects-grid-eric {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-bottom: 3rem;
}

.project-card-eric {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card-eric:hover {
    transform: scale(1.02);
    z-index: 10;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.project-card-eric:hover .project-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.project-overlay h3 {
    color: #f0c14b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-overlay p {
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Project Background Images */
.project-tomato {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c23 50%, #1a3009 100%),
                url('https://images.unsplash.com/photo-1592921870789-04563d55041c?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-rose {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #0d1b2a 100%),
                url('https://images.unsplash.com/photo-1473968512647-3e447244af8f?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-loropetalum {
    background: linear-gradient(135deg, #5c2d5c 0%, #8b4789 50%, #3d1a3d 100%),
                url('https://images.unsplash.com/photo-1530836369250-ef72a3f5cda8?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-sap {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 50%, #082f49 100%),
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-automotive {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #0f172a 100%),
                url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-battery {
    background: linear-gradient(135deg, #065f46 0%, #059669 50%, #022c22 100%),
                url('https://images.unsplash.com/photo-1619641805634-98e5c41f7bf3?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-hyperspectral {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 50%, #431407 100%),
                url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-edge {
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 50%, #111827 100%),
                url('https://images.unsplash.com/photo-1518770660439-4636190af475?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

.project-magnolia {
    background: linear-gradient(135deg, #166534 0%, #22c55e 50%, #14532d 100%),
                url('https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=600&q=80');
    background-size: cover;
    background-blend-mode: overlay;
}

/* Legacy project styles (keep for fallback) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-color), #9b59b6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder {
    font-size: 5rem;
}

.project-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.project-card p {
    padding: 0 1.5rem 1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
}

.project-tags span {
    background: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.github-link {
    text-align: center;
    margin-top: 3rem;
}

.github-link h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.github-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.github-button:hover {
    background: #34495e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 120px;
}

.timeline-marker {
    position: absolute;
    left: 15px;
    top: 0;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--secondary-color);
    padding: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.timeline-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content .date {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h4 {
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Contact Section - Eric Wadkins Style */
.contact-section {
    background: #2d3e50;
    color: var(--white);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.1) 1.5px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-title {
    color: var(--white) !important;
    margin-bottom: 2rem;
}

.contact-info-eric {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-label {
    color: #f39c12;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-value {
    margin: 0;
}

.contact-value a {
    color: #f39c12;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.contact-value a:hover {
    color: #e67e22;
    transform: translateY(-2px);
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.contact-form-eric {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-eric h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 400;
}

.contact-note {
    text-align: center;
    margin: -1rem auto 1.25rem auto;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form-eric input,
.contact-form-eric textarea {
    width: 100%;
    padding: 0.9rem;
    margin-bottom: 1rem;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    transition: var(--transition);
}

.contact-form-eric input::placeholder,
.contact-form-eric textarea::placeholder {
    color: #999;
}

.contact-form-eric input:focus,
.contact-form-eric textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.contact-form-eric textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.submit-button-eric {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: none;
}

.submit-button-eric:hover {
    background: #2980b9;
}

/* Footer */
/* Footer - Eric Wadkins Style */
footer {
    background: #3d5165;
    color: var(--white);
    padding: 2rem 0;
}

.footer-container-eric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-left {
    flex: 1;
}

.copyright-eric {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-center {
    flex: 0;
}

.social-icons-eric {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-icon-eric {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon-eric:hover {
    background: #2980b9;
    transform: translateY(-3px);
}

.social-icon-eric svg {
    width: 20px;
    height: 20px;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-nav-eric {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-nav-eric a {
    color: #f39c12;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-nav-eric a:hover {
    color: #e67e22;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: var(--dark-gray);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    #hero h2 {
        font-size: 1.2rem;
    }

    .hero-logos {
        gap: 1rem;
    }

    .logo-item {
        font-size: 0.9rem;
        padding: 0.3rem 0.6rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skills-pill-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .projects-grid-eric {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .project-card-eric {
        height: 200px;
    }

    .project-overlay h3 {
        font-size: 1.2rem;
    }

    .project-overlay p {
        font-size: 0.9rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content-eric {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .conference-card {
        grid-template-columns: 1fr;
    }

    .conference-photo img {
        height: 260px;
    }

    .pubconf-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .conference-list.conference-grid {
        grid-template-columns: 1fr;
    }

    .about-logos-top {
        gap: 1.2rem;
        padding: 1.1rem 0.5rem;
        min-height: 88px;
        flex-wrap: wrap;
    }
    
    .logo-wrapper {
        width: 100px;
        height: 62px;
        padding: 6px;
    }

    .about-logo-img {
        max-height: 100%;
        max-width: 100%;
    }

    .logo-img-square {
        height: 50px;
        width: 50px;
    }

    .profile-image {
        max-width: 220px;
        margin: 0 auto;
    }

    .profile-image-about {
        max-width: 200px;
        margin: 0 auto;
    }

    .hero-profile-img {
        width: 150px;
        height: 150px;
    }

    .about-text h3 {
        text-align: center;
    }

    .about-text .subtitle {
        text-align: center;
    }

    .about-social-icons {
        justify-content: center;
    }

    .link-grid {
        flex-direction: column;
        align-items: center;
    }

    .link-card {
        width: 100%;
        max-width: 280px;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 11px;
    }

    .link-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2rem;
    }

    #hero h2 {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .company-logo-img {
        height: 100%;
        width: 100%;
    }

    .company-logo-box {
        width: 72px;
        height: 72px;
        padding: 8px;
    }

    .timeline-marker {
        width: 66px;
        height: 66px;
        left: 12px;
        padding: 10px;
    }

    .footer-container-eric {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        text-align: center;
    }

    .footer-nav-eric {
        justify-content: center;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
