/**
 * ========================================
 * NEWS WEBSITE STYLESHEET
 * ========================================
 * 
 * TABLE OF CONTENTS:
 * 
 * 1. RESET & BASE STYLES ................ Line 30
 * 2. LAYOUT & STRUCTURE ................. Line 80
 * 3. NAVIGATION ......................... Line 130
 * 4. HERO & SLIDER ...................... Line 280
 * 5. POST GRID & CARDS .................. Line 380
 * 6. SINGLE POST PAGE ................... Line 550
 * 7. MEDIA (GALLERY, VIDEO) ............. Line 700
 * 8. RELATED POSTS ...................... Line 750
 * 9. PAGINATION ......................... Line 850
 * 10. ABOUT & STATIC PAGES ............... Line 950
 * 11. FOOTER ............................. Line 1150
 * 12. RESPONSIVE (MOBILE) ................ Line 1250
 * 13. UTILITIES .......................... Line 1500
 * 
 */

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

html {
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll - safe on html element (does not affect fixed-position anchor ads) */
}

/* CSS Variables */
:root {
    /* Brand Colors */
    --primary-color: #2563eb;
    --secondary-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    
    /* Text Colors */
    --text-color: #374151;
    --text-light: #6b7280;
    
    /* UI Colors */
    --border-color: #e5e7eb;
    
    /* Effects */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    
    /* Z-index Layers */
    --z-sticky: 1000;
    --z-modal: 9999;
}

/* Base Body Styles */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: rgb(255, 255, 255);
    overflow-x: clip; /* clip (not hidden) - does NOT create scroll container, so position:fixed anchor ads still work.
                         Fixes Facebook in-app browser right-side whitespace issue. */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%; /* Ensure container doesn't exceed viewport */
}

/* Prevent any child from causing horizontal overflow - except ad containers */
.container > *:not(.ad-container) {
    max-width: 100%;
    box-sizing: border-box;
}

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

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

/* ========================================
   3. NAVIGATION
   ======================================== */

/* Header Styles */
.header {
    background: #ffffff;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 999;
}

.navbar {
    padding: 0.5rem 0;
}

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

.nav-brand .brand-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.brand-logo {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    white-space: nowrap;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.9rem;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.admin-link {
    background-color: var(--secondary-color);
    color: white;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-link:hover {
    background-color: rgb(255, 255, 255);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 3px 0;
    transition: var(--transition);
}

/* ========================================
   4. HERO & SLIDER
   ======================================== */

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ========================================
   5. POST GRID & CARDS
   ======================================== */

/* Post Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.post-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

.post-image-wrapper a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

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

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.video-play-overlay:hover,
.post-card:hover .video-play-overlay {
    background: rgba(220, 53, 69, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

.video-play-overlay i {
    margin-left: 3px; /* Slight offset to center play icon visually */
}

.video-play-overlay-small {
    width: clamp(35px, 8vw, 40px) !important;
    height: clamp(35px, 8vw, 40px) !important;
    font-size: 0.9rem !important;
}

/* Related post image wrapper */
.related-post-image-wrapper {
    position: relative;
    overflow: hidden;
}

.related-post-image-wrapper a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.post-content {
    padding: 1.5rem;
    transition: var(--transition);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-content:hover {
    background: rgba(0, 123, 186, 0.05);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    color: var(--text-light);
    min-height: 24px;
    flex-wrap: wrap;
}

.post-category {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    white-space: nowrap;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
    min-height: 48px;
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* ========================================
   6. SINGLE POST PAGE
   ======================================== */

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Post meta when inside post header (for other pages) */
.post-header .post-meta {
    justify-content: center;
    font-size: 0.7rem;
}

/* Post meta when below featured image in single post */
.single-post .post-meta {
    justify-content: center;
    font-size: 0.7rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.post-featured-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 2rem auto;
    max-width: 800px;
    overflow: visible; /* Allow auto ads to render fully inside post body */
}

/* Ad Container Styles - Allows full-width-responsive ads to break out */
.ad-container {
    text-align: center;
    overflow: visible; /* Never clip ad iframes */
    clear: both; /* Prevent float overlap */
    margin: 1rem 0;
}

.ad-container ins.adsbygoogle {
    display: block;
}

/* Support for text alignment in content - Consolidated */
.post-body p[style*="text-align"],
.post-body div[style*="text-align"] {
    text-align: inherit;
}

.post-body .text-center,
.post-body .align-center {
    text-align: center;
}

.post-body .text-right,
.post-body .align-right {
    text-align: right;
}

.post-body .text-left,
.post-body .align-left {
    text-align: left;
}

.post-body .text-justify,
.post-body .align-justify {
    text-align: justify;
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin: 2rem 0 1rem 0;
    color: var(--dark-color);
}

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body figure.content-image {
    margin: 0 0 0.5rem 0;
    padding: 0;
    display: block;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 2fr));
    gap: 1rem;
    margin: 2rem 0;
    /* Performance: Let browser skip rendering off-screen items */
    contain: layout style;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    /* Performance: GPU acceleration for smooth transforms */
    will-change: transform;
    backface-visibility: hidden;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* YouTube Embed */
.youtube-container {
    margin: 2rem 0;
}

lite-youtube {
    background-color: #000;
    position: relative;
    display: block;
    contain: layout style;
    background-position: center center;
    background-size: cover;
    cursor: pointer;
    margin: 0 auto;
}

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

.page-link {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-color);
    transition: var(--transition);
    min-width: 45px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-ellipsis {
    padding: 0.75rem 0.5rem;
    color: var(--text-light);
    user-select: none;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
        margin: 2rem 0;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        font-size: 0.9rem;
    }
    
    .page-link i {
        font-size: 0.8rem;
    }
    
    /* Hide "Previous" and "Next" text on mobile, show only icons */
    .page-link i + * {
        display: none;
    }
    
    .page-link * + i {
        display: none;
    }
    
    .page-ellipsis {
        padding: 0.5rem 0.25rem;
    }
}

/* Post Page Specific Styles */
.post-gallery h3,
.post-videos h3,
.related-posts h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem 1rem;
    font-size: 0.875rem;
}

