:root {
    --islamic-green: #0a4d2e;
    --islamic-green-dark: #073b23;
    --royal-gold: #d4af37;
    --royal-gold-dark: #b89b30;
    --dark-bg: #020a06;
    --light-text: #f0f0f0;
    --dark-text: #1a1a1a;
    --border-color: rgba(212, 175, 55, 0.2);
    --card-bg: rgba(10, 77, 46, 0.2);
    --header-bg: rgba(2, 10, 6, 0.85);
    --footer-bg: #010604;
    --modal-bg: var(--dark-bg);
    --input-bg: transparent;

    --font-latin: 'Poppins', sans-serif;
    --font-arabic: 'Amiri', 'Times New Roman', serif;

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-light: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-dark: 0 20px 40px rgba(0,0,0,0.2);
}

html {
    font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-latin);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
body.nav-active { overflow: hidden; }
body.font-arabic { font-family: var(--font-arabic); line-height: 1.8; }
body.font-latin { font-family: var(--font-latin); }

p { font-size: 1rem; opacity: 0.9; }
button, input, textarea, select, .btn, .nav-link { font-family: inherit; }
.hidden { display: none; }
body.light-mode {
    --islamic-green: #16a085;
    --islamic-green-dark: #f0f8f5;
    --royal-gold: #c79c2e;
    --royal-gold-dark: #b89b30;
    --dark-bg: #fdfaf3;
    --light-text: #2c3e50;
    --dark-text: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --header-bg: rgba(253, 250, 243, 0.85);
    --footer-bg: #f5f2eb;
    --modal-bg: #fdfaf3;
    --input-bg: #fdfaf3;
}

#particles-js { 
    position: fixed; 
    width: 100%; 
    height: 100%; 
    top: 0; 
    inset-inline-start: 0; 
    z-index: -1; 
    transition: opacity 0.5s ease; 
}

body::before { 
    content: ''; 
    position: fixed; 
    top: 0; 
    inset-inline-start: 0; 
    width: 100%; 
    height: 100%; 
    background-image: url('https://www.transparenttextures.com/patterns/subtle-pattern.png'); 
    background-color: transparent; 
    opacity: 0.05; 
    z-index: -2; 
    transition: background-color var(--transition-fast); 
}
body.light-mode::before { 
    background-color: var(--dark-bg); 
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark-bg); transition: background-color var(--transition-fast); }
::-webkit-scrollbar-thumb { background: var(--royal-gold); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--royal-gold-dark); }
body.light-mode ::-webkit-scrollbar-track { background: #e0e0e0; }
.loader { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: var(--dark-bg); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    z-index: 9999; 
animation: fadeOutLoader 0.5s ease 4s forwards;
    pointer-events: none; 
}

@keyframes fadeOutLoader {
    to { opacity: 0; visibility: hidden; }
}

.loader-logo { 
    width: 150px; 
    animation: pulse 2s infinite ease-in-out; 
}
.loader-logo img { width: 100%; height: auto; }

section { 
    padding: 120px 8%; 
    position: relative; 
    overflow: hidden; 
}
main > section:nth-of-type(even) { background-color: var(--islamic-green-dark); }
#contact.contact-section { background-color: var(--dark-bg) !important; }
body.light-mode #contact.contact-section { background-color: var(--dark-bg) !important; }

.section-title { 
    font-size: clamp(1.8rem, 5vw, 2.2rem); 
    font-weight: 700; 
    color: var(--royal-gold); 
    text-align: center; 
    margin-bottom: 70px; 
    position: relative; 
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3); 
}
.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: -15px; 
    inset-inline-start: 50%; 
    transform: translateX(-50%); 
    width: 80px; 
    height: 2px; 
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent); 
}

