/* --- General Styles --- */
:root {
    --primary-color: #2c3e50; /* Professional Blue */
    --secondary-color: #27ae60; /* Green */
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --font-family-ar: 'Noto Sans Arabic', sans-serif;
    --font-family-en: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family-ar);
    direction: rtl;
    text-align: right;
}

/* --- Header --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0 10px;
}

.nav-link.active, .nav-link:hover {
    color: var(--secondary-color);
}

/* --- Hero Section --- */
.hero-section {
    background: url('../images/hero-bg.jpg') no-repeat center center; 
    background-size: cover;
    color: var(--white);
    height: 100vh;
    padding-top: 80px; /* Header height */
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 62, 80, 0.7);
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

.btn-success {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-success:hover {
    background-color: #219d55;
    border-color: #219d55;
}

/* --- Features Section --- */
.feature-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* --- Quiz Section --- */
.quiz-card {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quiz-question {
    color: var(--primary-color);
}

.quiz-options .list-group-item {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.quiz-options .list-group-item:hover {
    background-color: #f8f9fa;
}

.quiz-options .list-group-item.correct {
    background-color: #d1e7dd;
    border-color: #badbcc;
    color: #0f5132;
}

.quiz-options .list-group-item.incorrect {
    background-color: #f8d7da;
    border-color: #f5c2c7;
    color: #842029;
}

#quiz-feedback {
    font-weight: bold;
}

/* --- Programs Section --- */
.programs-section {
    background-color: var(--light-gray);
}

.program-card {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.program-card:hover {
     box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* --- WhatsApp Section --- */
.whatsapp-section {
    background-color: var(--primary-color);
    color: var(--white);
}

/* --- Parents Section --- */
.parent-card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.parent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* --- Testimonials Section --- */
.testimonial-card {
    border: 1px solid #eee;
    background-color: var(--white);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* --- Download Center Section --- */
.download-center-section .list-group-item {
    font-weight: 500;
}

.download-center-section .btn.disabled {
    cursor: not-allowed;
}

/* --- Contact Section --- */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem rgba(39, 174, 96, 0.25);
}

/* --- Footer --- */
.footer {
    background-color: #1a252f;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color) !important;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-flt-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-flt-btn:hover {
    transform: scale(1.1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
}
