@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --gradient-1: linear-gradient(135deg, #1a1f3c 0%, #2d3763 100%);
    --gradient-2: linear-gradient(45deg, #2b2d42 0%, #1a1f3c 100%);
    --gradient-3: linear-gradient(to right, #141e30, #243b55);
    --accent-gradient: linear-gradient(45deg, #4a90e2, #67b26f);
    --text-primary: #e9ecef;
    --text-secondary: #adb5bd;
    --card-bg: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background: var(--gradient-1);
    color: var(--text-primary);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* Navbar Styles */
.navbar {
    background: rgba(26, 31, 60, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand h3 {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    color: var(--text-primary) !important;
    position: relative;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4a90e2, #67b26f);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 70%;
}

/* Home Section */
.home-section {
    background:
        radial-gradient(circle at top left, rgba(103, 178, 111, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(74, 144, 226, 0.22), transparent 36%),
        var(--gradient-2);
    position: relative;
    overflow: visible;
    padding: 0;
}

.home-scroll-scene {
    --home-progress: 0;
    --blob-one-x: -12px;
    --blob-one-y: 8px;
    --blob-two-x: 20px;
    --blob-two-y: -10px;
    --blob-three-x: 6px;
    --blob-three-y: 20px;
    --blob-one-opacity: 0.74;
    --blob-two-opacity: 0.52;
    --blob-three-opacity: 0.36;
    --backdrop-opacity: 0.45;
    min-height: 260vh;
    isolation: isolate;
}

.home-scene-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(74, 144, 226, 0.26), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(103, 178, 111, 0.18), transparent 22%),
        radial-gradient(circle at 50% 82%, rgba(255, 255, 255, 0.08), transparent 38%);
    opacity: calc(0.35 + var(--backdrop-opacity));
    transform: scale(calc(1 + var(--home-progress) * 0.06));
    transform-origin: center;
    pointer-events: none;
    z-index: 0;
}

.home-scroll-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 6rem 0 3rem;
    z-index: 1;
}

.home-stage {
    min-height: calc(100vh - 9rem);
    min-height: calc(100svh - 9rem);
}

.home-intro {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #8cd6a8;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.home-lead {
    margin: 1.25rem 0 0;
    max-width: 38rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(233, 236, 239, 0.8);
}

.home-copy-stack {
    position: relative;
    display: grid;
    align-items: start;
    margin-top: 1.75rem;
}

.home-copy-step {
    position: relative;
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.home-copy-step.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.home-copy-label {
    display: inline-block;
    margin-bottom: 1rem;
    color: #8fbdf0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-intro h1,
.home-intro h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1.1rem;
    line-height: 1.08;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-copy-step p {
    max-width: 34rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.home-step-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.home-step-indicator {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 236, 239, 0.72);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.home-step-indicator.is-active {
    color: #ffffff;
    background: rgba(74, 144, 226, 0.18);
    border-color: rgba(74, 144, 226, 0.32);
    box-shadow: 0 8px 18px rgba(74, 144, 226, 0.18);
}

.home-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.home-scroll-hint {
    margin: 1.75rem 0 0;
    color: rgba(233, 236, 239, 0.58);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-image {
    position: relative;
    z-index: 2;
}

.home-image-stage {
    position: relative;
    width: min(100%, 540px);
    min-height: 560px;
    margin-inline: auto;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.home-image-blob {
    position: absolute;
    width: clamp(280px, 33vw, 430px);
    height: clamp(330px, 39vw, 500px);
    border-radius: 39% 61% 55% 45% / 44% 38% 62% 56%;
    filter: blur(18px);
    transform-origin: center;
    will-change: transform, opacity;
    pointer-events: none;
}

.home-image-blob.blob-one {
    z-index: 0;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.32), transparent 28%),
        radial-gradient(circle at 74% 30%, rgba(103, 178, 111, 0.26), transparent 34%),
        linear-gradient(145deg, rgba(74, 144, 226, 0.86), rgba(102, 165, 255, 0.48));
    opacity: var(--blob-one-opacity);
    transform: translate3d(var(--blob-one-x), var(--blob-one-y), 0);
    animation: homeBlobFloat 13s ease-in-out infinite alternate;
    box-shadow: 0 24px 80px rgba(74, 144, 226, 0.22);
}

.home-image-blob.blob-two {
    z-index: 0;
    width: clamp(250px, 30vw, 390px);
    height: clamp(300px, 35vw, 450px);
    background:
        radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.22), transparent 30%),
        linear-gradient(160deg, rgba(103, 178, 111, 0.62), rgba(74, 144, 226, 0.28));
    opacity: var(--blob-two-opacity);
    transform: translate3d(var(--blob-two-x), var(--blob-two-y), 0);
    animation: homeBlobFloatAlt 11s ease-in-out infinite alternate;
    box-shadow: 0 20px 64px rgba(103, 178, 111, 0.18);
}

.home-image-blob.blob-three {
    z-index: 0;
    width: clamp(240px, 28vw, 360px);
    height: clamp(280px, 33vw, 420px);
    background:
        radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.24), transparent 26%),
        linear-gradient(155deg, rgba(128, 196, 255, 0.42), rgba(103, 178, 111, 0.22));
    opacity: var(--blob-three-opacity);
    transform: translate3d(var(--blob-three-x), var(--blob-three-y), 0);
    animation: homeBlobFloatSoft 15s ease-in-out infinite alternate;
}

.home-portrait {
    position: relative;
    z-index: 2;
    width: min(78%, 390px);
    max-width: 390px;
    display: block;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24);
    margin-top: 0;
}

.home-image img:hover {
    transform: none;
    width: min(78%, 390px);
}

.home-image-badges {
    position: absolute;
    left: 50%;
    bottom: 1.25rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: min(100%, 490px);
    transform: translateX(-50%);
}

.home-image-badges span {
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(11, 11, 12, 0.44);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 236, 239, 0.84);
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    backdrop-filter: blur(10px);
}

@keyframes homeBlobFloat {
    0% {
        border-radius: 39% 61% 55% 45% / 44% 38% 62% 56%;
    }
    50% {
        border-radius: 48% 52% 37% 63% / 45% 58% 42% 55%;
    }
    100% {
        border-radius: 57% 43% 59% 41% / 38% 41% 59% 62%;
    }
}

@keyframes homeBlobFloatAlt {
    0% {
        border-radius: 48% 52% 37% 63% / 45% 58% 42% 55%;
    }
    50% {
        border-radius: 40% 60% 56% 44% / 38% 44% 56% 62%;
    }
    100% {
        border-radius: 58% 42% 49% 51% / 52% 36% 64% 48%;
    }
}

@keyframes homeBlobFloatSoft {
    0% {
        border-radius: 54% 46% 57% 43% / 44% 56% 44% 56%;
    }
    50% {
        border-radius: 45% 55% 42% 58% / 58% 38% 62% 42%;
    }
    100% {
        border-radius: 61% 39% 48% 52% / 40% 53% 47% 60%;
    }
}
/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 144, 226, 0.3);
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
}

