@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Grotesk:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

:root {
    --bg-color: #1C1A19;
    --second-bg-color: #2D2D2D;
    --primary: #FF6B00;
    --secondary: #E05900;
    --text-color: #FFFFFF;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

section {
    min-height: 100dvh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
}

span {
    color: var(--primary);
}

.navbar a {
    position: relative;
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
    color: var(--primary);
}

.navbar a:hover::after,
.navbar a.active::after {
    width: 100%;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-icon.active {
    transform: rotate(180deg);
}

.home {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.home-img img {
    width: min(32vw, 450px);
}

.home-content p {
    font-size: 1.6rem;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--primary);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary);
    margin: 3rem 1.3rem 3rem 0;
    transition: .5s ease;
}

.social-media a:hover {
    background: var(--primary);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--primary);
}

.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--primary);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--primary);
    font-size: 1.6rem;
    /* color: var(--second-bg-color); */
    color: var(--bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.btn:hover {
    box-shadow: none;
}

.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img img {
    width: 32vw;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 0;
}

/* ================================================
   STATS STRIP
   ================================================ */

.stats-strip {
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    padding: 5rem 9%;
    position: relative;
}

.stats-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: .15rem;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stats-strip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: .15rem;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stat-item {
    flex: 1 1 20rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: 2.5rem 2rem;
    position: relative;
    cursor: default;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-plus {
    color: var(--primary);
    text-shadow: 0 0 2rem rgba(255, 107, 0, 0.5);
}

.stat-number {
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.stat-plus {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-left: .2rem;
    display: inline-block;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* number and plus on same row */
.stat-item>span:nth-child(1),
.stat-item>span:nth-child(2) {
    display: inline;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num-row {
    display: flex;
    align-items: baseline;
    gap: .1rem;
}

.stat-label {
    font-size: 1.55rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06rem;
    text-transform: uppercase;
    text-align: center;
    margin-top: .4rem;
}

.stat-divider {
    width: .15rem;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, rgba(255, 107, 0, 0.4), transparent);
    flex-shrink: 0;
    align-self: center;
}

/* ---- Stats Responsive ---- */
@media (max-width: 768px) {
    .stats-strip {
        padding: 4rem 5%;
    }

    /* 2 stats per row on mobile */
    .stat-item {
        flex: 1 1 calc(50% - 2rem);
        padding: 2.5rem 1rem;
    }

    /* hide vertical dividers, add border instead */
    .stat-divider {
        display: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(3) {
        border-right: .15rem solid rgba(255, 107, 0, 0.2);
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-bottom: .15rem solid rgba(255, 107, 0, 0.2);
    }

    .stat-number {
        font-size: 4.5rem;
    }

    .stat-plus {
        font-size: 3rem;
    }

    .stat-label {
        font-size: 1.3rem;
    }
}

@media (max-width: 365px) {
    .stat-item {
        flex: 1 1 calc(50% - 1rem);
        padding: 2rem .8rem;
    }

    .stat-number {
        font-size: 3.8rem;
    }

    .stat-plus {
        font-size: 2.6rem;
    }
}

/* ================================================
   MAIN MEDIA QUERIES
   ================================================ */

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .projects-container .projects-box:last-child {
        grid-column: 1 / -1;
        max-width: 52rem;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .services {
        padding-bottom: 7rem;
    }

    .projects {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }

    .experience {
        padding: 10rem 3% 6rem;
    }

    .exp-card {
        padding: 3rem 2.5rem 2.5rem;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1C1A19;
        padding: 1rem 2.3rem;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .navbar.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    section {
        padding: 8rem 5% 2rem;
    }

    /* Home */
    .home {
        flex-direction: column;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: clamp(3rem, 6vw, 5.6rem);
    }

    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    /* About */
    .about {
        flex-direction: column-reverse;
    }

    .about img {
        width: 70vw;
        margin-top: 4rem;
    }

    .about-content p {
        font-size: 1.6rem;
    }

    /* Services */
    .services h2 {
        margin-bottom: 3rem;
    }

    .services-container {
        flex-direction: column;
        align-items: stretch;
    }

    .services-container .services-box {
        flex: 1 1 auto;
    }

    /* Projects */
    .projects h2 {
        margin-bottom: 3rem;
    }

    .projects-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
    }

    .projects-container .projects-box:last-child {
        grid-column: auto !important;
        max-width: 100% !important;
        margin: 0;
        width: 100%;
    }

    .proj-info-top h4 {
        font-size: 1.8rem;
    }

    .proj-info p {
        font-size: 1.4rem;
    }

    /* Experience */
    .experience {
        padding: 8rem 5% 5rem;
    }

    .experience .heading {
        margin-bottom: 4rem;
    }

    .timeline-track {
        margin-right: 2.5rem;
    }

    .timeline-dot {
        width: 1.4rem;
        height: 1.4rem;
    }

    .exp-card {
        padding: 2.5rem 2rem 2.2rem;
    }

    .exp-card::after {
        left: -.9rem;
        width: .8rem;
        height: .8rem;
    }

    .exp-role {
        font-size: 2rem;
    }

    .exp-desc {
        font-size: 1.45rem;
    }

    /* Skills */
    .skills {
        padding: 8rem 5% 5rem;
    }

    .skills-tabs {
        gap: 1rem;
        margin-bottom: 3.5rem;
    }

    .skills-tab {
        padding: .8rem 2rem;
        font-size: 1.4rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 550px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }

    .skill-card {
        padding: 2rem 1.5rem 1.8rem;
        gap: 1rem;
    }

    .skill-icon {
        width: 5rem;
        height: 5rem;
        font-size: 1.9rem;
    }

    .skill-name {
        font-size: 1.3rem;
    }

    .exp-card {
        padding: 2.2rem 1.8rem 2rem;
    }

    .exp-role {
        font-size: 1.9rem;
    }

    .exp-date {
        font-size: 1.3rem;
    }

    .exp-tag {
        font-size: 1.15rem;
        padding: .45rem 1.1rem;
    }

    .exp-company {
        font-size: 1.4rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
     .footer {
        flex-direction: row !important;
        justify-content: center !important;
    }

    .footer-text p {
        white-space: nowrap;
        font-size: 1.2rem;
        margin-top: 0 !important;
    }
}

@media (max-width: 365px) {
    .home-img img {
        width: 90vw;
    }

    .about-img img {
        width: 90vw;
    }

    .footer {
        flex-direction: column-reverse;
    }

    .footer p {
        text-align: center;
        margin-top: 2rem;
    }

    .footer-text p {
     white-space: nowrap;
        font-size: 1.2rem;
        margin-top: 0 !important;
    }

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

    .skills-tab {
        padding: .7rem 1.5rem;
        font-size: 1.3rem;
    }

    .timeline-track {
        margin-right: 1.5rem;
    }

    .exp-role {
        font-size: 1.8rem;
    }
}

.toastify-custom {
    padding: 14px 18px;
    font-size: 14px;
    border-radius: 8px;
    min-width: 220px;
    max-width: 90vw;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .toastify-custom {
        font-size: 11px;
        padding: 12px 12px;
        min-width: unset;
        width: 90%;
    }
}


.services h2 {
    margin-bottom: 5rem;
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 4rem 2.5rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.services-container .services-box:hover {
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 8px 2.5rem rgba(255, 107, 0, 0.12);
}

.services-box i {
    font-size: 6.5rem;
    color: var(--primary);
    margin-bottom: .5rem;
}

.services-box h3 {
    font-size: 2.4rem;
    font-weight: 700;
}

.services-box p {
    font-size: 1.55rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.75;
    margin: 0;
}

/* ================================================
   PROJECTS — Vertical card layout
   ================================================ */

.projects {
    background: var(--second-bg-color);
}

.projects h2 {
    margin-bottom: 5rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.8rem;
    align-items: stretch;
    max-width: 120rem;
    margin: 0 auto;
}

/* ---- Card wrapper ---- */
.projects-box {
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    border-radius: 2rem;
    overflow: hidden;
    border: .2rem solid rgba(255, 107, 0, 0.1);
    box-shadow: 0 8px 3rem rgba(0, 0, 0, 0.35);
    transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
}

.projects-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 4rem rgba(255, 107, 0, 0.18);
}

/* ---- Image area ---- */
.proj-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.projects-box:hover .proj-img-wrap img {
    transform: scale(1.05);
}

/* ---- Info panel ---- */
.proj-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.2rem 2.4rem 2.4rem;
    flex: 1;
    border-top: .15rem solid rgba(255, 107, 0, 0.1);
    transition: border-color 0.38s ease;
}

.projects-box:hover .proj-info {
    border-top-color: rgba(255, 107, 0, 0.35);
}

/* ---- Title row ---- */
.proj-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.proj-info-top h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.25;
    transition: color 0.3s ease;
}

.projects-box:hover .proj-info-top h4 {
    color: var(--primary);
}

/* ---- Two icon buttons ---- */
.proj-icon-btns {
    display: flex;
    align-items: center;
    gap: .9rem;
    flex-shrink: 0;
}

.proj-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    font-size: 1.6rem;
    border: .18rem solid rgba(255, 107, 0, 0.25);
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    transition: all 0.3s ease;
}

/* GitHub — turns white on hover */
.proj-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Live Demo — orange accent */
.proj-icon-btn--live {
    border-color: rgba(255, 107, 0, 0.4);
    color: var(--primary);
}

.proj-icon-btn--live:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-color);
    box-shadow: 0 0 1.4rem rgba(255, 107, 0, 0.5);
    transform: translateY(-2px);
}

/* ---- Description ---- */
.proj-info p {
    font-size: 1.45rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    flex: 1;
}

/* ---- Tech chips ---- */
.proj-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: .4rem;
}

