* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway-Thin', sans-serif;
}

:root {
    --primary-color: #007BE3;
    --secondary-color: #0099ff;
    --badge-color: #d2005dff;
    --white-color: #fff;
    --gray-color: #0e1111;
    --orange-color: #F46642;
    --theatre-color: #29BFD4;
    --primary-darker-color: #0066b3;
    --input-background-color: #fafafa;
    --input-text-color: #000;
    --max-width-desktop: 1024px;
    --hero-width: 900px;
    --line-height: 1.5;
}

@font-face {
    font-family: 'Raleway-Thin';
    src: url('/Fonts/Raleway-Thin.ttf') format('truetype');
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bold {
    font-weight: bold;
}

.shadow {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.title {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem !important;
    padding: 0.4rem 0;
}

.page-container {
    max-width: var(--max-width-desktop);
    margin: 0 auto;
    width: 90%;
    position: relative;
    flex-grow: 1;
}
/* Navbar */
.nav-container {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: var(--max-width-desktop);
    margin: 0 auto;
}

.nav-on-scroll {
    background-color: var(--white-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in;
}

.nav-left-side {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 4rem;
    flex-grow: 1;
}

.logo-container {
    position: relative;
}

.logo {
    width: auto;
    height: 60px;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu-item {
    list-style: none;
    position: relative;
}

    .nav-menu-item:hover {
        font-weight: bold;
        border-bottom: 2px solid var(--secondary-color);
    }

    .nav-menu-item a {
        text-decoration: none;
        color: #000;
        text-transform: uppercase;
    }

    .nav-menu-item ul {
        position: absolute;
        display: none;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        list-style: none;
        width: 200px;
        padding: 0.4rem;
    }

        .nav-menu-item ul > li {
            text-align: center;
            font-size: 0.9rem;
            font-weight: normal;
            padding: 0.2rem 0;
            position: relative;
        }

            .nav-menu-item ul > li a:hover {
                color: var(--secondary-color);
                font-weight: bold;
            }

            .nav-menu-item ul > li a {
                text-transform: none;
            }

    .nav-menu-item:hover > ul {
        display: block;
    }

.selected {
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
}

.selected-link a {
    color: var(--secondary-color);
    font-weight: bold;
}

.nav-right-side {
    display: flex;
    align-items: center;
    justify-content: end;
    flex-grow: 1;
    gap: 4rem;
}

.apply {
    background-color: var(--badge-color);
    color: white;
    font-size: 1.2rem;
    padding: 1rem 3.2rem;
    text-transform: uppercase;
    margin-top: -3.1rem;
}

    .apply a {
        text-decoration: none;
        color: var(--white-color);
    }

.hamburger-menu {
    cursor: pointer;
}

.hamburger-menu-line {
    width: 30px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: all 0.3s ease-in;
}

    .hamburger-menu-line.active:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu-line.active:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu-line.active:last-child {
        transform: rotate(-45deg) translate(7px, -8px);
    }
/* Social Media */
.social-media-container {
    position: fixed;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-media-item {
    cursor: pointer;
}

    .social-media-item img {
        width: 30px;
        height: 30px;
    }
/* Hero */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4rem 2rem;
    max-width: var(--hero-width);
}

.hero-text {
    border-left: 4px solid var(--primary-color);
    max-width: 420px;
}

    .hero-text p {
        color: var(--primary-color);
        font-size: 2.4rem;
        font-weight: bold;
        padding-left: 1rem;
    }

.hero-image {
    background-color: var(--primary-color);
    height: 360px;
    width: 360px;
    border-radius: 50%;
    position: relative;
}

    .hero-image img {
        width: 280px;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.hero-info-text {
    max-width: 430px;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 2rem 0 1rem 0;
}
/*Footer*/
.footer-container {
    padding: 2rem 0;
    width: 90%;
    margin: 0 auto;
    max-width: var(--hero-width);
    transform: translateX(-2rem);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.4rem;
}

.footer-img img {
    width: auto;
    height: 50px;
}

.footer-info-text {
    font-size: 0.8rem;
    color: var(--gray-color);
}

.footer-text {
    color: var(--gray-color);
    margin-left: 1.5rem;
}

    .footer-text .bold {
        font-size: 0.8rem;
    }

.number {
    padding-right: 1rem;
}

.address, .number, .mail {
    font-size: 0.8rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.4rem;
}

    .footer-bottom p {
        cursor: pointer;
    }

    .footer-bottom a {
        text-decoration: none;
        color: var(--gray-color);
    }

    .footer-bottom p:hover {
        opacity: 0.7;
    }

.social-media-footer {
    display: none;
}
/* about */
.hero-about {
    align-items: start;
}

.hero-about-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 480px;
}

.hero-about-top img {
    width: auto;
    height: 80px;
}

.section {
    margin: 0.4rem 0;
}

    .section p {
        line-height: var(--line-height);
        font-size: 1.2rem;
    }

.hero-about-image {
    height: 280px;
    width: 280px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: relative;
}

    .hero-about-image img {
        width: auto;
        height: 340px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* tiko sanal pos */
.tiko-pos {
    color: var(--theatre-color);
    font-size: 3rem;
}

.hero-pos {
    background-color: var(--theatre-color);
    height: 300px;
    width: 300px;
}

.pos-section p {
    font-size: 1rem;
}

/* tiko link */
.hero-link {
    background-color: var(--primary-darker-color);
    height: 300px;
    width: 300px;
}

    .hero-link img {
        height: 380px;
    }

.link-section p {
    font-size: 1rem;
}

.link-pos {
    color: var(--primary-darker-color);
    font-size: 3rem;
}
/* tiko installment */
.hero-installment {
    background-color: var(--orange-color);
    height: 300px;
    width: 300px;
}

.installment-section p {
    font-size: 1rem;
}

.installment-pos {
    color: var(--orange-color);
    font-size: 3rem;
}

.hero-installment-image {
    background-color: var(--orange-color);
    height: 300px;
    width: 300px;
    border-radius: 50%;
    position: relative;
}

.installment-images {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .installment-images img {
        width: auto;
        height: 300px;
    }

.bottom-image {
    margin-top: -160px;
}
/* tiko terminal */
.hero-terminal {
    background-color: var(--primary-color);
    height: 300px;
    width: 300px;
}

    .hero-terminal img {
        height: 400px;
    }

.terminal-section {
    margin-bottom: 1rem;
}

    .terminal-section p {
        font-size: 1rem;
    }

    .terminal-section ul {
        margin-left: 1rem;
    }

        .terminal-section ul li::marker {
            font-size: 0.6rem;
        }

.terminal-pos {
    color: var(--primary-color);
    font-size: 3rem;
}

/* contact */
.form-header {
    max-width: var(--hero-width);
    margin-top: 3rem;
}

    .form-header p {
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-color);
    }

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    max-width: var(--hero-width);
}

.form-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    background-color: var(--input-background-color);
    color: var(--input-text-color);
}

    .form input:focus {
        border: 2px solid var(--primary-color);
    }

.form-textarea {
    width: 100%;
}

.form textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    outline: none;
    font-size: 1rem;
    background-color: var(--input-background-color);
}

    .form textarea:focus {
        border: 2px solid var(--primary-color);
    }

.form button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 1rem 4rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
}

    .form button:hover {
        background-color: var(--primary-darker-color);
    }

.form-contact-info {
    text-align: center;
}

    .form-contact-info .contact-num {
        color: var(--primary-color);
        font-weight: bold;
    }

/* useragreement - privacy*/
.legal {
    padding: 2rem;
    font-size: 0.9rem;
}

    .legal .title-main {
        color: black;
        text-align: center;
        width: 100%;
        font-size: 1.5rem;
        font-weight: bold;
    }

    .legal .title {
        color: black;
    }

    .legal .section {
        margin: 2rem 0;
    }

        .legal .section .row {
            margin: 0.5rem 0;
        }

    .legal h4 {
        margin: 1rem 0;
    }

    .legal ul {
        margin-left: 2rem;
    }

    .legal .title-main {
        margin-bottom: 2rem;
    }

/* responsive */
@media screen and (max-width: 520px) {
    html {
        font-size: 18px;
    }

    .hero-container {
        margin: 2rem 0;
    }

    .hero-about-image, .hero-image {
        height: 200px;
        width: 200px;
    }

        .hero-about-image img, .hero-image img {
            height: 140px;
            width: auto;
            max-width: 375px;
            object-fit: cover;
        }

    .installment-images img {
        height: 200px;
        width: auto;
        max-width: 375px;
        object-fit: cover;
    }

    .nav-menu-container {
        display: none;
    }

        .nav-menu-container.active {
            display: block;
        }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        padding: 1rem 0;
    }

    .nav-menu-item {
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        width: 100%;
        text-align: center;
    }

        .nav-menu-item ul {
            display: none;
            width: 100%;
            position: relative;
            top: 0;
            left: 0;
            transform: none;
        }

        .nav-menu-item.active > ul {
            display: block;
        }

        .nav-menu-item li a {
            font-weight: normal;
        }

        .nav-menu-item ul > li {
            width: 100%;
            text-align: center;
        }
        /* dont do anything on hover .nav-menu-item */
        .nav-menu-item:hover {
            border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        }

    .footer-img img {
        height: 50px;
        width: auto;
    }

    .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-text {
        text-align: left;
        margin-left: 0;
    }

        .footer-text p {
            padding-bottom: 0.2rem;
        }

    .footer-bottom {
        gap: 0.2rem;
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.8rem;
    }

    .form-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .form-header p {
        font-size: 1.5rem;
    }

    .social-media-container {
        display: none;
    }

    .social-media-footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        margin-top: 0.4rem;
    }
}

@media screen and (max-width: 768px) {
    .apply {
        display: none;
    }

    .hero-container {
        flex-direction: column-reverse;
        align-items: center;
        gap: 4rem;
    }

    .hero-about-container {
        gap: 1rem;
    }

    .hero-about-image, .hero-image {
        height: 200px;
        width: 200px;
    }

        .hero-about-image img, .hero-image img {
            height: 300px;
            width: auto;
        }

    .hero-text p {
        font-size: 2rem;
    }

    .hero-info-text p {
        font-size: 1rem;
    }

    .footer-container {
        max-width: var(--max-width-desktop);
        transform: translate(0);
    }
}

@media screen and (max-width: 920px) {
    .apply {
        font-size: 1rem;
        padding: 1.1rem 2.4rem;
    }

    .nav-left-side {
        gap: 1.5rem;
    }

    .nav-right-side {
        gap: 1.5rem;
    }

    .hero-about-image, .hero-image, .hero-installment-image {
        height: 280px;
        width: 280px;
        min-width: 280px;
    }

    .hero-about-image img, .hero-image img {
        height: 360px;
        width: auto;
    }

    .installment-images img {
        height: 280px;
        width: auto;
    }
}
