/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ================= BODY ================= */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    background-color: #0d0d0d;
    color: #ddd;

    line-height: 1.6;
    letter-spacing: 0.3px;

    overflow-x: hidden;
    position: relative;
}

/* ================= OPEN BOOK EFFECT ================= */

body::before {
    content: "";

    position: fixed;

    top: 0;
    left: -80px;

    width: 200px;
    height: 100vh;

    background: linear-gradient(
        to right,
        rgba(255,255,255,0.05),
        rgba(0,0,0,0)
    );

    transform: skewY(-5deg);

    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";

    position: fixed;

    top: 0;
    right: -80px;

    width: 200px;
    height: 100vh;

    background: linear-gradient(
        to left,
        rgba(255,255,255,0.05),
        rgba(0,0,0,0)
    );

    transform: skewY(5deg);

    pointer-events: none;
    z-index: 0;
}

/* ================= HEADER ================= */

.header {
    position: sticky;
    top: 0;

    z-index: 100;

    background: rgba(20,20,20,0.75);

    backdrop-filter: blur(12px);

    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.container {
    width: 90%;
    max-width: 1200px;

    height: 80px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ================= LOGO ================= */

.logo img {
    height: 105px;

    margin-top: 18px;

    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.08);
}

/* ================= NAV ================= */

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    color: #ddd;

    text-decoration: none;

    margin-left: 30px;

    font-size: 16px;
    font-weight: 500;

    position: relative;

    transition: 0.3s ease;
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    background: gold;

    transition: 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: gold;
}

/* ================= HERO ================= */

.hero {
    min-height: 90vh;

    padding: 120px 20px 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background: radial-gradient(
        circle at top,
        #1f1f1f,
        #0d0d0d 70%
    );

    position: relative;
    z-index: 1;
}

.hero-container {
    width: 100%;
    max-width: 1100px;
}

/* ================= SLIDER ================= */

.slider {
    position: relative;

    width: 100%;
    height: 280px;

    overflow: hidden;

    margin-bottom: 30;
}

/* ================= SLIDES ================= */

.slide {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;

    transform: translateX(-200px);

    transition:
        opacity 1s ease,
        transform 1s ease;

    will-change: transform, opacity;

    pointer-events: none;
}

/* ACTIVE SLIDE */

.slide.active {
    opacity: 1;

    transform: translateX(0);
}

/* ================= HEADINGS ================= */

.slide h1 {
    font-size: 60px;

    line-height: 1.1;

    color: white;

    margin-bottom: 20px;
}

.slide h1 span {
    color: gold;
}

/* ================= PARAGRAPH ================= */

.slide p {
    font-size: 22px;
    margin-top: 20px;

    color: #aaa;

    overflow: hidden;

    white-space: nowrap;

    border-right: 2px solid gold;

    display: inline-block;

    max-width: 0;

    opacity: 0;
}

/* ACTIVE TYPEWRITER */

.slide.active p {
    opacity: 1;

    animation:
        typing 2.5s steps(60, end) forwards,
        blink 0.7s infinite;
}

/* ================= TYPEWRITER ANIMATION ================= */

@keyframes typing {

    from {
        max-width: 0;
    }

    to {
        max-width: 1000px;
    }
}

@keyframes blink {

    50% {
        border-color: transparent;
    }
}

/* ================= STEPS FLOW ================= */

.steps-flow {
    position: relative;
    z-index: 10;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;

    width: 100%;

    overflow-x: auto;

    padding-bottom: 10px
    margin-top: 20px;
}

/* STEP GROUP */

.steps-group {
    display: flex;
    align-items: center;

    gap: 6px;

    flex-shrink: 0;
}

/* STEP DOT */

.step {
    width: 10px;
    height: 10px;

    background: white;

    border-radius: 50%;
}

/* DOT INTENSITY */

.steps-group .step:nth-child(1) {
    opacity: 0.3;
}

.steps-group .step:nth-child(2) {
    opacity: 0.6;
}

.steps-group .step:nth-child(3) {
    opacity: 1;
}

/* STEP LABEL */

.step-end {
    width: 110px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: gold;
    color: #111;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;

    flex-shrink: 0;

    box-shadow:
        0 0 18px rgba(255,215,0,0.35);

    transition: 0.3s ease;
}

.step-end:hover {
    transform: translateY(-2px);
}