.btn { 
    display: inline-block; 
    padding: 12px 30px; 
    border: 2px solid transparent; 
    border-radius: 50px; 
    font-size: 1rem; 
    font-weight: bold; 
    text-decoration: none; 
    cursor: pointer; 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
    transition: all var(--transition-slow); 
}
.btn-primary { 
    background-color: var(--royal-gold); 
    color: var(--dark-text); 
    border-color: var(--royal-gold); 
}
body.dark-mode .btn-primary { color: var(--dark-bg); }
.btn-primary:hover { 
    background-color: var(--royal-gold-dark); 
    color: var(--dark-text); 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); 
}
.btn-secondary { 
    background-color: transparent; 
    color: var(--royal-gold); 
    border-color: var(--royal-gold); 
}
.btn-secondary:hover { 
    background-color: var(--royal-gold); 
    color: var(--dark-text); 
    transform: translateY(-5px); 
}
body.dark-mode .btn-secondary:hover { color: var(--dark-bg); }

@media (max-width: 767px) {
    p { font-size: 0.95rem; }
    .btn { font-size: 0.9rem; padding: 10px 22px; }
}
.site-header { 
    position: fixed; 
    top: 0; 
    inset-inline-start: 0; 
    width: 100%; 
    z-index: 1000; 
    padding: 15px 8%; 
    transition: background-color 0.4s ease, padding 0.4s ease; 
}
.site-header.scrolled { 
    background-color: var(--header-bg); 
    backdrop-filter: blur(10px); 
    padding: 12px 8%; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}
