/* ============================================
   RESET & ROOT
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-primary: #080f08;
    --bg-secondary: #0d1f12;
    --bg-card: rgba(255,255,255,0.02);
    --bg-card-hover: rgba(255,255,255,0.04);
    --gold: #e6c87a;
    --gold-light: #f0dca0;
    --gold-dark: #c4a85e;
    --gold-glow: rgba(230,200,122,0.15);
    --gold-glow-strong: rgba(230,200,122,0.25);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.7);
    --text-muted: rgba(255,255,255,0.3);
    --border-color: rgba(255,255,255,0.06);
    --border-gold: rgba(230,200,122,0.15);
    --border-gold-hover: rgba(230,200,122,0.3);
    --shadow-gold: 0 8px 40px rgba(230,200,122,0.08);
    --shadow-gold-hover: 0 12px 60px rgba(230,200,122,0.15);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --topbar-height: 68px;
    --marquee-height: 40px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

body {
    padding-top: calc(var(--topbar-height) + var(--marquee-height));
    padding-bottom: 70px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-glow); border-radius: 10px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px var(--gold-glow); }
    50% { box-shadow: 0 0 40px var(--gold-glow-strong); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: rgba(8,15,8,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-gold);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    transition: var(--transition);
    animation: fadeInUp 0.5s ease;
}

.topbar.scrolled {
    background: rgba(8,15,8,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.topbar .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.topbar .logo .logo-img {
    height: 40px;
    width: auto;
    max-height: 40px;
    object-fit: contain;
    display: block;
}

.topbar .logo .logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--bg-primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.topbar .logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 0 30px var(--gold-glow);
}

.topbar .logo span {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
}

.topbar .logo span .gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topbar .nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.topbar .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 10px;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.topbar .nav-links a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.topbar .nav-links .btn-login {
    padding: 6px 18px;
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 10px;
    font-weight: 600;
}

.topbar .nav-links .btn-login:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
}

.topbar .nav-links .btn-register {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    transition: var(--transition);
}

.topbar .nav-links .btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--gold-glow-strong);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 1001;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    background: rgba(8,15,8,0.98);
    backdrop-filter: blur(20px);
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-gold);
    z-index: 999;
    flex-direction: column;
    gap: 6px;
    max-height: calc(100vh - var(--topbar-height));
    overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    transition: var(--transition);
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.mobile-nav a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.mobile-nav .btn-login {
    border: 1px solid var(--border-gold);
    color: var(--gold);
}

.mobile-nav .btn-register {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    font-weight: 700;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-container {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    height: var(--marquee-height);
    background: rgba(8,15,8,0.92);
    border-bottom: 1px solid var(--border-gold);
    z-index: 998;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.marquee-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.marquee-news-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    background: var(--gold-glow);
    padding: 4px 14px 4px 10px;
    border-radius: 50px;
    border: 1px solid var(--border-gold);
    white-space: nowrap;
    flex-shrink: 0;
    animation: glowPulse 3s infinite;
}

.marquee-news-icon i {
    font-size: 13px;
}

.marquee-pill {
    display: flex;
    align-items: center;
    background: rgba(230,200,122,0.03);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    padding: 0 20px;
    height: 30px;
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marqueeScroll 12s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.marquee-track .gold-text {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   HERO
   ============================================ */
.hero-slider-container {
    padding: 30px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 10px 0 30px;
    animation: fadeInUp 0.8s ease;
}

.hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px;
    background: var(--gold-glow);
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 14px;
    animation: glowPulse 3s infinite;
}

.hero h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    max-width: 700px;
    margin: 0 auto 10px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.7;
}

.hero .hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .hero-buttons .btn-primary {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero .hero-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 50px var(--gold-glow-strong);
}

.hero .hero-buttons .btn-secondary {
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero .hero-buttons .btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
    color: var(--gold);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-stats .stat-item { text-align: center; }

.hero-stats .stat-item .number {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats .stat-item .label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ============================================
   SLIDER
   ============================================ */
.slider-section {
    padding: 0 0 10px;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 10px;
    transition: var(--transition);
}

.slider-wrapper:hover {
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-gold);
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-slide {
    min-width: 100%;
    padding: 0 4px;
}

.slider-slide .slide-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid transparent;
}

.slider-slide .slide-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-hover);
}