.card-text {
    color: var(--text-secondary);
    text-align: justify;
}

.card-text strong {
    color: var(--text-primary);
}

.card-text a {
    color: #4a90e2;
    text-decoration: none;
    transition: var(--transition);
}

.card-text a:hover {
    color: #67b26f;
}
.projects-section {
    background: var(--gradient-2);
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.skills-section {
    background: var(--gradient-3);
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.projects-section .row {
    margin-bottom: 2rem;
}

/* Rest of the styles remain the same */

/* Update card hover transition */
.card {
    transition: all 0.3s ease-in-out;
}

.card:hover {
    transition: all 0.3s ease-in-out;
}

/* Add margin to the bottom of the projects section */
.projects-section .container {
    margin-bottom: 3rem;
}

/* Ensure proper spacing between sections */
section {
    position: relative;
    z-index: 1;
}

/* Buttons */
.colored-btn {
    background: var(--accent-gradient);
    color: white;
    border-radius: 30px;
    padding: 0.8rem 2rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.colored-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    color: white;
}

.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.outline-btn:hover {
    color: white;
    transform: translateY(-2px);
    border-color: rgba(74, 144, 226, 0.38);
    box-shadow: 0 5px 18px rgba(74, 144, 226, 0.16);
}

/* Sections */
.section-title {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gradient);
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 3rem;
}

.section-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #9fd4ff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.section-subtitle {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(233, 236, 239, 0.72);
    font-size: 1.06rem;
    line-height: 1.85;
}

.about-section,
.education-section {
    position: relative;
    overflow: hidden;
}

