/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    color: #0056b3;
}

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

/* Header & Navigation */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 50px;
    margin-right: 10px;
}

header .logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

header ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    color: #fff;
    font-weight: bold;
}

header ul li a:hover {
    color: #00bcd4;
}

/* Hero Section */
#hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/background.jpeg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

#hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
}

.cta-button {
    background-color: #00bcd4;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0097a7;
    color: #fff;
}

/* Sections General Styling */
section {
    padding: 60px 20px;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

/* About Section */
#about p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Features Section */
#features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

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

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.feature-item p {
    font-size: 1rem;
    color: #555;
}

/* Community Section */
#community {
    background-color: #e9ecef;
}

#community p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #555;
}

/* Get Started Section */
#get-started p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #555;
}

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

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
    }

    header ul {
        margin-top: 15px;
        flex-direction: column;
        align-items: center;
    }

    header ul li {
        margin: 10px 0;
    }

    #hero .hero-content h1 {
        font-size: 2.5rem;
    }

    #hero .hero-content p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}



/* Resources Section */
#resources {
    background-color: #fff;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.resource-category {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.resource-category h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #007bff;
    border-bottom: 2px solid #00bcd4;
    padding-bottom: 10px;
}

.resource-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-category ul li {
    margin-bottom: 10px;
}

.resource-category ul li a {
    color: #333;
    transition: color 0.3s ease;
}

.resource-category ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}

