/*
Theme Name: Pezhvak Idea Live Pulse
Theme URI: https://pezhvakidea.ir
Author: Pezhvak Idea
Author URI: https://pezhvakidea.ir
Description: قالب اختصاصی پژواک ایده
Version: 1.4
License: GNU General Public License v2 or later
Tags: custom, clean
*/

/* استایل‌های پایه برای جلوگیری از سیاه شدن */
body {
    background-color: #090A0F !important;
    color: #fff !important;
}
/* Import Google Vazirmatn Font */
/* Custom Reset and Variables */
:root {
    --bg-main: #090A0F;              /* مشکی شیک و عمیق متمایل به سرمه‌ای */
    --bg-sec: #11131E;               /* مشکی دوم برای تمایز بخش‌ها */
    --card-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.06);
    --primary: #FACC15;              /* زرد لیمویی نئونی و درخشان */
    --secondary: #10B981;            /* سبز زنده و جذاب */
    --text-light: #F3F4F6;
    --text-muted: #9CA3AF;
    --nav-height: 80px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Arial, sans-serif;
    font-feature-settings: 'ss02';
    line-height: 1.7;
    overflow-x: hidden;
}

/* Direction Styles */
[dir="rtl"] {
    text-align: right;
}
[dir="ltr"] {
    text-align: left;
}

/* Typography Helpers */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.text-center {
    text-align: center !important;
}

.w-full {
    width: 100% !important;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: rgba(250, 204, 21, 0.08);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    border: 1px solid rgba(250, 204, 21, 0.15);
}

/* Glassmorphism Classes */
.card-glass {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 12px;
}

/* Layout Containers */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

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

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

.section-sub {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 1.1rem;
}

.header-line {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn-primary-nav {
    background-color: var(--primary);
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.btn-primary-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.btn-main-amber {
    background-color: var(--primary);
    color: #000;
    font-weight: bold;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    display: inline-block;
    transition: var(--transition-smooth);
}
.btn-main-amber:hover {
    background-color: #E2B607;
    box-shadow: 0 4px 20px rgba(250, 204, 21, 0.25);
    transform: translateY(-2px);
}

.btn-main-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--border-glass);
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition-smooth);
}
.btn-main-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-light);
    transform: translateY(-2px);
}

/* Sticky Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: rgba(9, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background-color: rgba(9, 10, 15, 0.9);
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-accent {
    color: var(--primary);
}

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

.nav-item {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-item:hover, .nav-item.active {
    color: var(--text-light);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-lang {
    background: transparent;
    border: 1.5px solid var(--border-glass);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
}
.btn-lang:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-light);
}

/* Mobile Drawer Menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition-smooth);
}

/* Mobile Drawer Menu styles */
.mobile-drawer {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: #0c0d14;
    border-bottom: 1px solid var(--border-glass);
    padding: 20px;
    display: none;
    z-index: 999;
}

.mobile-drawer.open {
    display: block;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mob-nav-item {
    font-size: 1.1rem;
    color: var(--text-muted);
    display: block;
    padding: 8px 0;
}

/* SPA Transitions */
.spa-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding-top: calc(var(--nav-height) + 30px);
}

.spa-view.active-view {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.typing-container {
    height: 35px;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 25px;
    font-weight: 600;
}

.cursor {
    animation: blink 0.7s infinite;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
}

/* Counter Grid */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.counter-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 25px 15px;
    border-radius: 12px;
}

.counter-num {
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 5px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 16px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Departments Grid */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.dept-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 35px 25px;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dept-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.05);
}

.dept-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dept-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.dept-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.dept-link {
    font-weight: bold;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Category Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--bg-sec);
    color: var(--text-muted);
    border: 1.5px solid var(--border-glass);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
    font-weight: bold;
}

/* Course Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.course-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.course-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

.course-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.course-level {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.04);
    border: 1px solid var(--border-glass);
}

.course-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.course-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.course-meta-details {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-glass);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.course-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.course-price {
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: bold;
}

/* Course Details Page Wrapper */
.course-details-wrapper {
    background: var(--bg-sec);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 40px;
}

.back-btn {
    margin-bottom: 25px;
}

.c-details-header {
    margin-bottom: 35px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 25px;
}

.c-details-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.c-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.c-details-sidebar {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 30px;
    border-radius: 16px;
    height: fit-content;
}

.sidebar-item {
    margin-bottom: 20px;
}

.sidebar-item h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.sidebar-item p {
    font-size: 1.1rem;
    font-weight: bold;
}

.curriculum-list {
    list-style: none;
    margin-top: 20px;
}

.curriculum-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.curriculum-item h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--secondary);
}

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

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

.workshop-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.workshop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    border-radius: 20px 20px 0 0;
}

.w-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(250, 204, 21, 0.12);
    color: var(--primary);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.workshop-card h3 {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.35rem;
}

.workshop-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.w-meta {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 15px;
}

.w-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 25px;
    border-top: 1px solid var(--border-glass);
    padding-top: 15px;
}

/* Project Gallery masonry fallback */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.gallery-img-placeholder {
    height: 220px;
    background: #141622;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #333;
}

.gallery-info {
    padding: 20px;
}

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

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

.gallery-item:hover {
    transform: scale(1.02);
    border-color: var(--primary);
}

/* Competitive Advantages Grid */
#advantages {
    padding-top: 40px;
}

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

.adv-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 30px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.adv-card:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.06);
}