.about-section {
    background:
        radial-gradient(circle at 15% 18%, rgba(74, 144, 226, 0.12), transparent 24%),
        radial-gradient(circle at 82% 22%, rgba(103, 178, 111, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.education-section {
    background:
        radial-gradient(circle at 18% 14%, rgba(103, 178, 111, 0.08), transparent 22%),
        radial-gradient(circle at 80% 24%, rgba(74, 144, 226, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.03));
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
}

.about-story-card,
.about-highlight-card,
.education-main-card,
.education-support-card {
    position: relative;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-story-card:hover,
.about-highlight-card:hover,
.education-main-card:hover,
.education-support-card:hover {
    transform: translateY(-8px);
    border-color: rgba(74, 144, 226, 0.24);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.22);
}

.about-story-card {
    padding: 2.2rem;
    overflow: hidden;
}

.about-story-card::before,
.education-main-card::before {
    content: '';
    position: absolute;
    inset: auto auto 0 -10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.18), transparent 70%);
    pointer-events: none;
}

.about-card-eyebrow,
.education-overline {
    display: inline-block;
    margin-bottom: 1rem;
    color: #8cd6a8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-story-card h3,
.education-copy h3 {
    margin-bottom: 1.1rem;
    color: var(--text-primary);
    font-size: clamp(1.8rem, 2.6vw, 2.5rem);
    line-height: 1.2;
}

.about-story-card p,
.education-copy p {
    color: rgba(233, 236, 239, 0.74);
    font-size: 1.02rem;
    line-height: 1.9;
}

.about-quote {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    margin-top: 1.7rem;
    padding: 1.1rem 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(233, 236, 239, 0.86);
}

.about-quote i {
    color: #9fd4ff;
    margin-top: 0.2rem;
}

.about-highlight-grid,
.education-meta,
.education-support-grid {
    display: grid;
    gap: 1.1rem;
}

.about-highlight-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem;
}

.about-highlight-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.22), rgba(103, 178, 111, 0.14));
    color: #9fd4ff;
    font-size: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-highlight-card h4,
.education-support-card h4 {
    margin-bottom: 0.45rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
}

.about-highlight-card p,
.education-support-card p,
.education-impact-list li {
    margin: 0;
    color: rgba(233, 236, 239, 0.72);
    line-height: 1.8;
}

.about-capabilities,
.education-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.about-capabilities {
    margin-top: 1.75rem;
}

.about-capabilities span,
.education-tag-list span,
.education-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(233, 236, 239, 0.84);
    font-size: 0.9rem;
}

.education-layout {
    display: grid;
    gap: 1.4rem;
}

.education-main-card {
    padding: 2rem;
    overflow: hidden;
}

.education-card-glow {
    position: absolute;
    inset: -20% -10% auto auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 178, 111, 0.16), transparent 68%);
    pointer-events: none;
}

.education-badge-pill {
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-bottom: 1.4rem;
    color: #ffffff;
}

.education-main-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.25rem;
    align-items: start;
}

.education-meta-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.education-meta-label {
    display: block;
    margin-bottom: 0.45rem;
    color: #9fd4ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.education-meta-card strong {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.5;
}

.education-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.education-support-card {
    padding: 1.5rem;
}

.education-impact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.8rem;
}

.education-impact-list li {
    position: relative;
    padding-left: 1.25rem;
}

.education-impact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, #4a90e2, #67b26f);
}

@media (max-width: 991px) {
    .about-grid,
    .education-main-grid,
    .education-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-heading {
        margin-bottom: 2.3rem;
    }

    .section-subtitle,
    .about-story-card p,
    .education-copy p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .about-story-card,
    .about-highlight-card,
    .education-main-card,
    .education-support-card {
        padding: 1.45rem;
        border-radius: 22px;
    }

    .about-highlight-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-highlight-icon {
        margin-inline: auto;
    }
}

/* ============================================
   Achievements Section - Pure CSS Carousel
   ============================================ */

.achievements-section {
    background: var(--gradient-2);
    padding: 5rem 0;
}

/* Carousel Wrapper */
.achievements-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Carousel Container */
.achievements-carousel-container {
    flex: 1;
    overflow: hidden;
}

/* Carousel Container with Scroll Snap */
.achievements-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem 2rem;
    
    /* Hide scrollbar for cleaner look */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.achievements-carousel::-webkit-scrollbar {
    display: none;
}

/* Carousel Navigation Buttons */
.carousel-nav-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.95) 0%, rgba(103, 178, 111, 0.95) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.carousel-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.6);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

.carousel-nav-btn svg {
    width: 22px;
    height: 22px;
    color: white;
}

