/* =========================================================
   ETHNOML - ABOUT PAGE
   Colorful • Cute • Cheerful • Modern
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {

    --ethno-blue: #315f91;
    --ethno-blue-light: #eaf4ff;

    --ethno-purple: #8b7cf6;
    --ethno-purple-light: #f1edff;

    --ethno-yellow: #ffd166;
    --ethno-yellow-light: #fff7d6;

    --ethno-orange: #ff9f43;
    --ethno-orange-light: #fff0df;

    --ethno-pink: #ff8fab;
    --ethno-pink-light: #fff0f5;

    --ethno-green: #72c98a;
    --ethno-green-light: #e9f9ed;

    --ethno-dark: #17324d;

    --ethno-text: #4f5f70;

    --radius: 28px;

}


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

body {

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(139,124,246,.12),
            transparent 25%
        ),

        radial-gradient(
            circle at 95% 20%,
            rgba(255,209,102,.16),
            transparent 25%
        ),

        radial-gradient(
            circle at 50% 90%,
            rgba(114,201,138,.12),
            transparent 30%
        ),

        #fff;

    color: var(--ethno-text);

    overflow-x: hidden;

}


.container {

    position: relative;

    z-index: 2;

}


/* =========================================================
   BACK BUTTON
========================================================= */

.back-wrapper {

    padding-top: 25px;

}


.back-btn {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 11px 20px;

    background: white;

    color: var(--ethno-blue);

    border-radius: 50px;

    text-decoration: none;

    font-weight: 700;

    box-shadow:
        0 8px 25px rgba(49,95,145,.10);

    transition: .3s ease;

}


.back-btn i {

    font-size: 18px;

}


.back-btn:hover {

    transform: translateX(-5px);

    color: white;

    background: var(--ethno-blue);

    box-shadow:
        0 12px 30px rgba(49,95,145,.25);

}


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

.about-hero {

    position: relative;

    padding:
        70px 0
        90px;

    overflow: hidden;

}


/* decorative circles */

.about-hero::before {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background:
        rgba(139,124,246,.10);

    top: -100px;

    left: -100px;

    animation: floatBubble 7s ease-in-out infinite;

}


.about-hero::after {

    content: "";

    position: absolute;

    width: 220px;

    height: 220px;

    border-radius: 50%;

    background:
        rgba(255,209,102,.18);

    right: -80px;

    bottom: -70px;

    animation: floatBubble 6s ease-in-out infinite reverse;

}


/* badge */

.badge-ethno {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 18px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #fff5cf,
            #fff0b5
        );

    color: #8b6810;

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 20px;

    box-shadow:
        0 7px 20px rgba(255,209,102,.20);

    animation:
        fadeUp .8s ease both;

}


/* hero title */

.about-hero h1 {

    font-size: clamp(45px, 6vw, 72px);

    line-height: 1.05;

    font-weight: 900;

    color: var(--ethno-dark);

    margin-bottom: 25px;

    letter-spacing: -2px;

    animation:
        fadeUp .9s ease both;

}


.about-hero h1 span {

    display: inline-block;

    background:
        linear-gradient(
            90deg,
            #315f91,
            #8b7cf6,
            #ff8fab
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}


.about-hero p {

    font-size: 18px;

    line-height: 1.8;

    max-width: 650px;

    color: #68788a;

    animation:
        fadeUp 1s ease both;

}


/* hero buttons */

.hero-button {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 30px;

    animation:
        fadeUp 1.1s ease both;

}


.hero-button .btn {

    border-radius: 50px;

    padding: 13px 25px;

    font-weight: 800;

    transition: .3s ease;

}


.hero-button .btn-primary {

    border: none;

    background:
        linear-gradient(
            135deg,
            #315f91,
            #527fb1
        );

    box-shadow:
        0 10px 25px rgba(49,95,145,.25);

}


.hero-button .btn-primary:hover {

    transform: translateY(-4px) scale(1.03);

    box-shadow:
        0 15px 30px rgba(49,95,145,.35);

}


.hero-button .btn-outline-primary {

    color: var(--ethno-purple);

    border: 2px solid #d9d2ff;

    background: white;

}


.hero-button .btn-outline-primary:hover {

    color: white;

    background: var(--ethno-purple);

    border-color: var(--ethno-purple);

    transform: translateY(-4px);

}


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

.hero-image {

    width: min(100%, 520px);

    max-height: 500px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 25px 30px rgba(49,95,145,.15)
        );

    animation:
        heroFloat 4s ease-in-out infinite;

}


