@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --dark-purple: #2E1B52;
    --medium-purple: #3B2A72;
    --light-purple: #8B61F7;
    --gradient-start: #F0EAFB;
    --gradient-end: #8B61F7;
    --white: #FFFFFF;
}
body {
    background: linear-gradient(135deg, #F0EAFB, #8B61F7); /* Lavender to deeper purple */
    color: var(--dark-purple);
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blur effect */
    color: var(--dark-purple);
    padding: 1rem 2rem; /* Default padding for smaller screens */
    z-index: 1000; /* Ensures the header stays on top */
    animation: fadeIn 0.5s ease-in-out; /* Fade-in animation */
    transition: background-color 0.3s ease, padding 0.3s ease;
}

header a.logo {
    color: var(--dark-purple);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem; /* Default font size */
    transition: color 0.3s ease;
    cursor: pointer;
}

#logo {
    width: 50px; /* Default width for smaller screens */
    max-width: 70px; /* Limit the maximum width */
    height: auto;
    margin-right: 1rem; /* Space between logo and text */
    border-radius: 16px;
    padding: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section{
    padding: 0 2rem;
}
p{
    font-size: 1.2rem;
    line-height: 1.3;
}

/* main {
    max-width: 1440px;
} */
.invpurchase h2 {
    /* font-size: 1.875rem; */
    color: #1C0F36;
}
section.ceoMessage {
    margin: 2rem 0 ;
}
section.ceoMessage p{
    color: var(--dark-purple);
}
#ceoQuote {
    margin-top: 1rem;
    font-size: 1rem;
}
#mb {
    margin-bottom: 4rem;
}
.cquote {
    text-align: center;
    width: 70%;
    max-width: auto;
    margin: 4rem auto;  
}
#sec {
	text-align: center;
    margin-top: 2rem 0 ;
    font-size: 1rem;
}
.centralQuote{
    text-align: center;
    margin-top: 2rem;
    font-size: 1.2rem;
}

.videosContainer{
    display: flex;
    justify-content: space-between;
    gap: 1.2rem; /*just added*/
    /* align-items: center; */
}
video {
    /* width: 100%;
    max-width: 500px;
    border-radius: 8px;
    height: auto; */
    width: 100%;
    max-width: 100%; /* Ensure videos do not exceed their container's width */
    border-radius: 8px;
    height: auto;
}
.vidheight{
    height: 234px;
}
.vids {
    flex: 1;
    max-width: 100%;
    text-align: center;
}
.vids-container {
    display: flex;
    justify-content: space-between; /* Space out the videos */
    gap: 2rem; /* Add some space between the video elements */
    flex-wrap: wrap; /* If the screen is too narrow, the videos will wrap to the next line */
}

.vids {
    flex: 1;
    max-width: 50%; /* Ensure that each video takes up at most half the container width */
}

video {
    width: 100%; /* Make the video take up the full width of its container */
    height: auto;
}
.vids p, .vids h2{
    text-align: center;
}
.mid{
    margin-top: 10rem;
}
.last {
    margin-top: 4rem;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.invpurchase{
    margin: 2rem auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}
#investment, .purchaseStatus{
    flex: 1;
}
#customInput {
    margin: 20px 0;
}
.vl{
    border-left: 2px solid var(--dark-purple);
    height: 300px;
    margin-left: 2em;
    margin-right: 2em;
}
/* General styling for the select dropdown */
select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    background-color: #f3f2ec;
    color: #2f5f48;
    border: 2px solid #2f5f48;
    border-radius: 8px;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Add a chevron icon to the right */
select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234a148c"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px; /* Adjust padding to fit the icon */
}

/* Styling for the options (not much control with CSS, but this enhances the look slightly) */
select option {
    padding: 10px;
    font-size: 16px;
    background-color: #f3f2ec; /* Light background to contrast with purple */
    color: #4a148c; /* Dark purple text color */
}

/* Hover effect */
select:hover {
    border-color: #6a1b9a; /* Darker purple border on hover */
}

