body {
    background-color: #f0f2f5; /* Light grey background */
    direction: rtl; /* Ensure right-to-left direction for the entire body */
    text-align: right; /* Default text alignment for Arabic */
}

.hero-section {
    background-image: url(../images/hom.png);
    background-size: contain;
    background-position: center;
    color: #191919;
    padding: 66px 0;
    background-repeat: no-repeat;
    height: 611px;
    position: relative;
    text-align: center;
}
.text-main {
    color: #8142ff !important;
}
.bg-primary {
    background-color: #8142ff !important;
}
.btn-primary {
    background-color: #8142ff !important;
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex; /* Use flexbox for alignment */
    flex-direction: column;
    align-items: flex-end; /* Align to the right for RTL */
    text-align: right; /* Align text to the right within the flex item */
    padding-right: 15px; /* Add some padding to the right */
    padding-left: 15px; /* Add some padding to the left */
}


.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #ffffff;
    text-align: center;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%; /* Center the underline for RTL */
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background-color: #ffffff; /* Bootstrap primary color */
    border-radius: 2px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.achievement-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
}

.achievement-scroll::-webkit-scrollbar {
    height: 8px;
}

.achievement-scroll::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.achievement-card {
    min-width: 300px;
    flex-shrink: 0;
}
.vision-mission-card {
    text-align: center;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    height: 100%; /* Ensure cards are same height */
}
.vision-mission-card i {
    font-size: 3rem;
    color: #83a9d2;
    margin-bottom: 20px;
}
.footer1{
    box-shadow: 1px -1px 7px #dedede !important;
    margin-top: 138px !important;
}

.stats-card {
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.stats-card h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;

}
.stats-card p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.footer {
    background-color: #343a40; /* Dark footer */
    color: white;
    padding: 40px 0;
    text-align: right;
}
.footer a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s;
}
body, h1, h2, h3, h4, h5, h6, p, a, span, div {
    font-family: 'Ping', Calibri, sans-serif;
}
.footer a:hover {
    color: #ffffff;
}
.social-icons a {
    font-size: 1.5rem;
    margin-left: 15px; /* Adjust margin for RTL */
    color: white;
}
.style23 {
    text-align: center;
    font-size: 69px;
    font-weight: 400;
}
.bg-herp {
    background: #fbfdfc !important;
}
