@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&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&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Dancing+Script:wght@400..700&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Poppins", serif;
}

html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    min-width: 100vw;
    min-height: 100vh;
    background: linear-gradient(135deg, #242029, #141414);
    overflow-x: hidden;
    position: relative;
}

header {
    padding: 12px 7vw;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    height: 60px;
    color: azure;
    position: relative;
    z-index: 100;
    /* background-color: rgb(117, 117, 117); */
}

.nav-logo {
    font-size: 20px;
    font-family: "Caveat", serif !important;
    height: 40px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    position: relative;
    top: -4px;
    cursor: pointer;
    transform: scale(1.5);
}

.nav-links {
    display: flex;
    align-items: center;
}

li {
    list-style: none;
    margin-left: 20px;
}

ul.nav-links li a {
    color: rgb(164, 164, 164);
    transition: all 0.25s;
    padding: 6px 20px;
    border-radius: 15px;
}

ul.nav-links li a:hover {
    color: #fff;
    background: #7c05af;
}

/* .ul-li-active {
    color: #fff;
    background: #7c05af;
} */

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.dropdown {
    position: relative;
    z-index: 100;
    font-size: 1.2vw;
    display: none;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dropdown.open {
    height: fit-content;
    opacity: 1;
}

.dropdown li {
    margin: 5px 0;
}

.dropdown li a {
    color: #ececec;
    display: block;
    text-align: center;
    padding: 8px 20px;
    background: #2323237e;
    border-radius: 2px;
    transition: all 0.25s;
}

.dropdown li a:hover {
    background: #232323b4;
}

/* Main  */

.section {
    margin: 9vh 0;
    padding: 0 7vw;
}

.sec-title {
    font-weight: 500;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
}

.sec-title span {
    position: relative;
    color: #fff;
}

.sec-title button {
    padding: 0 10px;
    text-align: end;
    background-color: transparent;
    color: #fdd5d5;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    top: 5px;
}

.sec-title button:hover {
    color: #ff2f2f;
}

.sec-title span::before {
    content: "";
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, blueviolet, rgb(110, 23, 192));
    position: relative;
    top: -2px !important;
    right: -12px;
    z-index: -1;
    border-radius: 10%;
    animation: blob 15s linear infinite;
}

@keyframes blob {
    0% {
        border-radius: 64% 36% 42% 58% / 44% 25% 75% 65%;
        transform: rotate(0deg);
    }

    25% {
        border-radius: 62% 38% 40% 60% / 41% 36% 64% 59%;
    }

    50% {
        border-radius: 64% 36% 37% 63% / 57% 57% 43% 43%;
    }

    75% {
        border-radius: 58% 42% 56% 44% / 36% 46% 54% 64%;
    }

    100% {
        border-radius: 64% 36% 42% 58% / 44% 25% 75% 65%;
        transform: rotate(360deg);
    }
}

