/* ==================== 
   CSS Reset & Variables 
   ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d5e;
    --secondary-color: #d4a574;
    --accent-color: #ff6b6b;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --text-lighter: #95a5a6;
    --bg-light: #f8f5f1;
    --bg-white: #ffffff;
    --border-color: #dfe6e9;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.18);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* ==================== 
   Header & Navigation 
   ==================== */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
    background-color: var(--bg-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==================== 
   Hero Section 
   ==================== */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1a4d5e 0%, #2c7a8c 100%);
    color: white;
    padding: 6rem 0 5rem;
    text-align: center;
    animation: fadeIn 1s ease;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1600&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 94, 0.9) 0%, rgba(44, 122, 140, 0.85) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease 0.1s backwards;
    font-weight: 700;
    line-height: 1.2;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    animation: slideUp 0.8s ease 0.2s backwards;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: slideUp 0.8s ease 0.3s backwards;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: #e85d5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==================== 
   Stats Section 
   ==================== */
.stats-section {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* ==================== 
   Section Titles 
   ==================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 
   Categories Showcase 
   ==================== */
.categories-showcase {
    padding: 4rem 0;
    background: var(--bg-light);
}

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

.category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.category-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-link {
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.category-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* ==================== 
   Search & Filter 
   ==================== */
.search-filter {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-md);
    border-radius: 50px;
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.search-box:focus-within {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-box button {
    padding: 1rem 2rem;
    background: var(--accent-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: #e85d5d;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
}

.filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* ==================== 
   Articles Grid 
   ==================== */
.articles-section {
    padding: 4rem 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-lighter);
}

.article-meta i {
    margin-right: 0.25rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 0.5rem;
}

.read-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* ==================== 
   Pagination 
   ==================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    align-items: center;
}

.page-btn {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    min-width: 45px;
}

.page-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.page-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* ==================== 
   Newsletter Section 
   ==================== */
.newsletter-section {
    background: linear-gradient(135deg, #1a4d5e 0%, #2c7a8c 100%);
    color: white;
    padding: 5rem 0;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M50 0v100M0 50h100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.newsletter-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.newsletter-benefits {
    list-style: none;
}

.newsletter-benefits li {
    padding: 0.75rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.newsletter-benefits i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.newsletter-form {
    position: relative;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 1.25rem 2.5rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-btn:hover {
    background: #e85d5d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.newsletter-privacy {
    font-size: 0.875rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-success {
    display: none;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    text-align: center;
}

.newsletter-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.newsletter-success i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--secondary-color);
}

.newsletter-success p {
    margin: 0;
    font-size: 1.1rem;
}

/* ==================== 
   Footer 
   ==================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

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

/* ==================== 
   Page Hero (About/Contact) 
   ==================== */
.page-hero {
    background: linear-gradient(135deg, #1a4d5e 0%, #2c7a8c 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.15rem;
    opacity: 0.95;
}

/* ==================== 
   About Page 
   ==================== */
.about-content {
    padding: 4rem 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.mission-section,
.categories-overview,
.values-section {
    margin-bottom: 4rem;
}

.mission-section h2,
.categories-overview h2,
.values-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.mission-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--bg-light);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.category-item {
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.category-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

.category-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.category-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.category-item p {
    color: var(--text-light);
    line-height: 1.7;
}

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

.value-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.value-item h3 i {
    color: #d4a574;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== 
   Contact Page 
   ==================== */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.submit-btn:hover {
    background: #e85d5d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.form-success {
    display: none;
    padding: 1.5rem;
    background: #d4edda;
    border: 2px solid #28a745;
    border-radius: 8px;
    text-align: center;
    color: #155724;
}

.form-success.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.form-success i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.info-items {
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4a574 0%, #c89a6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.info-text h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-social,
.contact-cta {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.contact-social h3,
.contact-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.cta-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.cta-btn:hover {
    background: #e85d5d;
    transform: translateX(5px);
}

/* ==================== 
   Article Page 
   ==================== */
.article-page {
    animation: fadeIn 0.6s ease;
}

.article-hero {
    height: 500px;
    overflow: hidden;
}

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

.article-header {
    padding: 3rem 0 2rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.article-main-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 1rem 0;
    line-height: 1.3;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.article-body h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

.article-body h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.article-body p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0 1.5rem 2rem;
    list-style: disc;
}

.article-body ol {
    list-style: decimal;
}

.article-body li {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-body .article-image {
    margin: 2.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: auto;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-lighter);
    font-style: italic;
    margin-top: 1rem;
}

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

.product-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    color: #d4a574;
}

.product-rating span {
    margin-left: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-btn {
    display: block;
    width: 100%;
    padding: 0.875rem;
    background: var(--accent-color);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.product-btn:hover {
    background: #e85d5d;
}

.platforms-section {
    margin: 2.5rem 0;
    display: grid;
    gap: 1.5rem;
}

.platform-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.platform-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.platform-card p {
    margin-bottom: 1rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.platform-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.article-conclusion {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    border-left: 4px solid var(--secondary-color);
}

.article-conclusion h2 {
    margin-top: 0;
}

.article-footer {
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 3rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.article-share p {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.share-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.back-to-blog {
    text-align: center;
    margin: 3rem 0;
}

.back-to-blog a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.back-to-blog a:hover {
    background: #153d4d;
    transform: translateY(-2px);
}

/* ==================== 
   Categories Detail Page 
   ==================== */
.categories-detail-section {
    padding: 4rem 0;
}

.category-detail {
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid var(--border-color);
}

.category-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.category-detail-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.category-detail-text h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-detail-text p {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
}

.category-articles {
    margin-bottom: 2.5rem;
}

.category-article-card {
    display: flex;
    gap: 2rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.category-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.article-thumbnail {
    width: 300px;
    height: 200px;
    flex-shrink: 0;
    overflow: hidden;
}

.article-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-article-card:hover .article-thumbnail img {
    transform: scale(1.1);
}

.article-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-date {
    font-size: 0.875rem;
    color: var(--text-lighter);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.article-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-info p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.article-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.article-link:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

.no-articles-yet {
    text-align: center;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.no-articles-yet i {
    font-size: 3rem;
    color: var(--text-lighter);
    margin-bottom: 1rem;
    display: block;
}

.no-articles-yet p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.category-features {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.category-features h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.category-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.category-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
}

.category-features li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.categories-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.categories-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.categories-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.categories-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.categories-cta .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ==================== 
   Responsive Design 
   ==================== */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .article-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .newsletter-btn {
        width: 100%;
        justify-content: center;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .article-hero {
        height: 300px;
    }
    
    .article-main-title {
        font-size: 1.75rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-detail-header {
        flex-direction: column;
        text-align: center;
    }
    
    .category-detail-icon {
        margin: 0 auto;
    }
    
    .category-article-card {
        flex-direction: column;
    }
    
    .article-thumbnail {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .search-box {
        border-radius: 8px;
    }
    
    .search-box input {
        padding: 0.75rem 1rem;
    }
    
    .search-box button {
        padding: 0.75rem 1rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .article-main-title {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* ==================== 
   Animations 
   ==================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.submit-btn:active {
    animation: pulse 0.3s ease;
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .article-card {
        animation-delay: calc(var(--order, 0) * 0.1s);
    }
}

