@charset "utf-8";

/*
CSS Document
PT. ALPHA PRECISION ENGINEERING
*/

/* ========================================
   RESET
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-color: #f39c12;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --card-dark: #151515;
}


/* ========================================
   HTML & BODY
======================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}


/* ========================================
   CUSTOM SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffad32;
}


/* ========================================
   HEADER
======================================== */

.header-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;

    background: rgba(10, 10, 10, 0.92);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 999;

    transition: all 0.3s ease;
}


/* Header saat sticky / scroll */

.header-area.header-sticky {
    background: rgba(10, 10, 10, 0.96);

    box-shadow:
        0 5px 25px rgba(0, 0, 0, 0.35);
}


/* ========================================
   HEADER CONTAINER
======================================== */

.header-area .container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
}


/* ========================================
   MAIN NAVIGATION
======================================== */

.main-nav {
    height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: relative;
}


/* ========================================
   LOGO
======================================== */

.main-nav .logo {
    display: flex;
    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--text-light);

    white-space: nowrap;

    transition: all 0.3s ease;
}


/* Logo Image */

.main-nav .logo img {
    width: 48px;
    height: 48px;

    object-fit: contain;

    display: block;

    transition: all 0.3s ease;
}


/* Logo Text */

.main-nav .logo span {
    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: 0.8px;

    line-height: 1.2;

    text-transform: uppercase;

    transition: color 0.3s ease;
}


/* Logo Hover */

.main-nav .logo:hover span {
    color: var(--accent-color);
}

.main-nav .logo:hover img {
    transform: scale(1.05);
}


/* ========================================
   NAVIGATION MENU
======================================== */

.main-nav .nav {
    display: flex;

    align-items: center;

    gap: 5px;

    list-style: none;

    margin: 0;
    padding: 0;
}


/* Navigation LI */

.main-nav .nav li {
    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    position: relative;
}


/* Navigation Link */

.main-nav .nav li a {
    position: relative;

    display: flex;
    align-items: center;

    height: 85px;

    padding: 0 18px;

    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 0.5px;

    transition: all 0.3s ease;
}


/* Hover */

.main-nav .nav li a:hover {
    color: #ffffff;
}


/* Active */

.main-nav .nav li a.active {
    color: var(--accent-color);
}


/* ========================================
   NAV UNDERLINE EFFECT
======================================== */

.main-nav .nav li a::after {
    content: '';

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 18px;

    height: 2px;

    background: var(--accent-color);

    transform: scaleX(0);

    transform-origin: center;

    transition: transform 0.3s ease;
}


.main-nav .nav li a:hover::after,
.main-nav .nav li a.active::after {
    transform: scaleX(1);
}


/* ========================================
   CONTACT BUTTON
======================================== */

.border-first-button {
    margin-left: 10px;
}


/* Contact Link */

.border-first-button a {
    height: auto !important;

    padding: 10px 22px !important;

    border: 1px solid var(--accent-color);

    border-radius: 4px;

    color: var(--accent-color) !important;

    font-size: 13px !important;

    font-weight: 600 !important;

    letter-spacing: 0.5px;

    text-transform: uppercase;

    transition: all 0.3s ease;
}


/* Hilangkan underline contact */

.border-first-button a::after {
    display: none !important;
}


/* Contact Hover */

.border-first-button a:hover {
    background: var(--accent-color);

    color: var(--primary-dark) !important;

    box-shadow:
        0 5px 20px rgba(243, 156, 18, 0.25);

    transform: translateY(-2px);
}


/* ========================================
   MOBILE MENU TRIGGER
======================================== */

.menu-trigger {
    display: none;

    width: 45px;
    height: 45px;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 5px;

    background: rgba(255, 255, 255, 0.03);

    transition: all 0.3s ease;

    text-decoration: none;
}


.menu-trigger:hover {
    border-color: var(--accent-color);

    background: rgba(243, 156, 18, 0.08);
}


/* Menu text */

.menu-trigger span {
    font-size: 0;

    position: relative;

    width: 22px;

    height: 16px;

    display: block;
}


/* Hamburger */

.menu-trigger span::before,
.menu-trigger span::after,
.menu-trigger span {
    background: transparent;
}