.proj-chip {
    display: inline-block;
    padding: .38rem 1.15rem;
    border-radius: 3rem;
    background: rgba(255, 107, 0, 0.07);
    border: .12rem solid rgba(255, 107, 0, 0.25);
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.03rem;
    transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
    cursor: default;
}

.projects-box:hover .proj-chip {
    background: rgba(255, 107, 0, 0.14);
    border-color: rgba(255, 107, 0, 0.45);
    color: var(--text-color);
}




.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 1rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: center;
    /* changed from space-between */
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}

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

.footer-text p {
    font-size: 1.6rem;
}




/* ================================================
   SKILLS SECTION
   ================================================ */

.skills {
    background: var(--second-bg-color);
    min-height: 100dvh;
    padding: 10rem 9% 6rem;
}

.skills .heading {
    margin-bottom: 4rem;
}

/* --- Tabs --- */
.skills-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 5rem;
}

.skills-tab {
    position: relative;
    padding: 1rem 2.6rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    background: transparent;
    border: .2rem solid rgba(255, 107, 0, 0.35);
    border-radius: 4rem;
    cursor: pointer;
    transition: all 0.35s ease;
    letter-spacing: 0.05rem;
}

.skills-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 .8rem rgba(255, 107, 0, 0.25);
}

.skills-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-color);
    font-weight: 600;
    box-shadow: 0 0 1.2rem var(--primary);
}

