﻿@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

:root {
    --bg-main: #050509;
    --bg-card: #11111a;
    --bg-card-soft: #181824;
    --accent-pink: #ff6ad5;
    --accent-gold: #ffd166;
    --accent-neon: #4af2a1;
    --accent-blue: #6c5ce7;
    --accent-soft: #f4eaff;
    --text-main: #f9f9ff;
    --text-muted: #b3b3c6;
    --border-soft: rgba(255, 255, 255, 0.08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
    --transition-fast: 0.25s ease-out;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top left, #1b1b2f 0, #050509 55%, #000000 100%);
    color: var(--text-main);
    line-height: 1.8;
}

/* Header & Nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: linear-gradient(90deg, rgba(5,5,9,0.95), rgba(10,10,20,0.9));
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 7vw;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-animated {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, var(--accent-pink), var(--accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(255, 106, 213, 0.7);
    animation: logoPulse 2.4s infinite ease-in-out;
}

.logo-icon {
    font-weight: 800;
    font-size: 24px;
    color: #050509;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 16px;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 18px rgba(255, 106, 213, 0.7); }
    50% { transform: scale(1.08); box-shadow: 0 0 28px rgba(255, 209, 102, 0.9); }
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.main-nav a:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.main-nav a.active {
    color: #050509;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-gold));
    border-color: transparent;
}

/* Layout */

main {
    padding: 40px 7vw 60px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.4fr);
    gap: 32px;
    align-items: center;
    margin-top: 20px;
}

.hero-content h1 {
    font-size: 26px;
    margin-bottom: 12px;
}

.hero-tagline {
    font-size: 15px;
    color: var(--accent-soft);
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    min-height: 260px;
}

.floating-card {
    position: absolute;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-soft);
    max-width: 260px;
    font-size: 13px;
}

.floating-card .emoji {
    font-size: 22px;
    display: inline-block;
    margin-bottom: 6px;
}

.pastel-card {
    top: 0;
    right: 0;
    background: linear-gradient(145deg, #f4eaff, #ffe6ff);
    color: #2d1b3f;
}

.neon-card {
    bottom: 10%;
    left: 0;
    background: radial-gradient(circle at top, #0f172a, #020617);
    border-color: rgba(74, 242, 161, 0.5);
}

.gold-card {
    top: 40%;
    right: 12%;
    background: linear-gradient(135deg, #1f1300, #3b2500);
    border-color: rgba(255, 209, 102, 0.6);
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    margin-top: 16px;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-gold));
    color: #050509;
    box-shadow: 0 12px 30px rgba(255, 106, 213, 0.4);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(255, 209, 102, 0.5);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-soft);
    border-color: rgba(255, 255, 255, 0.18);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.ghost-btn {
    background: transparent;
    color: var(--accent-pink);
    border-color: rgba(255, 106, 213, 0.6);
}

.ghost-btn:hover {
    background: rgba(255, 106, 213, 0.08);
}

/* Stats */

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 40px 0 30px;
}

.stat-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Sections */

section {
    margin-bottom: 40px;
}

section h2 {
    font-size: 20px;
    margin-bottom: 14px;
}

.org-profile p,
.home-services p,
.home-courses p,
.about-mission p,
.about-global p,
.about-note p,
.courses-note p,
.page-hero p,
.services-list p,
.contact-note p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Cards grid */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.service-card,
.course-card,
.about-card {
    background: var(--bg-card-soft);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.course-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 106, 213, 0.12), transparent 55%);
    opacity: 0;
    transition: var(--transition-fast);
}

.service-card:hover::before,
.course-card:hover::before {
    opacity: 1;
}

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent-soft);
}

.icon-circle.pastel {
    background: #f4eaff;
    color: #2d1b3f;
}

.icon-circle.neon {
    background: #022c22;
    color: var(--accent-neon);
}

.icon-circle.gold {
    background: #3b2500;
    color: var(--accent-gold);
}

.icon-circle.dark {
    background: #020617;
    color: var(--accent-soft);
}

.badge {
    display: inline-block;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-soft);
    margin-bottom: 8px;
}

/* Testimonials */

.testimonials {
    margin-top: 40px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.testimonial {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    border: 1px solid var(--border-soft);
    font-size: 13px;
    position: relative;
}

.testimonial::before {
    content: "“";
    position: absolute;
    top: -10px;
    left: 12px;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.08);
}

.testimonial p {
    color: var(--text-soft);
}

.testimonial .author {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--accent-gold);
}

/* FAQ */

.faq-section,
.services-faq {
    margin-top: 40px;
}

.faq-item {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    text-align: right;
    padding: 10px 14px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-toggle-icon {
    font-size: 18px;
    color: var(--accent-pink);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    padding: 0 14px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 8px 0 12px;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* Page hero */

.page-hero h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Contact */

.contact-info {
    margin-top: 20px;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    margin-bottom: 10px;
    font-size: 14px;
}

.contact-email a,
.contact-website a {
    color: var(--accent-gold);
    text-decoration: none;
}

.contact-email a:hover,
.contact-website a:hover {
    text-decoration: underline;
}

/* Flags list */

.flag-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.flag-list li {
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--border-soft);
    padding: 18px 7vw 24px;
    background: #050509;
    font-size: 12px;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--accent-gold);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-note {
    margin-top: 6px;
    color: #ff9f9f;
}

/* Responsive */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
        min-height: 220px;
    }
    .stats-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 600px) {
    main {
        padding: 30px 5vw 50px;
    }
    .stats-section {
        grid-template-columns: 1fr 1fr;
    }
    .main-nav ul {
        flex-wrap: wrap;
        gap: 8px;
    }
}
