/* HERO SECTION */
.hero-section {
    background:
        linear-gradient(
            180deg,
            #eef6ff 0%,
            #f8fbff 45%,
            #ffffff 100%
        );

    position: relative;
}

/* BACKGROUND GLOW */

.hero-bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.hero-bg-circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(74, 108, 247, 0.18);
    top: -80px;
    right: -100px;
}

.hero-bg-circle-2 {
    width: 260px;
    height: 260px;
    background: rgba(0, 180, 255, 0.12);
    bottom: -100px;
    left: -100px;
}

/* CONTENT */

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(74, 108, 247, 0.08);
    color: #4a6cf7;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.hero-title {
    font-size: 64px;
    line-height: 1.2;
    font-weight: 900;
    color: #111827;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    color: #4b5563;
    margin-bottom: 14px;
}

.hero-description {
    color: #4a6cf7;
    font-size: 17px;
    font-weight: 700;
    line-height: 2;
}

/* SEARCH */
.search-wrapper {
    position: relative;
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.08);
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    padding:
        22px
        70px
        22px
        25px;

    font-size: 17px;
}

.search-icon-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 24px;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: linear-gradient(
        135deg,
        #4a6cf7 0%,
        #3151d3 100%
    );

    color: white;
    padding: 16px 32px;
    border-radius: 18px;
    font-weight: 700;
    border: none;
    box-shadow:
        0 12px 30px rgba(74,108,247,0.25);
}

.hero-btn-primary:hover {
    color: white;
    transform: translateY(-2px);
}

.hero-btn-outline {
    border: 2px solid #4a6cf7;
    color: #4a6cf7;
    padding: 16px 32px;
    border-radius: 18px;
    font-weight: 700;
    background: white;
}

/* FEATURES */

.feature-item {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 18px 12px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.04);
}

.feature-item i {
    font-size: 26px;
    color: #4a6cf7;
    display: block;
    margin-bottom: 10px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .feature-item {
        padding: 12px 6px;  /* Reduced padding on mobile */
    }

    .feature-item i {
        font-size: 22px;  /* Slightly smaller icon */
        margin-bottom: 6px;
    }

    .feature-item span {
        font-size: 12px;  /* Smaller text */
        display: block;
        white-space: nowrap;  /* Prevent text wrapping */
    }
}

/* For very small screens (below 400px) */
@media (max-width: 400px) {
    .feature-item span {
        font-size: 10px;
        white-space: normal;  /* Allow wrap if absolutely needed */
    }

    .feature-item {
        padding: 10px 4px;
    }
}



/* IMAGE */

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    border-radius: 32px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.12);

    position: relative;
    z-index: 2;
}

/* FLOATING CARDS */

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 16px 20px;
    box-shadow:
        0 20px 50px rgba(0,0,0,0.08);

    z-index: 5;
}

.floating-card-1 {
    top: 40px;
    left: -40px;
}

.floating-card-2 {
    bottom: 40px;
    right: -30px;
}

.floating-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(74,108,247,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 14px;
}

.floating-icon i {
    font-size: 24px;
    color: #4a6cf7;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .floating-card {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn-primary,
    .hero-btn-outline {
        width: 100%;
        text-align: center;
    }

}

:root{
    --primary:#4a6cf7;
    --primary-dark:#3151d3;
    --text-dark:#111827;
    --text-muted:#6b7280;
    --bg-soft:#f8fbff;
    --radius-lg:24px;
    --radius-md:18px;
    --shadow-soft:0 10px 40px rgba(0,0,0,.06);
    --shadow-hover:0 20px 50px rgba(0,0,0,.10);
    --transition:.35s ease;
}

/* GLOBAL */

body{
    font-family: IRANSansX, sans-serif;
    color: var(--text-dark);
    background:#fff;
}

.section{
    padding: 100px 0;
}

.section-title .title{
    font-size: 42px;
    font-weight: 900;
    line-height: 1.4;
}

.section-title p{
    font-size: 18px;
    line-height: 2;
}

/* MODERN CARD */

.modern-card,
.customer-testi,
.features,
.key-feature{
    border-radius: 24px !important;
    transition: var(--transition);
    border:1px solid rgba(0,0,0,.04);
    box-shadow: var(--shadow-soft);
    overflow:hidden;
}