/* Achievement Card - Fixed Dimensions */
.achievement-card {
    flex: 0 0 320px;
    height: 420px;
    scroll-snap-align: start;
    background: linear-gradient(145deg, rgba(48, 51, 74, 0.95) 0%, rgba(45, 55, 99, 0.9) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.achievement-card:hover {
    transform: translateY(-8px);
    border-color: rgba(74, 144, 226, 0.4);
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.2);
}

/* Card Image - Fixed Height */
.achievement-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1f3c 0%, #2d3763 100%);
}

.achievement-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(48, 51, 74, 1) 0%, transparent 100%);
    pointer-events: none;
}

.achievement-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.achievement-card:hover .achievement-card-image img {
    transform: scale(1.08);
}

/* Card Content - Fixed Height with Overflow */
.achievement-card-content {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

/* Achievement Title */
.achievement-title {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Achievement Subtitle */
.achievement-subtitle {
    color: #67b26f;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Achievement Description */
.achievement-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

/* Responsive Styles for Achievements Carousel */
@media (max-width: 1200px) {
    .achievement-card {
        flex: 0 0 300px;
        height: 400px;
    }
    
    .achievement-card-image {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .achievement-card {
        flex: 0 0 280px;
        height: 380px;
    }
    
    .achievement-card-image {
        height: 150px;
    }
    
    .achievement-card-content {
        padding: 1rem 1.25rem;
    }
    
    .achievement-title {
        font-size: 1rem;
    }
    
    .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .carousel-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .achievements-section {
        padding: 3rem 0;
    }
    
    .achievements-carousel-wrapper {
        gap: 0.75rem;
    }
    
    .achievements-carousel {
        gap: 1rem;
        padding: 0.5rem 0.25rem 1.5rem;
    }
    
    .achievement-card {
        flex: 0 0 260px;
        height: 360px;
    }
    
    .achievement-card-image {
        height: 140px;
    }
    
    .achievement-card-content {
        padding: 1rem;
    }
    
    .achievement-title {
        font-size: 0.95rem;
    }
    
    .achievement-subtitle {
        font-size: 0.8rem;
    }
    
    .achievement-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }
    
    .carousel-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .achievements-section {
        padding: 2.5rem 0;
    }
    
    .achievements-carousel-wrapper {
        gap: 0.5rem;
    }
    
    .achievements-carousel {
        gap: 0.75rem;
        padding: 0.25rem 0.25rem 1rem;
    }
    
    .achievement-card {
        flex: 0 0 240px;
        height: 340px;
    }
    
    .achievement-card-image {
        height: 120px;
    }
    
    .achievement-card-content {
        padding: 0.85rem;
    }
    
    .achievement-title {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .achievement-subtitle {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .achievement-description {
        font-size: 0.8rem;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }
    
    .carousel-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-nav-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Extra small devices */
@media (max-width: 400px) {
    .achievement-card {
        flex: 0 0 220px;
        height: 320px;
    }
    
    .achievement-card-image {
        height: 110px;
    }
    
    .achievement-card-content {
        padding: 0.75rem;
    }
    
    .achievement-title {
        font-size: 0.85rem;
    }
    
    .achievement-subtitle {
        font-size: 0.7rem;
    }
    
    .achievement-description {
        font-size: 0.75rem;
    }
    
    .carousel-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .carousel-nav-btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Publications Section */
.publications-section {
    background: var(--gradient-3);
}

.publications-section ul li {
    color: var(--text-secondary);
}

.publications-section strong {
    color: var(--text-primary);
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 24%, rgba(74, 144, 226, 0.12), transparent 24%),
        radial-gradient(circle at 82% 28%, rgba(103, 178, 111, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.contact-showcase {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.contact-showcase::before {
    content: '';
    position: absolute;
    inset: auto auto -110px -110px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.18), transparent 70%);
    pointer-events: none;
}

.contact-showcase-copy,
.contact-details-list {
    position: relative;
    z-index: 1;
}

.contact-showcase-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    margin-bottom: 1.1rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #8cd6a8;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-status i {
    font-size: 0.62rem;
}

.contact-showcase-copy h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: clamp(1.9rem, 2.8vw, 2.7rem);
    line-height: 1.2;
}

.contact-showcase-copy p {
    margin: 0;
    color: rgba(233, 236, 239, 0.74);
    font-size: 1.04rem;
    line-height: 1.9;
}

.contact-primary-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.8rem;
}

.contact-details-list {
    display: grid;
    gap: 0.9rem;
    align-content: center;
}

.contact-line {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    text-decoration: none;
    transition: var(--transition);
}

.contact-line:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 144, 226, 0.26);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.contact-line-label {
    color: #9fd4ff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-line strong {
    color: rgba(233, 236, 239, 0.92);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .contact-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-showcase {
        padding: 1.45rem;
        border-radius: 22px;
    }

    .contact-showcase-copy p,
    .contact-line strong {
        font-size: 0.98rem;
    }
}

/* Footer */
.footer-section {
    background: var(--gradient-3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h5 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: var(--text-secondary);
}

.footer-section .list-unstyled a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section .list-unstyled a:hover {
    color: #4a90e2 !important;
    padding-left: 5px;
}

.social-links a {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: #4a90e2 !important;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .home-intro h1,
    .home-intro h2 {
        font-size: 2.5rem;
    }

    .home-section {
        padding: 0;
    }

    .home-scroll-scene {
        min-height: 220vh;
    }

    .home-scroll-pin {
        height: auto;
        padding: 5.75rem 0 2.5rem;
    }

    .home-stage {
        min-height: auto;
    }

    .home-copy-stack {
        min-height: 0;
    }

    .home-lead,
    .home-copy-step p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .home-image-stage {
        min-height: 430px;
    }

    .home-portrait {
        width: min(82%, 330px);
    }

    .home-image-badges {
        position: relative;
        inset: auto;
        margin: 1.25rem auto 0;
        transform: none;
    }

    .home-step-indicators,
    .home-cta-group {
        justify-content: center;
    }

    .home-scroll-hint {
        text-align: center;
    }

    .card-img-top {
        height: 180px;
    }

    .card {
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-scroll-scene {
        min-height: auto;
    }

    .home-scroll-pin {
        position: relative;
        height: auto;
    }

    .home-copy-stack {
        display: block;
        min-height: auto;
    }

    .home-copy-step {
        position: relative;
        grid-area: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-bottom: 1.5rem;
        pointer-events: auto;
    }

    .home-image-blob,
    .home-portrait {
        animation: none;
        transform: none;
        transition: none;
    }
}

/* GIF Optimization Styles for smooth playback */
.card-img-top {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Smooth GIF rendering */
gif-image, 
.card-img-top[src$=".gif"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
}

/* ============================================
   Professional Project Card Styling
   ============================================ */

/* Project Card Container */
.project-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.2);
}

/* Project Card Image */
.project-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Card Content */
.project-card-content {
    padding: 1.5rem;
    background: #30334A;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-content.full-height {
    min-height: 280px;
}

/* Project Title */
.project-title {
    color: #e9ecef;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* Project Summary */
.project-summary {
    color: #adb5bd;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Project Highlights - Badge Style */
.project-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.highlight-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, #e8f4fd 0%, #d6e9f8 100%);
    color: #2b6cb0;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    border: 1px solid rgba(43, 108, 176, 0.15);
}

.highlight-badge.success {
    background: linear-gradient(135deg, #e6f7ed 0%, #d4f0e0 100%);
    color: #22863a;
    border-color: rgba(34, 134, 58, 0.15);
}

/* Project List Styling */
.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.project-list li {
    position: relative;
    padding: 0.75rem 0 0.75rem 1.5rem;
    color: #bdcede;
    font-size: 0.9rem;
    line-height: 1.5;
    border-bottom: 1px solid #e9ecef;
}

.project-list li:last-child {
    border-bottom: none;
}

.project-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #4a90e2 0%, #67b26f 100%);
    border-radius: 50%;
}

.project-list li strong {
    color: #e9ecef;
    font-weight: 600;
}

/* ============================================
   Project Modal Styling
   ============================================ */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.project-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 31, 60, 0.85);
    backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: #495057;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-close:hover {
    background: #ffffff;
    color: #1a1f3c;
}

.modal-header {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 250px);
}

.modal-title {
    color: #1a1f3c;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.modal-description {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.7;
}

.modal-description p {
    margin-bottom: 1rem;
}

.modal-description ul {
    padding-left: 0;
    margin: 1rem 0;
    list-style: none;
}

.modal-description ul li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    color: #495057;
    line-height: 1.6;
    border-bottom: 1px solid #f1f3f5;
}

.modal-description ul li:last-child {
    border-bottom: none;
}

.modal-description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #4a90e2 0%, #67b26f 100%);
    border-radius: 50%;
}

.modal-description ul li strong {
    color: #1a1f3c;
    font-weight: 600;
}

.modal-description a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
}

