/* Global Variables based on previous reliable theme + Document Vibe */
:root {
    --primary-color: #332c78;   /* Purple as established */
    --primary-hover: #26215c;
    --secondary-color: #1CC1DF; /* Cyan as established */
    --light-bg: #f8fbff;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --font-main: 'Tajawal', sans-serif;
}

body {
    font-family: var(--font-main) !important;
    background-color: #fff;
    direction: rtl;
    text-align: right;
}

/* Scoping ID for Home Page specifically if needed, but general styles apply */
#home-page-wrapper {
    overflow-x: hidden;
}

/* Typography Colors */
.text-primary-color { color: var(--primary-color) !important; }
.text-dark-blue { color: var(--primary-color) !important; }
.text-secondary-custom { color: var(--secondary-color) !important; }
.bg-light-blue { background-color: var(--light-bg) !important; }

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary-custom {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    transition: all 0.3s ease;
}
.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Navbar */
.navbar-nav .nav-link {
    color: #555;
    transition: 0.3s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    background-color: var(--light-bg); /* Fallback */
    background-image: linear-gradient(135deg, #f8fbff 0%, #eef2f9 100%);
}

.hero-img.floating-anim {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, 15px); }
    100% { transform: translate(0, -0px); }
}

/* Feature Box */
.feature-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.feature-box:hover {
    transform: translateY(-5px);
}

/* Service Card */
.service-card {
    border-radius: 16px;
    transition: 0.3s;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-primary-light {
    background-color: var(--primary-color); /* Or a lighter shade */
}

/* Curriculum Box */
.curriculum-box {
    background-color: #fff;
    transition: 0.3s;
    border-color: #eee !important;
}
.curriculum-box:hover {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Footer */
.hover-primary:hover {
    color: var(--secondary-color) !important;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    text-decoration: none;
    transition: 0.3s;
}
.whatsapp-float:hover {
    background-color: #20b858;
    transform: scale(1.1);
}