/* ==========================================================================
   أنماط الصفحة الرئيسية المحدثة (index.css) - النسخة الرابعة
   ========================================================================== */

/* 1. سلايدر الصور كامل الصفحة (Hero Slider Section) */
.hero-slider-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
}

/* طبقة حماية التباين والتعتيم */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 3;
    pointer-events: none;
    display: none;
}

/* نصوص السلايدر: بانل جانبي زجاجي فاخر في جهة اليمين تحت الفلتر الشفاف */
.slide-text-overlay {
    position: absolute;
    top: 70%;
    right: 8%; /* المحاذاة لليمين في اللغة العربية */
    transform: translateY(-50%);
    text-align: right;
    color: white;
    width: 900px;
    max-width: 90%;
    z-index: 5;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-right: 5px solid var(--color-perf-accent);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 3.5rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    animation: slideRightFade 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 155, 38, 0.25);
    border: 1px solid rgba(217, 155, 38, 0.45);
    color: var(--color-perf-accent);
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.2rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.slide-desc {
    font-size: 1.2rem;
    color: #e2e8f0;
    line-height: 1.8;
}

/* زر التمرير الانسيابي للخصائص */
.slide-anchor-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--color-perf-accent);
    transition: var(--transition-smooth);
    font-size: 1rem;
    cursor: pointer;
}

.slide-anchor-btn:hover {
    color: white;
    transform: translateY(4px);
}

.slide-anchor-btn i {
    font-size: 1.2rem;
    animation: bounceSmall 2s infinite;
}