/* Focus effect with animation */
select:focus {
    border-color: #6a1b9a; /* Darker purple border on focus */
    box-shadow: 0 0 5px rgba(106, 27, 154, 0.5); /* Purple shadow effect */
    transform: scale(1.02); /* Slightly enlarges the select box */
    transition: all 0.3s ease; /* Smooth transition for focus effect */
}

/* Customize the select dropdown arrow */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 30px; /* Space for the custom arrow */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234a148c" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
}
  

/* Container Styling */
.tutorial {
    background-color: #8B61F7; /* Deep purple matching the gradient */
    border-radius: 15px;
    color: #FFFFFF; /* White text for high contrast */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    margin-top: 10em;
    padding: .3em 2rem .9em 2rem;
}
.tutlink {
    color: #FFFFFF;
}
.tutlink:hover {
    color: #E6DBFA;
}
/* Heading Styling */
.tutorial h2 {
    font-size: 1.2rem;
    color: #F0EAFB; /* Light Lavender */
    /* text-align: center; */
    margin: 1rem;
    padding-top: 1rem;
}

/* Instruction List Styling */
.tutorial ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
}

.tutorial ul li {
    margin: 10px 0;
    color: #E6DBFA; /* Slightly lighter text for list items */
}
.download {
    display: flex;
    align-items: center;
}
.stores {
    width: 140px; /* Default width for smaller screens */
    max-width: 200px; /* Limit the maximum width */
    height: auto;
    margin-right: 1rem;
}

/* Survey Box Styling */
.survey-box {
    background-color: #F3F2EC; 
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: var(--dark-purple);
    margin: 7rem auto 3rem auto;
    max-width: 500px;
}
.survey-box h3 {
    font-size: 20px;
    color: #2F5F48; /* Dark green for survey heading */
    margin-bottom: 10px;
}

.survey-box button {
    background-color: #6A1B9A; /* Dark purple for buttons */
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 1rem 0;
}
.video-container {
    position: relative;
    width: 640px; /* Adjust as needed */
    height: 430px; /* Adjust as needed */
}

/* Full-screen loading container */
/* html, body {
    height: 100%;
    margin: 0;
    padding: 0;
} */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #F0EAFB, #8B61F7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loading SVG GIF styling */
.loading-gif {
    width: 200px;
    height: 200px;
}

/* Main content styling */
.main-content {
    display: none; /* Hidden until loading is done */
    opacity: 0; /* Initially transparent */
    transition: opacity 1s ease-in-out; /* Fade-in effect */
}

.main-content.show {
    opacity: 1; /* Fully visible after fade-in */
}


/* #targetVideo 
    display: none;
    width: 100%;
    height: 100%;
} */