.sec-container {
    background-color: #74747413;
    border-radius: 20px;
    padding: 20px 8px;
    height: auto;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.5vw;
    column-gap: 10px;
    margin-top: 40px;
    justify-content: space-evenly;
    border-radius: 10px;
    z-index: 2;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

main {
    padding: 0 7vw;
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 14px;
}

.sec-right {
    display: grid;
    grid-template-rows: 3fr 1fr;
}

/* banner */

.banner {
    background: url(../img/banner.png);
    background-position: center;
    background-size: cover;
    color: aliceblue;
    background-repeat: no-repeat;

    width: 100%;
    aspect-ratio: 4 / 1;
    border-radius: 10px;
    overflow: hidden;
    font-family: "Lexend", sans-serif;

    display: flex;
    align-items: flex-end;
    border: 1px solid #ffffff0d;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 13px 27px -5px,
        rgba(0, 0, 0, 0.25) 0px 8px 16px -8px;
}

.banner .banner-content {
    width: 100%;
    padding: 16px 0 12px 26px;
    letter-spacing: 0.3px;
    background: linear-gradient(0, #00000084, #00000037, #00000000);
}


.banner-desg {
    display: flex;
    font-size: 20px;
    color: #fff;
}

.banner-desg .bd-suffs {
    position: relative;
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
}

.banner-desg .bd-suffs div {
    position: absolute;
    display: inline;
    top: 0;
    left: 0;

    animation: slideTitles 6s infinite;
    opacity: 0;
    transform-origin: left;
}


.banner-desg .bd-suffs .bd-suf:nth-child(1) {
    animation-delay: 0s;
    color: #3ebcf1;
}

.banner-desg .bd-suffs .bd-suf:nth-child(2) {
    animation-delay: 2s;
    color: #FCC737;
}

.banner-desg .bd-suffs .bd-suf:nth-child(3) {
    animation-delay: 4s;
    color: #00FF9C;
}

@keyframes slideTitles {
    0%,
    100% {
        opacity: 0.5;
        transform: translateY(60px) scale(0.5) rotateZ(25deg);
        animation-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.5);
    }

    5% {
        transform: scale(1) translateY(0);
    }

    30% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    35% {
        opacity: 0.1;
        transform: translateX(-20px) translateY(-20px) scale(0.2);
    }

    40% {
        opacity: 0;
        transform: translateX(-300px);
    }

    /* 50% {
        opacity: 0;
        transform: translateX(-300px) translateY(-10px) scale(0.2);
    }

    80% {
        opacity: 0.5;
        transform: translateX(-50px) translateY(25px) scale(0.2);
    }

    90% {
        opacity: 0.5;
        transform: translateY(40px) scale(0.5) rotateZ(0);
    } */

    90% {
        opacity: 0;
        transform: translateY(40px) scale(0.5);
    }
}

.main-mid-container {
    position: relative;
}

.sl-achivelist {
    margin-top: 30px;
    display: grid;
    grid-gap: 16px;
}

.sl-achivelist .sl-achive {
    background: linear-gradient(135deg, #7923d5, #000);
    width: 70%;
    aspect-ratio: 9/1;

    color: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;

    border: 1px solid #ffffff0d;
    border-right: none;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 6px 12px -2px,
        rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.sl-achivelist .sl-achive div {
    position: absolute;
    bottom: 4px;
    left: 10px;
}

.sl-achivelist .sl-achive:nth-child(1):before {
    content: "01";
}

.sl-achivelist .sl-achive:nth-child(2):before {
    content: "02";
}

.sl-achivelist .sl-achive:nth-child(3):before {
    content: "03";
}

.sl-achivelist .sl-achive::before {
    font-family: "Lexend", sans-serif;
    color: #5b2a76;
    opacity: 0.35;

    position: absolute;
    bottom: -12px;
    right: 2px;

    font-size: 4.2vw;
    font-weight: 700;
}

.sl-achive .sla-header {
    font-weight: 600;
    letter-spacing: 0.2px;
}

.sl-achive .sla-header span {
    margin: 0 8px;
    padding: 2px 8px;
    border-radius: 4px;
    position: relative;
    top: -2px;
    font-weight: 600;
}

.win {
    background: linear-gradient(135deg, gold, #faaf1a);
    color: #000;
}

i.win {
    color: gold;
    background: none;
}

.sec {
    background: linear-gradient(150deg, rgb(232, 232, 232), rgb(187, 187, 187));
    color: #000;
}

i.sec {
    color: silver;
    background: none;
}

.sl-largecards {
    z-index: 10;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-end;
    align-items: flex-end;
}

.sl-largecard {
    width: fit-content;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    color: #fff;
    margin-top: 10px;
    margin-left: 10px;
    letter-spacing: 0.2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.4px);
    -webkit-backdrop-filter: blur(3.4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sl-largecard .sll-header {
    font-weight: 500;
}

.sl-largecard .sll-content {
    color: #e6e6e6;
    padding-left: 20px;
    position: relative;
}

.sl-largecard .sll-content::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    left: 0;
}

.sll1 .sll-content::before {
    background: #e7a41f;
}

.sll2 .sll-content::before {
    background: #6e5494;
}

/* Section Right */

.sec-right {
    border-bottom: 1px solid #ffffff23;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.sr-image .sr-myimg {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    background: url(../img/myimg-v3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 140%;
    border-radius: 10px;
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.sr-image .sr-myimg p {
    background: linear-gradient(0, #000, #0000);
    position: absolute;
    width: 100%;
    height: 10%;
    bottom: 0;
    opacity: 0.5;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1);
}

.sr-image .sr-myimg a {
    font-size: 14px !important;
    position: relative;
    text-align: center;
    padding: 8px 10px;
    color: #fff;
    bottom: -20%;
    border-radius: 14px;
    background: #7923d5;
    border: 1px solid #9500ff15;
    border-right: none;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
        rgba(0, 0, 0, 0.3) 0px 8px 16px -8px, -15px -5px 30px #00000083 inset;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sr-image .sr-myimg a:hover {
    background: #5309a3;
}

.sr-image .sr-myimg a i {
    margin-left: 4px;
}

.sec-right:hover .sr-image .sr-myimg {
    background-size: 124%;
}

.sec-right:hover .sr-image .sr-myimg p {
    height: 30%;
    opacity: 1;
}

.sec-right:hover .sr-image .sr-myimg a {
    bottom: 5%;
}

#version {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-items: center;
    color: #787878;
}

#version div {
    white-space: nowrap;
}

.font-1 {
    font-size: 13px;
}

.font-2 {
    font-size: 15px;
}

.font-3 {
    font-size: 17px;
}

.font-4 {
    font-size: 20px;
}

.font-5 {
    font-size: 25px;
}

.font-6 {
    font-size: 28px;
}

.myname {
    transition: all 0.25s ease-in;
    cursor: default;
    display: inline-block;
}

.myname:hover {
    letter-spacing: 3px;
}

/* certifications */
.certif-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}

.certif-card {
    background-color: #bebebe09;
    color: #fff;
    display: flex;
    flex-shrink: 0;
    width: 30%;
    min-width: 300px;
    border-radius: 6px;
    /* border-bottom-right-radius: 30px; */
    overflow: hidden;
    border: 1px solid #ffffff15;
    box-shadow: inset -10px -10px 60px #0000003a;
    transition: all 0.25s;
    cursor: pointer;
}

.certif-card:hover {
    transform: translateY(-2px);
}

.certif-card .cc-left {
    width: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    font-size: 30px;
    flex-shrink: 0;
}

.certif-card .cc-right {
    padding: 16px 20px;
    /* padding-bottom: 60px; */
    position: relative;
    display: flex;
    line-height: 20px;
}

.cc-right .cc-company {
    width: 50px;
    margin-right: 16px;
}

.cc-right .cc-company img {
    width: 100%;
    aspect-ratio: 1;
    background-color: #fff;
    border-radius: 10px;
}

.certif-card .cc-right div:nth-child(1) {
    font-weight: bold;
}

.certif-card .cc-right div:nth-child(3) {
    opacity: 0.8;
}


/* Scroll to top button  */
#scrollToTopBtn {
    position: fixed;
    bottom: 5vh;
    right: 2vw;
    z-index: 1000;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.1rem;
    background-color: #7923d5;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    border: none;
    transition: all 0.3s ease;
}

#scrollToTopBtn i {
    position: relative;
    top: 2px;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 2);
}

#scrollToTopBtn:hover {
    box-shadow: -10px -10px 50px #05050545 inset;
}

#scrollToTopBtn:hover i {
    top: -2px;
}

[bottom-space] {
    padding-bottom: 90px !important;
}