/* Root Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #4f46e5, #a855f7);
    --secondary-gradient: linear-gradient(135deg, #3b82f6, #ec4899);
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: rgba(255,255,255,.95);
    --navbar-bg: rgba(255,255,255,.98);
    --accent: #3b82f6;
    --accent-dark: #1e40af;
    --gold: #eab308;
    --shadow: 0 10px 25px rgba(0,0,0,.1);
    --shadow-hover: 0 15px 35px rgba(59,130,246,.25);
    --transition: all .3s cubic-bezier(.4,0,.2,1);
    --border-radius: 16px;
    --text-gradient: linear-gradient(90deg, #3b82f6, #60a5fa);
    --logo-3d-color: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
    --section-padding: 100px 0;
    --light-blue: #60a5fa;
    --black: #000;
    --white: #fff;
}
[data-theme="dark"] {
    --primary-gradient: linear-gradient(135deg, #6b7280, #a78bfa);
    --secondary-gradient: linear-gradient(135deg, #60a5fa, #f472b6);
    --bg-color: #111827;
    --text-color: #e5e7eb;
    --card-bg: rgba(31,41,55,.95);
    --navbar-bg: rgba(31,41,55,.95);
    --accent: #60a5fa;
    --accent-dark: #3b82f6;
    --gold: #facc15;
    --shadow: 0 10px 25px rgba(0,0,0,.3);
    --shadow-hover: 0 15px 35px rgba(96,165,250,.3);
    --text-gradient: linear-gradient(90deg, #60a5fa, #a78bfa);
    --logo-3d-color: linear-gradient(135deg, #6b7280, #a78bfa, #60a5fa);
}
/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color .3s ease, color .3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* পেজ লোড হওয়ার সময় স্ক্রোল লক */
body.loading {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    opacity: .8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* Loading Screen */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #4a6cf7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Custom Cursor */
.cursor, .cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
}

.cursor {
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-follower {
    width: 35px;
    height: 35px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2);
    background: #60a5fa;
}
/* Theme Toggle - HIDDEN */
.theme-toggle {
    display: none !important;
}
/* Chat Button */
.chat-button {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #3B82F6, #60A5FA);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow:
        0 10px 20px rgba(59, 130, 246, 0.4),
        inset 0 5px 10px rgba(255, 255, 255, 0.3),
        inset 0 -5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow:
        0 15px 30px rgba(59, 130, 246, 0.6),
        inset 0 7px 15px rgba(255, 255, 255, 0.4),
        inset 0 -7px 15px rgba(0, 0, 0, 0.3);
}
/* Chat Popup */
.chat-popup {
    position: fixed;
    bottom: 8rem;
    left: 2rem;
    width: 380px;
    height: 550px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    z-index: 1001;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--accent);
}

.chat-header {
    background: var(--accent);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.voice-toggle, .language-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.voice-toggle:hover, .language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.language-toggle span {
    font-size: 0.75rem;
    font-weight: bold;
}

.chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    position: relative;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-content {
    margin-bottom: 0.3rem;
}

.message-content p {
    margin: 0;
    line-height: 1.4;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.7;
    text-align: right;
}

.chat-message.bot {
    background: #f1f5f9;
    align-self: flex-start;
}

.chat-message.user {
    background: var(--accent);
    color: white;
    align-self: flex-end;
}

.chat-message.user .message-time {
    text-align: left;
}

.chat-input-container {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-top: 1px solid rgba(0,0,0,.1);
    gap: 0.5rem;
}

.voice-btn {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.voice-btn:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.voice-btn.listening {
    background: #ef4444;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.chat-input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 50px;
    outline: none;
    font-size: 0.9rem;
}

.chat-send {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.chat-send:hover {
    background: var(--accent-dark);
    transform: scale(1.05);
}

.voice-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    display: none;
    z-index: 10;
}

.voice-indicator.active {
    display: block;
}

.listening-animation {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.listening-animation span {
    width: 4px;
    height: 20px;
    background: var(--accent);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.listening-animation span:nth-child(2) {
    animation-delay: 0.1s;
}

.listening-animation span:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes wave {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(1.5);
    }
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1rem;
    background: #f1f5f9;
    border-radius: var(--border-radius);
    max-width: 80px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #64748b;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}
/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow), inset 0 -2px 5px rgba(0,0,0,.2), inset 0 2px 5px rgba(255,255,255,.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.1);
    z-index: -1;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: left;
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover), inset 0 -2px 5px rgba(0,0,0,.2), inset 0 2px 5px rgba(255,255,255,.3);
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #fff;
    color: #000;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    box-shadow: none;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
    border: 2px solid var(--accent);
}
/* Button Shake */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}
/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    min-height: 80px;
    box-shadow: 0 5px 15px rgba(0,0,0,.05);
    transition: var(--transition);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-img {
    height: 65px;
    object-fit: contain;
    transition: var(--transition);
}
.logo-img:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: .5rem;
}