/* Hamburger lines */

.menu-trigger span::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 22px;
    height: 2px;

    background: #ffffff;

    box-shadow:
        0 7px 0 #ffffff,
        0 14px 0 #ffffff;

    transition: all 0.3s ease;
}


/* ========================================
   HERO SECTION
======================================== */

.hero-section {
    height: 100vh;

    min-height: 650px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        linear-gradient(
            135deg,
            #0a0a0a 0%,
            #1a1a1a 50%,
            #0f0f0f 100%
        );

    margin-top: 0;

    overflow: hidden;
}


/* Hero Background */

.hero-bg {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    opacity: 0.2;

    background-image: url('images/prof_cnc.png');

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}


/* ========================================
   HERO DECORATION
======================================== */

.hero-section::before {
    content: '';

    position: absolute;

    top: 10%;
    right: 10%;

    width: 300px;
    height: 300px;

    border: 2px solid rgba(243, 156, 18, 0.15);

    border-radius:
        30% 70% 70% 30% /
        30% 30% 70% 70%;

    animation: morphShape 20s ease-in-out infinite;

    background:
        radial-gradient(circle at 30% 50%, rgb(255 255 255), transparent 8%);
}


.hero-section::after {
    content: '';

    position: absolute;

    bottom: 10%;
    left: 5%;

    width: 280px;
    height: 280px;

    border: 2px solid rgba(243, 156, 18, 0.12);

    border-radius: 50%;

    animation: rotateShape 25s linear infinite;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 255, 255, 0.59),
            transparent 60%
        );

    box-shadow:
        0 0 40px rgba(243, 156, 18, 0.1);
}


/* ========================================
   HERO FLOATING SHAPES
======================================== */

.hero-shapes {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;
}


.floating-accent {
    position: absolute;

    border: 1px solid rgba(243, 156, 18, 0.1);

    animation: float 15s ease-in-out infinite;
}


.accent-1 {
    top: 20%;
    left: 10%;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    animation-delay: 0s;
}


.accent-2 {
    bottom: 30%;
    right: 15%;

    width: 100px;
    height: 100px;

    border-radius:
        30% 70% 70% 30%;

    animation-delay: -5s;
}


.accent-3 {
    top: 50%;
    right: 30%;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    animation-delay: -10s;

    border-color:
        rgba(255, 255, 255, 0.05);
}


/* ========================================
   HERO CONTENT
======================================== */

.hero-content {
    text-align: center;

    z-index: 1;

    padding: 0 20px;
}


.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);

    font-weight: 900;

    letter-spacing: -2px;

    margin-bottom: 20px;

    background:
        linear-gradient(
            176deg,
            #ffffff 0%,
            #a0a0a0 100%
        );

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;
}


.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);

    color: #ffffff;

    margin-bottom: 40px;

    font-weight: 300;

    letter-spacing: 2px;
}


/* ========================================
   CTA BUTTON
======================================== */

.cta-button {
    display: inline-block;

    padding: 15px 40px;

    background: var(--accent-color);

    color: var(--primary-dark);

    text-decoration: none;

    font-weight: 600;

    font-size: 14px;

    letter-spacing: 1px;

    text-transform: uppercase;

    border-radius: 2px;

    transition: all 0.3s ease;

    position: relative;

    overflow: hidden;
}


.cta-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(243, 156, 18, 0.3);
}


/* ========================================
   HERO ANIMATION
======================================== */

@keyframes morphShape {

    0%,
    100% {
        border-radius:
            30% 70% 70% 30% /
            30% 30% 70% 70%;

        transform:
            rotate(0deg) scale(1);
    }

    33% {
        border-radius:
            70% 30% 30% 70% /
            70% 70% 30% 30%;

        transform:
            rotate(120deg) scale(1.1);
    }

    66% {
        border-radius:
            30% 70% 40% 60% /
            60% 30% 70% 40%;

        transform:
            rotate(240deg) scale(0.95);
    }
}


@keyframes rotateShape {

    0% {
        transform:
            rotate(0deg) scale(1);
    }

    50% {
        transform:
            rotate(180deg) scale(1.05);
    }

    100% {
        transform:
            rotate(360deg) scale(1);
    }
}