/* =========================================================
   SECTION GLOBAL
========================================================= */

.section-about,
.feature-section,
.goal-section,
.tech-section,
.team-section {

    position: relative;

    padding:
        90px 0;

}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {

    text-align: center;

    max-width: 760px;

    margin:
        0 auto
        55px;

}


.section-title h2 {

    font-size:
        clamp(32px, 4vw, 45px);

    font-weight: 900;

    color: var(--ethno-dark);

    margin-bottom: 15px;

}


.section-title h2::after {

    content: "";

    display: block;

    width: 65px;

    height: 5px;

    margin: 15px auto 0;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #315f91,
            #8b7cf6,
            #ff8fab,
            #ffd166
        );

}


.section-title p {

    color: #7c8996;

    font-size: 17px;

    line-height: 1.7;

}


/* =========================================================
   ABOUT CARD
========================================================= */

.about-card {

    max-width: 1000px;

    margin: auto;

    padding: 45px;

    border-radius: var(--radius);

    background:

        linear-gradient(
            135deg,
            rgba(234,244,255,.95),
            rgba(241,237,255,.95)
        );

    border:
        1px solid rgba(139,124,246,.12);

    box-shadow:
        0 20px 50px rgba(49,95,145,.09);

    position: relative;

    overflow: hidden;

    transition: .4s ease;

}


.about-card::before {

    content: "🇮🇩";

    position: absolute;

    right: 25px;

    top: 15px;

    font-size: 70px;

    opacity: .08;

    transform: rotate(10deg);

}


.about-card::after {

    content: "";

    position: absolute;

    width: 130px;

    height: 130px;

    border-radius: 50%;

    background:
        rgba(255,209,102,.20);

    right: -50px;

    bottom: -50px;

}


.about-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 25px 60px rgba(49,95,145,.14);

}


.about-card p {

    margin: 0;

    font-size: 17px;

    line-height: 2;

}


.about-card strong {

    color: var(--ethno-blue);

}


/* =========================================================
   FEATURE SECTION
========================================================= */

.feature-section {

    background:
        linear-gradient(
            180deg,
            #f8fbff,
            #ffffff
        );

}


.feature-card {

    height: 100%;

    padding: 35px 25px;

    text-align: center;

    border-radius: var(--radius);

    background: white;

    border:
        2px solid transparent;

    box-shadow:
        0 12px 35px rgba(0,0,0,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

    position: relative;

    overflow: hidden;

}


/* colorful top */

.feature-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 6px;

    background:
        linear-gradient(
            90deg,
            #315f91,
            #8b7cf6,
            #ff8fab,
            #ffd166
        );

}


.feature-card:hover {

    transform:
        translateY(-12px)
        rotate(-1deg);

    box-shadow:
        0 25px 45px rgba(49,95,145,.13);

}


.feature-icon {

    width: 78px;

    height: 78px;

    margin:
        0 auto
        20px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 24px;

    font-size: 38px;

    background:
        linear-gradient(
            135deg,
            #eef6ff,
            #f3efff
        );

    box-shadow:
        0 10px 25px rgba(139,124,246,.12);

    transition: .4s ease;

}


.feature-card:hover .feature-icon {

    transform:
        rotate(8deg)
        scale(1.12);

}


.feature-card h4 {

    font-size: 20px;

    font-weight: 900;

    color: var(--ethno-dark);

    margin-bottom: 12px;

}


.feature-card p {

    line-height: 1.7;

    font-size: 14px;

    color: #7a8795;

}


/* =========================================================
   GOAL SECTION
========================================================= */

.goal-section {

    background: white;

}


.goal-card {

    height: 100%;

    padding: 30px;

    border-radius: 25px;

    background: white;

    border: 2px solid #f0f2f5;

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

    transition: .35s ease;

    position: relative;

}