.nav-link {
    padding: .8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link.active {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow), inset 0 -2px 5px rgba(0,0,0,.2), inset 0 2px 5px rgba(255,255,255,.3);
    font-weight: 700;
}

.dropdown {
    position: relative;
}

.dropdown-toggle:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: .5rem;
    font-size: .8rem;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle:after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    list-style: none;
    min-width: 220px;
    border-radius: var(--border-radius);
    padding: .5rem 0;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,.05);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    display: block;
    padding: .8rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: .95rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--accent);
    color: #fff;
    padding-left: 2rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.flag-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.flag-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}
/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}
.hero-slider,
.swiper-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
/* Hero Section Loading Fix */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: #fff;
    z-index: 2;
    width: 60%;
    max-width: 700px;
    padding: 3rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    animation: heroContentFadeIn 0.8s ease forwards;
    animation-delay: 0.3s;
}

@keyframes heroContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Hero বাটন এবং প্যারাগ্রাফের জন্য অতিরিক্ত স্টাইল */
.hero-content h1,
.hero-content p,
.hero-btns {
    opacity: 0;
    animation: heroContentSlideUp 0.6s ease forwards;
}

.hero-content h1 {
    animation-delay: 0.5s;
}

.hero-content p {
    animation-delay: 0.7s;
}

.hero-btns {
    animation-delay: 0.9s;
}

