/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light gray background */
    color: #333; /* Main text color */
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #222; /* Dark heading color */
}

a {
    text-decoration: none;
    color: #FFC107; /* Dark Yellow */
}

/* Header */
header {
    background: #333A45; /* Dark Gray */
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #FFC107 3px solid; /* Dark Yellow accent */
}

header .logo h1 {
    margin: 0;
    font-size: 1.8em;
    color: #fff;
    float: left;
}

header nav {
    float: right;
    margin-top: 10px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    padding: 0 15px;
}

header nav ul li a {
    color: #fff;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #FFC107; /* Dark Yellow */
}

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1920x600/333A45/FFFFFF?text=Mix+Trading+Group+Ltd.') no-repeat center center/cover; /* Placeholder for background image - You can change this URL to your desired hero image */
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative; /* For overlay */
}

.hero::before { /* Slight darkening effect over the image */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay */
}

.hero-content {
    position: relative; /* To stay above the overlay */
    z-index: 1;
}

.hero h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #FFC107; /* Dark Yellow */
    color: #333A45; /* Dark Gray */
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #e0a800; /* Slightly darker yellow */
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #fff; /* White background */
}

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: #f9f9f9; /* Very light gray card background */
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-item img {
    width: 100%;
    max-width: 300px; /* Limit image size */
    height: 225px; /* You can set a fixed height for consistency */
    object-fit: cover; /* Ensures the image covers the area, might crop */
    border-radius: 5px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-bottom: 10px;
    color: #333A45; /* Dark Gray */
}

/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #e9ecef; /* Slightly darker gray background */
}

.about-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.about-section p {
    text-align: justify;
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #fff;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.contact-item {
    text-align: left;
    padding: 15px;
}

.contact-item i {
    font-size: 1.5em;
    color: #FFC107; /* Dark Yellow */
    margin-right: 10px;
    vertical-align: middle;
}

.contact-item p {
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #333A45;
}

/* Contact Form (optional) */
.contact-form h3 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Include padding and border in the width */
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: auto;
    margin: 0 auto;
    display: block;
}


/* Footer */
footer {
    background: #333A45; /* Dark Gray */
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media(max-width: 768px){
    header .logo h1,
    header nav {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul li {
        display: block;
        padding: 10px 0;
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .hero p {
        font-size: 1em;
    }

    .service-grid,
    .contact-info {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .container {
        width: 90%;
    }
}