html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    font-family: "Tajawal", serif;
    background-color: var(--bg-color);
}
:root{
    --primary-color:#30c092;
    --bg-color:#04112f;
}
::selection {
    color: white;
    background: var(--primary-color);
  }
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}

p{
    font-size: 18px;
    font-weight: 400;
}
 h1{
    color: white;
    font-weight: 700;
    font-size: 45px;
}
h2{
    font-size: 36px;
    font-weight: 600;
}
@media(max-width:767px){
    h1{
        font-size: 30px;
    }
    .hero .btn{
        font-size: 16px;
    }
    p{
        font-size: 16px;
        font-weight: 400;
    }
    .hero h4{
        font-size: 16px;
    }
    h2{
        font-size: 28px;
    }
}
.social-icon {
    font-size: 1.5rem; 
    color: white;
    padding: 12px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px; 
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    z-index: 11;
    animation: animate-pulse 1.5s ease-out infinite;
}

.whatsapp::before {
    content: "";
    font-size: 16px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #E82C0C;
    position: absolute;
    top: 0px;
    right: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.social-icon.whatsapp i {
    font-size: 40px; 
}

.social-icon:hover {
    color: white;
    transform: translateY(-5px); 
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); 
}

/* General navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 20px 20px;
    position: absolute; 
    z-index: 11;
    width: 100%;
    background: transparent;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease; 
    opacity: 1;
}

.navbar.fixed {
    position: fixed; 
    top: 0;
    background: #0a0e1a; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    opacity: 1;
}

.navbar.hide {
    transform: translateY(-100%); 
    opacity: 0; 
}
.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar .nav-links li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
    font-size: 20px;
}

.navbar .nav-links li a:hover {
    color: var(--primary-color);
}

/* Hamburger icon styling */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 2px;
}

/* Side navbar (hidden by default) */
.side-navbar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #0a0e1a;
    color: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
}
.side-navbar .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.side-navbar ul {
    list-style: none;
    padding: 0;
}

.side-navbar ul li {
    margin: 20px 0;
    text-align: center;
}

.side-navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.side-navbar ul li a:hover {
    color: var(--primary-color);
}

/* Responsive styling */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Show the side navbar when active */
.side-navbar.active {
    left: 0;
}

/* start hero section  */

.hero {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url('../imgs/bg.jpg'); 
    z-index: 1;
}

