/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
    line-height: 1.6;
    box-sizing: border-box; /* Ensures padding is included in element's total width */
}

/* Header Styles */
header {
    background-color: #030912;
    color: white;
    padding: 80px 20px 40px;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

header .logo img {
    width: 120px;
    height: auto;
}

header h1 {
    font-size: 48px;
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    animation: slideInLeft 1s ease-out;
}

header p {
    font-size: 20px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out;
}

/* Navigation Menu Styles */
nav {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.3s ease;
    border-radius: 25px;
}

nav ul li a:hover {
    background-color: #34D600;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 25px;
}

.hamburger span {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 5px;
}

/* Login Button (CTA) */
.login-button {
    background: #34D600;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #28a745;
    transform: translateY(-2px);
}

/* Main Container */
.container {
    width: 90%;
    margin: 0 auto;
    padding-top: 40px;
    padding: 0 10px; /* Optional: Add padding to prevent content from touching the edges on mobile */
}

/* Section Styling */
.section {
    margin: 60px 0;
    animation: fadeInUp 1s ease-out;
}

.section h2 {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #34D600, #2A9D1D);
    color: white;
    padding: 18px 45px;
    font-size: 22px;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: linear-gradient(45deg, #030912, #28a745);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* E-2 Visa Explanation Section Styling */
#e2-visa-explanation {
    max-width: 1000px;
    margin: 0 auto;
}

#e2-visa-explanation h2 {
    font-size: 36px;
    color: #34D600;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

#e2-visa-explanation ul li {
    font-size: 18px;
    margin: 8px 0;
    font-weight: 300;
}

#e2-visa-explanation p {
    font-size: 18px;
    color: #333;
    text-align: center;
}

/* New Sections */
#visa-process, #why-brickx, #testimonials, #faq, #how-to-get-started {
    margin: 40px 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#visa-process h2, #why-brickx h2, #testimonials h2, #faq h2, #how-to-get-started h2 {
    font-size: 32px;
    color: #34D600;
    margin-bottom: 20px;
}

/* FAQ Section */
.faq-item h4 {
    font-size: 20px;
    color: #34D600;
}

/* Investment Details Box */
.details-box {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
    text-align: left; /* Align text to the left */
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-in-out forwards;
    max-width: 1000px; /* Same max width as #e2-visa-explanation */
    width: 100%; /* Take full available width */
    margin: 0 auto; /* Center align */
}

.details-box h3 {
    font-size: 26px;
    color: #34D600;
    margin-bottom: 20px;
    font-weight: 700;
}

/* Investment Details Flexbox */
.investment-details {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* Contact Form */
.contact-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 12px 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.contact-form button {
    background: #34D600;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    width: 100%;
    transition: all 0.4s ease;
}

.contact-form button:hover {
    background-color: #030912;
    transform: translateY(-5px);
}

/* Footer Styles */
footer {
    background-color: #030912;
    color: white;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    position: fixed; /* Fixes the footer to the bottom */
    bottom: -100%; /* Initially hides the footer */
    left: 0; /* Ensures the footer starts from the left edge */
    box-sizing: border-box; /* Includes padding in width calculation */
    z-index: 1000; /* Ensures the footer stays on top */
    transition: bottom 0.3s ease-in-out; /* Smooth transition for showing the footer */
}

/* Footer Links */
footer a {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
    margin: 0 15px;
}

footer a:hover {
    color: #28a745;
    text-decoration: underline;
}

/* Add padding to the bottom of the page to prevent overlap */
body {
    padding-bottom: 120px; /* Space for footer */
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    /* Adjusting footer padding and text size for mobile screens */
    footer {
        padding: 30px 15px;
    }

    footer a {
        font-size: 16px; /* Smaller font size for mobile */
    }

    .container {
        width: 100%;
        padding: 0 15px;  /* Slight padding for mobile */
    }

    header h1 {
        font-size: 32px;  /* Smaller font size for mobile */
    }

    header p {
        font-size: 16px;  /* Smaller font size for mobile */
    }

    section h2 {
        font-size: 28px;  /* Smaller font size for section titles */
    }

    .cta-button {
        font-size: 20px;  /* Smaller font size for buttons */
        padding: 12px 30px;  /* Smaller padding */
    }

    .investment-details {
        flex-direction: column;
    }

    .details-box,
    .contact-form {
        max-width: 100%; /* Ensure full width on mobile */
        width: 100%;
        margin: 10px 0;
        padding: 20px;
        opacity: 1;
    }

    .cta-button {
        width: 100%;
    }

    #navLinks {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #030912;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px 0;
        z-index: 1;
    }

    .hamburger {
        display: flex;
    }

    #navLinks li {
        margin: 15px 0;
    }

    .menu-active #navLinks {
        display: flex;
    }
}

/* Scroll to Top Button Styles */
.scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #34D600;
    color: white;
    font-size: 30px;
    border: none;
    border-radius: 0;
    padding: 8px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

/* Show the button when scrolling down */
.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

/* Style for the arrow icon */
.scroll-to-top-btn i {
    margin: 0;
    transition: transform 0.3s ease;
}

/* Hover effect: slightly increase size */
.scroll-to-top-btn:hover {
    background-color: #28a745;
    transform: translateY(-3px);
}

.scroll-to-top-btn:hover i {
    transform: scale(1.2);
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}
