body {
    font-family: 'Vazirmatn', sans-serif;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


:root {
    --primary: #ffd700;
    --primary-soft: rgba(255, 215, 0, 0.15);
    --primary-glow: rgba(255, 215, 0, 0.35);
    --bg-dark: #0a0e17;
    --bg-card: #161b22;
    --text: #e6edf3;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
        font-family: "Vazirmatn", sans-serif;

}



body {
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.65;
    padding-top: 75px;
font-family: "Vazirmatn", sans-serif;
}

h1,
h2,
h3 {
    letter-spacing: .5px;
}


/* HERO - Dark-Cinematic Inspired */
.hero {
    min-height: 20vh;

background-image:
radial-gradient(circle at 50% 30%, rgba(245,197,66,0.15), transparent 60%),
linear-gradient(rgba(10,10,15,0.8), rgba(10,10,15,0.9)),
url("/assets/images/hero-bg.jpg");


    background-size: cover;
    background-position: center;
       color: #fff;
    text-align: center;
    padding: 140px 20px 120px;
    position: relative;

}

.hero h1 {
    font-size: 52px;
    line-height: 1.6;
    font-weight: 800;
    text-shadow:
        0 0 20px rgba(255, 200, 0, 0.15),
        0 0 40px rgba(255, 200, 0, 0.1);
    margin-top: 30px;

}


.hero h1 .highlight {
    color: #FFD54F;
    text-shadow: 0 0 20px #FFC107;
}

.hero p {
    margin-top: 18px;
    font-size: 22px;
    color: #b9c0cc;
    margin-bottom: 40px;

}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    transition: all .3s ease;
padding: 26px 34px;

}


.hero-stats .stat {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
padding: 26px 34px;
    transition: .35s ease;
        text-align: center;

}

.hero-stats .stat:hover {
    box-shadow: 0 0 25px rgba(255, 200, 0, 0.25);
    border-color: #ffd34d;
    transform: translateY(-4px);
}



.hero-stats strong {
    display: block;
    font-size: 28px;
    color: #FFD54F;

}


.hero-highlight{
display:inline-block;
margin-top:20px;
padding:8px 18px;
font-size:30px;
font-weight:600;
color:#f5c542;
background:rgba(245,197,66,0.08);
border:1px solid rgba(245,197,66,0.35);
border-radius:30px;
backdrop-filter: blur(6px);
box-shadow:
0 0 12px rgba(245,197,66,0.15),
inset 0 0 8px rgba(245,197,66,0.08);
}


/* CTA Modern */

.cta {
    display: inline-block;
    background: linear-gradient(90deg, #ffd34d, #ffc400);
    box-shadow: 0 0 30px rgba(255, 200, 0, 0.6);
    color: #000;
    padding: 14px 38px;
    border-radius: 8px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
    text-decoration:none;

}


.cta-btn:hover {
    background: var(--primary);
    color: #000;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.7),
        0 0 80px rgba(255, 215, 0, 0.55);
}





.cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: .6s;
}

.cta:hover::before {
    left: 100%;
}

.cta:hover {
    box-shadow: 0 0 50px rgba(255, 200, 0, 0.9);
    transform: translateY(-2px);
}





.form-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: var(--primary);
    color: #000;
    font-weight: 600;
    letter-spacing: .5px;
    transition: .3s;
    font-family: "Vazirmatn", sans-serif;

}


