* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}

a {
    color: rgb(66, 133, 244);
    text-decoration: none;
}

a:hover {
    color: #4285F4;
}

.section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.section img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 5;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
}

.heading-container {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    z-index: 10;
}

.main-heading {
    font-size: 3rem;
    font-weight: 100;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    color: white;
    margin-bottom: 5px;
}

.sub-heading {
    font-size: 1.37rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    color: white;
}

.bottom-center-text {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 45%;
    font-size: 1.2rem;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 5px;
    font-weight: 400;
    line-height: 1.4;
    z-index: 10;
    display: block !important;
}

.scroll-arrow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: visible;
}

.scroll-arrow:hover {
    transform: translate(-50%, 5px);
}

/* Upward arrow */
.scroll-up-arrow {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 50px;
    height: 50px;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: visible;
}

.scroll-up-arrow:hover {
    transform: translateX(-50%) rotate(180deg) translateY(-5px);
}

.scroll-arrow img,
.scroll-up-arrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0px 0px 3px rgba(0, 0, 0, 0.5));
}

.bottom-left-text p,
.bottom-right-text p,
.bottom-center-text p {
    margin: 0;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Buy button styles */
.buy-button {
    position: absolute;
    top: 57px;
    right: 40px;
    z-index: 100;
    padding: 10px 20px;
    background-color: rgb(66, 133, 244, 0.7);
    color: white;
    border: 1px solid rgb(66, 133, 244);
    border-radius: 3px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.buy-button:hover {
    background-color: rgba(66, 133, 244, 1);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.buy-button:active {
    transform: translateY(0);
}

/* book display */

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slideshow-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow-images img.active {
    opacity: 1;
    z-index: 1;
}

/* footer */

.footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    position: relative;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-links a:hover {
    color: #ccc;
    text-decoration: none;
}

.copyright {
    margin-top: 15px;
    font-size: 0.9em;
    color: #aaa;
}

/* Contact Form Styles */
.contact-form-container {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    z-index: 11;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #333;
    color: #fff;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* Thank you message styles */
.thank-you-message {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    font-weight: bold;
    animation: fadeIn 0.5s;
    z-index: 11;
}

/* Error message styles */
.form-error {
    display: none;
    background-color: #ff6b6b;
    color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
    animation: shake 0.5s;
    z-index: 11;
}

/* Terms & Conditions, Privacy Policy styles */
.terms-container {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 11;
}

.privacy-container {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #222;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 600px;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 11;
}

.terms-container h2 {
    color: #fff;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.terms-content {
    color: #ddd;
    text-align: left;
    line-height: 1.6;
}

/* Language switcher styles */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 0 20px 0;
}

.lang-btn {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn:hover {
    background-color: #444;
}

.lang-btn.active {
    background-color: #3498db;
    border-color: #3498db;
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes shake {

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

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* legal content */

h1 {
    font-size: 24px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

h2 {
    font-size: 20px;
    margin-top: 30px;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

.company-info {
    margin-bottom: 20px;
}

.legal-section {
    margin-bottom: 30px;
}

.legal-section-num {
    font-weight: bold;
}

.updated-date {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

/* site language switcher */

.site-language-switcher {
    position: fixed;
    top: 57px;
    left: 20px;
    z-index: 1000;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 3px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.site-language-switcher .lang-link {
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.site-language-switcher:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.site-language-switcher .lang-link:hover {
    color: white;
}

/* different screen sizes */

@media screen and (max-width: 992px) {
    .bottom-center-text {
        max-width: 80%;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        /* font-size: 1.2rem; */
    }

    .buy-button {
        top: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .site-language-switcher {
        top: 10px;
    }
}

@media screen and (max-width: 768px) {
    .main-heading {
        font-size: 2.5rem;
        margin-bottom: 0px;
    }

    .sub-heading {
        font-size: 1.1rem;
    }

    .bottom-center-text {
        max-width: 95%;
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        font-size: 1rem;
    }
}

@media screen and (max-width: 450px) {
    .main-heading {
        font-size: 2rem;
    }

    .sub-heading {
        font-size: 0.9rem;
    }
}

/* 
@media screen and (max-height: 400px) {
    .section {
        min-height: 400px;
        height: 400px;
    }
}
*/

/* iPhone 12, 13, 14 + */
@media only screen and (min-device-width: 390px) and (max-device-width: 844px) and (orientation: portrait) {
    .bottom-center-text {
        max-width: 85%;
        font-size: 1.05rem;
        line-height: 1.3;
        transform: translateX(-50%);
    }
}

/* iPhone 12, 13, 14 + */
@media only screen and (min-device-width: 390px) and (max-device-width: 844px) and (orientation: landscape) {
    .bottom-center-text {
        max-width: 55%;
        font-size: 0.9rem;
        line-height: 1.3;
        transform: translateX(-12%);
    }

    .main-heading {
        font-size: 2.45rem;
    }

    .sub-heading {
        font-size: 1.1rem;
    }
}

/* iPhone 12, 13 Pro Max */
@media only screen and (min-device-width: 428px) and (max-device-width: 926px) and (orientation: landscape) {
    .bottom-center-text {
        bottom: 60px;
        max-width: 55%;
        font-size: 1rem;
        line-height: 1.3;
        transform: translateX(-12%);
    }
}

/* Galaxy Note 20 Android 11 */
@media only screen and (min-device-width: 412px) and (max-device-width: 915px) and (orientation: portrait) {
    .bottom-center-text {
        left: 50%;
        transform: translateX(-50%);
        max-width: 80%;
        font-size: 1.1rem;
        line-height: 1.4;
    }
}

/* Galaxy Note 20 Ultra Android 11 */
@media only screen and (min-device-width: 412px) and (max-device-width: 915px) and (orientation: landscape) {
    .bottom-center-text {
        bottom: 60px;
        max-width: 60%;
        font-size: 1rem;
        line-height: 1.3;
        transform: translateX(-18%);
    }
}

/* Galaxy S10/S10 + Android 11 */
@media only screen and (min-device-width: 360px) and (max-device-width: 760px) and (orientation: portrait) {
    .bottom-center-text {
        left: 50%;
        transform: translateX(-50%);
        max-width: 90%;
        font-size: 0.95rem;
        line-height: 1.3;
    }

    .main-heading {
        font-size: 1.98rem;
        margin-bottom: 5px;
    }
}

/* Galaxy S10/S10 + Android 11 */
@media only screen and (min-device-width: 360px) and (max-device-width: 760px) and (orientation: landscape) {
    .bottom-center-text {
        bottom: 60px;
        max-width: 55%;
        font-size: 0.9rem;
        line-height: 1.4;
        transform: translateX(-12%);
    }
}

/* Galaxy S20 Android 11 */
@media only screen and (min-device-width: 360px) and (max-device-width: 800px) and (orientation: landscape) {
    .bottom-center-text {
        bottom: 60px;
        max-width: 60%;
        font-size: 0.9rem;
        line-height: 1.4;
        transform: translateX(-18%);
    }
}