.survey-box button:hover {
    background-color: #4A148C; /* Slightly darker on hover */
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background: linear-gradient(135deg, #F0EAFB, #8B61F7); /* Lavender to deeper purple gradient */
    margin: 15% auto; /* 15% from the top and centered */
    padding: 16px;
    border-radius: 10px;
    width: 80%;
    max-width: 430px; /* Limit modal width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    animation: fadeIn 0.5s ease-in-out;
}
.modal-button {
    padding: 10px 27px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    background-color: #6a1b9a; /* Purple */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
/* .1modal-button {
    padding: 10px 20px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    background-color: #8B61F7;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
} */
.modal-button:disabled {
    background-color: grey;
    cursor: not-allowed;
}
.modal-button:hover {
    background-color: #4a148c; /* Darker purple on hover */
}
/* #costunbtn {
    margin-top: 1rem;
} */

/* Close Button */
.close {
    color: #6a1b9a; /* Purple */
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem;
}

.close:hover,
.close:focus {
    color: #4a148c; /* Darker purple on hover */
}

/* Modal Text */
.modal-content p, .modal-content label {
    color: var(--dark-purple); /* Darker purple text */
    font-size: 18px;
    line-height: 1.5;
}

/* Animation for Modal */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Styling for the section */
.signal{
    background: linear-gradient(135deg, #F0EAFB, #8B61F7);
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center-align text */
}
/* Styling for the heading */
.signal h2 {
    color: var(--dark-purple); /* Dark purple heading color */
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Styling for the paragraph */
.signal p {
    color: var(--dark-purple); /* Matching paragraph color */
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Styling for the links */
.signal .links a {
    display: inline-block;
    background-color: #8B61F7; /* Dark purple background for links */
    color: white; /* White text color */
    padding: 0.8rem 1.2rem;
    margin: 0.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition effects */
}

/* Hover effect for the links */
.signal .links a:hover {
    background-color: #9C27B0; /* Lighter purple on hover */
    transform: scale(1.05); /* Slight enlargement on hover */
}
#transactionHistory{
    padding: 5rem;
}

input[type="number"] {
    padding: 10px;
    width: 80%;
    max-width: 300px;
    margin-top: 10px;
}
input{
    color: var(--dark-purple);
}
button {
    background-color: #8B61F7; /* Darker purple */
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #A780FF; /* Slightly lighter purple */
    transform: scale(1.05); /* Slight zoom on hover */
}
table {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border-collapse: collapse;
}
th, td {
    padding: 10px;
    border: 1px solid #ddd;
}
th {
    background-color: #333;
    color: white;
}
/* .scroll-container {
    max-height: 400px;
    overflow-y: auto;
} */
.transaction-row {
    position: relative;
}
.timestamp {
    position: absolute;
    right: 10px;
    color: #888;
}
#confirmCheckbox {
    margin-top: 15px;
}
.modal-content p.highlight {
    color: green;
    font-weight: bold;
}
#transactionHistory table {
    margin: 0 20px;
    border-collapse: collapse;
}
/* Simple Footer Styles */
.footer {
    background: linear-gradient(135deg, #8B61F7, var(--dark-purple)); /* Deep purple gradient */
    color: #F0EAFB; /* Light text color */
    text-align: center;
    padding: 1rem 0;
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
}
/* Large Screens (1024px and above) */
@media (min-width: 1024px) {
    section{
        padding: 0 5rem;
    }
    header {
        padding: 1rem 5rem; /* Increase padding for larger screens */
    }
    header a.logo {
        font-size: 1.5rem; /* Larger font size for large screens */
    }
    #logo {
        width: 60px; /* Slightly larger logo for large screens */
    }
    section.ceoMessage {
        margin: 9rem 0 ;
    }
    .vids {
        max-width: 30%; /* Adjust video container width for large screens */
    }
    #ceoQuote, .centralQuote {
        font-size: 1.2rem; /* Larger text for large screens */
    }
    #investment{
        width: 100%;
        padding: 0 5rem;
    }
    .invpurchase{
        margin: 5rem auto;
    }
    .tutorial h2 {
        text-align: center;
    }
    .tutorial {
        padding: .6em 5rem 3.9em 5rem;
    }
    .tutorial h2 {
        margin: 2.5rem;
        font-size: 24px;
        padding-top: 0;
    }
    .stores {
        width: 200px; /* Default width for smaller screens */
        max-width: 300px; /* Limit the maximum width */
        height: auto;
        margin-right: 1rem;
    }
    select#investmentPackage{
        padding: 12px 20px;
        font-size: 16px;
    }
    .survey-box {
        width: 100%;
        max-width: 700px;
    }
    .survey-box button {
        font-size: 16px;
        margin: 2rem 0;
    }
    .signal {
        padding: 5rem;
    }
    .signal.links a{
    font-weight: bold;
    }
}

