/* Features / Why Choose Us Section Styles */
.features-section {
    background: linear-gradient(135deg, #f4e4c1 0%, #f5deb3 100%);
    padding: 3rem 0 2.5rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.07);
}

.features-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-section .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.08);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.08);
    border: 2px solid #f5deb3;
    padding: 2rem 1.2rem 1.2rem 1.2rem;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.18);
    transform: translateY(-4px) scale(1.03);
}

.feature-card h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #243a6b;
    margin-bottom: 0.7rem;
}

.feature-card p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.7rem;
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .features-section .container {
        padding: 1.2rem 0.5rem;
    }

    .features-section .section-title {
        font-size: 1.2rem;
    }

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

    .feature-card {
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
    }
}

/* Dark Mode for Features Section */
.landing-page.dark-mode .features-section {
    background: linear-gradient(135deg, #0f1724 0%, #0b0f1a 100%);
}

.landing-page.dark-mode .features-section .section-title {
    color: #d4af37;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.18);
}

.landing-page.dark-mode .feature-card {
    background: #1a2a4a;
    border-color: #d4af37;
}

.landing-page.dark-mode .feature-card h3 {
    color: #f5deb3;
}

.landing-page.dark-mode .feature-card p {
    color: #e7eef8;
}

/* Courses Section Styles for Landing Page */
.courses-section {
    background: linear-gradient(135deg, #f5deb3 0%, #f4e4c1 100%);
    padding: 3rem 0 2.5rem 0;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.07);

}

.courses-section .container {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.09);
    padding: 2.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid #d4af37;
}

.courses-section .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.08);
}

.courses-filter {
    margin-bottom: 2rem;
    text-align: center;
}

.courses-filter label {
    font-weight: 600;
    color: #243a6b;
    margin-right: 10px;
}

.courses-filter select {
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid #d4af37;
    font-size: 1rem;
    background: #fff;
    color: #243a6b;
    transition: border-color 0.2s;
}

.courses-filter select:focus {
    border-color: #b8941f;
    outline: none;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.course-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.08);
    border: 2px solid #f5deb3;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.18);
    transform: translateY(-4px) scale(1.03);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.course-content {
    padding: 1.2rem 1rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.7rem;
}

.course-header h3 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #243a6b;
    margin: 0;
}

.course-price {
    font-size: 1rem;
    color: #d4af37;
    font-weight: 700;
}

.course-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.7rem;
}

