/* index page */
:root {
    --letter-spacing: 0.03rem;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #fef7ff;
    color: #212529;
    letter-spacing: var(--letter-spacing);
}

.container {
    max-width: 1300px;
    height: 100vh;
    margin: 0 auto;
    background: #fef7ff;

}

.home-link {

}

.home-link:link, .home-link:visited {
    text-decoration: none;

    color: white;
}

.home-link:link:active, .home-link:visited:active {
    color: white;
}

.header-height {
    height: 75px;
    width: 100%;
    background-color: #0747d1;
    position: absolute;
    z-index: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header {
    background-color: #0747d1;
    color: white;
    padding: 15px 20px;;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    letter-spacing: var(--letter-spacing);
    position: relative;
    z-index: 1;
}

header .logo-title {
    display: flex;
    align-items: center;
}

header img.logo {
    height: 40px;
    margin-right: 12px;
}

header .desc {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
}

nav {
    display: flex;
    gap: 16px;
}

nav button {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    letter-spacing: var(--letter-spacing);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger div {
    width: 24px;
    height: 3px;
    background: white;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
}

.gallery-padding {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: -8px;
}

.scroll-gallery {
    display: flex;
    overflow-x: auto;
    padding: 20px 20px 8px 20px;
    gap: 16px;
    cursor: grab;
}

.scroll-gallery::-webkit-scrollbar {
    height: 5px;
}

.scroll-gallery::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 5px;
}

.scroll-gallery img {
    width: 167px;
    height: 355px;
    cursor: pointer;
    border-radius: 4px;
    object-fit: contain;
}

section.title {
    background-color: #0747d1;
    color: white;
    padding: 13px 20px;
    margin: 20px;
    border-radius: 4px;
    font-size: 22px;
    font-weight: bold;
}

.content {
    padding: 0 20px;
    line-height: 1.5;
}

.google-play {
    padding: 8px 40px 16px;
}

.google-play img {
    height: 70px;
    cursor: pointer;
}

.footer-note {
    padding: 0 40px 40px;
}

.footer-note a {
    color: #0747d1;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
}

footer {
    height: 40px;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Modal styles */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: transparent;
    padding: 20px;
    display: flex;
    overflow-x: auto;
    gap: 20px;
}

.modal-content img {
    width: 250px;
    height: 533px;
    object-fit: contain;
}

.modal.show {
    display: flex;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-nav.show {
        display: flex;
        width: 100%;
    }

    /* No image resizing on small screens */
    .scroll-gallery img,
    .modal-content img {
        width: 167px;
        height: 355px;
    }

    .modal-content img {
        width: 250px;
        height: 533px;
    }
}

/* privacy */
.privacy-padding {
    padding: 20px;
}

h1 {
    font-size: 24px;
    color: #0747d1;
    margin-top: 5px;
    margin-bottom: -5px;
}

.privacy-space {
    height: 1px;
}

h2 {
    font-size: 20px;
    color: #0747d1;
    margin-top: 30px;
    margin-bottom: -6px;
}

p {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 22px;
    padding: 0 20px;
}

ul {
    padding-left: 40px;
    margin-bottom: 12px;
    line-height: 22px;
}

a.email {
    color: #0747d1;
    text-decoration: underline;
}

/* contact */

.h2-margin-left {
    margin-left: 20px;
}

.contact-space {
    height: 25px;
}

form {
    background: #fef7ff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    margin: 0 20px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
}

input, textarea {
    width: 98%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    margin-right: 20px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.4);
}

button[type="submit"] {
    background: #0747d1;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.status {
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 1200px) {
    input, textarea {
        width: 97%;
    }
}

@media (max-width: 700px) {
    input, textarea {
        width: 95%;
    }
}

@media (max-width: 500px) {
    input, textarea {
        width: 92%;
    }
}

