/* Global Styles */
:root {
    --primary-color: #4a8c7b;
    --secondary-color: #f5b553;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --max-width: 1200px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 700;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 700;
    margin: 0;
    font-size: 1.8rem;
}

.logo h1 span {
    font-weight: 400;
}

.logo span {
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 2rem;
}

.main-menu li a {
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
}

.main-menu li a:hover {
    border-bottom: 2px solid var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('/images/hero-home.png?v=3');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-family: 'IBM Plex Serif', serif;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-container {
    max-width: 700px;
    margin: 0 auto;
}

.search-container form {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.search-container input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    border: none;
    font-size: 1.1rem;
}

.search-container input:focus {
    outline: none;
}

.search-container button {
    padding: 1.2rem 1.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-container button:hover {
    background-color: #3a7c6b;
}

/* Featured Sections */
.featured-articles h2 {
    padding: 0 0 40px 0;
    text-align: left;
    font-size: 2rem;
}

.featured-section {
    padding: 4rem 0;
}

.featured-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.featured-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.3rem;
}

.article-content p {
    color: #666;
    margin-bottom: 1.5rem;
}
.article-content .article-meta {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.read-more:hover::after {
    margin-left: 10px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    font-size: 90%;
}

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

.footer-column h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #ccc;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: #ccc;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    color: #aaa;
}

.subscribe-form {
    margin-top: 1rem;
}

.subscribe-form input {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 0.8rem;
    border: none;
    border-radius: 4px;
}

.subscribe-form button {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-form button:hover {
    background-color: #3a7c6b;
}
/* Footer */
footer {
    background-color: #333;
    color: #f4f4f4;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-right: 3rem;
    margin-bottom: 1.5rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 0.4rem;
}

.footer-column ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-icons a {
    color: #ccc;
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: white;
}



.category-header {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 7rem 1rem;
}
.category-header h1 {
    font-family: 'IBM Plex Serif', serif;
    font-weight: 700;
    margin: 0;
    font-size: 2.8rem;
}

.breadcrumbs {
    background-color: #f4f4f4;
    padding: 0.8rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: #666;
}

.breadcrumbs span {
    margin: 0 0.8rem;
    color: #999;
}

.categories-sidebar {
    margin-bottom: 2rem;
}

.categories-sidebar h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.categories-sidebar ul li {
    margin-bottom: 0.5rem;
}

.categories-sidebar ul li a {
    display: block;
    padding: 0.5rem;
    transition: background-color 0.3s ease;
}

.categories-sidebar ul li a:hover {
    background-color: #f4f4f4;
    padding-left: 1rem;
}

.categories-sidebar ul li a.active {
    background-color: var(--primary-color);
    color: white;
    padding-left: 1rem;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/privacy-header.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
}

.breadcrumbs {
    background-color: #f4f4f4;
    padding: 0.8rem 0;
    margin-bottom: 2rem;
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: #666;
}

.breadcrumbs span {
    margin: 0 0.8rem;
    color: #999;
}

.policy-section {
    padding: 4rem 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.policy-section h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.policy-section p, .policy-section ul, .policy-section ol {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-section ul, .policy-section ol {
    padding-left: 2rem;
}

.policy-section ul li, .policy-section ol li {
    margin-bottom: 0.5rem;
}

.highlighted-box {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 4px 4px 0;
}

.highlighted-box h3 {
    margin-top: 0;
}

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

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p {
        margin-bottom: 1rem;
    }
    
    .social-icons a {
        margin: 0 0.5rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-right: 0;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .search-container input {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .search-container button {
        padding: 1rem 1.2rem;
    }
} 