/* Reset some default styles */
body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #333;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Navbar Styles */
nav {
    background-color: rgba(156, 14, 14, 0.8); /* Make navbar slightly transparent */
    color: #fff;
    padding: 1em 2em;
    position: fixed; /* Make the navbar fixed at the top */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure the navbar is on top of other elements */
}

nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

nav .logo {
    font-weight: 700;
    font-size: 1.5em;
}

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

nav .nav-links li {
    margin-left: 1.5em;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .nav-links a:hover {
    color: #f04e23;
}

/* Hero Section */
header {
    background-image: url('img.webp'); /* Use the uploaded image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 60px; /* Adjust for the fixed navbar height */
    text-align: center;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6); /* Add a darker overlay to the text for better readability */
    padding: 2em;
    border-radius: 10px;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

header p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
}

header .btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    margin: 0.5em;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s ease;
    background-color: #444;
    border: 2px solid #444;
}

header .btn-primary {
    background-color: #f04e23;
    border: 2px solid #f04e23;
}

header .btn:hover {
    background-color: transparent;
    color: #f04e23;
}

/* Section Styles */
section {
    padding: 4em 1em;
    background-color: #333;
    text-align: center; /* Center content in the section */
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 1em;
}

section p {
    font-size: 1.2em;
    margin-bottom: 2em;
}

#features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    justify-items: center; /* Center the feature boxes */
}

#features .feature {
    background-color: #444;
    padding: 2em;
    border-radius: 10px;
    text-align: center;
    width: 90%; /* Control the width of each feature box */
    max-width: 400px; /* Max width to prevent it from stretching too much on large screens */
}

#features .feature i {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #f04e23;
}

#features .feature h3 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

#features .feature p {
    font-size: 1em;
    color: #bbb;
}

/* Footer Styles */
footer {
    background-color: #444;
    color: #fff;
    padding: 2em 1em;
    font-size: 0.9em;
    text-align: center;
}

footer .social-links a {
    color: #fff;
    margin: 0 0.5em;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

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