body.light-mode .site-header.scrolled { box-shadow: 0 5px 15px rgba(0,0,0,0.07); }

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}
.nav-logo img { 
    height: 80px; 
    width: auto; 
    transition: var(--transition-fast), height var(--transition-fast); 
}
.nav-logo img:hover { transform: scale(1.1); }
.site-header.scrolled .nav-logo img { height: 60px; }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast);
}
.nav-link::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    inset-inline-start: 50%; 
    transform: translateX(-50%); 
    width: 0; 
    height: 2px; 
    background-color: var(--royal-gold); 
    transition: width var(--transition-fast); 
}
.nav-link:hover, .nav-link.active { color: var(--royal-gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger { 
    display: none; 
    cursor: pointer; 
    z-index: 1002; 
    padding: 10px; 
    margin: -10px; 
}
.bar { 
    display: block; 
    width: 25px; 
    height: 3px; 
    margin: 5px auto; 
    background-color: var(--light-text); 
    transition: all 0.3s ease-in-out; 
}
.header-controls { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}

@media (max-width: 992px) {
    .navbar { 
        display: grid; 
        grid-template-columns: auto 1fr auto; 
        align-items: center; 
        width: 100%; 
    }
    .nav-logo { grid-column: 1; justify-self: start; }
    .header-controls { grid-column: 2; justify-self: center; }
    .hamburger { display: block; grid-column: 3; justify-self: end; }
    
    .nav-menu:not(.main-nav-menu) { display: none; }
    
    .main-nav-menu { 
        position: fixed; 
        inset-inline-start: 0; 
        transform: translateX(-100%); 
        top: 0; 
        width: 100vw; 
        height: 100vh; 
        display: flex; 
        flex-direction: column; 
        justify-content: center; 
        align-items: center; 
        gap: 20px; 
        background-color: rgba(2, 10, 6, 0.9); 
        backdrop-filter: blur(15px); 
        -webkit-backdrop-filter: blur(15px); 
        visibility: hidden; 
        transition: transform 0.4s ease, visibility 0.4s; 
        z-index: 1001; 
    }
    .main-nav-menu.active { 
        transform: translateX(0); 
        visibility: visible; 
    }
    body.light-mode .main-nav-menu { background-color: rgba(253, 250, 243, 0.9); }

    .main-nav-menu .nav-link { 
        font-size: 1.7rem; 
        font-weight: bold; 
        padding: 10px 20px; 
        border-radius: 10px; 
        gap: 15px; 
        width: 280px; 
        justify-content: flex-start; 
    }
    .main-nav-menu .nav-link i { 
        font-size: 1.5rem; 
        color: var(--royal-gold); 
        width: 30px; 
        text-align: center; 
    }
    .main-nav-menu .nav-link::after { display: none; }
    .main-nav-menu .nav-link:hover, .main-nav-menu .nav-link.active { background-color: var(--card-bg); }
    
    .hamburger.active .bar { background-color: var(--royal-gold); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .site-header.scrolled { padding-top: 5px; padding-bottom: 5px; }
}

@media (max-width: 480px) {
    .header-controls { gap: 10px; }
}
.language-switcher { position: relative; }
.lang-switcher-btn { 
    background: none; 
    border: none; 
    color: var(--light-text); 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    cursor: pointer; 
    font-size: 0.95rem; 
    padding: 5px; 
}
.lang-switcher-btn > .fi { font-size: 1.4rem; border-radius: 3px; }
.lang-switcher-btn i { transition: transform var(--transition-fast); }

.lang-dropdown { 
    position: absolute; 
    top: 120%; 
    inset-inline-start: 0; 
    z-index: 10; 
    width: 200px; 
    padding: 10px; 
    list-style: none; 
    background: var(--modal-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.2); 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px); 
    transition: all var(--transition-fast); 
}
.language-switcher.open .lang-dropdown { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}
.language-switcher.open .lang-switcher-btn i { transform: rotate(180deg); }
.lang-dropdown li { margin: 0; padding: 0; list-style: none; }
.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    color: var(--light-text);
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}
.lang-dropdown li a .fi { font-size: 1.5rem; }
.lang-dropdown li a:hover {
    background-color: var(--islamic-green-dark);
    color: var(--royal-gold);
}

@media (max-width: 480px) {
    .lang-switcher-btn { font-size: 0.9rem; gap: 5px; }
}
.theme-switcher { position: relative; }
.theme-toggle-checkbox { display: none; }
.theme-toggle-label { 
    display: block; 
    width: 30px; 
    text-align: center; 
    font-size: 1.5rem; 
    color: var(--light-text); 
    cursor: pointer; 
    transition: color 0.3s ease, transform 0.3s ease; 
}
.theme-toggle-label:hover { transform: scale(1.2) rotate(15deg); color: var(--royal-gold); }
.theme-toggle-label .fa-sun { display: none; }
.theme-toggle-label .fa-moon { display: inline-block; }
.theme-toggle-checkbox:checked + .theme-toggle-label .fa-sun { display: inline-block; }
.theme-toggle-checkbox:checked + .theme-toggle-label .fa-moon { display: none; }
.hero-section { 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
}
.hero-content { position: relative; z-index: 2; }
.main-heading { 
    font-size: clamp(3rem, 8vw, 4.5rem); 
    font-weight: 700; 
    color: var(--light-text); 
    line-height: 1.2; 
}
.highlight-gold { 
    color: var(--royal-gold); 
    text-shadow: 0 0 20px rgba(224, 195, 90, 0.5); 
}
.sub-heading { 
    font-size: clamp(1.05rem, 3.6vw, 1.4rem); 
    margin: 20px 0 40px; 
    color: var(--light-text); 
}
.typed-text { color: var(--royal-gold); font-weight: bold; }
.hero-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    flex-wrap: wrap; 
}
.hero-content .main-heading,
.hero-content .sub-heading,
.hero-buttons .btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

