/* Splash Screen Specific Styles (Scoped to .splash-screen) */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #6990F2;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Particle canvas for splash animation */
.splash-screen #particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.splash-screen .logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.splash-screen .logo {
    width: 200px;
    height: auto;
    animation: glow 3s infinite ease-in-out;
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 20px #ffffff);
    }
    50% {
        filter: drop-shadow(0 0 30px #ffffff) drop-shadow(0 0 50px #ffffff);
    }
}

.splash-screen .text {
    color: #ffffff;
    font-size: 28px;
    margin-top: 20px;
    animation: fadeIn 3s ease-in-out 1s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Main Content Visibility Control */
.main-content {
    display: none; /* Hidden initially */
    margin: 0px 10px 0px 10px;
}

/* Footer Styling */
.page-footer {
    width: 100%;
    text-align: center;
    background: transparent;
    padding: 10px 0;
}

.page-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 20px;
}

.page-footer ul li {
    display: inline;
}

.page-footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.page-footer ul li a:hover {
    color: #ccc; /* Light gray on hover */
    text-decoration: underline;
}

@keyframes zoomAndPan {
    0% {
        transform: scale(1);
        transform-origin: 0% 50%; /* Start at the center */
    }
    50% {
        transform: scale(2); /* Zoom to 2x */
        transform-origin: 0% 80%; /* Pan to 10% left, 80% bottom */
    }
    100% {
        transform: scale(1);
        transform-origin: 0% 50%; /* Return to center */
    }
}

/* 3 Steps Section Styling */
.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 30px; */
    text-align: center;
    place-items: flex-start;
}

.steps-container .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

.steps-container .blank-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}

.steps-container img {
    width: 100%;
    max-width: 150px;
    height: auto;
    border-radius: 10px;
}

.steps-container p {
    margin-top: 10px;
    font-size: 16px;
    color: white;
}

#get-started-title {
    text-align: center;
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 20px; */
    max-width: 100%; /* Ensure container doesn't exceed screen width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.wrapper2 {
    width: 430px;
    background: #6990F2;
    border-radius: 5px;
    text-align: center;
    /*padding: 30px;*/
}

/* Logo Section Styles */
.logo-section {
    text-align: -webkit-center;
    margin-top: 20px; /* Add some spacing from the top */
}

.logo-section img {
    height: 50px;
    max-width: 50px;
}

/* Main Title Styles */
.main-title {
    text-align: center;
}

.main-title h1 {
    font-size: 30px; /* Larger font size for prominence */
    color: white; /* Matches the design theme */
    font-weight: bold;
    padding: 10px;
}

/* Button Container */
.button-container {
    text-align: center;
    margin: 10px 0; /* Spacing from other elements */
}

/* Big Blue Button */
#get-started-button {
    background-color: #5678d6; /* Blue background matching the theme */
    color: white; /* White text for contrast */
    font-size: 20px; /* Big font size for prominence */
    font-weight: bold;
    border: none; /* Remove default button borders */
    padding: 15px 30px; /* Padding for a large button feel */
    border-radius: 20px; /* Slightly rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s ease;
}

#get-started-button:hover {
    background-color: #0f2b82; /* Darker blue on hover */
}

/* Modal container */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Modal content */
.modal-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 300px;
    width: 90%;
}

/* Warning icon */
.warning-icon {
    font-size: 50px;
    color: #f39c12; /* Warning yellow color */
    margin-bottom: 15px;
}

/* Text */
.modal-text {
    font-size: 16px;
    margin-bottom: 20px;
}

/* Button */
.reload-btn {
    padding: 10px 20px;
    background-color: #e74c3c; /* Warning red color */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.reload-btn:hover {
    background-color: #c0392b; /* Darker red */
}

h1 {
    font-size: 2.5em;
    margin: 20px 0;
}

.main-content {
    display: block;
}

