/* ===================================
        GOOGLE FONT
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===================================
            RESET
=================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {

    background: linear-gradient(135deg,
            #020617,
            #0F172A,
            #111827,
            #1E293B);

    background-size: 400% 400%;
    animation: gradientBG 12s ease infinite;

    color: #ffffff;
    overflow-x: hidden;
    cursor: default;

}

@keyframes gradientBG {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}

section {
    padding: 100px 10%;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===================================
        CUSTOM SCROLLBAR
=================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #38BDF8;
    border-radius: 20px;
}

::selection {
    background: #38BDF8;
    color: #000;
}


/*==================================
        PREMIUM HEADER
==================================*/

header {

    position: fixed;

    top: 18px;

    left: 50%;

    transform: translateX(-50%);

    width: 92%;

    max-width: 1300px;

    padding: 18px 45px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: rgba(15, 23, 42, .55);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 60px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, .35),
        0 0 20px rgba(56, 189, 248, .08);

    z-index: 999;

    transition: .4s;

}

/* ===================================
            HOME
=================================== */

.home {

    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;

}

.home-content {

    flex: 1;

}

.home-content h3 {

    font-size: 28px;
    color: #94A3B8;

}

.home-content h1 {

    font-size: 70px;
    margin: 15px 0;

}

.home-content h2 {

    font-size: 36px;
    color: #38BDF8;
    margin-bottom: 20px;

}

.home-content p {

    font-size: 18px;
    line-height: 32px;
    color: #CBD5E1;
    margin-bottom: 35px;

}

.buttons {

    display: flex;
    gap: 20px;
    margin-bottom: 35px;

}

.btn {

    background: linear-gradient(135deg,
            #38BDF8,
            #0EA5E9);

    color: white;

    padding: 15px 35px;

    border-radius: 50px;

    font-weight: 600;

    transition: .4s;

    box-shadow: 0 10px 25px rgba(56, 189, 248, .45);

}

.btn:hover {

    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(56, 189, 248, .6);

}

.btn2 {

    border: 2px solid #38BDF8;

    color: #38BDF8;

    padding: 15px 35px;

    border-radius: 50px;

    font-weight: 600;

    transition: .4s;

}

.btn2:hover {

    background: #38BDF8;

    color: #0F172A;

    transform: translateY(-8px);

    box-shadow: 0 15px 35px rgba(56, 189, 248, .5);

}

.social-icons {

    display: flex;
    gap: 20px;

}

.social-icons a {

    width: 55px;

    height: 55px;

    border: 2px solid #38BDF8;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    color: #38BDF8;

    font-size: 22px;

    transition: .4s;

}

.social-icons a:hover {

    background: #38BDF8;

    color: #0F172A;

    transform: translateY(-10px) scale(1.1);

    box-shadow: 0 0 25px rgba(56, 189, 248, .6);

}

.home-image {

    flex: 1;
    display: flex;
    justify-content: center;

}

.home-image img {

    width: 380px;
    height: 380px;

    object-fit: cover;

    border-radius: 50%;

    border: 8px solid #38BDF8;

    box-shadow:
        0 0 30px rgba(56, 189, 248, .7),
        0 0 70px rgba(56, 189, 248, .35);

    animation: floatImage 5s ease-in-out infinite;

    transition: .5s;

}

.home-image img:hover {

    transform: scale(1.05);

}

@keyframes floatImage {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-18px);
    }

    100% {
        transform: translateY(0);
    }

}

/* ===================================
            COMMON HEADING
=================================== */

.heading {

    text-align: center;
    font-size: 48px;
    color: #38BDF8;
    margin-bottom: 60px;
    position: relative;

}

.heading::after {

    content: "";
    width: 90px;
    height: 4px;
    background: #38BDF8;
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    border-radius: 10px;

}

/* ===================================
            ABOUT
=================================== */

.about {

    background: #111827;

}

.about-container {

    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;

}

.about-content h3 {

    font-size: 34px;
    margin-bottom: 20px;

}

