/* Base Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: url('images/p21.jpg') no-repeat center center fixed; /* Background Image */
    background-size: cover; /* Ensure full coverage */
    color: #eee;
    line-height: 1.6;
}

/* Overlay for Text Readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark overlay */
    z-index: -1; /* Keep it behind all content */
}

/* Navigation Menu */
header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    padding: 9px 240px;
    width: 100%;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 52.5px;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    text-decoration: none;
    color: #eee;
    font-weight: bold;
    font-size: 1.3em;
    transition: color 0.3s;
}

header nav ul li a.active,
header nav ul li a:hover {
    color: #f1683a;
}

/* Hero Section */
.hero {
    text-align: left;
    padding: 100px 240px; /* Adjusted for the top navigation */
    background: transparent; /* Background image handles this */
    color: #fff;
}

.hero h2 {
    font-size: 2.5em;
    margin: 0 0 8px;
}

.hero p {
    font-size: 1.2em;
}

/* Content Section */
.content {
    width: 90%;
    max-width: 1140px;
    margin: 30px auto;
}

.content h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #f1683a;
    text-align: center;
}

.solution-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.solution-item {
    background: #222;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
}

.solution-item h3 {
    color: #f1683a;
    margin-bottom: 10px;
    font-size: 1.4em;
}

.solution-item p {
    font-size: 1em;
    color: #ddd;
}

.solution-item:hover {
    background: transparent;
    color: #000;
    transform: translateY(-5px);
}

/* Learn More Section */
.learn-more {
    text-align: center;
    margin-top: 40px;
}

.learn-more h2 {
    font-size: 2em;
    color: #f1683a;
}

.learn-more p {
    font-size: 1.2em;
}

.learn-more .btn {
    display: inline-block;
    background-color: #f1683a;
    color: #fff;
    padding: 12px 20px;
    font-size: 1.1em;
    border-radius: 5px;
    margin-top: 20px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.learn-more .btn:hover {
    background-color: #e0572b;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: #222;
    color: #eee;
    font-size: 0.9em;
    margin-top: 30px;
}