.modal-description a:hover {
    text-decoration: underline;
}

.modal-highlight {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: linear-gradient(135deg, #e6f7ed 0%, #d4f0e0 100%);
    color: #22863a;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    margin: 0.5rem 0.5rem 0.5rem 0;
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 992px) {
    .project-card-image {
        height: 180px;
    }
    
    .modal-header {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .project-card-image {
        height: 160px;
    }
    
    .project-card-content {
        padding: 1.25rem;
    }
    
    .project-title {
        font-size: 1.05rem;
    }
    
    .modal-container {
        max-height: 85vh;
        border-radius: 16px;
    }
    
    .modal-header {
        height: 180px;
    }
    
    .modal-body {
        padding: 1.5rem;
        max-height: calc(85vh - 180px);
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .project-card-image {
        height: 140px;
    }
    
    .project-card-content {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .project-summary {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }
    
    .highlight-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .project-list li {
        padding: 0.6rem 0 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .modal-container {
        max-height: 90vh;
        border-radius: 12px;
        margin: 0.5rem;
    }
    
    .modal-header {
        height: 160px;
    }
    
    .modal-body {
        padding: 1.25rem;
        max-height: calc(90vh - 160px);
    }
    
    .modal-title {
        font-size: 1.1rem;
        padding-bottom: 0.75rem;
    }
    
    .modal-description {
        font-size: 0.9rem;
    }
}

/* Education Section Styles */
.education-badge-container {
    padding: 40px 0;
}

.iub-alumni-badge {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 40px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.iub-alumni-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.badge-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.iub-alumni-badge h4 {
    margin-bottom: 10px;
    font-size: 1.5em;
}

.iub-alumni-badge p {
    margin-bottom: 5px;
    opacity: 0.95;
}

.badge-subtitle {
    font-size: 0.9em;
    opacity: 0.85;
    margin-top: 10px !important;
}

/* Skills Section Styles */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: var(--transition);
    height: 100%;
}

.skill-category:hover {
    transform: translateY(-10px);
    border-color: rgba(74, 144, 226, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.skill-category-header i {
    font-size: 1.8rem;
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.skill-category-title {
    color: var(--text-primary);
    margin-bottom: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.skill-tag:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    transform: scale(1.05);
}

/* Experience Section Styles */
.experience-timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
    padding-left: 50px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(74, 144, 226, 0.3);
}

.experience-item {
    position: relative;
    margin-bottom: 50px;
}

.experience-dot {
    position: absolute;
    left: -37px;
    top: 10px;
    width: 16px;
    height: 16px;
    background: #4a90e2;
    border: 4px solid var(--gradient-1);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

.experience-date {
    font-weight: 600;
    color: #67b26f;
    margin-bottom: 15px;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.experience-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: var(--transition);
}

.experience-card:hover {
    border-color: rgba(103, 178, 111, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.experience-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.experience-header i {
    font-size: 1.5rem;
    color: #4a90e2;
    padding-top: 5px;
}

.experience-title-group h4 {
    margin-bottom: 5px;
    color: var(--text-primary);
    font-weight: 600;
}

.experience-title-group h5 {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.1rem;
}

.experience-details {
    list-style: none;
    padding-left: 0;
}

.experience-details li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #4a90e2;
}

@media (max-width: 768px) {
    .experience-timeline {
        padding-left: 30px;
    }
    .experience-timeline::before {
        left: 10px;
    }
    .experience-dot {
        left: -27px;
    }
}

/* Publications Section Styles */
.publications-list {
    margin-top: 40px;
}

.publication-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 4px solid #4a90e2;
}

.publication-item.accepted {
    border-left-color: #67b26f;
}

.publication-badge {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85em;
    margin-bottom: 15px;
}

.publication-item.accepted .publication-badge {
    background: #67b26f;
}

.publication-title {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.publication-authors {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 8px;
}

.publication-venue {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.publication-link {
    color: #4a90e2;
    text-decoration: none;
    font-size: 0.9em;
}

.publication-link:hover {
    text-decoration: underline;
}

/* Contact Section Styles */
.contact-links p {
    margin-bottom: 10px;
}

.contact-links a {
    color: #4a90e2;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-links a:hover {
    color: #67b26f;
}

/* Footer Social Links */
.social-links a {
    color: var(--text-primary) !important;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #4a90e2 !important;
    transform: translateY(-2px);
}