.about-content p {

    font-size: 18px;
    line-height: 32px;
    color: #CBD5E1;
    margin-bottom: 20px;

}

.about-info {

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;

}

.info-card {

    background: #1E293B;
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, .08);

}

.info-card:hover {

    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(56, 189, 248, .35);

}

.info-card i {

    font-size: 35px;
    color: #38BDF8;
    margin-bottom: 15px;

}

.info-card h4 {

    margin-bottom: 10px;

}

.info-card p {

    font-size: 15px;
    color: #CBD5E1;

}

/*==================================
        EXPERIENCE
==================================*/

.experience {

    background: #0F172A;

}

.experience-container {

    max-width: 900px;
    margin: auto;
    position: relative;
    padding-left: 40px;

}

.experience-container::before {

    content: "";
    position: absolute;
    left: 22px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #38BDF8;
    border-radius: 10px;

}

.experience-item {

    position: relative;
    margin-bottom: 50px;
    padding-left: 45px;

}

.experience-icon {

    position: absolute;
    left: -2px;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #38BDF8;
    color: #0F172A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(56, 189, 248, .5);

}

.experience-content {

    background: #1E293B;
    padding: 30px;
    border-radius: 20px;
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, .08);

}

.experience-content:hover {

    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(56, 189, 248, .35);

}

.experience-date {

    display: inline-block;
    color: #38BDF8;
    font-weight: 700;
    margin-bottom: 10px;

}

.experience-content h3 {

    font-size: 26px;
    margin-bottom: 8px;

}

.experience-content h4 {

    color: #94A3B8;
    margin-bottom: 15px;

}

.experience-content p {

    color: #CBD5E1;
    line-height: 30px;

}

@media(max-width:768px) {

    .experience-container {

        padding-left: 25px;

    }

    .experience-container::before {

        left: 10px;

    }

    .experience-item {

        padding-left: 35px;

    }

    .experience-icon {

        left: -12px;
        width: 40px;
        height: 40px;
        font-size: 18px;

    }

}

/* ===================================
            SKILLS
=================================== */

.skills {

    background: #111827;

}

.skills-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;

}

.skill-card {

    background: rgba(30, 41, 59, .55);

    backdrop-filter: blur(15px);

    border: 1px solid rgba(255, 255, 255, .08);

    padding: 35px;

    border-radius: 25px;

    transition: .5s;

    position: relative;

    overflow: hidden;

}

.skill-card:hover {

    transform: translateY(-12px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .3),
        0 0 30px rgba(56, 189, 248, .35);

}

.skill-card i {

    font-size: 55px;

    color: #38BDF8;

    margin-bottom: 20px;

    transition: .4s;

}

.skill-card:hover i {

    transform: rotate(10deg) scale(1.15);

}

.skill-card h3 {

    margin-bottom: 20px;

}

.progress {

    width: 100%;

    height: 12px;

    background: #334155;

    border-radius: 30px;

    overflow: hidden;

    margin-top: 15px;

}

