/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

/* Global Styles */
:root {
    /* Primary colors from the star logo */
    --primary-color: #ffcf30;    /* Yellow star */
    --primary-light: #ffe380;
    --primary-dark: #e6b800;
    
    --secondary-color: #82b1e8;  /* Blue star */
    --secondary-light: #b3d1ff;
    --secondary-dark: #5c90d4;
    
    --accent-color: #e38bb3;     /* Pink star */
    --accent-light: #ffc0da;
    --accent-dark: #cc6699;
    
    /* Supporting colors */
    --success-color: #7cd577;
    --warning-color: #ff9966;
    --danger-color: #ff7070;
    --dark-color: #5c6ac4;
    --dark-color-2: #6f7ed9;
    --gray-color: #8d93ab;
    --light-gray: #f0f3ff;
    --light-color: #f8f9ff;
    --white-color: #ffffff;
    
    /* Playful fonts */
    --body-font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --heading-font: 'Baloo 2', -apple-system, BlinkMacSystemFont, sans-serif;
    --arabic-font: 'Droid Arabic Kufi', 'Segoe UI', Tahoma, sans-serif;
    
    /* Rounder corners for child-friendly feel */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-rounded: 50px;
    
    /* Softer shadows */
    --box-shadow-sm: 0 3px 10px rgba(108, 99, 255, 0.1);
    --box-shadow: 0 5px 15px rgba(108, 99, 255, 0.15);
    --box-shadow-lg: 0 8px 25px rgba(108, 99, 255, 0.18);
    --box-shadow-hover: 0 12px 30px rgba(108, 99, 255, 0.25);
    
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --max-width: 1400px;
    --header-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b3d1ff' fill-opacity='0.4'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

body.rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--arabic-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2.8rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.6rem;
}

h5 {
    font-size: 1.3rem;
}

h6 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 400;
}

strong {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Fun wavy underline for headings */
.wavy-underline {
    position: relative;
    display: inline-block;
}

.wavy-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 10px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 10 0, 20 5 T 40 5 T 60 5 T 80 5 T 100 5' stroke='%23e38bb3' stroke-width='4' fill='none'/%3E%3C/svg%3E");
    background-size: 100px 10px;
    background-repeat: repeat-x;
}

/* Button Styles - More rounded and playful */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border: none;
    border-radius: var(--border-radius-rounded);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--box-shadow);
    font-family: var(--heading-font);
    letter-spacing: 0.5px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.btn:active {
    transform: translateY(-2px);
}

.btn-icon {
    margin-left: 8px;
    font-size: 1.2em;
}

.rtl .btn-icon {
    margin-left: 0;
    margin-right: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--dark-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 3px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.2rem;
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Cloud shape divider */
.cloud-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.cloud-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.cloud-divider .shape-fill {
    fill: var(--white-color);
}

/* Section styles with playful elements */
.section {
    padding: 100px 0;
    position: relative;
}

.section-sm {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title .subtitle {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
    display: block;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    height: 8px;
    width: 100px;
    background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius-rounded);
    margin: 0.8rem auto 0;
}

.section-title p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray-color);
    font-size: 1.2rem;
}

/* Decorative stars for sections */
.star-decoration {
    position: absolute;
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 0;
}

.star-yellow {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffcf30' d='M50 0 C58 28 72 42 100 50 C72 58 58 72 50 100 C42 72 28 58 0 50 C28 42 42 28 50 0z'/%3E%3Cpath fill='white' d='M40 55 Q50 60 60 55 C51 60 49 60 40 55z'/%3E%3C/svg%3E");
}

.star-blue {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%2382b1e8' d='M50 0 C58 28 72 42 100 50 C72 58 58 72 50 100 C42 72 28 58 0 50 C28 42 42 28 50 0z'/%3E%3Cpath fill='white' d='M40 55 Q50 60 60 55 C51 60 49 60 40 55z'/%3E%3C/svg%3E");
}

.star-pink {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23e38bb3' d='M50 0 C58 28 72 42 100 50 C72 58 58 72 50 100 C42 72 28 58 0 50 C28 42 42 28 50 0z'/%3E%3Cpath fill='white' d='M40 55 Q50 60 60 55 C51 60 49 60 40 55z'/%3E%3C/svg%3E");
}

/* Custom background patterns */
.bg-clouds {
    background-color: var(--light-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30,35 C35,30 45,30 50,35 C55,30 65,30 70,35 C75,40 75,50 70,55 C75,60 75,70 70,75 C65,80 55,80 50,75 C45,80 35,80 30,75 C25,70 25,60 30,55 C25,50 25,40 30,35 Z' fill='%23b3d1ff' fill-opacity='0.2'/%3E%3C/svg%3E");
}

.bg-stars {
    background-color: var(--light-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20 L25 10 L30 20 L20 25 Z M60 20 L65 10 L70 20 L60 25 Z M20 60 L25 50 L30 60 L20 65 Z M60 60 L65 50 L70 60 L60 65 Z M40 40 L50 30 L60 40 L50 50 Z' fill='%23ffd480' fill-opacity='0.2'/%3E%3C/svg%3E");
}

.bg-balloons {
    background-color: var(--light-color);
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30 A15 15 0 1 1 30 60 L30 80 M70 30 A15 15 0 1 1 70 60 L70 80' stroke='%23ffc0da' stroke-width='2' fill='none' stroke-opacity='0.3'/%3E%3C/svg%3E");
}

/* Enhanced animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.wobble {
    animation: wobble 4s ease-in-out infinite;
}

@keyframes wobble {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(0deg);
    }
    75% {
        transform: rotate(-5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Header styles - More playful */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
    padding: 12px 0;
}

.header.scrolled .logo-text h1 {
    color: var(--dark-color);
}

.header.scrolled .nav-link {
    color: var(--dark-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo img {
    height: 70px;
    margin-right: 15px;
    transition: var(--transition);
    transform-origin: center;
    animation: wiggle 6s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

.rtl .logo img {
    margin-right: 0;
    margin-left: 15px;
}

.header.scrolled .logo img {
    height: 60px;
}

.logo-text h1 {
    font-size: 2.2rem;
    color: var(--white-color);
    margin-bottom: 0;
    transition: var(--transition);
}

.logo-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    transition: var(--transition);
}

.header.scrolled .logo-text p {
    color: var(--gray-color);
}

/* Navigation - Fun, colorful tabs */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin: 0;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    font-family: var(--heading-font);
    border-radius: var(--border-radius-rounded);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-rounded);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 40px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white-color);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 207, 48, 0.1);
}