/*----- guide ----*/
.footer {
    z-index: 1;
    position: absolute;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar, .footer {
    min-width: 220px;
    padding: 20px;
    background: rgba(7, 71, 209, 0.05);
    border-right: 1px solid rgba(204, 204, 204, 0.51);
    border-left: 1px solid rgba(204, 204, 204, 0.51);
}

.sidebar h3 {
    color: #0747d1;
    margin-top: 10px;
}

.sidebar button {
    display: block;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #212529;
    font-size: 16px;
    border-left: 3px solid transparent;
}

.sidebar button.active {
    font-weight: bold;
    color: #0747d1;
    background-color: rgba(7, 71, 209, 0.1);
    border-left-color: #0747d1;
    border-radius: 2px;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100%;
        width: 0;
        background: #fff;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-x: hidden;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .sidebar.show {
        left: 0;
    }
	.footer {
    width: 100%;
    padding: 20px;
    background: #fef7ff;
    border-right: 0 solid rgba(204, 204, 204, 0.51);
    border-left: 0 solid rgba(204, 204, 204, 0.51);
}
}

.guide-content {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    margin-left: 20px;
    margin-right: 20px;
}

.guide-section {
    display: none;
    width: 100%;
}

.guide-section.active {
    display: block;
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    flex-direction: row;
    padding: 20px 0 8px;
    gap: 16px;
}

.gallery img {
    display: block;
    width: 200px;
    object-fit: contain;
    padding-bottom: 5px;
}

.gallery-track::-webkit-scrollbar {
    height: 4px;
}

.gallery-track::-webkit-scrollbar-thumb {
    background: gray;
    border-radius: 5px;
}

.guide-section h2 {
    margin-bottom: 3px;
}

h4 {
    margin-top: 20px;
    margin-bottom: 10px;
}

ul {
    margin-top: 15px;
    margin-bottom: 23px;
}

li {
    margin-bottom: 10px;
}

/*------------------------*/
/* The side navigation menu */
.mobile-sidebar {
    display: none;
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 75px; /* Stay at the top */
    left: 0;
    background-color: rgba(7, 71, 209, 0.95); /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.05s; /* 0.5 second transition effect to slide in the sidenav */
    border-right: 1px solid rgba(204, 204, 204, 0.5);
}

.mobile-sidebar-padding {
    padding: 20px;
}

.mobile-sidebar h3 {
    color: white;
    margin-top: 10px;
}

.mobile-sidebar button {
    display: block;
    width: 100%;
    padding: 10px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    color: rgba(205, 205, 205, 0.9);
    font-size: 16px;
    border-left: 3px solid transparent;
}

.mobile-sidebar button.active {
    font-weight: bold;
    color: white;
    background-color: rgba(205, 205, 205, 0.3);
    border-left-color: white;
    border-radius: 2px;
}

.mobile-sidebar-hamburger {
    width: 239px;
    padding: 10px;
    display: none; /* ← row direction by default */
    align-items: center;
    gap: 10px; /* space between icon and label */
    cursor: pointer;
    align-content: center;
    background: rgba(7, 71, 209, 0.1);
    border: 1px solid rgba(204, 204, 204, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.humburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
}

.humburger-icon div {
    width: 28px;
}

.humburger-label {
    font-size: 18px;
    font-weight: bold;
    color: #0747d1;
}

.bg-blue {
    height: 4px;
    background: #0747d1;
}

.bg-white {
    height: 3px;
}

.close {
    display: none;
    margin-top: -35px;
    margin-left: -20px;
    margin-bottom: 30px;
    padding-left: 70%;
}

.close .bg-white {
    background: #0747d1;
}

.close .bg-blue {
    background: white;
}

.close .humburger-icon {
    color: white;
    font-size: 35px;
    margin-top: -18px;
}

.close .humburger-label {
    color: white;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-width: 780px) {
    .mobile-sidebar-hamburger {
        display: flex;
    }


    .mobile-sidebar {
        display: flex;
        padding-top: 15px;
    }

    .mobile-sidebar a {
        font-size: 18px;
    }
}