@keyframes heroContentSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
/* 3D Round Buttons */
.swiper-button-prev,
.swiper-button-next {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(145deg, #3B82F6, #60A5FA);
    box-shadow:
        0 10px 20px rgba(0,0,0,0.3),
        inset 0 5px 10px rgba(255,255,255,0.3),
        inset 0 -5px 10px rgba(0,0,0,0.3);
    color: #fff;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 5;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow:
        0 15px 30px rgba(59,130,246,0.7),
        inset 0 7px 15px rgba(255,255,255,0.4),
        inset 0 -7px 15px rgba(0,0,0,0.4);
    background: linear-gradient(145deg, #60A5FA, #3B82F6);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}
.swiper-button-prev { left: 25px; }
.swiper-button-next { right: 25px; }
/* Popular Courses Section */

.modern-course-card:nth-child(1) { animation-delay: 0.1s; }
.modern-course-card:nth-child(2) { animation-delay: 0.3s; }
.modern-course-card:nth-child(3) { animation-delay: 0.5s; }
.modern-course-card:nth-child(4) { animation-delay: 0.7s; }
.modern-course-card:nth-child(5) { animation-delay: 0.9s; }
.modern-course-card:nth-child(6) { animation-delay: 1.1s; }



/* Popular Courses Section */
.popular-courses{padding:80px 0;background:#fff;text-align:center}
.popular-courses .section-title,.teachers .section-title,.features .section-title,.about .section-title,.about-text h2,.about-text h3,.facebook-group h2,.founder-info h4,.about .founder-info h4{background:none;-webkit-text-fill-color:#000;color:#000;font-size:2.5rem;font-weight:700;margin-bottom:20px}
.popular-courses .course-content h3{color:#fff}
.popular-courses .section-subtitle{font-size:1.2rem;color:#000;margin-bottom:70px}
.modern-courses-wrapper{display:flex;justify-content:center;gap:30px;flex-wrap:wrap}
.modern-course-card{background:#000;border:2px solid #339CFF;border-radius:20px;padding:25px;width:335px;box-shadow:0 10px 30px rgba(0,123,255,.2);transition:all .3s ease-in-out;color:#fff;margin-bottom:60px;opacity:0;transform:translateY(30px);animation:slideUpFade .8s ease forwards}
.modern-course-card:nth-child(1){animation-delay:.1s}
.modern-course-card:nth-child(2){animation-delay:.3s}
.modern-course-card:nth-child(3){animation-delay:.5s}
@keyframes slideUpFade{0%{opacity:0;transform:translateY(30px)}100%{opacity:1;transform:translateY(0)}}
.modern-course-card:hover{transform:translateY(-10px);box-shadow:0 15px 40px rgba(0,123,255,.3)}
.course-image{width:150px;height:150px;border-radius:50%;overflow:hidden;margin:-70px auto 20px;box-shadow:0 0 0 0 4px #339CFF}
.course-image img{width:100%;height:100%;object-fit:cover}
.course-content h3{font-size:1.25rem;font-weight:600;margin-bottom:10px}
.price-tag{display:inline-flex;align-items:center;gap:.5rem;background:var(--accent);color:#fff;padding:.75rem 1.5rem;font-size:.95rem;font-weight:600;text-decoration:none;border-radius:var(--border-radius);transition:var(--transition);box-shadow:var(--shadow),inset 0 -2px 5px rgba(0,0,0,.2),inset 0 2px 5px rgba(255,255,255,.3)}
.info-row{display:flex;justify-content:space-between;font-size:.9375rem;color:#e0e0e0}
.info-row .label{font-weight:700}
.info-row .label.red{color:#FF6B6B}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
.modern-course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,123,255,.35);
}
.course-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: -80px auto 25px;
    box-shadow: 0 0 0 5px #339CFF;
    border: 3px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.course-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--light-blue);
    text-align: center;
}
.price-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    padding: .8rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow), inset 0 -2px 5px rgba(0,0,0,.2), inset 0 2px 5px rgba(255,255,255,.3);
    width: 100%;
    margin-bottom: 1.5rem;
}
.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #e0e0e0;
    margin-top: 1.5rem;
}
.info-row .label {
    font-weight: 700;
}
.info-row .label.red {
    color: #FF6B6B;
}
/* Features Section */
.features {
    padding: var(--section-padding);
    background: #000;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}
.feature-box {
    background: #000;
    border: 2px solid #339CFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,123,255,.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
    z-index: -1;
}
.feature-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,123,255,.35);
}
.feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px #4a90e2);
}

.features .section-title {
background: none;
-webkit-text-fill-color: #fff !important;
color: #fff !important;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 20px;
}
.features .section-subtitle {
color: #60a5fa !important;
opacity: 1 !important;
}
.feature-box h3 {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}
.feature-box p {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.6;
}
/* Teacher Slider */
.teacher-slider {
    padding: 3rem 0;
}
.teacher-slider .swiper-wrapper {
    align-items: stretch;
}
.teacher-slider .swiper-slide {
    height: auto !important;
    display: flex;
}
.teacher-card {
    background:#000;
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid rgba(0,0,0,.05);
}
.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}
.teacher-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent);
    box-shadow: var(--shadow);
}
.teacher-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.5rem 0;
}
.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 1rem 0;
}
.teacher-card p {
    font-size: 1rem;
    color: white;
    opacity: 0.8;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Registration Section */
.registration-section {
    padding: var(--section-padding);
    background: black;
}
.flashcards {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.flashcard {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.1);
}
.flashcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.flashcard:hover::before {
    opacity: 1;
}
.flashcard:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}
.flashcard-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}
.flashcard:hover .flashcard-img {
    transform: scale(1.05);
}
.flashcard-content {
    position: relative;
    z-index: 2;
}
.flashcard h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}
.flashcard p {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}
/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,.7);
    backdrop-filter: blur(5px);
}
.popup-content {
    background-color: var(--card-bg);
    margin: 10% auto;
    padding: 2.5rem;
    border: none;
    width: 90%;
    max-width: 550px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    position: relative;
}
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}
.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text-color);
    transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}
