/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    background-color: #004d40;
    overflow: hidden;
    padding: 10px 0;
    border: 4px solid #2ecc71; /* Add a green border on all sides */
    border-radius: 10px; /* Optional: Rounded corners for a smooth look */
}


.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centers the links */
}

.navbar ul li {
    margin-right: 30px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    padding: 15px 20px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar ul li a:hover {
    background-color:  #2ecc71;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('market.jpg');
    background-size: cover;
    background-position: center center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for better text visibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    padding: 20px 40px;
    border-radius: 10px; /* Rounded corners for the text box */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
    max-width: 80%; /* Limit the width for a more focused look */
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2em;
    margin: 20px 0;
}

.cta-button {
    background-color: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    z-index: 2;
}

.cta-button:hover {
    background-color: #2ecc71;
}

/* Features Section (With Boxes) */
.features {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1); /* Soft gradient background */
    border-radius: 10px; /* Optional: Rounded corners for the section */
}

.features h2 {
    margin-bottom: 30px;
    color: #333; /* Dark grey color for the heading */
}

.features-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background: #ffffff; /* White background for feature cards */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #004d40; /* Matching the navbar's color for the border */
}

.feature-card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.feature-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.feature-card h3 {
    color: #004d40; /* Dark teal color for headings to match the navbar */
    margin-top: 15px;
}

.feature-card p {
    color: #555; /* Subtle grey text for the description */
}
/* Market Data Section */
.market-data {
    padding: 30px 20px;
    text-align: center;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for depth */
    margin-top: 20px;
    border: 2px solid #004d40; /* Green border around the entire section */
}

/* Market Cards */
.market-card {
    background-color: white;
    border: 2px solid #004d40; /* Green border around individual market data cards */
    padding: 15px;
    margin: 10px;
    border-radius: 8px; /* Rounded corners for the cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for depth */
    display: inline-block;
    width: 30%; /* Adjust the width to make the cards line up properly */
    min-width: 250px; /* Ensure cards don’t shrink too small */
}

.market-card h3 {
    color: #004d40; /* Dark teal color for headings */
}

.market-card p {
    color: #555; /* Light grey color for descriptions */
}

/* Responsive Styling for Mobile */
@media screen and (max-width: 768px) {
    .market-card {
        width: 100%; /* Stack cards vertically on smaller screens */
    }
}

/* Testimonials Section (With Boxes) */
.testimonials {
    background: linear-gradient(135deg, #f9f9f9, #f1f1f1); /* Soft gradient background */
    padding: 50px 20px;
    text-align: center;
    border-radius: 10px; /* Rounded corners for the section */
}

.testimonials h2 {
    margin-bottom: 30px;
    color: #333; /* Dark grey color for the heading */
}

.testimonial-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial {
    background: #ffffff; /* White background for testimonial cards */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #004d40; /* Matching the navbar's color for the border */
}

.testimonial:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.testimonial p {
    font-style: italic;
    margin-bottom: 10px;
    color: #555; /* Subtle grey text */
}

.testimonial h4 {
    font-weight: bold;
    color: #004d40; /* Dark teal color for the author name */
}

/* Footer */
.footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Responsive Navbar for mobile devices */
@media screen and (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
    }

    .navbar ul li {
        margin-bottom: 10px;
    }

    .navbar ul li a {
        padding: 12px 20px;
    }
}

/* Responsive Features and Testimonials for mobile devices */
@media screen and (max-width: 768px) {
    .features-grid, .testimonial-grid {
        flex-direction: column;
    }
}