@media (max-width: 767px) {
    .hero-section { min-height: 100vh; padding: 120px 4% 80px; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; }
}
.fields-grid { 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: clamp(20px, 4vw, 40px); 
}
.field-card { 
    flex: 1 1 300px; 
    max-width: 380px; 
    padding: clamp(25px, 5vw, 40px); 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 15px; 
    text-align: center; 
    backdrop-filter: blur(8px); 
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; 
}
body.light-mode .field-card { box-shadow: var(--shadow-light); }
.field-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-dark); 
    border-color: var(--royal-gold); 
}
body.light-mode .field-card:hover { box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.card-icon { 
    font-size: 3.5rem; 
    color: var(--royal-gold); 
    margin-bottom: 20px; 
    text-shadow: 0 0 15px var(--royal-gold); 
}
.card-title { 
    font-size: 1.6rem; 
    color: var(--light-text); 
    margin-bottom: 15px; 
}
.card-description { 
    font-size: 1rem; 
    color: var(--light-text); 
    opacity: 0.8; 
    margin-bottom: 30px; 
    min-height: 48px; 
}
.btn-details { 
    background: transparent; 
    border: 1px solid var(--royal-gold); 
    color: var(--royal-gold); 
    padding: 8px 20px; 
    border-radius: 20px; 
    cursor: pointer; 
    transition: all var(--transition-fast); 
}
.btn-details:hover { background: var(--royal-gold); color: var(--dark-text); }
body.dark-mode .btn-details:hover { color: var(--dark-bg); }

@media (max-width: 767px) {
    .card-title { font-size: 1.5rem; }
}
.languages-container { max-width: 1200px; margin: 0 auto; }
.languages-grid { 
    display: grid; 
    gap: 30px; 
    margin-bottom: 30px; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
}
.language-card { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    height: 100%; 
    padding: 25px; 
    background: var(--card-bg); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--border-color); 
    border-bottom: 4px solid var(--royal-gold); 
    border-radius: 15px; 
    text-align: center; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.language-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); 
}
body.light-mode .language-card { 
    background: #ffffff; 
    backdrop-filter: none; 
    border: 1px solid rgba(0, 0, 0, 0.08); 
    border-bottom: 4px solid var(--royal-gold); 
    box-shadow: var(--shadow-light); 
}
.lang-card-flag .fi { 
    font-size: 3.5rem; 
    margin-bottom: 15px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
}
.lang-card-body h3 { 
    font-size: 1.5rem; 
    font-weight: 600; 
    color: var(--light-text); 
    margin-bottom: 8px; 
}
.lang-card-body p { font-size: 0.95rem; color: var(--light-text); opacity: 0.8; }
.language-card-link { text-decoration: none; color: inherit; }
.cta-card.language-card { flex-direction: row; gap: 25px; }
.lang-card-flag .fa-globe { 
    font-size: 3.5rem; 
    color: var(--royal-gold); 
    line-height: 1; 
}
.card-button-look { 
    display: inline-block; 
    margin-top: 20px; 
    padding: 10px 25px; 
    border-radius: 50px; 
    background: var(--royal-gold); 
    color: var(--dark-bg); 
    font-weight: bold; 
    transition: transform 0.3s ease; 
}
.language-card-link:hover .card-button-look { transform: scale(1.05); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-inline-start: 5px solid var(--royal-gold); 
    border-radius: 10px;
    transition: all var(--transition-fast);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
    border-color: var(--royal-gold);
}
body.light-mode .feature-card {
    border: 1px solid var(--border-color);
    border-inline-start: 5px solid var(--royal-gold); 
    box-shadow: var(--shadow-light);
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--royal-gold);
    flex-shrink: 0;
}
.feature-text h3 {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 8px;
}
.feature-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}
body.light-mode .feature-text h3, 
body.light-mode .feature-text p { color: var(--light-text); }
.trial-session-section { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 120px 4%; 
}
.trial-card { 
    position: relative; 
    width: 100%; 
    max-width: 500px; 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 20px; 
    backdrop-filter: blur(10px); 
    overflow: hidden; 
    transition: transform 0.4s ease, box-shadow 0.4s ease; 
}
.trial-card:hover { 
    transform: translateY(-10px); 
    box-shadow: var(--shadow-dark); 
    border-color: rgba(212, 175, 55, 0.4); 
}
body.light-mode .trial-card {
    background: #fff;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}
.trial-card-content { padding: 40px; }
.trial-card-shine { 
    position: absolute; 
    top: 0; 
    inset-inline-start: -150%; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient( to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100% ); 
    transform: skewX(-25deg); 
    transition: left 0.9s ease; 
    z-index: 1; 
}
.trial-card:hover .trial-card-shine { inset-inline-start: 150%; }
.trial-card-content, .trial-card-visual, .trial-card-text { 
    position: relative; 
    z-index: 2; 
}
.trial-card-visual { text-align: center; }
.card-icon-top { 
    font-size: 2.5rem; 
    color: var(--royal-gold); 
    margin-bottom: 20px; 
}
.card-title-trial { 
    font-size: 2rem; 
    color: var(--light-text); 
    margin-bottom: 15px; 
    text-align: center; 
}
.card-description-trial { 
    font-size: 1rem; 
    line-height: 1.8; 
    color: var(--light-text); 
    opacity: 0.8; 
    margin-bottom: 30px; 
    text-align: center; 
}
.trial-features { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-bottom: 30px; 
    flex-wrap: wrap; 
}
.feature-item { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 0.9rem; 
    background: rgba(0,0,0,0.2); 
    padding: 8px 15px; 
    border-radius: 50px; 
}
.feature-item i { color: var(--royal-gold); }
.card-cta-hidden { margin-top: 20px; text-align: center; }
.trial-btn { font-size: 1rem; }

@media (min-width: 993px) {
    .trial-card { max-width: 850px; }
    .trial-card-content { 
        display: grid; 
        grid-template-columns: 200px 1fr; 
        gap: 40px; 
        align-items: center; 
        padding: 50px; 
    }
    .card-icon-top { font-size: 5rem; margin-bottom: 0; }
    .card-title-trial, .card-description-trial { text-align: start; }
    .trial-features { justify-content: flex-start; }
}
.testimonial-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.testimonial-carousel {
    display: flex;
    align-items: stretch; 
    transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.testimonial-card {
    flex: 0 0 100%;
    padding: 0 15px;
    opacity: 0.5;
    transform: scale(0.85);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}
.testimonial-card .card-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    height: 100%; 
    display: flex;
    flex-direction: column;
}
body.light-mode .testimonial-card .card-content {
    box-shadow: var(--shadow-light);
}
.testimonial-card .card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.testimonial-card .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--royal-gold);
    color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.testimonial-card cite {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--light-text);
    font-style: normal;
}
body.light-mode .testimonial-card cite { color: var(--light-text); }
.testimonial-card .card-body {
    flex-grow: 1;
}
.testimonial-card .card-body p {
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    opacity: 0.9;
}
.testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    inset-inline-end: 25px; 
    font-size: 3.5rem;
    color: var(--royal-gold);
    opacity: 0.1;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--light-text);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    transition: all 0.3s;
}
.slider-nav:hover {
    background: var(--royal-gold);
    color: var(--dark-bg);
}
.slider-nav.prev { inset-inline-start: -25px; } 
.slider-nav.next { inset-inline-end: -25px; } 