/* Medium Screens (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    section{
        padding: 0 4rem;
    }
    header {
        padding: 1rem 3rem; /* Medium padding for medium screens */
    }
    header a.logo {
        font-size: 1.3rem; /* Slightly larger font size for medium screens */
    }
    section.ceoMessage {
        margin: 7rem 0 ;
    }
    #logo {
        width: 55px; /* Adjust logo size for medium screens */
    }
    .vids {
        max-width: 45%; /* Adjust video container width for medium screens */
    }
    #ceoQuote, .centralQuote {
        font-size: 1.1rem; /* Slightly larger text for medium screens */
    }
    .invpurchase{
        margin: 4rem auto;
    }
    .tutorial h2 {
        text-align: center;
    }
    .tutorial h2 {
        margin: 2.5rem;
        font-size: 1.6rem;
        padding-top: 0;
    }
    .stores {
        width: 180px; /* Default width for smaller screens */
        max-width: 300px; /* Limit the maximum width */
        height: auto;
        margin-right: 1rem;
    }
    select#investmentPackage{
        padding: 10px 16px;
        font-size: 15px;
    }
    .survey-box button {
        font-size: 15px;
        margin: 2rem 0;
    }
}

/* Small Screens (600px - 768px) */
@media (max-width: 768px) {
    section {
        padding: 2rem;
    }
    header {
        padding: 0.5rem 1rem; /* Smaller padding for small screens */
    }
    header a.logo {
        font-size: 1.2rem; /* Default font size for small screens */
    }
    section.ceoMessage {
        margin: 6rem 0 ;
    }
    #logo {
        width: 50px; /* Default logo size for small screens */
    }
    .vids {
        max-width: 100%; /* Full width for video containers on small screens */
    }
    #ceoQuote, .centralQuote {
        font-size: 1rem; /* Default text size for small screens */
    }
    .invpurchase{
        margin: 4rem auto;
    }
    .videosContainer {
        justify-content: center;
        flex-direction: column;
    }
    .mid {
        margin-top: 2rem;
    }
    .tutorial h2 {
        text-align: center;
    }
    .tutorial h2 {
        margin: 2rem;
        font-size: 1.5rem;
        padding-top: 0;
    }
    .stores {
        width: 160px; /* Default width for smaller screens */
        max-width: 300px; /* Limit the maximum width */
        height: auto;
        margin-right: 1rem;
    }
    select#investmentPackage{
        padding: 8px 12px;
        font-size: 14px;
    }
    table {
        font-size: 14px;
    }

    input[type="number"], button {
        width: 100%;
    }

    p, .tutorial ul, .signal.links a {
        font-size: 1rem;
    }
    .survey-box button {
        font-size: 14px;
        margin: 1rem 0;
    }
    .signal h2 {
        font-size: 1.5rem; /* Slightly smaller font for heading */
    }
    .signal p {
        font-size: 0.9rem; /* Slightly smaller font for paragraph */
    }
    .signal .links a {
        padding: 0.6rem 1rem; /* Adjust padding for smaller screens */
    }
}
/* Extra Small Screens (375px - 600px) */
@media (max-width: 600px) {
    header {
        padding: 0 1rem;
    }

    header .logo {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    section.ceoMessage {
        margin: 4rem 0 ;
    }
    #logo {
        max-width: 40px;
        margin-right: 0;
    }
    .invpurchase{
        margin: 4rem auto;
    }
    video {
        width: 100%;
        height: auto;
    }

    .vl {
        border-left: none;
        height: 0;
        width: 100%;
        border-bottom: 2px solid var(--dark-purple);
        margin: 0.5rem auto;
        padding-top: 2rem;
    }

    select {
        padding-right: 20px;
    }
    
    .tutorial h2 {
        margin: 2rem auto;
        font-size: 1.4rem   ;
        padding-top: 0;
    }
    p, .tutorial ul, .signal.links a {
        font-size: 0.9rem;
    }
    .cquote {
        width: 85%;  
    }
}

/* Tiny Screens (below 375px) */
@media (max-width: 375px) {
    header {
        padding: 0.5rem 1rem;
    }

    header .logo {
        font-size: 0.7rem;
    }
    #logo {
        max-width: 30px;
    }

    p, .tutorial ul, .signal.links a {
        font-size: 0.8rem;
    }

    .survey-box {
        padding:1.5rem;
        margin: 4rem auto 2rem auto;
    }

    .survey-box h3 {
        font-size: 1.3rem;
    }

    button {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        margin: 0.4rem 0.6rem;
    }
    .cquote {
        width: 100%;
    }
}