.progress-bar {

    height: 100%;

    border-radius: 30px;

    position: relative;

    background: linear-gradient(90deg,
            #38BDF8,
            #0EA5E9);

    animation: loadSkill 2s ease;

}

@keyframes loadSkill {

    0% {
        width: 0;
    }

}

.progress-bar span {

    position: absolute;

    right: 0;

    top: -32px;

    font-size: 14px;

    font-weight: 600;

    color: #38BDF8;

}

.java {
    width: 90%;
}

.spring {
    width: 85%;
}

.mysql {
    width: 85%;
}

.html {
    width: 95%;
}

.css {
    width: 90%;
}

.js {
    width: 80%;
}

.tech {

    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0;

}

.tech span {

    background: #38BDF8;
    color: #000;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;

}

.project-btn {

    display: flex;

    gap: 15px;

    margin-top: 20px;

}

.project-btn a {

    flex: 1;

    text-align: center;

    padding: 13px 20px;

    border-radius: 30px;

    background: linear-gradient(135deg,
            #38BDF8,
            #0EA5E9);

    color: white;

    font-weight: 600;

    transition: .4s;

}

.project-btn a:hover {

    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(56, 189, 248, .45);

}

/*=============================
      CERTIFICATES
=============================*/

.certificates {

    background: #111827;

}

.certificate-container {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;

}

.certificate-card {

    background: #1E293B;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: .4s;

}

.certificate-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 0 30px rgba(56, 189, 248, .4);

}

.certificate-card i {

    font-size: 55px;
    color: #38BDF8;
    margin-bottom: 20px;

}

.certificate-card h3 {

    margin-bottom: 15px;

}

/*=============================
      RESUME
=============================*/

.resume-section {

    background: #0F172A;

}

.resume-card {

    max-width: 700px;
    margin: auto;
    text-align: center;
    background: #1E293B;
    padding: 40px;
    border-radius: 20px;

}

.resume-card i {

    font-size: 70px;
    color: #38BDF8;
    margin-bottom: 20px;

}

.resume-buttons {

    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;

}

/*=============================
      FOOTER
=============================*/

footer {

    background: #020617;

    padding: 30px;

    text-align: center;

    color: #94A3B8;

    margin-top: 50px;

}

.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all .8s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/*==================================
        MOBILE MENU
==================================*/

.menu-btn {

    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #38BDF8;

}

@media(max-width:991px) {

    .menu-btn {

        display: block;

    }

    nav {

        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background: #1E293B;
        display: flex;
        flex-direction: column;
        padding: 25px;
        transition: .4s;

    }

    nav.active {

        left: 0;

    }

    .logo {

        font-size: 32px;

        font-weight: 700;

        color: #38BDF8;

        text-decoration: none;

        letter-spacing: 1px;

        transition: .4s;

    }

    .logo span {

        color: white;

    }

    .logo:hover {

        transform: scale(1.08);

        text-shadow: 0 0 25px #38BDF8;

    }

}

/*=============================
      BACKGROUND ANIMATION
=============================*/

.background-animation {

    position: fixed;

    width: 100%;

    height: 100%;

    top: 0;

    left: 0;

    overflow: hidden;

    z-index: -1;

}

.background-animation span {

    position: absolute;

    display: block;

    width: 20px;

    height: 20px;

    background: rgba(56, 189, 248, .15);

    border-radius: 50%;

    animation: float 20s linear infinite;

}

.background-animation span:nth-child(1) {

    left: 10%;
    width: 40px;
    height: 40px;
    animation-duration: 18s;

}

.background-animation span:nth-child(2) {

    left: 35%;
    animation-duration: 25s;

}

.background-animation span:nth-child(3) {

    left: 55%;
    width: 60px;
    height: 60px;

}

.background-animation span:nth-child(4) {

    left: 75%;

}

.background-animation span:nth-child(5) {

    left: 90%;
    width: 30px;
    height: 30px;

}

@keyframes float {

    0% {

        transform: translateY(100vh) scale(0);

    }

    100% {

        transform: translateY(-100px) scale(1.5);

    }

}

a,
button,
.skill-card,
.project-card {

    transition: .4s;

}

a:hover,
button:hover {

    filter: drop-shadow(0 0 10px #38BDF8);

}

.hidden {

    opacity: 0;

    transform: translateY(80px);

    transition: all .8s ease;

}

.show {

    opacity: 1;

    transform: translateY(0);

}

nav a.active {

    color: #38BDF8;

    font-weight: 700;

}

.project-card {

    overflow: hidden;

}

.project-card img {

    transition: .5s;

}

.project-card:hover img {

    transform: scale(1.08);

}

.btn:hover,
.btn2:hover {

    box-shadow: 0 0 30px #38BDF8;

}

.skill-card {

    position: relative;

    overflow: hidden;

}

.skill-card::before {

    content: "";

    position: absolute;

    left: -100%;

    top: 0;

    width: 100%;

    height: 100%;

    background: linear-gradient(90deg,

            transparent,

            rgba(255, 255, 255, .15),

            transparent);

    transition: .6s;

}

.skill-card:hover::before {

    left: 100%;

}