@media (max-width: 992px) {
    .testimonial-card { padding: 0 20px; }
    .slider-nav.prev { inset-inline-start: -15px; }
    .slider-nav.next { inset-inline-end: -15px; }
}
@media (max-width: 767px) {
    .testimonial-carousel-container { max-width: 100%; }
    .testimonial-card,
    .testimonial-card:not(.active) {
        padding: 0 10px;
        transform: scale(1);
        opacity: 1;
    }
    .slider-nav { width: 40px; height: 40px; }
    .slider-nav.prev { inset-inline-start: 5px; }
    .slider-nav.next { inset-inline-end: 5px; }
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(8px);
}
.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--royal-gold);
}
body.light-mode .pricing-card {
    box-shadow: var(--shadow-light);
}
.pricing-header { text-align: center; margin-bottom: 25px; }
.pricing-icon { font-size: 3rem; color: var(--royal-gold); margin-bottom: 15px; }
.pricing-card .course-title { font-size: 1.5rem; margin-bottom: 5px; }
.pricing-card .course-description { font-size: 0.9rem; opacity: 0.7; min-height: 3em; }

.packages { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.package-item {
    position: relative;
    display: block;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.package-item:hover { border-color: var(--royal-gold); }
.package-item input[type="radio"] { display: none; }
.package-info { display: flex; justify-content: space-between; align-items: center; }
.package-info strong { font-size: 1rem; }
.package-info span { font-size: 1.1rem; font-weight: bold; color: var(--royal-gold); }
.package-info span del { opacity: 0.6; font-weight: normal; margin-inline-start: 5px; }

.package-item:has(input:checked) {
    border-color: var(--royal-gold);
    background-color: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
body.light-mode .package-item:has(input:checked) {
    background-color: rgba(199, 156, 46, 0.08);
}

.popular-badge {
    position: absolute;
    top: -12px;
    inset-inline-end: 15px; 
    background: var(--royal-gold);
    color: var(--dark-bg);
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}
.discount-badge {
    position: absolute;
    top: -10px;
    inset-inline-start: 10px;
    background: var(--islamic-green);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 5px;
    transform: rotate(-15deg);
    z-index: 1;
}

.pricing-actions { display: flex; gap: 10px; margin-top: auto; }
.pricing-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap; 
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    padding: 10px;
}

.btn-whatsapp { background-color: #25D366; color: #fff; border-color: #25D366; }
.btn-whatsapp:hover { background-color: #128C7E; border-color: #128C7E; transform: translateY(-3px) }
.btn-email { background-color: transparent; border: 1px solid var(--royal-gold); color: var(--royal-gold); }
.btn-email:hover { background-color: var(--royal-gold); color: var(--dark-bg); transform: translateY(-3px) }

@media (min-width: 993px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
.islamic-divider { 
    height: 60px; 
    width: 100%; 
    background-color: var(--dark-bg); 
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><g fill="none" stroke="%23d4af37" stroke-width="2"><path d="M0 50 L50 100 L100 50 L50 0 Z M25 50 L50 75 L75 50 L50 25 Z"/></g></svg>'); 
    background-repeat: repeat-x; 
    background-position: center; 
    background-size: contain; 
    opacity: 0.25; 
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); 
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent); 
}
body.light-mode .islamic-divider { opacity: 0.15; }
.contact-subtitle { 
    max-width: 600px; 
    margin: 0 auto 40px auto; 
    font-size: 1rem; 
    opacity: 0.8; 
    text-align: center; 
}
.social-icons-row { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin-bottom: 60px; 
    flex-wrap: wrap; 
}
.social-icon { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background: var(--card-bg); 
    border: 2px solid var(--border-color); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}
.social-icon i { 
    font-size: 1.8rem; 
    color: var(--light-text); 
    transition: all 0.3s ease; 
}
.social-icon:hover { 
    background-color: var(--icon-color, var(--royal-gold)); 
    border-color: var(--icon-color, var(--royal-gold)); 
    transform: translateY(-8px) scale(1.1); 
    box-shadow: var(--shadow-dark); 
}
.social-icon:hover i { color: #fff; transform: scale(1.1); }
body.light-mode .social-icon { background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
body.light-mode .social-icon:hover i { color: var(--royal-gold); }

.form-info-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 60px; 
    align-items: flex-start; 
    max-width: 1200px; 
    margin: 0 auto; 
    text-align: start; 
}
.contact-form-wrapper { 
    padding: 40px; 
    background: var(--card-bg); 
    border-radius: 15px; 
    border: 1px solid var(--border-color); 
    backdrop-filter: blur(5px); 
    transition: background-color 0.3s, border-color 0.3s; 
}
body.light-mode .contact-form-wrapper { box-shadow: var(--shadow-light); }
.form-group { position: relative; margin-bottom: 45px; }
.form-group input, .form-group textarea { 
    width: 100%; 
    background: var(--input-bg); 
    border: none; 
    border-bottom: 2px solid var(--border-color); 
    color: var(--light-text); 
    font-size: 1rem; 
    padding: 10px 5px; 
    transition: border-color 0.3s ease, background-color 0.3s; 
}
.form-group input:focus, .form-group textarea:focus { 
    outline: none; 
    border-bottom-color: var(--royal-gold); 
}
.form-group label { 
    position: absolute; 
    top: 10px; 
    inset-inline-start: 5px; 
    color: var(--light-text); 
    opacity: 0.7; 
    transition: all 0.3s ease; 
    pointer-events: none; 
}
.form-group input:focus ~ label, 
.form-group input:valid ~ label, 
.form-group textarea:focus ~ label, 
.form-group textarea:valid ~ label { 
    top: -22px; 
    font-size: 0.9rem; 
    color: var(--royal-gold); 
    opacity: 1; 
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; padding: 15px 30px; font-size: 1.1rem; }
.btn-submit:hover { transform: translateY(-3px); }

.quick-suggestions { margin-top: -20px; margin-bottom: 30px; text-align: start; }
.suggestions-title { 
    font-size: 1rem; 
    font-weight: normal; 
    color: var(--light-text); 
    opacity: 0.8; 
    margin-bottom: 15px; 
}
.suggestions-buttons { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
    justify-content: flex-start; 
}
.suggestion-btn { 
    background-color: transparent; 
    border: 1px solid var(--border-color); 
    color: var(--light-text); 
    padding: 8px 15px; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}
.suggestion-btn:hover { 
    background-color: var(--royal-gold); 
    border-color: var(--royal-gold); 
    color: var(--dark-bg); 
    transform: translateY(-2px); 
}

.contact-info-wrapper { padding-top: 20px; }
.contact-info h3 { 
    font-size: 2rem; 
    color: var(--royal-gold); 
    margin-bottom: 20px; 
}
.contact-info p { font-size: 1rem; line-height: 1.8; margin-bottom: 30px; }
.email-info { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    padding: 15px; 
    background: var(--card-bg); 
    border-radius: 8px; 
    border: 1px solid var(--border-color); 
    transition: background-color 0.3s, border-color 0.3s; 
}
body.light-mode .email-info { background: #fff; }
.email-info i { font-size: 1.5rem; color: var(--royal-gold); }
.email-info a { 
    color: var(--light-text); 
    text-decoration: none; 
    font-size: 1.1rem; 
    transition: color 0.3s ease; 
    direction: ltr; 
}
.email-info a:hover { color: var(--royal-gold); }

@media (max-width: 992px) {
    .form-info-container { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .contact-info h3 { font-size: 1.8rem; }
}
.site-footer-bottom { 
    background-color: var(--footer-bg); 
    border-top: 1px solid var(--border-color); 
    padding: 40px 20px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
.developer-credit-pill { 
    position: relative; 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: 50px; 
    padding: 12px 30px; 
    backdrop-filter: blur(5px); 
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
}
.developer-credit-pill:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); 
    border-color: rgba(212, 175, 55, 0.5); 
}
.developer-credit-pill a { 
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    direction: ltr; 
}
.dev-name { 
    color: var(--light-text); 
    font-family: 'Poppins', sans-serif; 
    font-weight: 700; 
    font-size: 1.1rem; 
    background-clip: text; 
    -webkit-background-clip: text; 
    transition: color 0.4s ease; 
}
.developer-credit-pill:hover .dev-name { 
    color: transparent; 
    background-image: linear-gradient(90deg, rgba(212, 175, 55, 0.8), #ffffff, rgba(212, 175, 55, 0.8)); 
    background-size: 200% 100%; 
    animation: text-shimmer 2s linear infinite; 
}
.dev-text { 
    font-family: 'Poppins', sans-serif; 
    font-size: 0.9rem; 
    color: var(--light-text); 
    opacity: 0.6; 
    transition: opacity 0.4s ease; 
}
.developer-credit-pill:hover .dev-text { opacity: 0.9; }

.modal-container { 
    position: fixed; 
    top: 0; 
    inset-inline-start: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 1001; 
    background: rgba(2, 10, 6, 0.85); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.4s, visibility 0s 0.4s; 
}
body.light-mode .modal-container { background: rgba(253, 250, 243, 0.85); }
.modal-container.active { 
    opacity: 1; 
    visibility: visible; 
    transition: opacity 0.4s, visibility 0s 0s; 
}
.modal-content { 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    width: 90%; 
    max-width: 600px; 
    max-height: 90vh; 
    padding: 30px 40px; 
    background: var(--modal-bg); 
    border: 1px solid var(--royal-gold); 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    text-align: start; 
    transition: background-color var(--transition-fast), max-width 0.4s ease; 
}
.modal-header { text-align: center; margin-bottom: 20px; }
.modal-logo { width: 80px; height: auto; margin-bottom: 15px; }
.modal-content h2 { 
    font-size: clamp(1.7rem, 5vw, 2rem); 
    color: var(--royal-gold); 
}
.modal-body { overflow-y: auto; text-align: justify; }
.modal-close-btn { 
    position: absolute; 
    top: 10px; 
    inset-inline-end: 15px; 
    z-index: 10; 
    background: transparent; 
    border: none; 
    color: var(--light-text); 
    font-size: 2.2rem; 
    line-height: 1; 
    cursor: pointer; 
    transition: color 0.3s; 
}
.modal-close-btn:hover { color: var(--royal-gold); }

#about-modal .modal-content.video-is-active { 
    max-width: 90vw !important; 
    max-height: 90vh; 
    width: auto; 
    aspect-ratio: 9 / 16; 
    padding: 0; 
    overflow: hidden; 
}
#about-modal-video { width: 100%; height: 100%; }
#about-modal-video .video-wrapper { 
    width: 100%; 
    height: 100%; 
    background-color: #000; 
    border-radius: 10px; 
    overflow: hidden; 
}
#about-modal-video iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 767px) {
    .modal-content h2 { font-size: 1.7rem; }
    .modal-body p { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .modal-content { padding: 30px 20px; }
}
.whatsapp-float, .floating-trial-btn { 
    position: fixed; 
    width: 60px; 
    height: 60px; 
    bottom: 40px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    z-index: 100; 
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2); 
    transition: transform 0.3s ease, background-color 0.3s ease; 
}
.whatsapp-float { 
    inset-inline-start: 40px; 
    background-color: #25D366; 
    color: #FFF; 
    font-size: 30px; 
    animation: pulse-whatsapp 2.5s infinite; 
}
.floating-trial-btn { 
    inset-inline-end: 40px; 
    background-color: var(--royal-gold); 
    color: var(--dark-bg); 
    font-size: 24px; 
    text-decoration: none; 
    animation: pulse-trial 2.5s infinite 1s; 
}
.whatsapp-float:hover { 
    transform: scale(1.1) translateY(-5px); 
    background-color: #128C7E; 
    animation-play-state: paused; 
}
.floating-trial-btn:hover { 
    transform: scale(1.1) translateY(-5px); 
    background-color: var(--royal-gold-dark); 
    animation-play-state: paused; 
}

@media (max-width: 767px) {
    .whatsapp-float, .floating-trial-btn { 
        width: 55px; 
        height: 55px; 
        bottom: 20px; 
        font-size: 26px; 
    }
    .whatsapp-float { inset-inline-start: 20px; }
    .floating-trial-btn { inset-inline-end: 20px; }
}

@keyframes pulse { 
    0% { transform: scale(0.95); opacity: 0.7; } 
    50% { transform: scale(1); opacity: 1; } 
    100% { transform: scale(0.95); opacity: 0.7; } 
}
@keyframes pulse-whatsapp { 
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 
    70% { transform: scale(1.1); box-shadow: 0 0 10px 20px rgba(37, 211, 102, 0); } 
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}
@keyframes pulse-trial { 
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); } 
    70% { transform: scale(1.1); box-shadow: 0 0 10px 20px rgba(212, 175, 55, 0); } 
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } 
}
@keyframes text-shimmer { 
    from { background-position: 200% 0; } 
    to { background-position: -200% 0; } 
}
