html {
    scroll-behavior: smooth !important;
}
.highlight-sticker {
    background: #ffd753;
    color: #363636;
    padding: 6px 12px;
    font-weight: bold;
    display: inline-block;
    clip-path: polygon(5% 0, 100% 10%, 95% 100%, 0% 90%);
}


#countdown {
    background: #f8f9fa;
    border-top: 3px solid #ff3d3d;
    border-bottom: 3px solid #ff3d3d;
}
#countdown .time-box {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    min-width: 80px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
#countdown h3 {
    font-weight: bold;
    color: #ff3d3d;
}


.teacher-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}
.teacher-card:hover {
    background: #06d6a0; /* قرمز برند */
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.teacher-card:hover.teacher-card .exp-box {
    background: #06d6a0; /* قرمز برند */
    color: #fff;
    border-left: 4px solid #ffffff; /* رنگ قرمز یا هر رنگ برند */
}
.teacher-card h4,
.teacher-card p {
    transition: color 0.3s ease;
}
.teacher-card:hover h4,.teacher-card:hover h6,
.teacher-card:hover p {
    color: #fff;
}
.teacher-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 6px solid #eee;
    transition: border-color 0.3s ease;
}
.teacher-card:hover .teacher-img {
    border-color: #fff;
}
.teacher-text {
    font-size: 16px;
    line-height: 1.9;
}
.teacher-experience .exp-box {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-left: 4px solid #06d6a0; /* رنگ قرمز یا هر رنگ برند */
    text-align: right;
    transition: 0.3s;
}

.teacher-experience .exp-box:hover {
    transform: translateX(-5px);
}
.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-icons li a {
    font-size: 40px !important; /* 👈 اندازه بزرگتر آیکن‌ها */
    transition: all 0.3s ease-in-out;
    display: inline-block;
}

/* رنگ پیش‌فرض */
.social-icons .instagram {
    color: #E1306C !important;  /* صورتی اینستاگرام */
}

.social-icons .tiktok {
    color: #000 !important;     /* مشکی تیک‌تاک */
}

.social-icons .youtube {
    color: #FF0000 !important;  /* قرمز یوتیوب */
}


/* افکت هاور */
.social-icons li a:hover {
    transform: scale(1.3) rotate(5deg); /* بزرگ‌تر + کمی چرخش */
    filter: brightness(1.2); /* روشن‌تر شدن رنگ */
}

.mybtn1 {
    width: 100%;
    padding: 18px 0;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    background: #06d6a0;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(4, 185, 138,0.6);
    overflow: hidden;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

/* نور متحرک دائمی روی دکمه */
.mybtn1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: -150%; }
}

/* هاور حرفه‌ای */
.mybtn1:hover {
    color: #ffffff; /* متن سفید */
    background: #04c08f;
    transform: scale(1.07);
    box-shadow: 0 6px 15px rgba(4, 185, 138,0.6);
}

/* حرکت جزئی متن روی هاور */
.mybtn1 span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.mybtn1:hover span {
    transform: translateY(-3px);
}

.register-wrapper {
    width: 100%;
    position: relative;
    margin-top: 15px;
    text-align: center;
}

/* کانتینر ستاره ها */
.stars {
    position: relative;
    height: 40px;
}

/* ستاره های کوچک */
.stars span {
    position: absolute;
    display: block;
    width: 8px;
    height: 8px;
    background: #FFD753;
    border-radius: 50%;
    animation: starAnim 2s linear infinite;
    opacity: 0.8;
}

/* موقعیت اولیه ستاره ها */
.stars span:nth-child(1) { left: 10%; animation-delay: 0s; }
.stars span:nth-child(2) { left: 25%; animation-delay: 0.3s; }
.stars span:nth-child(3) { left: 45%; animation-delay: 0.6s; }
.stars span:nth-child(4) { left: 65%; animation-delay: 0.9s; }
.stars span:nth-child(5) { left: 85%; animation-delay: 1.2s; }

/* انیمیشن حرکت و درخشش ستاره ها */
@keyframes starAnim {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
}

.user-animation {
    display: inline-block;
    position: relative;
    width: 150px;
    height: 150px;
}

.user-animation img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

/* انیمیشن سریع بدون fade */
.img1 {
    animation: switchAnim 0.5s steps(1) infinite;
}

.img2 {
    animation: switchAnim 0.5s steps(1) infinite;
    animation-delay: 0.25s; /* نصف مدت زمان لوپ برای تغییر سریع */
}

@keyframes switchAnim {
    0%, 50% { opacity: 1; }
    50.1%, 100% { opacity: 0; }
}
.price-card {
    width: 100%; /* کل باکس رو می‌گیره */
    max-width: 400px; /* اگه خواستی محدود باشه */
    margin: 20px auto;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-align: center;
    font-family: "Vazir", sans-serif;
}

.price-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.price-amount {
    font-size: 1.9rem;
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: #aaa;
    margin-right: 10px;
}

.discounted-price {
    font-size: 1.3rem;
    color: #e74c3c;
    font-weight: 700;
    margin-right: 10px;
}

.price-info {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    margin-top: 15px !important;
}
/*------------------------------------------------form validation */
.input-field.error {
    border: 2px solid #FF414D;
}
.error-msg {
    color: #FF414D;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
    direction: rtl;
    text-align: right;
}
/* ------------------------------------language switcher */
.language-switcher {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.lang-btn {
    background-color: #FF414D;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px;
    margin-left: 5px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;

}
.language-switcher a{
    color: #fff !important;
}
.lang-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
@media (max-width: 768px) {
    .language-switcher {
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        justify-content: center;
        gap: 0;
        margin-bottom: 25px;
    }

    .lang-btn {
        width: 40%;
        justify-content: center;
        text-align: center;
        border-radius: 5px;
        padding: 12px 0;
    }
}

