/* General Section Styling */
section {
    padding: 4rem 2rem;
    text-align: center;
}

/* Hero Section */
.hero {
    background-color: #1a1a1a;
    color: var(--light-text);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons a {
    margin: 0 0.5rem;
}

/* Intro, About, Mission Sections */
.intro, .about, .mission {
    background-color: var(--dark-bg);
}

/* Pillars Section */
.pillars {
    background-color: #1a1a1a;
}

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

.pillar {
    background-color: var(--dark-bg);
    padding: 2rem;
    border-radius: 10px;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
}

/* CTA Section */
.cta, .cta-section {
    background-color: var(--accent);
    color: var(--dark-bg);
}

/* Articles Section */
.articles {
    background-color: #1a1a1a;
}

.articles-container {
    position: relative;
}

.articles-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.articles-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.article-card {
    flex: 0 0 300px;
    background-color: var(--dark-bg);
    border-radius: 10px;
    padding: 1.5rem;
    scroll-snap-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--accent);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1;
}

.slider-btn.left {
    left: 0;
}

.slider-btn.right {
    right: 0;
}

/* Button Styles */
.btn-primary {
    background: var(--accent);
    color: var(--dark-bg);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--light-text);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid var(--light-text);
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary:hover {
    background: var(--light-text);
    color: var(--dark-bg);
}

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

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

    section {
        padding: 2rem 1rem;
    }
}