@keyframes float {

    0%,
    100% {
        transform:
            translateY(0)
            translateX(0)
            rotate(0deg);
    }

    25% {
        transform:
            translateY(-20px)
            translateX(10px)
            rotate(90deg);
    }

    50% {
        transform:
            translateY(10px)
            translateX(-10px)
            rotate(180deg);
    }

    75% {
        transform:
            translateY(-10px)
            translateX(5px)
            rotate(270deg);
    }
}


/* ========================================
   SECTION HEADER
======================================== */

.section-header {
    text-align: center;

    margin-bottom: 60px;

    padding: 0 20px;
}


.section-title {
    font-size: clamp(2rem, 5vw, 3rem);

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 15px;

    color: black;
}


.section-subtitle {
    color: var(--text-gray);

    font-size: 16px;

    max-width: 600px;

    margin: 0 auto;
}


/* ========================================
   COVERFLOW
======================================== */

.coverflow-wrapper {
    width: 100%;

    position: relative;

    padding: 40px 0 80px;
}


.coverflow-container {
    width: 900px;

    max-width: 90vw;

    height: clamp(350px, 45vh, 500px);

    position: relative;

    transform-style: preserve-3d;

    margin: 0 auto;

    perspective: 1200px;
}


.coverflow-item {
    position: absolute;

    width: clamp(210px, 27vh, 300px);

    height: clamp(290px, 38vh, 420px);

    left: 50%;
    top: 50%;

    transform-origin: center center;

    cursor: pointer;

    transition:
        all 0.6s cubic-bezier(
            0.23,
            1,
            0.32,
            1
        );

    border-radius: 8px;

    overflow: hidden;

    box-shadow:
        0 25px 50px -12px
        rgba(0, 0, 0, 0.8);
}


/* ========================================
   COVERFLOW CONTROL
======================================== */

.control-btn {
    width: 45px;
    height: 45px;

    border: 2px solid
        rgba(255, 255, 255, 0.2);

    background:
        rgba(26, 26, 26, 0.8);

    backdrop-filter: blur(10px);

    color: var(--text-light);

    cursor: pointer;

    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    transition: all 0.3s ease;

    position: relative;
}


.control-btn:hover {
    background: var(--accent-color);

    border-color: var(--accent-color);

    color: var(--primary-dark);

    transform: scale(1.1);
}


#playPauseBtn {
    padding-left: 2px;
}

#playPauseBtn.playing {
    padding-left: 0;
}


.indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}


.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background:
        rgba(255, 255, 255, 0.2);

    cursor: pointer;
    transition: all 0.3s ease;
}


.indicator.active {
    width: 30px;

    border-radius: 4px;

    background: var(--accent-color);
}


/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    padding: 100px 30px;
    background: var(--secondary-dark);
}


.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        1fr 1fr;
    gap: 80px;
    align-items: center;
}


.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}


.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
    transition:
        filter 0.5s ease;
}

.about-image:hover img {
    filter: grayscale(0%);
}


.about-content h2 {
    font-size:
        clamp(2rem, 4vw, 2.5rem);

    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
}

.service-section {
    padding: 100px 30px;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 25px;
}

.card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.08);
    transition:
        all 0.3s ease;
}


.card:hover {
    transform:
        translateY(-5px);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.15);
}


/* ========================================
   CARD IMAGE
======================================== */

.card-image {
    width: 100%;

    height: 220px;

    overflow: hidden;
}


.card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;
}


.card:hover .card-image img {
    transform:
        scale(1.05);
}


/* ========================================
   CARD CONTENT
======================================== */

.card-content {
    padding: 20px;

    text-align: center;
}

/* ========================================
   STAR
======================================== */