.culture-hero::before,
.hero::before{
    content: "";
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.btn{
    font-size: 20px;
    font-weight: bold;
    background-color: var(--primary-color); 
    color: white;
    padding: 12px 30px;
    border-radius: 2px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.btn:hover {
    background-color: transparent; 
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* end hero section  */

/* start about-us section  */
.about-us{
    padding-block: 45px;
    color: white;
}
.about-us .img-box img{
    border-radius: 30% 0% 30% 0% ;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.about-us .box p{
    text-align: justify;
}
.about-us .mission-vision .box{
    display: flex;
    gap: 15px;
}
.about-us .mission-vision .box .icon-box{
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-us .mission-vision .box:hover{
    transform: translateY(-10px);
    transition: all .3s ease-in-out;
}
.aboutus_right {
    width: 50%;
    vertical-align: top;
    background-image: url(../imgs/bg40.png);
    background-position: 40px 70px;
    background-size: 39% auto;
    display: table-cell;
    position: relative;
    background-repeat: no-repeat;
    padding: 20px;
}
.aboutus_right_img img {
    width: 90%;
    object-fit: cover;
    object-position: center;
}
.aboutus_right_img img.aboutus_right_small {
    position: relative;
    float: left;
    margin-top: -120px;
    border: 10px solid #fff;
    width: 60%;
}
[dir="ltr"] .aboutus_right_img img.aboutus_right_small {
    float: right;
}
.aboutus_right_txt {
    background-color: var(--primary-color);
    background-image: url(../imgs/bg45.png);
    background-repeat: repeat;
    padding: 25px;
    box-shadow: 7px 15px 15px 0px rgba(0, 0, 0, 0.12);
    display: inline-block;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    max-width: 340px;
    background-position: left top;
    position: absolute;
}
.aboutus_right_txt i {
    font-family: FontAwesome5, FontAwesome, iconmoon, Flatico;
    width: 60px;
    height: 60px;
    background: #fff;
    display: block;
    color: var(--primary-color);
    text-align: center;
    line-height: 60px;
    font-weight: normal;
    border-radius: 50%;
    float: right;
    font-size: 25px;
    box-shadow: 7px 5px 30px 0 rgba(72, 73, 121, 0.15);
}

.aboutus_right_txt h2 {
    margin-right: 90px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

/* start services section  */
.services{
    padding-block: 40px;
    color: white;
    position: relative;
    z-index: 1;

}
.services::before{
    position: absolute;
    content: "";
    width: 351px;
    height: 352px;
    top: 0;
    left: 0;
    background-image: url('../imgs/before.png');
    background-position: center;
    background-size: cover;
    z-index: -1;
}
.services::after{
    position: absolute;
    content: "";
    width: 351px;
    height: 100%;
    top: 0;
    right: 0;
    background-image: url('../imgs/after.png');
    background-position: center;
    background-size: cover;
    z-index: -1;
}
.services .icon-box{
    padding: 15px;
    background-color: white;
    border-radius: 50%;
    width: fit-content;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.service-box {
    position: relative;
    background-size: cover; 
    background-position: center; 
    padding: 20px; 
    height: 100%; 
    min-height: 250px;
    z-index: 1;
    cursor: pointer;
    padding-bottom: 35px;
    border-radius: 10px;
    overflow: hidden;
}
.service-box p{
    font-size: 16px;
}
.service-box::before{
    position: absolute;
    content: "";
    background-color: rgba(48, 192, 146, 0.5);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}
.service-box1 {
    background-image: url('../imgs/services-1.jpeg');

}
.service-box2 {
    background-image: url('../imgs/service-2.jpeg');

}
.service-box3 {
    background-image: url('../imgs/service-3.jpeg');

}
.service-box .content {
    position: relative;
    z-index: 2; /* Ensures the content is above the background */
}

[dir="rtl"]  .service-box .call-to-action {
    position: absolute;
    display: block;
    z-index: 2;
    color: white;
    text-decoration: none;
    font-weight: bold;
    left: 0;
    bottom: 0;
    padding-block: 13px;
    padding-right: 5px;
    padding-left: 20px;
    background: #fff;
    color: #212529;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
}
[dir="ltr"] .service-box .call-to-action {
    position: absolute;
    display: block;
    z-index: 2;
    color: white;
    text-decoration: none;
    font-weight: bold;
    right: 0;
    bottom: 0;
    padding-block: 13px;
    padding-right: 5px;
    padding-left: 20px;
    background: #fff;
    color: #212529;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;

}
[dir="rtl"]  .service-box .call-to-action:before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
    right: -49px;
    bottom: 0;
    border-top: 50px solid rgba(0, 0, 0, 0);
    border-left: 50px solid #fff;
}
[dir="ltr"] .service-box .call-to-action:before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 0;
    height: 0;
    left: -49px;
    bottom: 0;
    border-top: 50px solid rgba(0, 0, 0, 0);
    border-right: 50px solid #fff;
}
[dir="rtl"]  .service-box .call-to-action::after {
    transition: right .2s;
    content: "";
    background-image: url(../imgs/services_know_more_arrow.png);
    position: relative;
    display: inline-block;
    height: 16px;
    width: 24px;
    background-size: contain;
    top: 4px;
    right: 0;
    background-repeat: no-repeat;
    margin-right: 10px;
    transition: transform .9 ease;

}
[dir="ltr"]  .service-box .call-to-action::after {
    transition: right .2s;
    content: "";
    background-image: url(../imgs/services_know_more_arrow.png);
    position: relative;
    display: inline-block;
    height: 16px;
    width: 24px;
    background-size: contain;
    top: 4px;
    right: 0;
    background-repeat: no-repeat;
    margin-left: 10px;
    transform: rotate(180deg);
    transition: transform .9 ease;

}
.service-box:hover::before{
    background-color: rgba(48, 192, 146, 0.8);
    transition: all .3s ease;

}
.service-box:hover .call-to-action:after{
    transform: translateX(-10px);
    transition: all .3s ease;
}
[dir="ltr"] .service-box:hover .call-to-action:after{
    transform: translateX(10px);
    transform: rotate(180deg);

}
.service-box:hover .call-to-action{
    color: var(--primary-color);
    transition: all .3s ease;

}
/* start roadmap  */
.roadmap{
    position: relative;
    z-index: 1;
}
.roadmap::before{
    position: absolute;
    content: "";
    opacity: .5;
    background-image: url('../imgs/waterMark.png');
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center;
    left: -50px;
    top: 0;
}
.roadmap::after{
    position: absolute;
    content: "";
    opacity: .5;
    background-image: url('../imgs/waterMark.png');
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center;
    right: -50px;
    bottom: 0;
}
.roadmap-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle {
    width: 0;
    height: 0;
    border-radius: 15%;
    transform: rotate(45deg); /* Creates a diamond-like shape */
    border: 4px solid var(--primary-color);
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.circle p {
    transform: rotate(-45deg); /* Rotates text back to normal orientation */
    color: white;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    text-align: center;
}

    
.roadmap-line {
    position: relative;
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
    margin: 0 auto;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */
}

.roadmap-step {
    position: relative;
    width: 100%;
    margin-bottom: 40px;

}

.step-box {
    min-width: 240px;
    height: 50px;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
[dir="ltr"] .step-box{
    text-align: left;
}
[dir="rtl"] .step-box{
    text-align: right;
}
.step-box span {
    margin-left: 10px;
    font-size: 30px;
    font-weight: 800;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
[dir="ltr"] .step-box span{
    margin-right: 10px;
    margin-left: 0;
}
.number-right {
    display: inline-block;
    width: 60px;
    height: 100%;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.number-left {
    display: inline-block;
    width: 60px;
    height: 100%;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.step-box-right {
    text-align: right;
    margin-left: 30px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

.step-box-left {
    text-align: left;
    margin-right: 30px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

.small-line {
    width: 30px;
    height: 2px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.small-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
}

.small-line-right {
    right: -30px;
    background-color: var(--primary-color);
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */

}

.small-circle-right {
    left: -4px;
    background-color: var(--primary-color);
    transform: translateX(100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */


}

.small-line-left {
    left: -30px;
    background-color: var(--primary-color);
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */


}

.small-circle-left {
    right: -4px;
    background-color: var(--primary-color);
    transform: translateX(-100px);
    transition: all 1.2s cubic-bezier(0.3, 0.15, 0.3, 1); /* Custom easing */


}

/* On Scroll Active */
.roadmap-line.active {
    opacity: 1;
}

 .small-circle-left.active, 
 .small-circle-right.active, 
[dir="rtl"] .small-line-left.active, 
[dir="rtl"] .small-line-right.active, 
[dir="rtl"] .step-box-right.active {
    transform: translateX(0);
}
[dir="ltr"] .small-line-right.active,  .step-box-right.active {
    transform: translateX(-32px);
}
.step-box-left.active {
    transform: translateX(0);
}
[dir="ltr"] .step-box-left.active, .small-line-left.active {
    transform: translateX(32px);
}
/* عند التفعيل، زيادة الحجم إلى 100px */
.circle.active {
width: 90px;
height: 90px;
}

@media(max-width:570px){
.step-box{
    min-width: 160px;
    font-size: 12px;
    font-weight: 600;
    height: 40px;
}
.step-box span{
    font-size: 20px;
    padding-top: 2px;
}
}



/* start footer  */
.footer-area {
    color: white;
    padding-top: 70px;
    padding-bottom: 30px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}
.footer-area::before {
    content: "";
    position: absolute;
    background-image: url('../imgs/bg45.png');
    background-position: center;
    background-size: cover;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.footer-logo {
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-widget h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-widget p {
    font-size: 16px;
    line-height: 1.8;
    color: #dcdcdc;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #dcdcdc;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: white; 
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #dcdcdc;
}

.contact-info li i {
    font-size: 20px;
    margin-right: 10px;
    color: white; 
}

.contact-info a {
    color: #dcdcdc; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: white; 
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a i{
    font-size: 25px;
    color: white;
    transition: color 0.3s ease;
}

.social-icons a i:hover {
    color: white; 
}

.footer-bottom {
    margin-top: 10px;
    font-size: 14px;
    color: white;
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
}


/* Language Switcher Styles */
#language-switcher {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}

.language-switcher-toggle {
    background-color: #fff;
    color: #333;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    border: 1px solid #ccc;
    font-size: 14px;
}

.language-switcher-toggle:hover {
    background-color: #ddd;
}

.language-switcher-toggle .current-lang {
    margin-left: 8px;
}

.language-switcher-toggle .arrow {
    margin-left: 8px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.language-menu {
    display: none;
    background-color: #fff;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 120px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #ddd;
}

.language-option .flag-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
}

/* Arrow rotation when the menu is open */
.language-switcher-toggle.open .arrow {
    transform: rotate(-135deg);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes animate-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(119 ,140,204,.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(119 ,140,204,0);
    }
    100% {
        box-shadow: 0 0 0 40px rgba(119 ,140,204,0);
    }
}