.form-btn:hover {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

/* SECTIONS */

.section-padding {
    padding: 90px 10%;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.register-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 40px;
}

.grid-3 {
display:grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 35px;
align-items: stretch;
}


/* CARDS */

.card {
background: linear-gradient(145deg,#141a22,#0f141b);
padding:50px 30px;
border-radius:20px;

border:1px solid rgba(255,215,0,0.18);

min-height:260px;

display:flex;
flex-direction:column;
justify-content:flex-start;
}

.card h3{
color:var(--primary);
font-size:20px;
margin-bottom:20px;
}


.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow:
        0 0 35px rgba(255, 215, 0, 0.35),
        0 0 60px rgba(0, 0, 0, 0.9);
}


/* FORM */

.register-box {
    max-width: 750px;
    margin: auto;
    background: linear-gradient(145deg, #111722, #0b0f18);
    padding: 50px;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

input,
select {
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    outline: none;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.95rem;
    transition: border-color .3s, box-shadow .3s;
}

input:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.card-display {
    background: var(--primary-soft);
    padding: 20px;
    border-radius: 15px;
    border: 1px dashed var(--primary);
    text-align: center;
    margin-bottom: 25px;
}

.card-number {
    direction: ltr;
    unicode-bidi: bidi-override;
    font-family: "Courier New";
    font-size: 1.9rem;
    letter-spacing: 4px;
    color: var(--primary);
    font-family: "Vazirmatn", sans-serif;

}

.payment-tab {
    display: none;
}

select option {
    background: #161b22;
    color: #fff;
    padding: 10px;
}

/* TABS */

.tab-btn {
    flex: 1;
    padding: 15px;
    background: #1e232a;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
    font-family: "Vazirmatn", sans-serif;


}

.tab-btn.active {
    background: var(--primary);
    color: #000;
    font-weight: bold;
}


/* FOOTER */

footer {
    margin-top: 80px;
    padding: 90px 10% 40px;

    background: linear-gradient(150deg, #07090d, #020203 90%);
    border-top: 1px solid rgba(255, 215, 0, 0.22);

    box-shadow:
        0 -30px 80px rgba(0, 0, 0, 0.85),
        inset 0 0 40px rgba(0, 0, 0, 0.55);
}

footer h3,
footer h4 {
    font-size: 1.35rem;
    /* بزرگ‌تر و خواناتر */
    color: var(--primary);
    margin-bottom: 18px;
}

footer p,
footer a {
    font-size: 1.1rem;
    /* متن اصلی بزرگ‌تر */
    color: #d5dbe3;
    line-height: 1.9;
}

footer a:hover {
    color: var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    /* بخش توضیحات عریض‌تر شد */
    gap: 60px;
    align-items: start;
}

.footer-about p {
    font-size: 1.05rem;
    line-height: 2;
    /* فاصله خطوط بیشتر برای خوانایی بهتر متن طولانی */
    color: #b0bac5;
    text-align: justify;
    /* تراز کردن متن برای ظاهر کتابی و حرفه‌ای */
    max-width: 450px;
}

.footer-about h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

.footer-about h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.copy {
    margin-top: 45px;
    text-align: center;
    font-size: 1.05rem;
    color: #a8b3c4;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 215, 0, 0.12);
}

.copy .brand {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: #d5dbe3;
    padding: 6px 0;
}

.footer-social a:hover {
    color: var(--primary);
}

/* تلگرام */
.footer-social a[href*="t.me"]::before {
    background-image: url('icons/telegram.svg');
}

/* ایتا */
.footer-social a[href*="eitaa"]::before {
    background-image: url('icons/eitaa.svg');
}

/* بله */
.footer-social a[href*="ble.im"]::before {
    background-image: url('icons/bale.svg');
}

/* اینستاگرام */
.footer-social a[href*="instagram"]::before {
    background-image: url('icons/instagram.svg');
}


.footer-social svg {
    width: 24px;
    fill: var(--primary);
}

/* ریسپانسیو کردن برای موبایل */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-about p {
        max-width: 100%;
        text-align: center;
    }

    .footer-about h3::after {
        right: 50%;
        transform: translateX(50%);
    }
}
.skill-list{

font-size:15px;
color:#c9d1d9;
line-height:2;

}

.skill-list li{

margin-bottom:8px;

position:relative;

padding-right:18px;

}

.skill-list li::before{

content:"";

width:6px;

height:6px;

background:#ffd700;

border-radius:50%;

position:absolute;

right:0;

top:11px;

box-shadow:0 0 8px #ffd700;

}


.skill-list a{
color:#cfd6dd !important;
text-decoration:none !important;
border-bottom:none !important;
}

.skill-list a:hover{
color:#ffd700;
text-decoration:none;
border-bottom:none;
}
a{
text-decoration:none;
}


.skill-list{

margin-top:10px;

padding:0;

list-style:none;

color:#cfd6dd;

font-size:15px;

line-height:2.1;

}

.card{

background:linear-gradient(145deg,#141a22,#0f141b);

padding:45px 35px;

border-radius:22px;

min-height:250px;

border:1px solid rgba(255,215,0,0.2);

box-shadow:0 0 20px rgba(255,215,0,0.08);

transition:all .35s ease;

position:relative;

overflow:hidden;

display:flex;
flex-direction:column;
}

.card:hover{

transform:translateY(-10px);

box-shadow:0 15px 40px rgba(255,215,0,0.25);

border:1px solid rgba(255,215,0,0.4);

}


.card h3{

color:#ffd700;

font-size:22px;

margin-bottom:22px;

font-weight:700;

}



.courses{
padding:120px 9%;
text-align:center;
}

.section-title{
text-align:center;
margin-bottom:10px;
}

.section-subtitle{
text-align:center;
opacity:0.7;
}


.courses-grid{
display:grid;
align-items: stretch;
padding:30px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:40px;

}

.course-card{
background:var(--bg-card);
border:1px solid rgba(255,215,0,0.15);
padding:35px;
border-radius:16px;
text-align:right;
position:relative;
transition:0.3s;
display:flex;
flex-direction:column;
justify-content:space-between;
min-height:420px;
    width:100%;
    overflow: visible; /* تا برچسب قطع نشود */

}

.course-card:hover{
transform:translateY(-8px);
border-color:var(--primary);
box-shadow:0 10px 40px rgba(255,215,0,0.15);
}

.course-card h3{
font-size:20px;
margin-bottom:15px;
position:relative;

}

.course-desc{
color:#9aa4b2;
font-size:14px;
margin-bottom:20px;
line-height:1.8;
}

.course-features{
list-style:none;
margin-bottom:25px;
}

.course-features li{
margin-bottom:8px;
color:#c9d1d9;
font-size:14px;
}

.course-card.featured{
border:2px solid #00c2ff;
transform:scale(1.05);
box-shadow:0 10px 40px rgba(0,194,255,0.3);
background:linear-gradient(180deg,#0c0f1a,#0a0d16);
}

.featured-tag{
position:absolute;
top:-12px;
right:20px;
background:#00c2ff;
color:#000;
font-size:12px;
font-weight:bold;
padding:6px 12px;
border-radius:20px;
}


.course-features li::before{
content:"•";
color:var(--primary);
margin-left:6px;
}

.course-footer{
    margin-top: 25px;
}

/* قیمت */
.course-price{
    color:#ffd000;
    font-size:25px;
    font-weight:900;
    margin-bottom:18px;
        text-align: center;

}

.course-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

/* پایه مشترک همه دکمه‌ها */
.course-btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.course-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: all 0.8s ease;
}

/* افکت نور هنگام hover */
.course-btn:hover::before {
    left: 120%;
}

/* حالت کلیک */
.course-btn:active {
    transform: scale(0.96);
}

/* ===== دکمه ثبت نام قطعی ===== */
.course-btn.buy {
    background: #ffd000;
    color: #000;
    box-shadow: 0 0 8px rgba(255, 208, 0, 0.5);
}

.course-btn.buy:hover {
    box-shadow: 0 0 16px rgba(255, 208, 0, 0.8);
}

/* ===== دکمه رزرو ظرفیت ===== */
.course-btn.reserve {
    border: 2px solid #00c3ff;
    color: #00c3ff;
    background: rgba(0, 195, 255, 0.1);
    box-shadow: 0 0 6px rgba(0, 195, 255, 0.3);
}

.course-btn.reserve:hover {
    background: rgba(0, 195, 255, 0.2);
    box-shadow: 0 0 14px rgba(0, 195, 255, 0.6);
}

/* ===== دکمه مشاهده دوره ===== */
.course-btn.view {
    background: rgba(0, 195, 255, 0.15);
    border: 2px solid rgba(0, 195, 255, 0.5);
    color: #00e5ff;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 8px rgba(0, 195, 255, 0.2);
}

.course-btn.view:hover {
    background: rgba(0, 195, 255, 0.3);
    border-color: #00eaff;
    box-shadow: 0 0 18px rgba(0, 230, 255, 0.7);
}



/* برچسب شروع دوره */
.course-badge {
    position: absolute;
    top: -14px;
    left: 18px;
    background: #e7c300;
    color: #000;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    z-index: 30;
    box-shadow: 0 0 10px rgba(231, 195, 0, 0.4);
}

#msgBox {
    display: none;
    padding: 18px 20px;
    margin: 20px auto;
    width: 90%;
    max-width: 550px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    background: #fff;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    animation: fadeSlide 0.45s ease;
    border-left: 6px solid transparent;
}

.msg-success {
    border-left-color: #30c86d;
    background: linear-gradient(135deg, #eafff1 0%, #f3fff8 100%);
    color: #085c2a;
}

.msg-error {
    border-left-color: #ff4d4d;
    background: linear-gradient(135deg, #ffeeee 0%, #fff5f5 100%);
    color: #a10000;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