.stars {
    color: #ff6666;

    font-size: 18px;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


/* ========================================
   CARD TITLE
======================================== */

.card-title {
    color: #06165c;

    font-size: 20px;

    line-height: 1.4;

    margin-bottom: 15px;

    font-weight: bold;
}


/* ========================================
   DESCRIPTION
======================================== */

.description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* ========================================
   SECOND ROW
======================================== */

.second-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.second-row .card {
    width:
        calc((100% - 75px) / 4);
}

/* ========================================
   PORTFOLIO SECTION
======================================== */

.portfolio-section {
    padding: 100px 30px;
    background: #ffffff;
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ========================================
   PORTFOLIO HEADER
======================================== */

.portfolio-section .section-header {
    margin-bottom: 50px;
}

.portfolio-label {
    display: inline-block;

    color: var(--accent-color);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.portfolio-section .section-title {
    color: #111111;
}

.portfolio-section .section-subtitle {
    color: #777777;
}


/* ========================================
   PORTFOLIO GRID
======================================== */

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* ========================================
   PORTFOLIO ITEM
======================================== */

.portfolio-item {
    position: relative;

    height: 280px;

    overflow: hidden;

    border-radius: 10px;

    cursor: pointer;

    background: #111111;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


/* Hover Card */

.portfolio-item:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.20);
}


/* ========================================
   PORTFOLIO IMAGE
======================================== */

.portfolio-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.6s ease,
        filter 0.4s ease;
}


/* Zoom Image */

.portfolio-item:hover img {
    transform: scale(1.08);

    filter: brightness(0.65);
}


/* ========================================
   PORTFOLIO OVERLAY
======================================== */

.portfolio-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 25px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.1),
            transparent
        );

    color: #ffffff;

    opacity: 0;

    transform: translateY(15px);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}


/* Show Overlay */

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;

    transform: translateY(0);
}


/* ========================================
   PORTFOLIO TEXT
======================================== */

.portfolio-overlay span {
    display: block;

    color: var(--accent-color);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 7px;
}

.portfolio-overlay h3 {
    margin: 0;

    color: #ffffff;

    font-size: 20px;

    font-weight: 700;
}


/* ========================================
   PLUS ICON
======================================== */

.portfolio-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--accent-color);

    color: #111111;

    font-size: 28px;

    font-weight: 300;

    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-icon {
    transform: rotate(90deg);
}


/* ========================================
   LIGHTBOX
======================================== */

.portfolio-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}


/* Lightbox Active */

.portfolio-lightbox.active {
    opacity: 1;
    visibility: visible;
}


/* ========================================
   LIGHTBOX IMAGE
======================================== */

.portfolio-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.portfolio-lightbox.active img {
    transform: scale(1);
}