/* .video-description styles are in video-embed.css */

/* Title Image Styling */
.post-title-image-container {
    margin: 1.5rem 0 2rem 0;
    text-align: center;
}

.post-title-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.post-title-image:hover {
    transform: scale(1.02);
}

/* Combined Title and Title Image Sections */
.post-title-container {
    text-align: center;
    margin-bottom: 2rem;
}

.related-post-title-section {
    margin-bottom: 0.5rem;
}

.related-post-title-image {
    margin-top: 0.5rem;
    text-align: center;
}

.title-image-tiny {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
}


/* ========================================
   9. RELATED POSTS
   ======================================== */

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
    margin-top: 2rem; /* Space from ads above */
}

.related-post-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    max-width: 100%;
    width: 100%; /* Force full width */
    position: relative;
    box-sizing: border-box;
}

/* Related posts container - overflow control only */
/* Note: Do NOT override width on Google's ins/iframe elements */

/* Target article container only */
.related-post-card article,
.related-posts-grid article,
article.related-post-card {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Related posts section spacing */
.related-posts {
    max-width: 100%;
    box-sizing: border-box;
}

.related-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.related-post-image {
    width: 100%;
    height: 220px;
    object-fit: fill;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image {
    transform: scale(1.05);
}

/* ========================================
   10. PAGINATION
   ======================================== */

/* Pagination */
.empty-category {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 2rem 0;
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.empty-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.empty-category i {
    font-size: 4.5rem;
}

.empty-category h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.empty-category p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-category .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 8px 16px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.empty-category .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}

/* Admin Edit Corner */
.admin-edit-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.admin-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(0, 123, 186, 0.9);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 14px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 123, 186, 0.3);
}

.admin-edit-link:hover {
    background: rgba(0, 123, 186, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 123, 186, 0.5);
    color: white;
}

.admin-edit-link:focus {
    outline: 2px solid rgba(0, 123, 186, 0.5);
    outline-offset: 2px;
}

/* ========================================
   11. ABOUT & STATIC PAGES
   ======================================== */

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 630px;
    overflow: hidden;
    margin: 0 auto;
    padding: 1.5em;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.post-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* About Page Styles */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-color);
}

