/* ==========================================
   UMUT VAGONU - Professional CSS
   Theme: Turkuaz/Teal (Logo Based)
   ========================================== */

:root {
    /* Logo-based Turkuaz Theme */
    --primary: #3EB89A;
    --primary-dark: #2D9A7E;
    --primary-light: #5DCFB3;
    --secondary: #2D3748;
    --accent: #38A169;
    --bg-primary: #F7FAFC;
    --bg-secondary: #E6F7F3;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(62, 184, 154, 0.15);
    --shadow-lg: 0 10px 25px -5px rgba(62, 184, 154, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;

    /* Gradient */
    --gradient-primary: linear-gradient(135deg, #3EB89A 0%, #2D9A7E 100%);
    --gradient-hero: linear-gradient(135deg, #2D3748 0%, #1A202C 50%, #234E52 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-donate,
.btn-donate-large {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-donate:hover,
.btn-donate-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
/* Header - Always Condensed */
.header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(62, 184, 154, 0.15);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Scrolled class is now redundant visually but kept for compatibility logic */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(62, 184, 154, 0.15);
}

.navbar {
    padding: 8px 0;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.logo-image {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text strong {
    font-size: 1.3rem;
    display: block;
    color: var(--primary);
}

.logo-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-link {
    padding: 10px 10px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    background: transparent;
}



/* Force white text for donate button */
.nav-menu .nav-link.btn-donate {
    color: var(--white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

/* Hamburger Animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.header.scrolled .navbar {
    padding: 8px 0;
}

.header.scrolled .logo-image {
    height: 40px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(62,184,154,0.1)"/><circle cx="90" cy="80" r="40" fill="rgba(62,184,154,0.05)"/></svg>');
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(62,184,154,0.08)" stroke-width="0.5"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 60px 0;
    width: 100%;
}

.hero-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.hero-logo {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats */
.stats-section {
    padding: 60px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

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

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(62, 184, 154, 0.2);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Services */
.about-section {
    background: var(--white);
}

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

.service-card {
    background: var(--bg-primary);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

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

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-card p {
    color: var(--text-secondary);
}

/* News */
.news-section {
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.news-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--secondary);
}

.news-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.news-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-link:hover {
    gap: 10px;
}

/* Gallery */
.gallery-section,
.gallery-preview-section {
    padding: 80px 0;
}

.gallery-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.gallery-masonry,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 55, 72, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.gallery-overlay span {
    font-size: 0.85rem;
    opacity: 0.8;
    color: var(--primary-light);
}

.gallery-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

.gallery-zoom:hover {
    background: var(--primary);
    color: var(--white);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(45, 55, 72, 0.98);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary);
}

#lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    border-radius: var(--radius);
}

.lightbox-title {
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    font-size: 1.2rem;
}

/* CTA */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary);
}

/* Quick Links */
.quick-links-section {
    background: var(--white);
}

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

.link-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    color: var(--text-primary);
}

.link-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
    background: var(--white);
}

.link-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.link-content h4 {
    margin-bottom: 3px;
}

.link-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.link-external {
    color: var(--text-muted);
    margin-left: auto;
}

/* Page Header */
.page-header {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    justify-content: center;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

/* Writers */
.writers-section {
    background: var(--bg-primary);
}

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

.writer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.writer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--primary);
}

.writer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 3rem;
}

.writer-info h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.writer-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.writer-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Links Page */
.links-section {
    background: var(--bg-primary);
}

.links-intro {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.links-full-grid {
    display: grid;
    gap: 20px;
}

.link-card-full {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.link-card-full:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.link-card-full.featured {
    border-left: 4px solid var(--primary);
    background: var(--bg-secondary);
}

.link-icon-wrapper {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.link-details {
    flex: 1;
}

.link-details h3 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.link-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.link-url {
    font-size: 0.85rem;
    color: var(--primary);
}

.link-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Social Cards */
.social-section {
    margin-top: 60px;
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid var(--border);
}

.social-section h2 {
    margin-bottom: 10px;
}

.social-section>p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.social-links-large {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 40px;
    border-radius: var(--radius-lg);
    color: var(--white);
    transition: var(--transition);
}

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

.social-card i {
    font-size: 2rem;
}

.social-card.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCAF45);
}

.social-card.facebook {
    background: #1877F2;
}

.social-card.twitter {
    background: #1DA1F2;
}

.social-card.youtube {
    background: #FF0000;
}

/* Contact */
.contact-section {
    background: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.contact-info>p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.contact-text p,
.contact-text a {
    color: var(--text-secondary);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.contact-text {
    min-width: 0;
    overflow: hidden;
}

.donation-info-card {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin-bottom: 30px;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.donation-info-card h3 {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.donation-info-card h3 i {
    flex-shrink: 0;
}

.bank-details {
    overflow: hidden;
    width: 100%;
}

.donation-info-card p,
.bank-details p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.bank-details p:last-child {
    margin-bottom: 0;
}

.contact-social h4 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.contact-social .social-links {
    display: flex;
    gap: 10px;
}

.contact-social .social-links a {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.contact-social .social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form-wrapper h2 {
    margin-bottom: 30px;
    color: var(--secondary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 184, 154, 0.15);
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Map */
.map-section {
    padding: 0 0 80px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

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

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

.article-content {
    padding: 25px;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.article-content h3 {
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--secondary);
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.article-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-card.horizontal {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 180px;
    align-items: stretch;
}

.article-card.horizontal:not(:has(.article-image)) {
    grid-template-columns: 1fr;
}

.article-card.horizontal .article-image {
    height: 100%;
    min-height: 180px;
}

.article-card.horizontal .article-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card.horizontal .article-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.article-card.horizontal .article-content p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-card.horizontal .article-meta {
    margin-bottom: 12px;
}

.article-card.horizontal .article-link {
    margin-top: auto;
}

/* News/Article Detail */
.news-detail-section,
.article-detail-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.news-detail-grid,
.article-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-detail-main,
.article-detail-main {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.news-detail-image,
.article-detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.news-detail-image img,
.article-detail-image img {
    width: 100%;
}

.news-detail-meta,
.article-detail-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
}

.badge-featured {
    background: var(--bg-secondary);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.news-detail-title,
.article-detail-title {
    font-size: 2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--secondary);
}

.news-detail-summary {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.news-detail-content,
.article-detail-content {
    line-height: 1.8;
    color: var(--text-primary);
}

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

/* Share */
.share-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

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

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

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

.share-btn.facebook {
    background: #1877F2;
}

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

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

/* Sidebar */
.news-sidebar,
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.related-news-list,
.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-news-item,
.related-article-item {
    display: flex;
    gap: 15px;
    color: var(--text-primary);
    padding: 10px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.related-news-item:hover,
.related-article-item:hover {
    background: var(--bg-secondary);
}

.related-news-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.related-placeholder {
    width: 80px;
    height: 60px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.related-content h4,
.related-article-item h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.3;
    color: var(--secondary);
}

.related-content span,
.related-article-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cta-widget {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.cta-widget h3 {
    color: var(--white);
}

.cta-widget p {
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.page-link {
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

.page-info {
    color: var(--text-muted);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.empty-state p {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-image {
    height: 50px;
    border-radius: 10px;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-logo .logo-text strong {
    font-size: 1.3rem;
    color: var(--primary-light);
}

.footer-about p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer .social-links {
    display: flex;
    gap: 10px;
}

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

.footer .social-links a:hover {
    background: var(--primary);
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--primary-light);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 3px;
    color: var(--primary);
}

.footer-contact span {
    color: rgba(255, 255, 255, 0.7);
}

.footer-donate .bank-info {
    background: rgba(62, 184, 154, 0.15);
    padding: 15px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: 1px solid rgba(62, 184, 154, 0.3);
}

.footer-donate .bank-info p {
    margin-bottom: 5px;
    opacity: 0.9;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom .developer-credit {
    margin-top: 10px;
    opacity: 0.5;
    font-size: 0.85rem;
}

.footer-bottom .developer-credit a {
    color: var(--primary-light);
    transition: var(--transition);
}

.footer-bottom .developer-credit a:hover {
    color: var(--white);
    text-decoration: underline;
}

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

.alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    position: relative;
}

.alert-success {
    background: rgba(62, 184, 154, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.alert-error {
    background: rgba(229, 72, 77, 0.1);
    color: #E5484D;
    border: 1px solid #E5484D;
}

.alert-close {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.7;
}

/* About Page */
.about-content-section {
    background: var(--bg-primary);
}

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

.about-text h2 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.mv-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.mv-card h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.mv-card p {
    color: var(--text-secondary);
}

.what-we-do {
    margin-bottom: 60px;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.activity-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.activity-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.activity-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 15px;
}

.activity-card h4 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.activity-card p {
    color: var(--text-secondary);
}

.impact-section {
    margin-top: 60px;
}

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

.impact-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.impact-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.impact-label {
    color: var(--text-muted);
}

/* Writer Detail */
.writer-detail-section {
    background: var(--bg-primary);
}

.writer-profile {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.writer-avatar.large {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.avatar-placeholder.large {
    font-size: 4rem;
}

.writer-bio h2 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.writer-bio p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.writer-email {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Author Widget */
.author-widget {
    background: var(--bg-secondary) !important;
}

.author-card {
    text-align: center;
}

.author-photo,
.author-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-photo-placeholder {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
}

.author-card h4 {
    margin-bottom: 10px;
    color: var(--secondary);
}

.author-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.article-author-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.author-avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.author-avatar-placeholder {
    width: 35px;
    height: 35px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--primary);
}

.section-divider {
    height: 1px;
    background: var(--border);
    margin: 60px 0;
}

/* Featured News */
.news-list-section {
    background: var(--bg-primary);
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    height: 400px;
    overflow: hidden;
    position: relative;
}

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

.news-badge.large {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--secondary);
}

.featured-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* ===========================================
   RESPONSIVE DESIGN
   Breakpoints: 1200px, 992px, 768px, 576px, 480px
   =========================================== */

/* Large Desktops */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets and Small Desktops */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 85vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 40px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Grid Layouts */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .news-detail-grid,
    .article-detail-grid {
        grid-template-columns: 1fr;
    }

    .news-sidebar,
    .article-sidebar {
        order: 2;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

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

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

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 300px;
    }

    .featured-content {
        padding: 30px;
    }

    .article-card.horizontal {
        grid-template-columns: 1fr;
    }

    .article-card.horizontal .article-image {
        height: 200px;
        min-height: auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .writers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-masonry,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-text h2 {
        font-size: 2rem;
    }

    .page-header {
        padding: 60px 0 50px;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* Mobile Landscape and Tablets */
@media (max-width: 1280px) {
    .container {
        padding: 0 15px;
    }

    .navbar .container {
        justify-content: space-between;
    }

    section {
        padding: 50px 0;
    }

    /* Navigation */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--white);
        background-color: var(--white);
        flex-direction: column;
        padding: 100px 30px 30px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 998;
        height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 15px;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu .btn-donate {
        margin-top: 20px;
        justify-content: center;
        color: var(--white);
        background: var(--gradient-primary);
    }

    /* Header */
    .navbar {
        padding: 10px 0;
    }

    .logo-text strong {
        font-size: 1.1rem;
    }

    .logo-text small {
        display: none;
    }

    .logo-image {
        height: 40px;
    }

    /* Hero */
    .hero {
        min-height: 80vh;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

    .stat-label {
        font-size: 0.85rem;
    }

    /* Sections */
    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 180px;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    /* Gallery */
    .gallery-masonry,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 0;
    }

    .cta-text h2 {
        font-size: 1.75rem;
    }

    .cta-text p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Links */
    .links-grid {
        grid-template-columns: 1fr;
    }

    .links-full-grid {
        gap: 15px;
    }

    .link-card-full {
        padding: 20px;
        flex-wrap: wrap;
    }

    .link-card-full .link-details {
        flex: 1;
        min-width: 0;
    }

    .link-card-full .link-details h3 {
        font-size: 1rem;
    }

    .link-card-full .link-url {
        font-size: 0.8rem;
        word-break: break-all;
    }

    .link-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .link-arrow {
        display: none;
    }

    .social-links-large {
        flex-wrap: wrap;
    }

    .social-card {
        padding: 20px 30px;
    }

    /* Writers */
    .writers-grid {
        grid-template-columns: 1fr;
    }

    .writer-card {
        padding: 25px;
    }

    .writer-avatar {
        width: 100px;
        height: 100px;
    }

    .writer-profile {
        flex-direction: column;
        text-align: center;
        padding: 25px;
        gap: 25px;
    }

    .writer-avatar.large {
        width: 120px;
        height: 120px;
    }

    /* Articles */
    .articles-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-about,
    .footer-links,
    .footer-contact,
    .footer-donate {
        text-align: center;
    }

    .footer .social-links {
        justify-content: center;
    }

    .footer-contact ul {
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer h4 {
        margin-bottom: 15px;
    }

    /* Page Header */
    .page-header {
        padding: 50px 0 40px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
        flex-wrap: wrap;
    }

    /* Detail Pages */
    .news-detail-main,
    .article-detail-main {
        padding: 25px;
    }

    .news-detail-title,
    .article-detail-title {
        font-size: 1.5rem;
    }

    .news-detail-summary {
        font-size: 1rem;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .contact-form-wrapper {
        padding: 20px;
        border-radius: var(--radius);
    }

    .contact-form-wrapper h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    /* Contact items mobile */
    .contact-item {
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .contact-text h4 {
        font-size: 0.9rem;
    }

    .contact-text p,
    .contact-text a {
        font-size: 0.9rem;
    }

    .donation-info-card {
        padding: 20px;
    }

    .donation-info-card h3 {
        font-size: 1.1rem;
    }

    .bank-details p {
        font-size: 0.9rem;
    }

    /* Pagination */
    .pagination {
        flex-direction: column;
        gap: 15px;
    }

    .page-link {
        width: 100%;
        justify-content: center;
    }

    /* About Page */
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .mv-card {
        padding: 30px 25px;
    }

    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .impact-item {
        padding: 20px;
    }

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

    /* Lightbox */
    .lightbox {
        padding: 20px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }

    #lightbox-image {
        max-height: 70vh;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .container {
        padding: 0 12px;
    }

    section {
        padding: 40px 0;
    }

    .hero {
        min-height: 75vh;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 15px 10px;
    }

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

    .stat-label {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .gallery-masonry,
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .footer {
        padding: 40px 0 0;
    }

    .footer-bottom {
        padding: 20px 0;
    }

    .developer-credit {
        font-size: 0.8rem;
    }

    .news-detail-title,
    .article-detail-title {
        font-size: 1.3rem;
    }

    .share-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .social-card {
        padding: 15px 25px;
        font-size: 0.9rem;
    }

    .social-card i {
        font-size: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .hero-logo {
        width: 60px;
        height: 60px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

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

    .section-title {
        font-size: 1.35rem;
    }

    .news-image {
        height: 150px;
    }

    .news-title {
        font-size: 1rem;
    }

    .news-summary {
        font-size: 0.85rem;
    }

    .gallery-overlay h4 {
        font-size: 0.9rem;
    }

    .gallery-overlay span {
        font-size: 0.75rem;
    }

    .writer-avatar {
        width: 80px;
        height: 80px;
    }

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

    .footer-logo .logo-image {
        height: 40px;
    }

    .footer-logo .logo-text strong {
        font-size: 1.1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {

    .btn:hover,
    .news-card:hover,
    .service-card:hover,
    .writer-card:hover,
    .link-card:hover,
    .link-card-full:hover,
    .gallery-item:hover img {
        transform: none;
    }

    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
    }
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .nav-toggle,
    .hero-wave,
    .cta-section,
    .share-section,
    .lightbox {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-logo {
        animation: none;
    }
}

/* ===========================================
   ORGANIZATION PAGE STYLES
   =========================================== */

.organization-section {
    padding: 60px 0;
}

.org-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.org-section {
    margin-bottom: 60px;
}

.org-section-title {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.org-section-title i {
    color: var(--primary);
}

/* Organization Grids */
.org-grid {
    display: grid;
    gap: 25px;
}

.org-grid-founders {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.org-grid-board,
.org-grid-supervisors {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.org-grid-leads {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.org-grid-volunteers {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Organization Cards */
.org-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

/* Large Card (Founders) */
.org-card-large {
    display: flex;
    flex-direction: column;
}

.org-card-large .org-card-photo {
    height: 280px;
}

.org-card-large .org-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.org-card-large .org-card-info {
    padding: 25px;
}

.org-card-large h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.org-card-large .org-card-title {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.org-card-large .org-card-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Medium Card (Board, Supervisors) */
.org-card-medium {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.org-card-medium .org-card-photo {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.org-card-medium .org-card-photo img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary);
    margin: 20px 0;
}

.org-card-medium .org-card-info {
    padding: 20px;
}

.org-card-medium h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

.org-card-medium .org-card-title {
    display: block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.org-card-medium .org-card-bio {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

/* Small Card (Team Leads) */
.org-card-small {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.org-card-small .org-card-photo {
    flex-shrink: 0;
}

.org-card-small .org-card-photo img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
}

.org-card-small h3 {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: var(--secondary);
}

.org-card-small .org-card-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Compact Card (Volunteers) */
.org-card-compact {
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 12px;
}

.org-card-photo-small img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
}

.org-card-info-compact h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: var(--secondary);
}

.org-card-info-compact span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Placeholder */
.org-card-placeholder,
.org-card-placeholder-small {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.org-card-placeholder {
    width: 100%;
    height: 100%;
    font-size: 3rem;
}

.org-card-large .org-card-placeholder {
    height: 280px;
}

.org-card-medium .org-card-placeholder {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    font-size: 3rem;
}

.org-card-small .org-card-placeholder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.org-card-placeholder-small {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* Social Links in Cards */
.org-card-social {
    display: flex;
    gap: 10px;
}

.org-card-social a {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.org-card-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .org-grid-founders {
        grid-template-columns: 1fr;
    }

    .org-card-large {
        flex-direction: column;
    }

    .org-card-large .org-card-photo {
        height: 220px;
    }

    .org-section-title {
        font-size: 1.4rem;
    }
}
/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(62, 184, 154, 0.4);
    z-index: 999;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    animation: bounceIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(62, 184, 154, 0.6);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        transform: scale(1.05) translateY(-5px);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
