/* =========================================
   ABOUT ME SECTION
========================================= */

.aboutme-section {

    width: 100%;

    padding: 40px 8% 140px;

    position: relative;

    overflow-x: clip;
}

/* =========================================
   GLOBAL FIX
========================================= */

.aboutme-section * {

    box-sizing: border-box;
}

img,
video {

    max-width: 100%;

    display: block;
}

/* =========================================
   BLURS
========================================= */

.about-blur {

    position: absolute;

    border-radius: 50%;

    filter: blur(120px);

    z-index: -1;

    pointer-events: none;
}

.blur1 {

    width: 300px;
    height: 300px;

    background: #ffd8c2;

    top: 0;
    left: -100px;
}

.blur2 {

    width: 300px;
    height: 300px;

    background: #dce8ff;

    right: -100px;
    bottom: 200px;
}

/* =========================================
   LABEL
========================================= */

.mini-label {

    display: inline-block;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: 2px;

    color: #ff8a65;

    margin-bottom: 18px;
}

/* =========================================
   HERO
========================================= */

.basic-info {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 90px;

    min-height: 75vh;

    margin-top: 40px;
    margin-bottom: 180px;
}

/* IMAGE */

.about-image-wrap {

    flex: 1;

    position: relative;

    display: flex;
    justify-content: center;
}

.about-image-wrap img {

    width: 100%;
    max-width: 500px;

    border-radius: 40px;

    object-fit: cover;

    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* FLOATING NOTES */

.floating-note {

    position: absolute;

    background: rgba(255,255,255,0.85);

    backdrop-filter: blur(14px);

    border: 1px solid #ececec;

    border-radius: 24px;

    padding: 18px 22px;

    box-shadow: 0 10px 40px rgba(0,0,0,0.06);

    z-index: 5;
}

.floating-note span {

    font-size: 11px;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #777;
}

.floating-note h4 {

    margin-top: 6px;

    font-size: 17px;

    font-weight: 500;
}

.note1 {

    top: 20px;
    left: -10px;

    animation: float1 12s ease-in-out infinite;
}

.note2 {

    bottom: 20px;
    right: -10px;

    animation: float2 14s ease-in-out infinite;
}

/* FLOAT */

@keyframes float1 {

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

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

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

}

@keyframes float2 {

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

    50% {
        transform: translateY(12px);
    }

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

}

/* CONTENT */

.about-content {

    flex: 1;
}

.about-content h1 {

    font-size: 88px;

    line-height: 0.92;

    letter-spacing: -5px;

    margin-bottom: 30px;
}

.about-content h1 span {

    color: #7c5cff;
}

.about-content p {

    max-width: 580px;

    color: #5b5b5b;

    line-height: 1.9;

    margin-bottom: 22px;

    font-size: 17px;
}

/* =========================================
   JOURNEY
========================================= */

.journey-exp {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;

    margin-bottom: 180px;
}

#my-journey h2 {

    font-size: 68px;

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 30px;
}

#my-journey p {

    color: #5b5b5b;

    line-height: 2;

    margin-bottom: 22px;

    font-size: 16px;
}

/* =========================================
   STACK SLIDER
========================================= */

.stack-slider-section {

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.stack-container {

    position: relative;

    width: 100%;
    max-width: 540px;

    aspect-ratio: 1 / 1;
}

/* CARDS */

.stack-card {

    position: absolute;

    inset: 0;

    border-radius: 36px;

    overflow: hidden;

    background: white;

    box-shadow: 0 20px 60px rgba(0,0,0,0.08);

    transition:
        transform 0.5s ease,
        opacity 0.5s ease,
        z-index 0.5s ease;

    cursor: pointer;
}

.stack-card img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* OVERLAY */

.stack-overlay {

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;

    padding: 28px;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        transparent
    );
}

.stack-overlay span {

    font-size: 11px;

    letter-spacing: 2px;

    color: rgba(255,255,255,0.7);
}

.stack-overlay h3 {

    margin-top: 8px;

    color: white;

    font-size: 28px;
}

/* BUTTONS */

.stack-buttons {

    display: flex;

    gap: 16px;

    margin-top: 35px;
}

.stack-buttons button {

    padding: 14px 24px;

    border-radius: 50px;

    border: 1px solid #ececec;

    background: rgba(255,255,255,0.8);

    backdrop-filter: blur(10px);

    cursor: pointer;

    font-size: 14px;

    transition: 0.3s ease;
}

.stack-buttons button:hover {

    transform: translateY(-4px);

    background: white;
}

/* =========================================
   VIDEO
========================================= */

.aboutme-vid {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;

    margin-bottom: 180px;
}

.video-container {

    flex: 1;
}