/* ================= BLANK SECTION ================= */

.blankline {
    padding: 60px 20px;

    text-align: center;
}

.blankline h2 {
    font-size: 42px;
    color: white;
}

.blankline span {
    color: gold;
}

/* ================= FOOTER ================= */

.footer {
    margin-top: 60px;

    padding: 40px 0 20px;

    background: rgba(15,15,15,0.95);

    border-top: 1px solid rgba(255,255,255,0.05);

    position: relative;
    z-index: 1;
}

.footer-container {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    text-align: center;
}

.footer-left h3 {
    font-size: 24px;

    color: gold;

    margin-bottom: 10px;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #ddd;

    text-decoration: none;

    margin: 0 15px;

    transition: 0.3s ease;
}

.footer-links a:hover {
    color: gold;
}

.footer-bottom {
    margin-top: 20px;

    font-size: 12px;

    color: #666;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .container {
        height: 70px;
    }

    .logo img {
        height: 80px;
    }

    .nav a {
        margin-left: 18px;

        font-size: 14px;
    }

    .slider {
        height: 360px;
    }

    .slide h1 {
        font-size: 40px;
    }

    .slide p {
        font-size: 16px;

        white-space: normal;

        border-right: none;
    }

    .steps-flow {
        gap: 10px;
    }

    .step-end {
        width: 90px;
        height: 38px;

        font-size: 12px;
    }

    .blankline h2 {
        font-size: 32px;
    }
}



/* ================= CONTACT SECTION ================= */

/* ================= CONTACT SECTION ================= */

.contact-section {
    padding: 140px 20px;

    position: relative;
    z-index: 1;
}

/* WRAPPER */

.contact-wrapper {
    width: 100%;
    max-width: 900px;

    margin: auto;

    text-align: center;
}

/* MINI TEXT */

.contact-mini {
    color: gold;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 22px;
}

/* TITLE */

.contact-wrapper h2 {
    font-size: 58px;

    line-height: 1.1;

    color: white;

    margin-bottom: 20px;
}

.contact-wrapper h2 span {
    color: gold;
}

/* SUBTEXT */

.contact-subtext {
    color: #8e8e8e;

    font-size: 18px;

    margin-bottom: 60px;
}

/* CARD */

.contact-card {
    position: relative;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.05),
            rgba(255,255,255,0.02)
        );

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 32px;

    padding: 50px;

    backdrop-filter: blur(18px);

    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.45);
}

/* GOLD GLOW */

.contact-card::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -120px;

    width: 260px;
    height: 260px;

    background: rgba(255,215,0,0.08);

    border-radius: 50%;

    filter: blur(50px);
}

/* FORM */

.contact-form {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;

    gap: 22px;
}

/* TWO INPUTS */

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

/* INPUTS */

.contact-form input,
.contact-form textarea {
    width: 100%;

    background: rgba(255,255,255,0.04);

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 16px;

    padding: 18px 20px;

    color: white;

    font-size: 15px;

    outline: none;

    transition: 0.3s ease;
}

/* TEXTAREA */

.contact-form textarea {
    min-height: 180px;

    resize: none;
}

/* PLACEHOLDER */

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #777;
}

/* FOCUS */

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: gold;

    box-shadow:
        0 0 0 4px rgba(255,215,0,0.08);
}

/* BUTTON */

.contact-form button {
    height: 58px;

    border: none;

    border-radius: 16px;

    background: gold;

    color: #111;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}

/* BUTTON HOVER */

.contact-form button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 35px rgba(255,215,0,0.25);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .contact-wrapper h2 {
        font-size: 40px;
    }

    .contact-subtext {
        font-size: 16px;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px;
    }
}


/* ================= SCROLL TO TOP BUTTON ================= */

#scrollTopBtn {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 52px;
    height: 52px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(20,20,20,0.75);

    color: gold;

    border: 1px solid rgba(255,215,0,0.35);

    border-radius: 14px;

    font-size: 24px;
    font-weight: bold;

    cursor: pointer;

    backdrop-filter: blur(10px);

    z-index: 9999;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: all 0.3s ease;
}

/* SHOW BUTTON */

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* HOVER EFFECT */

#scrollTopBtn:hover {
    transform: translateY(-4px);

    border-color: gold;

    box-shadow:
        0 10px 30px rgba(255,215,0,0.18);
}
