/* General Styles */
body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    margin: 0;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #263749;
    padding: 20px 0;
    color: #fff;
    border-bottom: 1px solid #333333; /* Added border-bottom */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Added box-shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Added padding */
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease; /* Added background-color transition */
    padding: 8px 12px; /* Added padding for hover effect */
    border-radius: 4px; /* Added border-radius for hover effect */
}

.nav-links a:hover {
    color: #FF5757;
    background-color: rgba(255, 87, 87, 0.1); /* Added background color on hover */
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.4s;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #263749;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Hero Section */
.hero {
    background-color: #263749;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.hero-banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.cta-button {
    background-color: #FF5757;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e64a4a;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    font-size: 2.5em;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center; /* Center the grid items */
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    text-align: center;
    background-color: #263749;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.feature-item img {
    max-width: 100%;
    height: 300px;
    width: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-item h3 {
    color: #ffffff;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.feature-item p {
    color: #e0e0e0;
    font-size: 1em;
    line-height: 1.6;
}

/* About Section */
.about {
    background-color: #263749;
    padding: 80px 0;
    color: #e0e0e0;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    font-size: 2.5em;
}

.about p {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
    font-size: 2.5em;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #263749;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333333;
    color: #e0e0e0;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF5757;
    box-shadow: 0 0 0 2px rgba(255, 87, 87, 0.3);
}

.contact .cta-button {
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #263749;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.social-links a i {
    font-size: 1.5em;
}

.social-links {
    margin-top: 25px; /* Added margin-top for spacing */
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF5757;
}