/* ===== CHARITY CLARITY - MAIN STYLES ===== */
/* Version: 1.0 | Restored from Web Archive */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

a {
    color: #0088cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #006699;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    padding: 15px 0;
    border-top: 4px solid #0088cc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: #0088cc;
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    color: #555;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.nav-menu a:hover {
    color: #0088cc;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0088cc;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-outline {
    border: 2px solid #0088cc;
    color: #0088cc;
    background: transparent;
}

.btn-outline:hover {
    background: #0088cc;
    color: #fff;
}

.btn-primary {
    background: #7CB342;
    color: #fff;
    border: 2px solid #7CB342;
}

.btn-primary:hover {
    background: #689F38;
    border-color: #689F38;
}

.btn-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.btn-white:hover {
    background: #fff;
    color: #0088cc;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e74c3c;
    font-size: 16px;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons .youtube { color: #e74c3c; }
.social-icons .facebook { color: #1877f2; }
.social-icons .twitter { color: #1da1f2; }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, #2B5876 0%, #4E8BA9 50%, #6BA3BE 100%);
    padding: 80px 0;
    color: #fff;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero h1 strong {
    font-weight: 600;
}

.hero .subtitle {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero .btn {
    padding: 15px 30px;
    font-size: 16px;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 60px 0;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 50px;
}

.tab {
    padding: 15px 30px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

.tab:hover,
.tab.active {
    color: #0088cc;
    border-bottom-color: #0088cc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-item {
    padding: 20px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #7CB342;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #7CB342;
    font-size: 32px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.learn-more {
    text-align: center;
    margin-top: 40px;
}

.learn-more a {
    color: #666;
    font-size: 14px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 15px 0;
    font-size: 13px;
    color: #999;
}

.breadcrumbs a {
    color: #0088cc;
}

.breadcrumbs span {
    margin: 0 8px;
    color: #ccc;
}

/* ===== CONTENT WRAPPER (Article + Sidebar) ===== */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 30px 0 60px;
}

/* ===== ARTICLE ===== */
.article {
    max-width: 100%;
}

.article-header {
    margin-bottom: 30px;
}

.article-title {
    font-size: 32px;
    color: #0088cc;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.share-buttons a {
    color: #0088cc;
}

.article-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 22px;
    color: #333;
    margin: 35px 0 20px;
    font-weight: 600;
}

.article-content h3 {
    font-size: 18px;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #0088cc;
    text-decoration: underline;
}

.article-content blockquote {
    border-left: 4px solid #0088cc;
    padding: 15px 20px;
    margin: 25px 0;
    background: #f8f9fa;
    font-style: italic;
}

.article-content img {
    margin: 20px 0;
    border-radius: 4px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    font-size: 14px;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.sidebar-widget:last-child {
    border-bottom: none;
}

.sidebar-widget h4 {
    font-size: 14px;
    color: #0088cc;
    margin-bottom: 15px;
    font-weight: 600;
}

.sidebar-widget img {
    max-width: 100%;
    margin-bottom: 10px;
}

.sidebar-widget p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.sidebar-widget a {
    color: #0088cc;
}

/* ===== PAGE CONTENT (Simple pages without sidebar) ===== */
.page-content {
    padding: 40px 0 60px;
}

.page-title {
    font-size: 36px;
    color: #0088cc;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.3;
}

.page-content .content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-width: 800px;
}

.page-content .content p {
    margin-bottom: 20px;
}

.page-content .content h2 {
    font-size: 24px;
    color: #333;
    margin: 40px 0 20px;
    font-weight: 600;
}

.page-content .content h3 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 15px;
    font-weight: 600;
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.comments-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.comment-form {
    max-width: 500px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0088cc;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.checkbox-group input {
    width: auto;
    margin-top: 3px;
}

/* ===== FOOTER ===== */
.footer {
    background: #f5f5f5;
    padding: 50px 0 30px;
    font-size: 14px;
}

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

.footer-col h4 {
    color: #0088cc;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #666;
    font-size: 13px;
}

.footer-col a:hover {
    color: #0088cc;
}

.footer-col p {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 250px;
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form input {
    padding: 8px 10px;
    font-size: 13px;
}

.newsletter-form .btn {
    padding: 8px 20px;
    font-size: 13px;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}

.footer-bottom a {
    color: #999;
    margin-right: 20px;
}

.footer-bottom a:hover {
    color: #0088cc;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        padding: 50px 0;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero .subtitle {
        font-size: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .page-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        text-align: left;
        border-bottom: 1px solid #eee;
    }
}
