:root {
    --primary: #00e5ff;
    /* Bright Cyan */
    --primary-dark: #00b8d4;
    --secondary: #00d2ff;
    --dark: #0a0e14;
    --dark-alt: #121820;
    --text: #ffffff;
    --text-muted: #94a3b8;
    --accent: #00e5ff;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --cyan-glow: rgba(0, 229, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-dark-alt {
    background: linear-gradient(to bottom, var(--dark-alt), #0a0e14);
    max-width: none;
    position: relative;
    /* For stars */
}

/* --- Navigation --- */
nav {
    background: rgba(10, 14, 20, 0.95);
    /* More opacity for mobile readability */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* For mobile menu positioning */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
}

.header-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-group,
.logo-group-alt {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-divider {
    width: 1px;
    height: 30px;
    background: var(--glass-border);
}

.coderz-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 1px;
}

.coderz-sub {
    font-size: 0.6rem;
    color: var(--primary);
    text-transform: uppercase;
}

.bootcamp-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary) !important;
    display: inline-block;
}

.bootcamp-sub {
    font-size: 0.7rem;
    color: var(--text-muted) !important;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-link {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    direction: ltr;
}

.cta-button {
    background: var(--primary);
    color: var(--dark);
    padding: 0.6rem 1.2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.cta-button:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* --- Hero Section --- */
.hero {
    width: 100%;
    max-width: 100%;
    /* Override global section limit */
    margin: 0;
    /* Override global section margin */
    min-height: 100vh;
    /* Request: Full screen */
    background: linear-gradient(rgba(10, 14, 20, 0.7), rgba(10, 14, 20, 0.9)), url('../assets/hero-bg.png');
    background-size: cover;
    background-position: center bottom;
    /* Anchor to bottom for campfire */
    background-attachment: fixed;
    /* Request: Match reference parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    z-index: 1;
    text-align: center;
    /* Ensure centering */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: white;
}

.hero h1 span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero .description {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* --- Tech Icons (Floating) --- */
.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.tech-icon {
    position: absolute;
    width: 80px;
    /* Reduced from 100px */
    height: 80px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 8s ease-in-out infinite;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.tech-icon i {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    color: var(--primary);
    filter: drop-shadow(0 0 15px var(--primary));
    opacity: 0.9;
}

/* --- Tech Icons Specific Colors --- */
.tech-icon.html i {
    color: #E34F26;
    filter: drop-shadow(0 0 15px rgba(227, 79, 38, 0.6));
}

.tech-icon.css i {
    color: #1572B6;
    filter: drop-shadow(0 0 15px rgba(21, 114, 182, 0.6));
}

.tech-icon.js i {
    color: #F7DF1E;
    filter: drop-shadow(0 0 15px rgba(247, 223, 30, 0.6));
}

.tech-icon.csharp i {
    color: #512BD4;
    filter: drop-shadow(0 0 15px rgba(81, 43, 212, 0.6));
}

.tech-icon.react i {
    color: #61DAFB;
    filter: drop-shadow(0 0 15px rgba(97, 218, 251, 0.6));
}

.tech-icon.html {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(227, 79, 38, 0.3);
}

.tech-icon.css {
    top: 45%;
    left: 5%;
    animation-delay: 1s;
    border-color: rgba(21, 114, 182, 0.3);
}

.tech-icon.js {
    top: 25%;
    right: 10%;
    animation-delay: 0.5s;
    border-color: rgba(247, 223, 30, 0.3);
}

.tech-icon.csharp {
    top: 55%;
    right: 5%;
    animation-delay: 1.5s;
    border-color: rgba(81, 43, 212, 0.3);
}

.tech-icon.react {
    top: 75%;
    left: 15%;
    animation-delay: 2s;
    border-color: rgba(97, 218, 251, 0.3);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* --- Hero Stats --- */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: white;
    font-weight: 600;
}

.stat-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

.stat-val {
    font-weight: 800;
    font-size: 1.1rem;
}

.stat-txt {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 0.8rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #00e5ff 0%, #2979ff 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2979ff 0%, #00e5ff 100%);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: var(--glass);
    color: white;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- Countdown --- */
.countdown {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 2rem;
    display: inline-block;
}

.countdown-title {
    background: linear-gradient(to right, #00e5ff, #2979ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.countdown-date {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: white;
}

.countdown-timer {
    display: flex;
    gap: 1rem;
}

.time-unit {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 1rem;
    min-width: 85px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.time-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
}

.time-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* --- Sections Core --- */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 1.8rem;
    /* Reduced from 2.5rem */
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title h2 span {
    background: linear-gradient(to right, #00e5ff, #2979ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.85rem;
    /* Reduced from 1.1rem */
    max-width: 700px;
    margin: 0 auto;
}

/* --- Why Section & Cards --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-alt);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, var(--cyan-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(41, 121, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-icon i {
    background: linear-gradient(to bottom, #00e5ff, #2979ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* --- Lectures --- */
.lectures-container {
    margin-top: 6rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border-radius: 3rem;
    border: 1px solid var(--glass-border);
}

.lectures-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.lecture-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2.5rem 2rem;
    background: var(--dark);
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    min-width: 250px;
    flex: 1;
    max-width: 320px;
    transition: all 0.3s;
}

.lecture-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.03);
}

.lecture-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.lecture-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: white;
}

.lecture-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Audience Section --- */
.bg-dark-alt {
    background: linear-gradient(to bottom, var(--dark-alt), #0a0e14);
    max-width: none;
    position: relative;
    /* For stars */
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.audience-card {
    background: var(--dark);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.audience-card:hover {
    border-color: var(--primary);
    background: var(--dark-alt);
    transform: scale(1.02);
}

.audience-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
    margin-bottom: 0.75rem;
}

.audience-card p {
    font-size: 0.8rem;
    /* Reduced from 0.95rem */
    color: var(--text-muted);
}

/* --- Stages & FAQ --- */
.stages-list,
.faq-list {
    display: grid;
    gap: 1.5rem;
}

.stage-item,
.faq-item {
    background: var(--dark-alt);
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    padding: 1.5rem 2rem;
    transition: 0.3s;
}

.stage-item:hover,
.faq-item:hover {
    border-color: var(--primary);
}

.stage-header,
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.stage-number {
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.stage-title h3 {
    font-size: 1.1rem;
    /* Reduced from 1.3rem */
}

.stage-title p {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.stage-duration {
    color: var(--text-muted);
    font-weight: 600;
}

.stage-content,
.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.stage-item.active .stage-content,
.faq-item.active .faq-answer {
    max-height: 5000px;
    opacity: 1;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
    overflow-y: visible;
}

/* --- Registration Form --- */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-alt);
    padding: 4rem;
    border-radius: 2.5rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: var(--dark);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.form-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--dark);
    border-radius: 1rem;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--cyan-glow);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    left: 40px;
    /* Reference img shows it on bottom-left usually in RTL or right? Mock says bottom left in prompt */
    width: 65px;
    height: 65px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* --- Footer --- */
footer {
    background: var(--dark);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: right;
}

.footer-section h3 {
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    margin-bottom: 1.5rem;
    color: white;
    border-right: 4px solid var(--primary);
    padding-right: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

/* --- Responsive & Mobile --- */
@media (max-width: 992px) {
    .hero-stats {
        gap: 1rem;
    }

    .stat {
        min-width: 140px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 14, 20, 0.98);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, padding 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }

    .nav-links.nav-active {
        max-height: 500px;
        opacity: 1;
        pointer-events: all;
    }

    .nav-actions {
        display: none;
        /* Hide default actions layout */
    }

    .nav-actions.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: calc(100% + 220px);
        /* Position after links */
        left: 0;
        width: 100%;
        padding: 1rem 2rem;
        background: rgba(10, 14, 20, 0.98);
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
        gap: 1rem;
        animation: fadeIn 0.3s forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .nav-actions .phone-link {
        order: 2;
    }

    .nav-actions .cta-button {
        width: 100%;
        text-align: center;
        order: 1;
    }

    .nav-container {
        justify-content: space-between;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2rem;
        /* Balanced mobile size */
    }

    .hero p {
        font-size: 0.95rem;
    }

    .hero .description {
        font-size: 0.85rem;
    }

    .tech-icon {
        transform: scale(0.6);
        /* Shrink icons on mobile */
        opacity: 0.3;
        /* More transparent to read text */
    }

    .tech-icon.html {
        top: 15%;
        left: 5%;
    }

    .tech-icon.css {
        top: 80%;
        left: 80%;
    }

    .tech-icon.js {
        top: 20%;
        right: 5%;
    }

    /* Hide some icons to reduce clutter if needed, or just position them better */
    .tech-icon.csharp {
        display: none;
    }

    .tech-icon.react {
        display: none;
    }

    .hero-stats {
        flex-direction: row;
        /* Keep horizontal on mobile as per reference */
        width: 100%;
        gap: 0.5rem;
        /* Tighter gap */
        justify-content: center;
    }

    .stat-item {
        background: rgba(255, 255, 255, 0.08);
        /* Slight background for readability */
        padding: 0.4rem 0.8rem;
        border-radius: 2rem;
        font-size: 0.8rem;
        width: auto;
        /* Allow auto width */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .countdown {
        padding: 1.5rem;
        width: 100%;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .time-unit {
        min-width: 60px;
        flex: 1;
    }

    .time-value {
        font-size: 1.5rem;
    }

    .form-container {
        padding: 1.5rem;
        border-radius: 1.5rem;
        width: 100%;
    }

    .section-title h2 {
        font-size: 1.4rem;
        /* Reduced from 1.8rem */
    }

    /* Mobile Polish */
    section {
        padding: 4rem 1rem;
    }

    .features-grid,
    .audience-grid,
    .lectures-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 1.5rem;
    }

    .feature-card,
    .audience-card,
    .lecture-item {
        padding: 1.5rem;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        bottom: 20px;
        left: 20px;
    }

    .footer-content {
        text-align: center;
        gap: 2rem;
    }

    .footer-section h3 {
        border-right: none;
        border-bottom: 2px solid var(--primary);
        padding-right: 0;
        padding-bottom: 10px;
        display: inline-block;
    }
}

/* --- Quill Editor Premium Content Support --- */
.ql-editor {
    padding: 0;
    line-height: 1.8;
    text-align: inherit;
    color: var(--text-muted);
}

.ql-editor h1,
.ql-editor h2,
.ql-editor h3 {
    color: white;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.ql-editor h1 span,
.ql-editor h2 span,
.ql-editor h3 span {
    color: inherit;
}

.ql-editor p {
    margin-bottom: 1rem;
}

/* Text Sizes */
.ql-size-small {
    font-size: 0.8rem;
}

.ql-size-large {
    font-size: 1.25rem;
    color: white;
}

.ql-size-huge {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

/* Alignment */
.ql-align-center {
    text-align: center !important;
}

.ql-align-right {
    text-align: right !important;
}

.ql-align-left {
    text-align: left !important;
    direction: ltr !important;
}

.ql-align-justify {
    text-align: justify !important;
}

/* Quotes & Code */
.ql-editor blockquote {
    border-right: 4px solid var(--primary);
    padding-right: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    background: rgba(0, 229, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.ql-editor .ql-code-block-container {
    background: #0f172a;
    color: #e2e8f0;
    padding: 1rem;
    border-radius: 0.8rem;
    font-family: 'Fira Code', monospace;
    margin: 1.5rem 0;
    border: 1px solid var(--glass-border);
    direction: ltr;
    text-align: left;
}

/* Lists */
.ql-editor ul,
.ql-editor ol {
    padding-right: 2rem;
    margin-bottom: 1.5rem;
}

.ql-editor li {
    margin-bottom: 0.75rem;
}

.ql-editor li::before {
    color: var(--primary);
    font-weight: bold;
}

/* Media */
.ql-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1.5rem 0;
    border: 1px solid var(--glass-border);
}

.ql-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    margin: 1.5rem 0;
}

/* RTL Specific Overrides */
[dir="rtl"] .ql-editor blockquote {
    border-right: 4px solid var(--primary);
    border-left: none;
}

[dir="rtl"] .ql-align-left {
    text-align: left !important;
    direction: ltr !important;
}

[dir="rtl"] .ql-align-right {
    text-align: right !important;
    direction: rtl !important;
}