@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --dark: #111827;
    --dark-2: #1F2937;
    --dark-3: #374151;
    --gold: #D4A017;
    --amber: #F59E0B;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --text-muted: #9CA3AF;
}

/* ── Base reset for this page ── */
body {
    background: var(--dark);
    font-family: 'Inter', sans-serif;
}

/* ── Utility ── */
.gold {
    color: var(--gold);
}

.amber {
    color: var(--amber);
}

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 2rem;
    border-radius: 6px;
    transition: background 0.25s, transform 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-gold:hover {
    background: var(--amber);
    transform: translateY(-2px);
}

.btn-outline-gold {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    transition: all 0.25s;
    text-decoration: none;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--dark);
}

/* ── Knife Divider (signature element) ── */
.knife-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto 2rem;
    max-width: 320px;
}

.knife-divider::before,
.knife-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.knife-divider span {
    font-size: 1.25rem;
    color: var(--gold);
    flex-shrink: 0;
}

/* ── Section heading ── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ── Slow bounce for WhatsApp ── */
@keyframes cmca-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.cmca-bounce {
    animation: cmca-bounce 2.2s infinite;
}

/* ── HERO SLIDER ── */
.hero-swiper {
    position: relative;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    display: block;
}

/* Dark gradient overlay on hero */
.hero-swiper .swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 0.35) 0%, rgba(17, 24, 39, 0.65) 100%);
    pointer-events: none;
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    background: rgba(212, 160, 23, 0.8);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    color: var(--dark) !important;
    transition: background 0.2s;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: 900 !important;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--amber);
}

.hero-swiper .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
}

/* ── CATEGORY PILLS ── */
.cat-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0.5rem 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.cat-scroll::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 80px;
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    border: 1.5px solid var(--dark-3);
    background: var(--dark-2);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, transform 0.2s;
    text-decoration: none;
}

.cat-pill:hover {
    border-color: var(--gold);
    background: rgba(212, 160, 23, 0.12);
    transform: translateY(-3px);
}

.cat-pill img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.cat-pill span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    line-height: 1.3;
}

/* ── COURSE CARDS ── */
.course-card {
    background: var(--dark-2);
    border: 1.5px solid var(--dark-3);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(212, 160, 23, 0.15);
}

.course-card__thumb {
    overflow: hidden;
    position: relative;
}

.course-card__thumb img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    transition: transform 0.4s;
    display: block;
}

.course-card:hover .course-card__thumb img {
    transform: scale(1.05);
}

.course-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--dark);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.course-card__badge.free {
    background: #10B981;
    color: #fff;
}

.course-card__badge.live {
    background: #EF4444;
    color: #fff;
}

.course-card__body {
    padding: 1rem 1rem 0;
    flex: 1;
}

.course-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.course-card__meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}

.course-card__meta span {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.course-card__meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.course-card__footer {
    padding: 0.8rem 1rem 1rem;
    border-top: 1px dashed var(--dark-3);
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.course-card__price-new {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
}

.course-card__price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.course-card__discount {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(212, 160, 23, 0.18);
    color: var(--gold);
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    border: 1px solid rgba(212, 160, 23, 0.3);
}

.course-card__cta {
    display: inline-block;
    background: var(--gold);
    color: var(--dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.course-card__cta:hover {
    background: var(--amber);
}

.coming-soon-badge {
    display: inline-block;
    border: 1px solid #D97706;
    color: #D97706;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    background: rgba(217, 119, 6, 0.1);
}

/* ── STATS BAR ── */
.stat-item {
    text-align: center;
}

.stat-item .num {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--gold);
    line-height: 1;
}

.stat-item .lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ── ABOUT CHEF SECTION ── */
.about-gold-bar {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--amber));
    border-radius: 2px;
    margin: 1rem 0;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.about-feature-text strong {
    font-size: 0.85rem;
    color: var(--white);
    font-weight: 600;
}

.about-feature-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* ── SOCIAL SECTION ── */
.social-card {
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.social-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.social-card__btn {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    color: var(--white);
}

.social-card__img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

html {
    scroll-behavior: smooth;
}

div {
    scroll-margin-top: 180px;
}

/* Modern gray scrollbar */
::-webkit-scrollbar {
    width: 10px;
    /* slightly larger */
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #eff1f5;
    /* very light gray track */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    /* soft gray thumb */
    border-radius: 10px;
    border: 1px solid #f3f4f6;
    /* space around thumb for subtle look */
}

::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
    /* slightly darker gray on hover */
}

.arrow_top {
    position: relative;
}

.arrow_top::after {
    content: '';
    width: 13px;
    height: 13px;
    background: #fff;
    position: absolute;
    top: -7px;
    right: 16px;
    transform: rotate(45deg);
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    z-index: -8;
}

@media (max-width:767px) {
    .arrow_top::after {
        right: 56px;
    }
}

.shadow-c {
    box-shadow: rgba(22, 23, 24, 0.1) 0px 2px 9px 3px,
        rgba(22, 24, 24, 0.06) 0px 2px 4px -1px;
}

.text-md {
    font-size: 15px;
}

.animation-pulse {
    display: flex;
    justify-content: center;
    border-radius: 100%;
    transition: all .3s ease-in-out 0s;
    box-shadow: 0 0 0 0 rgba(217, 193, 246, 0.698);
    animation: pulse 2.5s cubic-bezier(.8, 0, 0, 1) 0s infinite normal none running;
    align-items: center;
    border: 0
}

.animation-pulse:is(:hover, :focus) {
    transform: scale(1.1)
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 23px rgba(217, 193, 246, 0)
    }
}

header {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(212, 160, 23, .15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

footer {
    background: #0B1220;
}

header nav a {
    position: relative;
}

header nav a:not(.not-before)::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    left: 0;
    bottom: -2px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.7s ease;
    border-radius: 2px;
}

header nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}



.description_content {
    /* বাংলা + English */
    font-size: 16px;
    line-height: 1.8 !important;
    color: #1f2937;
    /* slate-800 */
}

.description_content h1,
.description_content h2,
.description_content h3 {
    font-weight: 700;
    margin: 1.2em 0 0.6em;
    line-height: 1.4 !important;
}

.description_content span {
    line-height: 24px !important;
}

.description_content h1 {
    font-size: 28px;
}

.description_content h2 {
    font-size: 24px;
}

.description_content h3 {
    font-size: 20px;
}

.description_content p {
    margin: 0.8em 0;
}

.description_content strong {
    font-weight: 600;
    color: #111827;
    /* darker text */
}

.description_content ul,
.description_content ol {
    padding-left: 1.5em;
    margin: 0.8em 0;
}

.description_content li {
    margin-bottom: 0.5em;
}

.description_content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    /* slate-200 */
    margin: 1.5em 0;
}

.class-card {
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px -5px rgba(59, 130, 246, 0.15), 0 8px 10px -6px rgba(59, 130, 246, 0.1);
}

.class-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.4);

}


.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    font-size: 18px !important;
    color: white !important;
}


/* Base bullets */
.swiper-pagination-bullet {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-secondary, #f59e0b);
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover effect */
.swiper-pagination-bullet:hover {
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.5);
}

/* Active bullet with pulse */
.swiper-pagination-bullet-active {
    background: var(--color-secondary, #f59e0b);
    border-color: var(--color-secondary, #f59e0b);
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    animation: swiper-pulse 1.5s infinite;
}

/* Pulse animation */
@keyframes swiper-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}