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

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

.container h1,
.container h2 {
    color: #343a40;
}

.lead {
    color: #6c757d;
}

.btn-lg {
    padding: 0.5rem 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/static/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    /* Default text color for the hero section */
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
    /* Replace with your desired color for h1 */
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #FFFFFF;
    /* Replace with your desired color for p */
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 10px 30px;
    border-radius: 25px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.feature-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.feature-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: #ebe2e2;
}

/* Featured Posts Section */
.featured-posts-section {
    padding: 80px 0;
}

.featured-posts-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.post {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.post-header img {
    border: 2px solid #007bff;
    border-radius: 50%;
}

.post-header strong {
    font-size: 1.1rem;
    color: #333;
}

.post-header small {
    font-size: 0.9rem;
    color: #777;
}

.post-photo img,
.post-video video,
.post-voice audio {
    border-radius: 8px;
}

.post-content {
    font-size: 1rem;
    color: #495057;
}

.post-content p {
    line-height: 1.6;
}

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

.post-content a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 0.9rem;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: #ffffff;
}

.btn-primary {
    border-radius: 25px;
    padding: 10px 30px;
    font-size: 1.1rem;
}

/* Icons Styling */
h2 i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container h1 {
        font-size: 2rem;
    }

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

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

    .feature-card {
        margin-bottom: 20px;
    }

    .featured-posts-section h2 {
        font-size: 2rem;
    }
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}