/* --- Panels --- */
.skills-panel {
    display: none;
    animation: fadeInUp 0.4s ease forwards;
}

.skills-panel.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Grid --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* --- Skill Card --- */
.skill-card {
    background: var(--bg-color);
    border: .2rem solid transparent;
    border-radius: 1.6rem;
    padding: 2.8rem 2.2rem 2.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    cursor: default;
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.07) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 1.4rem;
}

.skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 8px 2.5rem rgba(255, 107, 0, 0.18);
}

.skill-card:hover::before {
    opacity: 1;
}

/* --- Skill Icon --- */
.skill-icon {
    width: 6rem;
    height: 6rem;
    background: var(--second-bg-color);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    border: .15rem solid rgba(255, 255, 255, 0.08);
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
    flex-shrink: 0;
}

.skill-card:hover .skill-icon {
    background: rgba(255, 107, 0, 0.15);
    color: var(--primary);
    border-color: rgba(255, 107, 0, 0.4);
}

/* --- Skill Name --- */
.skill-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-color);
    text-align: center;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.skill-card:hover .skill-name {
    color: var(--primary);
}

/* --- Skill Bar --- */
.skill-bar {
    width: 100%;
    height: .5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0;
    border-radius: 1rem;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: width 1s ease;
    box-shadow: 0 0 .6rem rgba(255, 107, 0, 0.5);
}

