/* ============================================
   FONT FACES
   ============================================ */
@font-face { 
    font-family: 'A Rezvan'; 
    src: url("../fonts/A-Rezvan.ttf") format('truetype'); 
}

@font-face { 
    font-family: 'Vazir'; 
    src: url("../fonts/Vazir.ttf") format('truetype'); 
}

*, *::before, *::after { 
    box-sizing: border-box; 
}

body, html { 
    margin: 0; 
    padding: 0; 
    background: #f5f5f0; 
}


/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative; 
    min-height: 300px;
    background: linear-gradient(135deg, #085041 0%, #1D9E75 50%, #0F6E56 100%);
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    overflow: hidden;
}

.page-hero::before {
    content: ''; 
    position: absolute; 
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 50%);
}

.page-hero-content { 
    position: relative; 
    z-index: 1; 
    padding: 2.5rem 2rem; 
}

.page-hero h1 {
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: #ffffff; 
    margin: 0 0 0.6rem;
    position: relative; 
    display: inline-block;
}

.page-hero h1::after {
    content: ''; 
    position: absolute; 
    bottom: -6px; 
    right: 0;
    height: 3px; 
    width: 0%; 
    background: #9FE1CB; 
    border-radius: 2px;
    animation: underline-grow 0.9s ease-out 0.4s forwards;
}

@keyframes underline-grow { 
    to { width: 100%; } 
}

.page-hero p {
    font-family: Vazir, sans-serif; 
    font-size: 1rem;
    color: rgba(255,255,255,0.78); 
    margin: 0.8rem 0 0;
}


/* ============================================
   STATS BAR
   ============================================ */
.news-stats {
    background: #fff; 
    border-bottom: 1px solid #e8e8e0;
    padding: 1rem 0;
}

.news-stats-inner {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem;
    display: flex; 
    gap: 2rem; 
    align-items: center;
    font-family: Vazir, sans-serif; 
    font-size: 0.9rem; 
    color: #777;
}

.news-stats-inner span { 
    color: #085041; 
    font-weight: bold; 
}


/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 4rem 2rem;
    display: flex; 
    align-items: flex-start; 
    gap: 3rem; 
    flex-direction: row-reverse;
}

.about-logo { 
    flex-shrink: 0; 
    width: 240px; 
}

.about-logo img { 
    display: block; 
    width: 100%; 
    max-width: 100%; 
    border-radius: 12px; 
    box-shadow: 0 8px 24px rgba(8,80,65,0.15); 
    margin: 0 auto; 
}

.about-body { 
    flex: 1; 
}

.about-heading {
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem); 
    color: #085041;
    margin: 0 0 1.2rem; 
    position: relative; 
    display: inline-block;
}

.about-heading::after {
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px;
    background: #1D9E75; 
    border-radius: 2px; 
    margin: 0.5rem 0 0;
}

.about-body p { 
    font-family: Vazir, sans-serif; 
    font-size: 1.05rem; 
    line-height: 2; 
    color: #333; 
    margin: 0; 
}


/* ============================================
   SOCIAL MEDIA CARDS
   ============================================ */
.social-section { 
    background: #fff; 
    padding: 4rem 2rem; 
}

.social-section-title {
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem); 
    color: #085041;
    text-align: center; 
    margin: 0 0 0.4rem; 
    display: block;
}

.section-underline {
    content: ''; 
    display: block; 
    width: 60px; 
    height: 3px;
    background: #1D9E75; 
    border-radius: 2px; 
    margin: 0.5rem auto 2.5rem;
}

.social-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1.2rem; 
    max-width: 1100px; 
    margin: 0 auto;
}

.social-card {
    background: #f5f5f0; 
    border-radius: 14px; 
    padding: 1.8rem 1.2rem;
    text-align: center; 
    border: 1px solid #e0e0d8;
    text-decoration: none; 
    color: inherit; 
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.social-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 8px 24px rgba(8,80,65,0.12); 
    text-decoration: none; 
    color: inherit; 
}

.social-card img { 
    width: 54px; 
    height: 54px; 
    object-fit: contain; 
    margin: 0 auto 0.9rem; 
    display: block; 
}

.social-card h3 { 
    font-family: 'A Rezvan', Vazir, sans-serif; 
    font-size: 1.05rem; 
    color: #085041; 
    margin: 0 0 0.35rem; 
}

.social-handle { 
    font-family: Vazir, sans-serif; 
    font-size: 0.85rem; 
    color: #444; 
    font-weight: bold; 
    direction: ltr; 
    text-align: center; 
    display: block; 
}

.social-at { 
    color: #1D9E75; 
}


/* ============================================
   ACCORDION / FAQ
   ============================================ */
.faq-section { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 4rem 2rem; 
}

.faq-heading {
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem); 
    color: #085041;
    text-align: center; 
    margin: 0 0 0.4rem; 
    display: block;
}

.faq-item { 
    background: #fff; 
    border-radius: 12px; 
    border: 1px solid #e0e0d8; 
    margin-bottom: 1rem; 
    overflow: hidden; 
    transition: box-shadow 0.2s; 
}

.faq-item:hover { 
    box-shadow: 0 4px 16px rgba(8,80,65,0.09); 
}

.faq-question {
    width: 100%; 
    background: none; 
    border: none; 
    cursor: pointer;
    padding: 1.2rem 1.5rem; 
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    text-align: right; 
    gap: 1rem;
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: 1.05rem; 
    color: #085041;
    background-color: #f8faf8;
    transition: background-color 0.25s;
}