/* ========================================
   CLOSE BUTTON
======================================== */

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.lightbox-close:hover {
    background: var(--accent-color);
    color: #111111;
    transform: rotate(90deg);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .portfolio-item {
        height: 260px;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .portfolio-section {
        padding: 70px 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-item {
        height: 250px;
    }

    .portfolio-overlay {
        opacity: 1;
        transform: translateY(0);
        padding: 20px;
    }

    .portfolio-overlay h3 {
        font-size: 18px;
    }

    .portfolio-icon {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .portfolio-lightbox {
        padding: 20px;
    }

    .portfolio-lightbox img {
        max-width: 95%;
        max-height: 80vh;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 30px;
    }

}

/* ========================================
   PORTFOLIO PAGINATION
======================================== */

.portfolio-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcdcdc;
    background: #ffffff;
    color: #333333;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.page-btn.prev,
.page-btn.next {
    font-size: 16px;
}


/* Portfolio yang sedang tidak ditampilkan */
.portfolio-item.page-hidden {
    display: none;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .portfolio-pagination {
        margin-top: 35px;
        gap: 5px;
    }

    .page-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

}

/* ========================================
   Timelaps
======================================== */
/* ========================================
   PROCESS FLOW SECTION
======================================== */

.process-section {
    padding: 100px 30px;
    background: #111;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ========================================
   HEADER
======================================== */

.process-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.process-label {
    display: inline-block;
    color: #f39c12;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.process-header h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 15px;
}

.process-header p {
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.8;
}


/* ========================================
   TIMELINE
======================================== */

.process-timeline {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    position: relative;
    gap: 20px;
}


/* LINE */

.process-timeline::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 8%;
    right: 8%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #f39c12,
        #f39c12,
        transparent
    );

    z-index: 0;
}


/* ========================================
   PROCESS ITEM
======================================== */

.process-item {
    position: relative;
    z-index: 1;
    text-align: center;
}


/* NUMBER */

.process-number {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 18px;

    background: #f39c12;
    color: #111;

    font-size: 12px;
    font-weight: 800;

    border-radius: 50%;

    box-shadow:
        0 0 0 6px #111,
        0 0 20px rgba(243, 156, 18, 0.5);
}


/* ========================================
   CONTENT CARD
======================================== */

.process-content {
    padding: 25px 15px;

    min-height: 270px;

    background: #181818;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 10px;

    transition: all 0.35s ease;
}


/* HOVER */

.process-item:hover .process-content {
    transform: translateY(-10px);

    border-color: #f39c12;

    box-shadow:
        0 15px 40px rgba(0,0,0,0.4);
}


/* ========================================
   ICON
======================================== */

.process-icon {
    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;

    background:
        rgba(243,156,18,0.1);

    border:
        1px solid rgba(243,156,18,0.3);

    border-radius: 50%;

    transition: all 0.35s ease;
}


.process-item:hover .process-icon {
    background: #f39c12;

    transform:
        rotate(10deg)
        scale(1.1);
}


/* ========================================
   TEXT
======================================== */

.process-content h3 {
    font-size: 16px;

    margin-bottom: 12px;

    font-weight: 700;

    color: #ffffff;
}


.process-content p {
    font-size: 13px;

    line-height: 1.7;

    color: #999;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {

    .process-timeline {
        grid-template-columns:
            repeat(3, 1fr);

        row-gap: 40px;
    }

    .process-timeline::before {
        display: none;
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

    .process-section {
        padding: 70px 20px;
    }

    .process-timeline {
        grid-template-columns: 1fr;

        max-width: 400px;

        margin: auto;

        gap: 25px;
    }

    .process-content {
        min-height: auto;

        padding: 25px;
    }

}

/* ========================================
   FOOTER
======================================== */

footer {
    background: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border-top:
        1px solid
        rgba(255, 255, 255, 0.05);
}


.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    color: #000000;
    font-size: 14px;
    line-height: 1.8;
}


.footer-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition:
        opacity 0.3s ease;
}


.footer-text a:hover {
    opacity: 0.8;
}


/* ========================================
   LARGE SCREEN
======================================== */

@media (min-height: 900px) {

    .coverflow-container {
        height:
            clamp(450px, 50vh, 550px);
    }
    .coverflow-item {
        width:
            clamp(280px, 30vh, 340px);
        height:
            clamp(390px, 42vh, 480px);
    }
}


/* ========================================
   SMALL LAPTOP
======================================== */

@media (max-height: 768px) {

    .coverflow-container {
        height:
            clamp(300px, 42vh, 380px);
    }
    .coverflow-item {
        width:
            clamp(180px, 24vh, 240px);

        height:
            clamp(250px, 34vh, 320px);
    }
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1100px) {

    .main-nav .logo span {
        font-size: 13px;
    }
    .main-nav .nav li a {
        padding: 0 12px;
    }
    .course-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }
    .second-row {
        grid-column: 1 / -1;
    }
    .second-row .card {
        width:
            calc((100% - 25px) / 2);
    }
}


/* ========================================
   MOBILE NAVIGATION
======================================== */