/* ================================================
   SKILLS RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .skills {
        padding: 10rem 5% 5rem;
    }

    .skills-tabs {
        gap: 1rem;
        margin-bottom: 3.5rem;
    }

    .skills-tab {
        padding: .8rem 2rem;
        font-size: 1.4rem;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (max-width: 550px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }

    .skill-card {
        padding: 2rem 1.5rem 1.8rem;
        gap: 1rem;
    }

    .skill-icon {
        width: 5rem;
        height: 5rem;
        font-size: 1.9rem;
    }

    .skill-name {
        font-size: 1.3rem;
    }
}

@media (max-width: 365px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .skills-tab {
        padding: .7rem 1.5rem;
        font-size: 1.3rem;
    }
}


/* ================================================
   EXPERIENCE SECTION
   ================================================ */

.experience {
    background: var(--bg-color);
    min-height: 100dvh;
    padding: 10rem 9% 8rem;
}

.experience .heading {
    margin-bottom: 6rem;
}

/* --- Timeline wrapper --- */
.experience-timeline {
    display: flex;
    gap: 0;
    align-items: flex-start;
    max-width: 90rem;
    margin: 0 auto;
}

/* --- Left track: line + dot --- */
.timeline-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    padding-top: .4rem;
    margin-right: 4rem;
    position: relative;
}

.timeline-dot {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 1.2rem var(--primary), 0 0 2.5rem rgba(255, 107, 0, 0.35);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    animation: pulseDot 2.4s ease-in-out infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 1.2rem var(--primary), 0 0 2.5rem rgba(255, 107, 0, 0.35);
    }

    50% {
        box-shadow: 0 0 2rem var(--primary), 0 0 4rem rgba(255, 107, 0, 0.55);
    }
}

.timeline-line {
    width: .2rem;
    flex: 1;
    min-height: 100%;
    background: linear-gradient(to bottom, var(--primary) 0%, rgba(255, 107, 0, 0.15) 100%);
    margin-top: .8rem;
    border-radius: 1rem;
}