.slider-slide .slide-card .slide-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.slider-slide .slide-card .slide-content {
    padding: 18px 22px 22px;
}

.slider-slide .slide-card .slide-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.slider-slide .slide-card .slide-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.slider-slide .slide-card .slide-content .slide-tag {
    display: inline-block;
    padding: 2px 12px;
    background: var(--gold-glow);
    color: var(--gold);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
    border: 1px solid var(--border-gold);
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 0 10px;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrows button {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrows button:hover {
    border-color: var(--border-gold);
    color: var(--gold);
    background: var(--bg-card-hover);
    box-shadow: 0 0 20px var(--gold-glow);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.slider-dots .dot.active {
    background: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow-strong);
    width: 24px;
    border-radius: 10px;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section {
    padding: 50px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 35px;
}

/* ============================================
   FEATURES
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-gold-hover);
}

.feature-card .icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* ============================================
   COURSES
   ============================================ */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.course-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-gold-hover);
}

.course-card .course-icon { font-size: 28px; margin-bottom: 6px; }
.course-card h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.course-card p { color: var(--text-secondary); font-size: 12px; line-height: 1.5; }
.course-card .course-price { color: var(--gold); font-weight: 700; font-size: 15px; margin-top: 6px; }
.course-card .course-badge { display: inline-block; padding: 2px 10px; background: var(--gold-glow); color: var(--gold); border-radius: 20px; font-size: 9px; font-weight: 600; margin-top: 4px; border: 1px solid var(--border-gold); }
.course-card .course-link { display: inline-block; margin-top: 10px; padding: 6px 16px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--bg-primary); border-radius: 8px; text-decoration: none; font-size: 12px; font-weight: 600; transition: var(--transition); }
.course-card .course-link:hover { transform: scale(1.05); box-shadow: 0 4px 20px var(--gold-glow-strong); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-gold-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold-hover);
}

.testimonial-card .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gold-glow);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
    border: 2px solid var(--border-gold);
}

.testimonial-card blockquote {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
    margin: 8px 0;
}

.testimonial-card .name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}

.testimonial-card .role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    transition: var(--transition);
}

.newsletter-section:hover {
    border-color: var(--border-gold-hover);
    box-shadow: var(--shadow-gold);
}

.newsletter-section h3 {
    font-size: 24px;
    margin-bottom: 6px;
}

.newsletter-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.newsletter-form button {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px var(--gold-glow-strong);
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-grid .about-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-grid .about-content h2 .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-grid .about-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-grid .about-content .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.about-grid .about-content .about-features .af-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 13px;
}

.about-grid .about-content .about-features .af-item i {
    color: var(--gold);
}

.about-grid .about-image {
    text-align: center;
    font-size: 80px;
    opacity: 0.4;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.about-grid .about-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    border-radius: 50%;
}

.about-grid .about-image i {
    position: relative;
    z-index: 1;
}

/* ============================================
   FAQS
   ============================================ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-gold);
}

.faq-item .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.faq-item .faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-item .faq-question h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-item .faq-question i {
    color: var(--gold);
    transition: var(--transition);
    font-size: 18px;
}

.faq-item .faq-question i.open {
    transform: rotate(180deg);
}

.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}

.faq-item .faq-answer.open {
    max-height: 300px;
    padding: 0 20px 16px;
}

.faq-item .faq-answer p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--border-gold-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.contact-card .contact-icon {
    font-size: 32px;
    color: var(--gold);
    margin-bottom: 6px;
}

.contact-card h4 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* ============================================
   PRIVACY MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

.modal-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px 32px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.modal-box .close-modal {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-box .close-modal:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.modal-box h2 {
    font-size: 26px;
    margin-bottom: 12px;
}

.modal-box h2 .highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-box p,
.modal-box li {
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-box ul {
    padding-left: 20px;
    margin: 12px 0;
}

.modal-box h3 {
    color: var(--text-primary);
    margin: 20px 0 8px;
    font-size: 17px;
}

/* ============================================
   LIVE CHAT - AI CHAT ASSISTANT (FIXED)
   ============================================ */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 99999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(230,200,122,0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(230,200,122,0.5);
}