/* About Section */
.about {
    padding: var(--section-padding);
    background: #fff;
}
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}
.about-text {
    flex: 1;
    min-width: 300px;
}
.about-text p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.about-cta {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.founder-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.founder-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent);
}
.founder-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.founder-info p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: .8;
    margin: 0.2rem 0;
}
.about-imgs {
    flex: 1;
    min-width: 300px;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.main-img {
    position: relative;
    width: 70%;
    max-width: 350px;
    border: 8px solid #60A5FA;
    border-radius: 50%;
    z-index: 2;
}
.secondary-img.right {
    position: absolute;
    bottom: -20px;
    right: -30px;
    width: 230px;
    border: 6px solid #60A5FA;
    border-radius: 50%;
    z-index: 3;
}
.secondary-img.left {
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 230px;
    border: 6px solid #60A5FA;
    border-radius: 50%;
    z-index: 1;
}
/* Facebook Group */
.facebook-group {
    padding: var(--section-padding);
    background: var(--bg-color);
    text-align: center;
}
.fb-group {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
/* Footer - FIXED */
.footer {
    background: #000;
    color: #fff;
    padding: 4rem 0 2rem;
    width: 100%;
    overflow-x: hidden;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    width: 100%;
}
.footer-col h3 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}
.footer-col p,
.footer-link {
    font-size: 1rem;
    color: #fff;
    opacity: .8;
    margin-bottom: 1rem;
    text-decoration: none;
    display: block;
}
.footer-link:hover {
    opacity: 1;
    color: var(--light-blue);
    transform: translateX(5px);
}
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}
.gallery-grid img {
    width: 100%;
    border-radius: var(--border-radius);
    object-fit: cover;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100px;
}
.gallery-grid img:hover {
    transform: scale(1.05);
}
.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255,255,255,.1);
    color: #fff;
}
.newsletter-form input::placeholder {
    color: rgba(255,255,255,.7);
}


.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.2);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
}
.footer-bottom p,
.footer-menu a {
    font-size: 1rem;
    color: #fff;
    opacity: .8;
    text-decoration: none;
}

