/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /*--primary-color: #2c3e50;*/
    --primary-color: #4a90e2;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-gray: #f5f6fa;
    --dark-gray: #2d3436;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.navbar {
    background: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--light-gray);
    background-color: #357abd;
}




.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
}

/* Hero Slider */
.hero-slider {
    margin-top: 60px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/slide-bg.jpg');
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Latest Articles */
.latest-articles {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    margin-top: 1rem;
}

.view-all {
    text-align: center;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: #234567;
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
    margin-top: 60px;
}

.about-section:nth-child(even) {
    background-color: var(--light-gray);
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.history-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.history-text ul {
    list-style-position: inside;
    margin-bottom: 1.5rem;
}

.history-text li {
    margin-bottom: 0.5rem;
}

/* Core Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Departments */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.department-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.department-card:hover {
    transform: translateY(-10px);
}

.department-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.department-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.department-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Vision */
.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.vision-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.goal {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.goal i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.goal h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 0;
    }

    .history-content,
    .vision-content {
        padding: 0 1rem;
    }

    .vision-text p {
        font-size: 1rem;
    }
}

/* Download Page Styles */
.download-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/download-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.download-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.download-buttons {
    margin-top: 2rem;
}

.download-buttons .btn-primary {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

.download-buttons .btn-primary i {
    margin-right: 0.5rem;
}

.download-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* System Requirements */
.system-requirements {
    padding: 4rem 0;
    background: var(--light-gray);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.requirement-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
}

.requirement-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.requirement-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* What's New Section */
.whats-new {
    padding: 4rem 0;
}

.version-features {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: #27ae60;
    margin-right: 1rem;
    padding-top: 0.2rem;
}

.feature-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

@media (max-width: 768px) {
    .download-hero {
        padding: 6rem 0 3rem;
    }

    .download-content h1 {
        font-size: 2rem;
    }

    .feature-item {
        margin: 1rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
}

/* Contact Information Cards */
.contact-info {
    padding: 4rem 0;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

/* Contact Form Section */
.contact-form-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-container, .map-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-container h2, .map-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.map-container iframe {
    border-radius: 5px;
}

/* Support Hours Section */
.support-hours {
    padding: 4rem 0;
    background: var(--light-gray);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.hours-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
}

.hours-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hours-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hours-card p {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 6rem 0 3rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }

    .map-container iframe {
        height: 100%;
    }
}

/* Articles Page Styles */
.articles-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/articles-bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: white;
}

.articles-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.articles-hero p {
    font-size: 1.2rem;
}

/* Search and Filter */
.search-filter {
    padding: 2rem 0;
    background: var(--light-gray);
}

.search-box {
    max-width: 600px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 1rem;
}

.search-box input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-box .search-btn {
    padding: 0 1.5rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box .search-btn:hover {
    background: #2980b9;
}

.filter-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover, .tag.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Featured Article */
.featured-article {
    padding: 4rem 0;
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-content .article-image {
    height: 100%;
    min-height: 400px;
}

.featured-content .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.article-meta span i {
    margin-right: 0.5rem;
}

/* Articles Grid Section */
.articles-grid-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card .article-image {
    position: relative;
    height: 200px;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card .category {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.article-card .article-content {
    padding: 1.5rem;
}

.article-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.pagination a{ text-decoration:none;}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-numbers span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.page-numbers span:hover,
.page-numbers span.active {
    background: var(--secondary-color);
    color: white;
}

.page-numbers a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.page-numbers a:hover,
.page-numbers a.active {
    background: var(--secondary-color);
    color: white;
}

.page-numbers a{ color:var(--text-color);}

.prev-page[disabled]{ color:#ddd; }


.prev-page,
.next-page {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-page:hover,
.next-page:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .articles-hero {
        padding: 6rem 0 3rem;
    }

    .articles-hero h1 {
        font-size: 2rem;
    }

    .featured-content {
        grid-template-columns: 1fr;
    }

    .featured-content .article-image {
        min-height: 300px;
    }

    .article-text h2 {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Article Page Styles */
.article-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/article-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.article-meta {
    /*max-width: 800px;*/
    margin: 0 auto;
    text-align: center;
}

.article-meta h1 {
    font-size: 2.0rem;
    margin: 1rem 0;
    line-height: 1.3;
    color: #fff;
    min-width: 800px;
}

.meta-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.meta-info span i {
    margin-right: 0.5rem;
}

/* Article Content */
.article-content {
    padding: 4rem 0;
    background: var(--light-gray);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.article-text {
    line-height: 1.8;
}

.article-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.article-text p {
    margin-bottom: 1.5rem;
}

.article-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

/* Share Buttons */
.share-buttons {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.share-buttons h3 {
    margin-bottom: 1rem;
}

.share-links {
    display: flex;
    gap: 1rem;
}

.share-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: transform 0.3s ease;
}

.share-link:hover {
    transform: translateY(-3px);
}

.share-link.facebook { background: #3b5998; }
.share-link.twitter { background: #1da1f2; }
.share-link.linkedin { background: #0077b5; }
.share-link.copy-link { background: #333; }

/* Author Box */
.author-box {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    margin: 2rem 0;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.author-bio {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.author-social a {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
}

.comments-section h3 {
    margin-bottom: 2rem;
}

.comment-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
}

.comment-form h4 {
    margin-bottom: 1.5rem;
}

.comments-list .comment {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-meta h4 {
    color: var(--primary-color);
}

.comment-meta span {
    color: #666;
    font-size: 0.9rem;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
}

.related-articles, .popular-tags {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.related-articles h3, .popular-tags h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.related-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
}

.related-item:last-child {
    border-bottom: none;
}

.related-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.related-content span {
    font-size: 0.9rem;
    color: #666;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-cloud .tag {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.tags-cloud .tag:hover {
    background: var(--secondary-color);
    color: white;
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 6rem 0 3rem;
    }

    .article-meta h1 {
        font-size: 2rem;
    }

    .meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }
}

/* Footer */
footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        flex-direction: column;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 300px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
