:root {
    --primary-blue: #007bff;
    --primary-green: #28a745;
    --primary-purple: #6f42c1;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
}
body{
    background-color: #eee;
}
.active {
    background-color: #6f42c1;
    border-radius: 30px;
    color: white !important;
}

   .navbar {
       transition: top 0.5s ease-in-out, background-color 0.4s;
       background-color: white;
   }

.navbar.hide-navbar {
    top: -100px;
}

.navbar.show-navbar {
    top: 0;
}


.navbar.scrolled {
    background-color: rgba(84, 55, 134, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled li a{
    color: white !important;
}
.navigation-dots {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}
.nav-li{
    margin-left: 21px;
    margin-right: 21px;
}
.nav-li a{
    font-weight: bold;
}
.request-demo-btn {
    background: #543786;
    color: #fff;
    border-radius: 24px;
    padding: 0.5rem 1rem;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    width: 100%;
    margin-top: 1rem;
}


/* Large screens (lg and up) */
@media (min-width: 992px) {
    .request-demo-btn {
        width: 20%;
        padding: 7px;
        margin: 0;
    }
}

.hero-section {
    overflow: hidden;
    padding: 0 0 40px 0;
}
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/template/home.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Only in Arabic, flip the image */
html[lang="ar"] .hero-bg-image {
    transform: scaleX(-1);
}
.hero-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-img {
    border-radius: 18px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.badge-circle {
    position: absolute;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.badge-trips {
    background: #f95fa6;
    width: 80px; height: 80px;
    bottom: -30px; left: 10px;
    font-size: 1.2rem;
}
.badge-workshops {
    background: #ffc700;
    width: 90px; height: 90px;
    top: 30px; right: -30px;
    color: #222;
    font-size: 1.2rem;
}
.badge-greatjob {
    background: #2e7be6;
    width: 100px; height: 100px;
    top: -40px; left: 60px;
    font-size: 1.1rem;
    flex-direction: column;
    color: #fff;
}
.badge-greatjob span {
    font-size: 1.1rem;
    font-weight: 700;
}
.floating-card {
    position: absolute;
    left: 0; bottom: 60px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 10px 18px;
    font-size: 0.95rem;
    z-index: 2;
    min-width: 180px;
}
@media (max-width: 991px) {
    .hero-img-container {
        margin-top: 32px;
    }
    .badge-trips, .badge-workshops, .badge-greatjob, .floating-card {
        position: static;
        display: inline-block;
        margin: 8px 8px 0 0;
    }
}
@media (min-width: 1200px) {
    .display-5 {
        font-size: 2rem;
    }
}
@media (min-width: 1200px) {

    .fixed-bottom-banner {
        position: fixed;
        bottom: 20px;
        left: 0;
        width: 100%;
        z-index: 999; /* Optional: make sure it stays on top */
        padding: 10px 0; /* Optional: spacing */
    }
}

@media (max-width: 420px) {
    .ssmall-section{
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}
.lead-section{
    font-size: 21px;
    font-weight: 500;
    /*width: inherit;*/
}

/*start program*/
.img-section .title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px; /* space below text */
    width: 60px;    /* line length */
    height: 2px;
    background-color: white;
}
.program .box{
    z-index: 3;
    /*top: -100px;*/
    left: 0;
    right: 0;
    bottom: -188px;
}
@media (max-width: 767px) {
    .program-space{
        height: 1000px !important;
    }
    .program .box{
        z-index: 3;
        left: 0;
        right: 0;
        bottom: -1000px ;
    }
}
@media (min-width: 767px) and (max-width: 990px) {
    .program-space{
        height: 700px !important;
    }
    .program .box{
        bottom: -650px ;
    }
}
@media (min-width: 945px) {
    .prog-home .f-p{
        margin-bottom: -25px
    }
    .prog-home .button{
        margin-top: -50px
    }
}

.program .box .element{
    background-color: white;
    border-radius: 50px;
    padding: 30px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.program .box .element h4 {
    min-height: 60px; /* ensures all titles are same height */
    margin-bottom: 15px;
}

.program .box .element p {
    min-height: 50px; /* ensures all descriptions are same height */
}

.program .box .element a {
    align-self: center;
}

/*.feature::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -10px;*/
/*    width: 100px;*/
/*    height: 3px;*/
/*    background-color: var(--primary-purple);*/
/*}*/

/* LTR (English) */
:dir(ltr) .feature::after {
    left: 0;
}

/* RTL (Arabic) */
:dir(rtl) .feature::after {
    right: 0;
}

/*end program*/

/*start about page*/
.section-img {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: white;
    height: 80vh;

}

.section-img img {
    width: 100%;
    height: auto; /* ensure full image height shows */
    object-fit: cover;
    display: block;
    position: absolute;
}

html[lang="ar"] .section-img img {
    transform: scaleX(-1);
}

.overlay-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}
.overlay-text h1{
    font-size: 3.3rem;
}
@media (min-width: 770px) {
    .section-img {
        text-align: center;
    }
    .section-img img{
        top: -72px;
    }
}

@media (max-width: 767px) {
    .overlay-wrapper{
        top: 20%;
    }
    .overlay-text h1{
        font-size: 1.3rem;
    }
    .iframe{
        margin-top: -250px !important;
    }
    .iframe .element{
        width: 100% !important;
    }
}

@media (min-width: 769px) and (max-width: 990px) {
    .overlay-wrapper{
        top: 30%;
    }
    .overlay-text h1{
        font-size: 2.3rem;
    }
    .iframe{
        margin-top: -455px !important;
    }
}

.text-left{
    text-align: left;
}

.iframe .element{
    width: 100%;
}

.services .element {
    display: flex;
    align-items: flex-start;
}

.services .element img {
    width: 100px;
    height: auto;
    flex-shrink: 0;
    margin: auto;
}
.services .element p{
    font-family: "Helvetica Neue", Helvetica, Arial, Lucida, sans-serif;
    font-size: 20px;
    font-weight: 500

}
.iframe .element p{
    font-family: "Helvetica Neue", Helvetica, Arial, Lucida, sans-serif;
    font-size: 20px;
    font-weight: 500
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #5b3c88;
}

.list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.75rem 0;
    color: #333;
}

/*end about page*/

/*start contact page*/
.contact-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}
.contact-left {
    padding: 40px 30px 40px 0;
}
.contact-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 40px;
}
.contact-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.contact-info {
    margin-bottom: 30px;
}
.contact-info strong {
    font-weight: 600;
}
.contact-info a {
    color: #6c63ff;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}
.furass-logo {
    margin-top: 30px;
    display: flex;
    align-items: center;
}
.furass-logo img {
    height: 60px;
    margin-right: 15px;
}
.furass-desc {
    font-size: 0.98rem;
    color: #444;
    margin-top: 10px;
}
.social-icons {
    margin-top: 25px;
}
.social-icons a {
    color: #444;
    font-size: 1.3rem;
    margin-right: 18px;
    transition: color 0.2s;
}
.social-icons a:hover {
    color: #6c63ff;
}
.contact-form-card {
    background: #5b3c88;
    color: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    min-width: 340px;
}
.contact-form-card .form-label {
    color: #fff;
    font-weight: 500;
}
.contact-form-card .form-control {
    border-radius: 8px;
    border: none;
    margin-bottom: 18px;
}
.contact-form-card .form-control:focus {
    box-shadow: 0 0 0 2px #6c63ff33;
}
.contact-form-card .form-check-input {
    margin-right: 8px;
}
.contact-form-card .form-check-label {
    font-size: 0.92rem;
    color: #e0d7f7;
}
.contact-form-card .btn {
    background: #00b6b6;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    font-size: 1.25rem;
    padding: 10px 0;
    width: 100%;
    margin-top: 10px;
    border: none;
}
.contact-form-card .btn:hover {
    background: #009e9e;
}
.contact-form-card .privacy-link {
    color: #fff;
    text-decoration: underline;
    font-size: 0.92rem;
}
@media (max-width: 991.98px) {
    .contact-container {
        flex-direction: column;
        padding: 30px 0;
    }
    .contact-left {
        padding: 0 0 30px 0;
    }
}
@media (max-width: 767.98px) {
    .contact-container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .contact-form-card {
        padding: 28px 10px 24px 10px;
        min-width: unset;
        margin-top: 32px;
        box-shadow: 0 2px 12px rgba(91,60,136,0.10);
        background: #6c4fa1;
    }
    .contact-title {
        font-size: 2rem;
    }
    .contact-section-title {
        font-size: 1.3rem;
    }
    .furass-logo {
        flex-direction: column;
        align-items: flex-start;
    }
    .furass-logo img {
        margin-bottom: 8px;
        margin-right: 0;
    }
    .social-icons {
        margin-bottom: 10px;
    }
    .contact-left {
        padding: 0;
    }
    .row > [class^='col-'] {
        margin-bottom: 18px;
    }
}
@media (max-width: 575.98px) {
    .contact-container {
        padding-left: 6px;
        padding-right: 6px;
    }
    .contact-form-card {
        padding: 18px 4px 18px 4px;
    }
}
/*end contact page*/

/* start footer*/
.footer-main {
    background: #fff;
    padding: 40px 0 0 0;
    border-top: 1px solid #e5e5e5;
}
.footer-logo {
    height: 48px;
    margin-bottom: 12px;
}
.footer-desc {
    font-size: 1rem;
    color: #444;
    margin-bottom: 18px;
}
.footer-social a {
    color: #444;
    font-size: 1.3rem;
    margin-right: 18px;
    transition: color 0.2s;
}
.footer-social a:hover {
    color: #6c63ff;
}
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.footer-links, .footer-programs {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.footer-links li, .footer-programs li {
    margin-bottom: 8px;
}
.footer-links a, .footer-programs a {
    color: #222;
    text-decoration: none;
    font-size: 1rem;
}
.footer-links a:hover, .footer-programs a:hover {
    text-decoration: underline;
}
.footer-contact {
    font-size: 1rem;
    margin-bottom: 10px;
}
.footer-contact strong {
    color: #222;
}
.footer-contact a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
}
.footer-contact a:hover {
    text-decoration: underline;
}
.footer-apps img {
    height: 36px;
    margin-right: 8px;
}
.footer-divider {
    border-top: 1.5px solid #d6d6d6;
    margin: 28px 0 12px 0;
}
.footer-trusted {
    text-align: center;
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 10px;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 0.98rem;
    color: #888;
    padding: 8px 0 12px 0;
    margin-left: 0;
    margin-right: 0;
}
.footer-bottom a {
    color: #888;
    text-decoration: none;
    margin-left: 18px;
    margin-right: 0;
}
.footer-bottom a:hover {
    text-decoration: underline;
}
.footer-language {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.footer-language i {
    font-size: 1rem;
    margin-right: 2px;
}
@media (max-width: 991.98px) {
    .footer-main {
        padding: 32px 0 0 0;
    }
    .footer-bottom .col-md-4 {
        text-align: left !important;
        margin-bottom: 8px;
    }
}
@media (max-width: 767.98px) {
    .footer-main {
        padding: 24px 0 0 0;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .footer-bottom .col-md-4, .footer-bottom .col-12 {
        text-align: left !important;
        margin-bottom: 6px;
    }
}
@media (max-width: 575.98px) {
    .footer-main {
        padding: 16px 0 0 0;
    }
    .footer-logo {
        height: 38px;
    }
    .footer-title {
        font-size: 1.02rem;
    }
    .footer-trusted {
        font-size: 0.98rem;
    }
}
/* end footer*/

/*start question*/
.main-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-purple) 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.faq-section {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.section-header {
    background: linear-gradient(135deg, var(--primary-purple), #5dade2);
    color: white;
    padding: 20px 25px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.section-header:hover {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.section-header i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.section-header .toggle-icon {
    transition: transform 0.3s ease;
}
.rotate {
    transform: rotate(180deg);
}
.section-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.section-content {
    background: white;
    padding: 0;
}

.question-item {
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.3s ease;
}

.question-item:hover {
    background-color: #f8f9fa;
}

.question-item:last-child {
    border-bottom: none;
}

.question {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.answer {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.divider {
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple), var(--primary-blue));
    margin: 30px 0;
    border-radius: 2px;
}

.contact-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    border-radius: 15px;
}

.contact-section h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-section p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.btn-contact {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .section-header {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .question-item {
        padding: 15px 20px;
    }

    .contact-section {
        padding: 30px 20px;
    }
}
/*end question*/

/*start news page*/
.news .main-element img{
    width: 546px;
    height: 388px;
}

.news .all-element img{
    width: 80px;
    height: 80px;
    margin-right: 10px;
}

.byline {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.byline-separator {
    margin: 0 8px;
    color: #999;
}
/*end news page*/

/*start ck-editor*/
.ck-editor__editable_inline {
    min-height: 300px;
}

/*end ckeditor*/