.goal-card:hover {

    transform:
        translateY(-8px);

    border-color:
        #dcd6ff;

    box-shadow:
        0 20px 40px rgba(139,124,246,.13);

}


.goal-card > span {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 60px;

    height: 60px;

    border-radius: 20px;

    background:
        #fff6d7;

    font-size: 30px;

    margin-bottom: 18px;

    transition: .3s ease;

}


.goal-card:hover > span {

    transform:
        rotate(-8deg)
        scale(1.1);

}


.goal-card h5 {

    font-size: 19px;

    font-weight: 900;

    color: var(--ethno-dark);

}


.goal-card p {

    color: #788696;

    line-height: 1.7;

    margin-bottom: 0;

}


/* =========================================================
   TECHNOLOGY
========================================================= */

.tech-section {

    background:
        linear-gradient(
            135deg,
            #eef6ff,
            #f7f2ff
        );

}


.tech-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 22px;

}


.tech-card {

    padding: 30px 20px;

    text-align: center;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 12px 30px rgba(49,95,145,.08);

    transition: .35s ease;

}


.tech-card:nth-child(1) {

    border-top:
        6px solid #ff8fab;

}


.tech-card:nth-child(2) {

    border-top:
        6px solid #ffd166;

}


.tech-card:nth-child(3) {

    border-top:
        6px solid #72c98a;

}


.tech-card:nth-child(4) {

    border-top:
        6px solid #8b7cf6;

}


.tech-card:hover {

    transform:
        translateY(-8px)
        scale(1.02);

}


.tech-card h4 {

    font-weight: 900;

    color: var(--ethno-dark);

    margin-bottom: 8px;

}


.tech-card small {

    color: #8b98a5;

}


/* =========================================================
   TEAM
========================================================= */

.team-section {

    background: #fff;

}


.member-card {

    text-align: center;

    padding: 30px 20px;

    background: white;

    border-radius: 28px;

    box-shadow:
        0 12px 35px rgba(0,0,0,.06);

    transition: .4s ease;

    border:
        2px solid #f4f5f8;

}


.member-card:hover {

    transform:
        translateY(-10px);

    box-shadow:
        0 25px 45px rgba(49,95,145,.13);

}


.member-photo {

    width: 130px;

    height: 130px;

    object-fit: cover;

    border-radius: 50%;

    padding: 5px;

    background:
        linear-gradient(
            135deg,
            #315f91,
            #8b7cf6,
            #ff8fab
        );

    margin-bottom: 20px;

    transition: .4s ease;

}


.member-card:hover .member-photo {

    transform:
        scale(1.08)
        rotate(3deg);

}


.member-card h5 {

    font-weight: 900;

    color: var(--ethno-dark);

    margin-bottom: 7px;

}


.member-card span {

    color: #8b7cf6;

    font-weight: 700;

    font-size: 14px;

}


/* =====================================================
   DOSEN PEMBIMBING
===================================================== */

.supervisor-wrapper {
    display: flex;
    justify-content: center;
    margin: 50px auto 70px;
}

.supervisor-card {
    position: relative;

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

    padding: 45px 30px 40px;

    background: linear-gradient(
        135deg,
        #fff8dc,
        #fff1f5,
        #eef6ff
    );

    border-radius: 35px;

    text-align: center;

    box-shadow:
        0 15px 40px rgba(49, 95, 145, 0.12);

    overflow: hidden;

    transition: all .35s ease;
}

.supervisor-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 22px 50px rgba(49, 95, 145, 0.18);
}


/* =====================================================
   FOTO DOSEN
===================================================== */

.supervisor-photo-wrapper {
    width: 190px;
    height: 190px;

    margin: 0 auto 20px;

    border-radius: 50%;

    padding: 7px;

    background: linear-gradient(
        135deg,
        #6c63ff,
        #4da6ff,
        #ffb6c1
    );

    box-shadow:
        0 10px 25px rgba(108, 99, 255, .22);

    transition: all .4s ease;
}

.supervisor-photo-wrapper:hover {
    transform: scale(1.06) rotate(2deg);

    box-shadow:
        0 15px 35px rgba(108, 99, 255, .30);
}


.supervisor-photo {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid white;

    display: block;
}


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

