

/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #535353;/* white background */
    color: #e0e0e0; /* Light text for readability */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
}

/* Header Styling */
header {
    background-color: #535353; /* Header background */
    padding: 5px 10px; /* Padding around the header */
}

/* Flexbox for Header Content */
.header-content {
    display: flex; /* Enable Flexbox for layout */
    justify-content: space-between; /* Space between logo and menu */
    align-items: center; /* Center items vertically */
}

/* Logo Styling */
.header-logo-container {
    flex: 0 0 auto; /* Prevent the logo container from resizing */
}


.menu-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    background-color: transparent; /* No background obstruction */
}

.menu {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    background-color: transparent; /* No background obstruction */
}

.menu a {
    background-color: #ffffff;; /* Button background is white */
    color: #1c1c1c; /* Dark text for visibility */
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 4px; /* Rounded corners for the button */
    border: 1px solid #e0e0e0; /* Optional: Add a subtle border */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}



/* Section and Content Styles */
section {
    padding: 40px 20px;
}


/* Set a single background image for the entire section */
#alert-email {
    background-image: url('../pics/email-alert.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;
    padding: 40px 20px;
    color: #e0e0e0; /* Light text color for readability */
}
.features-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    flex: 1 1 calc(33.333% - 20px); /* Responsive grid layout */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #535353;
}


/* Adjust for mobile screens */
@media (max-width: 768px) {
    .feature {
        flex: 1 1 100%; /* Full width on smaller screens */
    }
}
/* Style the container to arrange articles side-by-side */
.features-wrapper {
    display: flex; /* Use flexbox for horizontal layout */
    gap: 20px; /* Space between articles */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: space-between; /* Distribute articles evenly */
}

/* Style each article */
.feature {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    flex: 1 1 calc(33% - 20px); /* Each article takes up 1/3 of the container width */
    box-sizing: border-box;
}




/* Background Images for Specific Sections */
#market-data-aggregation {
    background-image: url('../pics/market-data-bg-1.jpg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}

#order-book-analytic {
    background-image: url('../pics/order-book-analytics.jpg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}

#alert-email {
    background-image: url('../pics/email-alert.jpg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}


/* Background and layout for indicators section */
#indicators-link {
    background-image: url('../pics/indicators.jpg'); /* Your background image */
    background-size: cover; /* Cover the entire section */
    background-position: center;
    color: #e0e0e0; /* Text color */
    border-radius: 15px; /* Rounded corners */
    overflow: hidden;
    padding: 40px 20px; /* Inner spacing */
    margin: 20px auto; /* Center the section with spacing */
}



#api {
    background-image: url('../pics/api-new.jpeg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}

#vision-strategy-pic {
    background-image: url('../pics/our-vision.jpg');
    background-size: cover;
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}
#upcoming-features-pic {
    background-image: url('../pics/upcoming-features.jpeg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}
#tec-excellence-pic {
    background-image: url('../pics/tec-excellence.jpeg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}
#innovation-pic {
    background-image: url('../pics/innovation.jpg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}
#main-pic {
    background-image: url('../pics/main-background.jpg');
    background-size: 50% auto; /* Reduce width by 50% */
    background-position: center;
    color: #e0e0e0;
    border-radius: 15px; /* Rounded edges */
    overflow: hidden;    /* Ensures the corners apply to the background */
}

/* CTA Links Wrapper */
.cta-links-wrapper {
    text-align: center; /* Center align the links */
    margin-top: 20px; /* Add spacing above the links */
}

/* General Styling for All CTA Links */
.cta-link {
    display: inline-block;
    margin: 0 10px; /* Add spacing between links */
    padding: 10px 20px;
    background-color: #ecf0f1; /* Light background */
    color: #2c3e50; /* Dark text */
    text-decoration: none; /* Remove underline */
    border-radius: 4px; /* Rounded corners */
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

/* Hover Effect */
.cta-link:hover {
    background-color: #34495e;
    color: #ecf0f1;
    transform: translateY(-2px);
}

/* Specific Styling for "Try our App" Link */
.try-app-link {
    font-weight: bold;
}

/* Specific Styling for "Contact Us" Link */
.contact-link {
    font-weight: bold;
}

/* Call-to-Action Button */
.cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #ecf0f1;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.3s;
}

.cta:hover {
    background-color: #34495e;
    color: #ecf0f1;
}
footer {
    background-color: #535353; /* Background color for the footer */
    color: #e0e0e0; /* Text color */
    padding: 5px 0; /* Reduced padding for the footer */
    text-align: center; /* Center the content */
}

.footer-content {
    display: flex; /* Use Flexbox for alignment */
    align-items: center; /* Vertically center items */
    justify-content: center; /* Center items horizontally */
    gap: 10px; /* Reduce the space between the logo and text */
}

.footer-text-container p {
    margin: 0; /* Remove extra margin */
    font-size: 0.9rem; /* Slightly reduce text size */
}

/* Align 'Contact Us' on the Right */
.cta-link:last-child {
    margin-left: auto; /* Push "Contact Us" to the right */
    text-align: right;
}

/* General Styling for All CTA Links */
.cta-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #ecf0f1; /* Light background */
    color: #2c3e50; /* Dark text */
    text-decoration: none; /* Remove underline */
    border-radius: 4px; /* Rounded corners */
    font-size: 1rem;
    margin-top: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

/* Hover Effect */
.cta-link:hover {
    background-color: #34495e;
    color: #ecf0f1;
    transform: translateY(-2px);
}

.contact-link {
    font-weight: bold;           /* Make "Contact Us" links stand out */
    text-align: right;           /* Align text inside the link */
    margin-left: auto;           /* Push the link to the right within a Flexbox container */
    display: inline-block;       /* Ensure block-level behavior */
    float: right;                /* Move the link to the right */
}

#hero {
    /*background-color: #323232; !* Slightly lighter gray *!*/
     background-image: url('../pics/black-background-02.jpg'); /* Replace with your image path */
    text-align: center;
    padding: 20px 20px; /* Reduce top and bottom padding */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-bottom: 2rem; /* Space below the hero section */
    min-height: 25vh; /* Reduce height by 50% (from 50vh to 25vh) */
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Arrange items vertically */
    justify-content: flex-start; /* Align content towards the top */
    align-items: center; /* Center horizontally */
    gap: 10px; /* Space between logo and content */
}


#hero .container {
    margin-top: 0; /* Remove any additional margin */
    padding-top: 0; /* Remove padding at the top */
}

#hero h2 {
    color: #ffcc00; /* Golden-yellow color for the title */
    font-size: 3rem; /* Large title for prominence */
    margin-bottom: 0.5rem; /* Reduce space below the title */
}

#hero p {
    color: #e0e0e0; /* Light text for readability */
    font-size: 1.5rem; /* Adjusted size for readability */
    margin-bottom: 1rem; /* Reduce space below paragraphs */
    line-height: 1.6; /* Ensure readability with larger text */
}