.chat-toggle .chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.chat-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    flex-direction: column;
}

.chat-window.open {
    display: flex !important;
    animation: fadeInUp 0.3s ease;
}

.chat-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(230,200,122,0.15), rgba(230,200,122,0.05));
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-header-info h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.chat-header-info .status {
    font-size: 11px;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-header-info .status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.chat-close:hover {
    color: var(--gold);
    background: var(--gold-glow);
    transform: rotate(90deg);
}

.chat-messages {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-primary);
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gold-glow);
    border-radius: 10px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: fadeInUp 0.3s ease;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message .message-content {
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.6;
    word-wrap: break-word;
}

.chat-message.bot .message-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border-bottom-right-radius: 4px;
}

.chat-message .message-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-input-area {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-gold);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.chat-quick-replies {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.chat-quick-replies button {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.chat-quick-replies button:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold);
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-wrapper input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-wrapper input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.chat-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.chat-input-wrapper button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-input-wrapper button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px var(--gold-glow-strong);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: rgba(255,255,255,0.01);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px 20px;
    margin-top: 20px;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 24px;
}

.footer .footer-grid .footer-col h5 {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer .footer-grid .footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    padding: 3px 0;
    transition: var(--transition);
    cursor: pointer;
}

.footer .footer-grid .footer-col a:hover {
    color: var(--gold);
    transform: translateX(4px);
}

.footer .footer-grid .footer-col p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.7;
}

.footer .footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer .footer-bottom p {
    color: var(--text-muted);
    font-size: 12px;
}

.footer .social-links {
    display: flex;
    gap: 10px;
}

.footer .social-links a {
    color: var(--text-muted);
    font-size: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.footer .social-links a:hover {
    color: var(--gold);
    border-color: var(--border-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ============================================
   MOBILE FOOTER
   ============================================ */
.mobile-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8,15,8,0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-gold);
    padding: 4px 0 env(safe-area-inset-bottom, 4px) 0;
    z-index: 999;
}

.mobile-footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-decoration: none;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 10px;
    transition: var(--transition);
    min-width: 40px;
    position: relative;
}

.mobile-footer-item .footer-icon {
    font-size: 20px;
    transition: var(--transition);
}

.mobile-footer-item .footer-label {
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.mobile-footer-item.active {
    color: var(--gold);
}

.mobile-footer-item.active .footer-icon {
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 0 30px var(--gold-glow);
}

.mobile-footer-item.active .footer-label {
    color: var(--gold);
    font-weight: 700;
}

.mobile-footer-item::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 0 0 4px 4px;
    transition: var(--transition);
}

.mobile-footer-item.active::before {
    transform: translateX(-50%) scaleX(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
* { max-width: 100%; }
img, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 1024px) {
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-grid .about-content .about-features { justify-content: center; }
    .footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    :root {
        --topbar-height: 60px;
        --marquee-height: 36px;
    }
    body { padding-top: calc(var(--topbar-height) + var(--marquee-height)); padding-bottom: 64px; }

    .topbar .nav-links { display: none; }
    .nav-toggle { display: block; }
    .topbar { padding: 0 16px; }
    .topbar .logo span { font-size: 16px; }
    .topbar .logo .logo-img { height: 34px; max-height: 34px; }
    .topbar .logo .logo-icon { width: 34px; height: 34px; min-width: 34px; min-height: 34px; font-size: 17px; }

    .marquee-container { padding: 0 12px; }
    .marquee-news-icon { font-size: 10px; padding: 2px 10px 2px 8px; }
    .marquee-news-icon i { font-size: 11px; }
    .marquee-pill { height: 26px; padding: 0 14px; }
    .marquee-track span { font-size: 10px; }
    .marquee-track { gap: 20px; }

    .hero-slider-container { padding: 20px 12px 10px; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 15px; }
    .hero .hero-buttons .btn-primary,
    .hero .hero-buttons .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    .hero-stats { gap: 20px; }
    .hero-stats .stat-item .number { font-size: 22px; }

    .slider-slide .slide-card .slide-image { height: 200px; }
    .slider-controls { gap: 12px; }
    .slider-arrows button { width: 34px; height: 34px; font-size: 14px; }

    .features-grid { grid-template-columns: 1fr; }
    .courses-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; max-width: 100%; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .section { padding: 30px 16px 40px; }
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 14px; }

    .footer .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer .footer-bottom { flex-direction: column; text-align: center; }

    .mobile-footer { display: block; }
    .footer { padding-bottom: 60px; }

    .about-grid .about-image { font-size: 60px; }
    .about-grid .about-image::before { width: 150px; height: 150px; }
    .about-grid .about-content .about-features { grid-template-columns: 1fr; }

    .faq-item .faq-question h4 { font-size: 14px; }
    .modal-box { padding: 20px 16px; }
    .newsletter-section { padding: 24px 16px; }
    .newsletter-form input { min-width: 140px; }

    .chat-window {
        width: 320px;
        height: 450px;
        right: -10px;
    }
    .chat-container { bottom: 80px; right: 16px; }
    .chat-toggle { width: 50px; height: 50px; font-size: 22px; }
}

