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

/* Button Styling */
.btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 16px;
    font-weight: bold;
    color: #c18b31; /* Text color */
    background-color: transparent; /* Transparent background */
    border: 2px solid #c18b31; /* Border color */
    border-radius: 5px; /* Rounded corners */
    text-align: center;
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

/* Ensure no underline on hover for .btn */
.btn:hover {
    background-color: #c18b31; /* Background color on hover */
    color: #000; /* Text color on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

/* General body styling */
body {
    font-family: Arial, sans-serif; /* Use your desired font */
    background-color: #fff; /* Light background color */
    color: #191919; /* General text color */
    margin: 0; /* Remove default margin to eliminate unwanted white space */
    padding-top: 70px; /* Adjust based on the height of the navbar to avoid content overlap */
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up at least the full height of the viewport */
}

/* Container for the entire content */
.container {
    width: 100%; /* Ensure full width */
    max-width: 1400px; /* Maximum width */
    margin: 0 auto;
    padding: 50px 15px 50px 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.container h1 {
    font-size: 35px;
}

.container h2 {
    font-size: 25px;
    color: #000;
    margin-bottom: 10px;
    padding-top: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.container h3 {
    font-size: 20px;
    color: #000;
    margin-bottom: 0px;
    padding-top: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.background-image {
    background-image: url('../img/slide4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    color: white; /* Optional: Adjust text color for better readability */
    padding: 50px 0; /* Optional: Adjust padding as needed */
}

/* Heading Styling */
h2, h3, h4, h5, h6 {
    margin: 0 0 20px 0; /* Add bottom margin for spacing */
    color: #000; /* Default text color */
}

h1 {
    color: #c18b31 !important; /* Use !important to override any specific section styles */
}

/* Paragraph Styling */
p {
    font-size: 18px;
    line-height: 1.5; /* Line height for better readability */
    margin-top: 10px; /* Add top margin */
    padding-top: 0px; /* Add top padding */
}

/* Unordered List Styling */
ul {
    list-style-type: disc; /* Default bullet points */
    margin: 20px 0; /* Add vertical margin */
    padding-left: 40px; /* Add left padding for indentation */
}

/* List Item Styling */
li {
    font-size: 18px; /* Font size for list items */
    line-height: 1.5; /* Line height for better readability */
    margin-bottom: 10px; /* Add bottom margin between list items */
}

/* Navbar Styling */
nav {
    background-color: #000;
    padding: 15px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Container */
nav .logo-container {
    margin-left: 30px;
}

/* Navbar Menu Styling */
nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Navbar Menu Item Styling */
nav ul li {
    margin: 0 20px; /* Adjusted spacing between links */
}

nav ul li a {
    color: #c18b31; /* White text color */
    text-decoration: none; /* Remove underline */
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    position: relative; /* Position relative for the pseudo-element */
    transition: color 0.3s; /* Smooth transition for color */
}

/* Hover effect for nav links */
nav ul li a:hover {
    color: #c18b31; /* Gold text color on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

/* Active nav link styling */
nav ul li a.active {
    color: #c18b31; /* Gold text color for active link */
    text-decoration: none; /* Ensure no underline for active link */
}

/* Gold line underneath active link */
nav ul li a.active::after {
    content: '';
    display: block;
    width: 100%; /* Full width of the text */
    height: 2px;
    background: #c18b31; /* Gold line color */
    position: absolute;
    bottom: -5px; /* Position the line below the text */
    left: 0; /* Align the line with the start of the text */
}

/* Hamburger menu icon */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #c18b31;
    margin-right: 30px;
}

/* Media query for mobile devices 768 */ 
@media screen and (max-width: 1280px) {
    nav ul {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background-color: #000;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 20px 0;
    }

    .menu-icon {
        display: block;
    }
}

/* Logo Styling */
nav .logo-container img.logo {
    height: 60px; /* Adjust logo size */
    width: auto;
    vertical-align: middle;
}

/* Form Container */
form {
    background: #c18b31;
    padding: 40px;
    margin: 50px auto;
    width: 500px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #000;
}

/* Form Input Fields */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="submit"] {
    display: block;
    width: calc(100% - 20px); /* Ensure full width minus padding */
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

/* Submit Button Styling */
form input[type="submit"] {
    background-color: #161616;
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
}

form input[type="submit"]:hover {
    background-color: #000000;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    form {
        width: 80%; /* Take up 80% width of the screen */
    }

    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form input[type="submit"] {
        width: calc(100% - 20px); /* Ensure full width minus padding */
    }
}

/* Footer Styling */
footer {
    background-color: #c18b31;
    color: #000;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: auto;
    font-size: 14px;
    height: 120px; /* Set a fixed height for the footer */
    text-align: center; /* Center all text in the footer */
}

/* Footer content wrapper */
.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 10px 20px;
}

/* Footer paragraph */
footer p {
    margin: 20px 0 10px 0;
    font-weight: bold;
}

/* Footer Links */
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

footer ul li {
    margin: 0 20px;
}

footer ul li a {
    color: #000;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    footer {
        height: auto; /* Allow height to adjust on smaller screens */
    }

    .footer-content {
        padding: 10px 10px;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
    }

    footer ul li {
        margin: 5px 0;
    }
}

/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #ff0000;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    color: white; /* White text color */
    width: 30%; /* Could be more or less, depending on screen size */
}

.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Slider Styling */
.slider {
    width: 100%;
    height: 60vh;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 60vh;
    background-size: cover; /* Changed from cover to contain */
    background-position: center; /* Center the image */
    position: relative;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.slide-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .slider {
        height: 30vh; /* Reduce height for mobile devices */
    }

    .slide {
        height: 30vh; /* Reduce height for mobile devices */
    }

    .slide-content h1 {
        font-size: 24px; /* Adjust font size for mobile devices */
    }

    .slide-content p {
        font-size: 16px; /* Adjust font size for mobile devices */
    }
}

/* Why Invest with Us Section */
.why-invest {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.why-invest p {
    max-width: 1200px;
    margin: 0 auto;
    color: #000;
}

.why-invest h1 {
    font-size: 35px;
    color: #000000 !important; /* Override the global h1 style */
}

/* Testimonial Section - simplified */
.testimonial-section {
    padding: 40px 0;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center; /* Center the heading */
}

.testimonial-section h1 {
    font-size: 35px; /* Match other section headings */
    margin-bottom: 30px;
    /* Remove the color property here since it will be handled by the global h1 style */
}

/* Update just the testimonial container styles */
.testimonial-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    padding: 20px 60px; /* Added top and bottom padding */
    margin: 20px 0;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
    position: absolute;
    left: 0;
    width: calc(100% - 120px);
    margin: 0 auto;
    padding-top: 10px; /* Added padding to prevent shadow cut-off */
}

/* Update the testimonial card styles with hover animations */
.testimonial-card {
    flex: 0 0 calc(25% - 22.5px);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 335px;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    transition: all 0.3s ease; /* Smooth transition for all properties */
    cursor: pointer;
    border: 1px solid transparent; /* Transparent border initially */
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02); /* Lift up and slightly increase size */
    box-shadow: 0 15px 30px rgba(193, 139, 49, 0.2); /* Golden shadow */
    border-color: #c18b31; /* Golden border on hover */
    background: linear-gradient(to bottom right, #fff, #fff8ef); /* Subtle gradient on hover */
}

.testimonial-name {
    font-size: 20px;
    font-weight: bold;
    color: #c18b31;
    margin-bottom: 15px;
    flex-shrink: 0;
    transition: color 0.3s ease; /* Smooth color transition */
}

.testimonial-card:hover .testimonial-name {
    color: #8e6624; /* Darker gold on hover */
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.5;
    color: #333;
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 8px;
    margin-bottom: 10px;
    transition: color 0.3s ease; /* Smooth color transition */
}

.testimonial-card:hover .testimonial-text {
    color: #000; /* Darker text on hover */
}

/* Style the scrollbar for testimonial text */
.testimonial-text::-webkit-scrollbar {
    width: 6px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background: #c18b31;
    border-radius: 3px;
}

/* Simplified arrow buttons */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #c18b31;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-button {
    left: 0;
}

.next-button {
    right: 0;
}

/* Ready to Secure Section */
.ready-to-secure {
    background-color: #f5f5f5;
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0 0 0; /* Remove bottom margin */
}

.ready-to-secure h1 {
    font-size: 36px;
    color: #c18b31 !important; /* Added !important to override global style */
    margin-bottom: 20px;
}

.ready-to-secure p {
    font-size: 18px;
    color: #000000;
    margin-bottom: 30px;
}

.get-started {
    padding: 12px 24px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .ready-to-secure h2 {
        font-size: 28px;
    }
    
    .ready-to-secure p {
        font-size: 16px;
    }
}

/* Update main element styles */
main {
    margin-bottom: 0; /* Remove any bottom margin */
}

.investment-tiers {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.investment-tiers th,
.investment-tiers td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.investment-tiers th {
    background-color: #c18b31;
    font-weight: bold;
    color: #fff;
}

.investment-tiers tr:nth-child(even) {
    background-color: #f8f9fa;
}

.investment-tiers tr:hover {
    background-color: #f5f5f5;
}

@media screen and (max-width: 768px) {
    .investment-tiers {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Add these styles at the end of your main_style.css file */

.faq-container {
    width: 100%;
    margin: 30px 0;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 5px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #333;
    flex-grow: 1;
}

.faq-toggle {
    font-size: 24px;
    color: #c18b31;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 0 20px 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-item:hover .faq-question h3 {
    color: #c18b31;
}

.faq-item.active .faq-question h3 {
    color: #c18b31;
}

@media screen and (max-width: 768px) {
    .faq-container {
        padding: 0;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* Link styling within containers */
.container a {
    color: #c18b31;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

.policy-content {
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.6;
}

.policy-content section {
    margin-bottom: 2rem;
}

.policy-content h2 {
    color: #333;
    margin: 1.5rem 0 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
}