@keyframes bounceSmall {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

@keyframes slideRightFade {
    from { opacity: 0; transform: translateY(-50%) translateX(50px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* أسهم السلايدر */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.slider-arrow.prev { right: 2rem; }
.slider-arrow.next { left: 2rem; }

/* نقاط السلايدر */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 6;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dots .dot.active {
    background: var(--color-perf-accent);
    width: 28px;
    border-radius: var(--radius-full);
}

/* شريط البوابات السريع أسفل السلايدر */
.quick-nav-bar {
    background: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem 3rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.quick-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    width: 100%;
}

.quick-nav-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.quick-nav-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.quick-btn {
    padding: 0.75rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.92rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.quick-btn.perf-btn {
    background: var(--color-perf-primary);
}

.quick-btn.perf-btn:hover {
    background: var(--color-perf-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quick-btn.stud-btn {
    background: var(--color-stud-primary);
}

.quick-btn.stud-btn:hover {
    background: var(--color-stud-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* 2. قسم التعريف بالمنصة (About section) */
.about-smo-section {
    padding: 3rem 1rem;
    background-color: var(--color-bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-perf-primary);
    background: rgba(92, 37, 141, 0.08);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.about-paragraph {
    color: var(--color-text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-images-stack {
    position: relative;
    height: 380px;
    width: 100%;
}

.stack-img {
    position: absolute;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    border: 5px solid var(--color-bg-white);
    transition: var(--transition-smooth);
    width: 75%;
    height: 240px;
    object-fit: cover;
}

.stack-img.img-1 {
    top: 0;
    right: 0;
    z-index: 2;
    transform: rotate(-3deg);
}

.stack-img.img-2 {
    bottom: 0;
    left: 0;
    z-index: 1;
    transform: rotate(3deg);
}

.about-images-stack:hover .stack-img.img-1 {
    transform: translate(-15px, -15px) rotate(0deg);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08);
}

.about-images-stack:hover .stack-img.img-2 {
    transform: translate(15px, 15px) rotate(0deg);
    z-index: 3;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.2);
}

.about-quote-box {
    background: var(--color-bg-light);
    border-right: 5px solid var(--color-perf-primary);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(92, 37, 141, 0.15);
    line-height: 1;
}

.about-blockquote {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.7;
    font-style: italic;
}

.about-cite {
    font-size: 0.85rem;
    color: var(--color-perf-primary);
    font-weight: 700;
}

/* لوحة قياس الأداء وتطور المدرسة التفاعلية */
.school-performance-widget {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: var(--transition-smooth);
}

.school-performance-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(92, 37, 141, 0.08);
    border-color: rgba(92, 37, 141, 0.15);
}

.widget-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

.widget-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.widget-badge {
    align-self: flex-start;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-perf-primary);
    background: rgba(92, 37, 141, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
}

.widget-header-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

/* مخطط الأعمدة التفاعلي لـ 12 شهراً */
.bar-chart-container {
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem 1rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
    width: 100%;
}

.bar-chart-wrapper {
    position: relative;
    width: 100%;
}

.bar-chart-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 140px;
    gap: 6px;
    padding-top: 1.5rem;
    position: relative;
}

/* خط الأساس الذي تعتمد عليه المستطيلات */
.bar-chart-grid::after {
    content: '';
    position: absolute;
    bottom: 1.8rem;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-full);
    z-index: 1;
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    height: 100%;
    justify-content: flex-end;
    position: relative;
    cursor: pointer;
    padding-bottom: 1.8rem; /* مسافة لخط الأساس والمسمى */
    z-index: 3;
}

.bar-fill {
    width: 100%;
    max-width: 16px;
    background: var(--month-color);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
    animation: grow-bar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transform-origin: bottom;
    z-index: 3;
}

@keyframes grow-bar {
    from {
        height: 0;
    }
    to {
        height: var(--val);
    }
}

.bar-item:hover .bar-fill {
    filter: brightness(1.1);
    box-shadow: 0 0 12px var(--month-color);
    transform: scaleX(1.1);
}

/* التول تيب (Tooltip) للقيم */
.bar-tooltip {
    position: absolute;
    bottom: calc(var(--val) + 2.1rem); /* حساب النسبة زائد مسافة خط الأساس */
    background: var(--color-text-dark);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-smooth);
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.bar-tooltip::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 4px 4px 0;
    border-style: solid;
    border-color: var(--color-text-dark) transparent;
}

.bar-item:hover .bar-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.bar-label {
    position: absolute;
    bottom: 0;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-gray);
    white-space: nowrap;
}

.chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding-top: 0.8rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-gray);
}

.legend-color {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* الأقراص الدائرية للإنجاز (في أقصى اليسار مقابل الكتابة) */
.metrics-circles {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.2rem;
}

.circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.circle-progress {
    position: relative;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.circle-progress:hover {
    transform: scale(1.15);
}

.circle-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

/* منع تعبئة الدوائر السوداء افتراضياً */
.circle-progress svg circle {
    fill: none !important;
}

.circle-progress circle {
    fill: none;
    stroke: #f1f5f9;
    stroke-width: 4;
}

.circle-progress .bar {
    stroke: var(--color);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 163;
    stroke-dashoffset: 163;
    animation: draw-circle 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes draw-circle {
    to {
        stroke-dashoffset: calc(163 - (163 * var(--percent)) / 100);
    }
}

.circle-val {
    position: absolute;
    font-family: 'Cairo', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.circle-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-text-gray);
    text-align: center;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .metrics-circles {
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .circle-progress {
        width: 60px;
        height: 60px;
    }
    
    .circle-val {
        font-size: 0.85rem;
    }
}

/* 3. قسم الخصائص والميزات العامة كاملة بترقيم مميز وفني */
.features-smo-section {
    padding: 3rem 1rem;
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-text-gray);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

.premium-characteristics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.premium-char-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem 1.5rem 4.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.02);
    position: relative;
    overflow: hidden;
}

.premium-char-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    background: var(--color-perf-primary);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.premium-char-card:nth-child(even)::before {
    background: var(--color-stud-primary);
}

/* تأثير التوهج المضيء بـ CSS3 */
.premium-char-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    pointer-events: none;
    z-index: 5;
}

.premium-char-card:hover::after {
    border-color: rgba(92, 37, 141, 0.25);
    box-shadow: inset 0 0 10px rgba(92, 37, 141, 0.04);
}

.premium-char-card:nth-child(even):hover::after {
    border-color: rgba(26, 107, 92, 0.25);
    box-shadow: inset 0 0 10px rgba(26, 107, 92, 0.04);
}

.premium-char-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.card-number-wrapper {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 2;
}

.num-badge {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(92, 37, 141, 0.08);
    color: var(--color-perf-primary);
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(92, 37, 141, 0.12);
    box-shadow: var(--shadow-sm);
}

.premium-char-card:nth-child(even) .num-badge {
    background: rgba(26, 107, 92, 0.08);
    color: var(--color-stud-primary);
    border-color: rgba(26, 107, 92, 0.12);
}

.card-content-area {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.card-content-area h4 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.card-content-area .card-headline {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-perf-primary);
    background: rgba(92, 37, 141, 0.04);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.3rem;
}

.premium-char-card:nth-child(even) .card-headline {
    color: var(--color-stud-primary);
    background: rgba(26, 107, 92, 0.04);
}

.card-content-area .card-text {
    font-size: 0.95rem;
    color: var(--color-text-gray);
    line-height: 1.7;
}

/* 4. قسم طريقة العمل (How it works) */
.how-it-works-section {
    padding: 6rem 3rem;
    background: var(--color-bg-white);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.workflow-step {
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.5rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.workflow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.05);
    border-color: rgba(92, 37, 141, 0.25);
}

.step-num {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-main-gradient);
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    border: 2px solid white;
}

.workflow-step .step-icon {
    font-size: 2.2rem;
    color: var(--color-perf-primary);
}

.workflow-step:nth-child(even) .step-icon {
    color: var(--color-stud-primary);
}

.workflow-step h5 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.workflow-step p {
    font-size: 0.85rem;
    color: var(--color-text-gray);
    line-height: 1.6;
}

/* 5. قسم عبارات دعائية تسويقية عريضة */
.marketing-banner-section {
    position: relative;
    padding: 6rem 3rem;
    background: var(--color-main-gradient);
    color: white;
    text-align: center;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.banner-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.banner-content p {
    font-size: 1.15rem;
    color: #cbd5e0;
    margin-bottom: 2.5rem;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-buttons .btn {
    padding: 0.9rem 2.5rem;
}

.banner-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.banner-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.banner-buttons .btn-primary {
    background: var(--color-perf-accent);
    color: #1a202c;
}

.banner-buttons .btn-primary:hover {
    background: #e6ab37;
    transform: translateY(-3px);
}

/* تجاوب التصاميم للجوال */
@media (max-width: 992px) {
    .slide-text-overlay {
        right: 5%;
        width: 440px;
        padding: 2.5rem 2rem;
    }

    .slide-title {
        font-size: 2.4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .premium-characteristics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .workflow-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .slider-arrow {
        display: none; /* إخفاء أزرار التحكم على الشاشات المتوسطة والصغيرة */
    }
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 300px;
    }

    .slide-text-overlay {
        right: 2%;
		top: 79%;
        left: 5%;
        width: 370px;
        max-width: 90%;
        top: 50%;
        transform: translateY(-50%);
        padding: 1rem 1.2rem;
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: var(--radius-md);
        border-right: 4px solid var(--color-perf-accent);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .slide-badge {
        display: none;
    }

    .slide-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        line-height: 1.4;
    }

    .slide-desc {
        display: none;
    }

    .slide-anchor-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 4px;
    }

    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .slide-text-overlay {
        right: 2%;
		top:79%;
        left: auto;
        width: 350px;
        max-width: 92%;
        background: rgba(15, 23, 42, 0.8);
        padding: 0.8rem 1rem;
    }

    .slide-title {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .slide-anchor-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
    }

    .quick-nav-bar {
        padding: 1.2rem 1rem;
    }

    .quick-nav-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .quick-nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .quick-btn {
        justify-content: center;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