@media (max-width: 480px) {
    :root {
        --topbar-height: 56px;
        --marquee-height: 32px;
    }
    body { padding-top: calc(var(--topbar-height) + var(--marquee-height)); }

    .topbar .logo .logo-img { height: 28px; max-height: 28px; }
    .topbar .logo .logo-icon { width: 28px; height: 28px; min-width: 28px; min-height: 28px; font-size: 14px; }
    .topbar .logo span { font-size: 14px; }
    .marquee-pill { height: 24px; padding: 0 10px; }
    .marquee-track span { font-size: 9px; }
    .marquee-news-icon { font-size: 9px; padding: 2px 8px 2px 6px; }
    .marquee-news-icon i { font-size: 10px; }

    .hero h1 { font-size: 24px; }
    .hero p { font-size: 14px; }
    .hero .hero-buttons .btn-primary,
    .hero .hero-buttons .btn-secondary {
        font-size: 13px;
        padding: 10px 20px;
    }
    .hero-stats .stat-item .number { font-size: 18px; }
    .hero-stats .stat-item .label { font-size: 11px; }
    .hero-stats { gap: 16px; }

    .slider-slide .slide-card .slide-image { height: 160px; }
    .slider-slide .slide-card .slide-content { padding: 12px 14px 16px; }
    .slider-slide .slide-card .slide-content h3 { font-size: 15px; }
    .slider-slide .slide-card .slide-content p { font-size: 12px; }
    .slider-arrows button { width: 30px; height: 30px; font-size: 12px; }
    .slider-dots .dot { width: 6px; height: 6px; }
    .slider-dots .dot.active { width: 18px; }

    .feature-card { padding: 20px 16px; }
    .feature-card .icon { font-size: 28px; }
    .feature-card h3 { font-size: 14px; }

    .course-card { padding: 14px 12px; }
    .course-card .course-icon { font-size: 22px; }
    .course-card h4 { font-size: 13px; }

    .contact-card { padding: 16px 12px; }

    .mobile-footer-item .footer-icon { font-size: 17px; }
    .mobile-footer-item .footer-label { font-size: 6px; }
    .mobile-footer-item { padding: 2px 6px; min-width: 32px; }

    .section { padding: 20px 12px 30px; }
    .section-title { font-size: 20px; }
    .section-subtitle { font-size: 13px; }

    .faq-item .faq-question { padding: 12px 14px; }
    .faq-item .faq-question h4 { font-size: 13px; }
    .faq-item .faq-answer p { font-size: 13px; }

    .modal-box h2 { font-size: 20px; }
    .modal-box { padding: 16px 14px; }
    .modal-box h3 { font-size: 16px; }
    .modal-box p { font-size: 13px; }
    .newsletter-section h3 { font-size: 20px; }

    .chat-window {
        width: 290px;
        height: 400px;
        right: 0;
    }
    .chat-toggle { width: 44px; height: 44px; font-size: 20px; }
    .chat-container { bottom: 72px; right: 12px; }
}