/* --- Experience card --- */
.exp-card {
    flex: 1;
    background: var(--second-bg-color);
    border: .2rem solid rgba(255, 107, 0, 0.12);
    border-radius: 2rem;
    padding: 3.5rem 3.5rem 3rem;
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.exp-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.8rem;
    background: radial-gradient(ellipse at top left, rgba(255, 107, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.exp-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 4rem rgba(255, 107, 0, 0.15);
    transform: translateY(-4px);
}

.exp-card:hover::before {
    opacity: 1;
}

/* arrow pointing left toward the dot */
.exp-card::after {
    content: '';
    position: absolute;
    left: -1.1rem;
    top: 2.2rem;
    width: 1rem;
    height: 1rem;
    background: var(--second-bg-color);
    border-left: .2rem solid rgba(255, 107, 0, 0.12);
    border-bottom: .2rem solid rgba(255, 107, 0, 0.12);
    transform: rotate(45deg);
    transition: border-color 0.4s ease;
}

.exp-card:hover::after {
    border-color: var(--primary);
}

/* --- Meta row (date + badge) --- */
.exp-meta {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
}

.exp-date {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .6rem;
    letter-spacing: 0.03rem;
}

.exp-badge {
    display: inline-block;
    padding: .35rem 1.3rem;
    border-radius: 3rem;
    border: .15rem solid rgba(255, 107, 0, 0.45);
    background: rgba(255, 107, 0, 0.1);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05rem;
}

/* --- Role --- */
.exp-role {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

/* --- Company --- */
.exp-company {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.exp-company i {
    color: var(--primary);
}

.exp-dot-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.8rem;
    line-height: 1;
}

.exp-location {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* --- Description --- */
.exp-desc {
    font-size: 1.55rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.9;
    margin-bottom: 2.8rem;
}

/* --- Tech tags --- */
.exp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.exp-tag {
    display: inline-block;
    padding: .5rem 1.4rem;
    border-radius: 3rem;
    background: rgba(255, 107, 0, 0.08);
    border: .15rem solid rgba(255, 107, 0, 0.3);
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: default;
}

.exp-tag:hover {
    background: var(--primary);
    color: var(--bg-color);
    border-color: var(--primary);
}

/* ================================================
   EXPERIENCE RESPONSIVE
   ================================================ */

@media (max-width: 991px) {
    .experience {
        padding: 10rem 5% 6rem;
    }

    .exp-card {
        padding: 3rem 2.5rem 2.5rem;
    }

    .exp-role {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .experience {
        padding: 10rem 5% 5rem;
    }

    .experience .heading {
        margin-bottom: 4rem;
    }

    .timeline-track {
        margin-right: 2.5rem;
    }

    .timeline-dot {
        width: 1.4rem;
        height: 1.4rem;
    }

    .exp-card {
        padding: 2.5rem 2rem 2.2rem;
    }

    .exp-card::after {
        left: -.9rem;
        width: .8rem;
        height: .8rem;
    }

    .exp-role {
        font-size: 2rem;
    }

    .exp-desc {
        font-size: 1.45rem;
    }
}

@media (max-width: 480px) {
    .experience-timeline {
        gap: 0;
    }

    .timeline-track {
        margin-right: 2rem;
    }

    .exp-card {
        padding: 2.2rem 1.8rem 2rem;
    }

    .exp-role {
        font-size: 1.9rem;
    }

    .exp-date {
        font-size: 1.3rem;
    }

    .exp-tag {
        font-size: 1.15rem;
        padding: .45rem 1.1rem;
    }

    .exp-company {
        font-size: 1.4rem;
    }
}

@media (max-width: 365px) {
    .timeline-track {
        margin-right: 1.5rem;
    }

    .exp-role {
        font-size: 1.8rem;
    }
}


/* ── CUSTOM TOAST ───────────────────────────────────────── */
.wc-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2rem;
    border-radius: 1.2rem;
    min-width: 28rem;
    max-width: calc(100vw - 4rem);
    box-shadow: 0 8px 3rem rgba(0, 0, 0, 0.35);
    font-size: 1.5rem;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    opacity: 0;
    transform: translateX(110%);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.wc-toast--show {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.wc-toast--success {
    background: #1e1e1e;
    border: 0.15rem solid rgba(255, 107, 0, 0.4);
    color: #fff;
}

.wc-toast--error {
    background: #1e1e1e;
    border: 0.15rem solid rgba(255, 80, 80, 0.5);
    color: #fff;
}

.wc-toast-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.wc-toast-msg {
    line-height: 1.4;
    flex: 1;
}


/* Mobile — full width bar at top */
@media (max-width: 600px) {
    .wc-toast {
        top: 6rem;
        right: 1.5rem;
        left: 1.5rem;
        max-width: calc(100% - 3rem);
        min-width: unset;
        width: calc(100% - 3rem);
        border-radius: 1.2rem;
        padding: 1.6rem 2rem;
        font-size: 1.4rem;
        transform: translateY(-200%);
        box-shadow: 0 4px 2rem rgba(0, 0, 0, 0.4);
    }

    .wc-toast--show {
        transform: translateY(0);
    }
}