.modern-card:hover,
.customer-testi:hover,
.features:hover,
.key-feature:hover{
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* BUTTONS */

.btn{
    transition: var(--transition);
}

.btn:hover{
    transform: translateY(-2px);
}

/* GLASS EFFECT */

.glass-effect{
    background: rgba(255,255,255,.7);
    backdrop-filter: blur(14px);
}

/* PREMIUM GRADIENT TEXT */

.gradient-text{
    background: linear-gradient(135deg,#4a6cf7,#00b4ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}



.search-wrapper{
    border:1px solid rgba(74,108,247,.08);
    transition:.3s ease;
}

.search-wrapper:hover{
    box-shadow:0 20px 45px rgba(74,108,247,.12);
}

.search-wrapper:focus-within{
    border-color:#4a6cf7;
    box-shadow:0 0 0 6px rgba(74,108,247,.08);
}




.features{
    padding:40px 30px;
    background:#fff;
    height:100%;
}

.features .image{
    width:80px;
    height:80px;
    border-radius:22px;
    background:#f3f7ff;
    display:flex;
    align-items:center;
    justify-content:center;
}

.features .title-2{
    font-size:24px;
    font-weight:800;
    margin-bottom:15px;
}

.features p{
    line-height:2;
    font-size:16px;
}



.counter-box{
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;
    padding:40px 20px;
    backdrop-filter: blur(12px);
    transition:.35s ease;
}

.counter-box:hover{
    transform:translateY(-6px);
    background:rgba(255,255,255,.14);
}

.counter-box h2{
    font-size:48px;
    font-weight:900;
}



.customer-testi{
    background:#fff;
    border-radius:24px;
    padding:35px 25px !important;
}

.customer-testi h5{
    font-size:22px;
    font-weight:800;
    line-height:1.8;
}

.customer-testi small{
    line-height:2;
    font-size:15px;
}


.cat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.category-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.category-icon i {
    font-size: 18px;
    color: #2563eb;
}
.cat-count {
    font-size: 12px;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 2px 10px;
}

/* ── Session tabs ── */
.session-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.stab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 999px;
    border: 1.5px solid #e2e8f0; background: #fff;
    color: #64748b; font-size: 13px; font-weight: 600;
    cursor: pointer; transition: all 0.15s; white-space: nowrap;
}
.stab.active { background: #0f172a; color: #fff; border-color: #0f172a; }
.stab-count {
    font-size: 11px; padding: 1px 7px; border-radius: 999px;
    background: #f1f5f9; color: #94a3b8;
}
.stab.active .stab-count { background: rgba(255,255,255,0.15); color: #fff; }
.stab-panel {
    display: none;
}

.stab-panel.active {
    display: block;
}
/* ── Session card ── */
.session-card {
    background: #fff; border: 1px solid #e9ecef; border-radius: 14px;
    padding: 14px 16px; height: 100%;
    display: flex; flex-direction: column; gap: 10px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.session-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}
.session-card-top { display: flex; align-items: center; justify-content: space-between; }
.session-mentor { display: flex; align-items: center; gap: 9px; }
.session-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    object-fit: cover; border: 2px solid #f1f5f9; flex-shrink: 0;
}
.session-avatar-placeholder {
    width: 40px; height: 40px; border-radius: 50%;
    background: #e2e8f0; display: flex; align-items: center;
    justify-content: center; color: #94a3b8; font-size: 18px; flex-shrink: 0;
}
.session-mentor-name { font-size: 13px; font-weight: 700; color: #0f172a; }
.sbadge { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.sbadge-online  { background: #eff6ff; color: #2563eb; }
.sbadge-inperson { background: #f0fdf4; color: #16a34a; }

.session-card-title { font-size: 13px; font-weight: 700; color: #0f172a; line-height: 1.4; margin: 0; }
.session-card-meta { display: flex; flex-direction: column; gap: 5px; }
.session-card-meta span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #64748b; }
.session-card-meta i { color: #6366f1; width: 14px; }

.session-reserve-btn {
    display: block; text-align: center; margin-top: auto;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff; font-size: 12px; font-weight: 600;
    padding: 9px; border-radius: 9px; text-decoration: none;
    transition: opacity 0.2s;
}
.session-reserve-btn:hover { opacity: 0.88; color: #fff; text-decoration: none; }

.session-see-all {
    display: inline-flex; align-items: center; gap: 5px;
    background: #f8fafc; border: 1px solid #e2e8f0; color: #475569;
    font-size: 13px; font-weight: 600; padding: 8px 20px;
    border-radius: 999px; text-decoration: none; transition: all 0.2s;
}
.session-see-all:hover { background: #f1f5f9; color: #0f172a; text-decoration: none; }


.mentor-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
    background:
        linear-gradient(
            rgba(15,23,42,.70),
            rgba(15,23,42,.72)
        ),
        url('/static/images/background/hotel-background.jpg') center center/cover no-repeat;
}

.mentor-hero::after{
    content:'';
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right,
        rgba(74,108,247,.25),
        transparent 35%);
}

.mentor-hero-content{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    align-items:flex-end;
    padding-bottom:40px;
    color:#fff;
}

.mentor-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,.15);
    padding:10px 18px;
    border-radius:999px;
    font-size:14px;
    margin-bottom:18px;
}

.mentor-title{
    font-size:42px;
    font-weight:900;
    margin-bottom:12px;
    line-height:1.4;
}

.mentor-subtitle{
    color:rgba(255,255,255,.82);
    max-width:700px;
    line-height:2;
    font-size:15px;
}

/* Responsive */
@media(max-width:991px){
    .mentor-hero{
        height:240px;
        border-radius:0 0 24px 24px;
    }

    .mentor-title{
        font-size:28px;
    }
}


/* منتور: چیپ انتخاب‌شده */
.mentor-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
    min-height: 1.5rem;
}
.mentor-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .6rem;
    background: #e7f1ff;
    color: #0d6efd;
    border-radius: 2rem;
    font-size: .75rem;
    cursor: pointer;
}
.mentor-chip:hover { background: #cfe2ff; }
.mentor-chip .chip-x { font-size: .875rem; font-weight: 700; line-height: 1; }

/* منتور: آیتم لیست */
.mentor-item {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .4rem 0;
    cursor: pointer;
}
.mentor-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e7f1ff;
    color: #0d6efd;
    font-size: .7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mentor-name { font-size: .875rem; color: #4a5568; }

.partners-slider-wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 3rem;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.partners-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 1000000;
    position: relative;
}
.partners-title span {
    background: #d4e2ff;
    padding: 0.3rem 1.2rem;
    border-radius: 3rem;
    font-size: 1rem;
    color: #0f2b62;
}

/* استایل اصلی اسلایدر */
.owl-carousel .item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
    transition: transform 0.3s ease;
}

/* تصاویر گرد با سایه و حاشیه زیبا */
.partner-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 20, 50, 0.06);
    border: 3px solid rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
    filter: grayscale(10%);
    display: block;
}

/* هاور روی هر لوگو: بزرگ‌نمایی ملایم و حذف فیلتر خاکستری */
.partner-logo:hover {
    transform: scale(1.07);
    box-shadow: 0 22px 35px rgba(0, 0, 0, 0.15), 0 8px 15px rgba(0, 40, 70, 0.12);
    filter: grayscale(0%);
    border-color: #ffffff;
    cursor: pointer;
}

/* شخصی‌سازی دکمه‌های نویگیشن Owl (اختیاری، چون اتوماتیک حرکت می‌کند) */
.owl-theme .owl-nav [class*='owl-'] {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #1e3a6b;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: all 0.25s;
    border: 1px solid rgba(255,255,255,0.7);
}
.owl-theme .owl-nav [class*='owl-']:hover {
    background: #ffffff;
    color: #0a1e3c;
    box-shadow: 0 12px 22px rgba(0,0,0,0.15);
    transform: scale(1.04);
}

/* دات‌های پایین اسلایدر (نقاط) */
.owl-theme .owl-dots .owl-dot span {
    background: #b7c4dd;
    width: 12px;
    height: 12px;
    transition: 0.25s;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #1f3b6b;
    width: 28px;
    border-radius: 10px;
}

/* تنظیم واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .partner-logo {
        width: 85px;
        height: 85px;
    }
    .partners-slider-wrapper {
        padding: 2rem 0.8rem;
        border-radius: 2.2rem;
    }
}