@media (max-width: 360px) {
    .hero h1 { font-size: 20px; }
    .topbar .logo span { font-size: 12px; }
    .topbar .logo .logo-img { height: 24px; max-height: 24px; }
    .topbar .logo .logo-icon { width: 24px; height: 24px; min-width: 24px; min-height: 24px; font-size: 12px; }
    .slider-slide .slide-card .slide-image { height: 130px; }
    .mobile-footer-item .footer-icon { font-size: 15px; }
    .chat-window { width: 260px; height: 360px; }
}

/* ============================================
   LIVE CHAT - POPUP STYLE (FIXED)
   ============================================ */
.chat-container {
    position: fixed;
    bottom: 100px;
    right: 24px;
    z-index: 99999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(230,200,122,0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(230,200,122,0.5);
}

.chat-toggle .chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Chat Popup Window */
.chat-window {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 400px;
    max-width: 90vw;
    height: 550px;
    max-height: 80vh;
    background: var(--bg-secondary);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    flex-direction: column;
    animation: fadeInUp 0.3s ease;
}

.chat-window.open {
    display: flex !important;
}

/* Chat Header */
.chat-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(230,200,122,0.15), rgba(230,200,122,0.05));
    border-bottom: 1px solid var(--border-gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    cursor: move;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.chat-header-info h4 {
    font-size: 14px;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.chat-header-info .status {
    font-size: 11px;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-header-info .status::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
}

.chat-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.chat-close:hover {
    color: var(--gold);
    background: var(--gold-glow);
    transform: rotate(90deg);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-primary);
}

.chat-messages::-webkit-scrollbar {
    width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: var(--gold-glow);
    border-radius: 10px;
}

.chat-message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: fadeInUp 0.3s ease;
}

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message .message-content {
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.6;
    word-wrap: break-word;
}

.chat-message.bot .message-content {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border-bottom-right-radius: 4px;
}

.chat-message .message-time {
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 4px;
    padding: 0 4px;
}

/* Chat Input Area */
.chat-input-area {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-gold);
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.chat-quick-replies {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.chat-quick-replies button {
    padding: 6px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.chat-quick-replies button:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold);
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input-wrapper input {
    flex: 1;
    padding: 10px 16px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.chat-input-wrapper input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px var(--gold-glow);
}

.chat-input-wrapper input::placeholder {
    color: var(--text-muted);
}

.chat-input-wrapper button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--bg-primary);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-input-wrapper button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px var(--gold-glow-strong);
}

/* ============================================
   RESPONSIVE CHAT
   ============================================ */
@media (max-width: 768px) {
    .chat-window {
        width: 340px;
        max-width: 90vw;
        height: 480px;
        max-height: 75vh;
        right: 16px;
        bottom: 80px;
    }
    .chat-container {
        bottom: 80px;
        right: 16px;
    }
    .chat-toggle {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .chat-window {
        width: 100%;
        max-width: 92vw;
        height: 85vh;
        max-height: 85vh;
        right: 4vw;
        bottom: 80px;
        border-radius: 16px;
    }
    .chat-toggle {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .chat-container {
        bottom: 72px;
        right: 12px;
    }
    .chat-messages {
        padding: 12px 14px;
    }
    .chat-message .message-content {
        font-size: 12px;
        padding: 8px 12px;
    }
    .chat-quick-replies button {
        font-size: 10px;
        padding: 4px 10px;
    }
}

@media (max-width: 360px) {
    .chat-window {
        width: 100%;
        max-width: 96vw;
        height: 80vh;
        right: 2vw;
        bottom: 72px;
        border-radius: 12px;
    }
    .chat-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .chat-container {
        bottom: 68px;
        right: 10px;
    }
    .chat-header {
        padding: 12px 16px;
    }
    .chat-header-info h4 {
        font-size: 13px;
    }
    .chat-avatar {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    .chat-input-wrapper input {
        font-size: 12px;
        padding: 8px 12px;
    }
    .chat-input-wrapper button {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