@media (max-width: 768px) {

    /* HEADER */
    .header-area {
        height: 70px;
    }

    .header-area .container {
        padding: 0 15px;
    }

    .main-nav {
        height: 70px;
    }


    /* LOGO */

    .main-nav .logo {
        gap: 8px;
        max-width:
            calc(100% - 60px);
    }

    .main-nav .logo img {
        width: 40px;
        height: 40px;
    }

    .main-nav .logo span {
        font-size: 11px;
        letter-spacing: 0.4px;
        white-space: normal;
    }


    /* MOBILE MENU */

    .menu-trigger {
        display: flex;

        flex-shrink: 0;
    }


    /* NAV */

    .main-nav .nav {
        position: fixed;

        top: 70px;
        left: 0;

        width: 100%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 15px 20px 20px;

        background:
            rgba(10, 10, 10, 0.98);

        backdrop-filter:
            blur(15px);

        -webkit-backdrop-filter:
            blur(15px);

        border-top:
            1px solid
            rgba(255, 255, 255, 0.08);

        box-shadow:
            0 15px 30px
            rgba(0, 0, 0, 0.4);
    }


    /* Untuk menu yang aktif */

    .main-nav .nav.active {
        display: flex;
    }


    .main-nav .nav li {
        width: 100%;

        display: block;
    }


    .main-nav .nav li a {
        height: auto;

        min-height: 50px;

        width: 100%;

        justify-content: center;

        padding: 12px 20px;

        font-size: 14px;
    }


    .main-nav .nav li a::after {
        display: none;
    }


    /* CONTACT */

    .border-first-button {
        margin:
            10px 0 0;
    }


    .border-first-button a {
        width: 100%;

        justify-content: center;
    }


    /* HERO */

    .hero-section {
        min-height: 600px;
    }


    /* COVERFLOW */

    .coverflow-container {
        height:
            clamp(280px, 40vh, 350px);
    }

    .coverflow-item {
        width:
            clamp(170px, 22vh, 220px);

        height:
            clamp(230px, 30vh, 300px);
    }


    /* ABOUT */

    .about-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* STATS */

    .stats {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 20px;
    }


    .stat-number {
        font-size: 1.8rem;
    }


    /* CONTACT */

    .contact-info {
        grid-template-columns: 1fr;

        gap: 20px;
    }
}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 600px) {

    .service-section {
        padding:
            70px 15px;
    }


    .container {
        padding: 0 10px;
    }


    .course-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .second-row {
        grid-column: auto;

        display: grid;

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .second-row .card {
        width: 100%;
    }


    .card-image {
        height: 200px;
    }
}


/* ========================================
   VERY SMALL MOBILE
======================================== */

@media (max-width: 480px) {

    /* HEADER */

    .main-nav .logo span {
        font-size: 9px;

        max-width: 190px;
    }


    .main-nav .logo img {
        width: 36px;
        height: 36px;
    }


    /* HERO */

    .hero-title {
        font-size: 2.5rem;
    }


    .hero-subtitle {
        font-size: 0.9rem;

        letter-spacing: 1px;
    }


    /* COVERFLOW */

    .coverflow-container {
        height:
            clamp(250px, 38vh, 320px);
    }


    .coverflow-item {
        width:
            clamp(150px, 20vh, 200px);

        height:
            clamp(200px, 28vh, 280px);
    }


    /* PORTFOLIO */

    .portfolio-overlay {
        padding: 20px;
    }


    .portfolio-title {
        font-size: 18px;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   LOADING SCREEN
======================================== */

.loading-screen {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: var(--primary-dark);

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 9999;

    transition:
        opacity 0.5s ease;
}


.loading-screen.hidden {
    opacity: 0;

    pointer-events: none;
}


.loader {
    width: 50px;
    height: 50px;

    border:
        3px solid
        rgba(255, 255, 255, 0.1);

    border-top-color:
        var(--accent-color);

    border-radius: 50%;

    animation:
        spin 1s linear infinite;
}


@keyframes spin {

    0% {
        transform:
            rotate(0deg);
    }

    100% {
        transform:
            rotate(360deg);
    }
}


/* ========================================
   SMOOTH REVEAL
======================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(30px);

    transition:
        all 0.8s ease;
}


.reveal.active {
    opacity: 1;

    transform:
        translateY(0);
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */

.floating-wa {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 6px 20px 6px 7px;
  background: #25D366;
  border-radius: 50px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

/* WhatsApp Icon */

.floating-wa .wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 50%;
  color: #25D366;
  font-size: 25px;
  transition: all 0.3s ease;
}

/* Text */

.floating-wa .wa-text {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* Hover */

.floating-wa:hover {
  transform: translateY(-5px);
  background: #20bd5a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.floating-wa:hover .wa-icon {
  transform: rotate(10deg) scale(1.05);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .floating-wa {
    right: 18px;
    bottom: 18px;
    width: 55px;
    height: 55px;
    padding: 5px;
    justify-content: center;
  }

  .floating-wa .wa-icon {
    width: 45px;
    height: 45px;
    font-size: 24px;
  }

  .floating-wa .wa-text {
    display: none;
  }

}

.floating-wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.15);
    opacity: 0;
  }

  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}