.contbar {
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    background: rgba(243, 246, 255, 0.85);
    background: linear-gradient(135deg,
            rgba(243, 246, 255, 0.9) 0%,
            rgba(236, 243, 255, 0.88) 25%,
            rgba(255, 236, 226, 0.87) 50%,
            rgba(255, 247, 241, 0.89) 75%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sticky state for navigation bar */
.contbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contbar.sticky+* {
    margin-top: 80px;
}

body {
    position: relative;
    width: 100vw;
    overflow-x: hidden;
    overflow-anchor: none;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}


.big {
    transition: font-size 0.5s ease;
}

.big:hover {
    font-size: 24px;
}

/* ================================================================================================================= */


.experiences {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.soon {
    margin: 0vh 0 0 10vw;
}

/* Main container */
.coming-soon-container {
    background: rgba(241, 241, 241, 0.542);
    background: linear-gradient(135deg,
            #f3f6ff,
            #ecf3ff 25%,
            #ffece2 50%,
            #fff7f1 75%);
    text-align: center;
    border-radius: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 100px 20px;
    height: 70vh;
}

.ghost {
    font-size: 5rem;
    animation: float 2s ease-in-out infinite;
    margin-bottom: 15px;
    color: #666;
}

.h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ffa0c8, #ff607a);
    /* Gradient text */
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 0px 5px rgba(255, 117, 140, 0.4);
    /* Subtle glow effect */
}

p {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #666;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.main-head {
    padding: 30px;
    font-family: 'Arial', Helvetica, sans-serif;
    font-size: 58px;
    font-weight: 600;
    text-transform: uppercase;
    /* background: linear-gradient(to right, rgb(165, 165, 165), rgb(27, 27, 27)); */
    /* background: linear-gradient(to right, rgb(32, 126, 238), rgb(255, 140, 0), rgb(32, 126, 238)); */
    background: linear-gradient(to right, rgb(32, 126, 238) 0%, rgb(255, 140, 0) 60%);
    background: linear-gradient(to right, rgb(66, 145, 241) 0%, rgb(255, 162, 48) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    margin: 20px 0 20px 0;
}

.eak {
    margin-bottom: 100px;
}

.achs {
    padding: 35px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 500;
}

@media screen and (max-width: 450px) {

    .main-head {
        font-size: 50px;
        font-weight: 800;
    }

    .littlesmall {
        font-size: 35px;
    }

    .contbar {
        display: flex;
        justify-content: space-evenly;
        gap: 12px;
        padding: 20px;
        background: rgba(243, 246, 255, 0.85);
        background: linear-gradient(135deg,
                rgba(243, 246, 255, 0.9) 0%,
                rgba(236, 243, 255, 0.88) 25%,
                rgba(255, 236, 226, 0.87) 50%,
                rgba(255, 247, 241, 0.89) 75%);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 14px;
        font-weight: 800;
        font-family: 'Poppins', sans-serif;
        position: relative;
        transition: all 0.3s ease;
        backdrop-filter: blur(16px) saturate(120%);
        -webkit-backdrop-filter: blur(16px) saturate(120%);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .contbar.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .main-head {
        margin-left: -10px;
    }
}

@media screen and (max-width: 850px) {

    .pull-left {
        margin-left: -36px;
    }
}

/* ========================================================================================================================================== */

.pro1 {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 8px;
    border: 2px solid #ddd;
    padding: 20px;
    z-index: 1;
    height: 616px;
}

.pvideo {
    /* flex: 1 1 50%; */
    position: relative;
    background-color: #000;
    overflow: hidden;
    transition: filter 0.3s ease-in-out;
    border-radius: 10px;
    margin-bottom: 6px;
}

.pvideo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.pvideo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.pinside {
    flex: 1 1 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* background-color: #3d5353; */
    background-color: #FFFFFF;
    background: linear-gradient(135deg,
            #f3f6ff,
            #ecf3ff 25%,
            #ffece2 50%,
            #fff7f1 75%);
    text-align: left;
    position: relative;
    border-radius: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pinside h2 {
    position: absolute;
    top: 20px;
    left: 20px;
    margin: 0;
    font-size: 26px;
    color: #212529;
}

.pinside p {
    font-weight: 400;
    position: absolute;
    font-size: 14px;
    margin-top: 55px;
    padding-right: 15px;
    color: #6C757D;
    line-height: 1.4;
}

.qclr {
    color: #0056B3;
    font-size: 15px;
    font-weight: 600;
}

/* ====================================================================== */

.carousel-container {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

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

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: -65px;
    margin-bottom: 40px;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-indicator.active {
    background: #333;
    background: blue;
}

/* ====================================================================== */

.show {
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    z-index: 1;
}

.show-m {
    display: flex;
    justify-content: center;
    /* flex-wrap: wrap; */
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    z-index: 1;
}

.pcont {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
    scroll-behavior: smooth;
    overflow-y: hidden;
    z-index: 1;
    max-width: 100%;
}

.pcont::-webkit-scrollbar {
    display: none;
}

#mainbody::-webkit-scrollbar {
    display: none;
}

/* laptop */
@media (min-width: 900px) {

    .pinside p {
        font-size: 15px;
    }

    .pinside h2 {
        font-size: 28px;
    }

    .pro1 {
        max-width: 600px;
        height: 615px;
    }

}

.dots {
    display: flex;
    justify-content: center;
    /* margin-top: 10px; */
    margin-bottom: 80px;
    margin-top: -80px;
}

.dots span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: gray;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dots span.active {
    background-color: blue;
}

@media screen and (max-width: 450px) {
    .show {
        flex-wrap: wrap;
    }

    .pinside p {
        font-size: 14px;
    }

    .pinside h2 {
        font-size: 24px;
    }

    .pro1 {
        max-width: 600px;
        height: 620px;
    }
}

/* .sporange {
    color: rgb(220, 121, 0);
} */

.ad1 {
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

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



.karna {
    opacity: 0;
    transform: translateX(100px);
    transition: all 4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.leftse {
    transform: translateX(-100px);
}

.slide-in-top {
    transition: all 3.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateY(-100px);
}

.sit {
    /* transition: all 3.5s cubic-bezier(0.25, 0.8, 0.25, 1); */
    transform: translateY(-100px);
}

.visible {
    opacity: 1;
    transform: translateX(0);
    transform: translateY(0);
}

.aboutcont {
    font-family: 'Poppins', sans-serif;
}

.prt1 {
    display: flex;
    margin-top: 50px;
    margin-bottom: 100px;
    justify-content: center;
    align-items: center;
}

.clogo img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
}

.clogo {
    border: 3px solid #ff7300;
    border-radius: 50%;
    margin: 26px;
    display: flex;
}

.lastaboutme {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wai {
    font-size: 50px;
    font-weight: 800;
    color: #ff7300;
    text-align: center;
    font-family: 'Nunito', sans-serif;
}

.iam {
    font-family: 'Poppins', sans-serif;
    font-family: 'Inter', sans-serif !important;
    line-height: 1.8;
    padding: 0 40px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

.prt2 {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
    position: relative;
    height: 60px;
}

.qoutes {
    background-color: rgba(255, 248, 234, 0.758);
    background: linear-gradient(135deg,
            #f3f6ff,
            #ecf3ff 25%,
            /* very light blue */
            #ffece2 50%,
            /* very light orange */
            #fff7f1 75%);
    border-radius: 10px;
    padding: 10px;
    width: 90vw;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff7300;
}

.qottxt {
    transition: opacity 1s ease-in-out;
    opacity: 0;
    text-align: center;
}

.techs {
    margin: 60px 0 20px 0;
    text-align: center;
    font-size: 36px;
    font-family: monospace;
    color: #ff7300;
    font-weight: 600;
}

.techcards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 0 20px;
    margin-top: 50px;
}

.techcards img {
    height: 50px;
}

.techcards a {
    display: inline-block;
    animation: wave 5s ease-in-out infinite;
    margin-top: 10px;
}

.techcards a:nth-child(1) {
    animation-delay: 0s;
}

.techcards a:nth-child(2) {
    animation-delay: 0.5s;
}

.techcards a:nth-child(3) {
    animation-delay: 1s;
}

.techcards a:nth-child(4) {
    animation-delay: 1.5s;
}

.techcards a:nth-child(5) {
    animation-delay: 1s;
}

.techcards a:nth-child(6) {
    animation-delay: 0.5s;
}

.techcards a:nth-child(7) {
    animation-delay: 0s;
}

.techcards a:nth-child(8) {
    animation-delay: 0.5s;
}

.techcards a:nth-child(9) {
    animation-delay: 1s;
}

.techcards a:nth-child(10) {
    animation-delay: 1.5s;
}

.techcards a:nth-child(11) {
    animation-delay: 1s;
}

.techcards a:nth-child(12) {
    animation-delay: 0.5s;
}

.techcards a:nth-child(13) {
    animation-delay: 0s;
}

@keyframes wave {
    0% {
        transform: translateY(0);
    }

    20% {
        transform: translateY(-10px);
    }

    40% {
        transform: translateY(0);
    }

    60% {
        transform: translateY(10px);
    }

    80% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0);
    }
}

.blinkqm {
    animation: blink 6s infinite;
}

.changing-font {
    font-weight: normal;
    color: #0056B3;
    display: inline-block;
    min-width: 132px;
    transition: all 1s ease;
    text-align: center;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@media screen and (max-width: 850px) {

    .iam {
        font-size: 18px;
    }

    .prt1 {
        flex-direction: column;
    }

    .prt2 {
        margin-top: -50px;
    }

    .prt3 {
        margin-top: -30px;
    }

    .changing-font {
        min-width: 120px;
    }

}

.prt3 {
    margin: 140px 0;
}

@media screen and (max-width: 450px) {

    .iam {
        font-size: 15px;
        line-height: 1.4;
        text-align: justify;
        font-weight: 500;
    }

    .changing-font {
        min-width: 100px;
    }

    .prt1 {
        margin-top: 10px;
    }

    .qoutes {
        font-size: 14px;
    }
}

.pskillcont {
    position: absolute;
    top: 220px;
    display: flex;
    gap: 10px;
    padding: 10px 4px 10px 0px;
    flex-wrap: wrap;
}

.adjust {
    top: 275px;
}

.psi {
    background: #f4f4f4;
    color: #212121;
    margin: 2px 0px;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psi:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.15);
}

@media (min-width: 900px) {
    .pskillcont {
        top: 210px;
    }

    .adjust {
        top: 250px;
    }
}

@media (min-width: 600px) and (max-width: 900px) {
    .pskillcont {
        top: 270px;
    }

    .adjust {
        top: 330px;
        margin-left: -10px;
    }

    .musifysc {
        margin-top: 15px;
    }
}

@media (max-width: 500px) {
    .pskillcont {
        top: 280px;
    }

    .adjust {
        top: 335px;
        margin-left: -6px;
    }
}

.p4head {
    margin: 80px 0 20px;
    text-align: center;
    font-size: 40px;
    font-family: monospace;
    color: #ff7300;
    font-weight: 600;
}



.setcontain {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    padding: 20px;
    margin-top: 40px;
    margin-bottom: -40px;
}

.set-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(200px, auto);
    gap: 30px;
}

.set {
    background-color: rgb(247, 247, 247);
    background: linear-gradient(135deg,
            #f3f6ff,
            #ecf3ff 25%,
            #ffece2 50%,
            #fff7f1 75%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0;
    min-height: 250px;
}

.set:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.set h3 {
    margin-bottom: 10px;
    font-size: 30px;
}

.set p {
    /* color: #666; */
    color: #0056B3;
    font-size: 20px;
    /* font-weight: 500; */
}


.c1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 430px;
    /* Taller set */
}

.c2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.c3 {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
}

.c4 {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    /* Spanning two rows like C1 */
    min-height: 430px;
    /* Same height as C1 */
}

.c5 {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
}

.c6 {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
}

.c7 {
    grid-column: 1 / 3;
    grid-row: 5 / 6;
    min-height: 200px;
}

.invert {
    filter: invert(0%);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .setcontain {
        width: 90%;
        padding: 15px;
    }

    .set-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .c1,
    .c2,
    .c3,
    .c4,
    .c5,
    .c6,
    .c7 {
        grid-column: 1 / 2;
        min-height: 200px;
        /* Reset heights for mobile */
    }

    .c1 {
        grid-row: 1 / 2;
    }

    .c2 {
        grid-row: 2 / 3;
    }

    .c3 {
        grid-row: 3 / 4;
    }

    .c4 {
        grid-row: 4 / 5;
    }

    .c5 {
        grid-row: 5 / 6;
    }

    .c6 {
        grid-row: 6 / 7;
    }

    .c7 {
        grid-row: 7 / 8;
    }
}

@media screen and (max-width: 450px) {
    .p4head {
        font-size: 34px;
    }
}

.setfirstprt {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.setfirstprt img {
    height: 24px;
}

.settag {
    background-color: #ebebeb;
    padding: 10px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 15px;
    margin: 0 5px;
}

.setskill {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.setskill img {
    height: 50px;
}

.setskill a {
    cursor: default;
}

.bigcrdmargin {
    margin: 38px 0;
}

@media (min-width: 1000px) {
    .set h3 {
        font-size: 32px;
    }

    .set p {
        font-size: 26px;
        /* font-weight: 600; */
    }

    .setskill img {
        height: 60px;
    }

    .bigcrdmargin {
        margin: 50px 0;
    }

}

@media (min-width: 721px) {
    .prg-mb {
        display: none;
    }
}

@media (max-width: 720px) {
    .bigcrdmargin {
        margin: -20px 0;
    }

    .set h3 {
        font-size: 22px;
    }

    .set p {
        font-size: 16px;
        font-weight: 600;
    }

    .setskill img {
        height: 36px;
    }

    .bigcrdmargin2 {
        margin: -25px 0;
    }

    .setskill {
        gap: 12px;
    }

    .settag {
        margin-bottom: 20px;
    }

    .prg-lp {
        display: none;
    }
}

.gmwhat {
    margin: 60px 0px -70px -6px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.greywhat {
    background-color: #a2a8ac;
    height: 14px;
    width: 14px;
    border-radius: 3px;
}

.project-head img {
    height: 12px;
    margin-left: 0px;
    margin-bottom: 3px;
}

.project-head a {
    color: inherit;
    text-decoration: none;
}

.prt4,
.prt4 * {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}



/* Achievements Carousel Styles */
.achievements-carousel {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.achievement-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.achievement-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.achievement-slide.prev {
    transform: translateX(-100%);
}

.achievement-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.5);
    z-index: 1;
}

.achievement-slide[data-bg] .achievement-background {
    background-image: url('');
}

.achievement-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 60px 40px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.achievement-category {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-bottom: 20px;
    opacity: 0.8;
}

.achievement-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.achievement-event {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.achievement-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
    font-weight: 300;
}

.achievement-date {
    font-size: 0.95rem;
    color: #b0b0b0;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* More coming slide styles */
.achievement-slide.more-coming {
    background: linear-gradient(135deg,
            rgba(20, 20, 20, 0.9),
            rgba(40, 40, 40, 0.8));
}

.coming-soon-animation {
    margin-top: 60px;
}

.coming-soon-animation span {
    display: inline-block;
    animation: bounce 1.4s infinite;
    font-size: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0 2px;
}

.coming-soon-animation span:nth-child(2) {
    animation-delay: 0.2s;
}

.coming-soon-animation span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
        opacity: 0.3;
    }

    40% {
        transform: translateY(-8px);
        opacity: 1;
    }

    60% {
        transform: translateY(-4px);
        opacity: 0.7;
    }
}

/* Carousel navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.4rem;
    font-weight: 300;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 30px;
}

.carousel-next {
    right: 30px;
}

/* --------------------------- */
/*     MOBILE RESPONSIVE       */
/* --------------------------- */

/* Tablets & Small Screens (≤768px) */
@media (max-width: 768px) {

    .achievements-carousel {
        height: 70vh;
        min-height: 500px;
    }

    .achievement-content {
        padding: 40px 20px;
        max-width: 90%;

        /* Fix left alignment */
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        max-width: 95% !important;
    }

    .achievement-title {
        font-size: 2.4rem;
    }

    .achievement-event {
        font-size: 1rem;
        padding: 10px 18px;
    }

    .achievement-description {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 90%;
    }

    .achievement-category {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .achievement-date {
        font-size: 0.8rem;
    }

    /* Fix button jump + size for tablets */
    .carousel-btn {
        top: auto !important;
        bottom: 30px !important;
        transform: none !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 20px !important;
    }

    .carousel-next {
        right: 20px !important;
    }
}


/* Phones (very small screens ≤480px) */
@media (max-width: 480px) {

    .achievements-carousel {
        height: 65vh;
        min-height: 450px;
        padding-left: 7vw;
    }

    .achievement-content {
        padding: 30px 16px;
        text-align: center !important;
        max-width: 95% !important;
        padding-left: 20px !important;
    }

    .achievement-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .achievement-event {
        font-size: 0.9rem;
        padding: 8px 14px;
        margin-bottom: 25px;
    }

    .achievement-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Remove text-shadows for readability */
    .achievement-title,
    .achievement-event,
    .achievement-description,
    .achievement-category,
    .achievement-date {
        text-shadow: none;
    }

    /* Smaller bottom-positioned buttons */
    .carousel-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem;
        top: auto !important;
        bottom: 20px !important;
        transform: none !important;
    }

    .carousel-prev {
        left: 15% !important;
    }

    .carousel-next {
        right: 7% !important;
    }

    /* Smaller dots */
    .coming-soon-animation span {
        font-size: 1.4rem;
    }
}