.hiw_intro {
    font-size: 16px;
    color: white;
    font-family: "Poppins", sans-serif;
    text-align: justify;
    line-height: 1.5em;
    max-width: 900px;
    width: 90%;
    /* margin-bottom: 30px; */
}

.hiw_steps-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    width: 90%;
    max-width: 900px;
}

.hiw_step:nth-child(1) {
    flex-direction: row;
}

.hiw_step:nth-child(2) {
    flex-direction: row-reverse;
}

.hiw_step:nth-child(3) {
    flex-direction: row;
}

.hiw_step:nth-child(4) {
    flex-direction: row-reverse;
}

.hiw_step:nth-child(5) {
    flex-direction: row;
}

.hiw_step {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transform: translateY(50px);
    opacity: 1;
}

.hiw_step::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background-color: white;
    color: #6990F2;
    font-weight: bold;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.hiw_step:nth-child(2)::before, .hiw_step:nth-child(4)::before {
    left: auto;
    right: -10px;
}

.hiw_step .image-container-l {
    width: 200px; /* Fixed width */
    height: 200px; /* Fixed height */
    border-radius: 10px;
    overflow: hidden; /* Ensures zoomed image stays inside the container */
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-left: 20px;
    margin-left: 20px;
}

.hiw_step .image-container-r {
    width: 200px; /* Fixed width */
    height: 200px; /* Fixed height */
    border-radius: 10px;
    overflow: hidden; /* Ensures zoomed image stays inside the container */
    position: relative;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    margin-left: 20px;
}

.hiw_step img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.3s ease;
}

/* Zoom animation only for the first image */
.hiw_step:first-child img {
    animation: zoomAndPan 15s infinite;
}

.hiw_step p {
    font-size: 16px;
    color: white;
    font-family: "Poppins", sans-serif;
    line-height: 1.5em;
    text-align: justify;
    width: 70%;
}

.hiw_step p a {
    color: yellow;
}

.hiw_step p b {
    color: yellow;
}

/* Example */
div.video-wrapper-1 {
    height: 100%;
    position: relative;
}

div.video-wrapper-2 {
    width: 100%;
    height: 100%;
}

div.video-wrapper-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

div.video-wrapper-4 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    aspect-ratio: 9/16 !important;
    overflow: hidden;
}

video {
    display: block;
}

.discount-tag {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    background-color: #f4e333;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 6px 10px;
    margin-top: 15px;
}

.discount-tag img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 16px;
}

.discount-text {
    display: flex;
    flex-direction: column;
}

.discount-text p:first-child {
    font-size: 14px;
    font-weight: 300;
    color: black;
}

.discount-text p:last-child {
    font-size: 1.125rem;
    font-weight: 700;
    color: black;
    text-align: center;
}

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #5678d6;
    color: #f9f9f9;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 20px 30px;
    max-width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    animation: fade-in 0.6s ease-out, slide-up 0.6s ease-out;
}

#cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

#cookie-banner a {
    color: #00d1ff;
    text-decoration: underline;
}

#cookie-banner div {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center buttons horizontally */
    align-items: center; /* Align buttons on the same line */
    gap: 20px; /* Add 20px space between buttons */
    margin-top: 10px;
}

#accept-cookies {
    background-color: #00c851;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#decline-cookies {
    background-color: #ff3547;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#cookie-banner button:hover {
    opacity: 0.85;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        transform: translateX(-50%) translateY(50%);
    }
    to {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 768px) {
    .steps-container p {
        font-size: 14px;
    }

    #step1 {
        margin-left: 20px; /* Add left margin for step1's paragraph */
    }

    #step3 {
        margin-right: 20px; /* Add left margin for step1's paragraph */
    }

    .hiw_step {
        flex-direction: column !important;
        text-align: center;
    }

    .hiw_step p {
        text-align: center;
        width: 100%;
    }

    .hiw_step .image-container {
        width: 200px; /* Fixed width */
        height: 200px; /* Fixed height */
    }

    .hiw_intro {
        width: 80%;
    }
}