/* Language Switcher - More playful */
.lang-switch {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-rounded);
    color: var(--white-color);
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.rtl .lang-switch {
    margin-left: 0;
    margin-right: 20px;
}

.header.scrolled .lang-switch {
    background-color: rgba(130, 177, 232, 0.1);
    color: var(--dark-color);
    border-color: rgba(130, 177, 232, 0.3);
}

.lang-switch:hover {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.lang-icon {
    margin-right: 8px;
    font-size: 1.1rem;
}

.rtl .lang-icon {
    margin-right: 0;
    margin-left: 8px;
}

/* Mobile Menu - More colorful */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
    width: 35px;
    height: 25px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--white-color);
    border-radius: var(--border-radius-rounded);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--dark-color);
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.header.scrolled .menu-toggle.active span,
.menu-toggle.active span {
    background: var(--primary-color);
}

/* Hero Section - Playful with animated elements */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #5c6ac4 0%, #6f7ed9 100%);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(92, 106, 196, 0.9), rgba(92, 106, 196, 0.5));
    z-index: 1;
}

/* Decorative floating elements for hero */
.hero-decoration {
    position: absolute;
    z-index: 2;
    opacity: 0.7;
}

.hero-star-1 {
    top: 15%;
    left: 10%;
    width: 60px;
    height: 60px;
    animation: floating 4s ease-in-out infinite;
}

.hero-star-2 {
    top: 25%;
    right: 15%;
    width: 40px;
    height: 40px;
    animation: floating 5s ease-in-out infinite 1s;
}

.hero-star-3 {
    bottom: 20%;
    left: 20%;
    width: 50px;
    height: 50px;
    animation: floating 6s ease-in-out infinite 0.5s;
}

.hero-cloud-1 {
    top: 30%;
    left: 25%;
    width: 100px;
    height: 60px;
    animation: floating 7s ease-in-out infinite 1.5s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath fill='white' opacity='0.7' d='M30,35 C35,30 45,30 50,35 C55,30 65,30 70,35 C75,40 75,50 70,55 C65,60 55,60 50,55 C45,60 35,60 30,55 C25,50 25,40 30,35 Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-cloud-2 {
    top: 40%;
    right: 30%;
    width: 80px;
    height: 48px;
    animation: floating 8s ease-in-out infinite 0.8s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath fill='white' opacity='0.7' d='M30,35 C35,30 45,30 50,35 C55,30 65,30 70,35 C75,40 75,50 70,55 C65,60 55,60 50,55 C45,60 35,60 30,55 C25,50 25,40 30,35 Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    position: relative;
    color: var(--white-color);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.5s;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--white-color);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.7s;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s forwards 0.9s;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s forwards 1.1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s forwards 1.5s, bounce 2s infinite 1.5s;
}

.hero-scroll a {
    color: var(--white-color);
    font-size: 2.5rem;
    transition: var(--transition);
}