.footer-bottom a {
color: #60a5fa !important;
}
.footer-menu a {
    margin-left: 1.5rem;
}
.footer-menu a:hover {
    opacity: 1;
}
/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: linear-gradient(145deg, #3B82F6, #60A5FA);
    color: #fff;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 20px rgba(59, 130, 246, 0.4),
        inset 0 5px 10px rgba(255, 255, 255, 0.3),
        inset 0 -5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.back-to-top:hover {
    background: linear-gradient(145deg, #60A5FA, #3B82F6);
    transform: translateY(-5px);
    box-shadow:
        0 15px 30px rgba(59, 130, 246, 0.6),
        inset 0 7px 15px rgba(255, 255, 255, 0.4),
        inset 0 -7px 15px rgba(0, 0, 0, 0.3);
}
.back-to-top.show {
    opacity: 1;
}
/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        left: 15%;
        width: 70%;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}
@media (max-width: 992px) {
    .hero {
        height: 100vh;
    }
    
    .hero-content {
        left: 10%;
        width: 80%;
        padding: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-imgs {
        text-align: center;
    }
    
    .secondary-img {
        position: static;
        width: 45%;
        display: inline-block;
        margin: 1rem;
    }
    
    .modern-course-card {
        width: 45%;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
        min-height: 70px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navbar-bg);
        backdrop-filter: blur(20px);
        padding: 1rem;
        box-shadow: var(--shadow);
        z-index: 999;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        gap: .5rem;
    }
    
    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        background: var(--card-bg);
        min-width: 100%;
        margin-top: .5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .modern-course-card {
        width: 90%;
    }
    
    .teacher-img {
        width: 100px;
        height: 100px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2,1fr);
    }
    
    .hero-content {
        left: 5%;
        width: 90%;
        padding: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
font-size: 1rem;
margin-bottom: 7rem; /* প্যারাগ্রাফের নিচে 2rem স্পেস */
}
    
    .swiper-button-prev,
.swiper-button-next {
width: 40px;
height: 40px;
font-size: 1.2rem;

}
    
    .chat-popup {
        width: 90%;
        left: 5%;
        right: 5%;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .modern-course-card {
        max-width: 280px;
        padding: 18px;
    }
    
    .course-image {
        width: 70px;
        height: 70px;
        margin: -45px auto 12px;
    }
    
    .course-content h3 {
        font-size: 1rem;
    }
    
    .price-tag {
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .info-row {
        font-size: 0.75rem;
    }
    
    .feature-box {
        padding: 1.2rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-box h3 {
        font-size: 1.1rem;
    }
    
    .feature-box p {
        font-size: 0.85rem;
    }
    
    .flashcard {
        max-width: 300px;
        padding: 1.2rem;
    }
    
    .flashcard-img {
        height: 150px;
    }
    
    .flashcard h3 {
        font-size: 1.2rem;
    }
    
    .flashcard p {
        font-size: 0.9rem;
    }
    
    .teacher-card {
        padding: 1.2rem;
    }
    
    .teacher-img {
        width: 70px;
        height: 70px;
    }
    
    .teacher-card h3 {
        font-size: 1rem;
    }
    
    .popup-content {
        padding: 1.2rem;
    }
    
    .popup-content h2 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .footer-container {
        padding: 0 0.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-menu a {
        margin: 0 0.5rem;
    }
}
/* Scroll Animation Fix */
.js .animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}
.js .animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}
/* Course Cards */
.modern-course-card {
    opacity: 0;
    transform: translateY(0);
    animation: slideUpFade 0.8s ease forwards;
}
/* Feature Boxes */
.feature-box {
    opacity: 0;
    transform: translateY(0);
}
/* Strong Motion + Bounce Effect */
.modern-course-card,
.feature-box,
.teacher-card,
.flashcard {
  opacity: 0;
  transform: scale(0.9) translateY(40px);
  transition: all 0.7s cubic-bezier(.25,1.5,.5,1);
}
.aos-animate .modern-course-card,
.aos-animate .feature-box,
.aos-animate .teacher-card,
.aos-animate .flashcard {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.modern-course-card:hover,
.feature-box:hover,
.teacher-card:hover,
.flashcard:hover {
  transform: scale(1.04) translateY(-5px);
  transition: all 0.4s cubic-bezier(.25,1.5,.5,1.2);
}
@media (max-width: 768px) {
.about-imgs {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height: 350px;
    margin-top: 2rem;
}

.main-img {
    position: relative !important;
    width: 70% !important;
    max-width: 250px !important;
    border: 6px solid #60A5FA !important;
    z-index: 2 !important;
    margin-bottom: 0 !important;
}

.secondary-img {
    position: absolute !important;
    bottom: 0 !important;
    width: 45% !important;
    max-width: 140px !important;
    border: 4px solid #60A5FA !important;
    z-index: 1 !important;
}

.secondary-img.left {
    left: -15% !important;
    transform: translateX(-10%) !important;
}

.secondary-img.right {
    right: -15% !important;
    transform: translateX(10%) !important;
}
}
@media (max-width: 480px) {
.about-imgs {
    height: 300px;
}

.main-img {
    width: 80% !important;
    max-width: 200px !important;
}

.secondary-img {
    width: 80% !important;
    max-width: 120px !important;
}
}
@media (min-width: 769px) {
.newsletter-form {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    height: 50px;
}

.newsletter-form .btn {
    width: auto;
    min-width: 140px;
    height: 50px;
    border-radius: 8px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}
}
/* Hide custom cursor on mobile */
@media (max-width: 768px) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}