.about-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.about-header i {
    color: var(--primary-color);
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-style: italic;
}

.about-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.about-section {
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.about-section:last-child {
    border-bottom: none;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.intro-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.placeholder-image {
    background: var(--light-color);
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

.mission-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

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

.mission-item p {
    color: var(--text-color);
    line-height: 1.6;
}

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

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

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

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.credentials {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.credentials h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.credentials p {
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
}

.quality-content {
    display: block;
}

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

.quality-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.quality-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.quality-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

.quality-item h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quality-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.transparency-note {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.transparency-note h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.transparency-note p:last-child {
    margin-bottom: 0;
}

.transparency-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

.transparency-note a:hover {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-slider {
        display: none;
    }
    
    .empty-category {
        padding: 3rem 1.5rem;
        margin: 1rem 0;
    }
    
    .empty-category i {
        font-size: 3.5rem;
    }
    
    .empty-category h2 {
        font-size: 1.75rem;
    }
    
    .empty-category p {
        font-size: 1rem;
    }
    
    .admin-edit-corner {
        top: 8px;
        right: 8px;
    }
    
    .admin-edit-link {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   12. FOOTER
   ======================================== */

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

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

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

.footer-section p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #d1d5db;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    text-align: center;
    color: #9ca3af;
}

/* ========================================
   13. RESPONSIVE (MOBILE)
   ======================================== */

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        right: 0;             /* Keep within viewport bounds - use transform to hide instead */
        transform: translateX(100%); /* Slide off-screen without expanding layout viewport */
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: transform 0.3s ease; /* Transition transform only, not all properties */
        box-shadow: var(--shadow);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        min-height: auto;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }

    .brand-logo {
        height: 32px;
        max-width: 32px;
        flex-shrink: 0;
    }
    
    .nav-brand .brand-link {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: flex;
        flex-shrink: 0;
    }

    .bar {
        flex-shrink: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .post-header .post-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Mobile: Make feature images responsive height but maintain aspect ratio */
    .post-image {
        height: 100%;
    }

    .post-featured-image {
        aspect-ratio: 16 / 9;
    }

    .gallery-image {
        height: 100%;
    }

    .post-featured-image {
        margin-bottom: 1rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .related-post-card {
        width: 100%;
        max-width: 100%;
    }

    .related-post-content {
        padding: 1rem;
        max-width: 100%;
        overflow: hidden;
    }

}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .post-content {
        padding: 1rem;
    }

    .post-title {
        font-size: 1.25rem;
    }
}

/* ========================================
   14. UTILITIES
   ======================================== */

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ============ CONTENT SKELETON LOADING ============ */

/*
 * Show skeleton placeholders while content loads
 * Improves perceived performance for Facebook In-App Browser users
 */

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
    width: 100%;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-title {
    height: 2em;
    margin-bottom: 1em;
    width: 80%;
}

.skeleton-image {
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1em;
}

.skeleton-paragraph {
    margin-bottom: 1em;
}

.skeleton-paragraph .skeleton-text:last-child {
    width: 75%;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hide skeleton when content is loaded */
.content-loaded .skeleton {
    display: none;
}

/* ============ IMPROVED IMAGE LOADING ============ */

/* Prevent layout shift from images */
img[width][height] {
    max-width: 100%;
}

/* Lazy loaded images placeholder */
img[loading="lazy"]:not([src]) {
    background: #f0f0f0;
}

/* Facebook In-App Browser optimizations */
@supports (-webkit-touch-callout: none) {
    /* iOS optimizations for smoother scrolling */
    .post-content,
    .gallery-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* ========================================
   LEGAL PAGES (Privacy, Terms, Cookies)
   ======================================== */
.legal-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--primary-color);
}

.legal-header h1 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.legal-header i {
    color: var(--primary-color);
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

.legal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3 {
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

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

.legal-section code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63384;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--secondary-color);
}

/* Cookie Table Styles */
.cookie-table-container {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cookie-table thead {
    background: var(--primary-color);
    color: white;
}

.cookie-table th,
.cookie-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.cookie-table tbody tr:hover {
    background: #f8f9fa;
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 1rem 0 2rem;
    }

    .legal-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }

    .cookie-table {
        font-size: 0.85rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 8px 10px;
    }
}

/* ========================================
   17. SINGLE POST PAGE
   ======================================== */

/* Related Post Content */
.related-post-content {
    padding: 1rem;
    transition: var(--transition);
}

.related-post-content:hover {
    background: white;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
}

.related-post-content h4 a {
    color: var(--dark-color);
}

/* Facebook Video Styles */
.facebook-video .fb-video-wrapper {
    position: relative;
    width: 100%;
    margin: 1rem auto;
    background: #000;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
}

.facebook-video .fb-video-wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 */
}

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

.fb-video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    transition: opacity 0.3s ease;
}

.fb-video-placeholder img.fb-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.fb-video-default-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877f2 0%, #0e5fb8 100%);
}

.fb-video-default-thumb i {
    font-size: 4rem;
    color: white;
    opacity: 0.8;
}

.fb-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fb-play-btn::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.fb-play-btn svg {
    display: none;
}

.fb-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.fb-video-wrapper.loading .fb-video-placeholder {
    opacity: 0;
    pointer-events: none;
}

.fb-video-wrapper.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #1877f2;
    border-radius: 50%;
    animation: fb-spinner 0.8s linear infinite;
    z-index: 2;
}

