/* Latest Content Section */
.latest-content {
    background-color: #f9f5f0;
    padding: 4rem 0;
    text-align: center;
}

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

.latest-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
    font-family: 'Arial', sans-serif;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.content-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.content-card:hover {
    transform: scale(1.05);
}

.content-card a {
    text-decoration: none;
    color: inherit;
}

.content-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.content-details {
    padding: 1rem;
    text-align: left;
}

.content-details h3 {
    font-size: 1.25rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.content-details p {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.content-meta {
    display: flex;
    justify-content: space-between;
    color: #95a5a6;
    font-size: 0.8rem;
}

.view-all-container {
    margin-top: 2rem;
    text-align: center;
}

.view-all-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-all-btn:hover {
    background-color: #2980b9;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Featured Videos Section */
.featured-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.video-preview {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-preview:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-preview h3 {
    padding: 1rem 1rem 0.5rem;
    margin: 0;
    color: var(--dark-green);
    font-size: 1.2rem;
}

.video-preview p {
    padding: 0 1rem 1rem;
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.view-more-btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background-color: var(--dark-green);
    color: white;
    border-bottom-color: transparent;
}

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

/* Video Highlight Section */
.video-highlight {
    background: linear-gradient(to right, var(--pale-green), white, var(--pale-green));
    padding: 3rem 0;
    margin: 4rem 0;
}

.content-video {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.video-wrapper-highlight {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin: 2rem 0;
}

.video-wrapper-highlight iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    margin: 1.5rem 0;
}

.video-tags {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.tag {
    background-color: white;
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.tag i {
    color: var(--light-green);
}

@media (max-width: 768px) {
    .video-highlight {
        padding: 2rem 0;
        margin: 2rem 0;
    }

    .content-video {
        padding: 0 15px;
    }

    .video-description {
        font-size: 1rem;
    }

    .video-tags {
        gap: 0.5rem;
    }

    .tag {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Navigation Styles */
nav {
    background-color: var(--primary-green);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: var(--pale-green);
    border-bottom-color: white;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Blog Categories Section */
.blog-categories {
    background-color: #f4f4f4;
    padding: 4rem 0;
}

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

.blog-categories h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 2.5rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.category-link {
    text-decoration: none;
    color: #2c3e50;
}

.category-link h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    color: #2c3e50;
}

.category-link p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

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