#hero .cta-button {
    display: inline-block;
    background-color: #ffcc00; /* Bright call-to-action color */
    color: #1c1c1c; /* Text color for contrast */
    padding: 15px 30px; /* Adjust padding for a larger button */
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px; /* Rounded corners for button */
    font-size: 1.5rem; /* Increase font size for the button text */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover animation */
}

#hero .cta-button:hover {
    background-color: #e6b800; /* Slightly darker gold on hover */
    transform: translateY(-3px); /* Adds a hover effect */
}
.shared-background-container {
    background-image: url('../pics/black-background-02.jpg'); /* Use innovation-pic once */
    background-size: cover; /* Cover the entire container */
    background-position: center; /* Center the background */
    color: #e0e0e0; /* Light text color for readability */
    border-radius: 15px; /* Rounded corners for the overall container */
    overflow: hidden; /* Ensure background applies to rounded corners */
    padding: 40px 0; /* Inner spacing */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    margin: 20px auto; /* Center the container */
}
.unique-container {
    overflow: hidden; /* Ensure background applies to rounded corners */
    margin: 20px auto; /* Center the container on the page */
    display: flex; /* Use flexbox to align child sections horizontally */
    flex-wrap: wrap; /* Allow child sections to wrap to the next row */
    gap: 20px; /* Space between child sections */
    justify-content: center; /* Center child sections horizontally */
}

.unique-container > div {
    flex: 1 1 calc(50% - 20px); /* Adjust to make each box 20% wider */
    max-width: 600px; /* Optional: Limit the maximum width for each child section */
    border-radius: 8px; /* Rounded corners for individual sections */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px; /* Inner spacing for each section */
    box-sizing: border-box; /* Include padding in the width and height */
    background: none; /* Remove black background */
    color: inherit; /* Ensure text color is inherited from the container */
}

.unique-container .features-wrapper {
    display: flex; /* Arrange articles side by side within the container */
    flex-wrap: wrap; /* Allow wrapping to the next row */
    gap: 20px; /* Space between articles */
}

.unique-container .feature {
    flex: 1 1 calc(50% - 20px); /* Adjust to make each box 20% wider */
    padding: 20px;
    border-radius: 8px;
    background: none; /* Remove any background */
    box-sizing: border-box; /* Include padding in the width and height */
}

/**** Authentication Modal styles ****/

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
}

.modal-content {
    position: fixed;
    background-color: white;
    padding: 20px;
    width: 400px;
    height: 500px;
    border-radius: 5px;
    /* Center the modal both horizontally and vertically */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Add overflow control */
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.modal button {
    padding: 10px;
    background-color: #4A90E2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.modal button:hover {
    background-color: #357ABD;
}

/* User dropdown and name button styling */
.user-dropdown {
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* Make user-name match menu links EXACTLY */
.user-name {
    background-color: #ffffff;
    color: #1c1c1c;
    font-size: 0.792em;
    text-decoration: none;
    margin: 0 10px;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    display: inline-block;
    line-height: normal;
    /* Force same box model as menu links */
    box-sizing: border-box;
    /* Force exact height match */
    height: 30px;
    line-height: 18px;
}

/* Match hover effects exactly */
.user-name:hover {
    background-color: #f5f5f5;
    color: #1c1c1c;
}

/* Focus state to match menu links */
.user-name:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

/* Dropdown positioning and styling */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 100px;
    border-radius: 5px;
    z-index: 1000;
    margin-top: 5px;
    padding: 5px 0;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #1c1c1c;
    text-decoration: none;
    font-size: 0.9em;
    text-align: left;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

/* Password strength indicator */
#password-strength {
    display: none;
    font-size: 12px;
    padding: 5px;
    margin-top: 5px;
    border-radius: 4px;
}

.weak {
    color: red;
}

.medium {
    color: orange;
}

.strong {
    color: green;
}

.error-message {
    font-size: 12px;
    color: red;
    margin-top: 5px;
}

/* Authentication form styling */
.auth-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

/* Form headings */
.auth-container h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.auth-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Form fields */
.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.auth-btn {
    width: 100%;
    padding: 10px;
    background: #ffcc00;
    color: #1c1c1c;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.auth-btn:hover {
    background: #e6b800;
}

/* Switch to Sign In / Sign Up */
.switch-auth {
    font-size: 14px;
    margin-top: 15px;
}

.switch-auth a {
    color: #ffcc00;
    font-weight: bold;
    text-decoration: none;
}

.switch-auth a:hover {
    text-decoration: underline;
}