.course-meta {
    font-size: 0.95rem;
    color: #243a6b;
    margin-bottom: 0.7rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.course-btn {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4af37, #b8941f);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.13);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    margin-top: auto;
    align-self: flex-start;
}

.course-btn:hover {
    background: linear-gradient(135deg, #b8941f, #d4af37);
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 900px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.2rem;
    }
}

@media (max-width: 600px) {
    .courses-section .container {
        padding: 1.2rem 0.5rem;
    }

    .courses-section .section-title {
        font-size: 1.2rem;
    }

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

    .course-image img {
        height: 100px;
    }
}

/* Dark Mode for Courses Section */
.landing-page.dark-mode .courses-section {
    background: linear-gradient(135deg, #0f1724 0%, #0b0f1a 100%);
}

.landing-page.dark-mode .courses-section .container {
    background: #0f1724;
    border-color: #d4af37;
    color: #e7eef8;
}

.landing-page.dark-mode .courses-section .section-title {
    color: #d4af37;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.18);
}

.landing-page.dark-mode .courses-filter label {
    color: #e9eef8;
}

.landing-page.dark-mode .courses-filter select {
    background: #1a2a4a;
    color: #f5deb3;
    border-color: #d4af37;
}

.landing-page.dark-mode .course-card {
    background: #1a2a4a;
    border-color: #d4af37;
}

.landing-page.dark-mode .course-header h3 {
    color: #f5deb3;
}

.landing-page.dark-mode .course-price {
    color: #d4af37;
}

.landing-page.dark-mode .course-content p,
.landing-page.dark-mode .course-meta {
    color: #e7eef8;
}

.landing-page.dark-mode .course-btn {
    background: linear-gradient(135deg, #243a6b, #d4af37);
    color: #f5deb3;
}

.landing-page.dark-mode .course-btn:hover {
    background: linear-gradient(135deg, #d4af37, #243a6b);
    color: #fff;
}

/* Dark Mode for CTA Section */

.landing-page.dark-mode .cta-section .container {
    /* background: rgb(0 0 0 / 95%); */
    border-color: #d4af37;
    color: #e7eef8;
}

.landing-page.dark-mode .cta-section h2 {
    color: #d4af37;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.18);
}

.landing-page.dark-mode .cta-section p {
    color: #e7eef8;
}

.cta-section {
    background: linear-gradient(135deg, #f8f4f0 0%, #e8dcc0 50%, #f5deb3 100%);
    text-align: center;
    position: relative;
    /* box-shadow: 0 8px 32px rgba(212,175,55,0.07); */
    padding-bottom: 4rem;
}

.cta-section .container {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.09);
    padding: 2.5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    border: 2px solid #d4af37;
}

.cta-section h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.1rem;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 1.2rem;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.08);
}

.cta-section p {
    font-size: 1.15rem;
    color: #243a6b;
    margin-bottom: 2rem;
}


@media (max-width: 600px) {
    .cta-section .container {
        padding: 1.2rem 0.5rem;
        margin: 0 16px;
    }

    .cta-section h2 {
        font-size: 1.3rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

/* Unique Login/Signup Button Styles for Header */
.btn-login, .btn-signup {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-left: 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.98rem;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #d4af37;
    background: transparent;
    color: #d4af37;
    box-shadow: none;
    letter-spacing: 1px;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    position: relative;
}

.btn-login:hover, .btn-signup:hover {
    border-color: #243a6b;
    background: #f5deb3;
    color: #d4af37;
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.13);
}

.landing-page.dark-mode .btn-login, .landing-page.dark-mode .btn-signup {
    border-color: #d4af37;
    color: #f5deb3;
    background: transparent;
}

.landing-page.dark-mode .btn-login:hover, .landing-page.dark-mode .btn-signup:hover {
    background: #0f1724;
    color: #d4af37;
    border-color: #f5deb3;
}

[dir="rtl"] .big {

    flex-direction: row-reverse;
}

.big {
    display: flex;
    gap: 2rem;
}

.landing-page .egyptian-wisdom-section::before {
    content: none;
}

.landing-page.dark-mode .egyptian-wisdom-section {
    background: none;
}

.landing-page.dark-mode .cta-section {
    background: none;
}

.landing-page .egyptian-wisdom-section {
    background: none;
}

.landing-page .cta-section {
    background: none;
}

/* .cta-section::before{
  content: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(36, 58, 107, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%), radial-gradient(circle at 90% 20%, rgba(36, 58, 107, 0.05) 0%, transparent 50%);
    background-size: 400px 400px, 300px 300px, 500px 500px, 350px 350px;
    background-position: 0 0, 100px 100px, 200px 200px, 300px 300px;
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}  */


.landing-page.dark-mode .comb {

    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.comb {
    background: linear-gradient(135deg, #f5deb3 0%, #f4e4c1 100%);
    position: relative;
    /* Ensure ::before is contained */
    overflow: hidden;
}

.comb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(36, 58, 107, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 50%), radial-gradient(circle at 90% 20%, rgba(36, 58, 107, 0.05) 0%, transparent 50%);
    background-size: 400px 400px, 300px 300px, 500px 500px, 350px 350px;
    background-position: 0 0, 100px 100px, 200px 200px, 300px 300px;
    /* animation: backgroundFloat 20s ease-in-out infinite; */
    pointer-events: none;
}

.landing-page .courses-section::before {
    z-index: auto;
}

.landing-page .courses-section .container {

    position: relative;
    z-index: 1;

}