*,
*::before,
*::after {
    box-sizing: border-box;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FFD500;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFC400;
}

/* Responsive fixes moved to responsive-fix.css */

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* Arabic Font Optimization */
html[lang="ar"],
html[lang="ar-SA"] {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

html[lang="ar"] body,
html[lang="ar-SA"] body {
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* English Font Optimization */
html[lang="en"],
html[lang="en-US"] {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html[lang="en"] body,
html[lang="en-US"] body {
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFD500;
}

/* Removed duplicate html/body rules - already defined at top */

main {
    flex: 1;
}

.footer-modern {
    margin-top: auto;
}

/* Fix for elements that might cause horizontal scroll */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* Headings Font Optimization */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

html[lang="ar"] h1,
html[lang="ar-SA"] h1 {
    font-size: 2.2rem;
    line-height: 1.4;
}

html[lang="en"] h1,
html[lang="en-US"] h1 {
    font-size: 2rem;
    line-height: 1.3;
}

html[lang="ar"] h2,
html[lang="ar-SA"] h2 {
    font-size: 1.9rem;
    line-height: 1.4;
}

html[lang="en"] h2,
html[lang="en-US"] h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

html[lang="ar"] h3,
html[lang="ar-SA"] h3 {
    font-size: 1.6rem;
    line-height: 1.4;
}

html[lang="en"] h3,
html[lang="en-US"] h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

html[lang="ar"] p,
html[lang="ar-SA"] p {
    line-height: 1.8;
}

html[lang="en"] p,
html[lang="en-US"] p {
    line-height: 1.6;
}

.circle {
    width: 80px;
    height: 80px;
    background: #FFD500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.4);
}

.circle i {
    color: #000;
    font-size: 32px;
}

.rounded-box {
    width: 80px;
    height: 80px;
    background: #FFD500;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.4);
}

.rounded-box i {
    color: #000;
    font-size: 30px;
}

.callus-box {
    width: 64px;
    height: 64px;
    background: #FFD500;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.4);
}

.callus-box i {
    color: #000;
    font-size: 30px;
}

ul.custom-list li::marker {
    color: #FFD500;
    font-size: 1.2em;
}

ul.custom-list li {
    color: black;
}

.btn-yellow {
    width: fit-content;
    color: #000;
    border: none;
    outline: none;
    padding: 10px 24px;
    background: #FFD500;
    font-size: 20px;
    border-radius: 40px;
    line-height: 54px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.3);
}

.btn-yellow:hover {
    color: #000;
    background: #FFC400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 213, 0, 0.5);
}

.hero {
    position: relative;
    z-index: 2;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.video-container {
    background-color: transparent;
    width: 100%;
    max-width: 100%;
    height: 80vh;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}


.btn-custom {
    border: none;
    outline: none;
    padding: 0 24px;
    width: 100%;
    background: #FFD500;
    color: #000;
    font-size: 20px;
    border-radius: 40px;
    line-height: 54px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.3);
}

.btn-custom:hover {
    background: #FFC400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 213, 0, 0.5);
}

/* start Style for FEATURES */

.features .sub-title {
    position: relative;
    color: var(--gold-crayola);
    font-weight: var(--weight-bold);
    text-transform: uppercase;
    margin-block-end: 12px;
}

.features .sub-title::after {
    content: url('../user/images/separator.svg');
    display: block;
    width: 100px;
    margin-inline: auto;
    margin-block-start: 5px;
}

.features {
    background: #1A1A1A;
    padding-block: 100px;
}

.features .sub-title {
    color: #FFD500;
}

.features .title {
    color: white;
    margin-bottom: 40px;
}

.feature-card {
    background: #2A2A2A;
    padding-block: 20px;
}

.feature-card .card-icon {
    margin-bottom: 15px;
}

.card {
    color: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.card-title {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 10px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

html[lang="ar"] .card-title,
html[lang="ar-SA"] .card-title {
    font-size: 1.15rem;
    line-height: 1.5;
}

html[lang="en"] .card-title,
html[lang="en-US"] .card-title {
    font-size: 1.05rem;
    line-height: 1.3;
}

.card-text {
    color: hsla(0, 0%, 65%, 1);
    font-size: 0.9rem;
    line-height: 1.5;
}

html[lang="ar"] .card-text,
html[lang="ar-SA"] .card-text {
    font-size: 0.95rem;
    line-height: 1.7;
}

html[lang="en"] .card-text,
html[lang="en-US"] .card-text {
    font-size: 0.88rem;
    line-height: 1.5;
}

.card-img-top {
    max-width: 100%;
    max-height: 380px;
}

.section-hero {
    background: red;
}

.section-logos {
    background: #FFFFFF;
}

.section-join-us {
    padding: 100px 0;
    background: #FFD500;
    color: #000;
}

.section-features {
    background: #F5F5F5;
    color: #000;
    position: relative;
    z-index: 5;
}

.section-services {
    background: #FFFFFF;
    color: #000;
}

.section-why-register {
    background: #FFD500;
    color: #000;
}

.section-target-registration {
    background: #F5F5F5;
    color: #000;
}

.section-who-we {
    background: #FFFFFF;
    color: #000;
    box-shadow: inset 0 -30px 30px -10px rgba(0, 0, 0, 0.05);
}

.section-faq {
    background: #F5F5F5;
    color: #000;
}

.section-contact-us {
    background: #FFD500;
    color: #000;
}

.section-location {
    background: #F5F5F5;
    color: #000;
}

.footer {
    background: #1A1A1A;
    color: #ffffff;
}


/*Start card border animation*/

@property --angle {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.card::after,
.card::before {
    box-sizing: content-box;
    --angle: 0deg;
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), #ff4545, #00ff99, #006aff, #ff0095, #ff4545);
    /*    background-image: conic-gradient(from var(--angle), transparent 80%, red, yellow, blue);
*/

    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    border-radius: 15px;
    animation: 3s spin linear infinite;
}

.img-container {
    border-radius: 15px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card::before {
    filter: blur(1.5rem);
    opacity: 0.5;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }

    to {
        --angle: 360deg;
    }
}

/*End card border animation*/

/*Start section cards*/

.container-cards .cards {
    position: relative;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
}

.container-cards .cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    pointer-events: none;
}

.container-cards .cards .icon {
    position: relative;
    width: 100%;
    height: 50%;
    /*        background: #333;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.cards .icon img {
    max-width: 100%;
    max-height: 100%;
    width: 75%;
    height: 70%;
    border-radius: 12px;
    z-index: 10;
}

.container-cards .cards .icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
}

.container-cards .cards .icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    border-bottom-left-radius: 80px;
}

.container-cards .cards .content {
    position: relative;
    width: 100%;
    height: 50%;
    /*    background: #ccc;*/
    display: flex;
    justify-content: center;
    align-items: center;
}


.container-cards .cards .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /*        background: #333;*/
}

.container-cards .cards .content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /*        background: #ccc;*/
    border-top-right-radius: 80px;
}

.text {
    z-index: 1;
    text-align: center;
    padding: 20px 30px;
}

.text h2 {
    font-weight: 500;
    font-size: 1.7em;
    color: #333;
}

.text p {
    font-weight: 400;
    color: #333;
    margin: 10px 0;
}



.card1 .icon,
.card1 .icon::after,
.card1 .content::before {
    background: #FFD500;
}

.card1 .content,
.card1 .icon::before,
.card1 .content::after {
    background: #FFFAEB;
}

.card2 .icon,
.card2 .icon::after,
.card2 .content::before {
    background: #FFD500;
}

.card2 .content,
.card2 .icon::before,
.card2 .content::after {
    background: #FFFAEB;
}

.card3 .icon,
.card3 .icon::after,
.card3 .content::before {
    background: #FFD500;
}

.card3 .content,
.card3 .icon::before,
.card3 .content::after {
    background: #FFFAEB;
}


.card4 .icon,
.card4 .icon::after,
.card4 .content::before {
    background: #FFD500;
}

.card4 .content,
.card4 .icon::before,
.card4 .content::after {
    background: #FFFAEB;
}

.card5 .icon,
.card5 .icon::after,
.card5 .content::before,
.card5 .text a {
    background: #FFD500;
}

.card5 .content,
.card5 .icon::before,
.card5 .content::after {
    background: #FFFAEB;
}

.card6 .icon,
.card6 .icon::after,
.card6 .content::before,
.card6 .text a {
    background: #FFD500;
}

.card6 .content,
.card6 .icon::before,
.card6 .content::after {
    background: #FFFAEB;
}

/*End section cards*/


/* Start Contact Section  */
.container-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px 0;
}



