/* إعدادات التحريك (Animation) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* يبدأ من الأسفل */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* يصعد إلى موضعه */
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px); /* يبدأ من اليمين */
    }
    to {
        opacity: 1;
        transform: translateX(0); /* يتحرك إلى موضعه */
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ffffff ;
    color: #020202;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f0ff;
    padding: 5px 15px;
    height: 90px;
    margin-bottom: 0;
    direction: ltr;
}

.logo img {
    width: 200px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-weight: bold;
}

.login-btn {
    background-color: #c4abe0;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #f3f3f3;
    color: #574F9D;
}

main {
    flex-grow: 1;
    padding: 20px 10px;
}

.hero {
    background-color: #574F9D;
    border-radius: 10px;
    padding: 50px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px; 
}

.hero-text {
    max-width: 50%;
    
}

.hero-text h2 {
    font-size: 30px;
    font-style: oblique;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
}

.hero-text p {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: right;
}

.start-btn {
    background-color: #ffffff;
    color: #574F9D;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.start-btn:hover {
    background-color: #b798db;
    color: white;
}


.hero-image img {
    max-width: 80%;
    height: auto;
    border-radius: 50px 15px 30px 5px;
    margin-top: 5px;
    animation: fadeInRight 1.5s ease-in-out;
}

footer {
    background-color: #fbfbfc ;
    color: #0a0a0a;
    padding: 0px;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    direction: ltr;
}

.brows-btn {
    background-color: #574F9D;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: block;
    width: fit-content;
    margin-left: 10px;
}

.brows-btn:hover {
    background-color: #d8c1f1;
    color: #574F9D;
}
.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #f2f0ff;
}

.card-title {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.btn {
    background-color: #574F9D;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: block;
    width: fit-content;
    margin-left: 10px;
    

}

.btn:hover {
    background-color: #d8c1f1;
    color: #574F9D;
}
.service-card {
    background-color: #f9f0f7;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
    width: 300px;
    text-align: center;
}
.service-card img {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
}
.service-card h5 {
    color: #6f42c1;
}
.service-card p {
    color: #333;
}
.service-card .btn {
    background-color: #6f42c1;
    color: white;
    border-radius: 40px;
    width: 170px;
    margin-left:50px;
}
.service-card .btn:hover{
    background-color: #d8c1f1;
    color: #574F9D;
}
.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.card-body {
    text-align: center;
}

.card {
    border: none;
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    position: relative;
    bottom: 0;
    width: 100%;
}

.container {
    margin-top: 0px;
}