@keyframes fb-spinner {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Admin Edit Corner for Single Post */
.admin-edit-corner-single {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.admin-edit-corner-single .admin-edit-link {
    width: 45px;
    height: 45px;
    font-size: 16px;
    box-shadow: 0 2px 15px rgba(0, 123, 186, 0.3);
}

.admin-edit-corner-single .admin-edit-link:hover {
    box-shadow: 0 4px 20px rgba(0, 123, 186, 0.5);
}

/* Social Share Styles */
.social-share {
    border-radius: 8px;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.share-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.social-share h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.25rem;
}

.share-buttons {
    display: flex;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
    width: 100%;
    justify-content: center;
}

.share-btn i {
    font-size: 1.1rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.share-btn.facebook {
    background: #0d5dbf;
}

.share-btn.facebook:hover {
    background: #0a4a99;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1a91da;
}

.share-btn.telegram {
    background: #0088cc;
}

.share-btn.telegram:hover {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.whatsapp:hover {
    background: #20ba5a;
}

.share-btn.copy-link {
    background: #6c757d;
}

.share-btn.copy-link:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .related-post-image {
        height: 200px;
        object-fit: fill;
    }

    .post-featured-image {
        height: auto !important;
        object-fit: contain;
    }

    .gallery-image {
        height: auto !important;
        object-fit: contain;
    }

    .admin-edit-corner-single {
        top: 15px;
        right: 15px;
    }

    .admin-edit-corner-single .admin-edit-link {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .share-btn {
        padding: 0.85rem 2rem;
        font-size: 1.05rem;
    }

    .share-btn i {
        font-size: 1.15rem;
    }

    .fb-play-btn {
        width: 60px;
        height: 60px;
    }

    .fb-play-btn::before {
        border-width: 10px 0 10px 16px;
    }
}

/* ========================================
   404 ERROR PAGE
   ======================================== */
.error-page {
    padding: 4rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.error-content h1 {
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin: 0.5rem 0 1rem 0;
}

.error-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.search-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.search-section h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.search-input-group {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.search-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .error-content h1 {
        font-size: 4rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: #007bff;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.contact-info h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 1rem;
    }

    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn-submit {
        padding: 0.875rem 2rem;
    }
}

/* ========================================
   ABOUT PAGE (additional styles)
   ======================================== */
/* .transparency-note styles defined above — not duplicated here */

.contact-item.full-width {
    grid-column: 1 / -1;
}

.contact-item small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.contact-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.contact-note h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.contact-note p:last-child {
    margin-bottom: 0;
}

.approach-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.approach-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.approach-list {
    list-style: none;
    padding: 0;
}

.approach-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    line-height: 1.6;
}

.approach-list li:last-child {
    border-bottom: none;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.contact-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--dark-color);
}

.contact-item p {
    margin: 0;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .about-page {
        padding: 1rem 0 2rem;
    }

    .about-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-section {
        padding: 2rem 1.5rem;
    }

    .about-section h2 {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .quality-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
}
