* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    line-height: 1.6;
    scroll-behavior: smooth;
    /* background: #FAFAFA; */
    color: #212529;
}

#globalParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    scroll-margin-top: 80px;
    padding: 6rem 0;
}

.section-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(33, 37, 41, 0.07);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

/* ===== LINKS ===== */
a {
    color: #73BA9B;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #C08552;
    opacity: 0.9;
}

/* ===== NAVBAR ===== */
.navbar,
.bg-dark {
    background: #212529 !important;
    color: #fff !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #DAB49D !important;
}

/* ===== HEADINGS ===== */
.section-heading,
h2 {
    color: #212529;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.bg-success,
.bg-primary,
.bg-green {
    background: none !important;
    color: inherit !important;
}

/* ==== NAVBAR ==== */

.custom-navbar {
    background: linear-gradient(120deg, #212529, #181a1b, #0f0f0f);
    transition: box-shadow 0.3s ease;
    padding: 1rem 0;
    z-index: 10;
}

.custom-navbar.scrolled {
    background: rgba(33, 37, 41, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
}

.navbar-brand img {
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.1);
}

.brand-logo {
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter 0.6s ease,
        box-shadow 0.6s ease;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(115, 186, 155, 0);
}

/* Hover: subtle pulse, glow, and intelligent feel */
.brand-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: brightness(1.2);
    box-shadow: 0 0 18px rgba(115, 186, 155, 0.25);
}

/* Breathing animation for the logo (optional idle effect) */
@keyframes breathe {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(115, 186, 155, 0);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 10px rgba(115, 186, 155, 0.15);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(115, 186, 155, 0);
    }
}


.navbar-nav .nav-link {
    text-decoration: none !important;
    color: #DAB49D !important;
    /* or your current nav text color */
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #73BA9B !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.contact-cta {
    border: 1.5px solid #DAB49D;
    border-radius: 12px;
}

.contact-cta:hover {
    color: #212529 !important;
    border-radius: 8px;
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(218, 180, 157, 0.25);
}