.btn-contact {
    width: 100px;
    height: 30px;
    margin: 20px auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFD500;
    box-shadow: 0 4px 15px rgba(255, 213, 0, 0.3);
    border-radius: 8px;
}

.box {
    background: #1A1A1A;
    text-align: center;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 20px;
    min-width: 300px;
    max-width: 300px;
    border-radius: 10px;
    height: 300px;
    max-height: 300px;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 213, 0, 0.3);
}

.box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.box .icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.box .icon .fa {
    font-size: 3em;
    cursor: pointer;
}

.box .icon:hover .fa {
    transform: scale(0.95);
}

.box h4,
.box h3 {
    position: relative;
    font-weight: 400;
    font-size: 1.2em;
}

.box h4 {
    font-weight: 600;
}

.box h6,
.box h4,
.box h3,
.box address,
.box p {
    color: white !important;
}

.box a {
    background-color: white;
    color: black;
}

.box:nth-child(1) {
    color: #FFD500;
}

.box:nth-child(2) {
    color: #FFD500;
}

.box:nth-child(3) {
    color: #FFD500;
}

.box:nth-child(4) {
    color: #FFD500;
}

.box:nth-child(5) {
    color: #FFD500;
}

.box:nth-child(6) {
    color: #FFD500;
}

.box:nth-child(7) {
    color: #FFD500;
}