.supervisor-label {
    display: inline-block;

    padding: 7px 18px;

    margin-bottom: 10px;

    border-radius: 30px;

    background: #eee9ff;

    color: #6c63ff;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: .5px;
}


/* =====================================================
   NAMA DOSEN
===================================================== */

.supervisor-content h3 {
    margin: 8px 0 10px;

    color: #123b63;

    font-size: 30px;

    font-weight: 800;
}


.supervisor-content p {
    max-width: 650px;

    margin: 0 auto;

    color: #718096;

    font-size: 16px;

    line-height: 1.7;

    font-weight: 600;
}


/* =====================================================
   DEKORASI
===================================================== */

.supervisor-decoration {
    position: absolute;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 28px;

    animation: sparkleFloat 2s ease-in-out infinite;
}


.supervisor-sparkle {
    position: absolute;

    font-size: 25px;

    animation: sparkleFloat 2.5s ease-in-out infinite;
}


.sparkle-1 {
    left: 25%;

    bottom: 35px;

    color: #315f91;
}


.sparkle-2 {
    right: 25%;

    bottom: 30px;

    color: #ffad5a;

    animation-delay: .5s;
}


/* =====================================================
   ANIMASI
===================================================== */

@keyframes sparkleFloat {

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

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

}


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

@media (max-width: 768px) {

    .supervisor-card {
        padding: 35px 20px;
        border-radius: 28px;
    }

    .supervisor-photo-wrapper {
        width: 155px;
        height: 155px;
    }

    .supervisor-content h3 {
        font-size: 24px;
    }

    .supervisor-content p {
        font-size: 14px;
    }

    .sparkle-1 {
        left: 12%;
    }

    .sparkle-2 {
        right: 12%;
    }

}
/* =========================================================
   FOOTER
========================================================= */

.about-footer {

    position: relative;

    padding: 55px 0 30px;

    color: white;

    background:
        linear-gradient(
            135deg,
            #315f91,
            #4f70a0,
            #7167c8
        );

    overflow: hidden;

}


.about-footer::before {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    top: -130px;

    left: 10%;

}


.about-footer::after {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    border-radius: 50%;

    background:
        rgba(255,209,102,.12);

    right: 8%;

    bottom: -100px;

}


.about-footer h4 {

    position: relative;

    z-index: 2;

    font-size: 30px;

    font-weight: 900;

    margin-bottom: 15px;

}


.about-footer p {

    position: relative;

    z-index: 2;

    opacity: .9;

    line-height: 1.8;

}


.about-footer small {

    position: relative;

    z-index: 2;

    opacity: .7;

}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-15px);

    }

}


@keyframes floatBubble {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-20px)
            rotate(8deg);

    }

}


@keyframes fadeUp {

    from {

        opacity: 0;

        transform:
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


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

@media (max-width: 991px) {

    .about-hero {

        text-align: center;

        padding-top: 50px;

    }


    .about-hero p {

        margin:
            0 auto;

    }


    .hero-button {

        justify-content: center;

    }


    .hero-image {

        margin-top: 45px;

        max-width: 430px;

    }


    .tech-grid {

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

    }

}


@media (max-width: 767px) {

    .about-hero {

        padding:
            45px 0
            65px;

    }


    .about-hero h1 {

        font-size: 45px;

    }


    .about-hero p {

        font-size: 16px;

    }


    .section-about,
    .feature-section,
    .goal-section,
    .tech-section,
    .team-section {

        padding:
            65px 0;

    }


    .section-title {

        margin-bottom: 40px;

    }


    .about-card {

        padding: 28px 22px;

    }


    .about-card p {

        font-size: 15px;

        line-height: 1.8;

    }


    .tech-grid {

        grid-template-columns:
            1fr;

    }


    .hero-button {

        flex-direction: column;

        align-items: center;

    }


    .hero-button .btn {

        width: 100%;

        max-width: 280px;

    }

}


@media (max-width: 480px) {

    .about-hero h1 {

        font-size: 38px;

    }


    .badge-ethno {

        font-size: 12px;

    }


    .section-title h2 {

        font-size: 30px;

    }


    .feature-card,
    .goal-card {

        padding:
            28px 20px;

    }


    .member-photo {

        width: 110px;

        height: 110px;

    }

}