.navbar-toggler {
    border: none;
    color: #DAB49D;
    font-size: 1.4rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* ========== HERO SECTION ========== */
.hero-modern {
    position: relative;
    background: linear-gradient(120deg, #212529, #181a1b, #0f0f0f);
    animation: gradientShift 14s ease-in-out infinite;
    background-attachment: fixed;
    color: #DAB49D;
    min-height: 100vh;
    padding: 12vh 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 2%;
    }

    50% {
        background-position: 2% 2%;
    }

    100% {
        background-position: 0% 2%;
    }
}

.hero-modern::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(115, 186, 155, 0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(80px);
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    animation: fadeUp 1.2s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #DAB49D;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    animation: textFade 1.8s ease forwards;
    opacity: 0;
}

@keyframes textFade {
    0% {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-typewriter {
    font-family: 'Raleway', sans-serif;
    font-size: 28px;
    color: #73BA9B;
    letter-spacing: 0.4px;
    margin-bottom: 2rem;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #73BA9B;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: text-top;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

.hero-role {
    font-family: 'Raleway', sans-serif;
    font-size: 24px;
    color: #73BA9B;
    margin-bottom: 2rem;
    letter-spacing: 0.4px;
}

.hero-tagline {
    font-size: 20px;
    color: #C08552;
    margin-bottom: 2rem;
    letter-spacing: 0.4px;
}

.hero-location {
    font-size: 18px;
    color: #cbded6;
    margin-bottom: 2rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 2rem;
}

.hero-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.hero-links a {
    font-size: 1.4rem;
    color: #73BA9B;
    margin: 0 1rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.hero-links a:hover {
    color: #C08552;
    transform: translateY(-3px);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-primary,
.btn-secondary {
    border: 1.5px solid #DAB49D;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #DAB49D;
    background: transparent;
}

.btn-primary:hover,
.btn-secondary:hover {
    background: #73BA9B;
    color: #212529;
    transform: translateY(-3px);
}

.resume-btn {
    background: #73BA9B;
    color: #212529 !important;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.resume-btn:hover {
    background: #DAB49D;
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(115, 186, 155, 0.25);
}

.resume-btn i {
    transition: transform 0.3s ease;
}

.resume-btn:hover i {
    transform: translateX(3px);
}

.hero-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #73BA9B;
    transition: all 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(115, 186, 155, 0.25), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    color: #DAB49D;
    transform: translateY(-4px);
    box-shadow: 0 0 15px rgba(115, 186, 155, 0.25);
}


/* ========== ABOUT SECTION ========== */
.about-modern {
    position: relative;
    background: linear-gradient(180deg, #1f2123 0%, #292c2e 100%);
    color: #DAB49D;
    padding: 6rem 0;
    overflow: hidden;
}

.about-modern::before {
    content: "";
    position: absolute;
    top: -200px;
    left: -150px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(115, 186, 155, 0.12) 0%, transparent 0%);
    z-index: 0;
    filter: blur(100px);
}

.about-inner {
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 3rem;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    color: #73BA9B;
    font-weight: 700;
    letter-spacing: 1px;
}

.about-text p {
    font-family: 'Raleway', sans-serif;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.1rem;
    color: #dab49d;
    margin-bottom: 1.2rem;
}

.about-body {
    font-size: 1rem;
    color: #c9c9c9;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(115, 186, 155, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(115, 186, 155, 0.1);
}

.about-card .icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: #73BA9B;
}

.about-card h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #DAB49D;
}

.about-card p {
    font-size: 0.95rem;
    color: #c1c1c1;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-highlights {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .about-text {
        text-align: center;
    }
}

/* ========== EXPERIENCE SECTION ========== */
.experience-section {
    background: linear-gradient(180deg, #1f2123 0%, #292c2e 100%);
    color: #DAB49D;
    padding: 6rem 0;
}

.experience-section .section-heading {
    color: #73BA9B;
    text-align: center;
    margin-bottom: 1rem;
}

.experience-subtitle {
    text-align: center;
    color: #c1c1c1;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Container */
.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

/* Vertical line (optional) */
.experience-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(115, 186, 155, 0.3), rgba(218, 180, 157, 0.3));
}

/* Individual Experience Card */
.experience-card {
    background: rgba(25, 25, 25, 0.88);
    border: 1px solid rgba(115, 186, 155, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: 3rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.experience-card::before {
    content: "";
    position: absolute;
    left: -3rem;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    background: #73BA9B;
    border-radius: 50%;
    border: 3px solid #1f2123;
}

.experience-card:hover {
    transform: translateX(8px);
    border-color: rgba(115, 186, 155, 0.5);
    box-shadow: 0 0 25px rgba(115, 186, 155, 0.15);
}

/* Header Section */
.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title-group h3 {
    color: #DAB49D;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-title-group h4 {
    color: #73BA9B;
    font-size: 1.1rem;
    font-weight: 500;
}

.experience-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.experience-date {
    color: #DAB49D;
    font-size: 0.95rem;
    font-weight: 600;
}

.experience-location {
    color: #c1c1c1;
    font-size: 0.9rem;
}

/* Highlights List */
.experience-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.experience-highlights li {
    color: #c1c1c1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-highlights li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #73BA9B;
    font-size: 1.2rem;
    line-height: 1.7;
}

.experience-highlights li strong {
    color: #73BA9B;
    font-weight: 600;
}

/* Tags */
.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-tags span {
    background: rgba(115, 186, 155, 0.15);
    color: #73BA9B;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(115, 186, 155, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .experience-timeline::before {
        display: none;
    }

    .experience-card {
        margin-left: 0;
    }

    .experience-card::before {
        display: none;
    }

    .experience-header {
        flex-direction: column;
    }

    .experience-meta {
        text-align: left;
    }
}

/* === MY WORK SECTION === */
.projects-section {
    background: linear-gradient(120deg,
            rgba(14, 14, 14, 0.92),
            rgba(22, 24, 24, 0.92),
            rgba(29, 32, 33, 0.92));
    color: #f8f9fa;
    padding: 6rem 2rem;
    position: relative;
    isolation: isolate;
}

/* Section Title */
.section-heading {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    color: #73ba9b;
    text-transform: uppercase;
    margin-bottom: 3rem;
    font-family: "Montserrat", sans-serif;
    letter-spacing: 1px;
    position: relative;
}

.section-heading::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #73ba9b, #dab49d);
    margin: 0.7rem auto 0;
    border-radius: 3px;
}

/* Subcategory Headings (CV, NLP, RL) */
.subsection-heading {
    color: #dab49d;
    font-size: 1.55rem;
    font-weight: 600;
    margin: 3rem 0 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 3px solid #73ba9b;
    padding-left: 0.75rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Project Card Base */
.project-card {
    background: rgba(25, 25, 25, 0.88);
    border: 1px solid rgba(115, 186, 155, 0.18);
    backdrop-filter: blur(6px);
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    position: relative;
}

/* Hover Interaction */
.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(115, 186, 155, 0.4);
    box-shadow: 0 0 22px rgba(115, 186, 155, 0.18);
}

/* Card Glow Layer */
.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 0%, rgba(115, 186, 155, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}

/* Project Image */
.project-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: radial-gradient(circle at bottom right, #113b30, #0d0d0d);
    padding: 10px;
    border-bottom: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover .project-img {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(115, 186, 155, 0.2);
}

/* Content Section */
.project-content {
    padding: 1.4rem 1.5rem 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #dab49d;
    margin-bottom: 0.55rem;
    font-family: "Montserrat", sans-serif;
}

.project-content p {
    color: #cfcfcf;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

/* Tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.2rem;
}

.project-tags span {
    background: rgba(115, 186, 155, 0.15);
    color: #73ba9b;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.32rem 0.65rem;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(115, 186, 155, 0.2);
    transition: all 0.28s ease;
}

.project-tags span:hover {
    background: #73ba9b;
    color: #0f0f0f;
    box-shadow: 0 0 10px rgba(115, 186, 155, 0.7);
}

/* Demo + Code Link */
.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #73ba9b;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.28s ease;
    margin-top: auto;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

.project-link i {
    margin-right: 6px;
    transition: transform 0.28s ease;
    font-size: 1.05rem;
}

.project-link:hover {
    color: #dab49d;
}

.project-link:hover i {
    transform: translateX(4px);
}

/* Responsive Tweaks */
@media (max-width: 992px) {
    .section-heading {
        font-size: 2rem;
    }

    .subsection-heading {
        font-size: 1.35rem;
    }
}

@media (max-width: 768px) {
    .projects-section {
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== EXPERTISE SECTION ========== */
/* ========== EXPERTISE SECTION ========== */
#expertise {
    background: linear-gradient(120deg, #0e0e0e, #161818, #1d2021);
    padding: 6rem 2rem;
}

#expertise .section-heading {
    color: #73BA9B;
    margin-bottom: 1rem;
    font-family: Montserrat;
    font-size: 48px;
    text-align: center;
}

.expertise-subtitle {
    text-align: center;
    color: #c1c1c1;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Expertise Cards Grid */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.expertise-grid-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Individual Expertise Card */
.expertise-card {
    background: rgba(25, 25, 25, 0.88);
    border: 1px solid rgba(115, 186, 155, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.expertise-card:hover {
    transform: translateY(-8px);
    border-color: rgba(115, 186, 155, 0.5);
    box-shadow: 0 0 25px rgba(115, 186, 155, 0.2);
}

/* Secondary Cards (MLOps & XAI) */
.expertise-card-secondary {
    background: rgba(218, 180, 157, 0.08);
    border: 1px solid rgba(218, 180, 157, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.expertise-card-secondary:hover {
    transform: translateY(-8px);
    border-color: rgba(218, 180, 157, 0.5);
    box-shadow: 0 0 25px rgba(218, 180, 157, 0.2);
}

/* Card Content */
.expertise-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.expertise-icon-small {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.expertise-card h4,
.expertise-card-secondary h4 {
    color: #DAB49D;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.expertise-card-secondary h4 {
    font-size: 1.3rem;
}

.expertise-card p,
.expertise-card-secondary p {
    color: #c1c1c1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.expertise-card p strong,
.expertise-card-secondary p strong {
    color: #73BA9B;
}

.expertise-card-secondary p strong {
    color: #DAB49D;
}

/* Tech Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-tag {
    background: rgba(115, 186, 155, 0.15);
    color: #73BA9B;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(115, 186, 155, 0.3);
}

.tech-tag-secondary {
    background: rgba(218, 180, 157, 0.15);
    color: #DAB49D;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(218, 180, 157, 0.3);
}

/* Tech Stack Banner */
.tech-stack-banner {
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, rgba(115, 186, 155, 0.1), rgba(218, 180, 157, 0.1));
    border-radius: 20px;
    border: 1px solid rgba(115, 186, 155, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Subtle glow effect */
.tech-stack-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(115, 186, 155, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.tech-stack-banner h5 {
    color: #73BA9B;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

/* Consistent underline like other sections */
.tech-stack-banner h5::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #73ba9b, #dab49d);
    margin: 0.7rem auto 0;
    border-radius: 3px;
}

.tech-stack-content {
    text-align: center;
    line-height: 2.6;
    position: relative;
}

.tech-stack-content p {
    color: #d1d1d1;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

/* Hover effect on individual lines */
.tech-stack-content p:hover {
    transform: scale(1.02);
}

.tech-stack-content strong {
    color: #DAB49D;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-block;
    min-width: 90px;
    text-align: right;
    margin-right: 0.5rem;
    letter-spacing: 0.5px;
}

.tech-stack-content span {
    color: #8FCDB0;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Separator dots between technologies */
.tech-stack-content span::before {
    content: " ";
}

/* Make the dots slightly more visible */
.tech-stack-banner {
    backdrop-filter: blur(8px);
}

/* Responsive */
@media (max-width: 768px) {

    .expertise-grid,
    .expertise-grid-secondary {
        grid-template-columns: 1fr;
    }

    #expertise {
        padding: 4rem 1.5rem;
    }

    #expertise .section-heading {
        font-size: 36px;
    }
}

/* ========== CONTACT SECTION ========== */
#contact {
    background: linear-gradient(180deg, #1f2123 0%, #292c2e 100%);
    color: #DAB49D;
    padding: 6rem 2rem;
    text-align: center;
}

#contact .section-heading {
    color: #73BA9B;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: #c1c1c1;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* Contact Cards Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.contact-card {
    background: rgba(25, 25, 25, 0.88);
    border: 1px solid rgba(115, 186, 155, 0.25);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.contact-card:hover {
    transform: translateY(-8px);
    border-color: rgba(115, 186, 155, 0.5);
    box-shadow: 0 0 25px rgba(115, 186, 155, 0.15);
}

.contact-icon {
    font-size: 3rem;
    color: #73BA9B;
    margin-bottom: 1rem;
}

.contact-card h4 {
    color: #DAB49D;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact-link {
    color: #73BA9B;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.contact-link:hover {
    color: #DAB49D;
}

/* Footer */
.contact-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(115, 186, 155, 0.2);
}

.contact-footer p {
    color: #c1c1c1;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.copyright {
    color: #895737;
    font-size: 0.85rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }
}

/* ========== UTILITIES ========== */
.text-uppercase {
    text-transform: uppercase;
}

.text-center {
    text-align: center;
}


/* =========================
   RESPONSIVE DESIGN SYSTEM
   ========================= */

/* --- Base fluid scaling --- */
html {
    font-size: 16px;
}

@media (max-width: 1400px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 13.5px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
}

/* --- Global container & section spacing --- */
section {
    padding: clamp(3rem, 8vh, 6rem) 0;
    scroll-margin-top: 80px;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================
   HERO SECTION RESPONSIVENESS
   ========================= */
.hero-modern {
    padding: 12vh 2rem;
    min-height: 100vh;
}

.hero-inner {
    max-width: 780px;
    margin: 0 auto;
}

.hero-name {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-typewriter,
.hero-role {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.4;
}

.hero-tagline {
    font-size: clamp(0.95rem, 1.6vw, 1.25rem);
}

.hero-location {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    margin-bottom: 1.8rem;
}

/* Buttons & Links */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-primary,
.btn-secondary,
.resume-btn {
    font-size: clamp(0.85rem, 1vw, 1rem);
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
}

/* Social Icons */
.hero-socials {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 1.5rem);
    flex-wrap: wrap;
}

.social-icon {
    width: clamp(38px, 5vw, 45px);
    height: clamp(38px, 5vw, 45px);
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
}

/* =========================
   NAVBAR RESPONSIVENESS
   ========================= */
.custom-navbar {
    padding: 1rem 2rem;
}

@media (max-width: 992px) {
    .custom-navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-nav {
        text-align: center;
        background: rgba(33, 37, 41, 0.97);
        border-radius: 10px;
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        display: block;
    }
}

.navbar-nav .nav-link {
    font-size: clamp(0.85rem, 1vw, 1rem);
    margin: 0 0.8rem;
}

/* =========================
   ABOUT SECTION
   ========================= */
#about {
    padding: clamp(3rem, 8vh, 6rem) 0;
}

.about-card {
    padding: clamp(1rem, 3vw, 2rem);
    margin-bottom: 1.5rem;
}

.about-card p {
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.6;
}

/* ========== EXPERIENCE SECTION ========== */
.experience-section {
    background: linear-gradient(180deg, #1f2123 0%, #292c2e 100%);
    color: #DAB49D;
    padding: 6rem 2rem;
}

.experience-section .section-heading {
    color: #73BA9B;
    text-align: center;
    margin-bottom: 1rem;
}

.experience-subtitle {
    text-align: center;
    color: #c1c1c1;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.experience-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(115, 186, 155, 0.3), rgba(218, 180, 157, 0.3));
}

.experience-card {
    background: rgba(25, 25, 25, 0.88);
    border: 1px solid rgba(115, 186, 155, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    margin-left: 3rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.experience-card::before {
    content: "";
    position: absolute;
    left: -3rem;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    background: #73BA9B;
    border-radius: 50%;
    border: 3px solid #1f2123;
    z-index: 2;
}

.experience-card:hover {
    transform: translateX(8px);
    border-color: rgba(115, 186, 155, 0.5);
    box-shadow: 0 0 25px rgba(115, 186, 155, 0.15);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.experience-title-group h3 {
    color: #DAB49D;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.experience-title-group h4 {
    color: #73BA9B;
    font-size: 1.1rem;
    font-weight: 500;
}

.experience-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.experience-date {
    color: #DAB49D;
    font-size: 0.95rem;
    font-weight: 600;
}

.experience-location {
    color: #c1c1c1;
    font-size: 0.9rem;
}

.experience-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.experience-highlights li {
    color: #c1c1c1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.experience-highlights li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #73BA9B;
    font-size: 1.2rem;
    line-height: 1.7;
}

.experience-highlights li strong {
    color: #73BA9B;
    font-weight: 600;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-tags span {
    background: rgba(115, 186, 155, 0.15);
    color: #73BA9B;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid rgba(115, 186, 155, 0.3);
}

/* ========== PUBLICATIONS SECTION ========== */
.publications-section {
    background: linear-gradient(120deg, #0e0e0e, #161818, #1d2021);
    padding: 6rem 2rem;
}

.publications-section .section-heading {
    color: #73BA9B;
    text-align: center;
    margin-bottom: 4rem;
}

.publication-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(25, 25, 25, 0.88);
    border: 1px solid rgba(115, 186, 155, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    display: flex;
    gap: 2rem;
}

.publication-card:hover {
    transform: translateY(-8px);
    border-color: rgba(115, 186, 155, 0.5);
    box-shadow: 0 0 25px rgba(115, 186, 155, 0.15);
}

.publication-icon {
    font-size: 4rem;
    flex-shrink: 0;
    color: #73BA9B;
}

.publication-content {
    flex: 1;
}

.publication-content h3 {
    color: #DAB49D;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.publication-venue {
    color: #73BA9B;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.publication-date {
    color: #c1c1c1;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
}

.publication-abstract {
    color: #c1c1c1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.publication-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #73BA9B;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(115, 186, 155, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.publication-link:hover {
    background: rgba(115, 186, 155, 0.1);
    border-color: rgba(115, 186, 155, 0.5);
    color: #DAB49D;
}

.publication-link i {
    transition: transform 0.3s ease;
}

.publication-link:hover i {
    transform: translateX(3px);
}

/* ========== RESPONSIVE FOR NEW SECTIONS ========== */
@media (max-width: 768px) {
    .experience-timeline::before {
        display: none;
    }

    .experience-card {
        margin-left: 0;
    }

    .experience-card::before {
        display: none;
    }

    .experience-header {
        flex-direction: column;
    }

    .experience-meta {
        text-align: left;
    }

    .publication-card {
        flex-direction: column;
        text-align: center;
    }

}

/* =========================
   PORTFOLIO SECTION
   ========================= */
#portfolio {
    padding: clamp(3rem, 8vh, 6rem) 0;
}

.portfolio-caption h4 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.portfolio-caption p {
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
}

/* =========================
   EXPERTISE SECTION
   ========================= */
#expertise {
    padding: clamp(3rem, 8vh, 6rem) 0;
}

#expertise h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
}

#expertise img {
    max-width: 80px;
}

@media (max-width: 576px) {
    #expertise img {
        max-width: 60px;
    }
}

/* =========================
   CONTACT SECTION
   ========================= */
#contact {
    padding: clamp(3rem, 8vh, 6rem) 0;
    text-align: center;
}

#contact h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
}

#contact h3 {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.6;
}

#contact .socials a {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    margin: 0 0.5rem;
}

#contact p {
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
}

/* =========================
    RESPONSIVE FIXES
   ========================= */

@media (max-width: 768px) {

    .hero-modern {
        padding: 8vh 1.5rem;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .publication-card {
        flex-direction: column;
        text-align: center;
    }
    
    .publication-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {

    .hero-name {
        font-size: 1.9rem;
    }

    .hero-typewriter {
        font-size: 1rem;
    }

    .hero-tagline {
        font-size: 0.9rem;
    }
}