/* End Contact Section  */


/* Start card circle */
.my-container-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.my-card-circle {
    position: relative;
    width: 300px;
    height: 350px;
    background: #fff;
    margin: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

.my-card-circle .my-circle {
    position: relative;
    width: 100%;
    height: 100%;
    /*background: #000;*/
    clip-path: circle(180px at center 0);
    text-align: center;
}

.my-card-circle .my-circle i {
    color: #fff;
    font-size: 4.5em;
    padding: 30px 0;
}

.my-content-circle {
    position: absolute;
    bottom: 10px;
    padding: 20px;
    text-align: center;
}

.my-content-circle p {
    color: #666;
}

.my-content-circle a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
    margin-top: 20px;
}

.circle1 {
    background: #FFD500;
}

.circle2 {
    background: #FFD500;
}

.circle3 {
    background: #FFD500;
}

.circle4 {
    background: #FFD500;
}

/* End card circle */

/* Start section Application */
.section-app-logos {
    background: #1A1A1A;
}

.wrapper {
    margin-top: 2rem;
    width: 90%;
    max-width: 1536px;
    margin-inline: auto;
    height: 100px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 0));
}

@keyframes scrollLeft {
    to {
        left: -200px;
    }
}

@keyframes scrollRight {
    to {
        right: -200px;
    }
}

.itemLeft,
.itemRight {
    width: 200px;
    height: 100px;
    background: #FFD500;
    border-radius: 6px;
    position: absolute;
    animation-timing-function: linear;
    animation-duration: 30s;
    animation-iteration-count: infinite;
}

.itemLeft {
    left: max(calc(200px * 9), 100%);
    animation-name: scrollLeft;
}

.itemRight {
    right: max(calc(200px * 9), calc(100% + 200px));
    animation-name: scrollRight;
}

.item1 {
    animation-delay: calc(30s / 9 * (9 - 1) * -1);
}

.item2 {
    animation-delay: calc(30s / 9 * (9 - 2) * -1);
}

.item3 {
    animation-delay: calc(30s / 9 * (9 - 3) * -1);
}

.item4 {
    animation-delay: calc(30s / 9 * (9 - 4) * -1);
}

.item5 {
    animation-delay: calc(30s / 9 * (9 - 5) * -1);
}

.item6 {
    animation-delay: calc(30s / 9 * (9 - 6) * -1);
}

.item7 {
    animation-delay: calc(30s / 9 * (9 - 7) * -1);
}

.item8 {
    animation-delay: calc(30s / 9 * (9 - 8) * -1);
}

.item9 {
    animation-delay: calc(30s / 9 * (9 - 9) * -1);
}

/* End section Application */

/*Start section card logo*/