.hero-scroll a:hover {
    color: var(--primary-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Features Section - With fun shapes and colors */
.features {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(227, 139, 179, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.features::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 207, 48, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -100px;
    left: -50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    border-bottom: 5px solid transparent;
}

/* Randomly assign different colors to feature cards */
.feature-card:nth-child(3n+1) {
    border-color: var(--primary-color);
}

.feature-card:nth-child(3n+2) {
    border-color: var(--secondary-color);
}

.feature-card:nth-child(3n+3) {
    border-color: var(--accent-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: var(--box-shadow-lg);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background-color: rgba(255, 207, 48, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:nth-child(3n+2) .feature-icon {
    background-color: rgba(130, 177, 232, 0.15);
    color: var(--secondary-color);
}

.feature-card:nth-child(3n+3) .feature-icon {
    background-color: rgba(227, 139, 179, 0.15);
    color: var(--accent-color);
}

.feature-card:hover .feature-icon {
    transform: rotate(360deg) scale(1.1);
}

.feature-title {
    margin-bottom: 15px;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 15px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-rounded);
}

.feature-card:nth-child(3n+2) .feature-title::after {
    background-color: var(--secondary-color);
}

.feature-card:nth-child(3n+3) .feature-title::after {
    background-color: var(--accent-color);
}

.feature-description {
    color: var(--gray-color);
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* About Section - More child-friendly */
.about {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow-lg);
    position: relative;
    border: 10px solid white;
    transform: rotate(-2deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-shape-1 {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: -25px;
    left: -25px;
    z-index: -1;
    opacity: 0.2;
    animation: morph 6s ease-in-out infinite;
}

.about-shape-2 {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: -20px;
    right: -20px;
    z-index: -1;
    opacity: 0.2;
    animation: floating 5s ease-in-out infinite 1s;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.about-content .subtitle {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    font-size: 1.1rem;
}

.about-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-sm);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 207, 48, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-right: 15px;
    transition: var(--transition);
}

.about-feature-item:nth-child(even) .about-feature-icon {
    background-color: rgba(130, 177, 232, 0.15);
    color: var(--secondary-color);
}

.rtl .about-feature-icon {
    margin-right: 0;
    margin-left: 15px;
}

.about-feature-item:hover .about-feature-icon {
    transform: rotate(360deg);
}

.about-feature-text {
    flex-grow: 1;
}

.about-feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.about-feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--gray-color);
}

.about-btn {
    margin-top: 2.5rem;
}

/* Gallery Section - Fun and playful */
.gallery {
    background-color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.gallery-container {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 8px solid white;
}

.gallery-item:nth-child(3n+1) {
    transform: rotate(-2deg);
}

.gallery-item:nth-child(3n+2) {
    transform: rotate(1deg);
}

.gallery-item:nth-child(3n+3) {
    transform: rotate(-1deg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 207, 48, 0.7), rgba(227, 139, 179, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 1;
    box-shadow: var(--box-shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-title {
    color: var(--white-color);
    margin-bottom: 10px;
    font-size: 1.6rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.gallery-category {
    color: var(--white-color);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: var(--border-radius-rounded);
    display: inline-block;
}

.gallery-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--white-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.4rem;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.gallery-view:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

/* CTA Section - Colorful and engaging */
.cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white-color);
    overflow: hidden;
    text-align: center;
    padding: 100px 0;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 C38 16 44 24 60 30 C44 36 38 44 30 60 C22 44 16 36 0 30 C16 24 22 16 30 0z' fill='%23ffffff' fill-opacity='0.1'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    min-width: 200px;
}

.cta-btn-light {
    background-color: var(--white-color);
    color: var(--dark-color);
}

.cta-btn-light:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.cta-btn-outline {
    background-color: transparent;
    border: 3px solid var(--white-color);
    color: var(--white-color);
}

.cta-btn-outline:hover {
    background-color: var(--white-color);
    color: var(--dark-color);
}

/* Testimonials Section - More child-friendly */
.testimonials {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    position: relative;
    padding: 30px 50px;
}

.testimonial-slide {
    padding: 20px;
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    border-top: 5px solid var(--accent-color);
}

.testimonial-card:nth-child(3n+1) {
    border-top-color: var(--primary-color);
}

.testimonial-card:nth-child(3n+2) {
    border-top-color: var(--secondary-color);
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-lg);
}

.testimonial-card::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 3rem;
    color: rgba(227, 139, 179, 0.1);
    z-index: 0;
}

.rtl .testimonial-card::before {
    content: '\f10e';
    left: auto;
    right: 30px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: var(--gray-color);
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 4px solid var(--accent-light);
}

.testimonial-card:nth-child(3n+1) .testimonial-image {
    border-color: var(--primary-light);
}

.testimonial-card:nth-child(3n+2) .testimonial-image {
    border-color: var(--secondary-light);
}

.rtl .testimonial-image {
    margin-right: 0;
    margin-left: 20px;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.testimonial-card:nth-child(3n+1) .testimonial-info p {
    color: var(--primary-color);
}

.testimonial-card:nth-child(3n+2) .testimonial-info p {
    color: var(--secondary-color);
}

.testimonial-rating {
    display: flex;
    margin-top: 10px;
}

.testimonial-rating i {
    color: var(--primary-color);
    margin-right: 3px;
    font-size: 1.2rem;
}

.rtl .testimonial-rating i {
    margin-right: 0;
    margin-left: 3px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 70px !important;
    height: 70px !important;
    background-color: var(--white-color);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    color: var(--primary-color) !important;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.5rem !important;
}

/* Stats Section - Colorful and playful */
.stats {
    background-color: var(--white-color);
    text-align: center;
    padding: 80px 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffd480' fill-opacity='0.1'/%3E%3C/svg%3E");
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
}

.stat-item:nth-child(2)::before {
    background-color: var(--secondary-color);
}

.stat-item:nth-child(3)::before {
    background-color: var(--accent-color);
}

.stat-item:nth-child(4)::before {
    background-color: var(--success-color);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-lg);
}

.stat-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    background-color: rgba(255, 207, 48, 0.15);
    border-radius: 50%;
    transition: var(--transition);
}

.stat-item:nth-child(2) .stat-icon {
    color: var(--secondary-color);
    background-color: rgba(130, 177, 232, 0.15);
}

.stat-item:nth-child(3) .stat-icon {
    color: var(--accent-color);
    background-color: rgba(227, 139, 179, 0.15);
}

.stat-item:nth-child(4) .stat-icon {
    color: var(--success-color);
    background-color: rgba(124, 213, 119, 0.15);
}

.stat-item:hover .stat-icon {
    transform: rotateY(180deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-text {
    color: var(--gray-color);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Blog Preview - Colorful cards */
.blog-preview {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 C38 16 44 24 60 30 C44 36 38 44 30 60 C22 44 16 36 0 30 C16 24 22 16 30 0z' fill='%23b3d1ff' fill-opacity='0.1'/%3E%3C/svg%3E");
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--box-shadow-lg);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--border-radius-rounded);
    font-weight: 700;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.rtl .blog-date {
    left: auto;
    right: 20px;
}

.blog-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    display: inline-block;
    font-size: 0.9rem;
    padding: 6px 16px;
    background-color: rgba(255, 207, 48, 0.15);
    color: var(--primary-color);
    border-radius: var(--border-radius-rounded);
    margin-bottom: 15px;
    font-weight: 700;
    transition: var(--transition);
}

.blog-card:nth-child(2) .blog-category {
    background-color: rgba(130, 177, 232, 0.15);
    color: var(--secondary-color);
}

.blog-card:nth-child(3) .blog-category {
    background-color: rgba(227, 139, 179, 0.15);
    color: var(--accent-color);
}

.blog-card:hover .blog-category {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.blog-card:nth-child(2):hover .blog-category {
    background-color: var(--secondary-color);
}

.blog-card:nth-child(3):hover .blog-category {
    background-color: var(--accent-color);
}

.blog-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-title a {
    color: var(--dark-color);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-card:nth-child(2) .blog-title a:hover {
    color: var(--secondary-color);
}

.blog-card:nth-child(3) .blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--gray-color);
    margin-bottom: 20px;
    flex-grow: 1;
    font-size: 1.05rem;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed rgba(141, 147, 171, 0.2);
}

.blog-author {
    display: flex;
    align-items: center;
}

.blog-author-image {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
    border: 3px solid var(--primary-light);
}

.blog-card:nth-child(2) .blog-author-image {
    border-color: var(--secondary-light);
}

.blog-card:nth-child(3) .blog-author-image {
    border-color: var(--accent-light);
}

.rtl .blog-author-image {
    margin-right: 0;
    margin-left: 12px;
}

.blog-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-color);
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: var(--transition);
    font-size: 1rem;
}

.blog-card:nth-child(2) .blog-read-more {
    color: var(--secondary-color);
}

.blog-card:nth-child(3) .blog-read-more {
    color: var(--accent-color);
}

.blog-read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.rtl .blog-read-more i {
    margin-left: 0;
    margin-right: 5px;
    transform: rotate(180deg);
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

.blog-card:nth-child(2) .blog-read-more:hover {
    color: var(--secondary-dark);
}

.blog-card:nth-child(3) .blog-read-more:hover {
    color: var(--accent-dark);
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

.rtl .blog-read-more:hover i {
    transform: translateX(-5px) rotate(180deg);
}

/* Footer - Playful and colorful */
.footer {
    background: linear-gradient(135deg, #5c6ac4 0%, #6f7ed9 100%);
    color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.footer-top-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 C38 16 44 24 60 30 C44 36 38 44 30 60 C22 44 16 36 0 30 C16 24 22 16 30 0z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.footer-top {
    padding: 80px 0 50px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.footer-about h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 60px;
    margin-right: 15px;
}

.rtl .footer-logo img {
    margin-right: 0;
    margin-left: 15px;
}


.rtl .hero-slider {
    direction: ltr;
  }
  .rtl .hero-slider .swiper-wrapper {
    /* override any leftover transforms so slides stay visible */
    transform: translate3d(0, 0, 0) !important;
  }
  

.footer-logo-text {
    color: var(--white-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1.2;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.footer-social-link:nth-child(2):hover {
    background-color: var(--secondary-color);
}

.footer-social-link:nth-child(3):hover {
    background-color: var(--accent-color);
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--white-color);
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: var(--border-radius-rounded);
}

.rtl .footer-title::after {
    left: auto;
    right: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 600;
}

.footer-link i {
    margin-right: 12px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.rtl .footer-link i {
    margin-right: 0;
    margin-left: 12px;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

.rtl .footer-link:hover {
    transform: translateX(-8px);
}

.footer-contact-info {
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 207, 48, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-right: 15px;
    transition: var(--transition);
}

.footer-contact-item:nth-child(2) .footer-contact-icon {
    background-color: rgba(130, 177, 232, 0.2);
    color: var(--secondary-light);
}

.footer-contact-item:nth-child(3) .footer-contact-icon {
    background-color: rgba(227, 139, 179, 0.2);
    color: var(--accent-light);
}

.rtl .footer-contact-icon {
    margin-right: 0;
    margin-left: 15px;
}

.footer-contact-item:hover .footer-contact-icon {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: rotate(360deg);
}

.footer-contact-item:nth-child(2):hover .footer-contact-icon {
    background-color: var(--secondary-color);
}

.footer-contact-item:nth-child(3):hover .footer-contact-icon {
    background-color: var(--accent-color);
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-contact-text a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-contact-text a:hover {
    color: var(--primary-color);
}

.footer-contact-text strong {
    display: block;
    color: var(--white-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-newsletter-form {
    position: relative;
}

.footer-newsletter-input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    border-radius: var(--border-radius-rounded);
    color: var(--white-color);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-newsletter-input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
}

.footer-newsletter-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    border-radius: var(--border-radius-rounded);
    padding: 0 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.rtl .footer-newsletter-button {
    right: auto;
    left: 5px;
}

.footer-newsletter-button:hover {
    background-color: var(--primary-dark);
    transform: translateX(-3px);
}

.rtl .footer-newsletter-button:hover {
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-copyright a {
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
}

.footer-copyright a:hover {
    color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white-color);
        padding: 120px 30px 30px;
        box-shadow: var(--box-shadow-lg);
        transition: 0.4s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .rtl .nav-menu {
        right: auto;
        left: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    .rtl .nav-menu.active {
        right: auto;
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        color: var(--dark-color);
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
        border-radius: 0;
    }

    .nav-link::after {
        display: none;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 20px;
        background-color: rgba(92, 106, 196, 0.1);
        color: var(--dark-color);
        justify-content: center;
    }

    .rtl .lang-switch {
        margin-right: 0;
    }

    .header.scrolled .nav-link {
        color: var(--dark-color);
    }

    .hero-title {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image-wrapper {
        order: -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-group .btn {
        width: 100%;
        margin-bottom: 15px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-image {
        width: 60px;
        height: 60px;
    }

    .testimonial-info h4 {
        font-size: 1.2rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .header-container {
        padding: 0 20px;
    }
}

/* Application Form/*

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Quicksand:wght@400;500;700&display=swap');

/* Global Styles */
:root {
    /* Colors from logo */
    --primary-color: #78A7DB; /* Bright blue from logo */
    --primary-light: #A8C7ED;
    --primary-dark: #5889C5;
    
    --secondary-color: #FFCF2E; /* Vibrant yellow from logo */
    --secondary-light: #FFE382;
    --secondary-dark: #FFB800;
    
    --accent-color: #E887B2; /* Pink from logo */
    --accent-light: #FFC3DB;
    --accent-dark: #D65B92;
    
    --success-color: #67E65F; /* Brighter green */
    --warning-color: #FF9F5A; /* Brighter orange */
    --danger-color: #FF5C5C;  /* Brighter red */
    
    --dark-color: #5864A3; /* Softer dark purple instead of dark blue-gray */
    --dark-color-2: #6B7DCF;
    --gray-color: #9EA6DC; /* Softer purplish gray */
    --light-gray: #E9F0FF;
    --light-color: #F8FAFF;
    --white-color: #ffffff;
    
    /* Playful fonts */
    --body-font: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    --heading-font: 'Bubblegum Sans', cursive;
    --arabic-font: 'Droid Arabic Kufi', 'Segoe UI', Tahoma, sans-serif;
    
    /* Rounded corners for playful feel */
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --border-radius-rounded: 50px;
    
    /* Softer shadows */
    --box-shadow-sm: 0 4px 8px rgba(120, 167, 219, 0.15);
    --box-shadow: 0 8px 16px rgba(120, 167, 219, 0.2);
    --box-shadow-lg: 0 12px 30px rgba(120, 167, 219, 0.25);
    --box-shadow-hover: 0 16px 40px rgba(120, 167, 219, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --max-width: 1400px;
    --header-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

body.rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--arabic-font);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 2.8rem;
    letter-spacing: 0;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.7rem;
}

h5 {
    font-size: 1.3rem;
}

h6 {
    font-size: 1.1rem;
}

p {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

strong {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 32px;
    border: none;
    border-radius: var(--border-radius-rounded);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--box-shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.btn:active {
    transform: translateY(-2px);
}

.btn-icon {
    margin-left: 10px;
    font-size: 1.2em;
}

.rtl .btn-icon {
    margin-left: 0;
    margin-right: 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--dark-color);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    color: white;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.btn-sm {
    padding: 12px 24px;
    font-size: 0.95rem;
}

.btn-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-sm {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.section-title .subtitle {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
    display: block;
    letter-spacing: 1px;
}

.section-title h2 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    height: 8px;
    width: 100px;
    background-image: linear-gradient(to right, var(--secondary-color), var(--accent-color), var(--primary-color));
    border-radius: var(--border-radius-rounded);
    margin: 1rem auto 0;
}

.section-title p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dark-color-2);
    font-size: 1.2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background-color: var(--white-color);
    box-shadow: var(--box-shadow);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo img {
    height: 60px;
    margin-right: 15px;
    transition: var(--transition);
}

.rtl .logo img {
    margin-right: 0;
    margin-left: 15px;
}

.logo-text h1 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0;
    transition: var(--transition);
}

.logo-text p {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 0;
    transition: var(--transition);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin: 0;
}

.nav-item {
    margin: 0 5px;
    position: relative;
}

.nav-link {
    display: inline-block;
    padding: 10px 18px;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: var(--border-radius-rounded);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 40px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    background-color: rgba(232, 135, 178, 0.1);
    border-radius: var(--border-radius-rounded);
    color: var(--accent-color);
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
    border: 2px solid rgba(232, 135, 178, 0.3);
    font-weight: 600;
}

.rtl .lang-switch {
    margin-left: 0;
    margin-right: 20px;
}

.lang-switch:hover {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.lang-icon {
    margin-right: 8px;
    font-size: 1.2rem;
}

.rtl .lang-icon {
    margin-right: 0;
    margin-left: 8px;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 101;
    width: 35px;
    height: 25px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

.menu-toggle.active span {
    background: var(--accent-color);
}

/* Page Header */
.page-header {
    background: linear-gradient(to right, rgba(120, 167, 219, 0.9), rgba(232, 135, 178, 0.7)), url('/api/placeholder/1920/400') center/cover no-repeat;
    padding: 140px 0 80px;
    color: var(--white-color);
    text-align: center;
}

.page-header h1 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.page-header p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.3rem;
    opacity: 0.95;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-rounded);
    margin: 0 auto;
    width: fit-content;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--white-color);
    font-weight: 600;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-link {
    color: var(--white-color);
    transition: var(--transition);
}

.breadcrumb-link:hover {
    color: var(--secondary-color);
}

/* Application Form */
.application-form-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white-color);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--box-shadow-lg);
    padding: 0;
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 35px 40px;
    color: var(--white-color);
    text-align: center;
}

.form-header h2 {
    color: var(--white-color);
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.form-header p {
    margin-bottom: 0;
    opacity: 0.95;
    font-size: 1.15rem;
}

.form-progress {
    display: flex;
    padding: 35px 40px;
    background: linear-gradient(to right, rgba(255, 207, 46, 0.1), rgba(120, 167, 219, 0.1));
    border-bottom: 2px dashed rgba(120, 167, 219, 0.2);
}

.progress-item {
    flex: 1;
    position: relative;
    text-align: center;
    padding-bottom: 25px;
}

.progress-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 100%;
    background-color: var(--light-gray);
    border-radius: var(--border-radius-rounded);
    z-index: 1;
}

.progress-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 0;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    border-radius: var(--border-radius-rounded);
    z-index: 2;
    transition: width 0.5s ease;
}

.progress-item.active::after {
    width: 100%;
}

.progress-item.completed::after {
    width: 100%;
    background: linear-gradient(to right, var(--success-color), var(--primary-color));
}

.progress-number {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    color: var(--gray-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.progress-item.active .progress-number {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 5px 15px rgba(120, 167, 219, 0.3);
}

.progress-item.completed .progress-number {
    background: linear-gradient(135deg, var(--success-color), var(--primary-color));
    color: var(--white-color);
    border-color: rgba(255, 255, 255, 0.5);
}

.progress-item.completed .progress-number::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.progress-text {
    font-weight: 700;
    color: var(--gray-color);
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.progress-item.active .progress-text {
    color: var(--primary-color);
    transform: scale(1.05);
}

.progress-item.completed .progress-text {
    color: var(--success-color);
}

.form-body {
    padding: 50px;
    background-color: var(--white-color);
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: bounceIn 0.7s ease;
}

@keyframes bounceIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    50% {
        transform: translateY(-10px) scale(1.01);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.section-title-sm {
    font-size: 1.7rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    padding-bottom: 15px;
    border-bottom: 2px dashed rgba(120, 167, 219, 0.3);
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 25px;
}

.form-group {
    flex: 1 0 100%;
    padding: 0 15px;
    margin-bottom: 25px;
}

.form-group-half {
    flex: 1 0 50%;
}

.form-group-third {
    flex: 1 0 33.333%;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark-color-2);
    font-size: 1.05rem;
}

.form-required {
    color: var(--accent-color);
    margin-left: 4px;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(120, 167, 219, 0.3);
    border-radius: var(--border-radius-lg);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--light-color);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(120, 167, 219, 0.15);
    background-color: white;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7DCF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

.rtl .form-select {
    background-position: left 15px center;
    padding-right: 20px;
    padding-left: 45px;
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-check-group {
    margin-bottom: 20px;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form-check-input {
    margin-right: 12px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.rtl .form-check-input {
    margin-right: 0;
    margin-left: 12px;
}

.form-check-label {
    cursor: pointer;
    font-size: 1.05rem;
}

.form-file {
    display: flex;
    flex-direction: column;
}

.file-input-wrapper {
    position: relative;
    margin-top: 10px;
}

.file-input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-input-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    background-color: rgba(120, 167, 219, 0.1);
    color: var(--primary-color);
    border: 2px dashed var(--primary-color);
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input-btn:hover {
    background-color: rgba(120, 167, 219, 0.2);
    transform: translateY(-3px);
}

.file-input-btn i {
    margin-right: 12px;
    font-size: 1.3rem;
}

.rtl .file-input-btn i {
    margin-right: 0;
    margin-left: 12px;
}

.file-name {
    margin-top: 10px;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    border: 3px solid var(--light-color);
    transition: var(--transition);
}

.preview-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-light);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: var(--danger-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-remove:hover {
    background-color: #ff3838;
    transform: scale(1.15);
}

.form-info {
    padding: 20px;
    background-color: rgba(255, 207, 46, 0.1);
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: 30px;
}

.rtl .form-info {
    border-left: none;
    border-right: 5px solid var(--secondary-color);
}

.form-info-title {
    font-weight: 700;
    color: var(--secondary-dark);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.form-info p {
    margin: 0;
    color: var(--dark-color-2);
}

.form-divider {
    height: 2px;
    background: linear-gradient(to right, var(--primary-light), var(--accent-light));
    margin: 40px 0;
    border-radius: var(--border-radius-rounded);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 35px;
    border-top: 2px dashed rgba(120, 167, 219, 0.2);
}

.form-note {
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-top: 25px;
}

.form-error {
    color: var(--danger-color);
    font-size: 0.9rem;
    margin-top: 8px;
    display: none;
    font-weight: 600;
}

.form-group.error .form-input,
.form-group.error .form-select {
    border-color: var(--danger-color);
    background-color: rgba(255, 92, 92, 0.05);
}

.form-group.error .form-error {
    display: block;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.form-success {
    text-align: center;
    padding: 60px 40px;
    display: none;
}

.success-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--success-color), var(--primary-color));
    color: var(--white-color);
    font-size: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 35px;
    box-shadow: 0 10px 30px rgba(103, 230, 95, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.form-success p {
    max-width: 600px;
    margin: 0 auto 35px;
    color: var(--dark-color-2);
    font-size: 1.15rem;
}

.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 25px;
}

.payment-option {
    flex: 1 0 calc(50% - 25px);
    padding: 25px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background-color: rgba(120, 167, 219, 0.05);
    transform: translateY(-5px);
}

.payment-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(120, 167, 219, 0.1);
    box-shadow: var(--box-shadow);
}

.payment-option-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.payment-option-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.payment-option-desc {
    font-size: 1rem;
    color: var(--gray-color);
    text-align: center;
    margin-bottom: 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--light-gray);
}

.summary-label {
    font-weight: 700;
    color: var(--dark-color-2);
    font-size: 1.05rem;
}

.summary-value {
    color: var(--primary-color);
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    margin-top: 25px;
    border-top: 3px solid var(--primary-color);
    font-size: 1.3rem;
}

.summary-total .summary-label {
    color: var(--dark-color);
}

.summary-total .summary-value {
    color: var(--accent-color);
    font-weight: 700;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), var(--dark-color-2));
    color: var(--light-color);
    padding-top: 80px;
}

.footer-top {
    padding-bottom: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-title {
    color: var(--white-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    font-size: 1.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius-rounded);
}

.rtl .footer-title::after {
    left: auto;
    right: 0;
}

.footer-about-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white-color);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 1.2rem;
}

.footer-social-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-8px) scale(1.1);
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
}

.footer-link i {
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.rtl .footer-link i {
    margin-right: 0;
    margin-left: 12px;
}

.footer-link:hover {
    color: var(--secondary-color);
    transform: translateX(8px);
}

.rtl .footer-link:hover {
    transform: translateX(-8px);
}

.footer-contact-item {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 207, 46, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    margin-right: 15px;
    transition: var(--transition);
}

.rtl .footer-contact-icon {
    margin-right: 0;
    margin-left: 15px;
}

.footer-contact-item:hover .footer-contact-icon {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    transform: scale(1.1);
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.footer-contact-text strong {
    display: block;
    color: var(--white-color);
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.footer-copyright a {
    color: var(--secondary-color);
    font-weight: 700;
}

.footer-copyright a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.2fr;
        gap: 30px;
    }

    .form-group-half {
        flex: 1 0 50%;
    }

    .form-group-third {
        flex: 1 0 50%;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white-color);
        padding: 120px 30px 30px;
        box-shadow: var(--box-shadow-lg);
        transition: 0.4s ease;
        z-index: 100;
        overflow-y: auto;
    }

    .rtl .nav-menu {
        right: auto;
        left: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    .rtl .nav-menu.active {
        right: auto;
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(120, 167, 219, 0.1);
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 20px;
        justify-content: center;
    }

    .rtl .lang-switch {
        margin-right: 0;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .form-group-half,
    .form-group-third {
        flex: 1 0 100%;
    }

    .payment-option {
        flex: 1 0 100%;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .form-body {
        padding: 30px 20px;
    }

    .form-progress {
        padding: 20px;
        overflow-x: auto;
    }

    .progress-text {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-footer {
        flex-direction: column;
        gap: 20px;
    }

    .form-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .progress-item {
        min-width: 120px;
    }

    .breadcrumb {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

/* Header styles - transparent on top, colored on scroll */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.5s ease;
    padding: 20px 0;
    background-color: transparent; /* Initially transparent */
    box-shadow: none; /* No shadow initially */
}

/* Styles applied when scrolled, via JavaScript */
.header.scrolled {
    background-color: var(--white-color);
    box-shadow: 0 5px 20px rgba(255, 207, 46, 0.15); /* Yellow-tinted shadow from logo */
    padding: 12px 0; /* Smaller padding when scrolled */
}

/* Logo text turns darker when scrolled */
.logo-text h1 {
    font-size: 2.2rem;
    color: var(--white-color); /* White initially */
    margin-bottom: 0;
    transition: var(--transition);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Text shadow for better visibility */
}

.logo-text p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    transition: var(--transition);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Change logo text color when scrolled */
.header.scrolled .logo-text h1 {
    color: var(--primary-color); /* Yellow color from logo */
    text-shadow: none;
}

.header.scrolled .logo-text p {
    color: var(--accent-color); /* Pink color from logo */
    text-shadow: none;
}

/* Make navigation links white and add fun hover effect */
.nav-link {
    display: inline-block;
    padding: 10px 18px;
    color: var(--white-color);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    border-radius: var(--border-radius-rounded);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: var(--border-radius-rounded);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 40px;
}

/* Change link colors when scrolled */
.header.scrolled .nav-link {
    color: var(--dark-color);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 207, 46, 0.15);
}

/* Language switcher styling */
.lang-switch {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-rounded);
    color: var(--white-color);
    cursor: pointer;
    margin-left: 20px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.rtl .lang-switch {
    margin-left: 0;
    margin-right: 20px;
}

/* Language switcher color change on scroll */
.header.scrolled .lang-switch {
    background-color: rgba(231, 135, 178, 0.1); /* Pink from logo */
    color: var(--accent-color);
    border-color: rgba(231, 135, 178, 0.3);
}

.lang-switch:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

/* Mobile menu toggle colors */
.menu-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: var(--white-color);
    border-radius: var(--border-radius-rounded);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--primary-color);
}

.menu-toggle.active span {
    background: var(--accent-color);
}

/* Style for required field marker */
.form-required {
    color: #ff0000;  /* Bright red */
    font-weight: bold;
    display: inline;
    margin-left: 4px;
}

/* Alternative approach: Add a red asterisk using CSS ::after pseudo-element */
.required-field::after {
    content: "*";
    color: #ff0000;
    font-weight: bold;
    margin-left: 4px;
    font-size: 1.2em;
}

/* Style for the error messages */
.form-error {
    color: #ff0000;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Add a red border to required fields when they're invalid */
.form-input:required:invalid {
    border: 1px solid #ff0000;
}

/* Programs Section Styles */

/* Main section styling */
.programs {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.programs.bg-pattern {
    background-color: var(--light-bg);
    position: relative;
}

.programs.bg-pattern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pattern.png');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.programs-container {
    position: relative;
    z-index: 1;
    margin-top: 50px;
}

/* Programs Tabs */
.programs-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 15px;
}

.program-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 30px;
    background-color: white;
    border: 2px solid transparent;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
    margin: 0 10px;
}

.program-tab i {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.program-tab span {
    font-weight: 600;
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.program-tab small {
    font-size: 14px;
    color: var(--text-color-light);
}

.program-tab.active {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.program-tab:hover:not(.active) {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Program Content */
.program-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.program-content.active {
    display: block;
}

.program-content-inner {
    display: flex;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.program-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.program-content-inner:hover .program-image img {
    transform: scale(1.05);
}

.program-image-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background-color: white;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.program-details {
    flex: 0 0 60%;
    padding: 40px;
}

.program-details h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.program-details p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Program Features */
.program-features {
    margin-bottom: 30px;
}

.program-feature {
    display: flex;
    margin-bottom: 20px;
}

.feature-icon {
    flex: 0 0 40px;
    height: 40px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.feature-content h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Program CTA */
.program-cta {
    display: flex;
    gap: 15px;
}

.program-cta .btn {
    min-width: 140px;
    text-align: center;
}

/* Special Programs */
.special-programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.special-program-card {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.special-program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.program-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.special-program-card h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.special-program-card p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .program-content-inner {
        flex-direction: column;
    }
    
    .program-image {
        flex: auto;
        height: 300px;
    }
    
    .program-details {
        flex: auto;
    }
    
    .program-image-shape {
        display: none;
    }
}

@media (max-width: 768px) {
    .programs-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 15px;
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .program-tab {
        flex: 0 0 auto;
        min-width: 120px;
        margin: 0 5px;
    }
    
    .program-details {
        padding: 30px 20px;
    }
    
    .special-programs {
        grid-template-columns: 1fr;
    }
    
    .program-cta {
        flex-direction: column;
    }
}

/* RTL Support */
.rtl .program-image-shape {
    right: auto;
    left: 0;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.rtl .feature-icon {
    margin-right: 0;
    margin-left: 15px;
}

.rtl .program-feature {
    flex-direction: row-reverse;
}

/* Facilities Section Styles */
.facilities {
    position: relative;
    overflow: hidden;
}

.facilities .bg-pattern {
    background-image: url('pattern.png');
    background-repeat: repeat;
    opacity: 0.05;
}

.facilities-overview {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.facilities-image-main {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.facilities-image-main img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.facilities-main-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 15px;
    top: 20px;
    left: 20px;
    z-index: 0;
    opacity: 0.2;
}

.facilities-overview-content {
    flex: 1;
    min-width: 300px;
}

.facilities-overview-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.facilities-overview-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-color);
}

.facilities-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.facility-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.highlight-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.facility-highlight p {
    margin: 0;
    font-weight: 500;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.facility-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.facility-icon {
    background-color: var(--primary-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: -30px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.facility-content {
    padding: 2rem 1.5rem;
    text-align: center;
}

.facility-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.facility-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.facility-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-top: auto;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facilities-cta {
    text-align: center;
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 15px;
    margin-top: 4rem;
}

.facilities-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.facilities-cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--text-color);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .facilities-overview {
        flex-direction: column;
    }
    
    .facilities-image-main, 
    .facilities-overview-content {
        flex: 100%;
    }
}

@media (max-width: 768px) {
    .facilities-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .facilities-cta {
        padding: 2rem 1.5rem;
    }
    
    .facility-card {
        max-width: 100%;
    }
}

/* Page Header with Image Background */
.page-header {
    background-image: url('learning.jpg'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 150px 0;
    color: #fff; /* Change text color to white for better visibility */
}

/* Add overlay to ensure text readability */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(111, 65, 122, 0.6); /* Dark overlay with 60% opacity */
    z-index: 1;
}

/* Make sure content is above the overlay */
.page-header .container {
    position: relative;
    z-index: 2;
}

/* Style for breadcrumb links */
.page-header .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.page-header .breadcrumb-link:hover {
    color: #fff;
}

.page-header .breadcrumb-separator,
.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

/* Add a subtle animation */
.page-header h1 {
    animation: fadeInDown 1s ease;
}

.page-header p {
    animation: fadeInUp 1s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Admin Login Styles */

/* Page Header - Admin Section */
.admin-header {
    background-image: url('admin-header-bg.jpg'); /* Replace with appropriate image */
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    color: #fff;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 27, 84, 0.8); /* Dark blue overlay */
    z-index: 1;
}

.admin-header .container {
    position: relative;
    z-index: 2;
}

.admin-header .breadcrumb-link {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.admin-header .breadcrumb-link:hover {
    color: #fff;
}

.admin-header .breadcrumb-separator,
.admin-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.7);
}

/* Login Section */
.admin-login-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
}

.login-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-form-wrapper {
    flex: 1;
    padding: 40px;
    border-right: 1px solid #eee;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.login-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.login-subtitle {
    color: var(--text-color);
    margin-bottom: 30px;
}

.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
}

.input-with-icon input {
    padding-left: 40px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.form-check-input {
    margin-right: 8px;
    accent-color: var(--primary-color);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button-wrapper {
    margin-bottom: 20px;
}

.btn-block {
    display: block;
    width: 100%;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}

.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 40%;
    height: 1px;
    background-color: #ddd;
}

.login-divider span {
    background-color: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    color: #777;
}

.single-sign-on {
    margin-bottom: 20px;
}

.sso-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
}

.sso-icon {
    width: 20px;
    height: 20px;
}

.login-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.security-notice {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Login Info Panel */
.login-info {
    flex: 1;
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-info-content {
    max-width: 400px;
}

.login-info h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.login-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #fff;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.features-list li i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.info-note {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 30px;
}

.info-note i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 2px;
}

.info-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Form Validation */
.form-group.error .form-input {
    border-color: #f94144;
}

.form-group.error .form-label {
    color: #f94144;
}

.form-error {
    color: #f94144;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

/* RTL Support */
body.rtl .input-with-icon i {
    left: auto;
    right: 15px;
}

body.rtl .input-with-icon input {
    padding-left: 15px;
    padding-right: 40px;
}

body.rtl .password-toggle {
    right: auto;
    left: 10px;
}

body.rtl .remember-me {
    flex-direction: row-reverse;
}

body.rtl .form-check-input {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .login-info h3::after {
    left: auto;
    right: 0;
}

body.rtl .features-list li {
    flex-direction: row-reverse;
}

body.rtl .info-note {
    flex-direction: row-reverse;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        max-width: 600px;
    }
    
    .login-form-wrapper {
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

@media (max-width: 576px) {
    .login-form-wrapper,
    .login-info {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .password-toggle {
        padding: 0;
    }
}

/* Additional styles for staff login page */

/* Role Selection Styles */
.role-selection {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.role-option {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.role-option:hover {
    border-color: rgba(var(--primary-rgb), 0.5);
    background-color: rgba(var(--primary-rgb), 0.03);
}

.role-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(var(--primary-rgb), 0.08);
}

.role-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.role-info {
    display: flex;
    flex-direction: column;
}

.role-name {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.role-desc {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Role Tabs for Feature Display */
.role-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.role-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.role-tab:hover {
    color: #fff;
}

.role-tab.active {
    color: #fff;
    font-weight: 500;
}

.role-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.features-tab-content {
    display: none;
}

.features-tab-content.active {
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .role-selection {
        flex-direction: column;
    }
    
    .role-option {
        width: 100%;
    }
    
    .role-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 5px;
    }
    
    .role-tab {
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .role-tab.active::after {
        display: none;
    }
}

/* RTL Support */
body.rtl .role-option {
    flex-direction: row-reverse;
}

body.rtl .role-tabs {
    flex-direction: row-reverse;
}

body.rtl .role-tab.active::after {
    right: 0;
    left: auto;
}

@media (max-width: 768px) {
    body.rtl .role-tab {
        text-align: right;
    }
}

/* Error display for role selection */
.form-group.error .role-selection {
    border-color: #f94144;
}

/* Add animation effects */
.role-option, .role-tab {
    transition: all 0.3s ease;
}

/* Update the placeholder for the header background in admin-style.css */
.admin-header {
    background-image: url('staff-header-bg.jpg'); /* Update with appropriate image */
    background-size: cover;
    background-position: center;
    position: relative;
}

.admin-header::before {
    background-color: rgba(58, 12, 163, 0.8); /* Changed to a more vibrant purple that works for both teachers and admins */
}

/* Testimonials Section - New Style */
.testimonials-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
    transform: translateY(20px);
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.rtl .quote-icon {
    /* Quote icon remains centered in RTL */
}

.testimonial-content {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #777;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
}

/* Navigation Dots */
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dots .dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-dots .dot:hover {
    background: var(--primary-color);
    opacity: 0.7;
}

/* Navigation Arrows */
.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    color: var(--primary-color);
    font-size: 18px;
}

.testimonial-nav:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: -60px;
}

.testimonial-next {
    right: -60px;
}

.rtl .testimonial-prev {
    left: auto;
    right: -60px;
}

.rtl .testimonial-next {
    right: auto;
    left: -60px;
}

.rtl .testimonial-prev i,
.rtl .testimonial-next i {
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .testimonial-prev {
        left: 10px;
    }
    
    .testimonial-next {
        right: 10px;
    }
    
    .rtl .testimonial-prev {
        right: 10px;
        left: auto;
    }
    
    .rtl .testimonial-next {
        left: 10px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .testimonials-container {
        min-height: 450px;
    }
    
    .testimonial-card {
        padding: 40px 25px 30px;
    }
    
    .testimonial-content p {
        font-size: 16px;
    }
    
    .author-image {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 13px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonial-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
}