.adv-icon {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

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

.adv-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--card-glass);
    border: 1px solid var(--border-glass);
    padding: 35px 25px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.team-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.member-avatar {
    font-size: 3.5rem;
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.02);
    border: 1.5px solid var(--border-glass);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.team-card .desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Registration Form Wrapper */
.reg-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-sec);
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    background-color: var(--bg-main);
    border: 1.5px solid var(--border-glass);
    color: var(--text-light);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(250, 204, 21, 0.1);
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-success-card {
    margin-top: 20px;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.form-success-card.hidden {
    display: none;
}

.success-icon {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-details-list li {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-details-list a {
    color: var(--primary);
}

.map-placeholder {
    height: 100%;
    min-height: 250px;
    background-color: #141622;
    border: 1px dashed var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
}

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

.faq-item {
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 10px;
}

.faq-trigger {
    background: transparent;
    border: none;
    width: 100%;
    padding: 20px 0;
    text-align: inherit;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-bottom: 20px;
}

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

/* Footer Section */
.footer {
    background-color: var(--bg-sec);
    border-top: 1px solid var(--border-glass);
    padding: 60px 20px 30px;
    margin-top: 100px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 15px;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-col ul a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 30px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Scroll Animations */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Back to Top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: -60px;
    background-color: var(--primary);
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.back-to-top.visible {
    right: 30px;
}

/* Keyframes */
@keyframes blink {
    50% { opacity: 0; }
}

/* Responsive Rules */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .c-details-grid {
        grid-template-columns: 1fr;
    }
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .counters-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .section-container {
        padding: 64px 16px;
    }
    #advantages {
        padding-top: 24px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .adv-card {
        padding: 24px 20px;
    }
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: #000;
    margin-top: 10px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
}

.map-link-btn {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.map-link-btn:hover {
    background: var(--primary);
    color: #000;
}

html,
body {
    min-height: 0 !important;
    height: auto !important;
}

main#app-container {
    min-height: 0 !important;
    height: auto !important;
}

.spa-view,
.section-container,
#workshops-view {
    min-height: 0 !important;
    height: auto !important;
    margin-bottom: 0 !important;
    padding-bottom: 40px !important;
}

#workshops-view > *:last-child {
    margin-bottom: 0 !important;
}
body {
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
}

h1 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.4;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}
body {
    font-family: 'Vazirmatn', sans-serif;
}
html,
body {
    font-family: 'Vazirmatn', sans-serif;
}

body,
button,
input,
textarea,
select,
a,
p,
span,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Vazirmatn', sans-serif;
}
/* ===== Testimonials / Student Reviews ===== */

.testimonials-section {
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 2rem 1.6rem 1.5rem;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    color: #f5f5f5;
    background: linear-gradient(
        145deg,
        rgba(30, 35, 29, 0.95),
        rgba(10, 10, 10, 0.98)
    );

    border: 1px solid rgba(190, 220, 56, 0.22);
    border-top: 3px solid #c7df3a;
    border-radius: 22px;

    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card::before {
    content: "“";
    position: absolute;
    top: -1.4rem;
    left: 1.15rem;

    color: rgba(199, 223, 58, 0.13);
    font-size: 9rem;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-7px);
    border-color: rgba(199, 223, 58, 0.65);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.testimonial-stars {
    position: relative;
    z-index: 1;

    color: #f5c542;
    font-size: 1.25rem;
    letter-spacing: 0.12rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    position: relative;
    z-index: 1;

    margin: 0 0 1.75rem;
    color: #d8ddd3;
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 2.15;
}

.testimonial-footer {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 0.85rem;

    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(135deg, #d4e94c, #8fae24);
    color: #111111;
    border: 2px solid rgba(245, 197, 66, 0.8);
    border-radius: 50%;

    font-size: 1.35rem;
    font-weight: 800;
}

.testimonial-meta h3 {
    margin: 0 0 0.2rem;
    color: #f5f5f5;
    font-size: 1.05rem;
    font-weight: 700;
}

.testimonial-meta p {
    margin: 0;
    color: #b9c3b1;
    font-size: 0.85rem;
    line-height: 1.8;
}

@media (max-width: 1000px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        min-height: auto;
    }
}
.site-pulse {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 9999;
    width: min(210px, calc(100vw - 30px));
    padding: 14px;
    direction: rtl;
    color: #f8fafc;
    background: rgba(18, 20, 33, 0.94);
    border: 1px solid rgba(255, 204, 20, 0.2);
    border-radius: 15px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: "Vazirmatn", sans-serif;
}

.pulse-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-header h3 {
    margin: 0 0 2px;
    color: #fff;
    font-size: 0.84rem;
    font-weight: 800;
}

.pulse-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.68rem;
}

.pulse-status {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
    animation: pulse-glow 1.8s infinite;
}

.pulse-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.76rem;
}

.pulse-stat span {
    color: #aab1c3;
}

.pulse-stat strong {
    direction: ltr;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.pulse-online {
    margin: 2px -2px -2px;
    padding: 9px 7px;
    border-radius: 9px;
    background: rgba(34, 197, 94, 0.1);
}

.pulse-online strong {
    color: #4ade80;
}

html[dir="ltr"] .site-pulse {
    direction: ltr;
    left: auto;
    right: 18px;
}

@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.14);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.03);
    }
}

@media (max-width: 600px) {
    .site-pulse {
        left: 10px;
        bottom: 10px;
        width: 190px;
        padding: 12px;
    }

    html[dir="ltr"] .site-pulse {
        left: auto;
        right: 10px;
    }
}


.form-success-card.form-error {
    background-color: rgba(239, 68, 68, 0.10);
    border-color: #ef4444;
    color: #ef4444;
}
