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

:root {
    --primary: #1a56db;
    --primary-dark: #1242b0;
    --primary-light: #e8effc;
    --secondary: #0f766e;
    --accent: #f59e0b;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255,255,255,0.2);
    position: relative;
    z-index: 5;
}

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

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

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

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

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

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

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

/* === TOP BAR === */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span,
.top-bar-right span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-links-top {
    display: flex;
    gap: 12px;
}

.social-links-top a {
    color: var(--gray-light);
}

.social-links-top a:hover {
    color: var(--white);
}

/* === HEADER === */
.header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

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

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

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

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--gray);
    font-weight: 500;
}

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

.nav-list > li > a {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list > li > a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-list > li > a i {
    font-size: 0.65rem;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown li a {
    display: block;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--dark-light);
}

.dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

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

/* === HERO === */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    z-index: 5;
    height: 100%;
}

.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    display: block;
    height: 100%;
    min-height: 600px;
}

/* Makale Slider 1 — Haksız Şart */
.hero-slide:nth-child(1) {
    background-image:
        linear-gradient(135deg, rgba(15, 118, 110, 0.62) 0%, rgba(6, 95, 70, 0.62) 100%),
        url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Makale Slider 2 — Taksitli Satışlar */
.hero-slide:nth-child(2) {
    background-image:
        linear-gradient(135deg, rgba(234, 88, 12, 0.62) 0%, rgba(154, 52, 18, 0.62) 100%),
        url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Makale Slider 3 — Tüketici Senetleri */
.hero-slide:nth-child(3) {
    background-image:
        linear-gradient(135deg, rgba(30, 64, 175, 0.62) 0%, rgba(124, 58, 237, 0.62) 100%),
        url('https://images.unsplash.com/photo-1554224154-26032ffc0d07?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Genel Slider 1 */
.hero-slide:nth-child(4) {
    background-image:
        linear-gradient(135deg, rgba(26, 86, 219, 0.60) 0%, rgba(15, 118, 110, 0.60) 100%),
        url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Genel Slider 2 */
.hero-slide:nth-child(5) {
    background-image:
        linear-gradient(135deg, rgba(15, 118, 110, 0.60) 0%, rgba(6, 95, 70, 0.60) 100%),
        url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

/* Genel Slider 3 */
.hero-slide:nth-child(6) {
    background-image:
        linear-gradient(135deg, rgba(124, 58, 237, 0.60) 0%, rgba(26, 86, 219, 0.60) 100%),
        url('https://images.unsplash.com/photo-1589578527966-fdac0f44566c?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    max-width: 700px;
    padding-bottom: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 20;
}

.hero-buttons .btn {
    position: relative;
    z-index: 21;
}

.btn-wa-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-wa-outline:hover {
    background: #25d366;
    border-color: #25d366;
    color: var(--white);
}

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

.hero-article-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* === PAID NOTICE === */
.paid-notice {
    background: #fef3c7;
    border-bottom: 2px solid #f59e0b;
    padding: 14px 0;
}

.paid-notice p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #92400e;
    font-weight: 500;
}

.paid-notice i {
    color: #f59e0b;
    font-size: 1.1rem;
}

/* === SECTIONS === */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header.centered {
    flex-direction: column;
    text-align: center;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.section-desc {
    color: var(--gray);
    margin-top: 10px;
    font-size: 1.05rem;
}

.see-all {
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.see-all:hover {
    gap: 10px;
}

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

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

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

.card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0 0 var(--radius) 0;
    width: fit-content;
}

.badge-green {
    background: var(--secondary);
}

.badge-purple {
    background: #7c3aed;
}

.badge-orange {
    background: #ea580c;
}

.card-body {
    padding: 20px;
    flex: 1;
}

.card-date {
    font-size: 0.82rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--dark);
}

.card-body p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.6;
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--border);
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* === SLOGAN BANNER === */
.slogan-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.slogan-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.slogan-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 24px;
}

.slogan-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.slogan-wa-btn i {
    font-size: 1.3rem;
}

.slogan-wa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* === ABOUT === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-content .btn {
    margin-top: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    background: var(--light);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-topic-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

/* === DONATION === */
.donation-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #065f46 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.donation-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.donation-content p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

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

/* === TAX BANNER === */
.tax-banner {
    background: var(--dark);
    padding: 50px 0;
    text-align: center;
    color: var(--white);
}

.tax-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tax-banner p {
    color: var(--gray-light);
    font-size: 1rem;
}

/* === VOLUNTEER === */
.volunteer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.volunteer-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.volunteer-content p {
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.7;
}

.volunteer-content .btn {
    margin-top: 15px;
}

.volunteer-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--light);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark-light);
}

/* === FAQ === */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 24px 18px;
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* === ARTICLES === */
.articles-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.article-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.article-header {
    width: 100%;
    padding: 24px 28px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.article-header:hover {
    background: var(--primary-light);
}

.article-item.active .article-header {
    background: var(--primary-light);
    border-bottom: 1px solid var(--border);
}

.article-header-content {
    flex: 1;
}

.article-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.article-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.article-summary {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

.article-header > i {
    font-size: 0.95rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.article-item.active .article-header > i {
    transform: rotate(45deg);
}

.article-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.article-content {
    padding: 28px;
    border-top: 1px solid var(--border);
}

.article-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin: 24px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-list li {
    font-size: 0.93rem;
    color: var(--gray);
    line-height: 1.7;
    padding: 10px 14px;
    background: var(--light);
    border-radius: var(--radius);
    border-left: 3px solid var(--border);
    transition: var(--transition);
}

.article-list li:hover {
    border-left-color: var(--primary);
    background: var(--primary-light);
}

/* === CONTACT === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-centered {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--dark);
}

.contact-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.contact-form-wrapper {
    background: var(--light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* === FOOTER === */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

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

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

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

.footer-logo .logo-title {
    color: var(--white);
}

.footer-logo .logo-subtitle {
    color: var(--gray-light);
}

.footer-about p {
    color: var(--gray-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--gray-light);
    font-size: 0.88rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

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

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

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

.footer-bottom p {
    color: var(--gray-light);
    font-size: 0.85rem;
}

/* === WHATSAPP WIDGET === */
.wa-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.wa-toggle-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.7rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
    pointer-events: auto;
}

.wa-toggle-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.7);
}

.wa-toggle-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
    0%   { transform: scale(1); opacity: 0.8; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

.wa-icon-open,
.wa-icon-close {
    position: absolute;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-icon-close {
    font-size: 1.3rem;
    opacity: 0;
    transform: rotate(-90deg);
}

.wa-widget.open .wa-icon-open {
    opacity: 0;
    transform: rotate(90deg);
}

.wa-widget.open .wa-icon-close {
    opacity: 1;
    transform: rotate(0);
}

.wa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    transition: opacity 0.2s ease;
}

.wa-widget.open .wa-badge {
    opacity: 0;
}

/* Chat Panel */
.wa-chat {
    width: 330px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.wa-widget.open .wa-chat {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.wa-chat-header {
    background: #075e54;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-chat-avatar {
    width: 42px;
    height: 42px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}

.wa-chat-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wa-chat-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.wa-chat-status {
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.wa-online-dot {
    width: 7px;
    height: 7px;
    background: #25d366;
    border-radius: 50%;
    display: inline-block;
    animation: wa-blink 2s infinite;
}

@keyframes wa-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.wa-close-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.wa-close-btn:hover {
    color: #fff;
}

.wa-chat-body {
    background: #ece5dd url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='300' height='300' fill='%23ece5dd'/%3E%3C/svg%3E");
    padding: 16px;
    min-height: 120px;
}

.wa-bubble {
    background: #fff;
    border-radius: 0 10px 10px 10px;
    padding: 10px 14px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
}

.wa-bubble::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.wa-bubble p {
    font-size: 0.88rem;
    color: #303030;
    line-height: 1.5;
    margin-bottom: 4px;
}

.wa-bubble p:last-of-type {
    margin-bottom: 6px;
}

.wa-bubble-time {
    font-size: 0.7rem;
    color: #aaa;
    display: block;
    text-align: right;
}

.wa-chat-footer {
    background: #f0f0f0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid #ddd;
}

.wa-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-family: inherit;
    resize: none;
    outline: none;
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
    background: #fff;
    transition: border-color 0.2s;
}

.wa-input:focus {
    border-color: #25d366;
}

.wa-send-btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.wa-send-btn:hover {
    background: #1ebe5d;
}

@media (max-width: 480px) {
    .wa-widget {
        bottom: 20px;
        right: 16px;
    }

    .wa-chat {
        width: calc(100vw - 32px);
    }
}

/* === BACK TO TOP === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 102px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .about-grid,
    .volunteer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-left,
    .top-bar-right {
        gap: 12px;
        font-size: 0.8rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        padding: 80px 30px 30px;
        box-shadow: var(--shadow-xl);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-list > li > a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 15px;
        display: none;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown.open .dropdown {
        display: block;
    }

    .mobile-toggle {
        display: block;
        z-index: 1002;
    }

    .hero {
        height: auto;
        min-height: 520px;
    }

    .hero-slide.active {
        min-height: 480px;
    }

    .hero-content {
        height: auto;
        min-height: 480px;
        padding: 90px 0 70px;
        justify-content: flex-start;
    }

    .hero-content h1 {
        font-size: 1.85rem;
        margin-bottom: 14px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

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

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

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slogan-banner h2,
    .donation-content h2,
    .tax-banner h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 540px;
    }

    .hero-content {
        min-height: 500px;
        padding: 80px 0 80px;
    }

    .hero-content h1 {
        font-size: 1.45rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 0.88rem;
        margin-bottom: 16px;
        line-height: 1.6;
    }

    .hero-article-tag {
        font-size: 0.68rem;
        padding: 4px 10px;
        margin-bottom: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrapper {
        padding: 20px;
    }
}