.card-logo {
    position: relative;
    height: 180px;
    background: #1A1A1A;
    transition: 0.5s;
}

@media (max-width: 767px) {
    .card-logo {
        height: 160px;
    }
}

.card-logo .lines {
    position: absolute;
    inset: 0;
    background: #000;
    overflow: hidden;
}

.card-logo .lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 120px;
    background: linear-gradient(transparent, #FFD500, #FFD500, #FFD500, transparent);
    animation: animate 4s linear infinite;
    animation-play-state: running;
}

.card-logo:hover .lines::before {
    animation-play-state: running;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.card-logo .lines::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #1A1A1A;
}

.card-logo .img-box {
    position: absolute;
    top: -35px;
    left: 50%;
    width: 140px;
    height: 80px;
    transform: translateX(-50%);
    background: 0.5s;
    z-index: 10;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFD500;
}

/*.card-logo .img-box {
    top: 25px;
    width: 200px;
    height: 200px;
}*/

.card-logo .img-box::before {
    content: '';
    position: absolute;
    padding: 10px;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 150px;
    transform: translate(-50%, -50%);
    background: linear-gradient(transparent, #000, #000, #000, transparent);
    animation: animate2 6s linear infinite;
    animation-play-state: running;
}

@keyframes animate2 {
    0% {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

.card-logo .img-box::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #FFD500;
}

.card-logo .img-box img {
    position: absolute;
    width: 100px;
    z-index: 1;
    opacity: 1;
    transition: 0.5s;
}

.card-logo .content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 55px;
    overflow: hidden;
}

.card-logo .content .details {
    padding: 5px 10px;
    text-align: center;
    width: 100%;
    transition: 0.5s;
}

.card-logo:hover .content .details {
    transform: translateY(0px);
}

.card-logo .content .details h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFD500;
    line-height: 1.2em;
    margin-bottom: 8px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[lang="ar"] .card-logo .content .details h2,
html[lang="ar-SA"] .card-logo .content .details h2 {
    font-size: 1.15rem;
    line-height: 1.4em;
}

html[lang="en"] .card-logo .content .details h2,
html[lang="en-US"] .card-logo .content .details h2 {
    font-size: 1.05rem;
    line-height: 1.2em;
}

.card-logo .content .details p {
    color: #fff;
    opacity: 1;
    transition: 0.5s;
    font-size: 0.75rem;
    line-height: 1.4em;
}

html[lang="ar"] .card-logo .content .details p,
html[lang="ar-SA"] .card-logo .content .details p {
    font-size: 0.8rem;
    line-height: 1.6em;
}

html[lang="en"] .card-logo .content .details p,
html[lang="en-US"] .card-logo .content .details p {
    font-size: 0.72rem;
    line-height: 1.4em;
}

/*End section card logo*/

/*Start section features*/

.container-circles {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 50px 0;
    gap: 40px 60px;
}

.container-circles .drop {
    position: relative;
    width: 350px;
    height: 350px;
    box-shadow: inset 20px 20px 20px rgba(0, 0, 0, 0.05), 25px 35px 20px rgba(0, 0, 0, 0.05), 25px 30px 30px rgba(0, 0, 0, 0.05), inset -20px -20px 25px rgba(255, 255, 255, 0.9);
    transition: 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-circles .drop:nth-child(1) {
    border-radius: 57% 43% 40% 57% / 40% 43% 57% 57%;
}

.container-circles .drop:nth-child(2) {
    border-radius: 61% 39% 52% 48% / 44% 59% 41% 56%;
}

.container-circles .drop:nth-child(3) {
    border-radius: 65% 35% 31% 69% / 57% 59% 41% 43%;
}

.container-circles .drop:nth-child(4) {
    border-radius: 57% 43% 40% 57% / 40% 43% 57% 57%;
}

.container-circles .drop:nth-child(5) {
    border-radius: 61% 39% 52% 48% / 44% 59% 41% 56%;
}

.container-circles .drop:nth-child(6) {
    border-radius: 65% 35% 31% 69% / 57% 59% 41% 43%;
}

.container-circles .drop:hover {
    border-radius: 50%;
}

.container-circles .drop::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 85px;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.9;
}

.container-circles .drop::after {
    content: '';
    position: absolute;
    top: 90px;
    left: 110px;
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.9;
}

.container-circles .drop .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 40px;
    gap: 15px;
}