.faq-question:hover {
    background-color: #e8f5f0;
}

.faq-question span { 
    flex: 1; 
}

.faq-arrow {
    width: 28px; 
    height: 28px; 
    flex-shrink: 0; 
    background: #E1F5EE; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 0.9rem; 
    color: #1D9E75; 
    transition: background 0.2s, transform 0.3s;
}

.faq-item.open .faq-arrow { 
    background: #085041; 
    color: #fff; 
    transform: rotate(180deg); 
}

.faq-answer { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.35s ease, padding 0.3s; 
    padding: 0 1.5rem; 
    font-family: Vazir, sans-serif;
    font-size: 0.95rem; 
    line-height: 1.8; 
    color: #444; 
}

.faq-item.open .faq-answer { 
    max-height: 200px; 
    padding: 0 1.5rem 1.2rem; 
}

.faq-answer p { 
    margin: 0; 
}


/* ============================================
   MAP / LOCATION
   ============================================ */
.map-section { 
    background: #f5f5f0; 
    padding: 4rem 2rem; 
}

.map-heading {
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem); 
    color: #085041;
    text-align: center; 
    margin: 0 0 0.4rem; 
    display: block;
}

.map-card {
    max-width: 1000px; 
    margin: 0 auto;
    background: #fff; 
    border-radius: 18px; 
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(8,80,65,0.12);
    border: 1px solid #e0e0d8;
}

.map-embed-wrap { 
    width: 100%; 
    height: 380px; 
}

.map-embed-wrap iframe { 
    width: 100%; 
    height: 100%; 
    border: 0; 
    display: block; 
}

.map-card-footer {
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between;
    gap: 1rem; 
    padding: 1.4rem 1.8rem;
}

.map-address-block { 
    display: flex; 
    align-items: center; 
    gap: 0.7rem; 
}

.map-pin-badge {
    width: 42px; 
    height: 42px; 
    border-radius: 50%;
    background: #E1F5EE; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.3rem; 
    flex-shrink: 0;
}

.map-address-text h4 {
    font-family: 'A Rezvan', Vazir, sans-serif; 
    font-size: 1.05rem;
    color: #085041; 
    margin: 0 0 0.2rem;
}

.map-address-text p { 
    font-family: Vazir, sans-serif; 
    font-size: 0.85rem; 
    color: #777; 
    margin: 0; 
}

.map-action-links { 
    display: flex; 
    gap: 0.6rem; 
    flex-wrap: wrap; 
}

.map-action-btn {
    font-family: 'A Rezvan', Vazir, sans-serif; 
    font-size: 0.85rem;
    color: #085041; 
    background: #E1F5EE; 
    border: 1.5px solid #1D9E75;
    text-decoration: none; 
    padding: 0.5rem 1.1rem; 
    border-radius: 50px;
    transition: background 0.2s, color 0.2s;
}

.map-action-btn:hover { 
    background: #085041; 
    color: #fff; 
}


/* ============================================
   NEWS / CARDS SECTION
   ============================================ */
.news-section { 
    padding: 2.5rem 0 4rem; 
}

.card {
    border: none; 
    border-radius: 14px; 
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s; 
    height: 100%;
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(8,80,65,0.14) !important;
}

.card-img-top { 
    height: 220px; 
    width: 100%; 
    object-fit: cover; 
}

.card-body { 
    padding: 1.2rem 1.4rem 1.4rem; 
}

.card-title {
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: 1.1rem; 
    color: #085041; 
    margin-bottom: 0.5rem;
}

.card-text { 
    font-family: Vazir, sans-serif; 
    font-size: 0.9rem; 
    color: #555; 
    line-height: 1.7; 
}

.card-link {
    display: inline-flex; 
    align-items: center; 
    gap: 0.3rem;
    margin-top: 0.8rem; 
    font-family: 'A Rezvan', Vazir, sans-serif;
    font-size: 0.9rem; 
    color: #1D9E75; 
    text-decoration: none;
    border: 1.5px solid #1D9E75; 
    padding: 0.35rem 0.9rem;
    border-radius: 50px; 
    transition: background 0.2s, color 0.2s;
}

.card-link:hover { 
    background: #085041; 
    color: #fff; 
    border-color: #085041; 
}

.empty-state {
    text-align: center; 
    padding: 6rem 1rem; 
    color: #aaa;
    font-family: 'A Rezvan', Vazir, sans-serif; 
    font-size: 1.3rem;
}

.empty-state::before { 
    content: '📰'; 
    display: block; 
    font-size: 3rem; 
    margin-bottom: 1rem; 
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    /* About */
    .about-section { 
        flex-direction: column !important; 
        align-items: center; 
        padding: 2rem 1rem; 
    }
    .about-logo { 
        width: 180px; 
        margin: 0 auto; 
    }
    .about-body { 
        text-align: center; 
    }

    /* Social */
    .social-grid { 
        grid-template-columns: 1fr 1fr; 
    }

    /* Map */
    .map-embed-wrap { 
        height: 280px; 
    }

    /* Hero */
    .page-hero { 
        min-height: 200px; 
        padding: 2rem 1rem; 
    }

    /* FAQ */
    .faq-question { 
        font-size: 0.95rem; 
        padding: 1rem; 
    }
    .faq-answer { 
        font-size: 0.85rem; 
    }
}

@media (max-width: 480px) {
    .social-grid { 
        grid-template-columns: 1fr; 
    }
    .map-card-footer { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .map-action-links { 
        width: 100%; 
        justify-content: center; 
    }
}