.video-container video {

    width: 100%;

    border-radius: 40px;

    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.vid-desc {

    flex: 1;
}

.vid-desc h3 {

    font-size: 62px;

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 30px;
}

.vid-desc p {

    max-width: 520px;

    color: #5b5b5b;

    line-height: 1.9;
}

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

.skills {

    margin-bottom: 180px;
}

.skills h1 {

    font-size: 68px;

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 60px;

    max-width: 750px;
}

/* GRID */

.skills-editorial {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 40px;
}

/* CATEGORY */

.skill-category {

    background: rgba(255,255,255,0.75);

    backdrop-filter: blur(14px);

    border: 1px solid #ececec;

    border-radius: 40px;

    padding: 40px;
}

/* HEADINGS */

.skill-heading {

    margin-bottom: 35px;
}

.skill-heading span {

    display: inline-block;

    font-size: 12px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #ff8a65;

    margin-bottom: 12px;
}

.skill-heading h2 {

    font-size: 54px;

    line-height: 1;

    letter-spacing: -4px;
}

/* FLOATING AREA */

.floating-skills {

    display: flex;

    flex-wrap: wrap;

    gap: 18px;
}

/* PILLS */

.skill-pill {

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 16px 18px;

    background: rgba(255,255,255,0.85);

    border: 1px solid #ececec;

    border-radius: 24px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    transition: 0.35s ease;
}

.skill-pill:hover {

    transform:
        translateY(-8px)
        rotate(0deg)
        scale(1.04);

    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* RANDOM ROTATION */

.large {

    transform: rotate(-3deg);
}

.small {

    transform: rotate(2deg);
}

.rotate {

    transform: rotate(4deg);
}

.rotate2 {

    transform: rotate(-5deg);
}

/* ICON */

.skill-pill img {

    width: 60px;
    height: 60px;

    object-fit: contain;
}

/* TEXT */

.skill-pill span {

    font-size: 15px;

    white-space: nowrap;
}

/* =========================================
   LOGO
========================================= */

.logo-info {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 90px;
}

.logo-text {

    flex: 1;
}

.logo-text h3 {

    font-size: 68px;

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 30px;
}

.logo-text p {

    max-width: 580px;

    color: #5b5b5b;

    line-height: 1.9;

    margin-bottom: 20px;
}

.logo-info img {

    width: 100%;
    max-width: 340px;
}

/* =========================================
   TABLET
========================================= */

@media(max-width: 1100px) {

    .basic-info,
    .aboutme-vid,
    .logo-info {

        flex-direction: column;

        text-align: center;
    }

    .journey-exp {

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .about-content h1,
    #my-journey h2,
    .vid-desc h3,
    .skills h1,
    .logo-text h3 {

        font-size: 54px;

        letter-spacing: -3px;
    }

    .about-content p,
    #my-journey p,
    .vid-desc p,
    .logo-text p {

        margin-inline: auto;
    }

    .skills-editorial {

        grid-template-columns: 1fr;
    }

    .stack-container {

        max-width: 480px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width: 700px) {

    .aboutme-section {

        padding: 20px 6% 100px;
    }

    .basic-info,
    .journey-exp,
    .aboutme-vid,
    .skills,
    .logo-info {

        margin-bottom: 120px;
    }

    .basic-info {

        gap: 50px;
    }

    .about-content h1,
    #my-journey h2,
    .vid-desc h3,
    .skills h1,
    .logo-text h3 {

        font-size: 38px;

        line-height: 1;

        letter-spacing: -2px;
    }

    .about-content p,
    #my-journey p,
    .vid-desc p,
    .logo-text p {

        font-size: 15px;

        line-height: 1.8;
    }

    .about-image-wrap img {

        max-width: 320px;

        border-radius: 28px;
    }

    .floating-note {

        padding: 14px 16px;

        border-radius: 18px;
    }

    .floating-note h4 {

        font-size: 14px;
    }

    .note1 {

        left: 0;
    }

    .note2 {

        right: 0;
    }

    .stack-container {

        max-width: 320px;
    }

    .stack-overlay {

        padding: 22px;
    }

    .stack-overlay h3 {

        font-size: 22px;
    }

    .stack-buttons {

        flex-wrap: wrap;

        justify-content: center;
    }

    .video-container video {

        border-radius: 28px;
    }

    .skill-category {

        padding: 28px;
    }

    .skill-heading h2 {

        font-size: 34px;

        letter-spacing: -2px;
    }

    .floating-skills {

        gap: 14px;
    }

    .skill-pill {

        /* width: 100%; */

        justify-content: flex-start;

        padding: 14px 16px;

        border-radius: 20px;

        transform: rotate(0deg) !important;
    }

    .skill-pill img {

        width: 42px;
        height: 42px;
    }

    .skill-pill span {

        font-size: 14px;
    }

    .logo-info img {

        max-width: 240px;
    }

}