.container-circles .drop .content h2 {
    position: relative;
    width: 80px;
    height: 80px;
    background: #eff0f4;
    border-radius: 50%;
    box-shadow: inset 2px 5px 10px rgba(0, 0, 0, 0.1), inset -2px -5px 10px rgba(255, 255, 255, 1), 15px 15px 10px rgba(0, 0, 0, 0.05), 15px 10px 15px rgba(0, 0, 0, 0.025);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: var(--clr);
}

.container-circles .drop .content a {
    position: relative;
    padding: 10px 25px;
    background: var(--clr);
    text-decoration: none;
    color: #ffff;
    border-radius: 25px;
    font-weight: 500;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    opacity: 0.75;
    transition: 0.5s;
}

.container-circles .drop .content a:hover {
    opacity: 1;
}

/*End section features*/

/* Start services section */

.service {
    background: #FFD500;
    text-align: center;
    padding: 18px 15px;
    border-radius: 0 30px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    min-height: 160px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service::before {
    content: "";
    background: #fff;
    width: calc(100% - 10px);
    height: 100%;
    border-radius: 0 30px 0 30px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: -10px;
    left: 0;
    z-index: -1;
}

.service .service-icon {
    color: #000;
    background: #FFC400;
    font-size: 40px;
    width: 70%;
    padding: 8px 0 6px;
    margin: 0 0 35px -15px;
    border-radius: 0 50px 50px 0;
    box-shadow: -5px 5px 5px 0px rgba(0, 0, 0, 0.1) inset;
}

.service .title {
    color: #000;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

html[lang="ar"] .service .title,
html[lang="ar-SA"] .service .title {
    font-size: 16px;
    line-height: 1.5;
    text-transform: none;
    font-weight: 700;
}

html[lang="en"] .service .title,
html[lang="en-US"] .service .title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.service .title::after {
    content: "";
    background-color: #000;
    height: 2px;
    width: 60%;
    margin: 4px auto 0;
    display: block;
    clear: both;
}

.service .description {
    color: #2c2c2c;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

html[lang="ar"] .service .description,
html[lang="ar-SA"] .service .description {
    font-size: 14px;
    line-height: 1.7;
    font-weight: 500;
}

html[lang="en"] .service .description,
html[lang="en-US"] .service .description {
    font-size: 12.5px;
    line-height: 1.5;
    font-weight: 400;
}

.service .read-more {
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease 0%;
    font-weight: 500;
}

.service .read-more i {
    font-size: 11px;
}

.service .read-more:hover {
    color: #000;
}

.service.green {
    background: #FFD500;
}

.service.green .service-icon {
    background: #FFC400;
}

.service.green .title {
    color: #000;
}

.service.green .title::after {
    background-color: #000;
}

.service.green .read-more:hover {
    color: #000;
}


.service.blue {
    background: #FFD500;
}

.service.blue .service-icon {
    background: #FFC400;
}

.service.blue .title {
    color: #000;
}

.service.blue .title::after {
    background-color: #000;
}

.service.blue .read-more:hover {
    color: #000;
}


.service.purple {
    background: #FFD500;
}

.service.purple .service-icon {
    background: #FFC400;
}

.service.purple .title {
    color: #000;
}

.service.purple .title::after {
    background-color: #000;
}

.service.purple .read-more:hover {
    color: #000;
}

.service.green {
    background: linear-gradient(to right, #abed1a, #38ae3e);
}

.service.green .service-icon {
    background: linear-gradient(to right, #abed1a 50%, #38ae3e 130%);
}

.service.green .title {
    color: #38ae3e;
}

.service.green .title::after {
    background-color: #38ae3e;
}

.service.green .read-more:hover {
    color: #38ae3e;
}


.service.blue {
    background: linear-gradient(to right, #02baec, #0771de);
}

.service.blue .service-icon {
    background: linear-gradient(to right, #02baec 50%, #0771de 130%);
}

.service.blue .title {
    color: #0771de;
}

.service.blue .title::after {
    background-color: #0771de;
}

.service.blue .read-more:hover {
    color: #0771de;
}


.service.purple {
    background: linear-gradient(to right, #9756ce, #6f2aab);
}

.service.purple .service-icon {
    background: linear-gradient(to right, #9756ce 50%, #6f2aab 130%);
}

.service.purple .title {
    color: #6f2aab;
}

.service.purple .title::after {
    background-color: #6f2aab;
}

.service.purple .read-more:hover {
    color: #6f2aab;
}

/* End services section */

/* Services section columns */
.section-services .col-md-3 {
    display: flex;
}

.section-services .service {
    width: 100%;
}

@media (max-width: 767px) {
    .service {
        min-height: 140px;
    }
}


@media (min-width: 768px) {
    .row-joins {
        height: 416px;
    }
}

@media (max-width: 768px) {
    .btn-yellow {
        margin-bottom: 20px;
    }

    .section-join-us .container {
        padding: 20px;
    }

    .joins-title {
        margin-top: 40px;
    }
}


/* Language Switcher Styles */
.language-switcher {
    display: inline-block;
}

.language-switcher form {
    margin: 0;
}

.btn-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
}

.btn-group.rtl-order {
    flex-direction: row-reverse;
}

.btn-language {
    background-color: #fff;
    border: 2px solid #FFD500;
    color: #000;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-left: none;
}

.btn-language.btn-ar {
    border-radius: 25px 0 0 25px;
    border-left: 2px solid #FFD500;
}

.btn-language.btn-en {
    border-radius: 0 25px 25px 0;
}

/* RTL: عكس الترتيب */
.btn-group.rtl-order .btn-language.btn-ar {
    border-radius: 0 25px 25px 0;
    border-left: none;
    border-right: 2px solid #FFD500;
}

.btn-group.rtl-order .btn-language.btn-en {
    border-radius: 25px 0 0 25px;
    border-left: 2px solid #FFD500;
    border-right: none;
}

.btn-language:hover {
    background: #FFD500;
    color: #000;
    transform: translateY(-2px);
}

.btn-language.active {
    background: #FFD500;
    color: #000;
    box-shadow: 0 4px 8px rgba(255, 213, 0, 0.3);
}

.btn-language i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .btn-language {
        padding: 6px 12px;
        font-size: 12px;
    }

    .btn-language i {
        font-size: 14px;
    }

    .btn-language span {
        font-size: 11px;
    }
}


/* ========== Navbar Styles ========== */

/* Base Navbar */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff !important;
}

.navbar .container-fluid {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navbar Brand */
.navbar-brand {
    padding: 0;
    margin: 0;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Navbar Toggler */
.navbar-toggler {
    border: 2px solid #FFD500;
    padding: 8px 12px;
    border-radius: 8px;
    order: 2;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 213, 0, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 213, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Links */
.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    color: #2c2c2c !important;
}

html[lang="ar"] .navbar-nav .nav-link,
html[lang="ar-SA"] .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 10px 18px;
}

html[lang="en"] .navbar-nav .nav-link,
html[lang="en-US"] .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 10px 16px;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #FFD500;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: #FFD500 !important;
}

.navbar-nav .nav-link.active {
    color: #FFD500 !important;
}

.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Language Switcher */
.language-switcher-container {
    display: flex;
    align-items: center;
}

/* RTL Navbar - Mobile */
.navbar-rtl .navbar-brand {
    order: 3;
}

.navbar-rtl .navbar-toggler {
    order: 1;
}

.navbar-rtl .navbar-collapse {
    order: 4;
}

.navbar-rtl .language-switcher-container.d-lg-none {
    order: 2;
}

.navbar-rtl .language-switcher-container.d-none {
    order: 2;
}

/* LTR Navbar - Mobile */
.navbar-ltr .navbar-brand {
    order: 1;
}

.navbar-ltr .navbar-toggler {
    order: 3;
}

.navbar-ltr .navbar-collapse {
    order: 4;
}

.navbar-ltr .language-switcher-container.d-lg-none {
    order: 2;
}

.navbar-ltr .language-switcher-container.d-none {
    order: 4;
}

/* Desktop Navbar */
@media (min-width: 992px) {
    .navbar .container-fluid {
        justify-content: flex-start;
        gap: 20px;
    }

    .navbar-rtl .container-fluid {
        flex-direction: row-reverse;
    }

    .navbar-rtl .navbar-brand {
        order: 1;
        margin-left: 0;
        margin-right: 0;
    }

    .navbar-rtl .navbar-collapse {
        order: 2;
        flex-grow: 1;
        justify-content: center;
    }

    .navbar-rtl .navbar-nav {
        flex-direction: row-reverse;
    }

    .navbar-rtl .language-switcher-container {
        order: 3;
        margin-left: auto;
    }

    .navbar-ltr .container-fluid {
        flex-direction: row;
    }

    .navbar-ltr .navbar-brand {
        order: 1;
        margin-right: 0;
    }

    .navbar-ltr .navbar-collapse {
        order: 2;
        flex-grow: 1;
        justify-content: center;
    }

    .navbar-ltr .language-switcher-container {
        order: 3;
        margin-left: auto;
    }

    .navbar-toggler {
        display: none;
    }
}

/* Mobile Navbar */
@media (max-width: 991px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar .container-fluid {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        width: 100%;
        order: 5 !important;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    html[lang="ar"] .navbar-nav .nav-link,
    html[lang="ar-SA"] .navbar-nav .nav-link {
        font-size: 0.95rem;
    }

    html[lang="en"] .navbar-nav .nav-link,
    html[lang="en-US"] .navbar-nav .nav-link {
        font-size: 0.9rem;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .nav-link:hover {
        background-color: #f8f9fa;
    }

    .language-switcher-container {
        margin: 0 10px;
    }
}

/*
 Enhanced Mobile Responsive Styles */

/* Tablets and Small Screens */
@media (max-width: 991px) {
    .section-features .row>[class*='col-'] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .service {
        margin-bottom: 20px;
    }

    .container-contact .box {
        min-width: 250px;
        max-width: 250px;
    }
}

/* Mobile Phones */
@media (max-width: 767px) {

    /* Navbar */
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand img {
        height: 50px !important;
    }

    /* Sections Padding */
    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Hero Video */
    .video-container {
        height: 50vh;
        min-height: 300px;
    }

    /* Join Section */
    .section-join-us {
        padding: 40px 0;
    }

    .section-join-us h2 {
        font-size: 1.5rem;
    }

    .section-join-us h3 {
        font-size: 1.25rem;
    }

    .section-join-us p {
        font-size: 0.9rem;
    }

    .section-join-us img {
        margin-top: 20px;
    }

    /* Features Cards */
    .section-features .row>[class*='col-'] {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .section-features .card {
        min-height: auto;
    }

    /* Logo Cards */
    .card-logo {
        margin-bottom: 80px;
    }

    /* Services */
    .service {
        height: auto;
        min-height: 150px;
        padding: 15px;
    }

    .service .service-icon {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .service .title {
        font-size: 14px;
    }

    .service .description {
        font-size: 12px;
    }

    /* Contact Boxes */
    .container-contact {
        gap: 15px;
    }

    .box {
        min-width: 100%;
        max-width: 100%;
        height: auto;
        padding: 30px 20px;
        margin: 10px 0;
    }

    /* FAQ */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
    }

    .accordion-body {
        font-size: 0.85rem;
    }

    /* Footer */
    footer {
        padding: 20px 15px;
        font-size: 12px;
    }

    footer .icons .icon {
        width: 35px;
        height: 35px;
    }
}

/* Small Mobile Phones */
@media (max-width: 576px) {

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Navbar */
    .navbar-brand img {
        height: 45px !important;
    }

    /* Video */
    .video-container {
        height: 40vh;
        min-height: 250px;
    }

    /* Buttons */
    .btn-yellow,
    .btn-custom {
        font-size: 18px;
        padding: 0 20px;
        line-height: 48px;
    }

    /* Cards */
    .card-logo {
        height: 180px;
    }

    .card-logo .img-box {
        width: 140px;
        height: 85px;
        top: -42px;
    }

    /* Services */
    .service {
        min-height: 140px;
    }

    /* Contact */
    .box {
        padding: 25px 15px;
    }

    .box .icon {
        width: 60px;
        height: 60px;
    }

    .box h3,
    .box h4 {
        font-size: 1rem;
    }

    /* Map */
    .section-location iframe {
        height: 300px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .video-container {
        height: 60vh;
    }

    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}