@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

* {
    direction:rtl;
    font-family: 'Cairo', sans-serif;
}
h1, h2, h3, h4 {
    font-family: 'Cairo', sans-serif;
}
#LOGO{
    width: 84px;
    height: 40px
}

#copyright {
    text-align: center;
}

#navbarsExampleDefault {
    padding-right: 15px;
}

i.fas {
    padding-left: 10px;
}

body,
p {
    color: #6b747b;
}

h1 {
    color: #252c38;
    font-weight: 700;
    font-size: 2.0rem;
    line-height: 3.125rem;
    letter-spacing: -0.5px;
}

h2 {
    color: #252c38;
    font-weight: 700;
    font-size: 2.125rem;
    line-height: 2.625rem;
    letter-spacing: -0.4px;
}

h3 {
    color: #252c38;
    font-weight: 700;
    font-size: 1.75rem;
    line-height: 2.25rem;
    letter-spacing: -0.3px;
}

h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 2rem;
    letter-spacing: -0.2px;
}

h5 {
    color: #252c38;
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.625rem;
}

h6 {
    color: #252c38;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.375rem;
}

.h1-large {
    font-size: 2.875rem;
    line-height: 3.5rem;
}

.p-large {
    font-size: 1.125rem;
    line-height: 1.65rem;
}

.p-small {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

.bg-gray {
    background-color: #ffffff;
}

.container {
    margin-left: auto;
    margin-right: auto;
}

.btn-solid-reg {
    display: inline-block;
    padding: 1.375rem 2.25rem 1.375rem 2.25rem;
    border: 1px solid #005461;
    border-radius: 32px;
    background-color: #005461;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-solid-reg:hover {
    border: 1px solid #005461;
    background-color: transparent;
    color: #005461; /* needs to stay here because of the color property of a tag */
    text-decoration: none;
}

.btn-solid-lg {
    display: inline-block;
    padding: 1.625rem 2.75rem 1.625rem 2.75rem;
    border: 1px solid #005461;
    border-radius: 32px;
    background-color: #005461;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
    margin-right: 0.25rem;
    margin-bottom: 1.25rem;
    margin-left: 0.25rem;
}

.btn-solid-lg:hover {
    border: 1px solid #005461;
    background-color: transparent;
    color: #005461; /* needs to stay here because of the color property of a tag */
    text-decoration: none;
}

.btn-solid-lg .fab {
    margin-right: 0.5rem;
    font-size: 1.25rem;
    line-height: 0;
    vertical-align: top;
}

.btn-solid-lg .fab.fa-google-play {
    font-size: 1rem;
}

.btn-solid-lg.secondary {
    border: 1px solid #bcc45d;
    background-color: #bcc45d;
}

.btn-solid-lg.secondary:hover {
    border: 1px solid #bcc45d;
    background: transparent;
    color: #bcc45d; /* needs to stay here because of the color property of a tag */
}

.btn-outline-reg {
    display: inline-block;
    padding: 1.375rem 2.25rem 1.375rem 2.25rem;
    border: 1px solid #252c38;
    border-radius: 32px;
    background-color: transparent;
    color: #252c38;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-reg:hover {
    background-color: #252c38;
    color: #ffffff;
    text-decoration: none;
}

.btn-outline-lg {
    display: inline-block;
    padding: 1.625rem 2.75rem 1.625rem 2.75rem;
    border: 1px solid #252c38;
    border-radius: 32px;
    background-color: transparent;
    color: #252c38;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-lg:hover {
    background-color: #252c38;
    color: #ffffff;
    text-decoration: none;
}

.btn-outline-sm {
    display: inline-block;
    padding: 1rem 1.5rem 1rem 1.5rem;
    border: 1px solid #252c38;
    border-radius: 32px;
    background-color: transparent;
    color: #252c38;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline-sm:hover {
    background-color: #252c38;
    color: #ffffff;
    text-decoration: none;
}

.list .fas {
    color: #594cda;
    font-size: 0.75rem;
    line-height: 1.625rem;
}

.list div {
    flex: 1 1 0%;
    margin-left: 0.375rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.label-control {
    position: absolute;
    top: 0.875rem;
    left: 1.875rem;
    color: #7d838a;
    opacity: 1;
    font-size: 0.875rem;
    line-height: 1.5rem;
    cursor: text;
    transition: all 0.2s ease;
}

.form-control-input:focus + .label-control,
.form-control-input.notEmpty + .label-control,
.form-control-textarea:focus + .label-control,
.form-control-textarea.notEmpty + .label-control {
    top: 0.125rem;
    color: #6b747b;
    opacity: 1;
    font-size: 0.75rem;
    font-weight: 700;
}

.form-control-input,
.form-control-select {
    display: block; /* needed for proper display of the label in Firefox, IE, Edge */
    width: 100%;
    padding-top: 1.125rem;
    padding-bottom: 0.125rem;
    padding-left: 1.8125rem;
    border: 1px solid #d0d5e2;
    border-radius: 25px;
    background-color: #ffffff;
    color: #6b747b;
    font-size: 0.875rem;
    line-height: 1.875rem;
    transition: all 0.2s;
    -webkit-appearance: none; /* removes inner shadow on form inputs on ios safari */
}

.form-control-select {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    height: 3.25rem;
    color: #7d838a;
}

select {
    /* you should keep these first rules in place to maintain cross-browser behavior */
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url("../images/down-arrow.png");
    background-position: 96% 50%;
    background-repeat: no-repeat;
    outline: none;
}

.form-control-textarea {
    display: block; /* used to eliminate a bottom gap difference between Chrome and IE/FF */
    width: 100%;
    height: 14rem; /* used instead of html rows to normalize height between Chrome and IE/FF */
    padding-top: 1.5rem;
    padding-left: 1.3125rem;
    border: 1px solid #d0d5e2;
    border-radius: 4px;
    background-color: #ffffff;
    color: #6b747b;
    font-size: 0.875rem;
    line-height: 1.5rem;
    transition: all 0.2s;
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
    border: 1px solid #a1a1a1;
    outline: none; /* Removes blue border on focus */
}

.form-control-input:hover,
.form-control-select:hover,
.form-control-textarea:hover {
    border: 1px solid #a1a1a1;
}

.checkbox {
    font-size: 0.75rem;
    line-height: 1.25rem;
}

input[type="checkbox"] {
    vertical-align: -10%;
    margin-right: 0.5rem;
}

.form-control-submit-button {
    display: inline-block;
    width: 100%;
    height: 3.25rem;
    border: 1px solid #594cda;
    border-radius: 32px;
    background-color: #594cda;
    color: #252c38;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 0;
    cursor: pointer;
    transition: all 0.2s;
}

.form-control-submit-button:hover {
    border: 1px solid #252c38;
    background-color: transparent;
    color: #252c38;
}

/* Fade-move Animation For Details Lightbox - Magnific Popup */
/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
    opacity: 0;
    transition: all 0.2s ease-out;
    -webkit-transform: translateY(-1.25rem) perspective(37.5rem) rotateX(10deg);
    -ms-transform: translateY(-1.25rem) perspective(37.5rem) rotateX(10deg);
    transform: translateY(-1.25rem) perspective(37.5rem) rotateX(10deg);
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
    opacity: 1;
    -webkit-transform: translateY(0) perspective(37.5rem) rotateX(0);
    -ms-transform: translateY(0) perspective(37.5rem) rotateX(0);
    transform: translateY(0) perspective(37.5rem) rotateX(0);
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
    opacity: 0;
    -webkit-transform: translateY(-0.625rem) perspective(37.5rem) rotateX(10deg);
    -ms-transform: translateY(-0.625rem) perspective(37.5rem) rotateX(10deg);
    transform: translateY(-0.625rem) perspective(37.5rem) rotateX(10deg);
}

/* dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
    opacity: 0.8;
}
/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
    opacity: 0;
}
/* end of fade-move animation for details lightbox - magnific popup */



.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
    background: linear-gradient(86deg, rgba(31, 154, 163, 1.2), rgba(255, 255, 255, 0.9));
     box-shadow: 0 6px 1px -4px rgba(208, 218, 51, 0.9);
    padding: 0.5rem 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
}
.offcanvas-collapse {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 100%;
    width: 280px;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #f8f9fa;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
}

.offcanvas-collapse.open {
    visibility: visible;
    transform: translateX(-100%);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.8rem 4rem;
    margin-bottom: 0.25rem;
    color: #4a5568;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: #f0f4f8;
    color: #2e9cc3;
    transform: translateX(-5px);
}

.nav-link.active {
    background-color: #d0da33;
    color: #ffffff !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 0.75rem;
    background-color: #ffffff;
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: #2e9cc3;
}

.dropdown-divider {
    background-color: #f1f5f9;
    margin: 0.5rem 0;
}

.navbar-toggler {
    border: none;
    outline: none !important;
}

.header {
   background-image: url("topshappee.png"), linear-gradient(111deg, #ffffff, #a1cac8);
    background-repeat: no-repeat;
    background-size: cover, cover; 
    background-position: center; 
    height: 738px;
    width: 100%;
}

@media (max-width: 768px) {
    .header {
        height: auto; 
        min-height: 500px; 
        padding-bottom: 50px;
    }
}


.cards-1 {
    padding-top: 4rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.cards-1 .card {
    margin-bottom: 3.5rem;
    padding: 3.125rem 1rem 2.125rem 1rem;
    border: none;
    border-radius: 16px;
    background-color: #27b0ba56;
    height: auto;
}

.cards-1 .card-image {
    margin-bottom: 1.5rem;
}

.cards-1 .card-image img {
    width: 70px;
    height: 70px;
    margin-right: auto;
    margin-left: auto;
}

.cards-1 .card-body {
    padding: 0;
}

.cards-1 .card-title {
    margin-bottom: 0.375rem;
}


.lightbox-basic {
    position: relative;
    max-width: 1150px;
    margin: 2.5rem auto;
    padding: 3rem 1rem;
    background-color: #ffffff;
    text-align: left;
}

/* Action Button */
.lightbox-basic .btn-solid-reg.mfp-close {
    position: relative;
    width: auto;
    height: auto;
    color: #ffffff;
    opacity: 1;
    font-weight: 600;
    font-family: "Open Sans";
}

.lightbox-basic .btn-solid-reg.mfp-close:hover {
    color: #594cda;
}
/* end of action Button */

/* Back Button */
.lightbox-basic .btn-outline-reg.mfp-close.as-button {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
    margin-left: 0.375rem;
    padding: 1.375rem 2.25rem 1.375rem 2.25rem;
    border: 1px solid #252c38;
    background-color: transparent;
    color: #252c38;
    opacity: 1;
    font-family: "Open Sans";
}

.lightbox-basic .btn-outline-reg.mfp-close.as-button:hover {
    background-color: #252c38;
    color: #ffffff;
}
/* end of back button */

/* Close X Button */
.lightbox-basic button.mfp-close.x-button {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 44px;
    height: 44px;
    color: #555555;
}
/* end of close x button */
#page-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity .6s ease, visibility .6s ease;
}

#page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

/* ===== Loader Container ===== */
.loader-container {
    position: relative;
    width: 170px;
    height: 170px;
}

/* ===== Rotating Ring ===== */
.loader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(39,175,186,.25);
    border-top-color: #27afba;
    animation: spin 1.2s linear infinite;
}

/* ===== Inner Soft Ring ===== */
.loader-ring::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    border: 2px solid rgba(160,195,118,.25);
}

/* ===== Logo ===== */
.loader-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo img {
    width: 90px;
    animation: logoFade 1.8s ease-in-out infinite;
}

/* ===== Animations ===== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes logoFade {
    0%,100% { opacity: .85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
/**********************/
/*     Statistics     */
/**********************/
.counter {
    padding-top: 2rem;
    padding-bottom: 4.5rem;
    text-align: center;
}

.counter #counter {
    margin-bottom: 0.75rem;
}

.counter #counter .cell {
    display: inline-block;
    width: 120px;
    margin-right: 1.75rem;
    margin-bottom: 3.5rem;
    margin-left: 1.75rem;
    vertical-align: top;
}

.counter #counter .counter-value {
    color: #252c38;
    font-weight: 700;
    font-size: 3.25rem;
    line-height: 3.75rem;
    vertical-align: middle;
}

.counter #counter .counter-info {
    margin-bottom: 0;
    font-size: 0.875rem;
    vertical-align: middle;
}

/************************/
/*     Testimonials     */
/************************/

.slider-1 .slider-container {
    position: relative;
}

.slider-1 .swiper-container {
    position: static;
    width: 86%;
    text-align: center;
}

.slider-1 .swiper-button-prev:focus,
.slider-1 .swiper-button-next:focus {
    /* even if you can't see it chrome you can see it on mobile device */
    outline: none;
}

.slider-1 .swiper-button-prev {
    left: -14px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
    background-size: 18px 28px;
}

.slider-1 .swiper-button-next {
    right: -14px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
    background-size: 18px 28px;
}

.slider-1 .card {
    position: relative;
    border: none;
    background-color: #fdfef9;
}

.slider-1 .card-image {
    width: 80px;
    height: 80px;
    margin-right: auto;
    margin-bottom: 1.25rem;
    margin-left: auto;
    border-radius: 50%;
}

.slider-1 .testimonial-author {
    margin-bottom: 0;
    color: #252c38;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.5rem;
}

/*******************/
/*     Pricing     */
/*******************/
.cards-2 {
    position: relative;
    padding-top: 8rem;
    background: linear-gradient(rgba(50, 60, 70, 0.9), rgba(50, 60, 70, 0.9)), url("../images/pricing-background.jpg") center center no-repeat;
    background-size: cover;
    text-align: center;
}

.cards-2 .card {
    position: relative;
    display: block;
    background-color: #ffffff;
    max-width: 330px;
    margin-right: auto;
    margin-bottom: 6rem;
    margin-left: auto;
    border: 1px solid #bcc4ca;
    border-radius: 8px;
}

.cards-2 .card .card-body {
    padding: 3rem 1.75rem 2.25rem 1.75rem;
}

.cards-2 .card .card-title {
    margin-bottom: 1rem;
    color: #74B02E;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.875rem;
    text-align: center;
}

.cards-2 .card p {
    margin-bottom: 1.25rem;
    text-align: left;
}

.cards-2 .card .value {
    color: #252c38;
    font-weight: 600;
    font-size: 5rem;
    line-height: 5rem;
    text-align: center;
}

.cards-2 .card .currency {
    margin-right: 0.375rem;
    color: #252c38;
    font-size: 2rem;
    vertical-align: 80%;
}

.cards-2 .card .frequency {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.cards-2 .card .button-wrapper {
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    left: 0;
    text-align: center;
}

.cards-2 .card .btn-solid-reg:hover {
    background-color: #ffffff;
}

/* Best Value Label */
.cards-2 .card .label {
    position: absolute;
    top: 0;
    right: 0;
    width: 10.625rem;
    height: 10.625rem;
    overflow: hidden;
}

.cards-2 .card .label .best-value {
    position: relative;
    width: 13.75rem;
    padding: 0.3125rem 0 0.3125rem 4.125rem;
    background-color: #74B02E;
    color: #ffffff;
    -webkit-transform: rotate(45deg) translate3d(0, 0, 0);
    -ms-transform: rotate(45deg) translate3d(0, 0, 0);
    transform: rotate(45deg) translate3d(0, 0, 0);
}
/* end of best value label */

/**********************/
/*     Conclusion     */
/**********************/
.basic-5 {
    padding-top: 4.5rem;
    padding-bottom: 7.5rem;
    background: url("../images/conclusion-background.jpg") center center no-repeat;
    background-size: cover;
    text-align: center;
}

/* =========================
   FOOTER – FINAL STYLES
   ========================= */

.footer {
    background: linear-gradient(270deg, #116471, #85b2b5);
    color: #ffffff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    text-align: right;
}

/* Overlay */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    z-index: 0;
}

.footer > * {
    position: relative;
    z-index: 1;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

/* Columns */
.footer-col {
    transition: transform 0.3s ease;
}

.footer-col:hover {
    transform: translateY(-5px);
}

/* Titles */
.footer h4 {
    color: #f3e7c3;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.footer h4::after {
    content: "";
    width: 35px;
    height: 2px;
    background: #f3e7c3;
    display: block;
    margin-top: 6px;
}

/* Logo */
.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    transition: transform 0.4s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

/* Paragraph */
.footer p {
    font-size: 14px;
    line-height: 1.8;
    color: #f0fdf4;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #f0fdf4;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #083344;          /* لون غامق */
    transform: translateX(-8px); /* إزاحة لليسار (RTL) */
}
.footer-links a.active {
    color: #083344;
    font-weight: bold;
}

.footer-links a.active::before {
    content: "▸";
    position: absolute;
    right: -15px;
    color: #083344;
}

/* Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(-5px);
}

.footer-contact i {
    color: #ffffff;
    transition: 0.3s;
}

.footer-contact li:hover i {
    color: #083344;
}

/* Social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #083344;
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
}

/* Copyright */
.copyright {
    background: linear-gradient(90deg, #1f9aa3, #a1cac8);
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.copyright p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.copyright a {
    color: #ffffff;
    font-weight: bold;
}

.copyright a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none;
    }
}

/******************************/
/*     Back To Top Button     */
/******************************/
a.back-to-top {
    position: fixed;
    z-index: 999;
    right: 12px;
    bottom: 12px;
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 30px;
    background: #343e48 url("../images/up-arrow.png") no-repeat center 47%;
    background-size: 18px 18px;
    text-indent: -9999px;
}

a:hover.back-to-top {
    background-color: #000000;
}

/***********************/
/*     Extra Pages     */
/***********************/
.ex-header {
    padding-top: 8.5rem;
    padding-bottom: 4rem;
background: linear-gradient(38deg,#ffffff, #a1cac8);
}

.ex-basic-1 .list-unstyled .fas {
    font-size: 0.375rem;
    line-height: 1.625rem;
}

.ex-basic-1 .text-box {
    padding: 1.25rem 1.25rem 0.5rem 1.25rem;
    background-color: #ffffff;
}

.ex-cards-1 .card {
    border: none;
    background-color: transparent;
}

.ex-cards-1 .card .fa-stack {
    width: 2em;
    font-size: 1.125rem;
}

.ex-cards-1 .card .fa-stack-2x {
    color: #ff6e84;
}

.ex-cards-1 .card .fa-stack-1x {
    color: #ffffff;
    font-weight: 700;
    line-height: 2.125rem;
}

/*************************/
/*     Media Queries     */
/*************************/

/* Min-width 768px */
@media (min-width: 768px) {
    /* Extra Pages */
    .ex-basic-1 .text-box {
        padding: 1.75rem 2rem 0.875rem 2rem;
    }
    /* end of extra pages */
}
/* end of min-width 768px */

/* Min-width 1024px */
@media (min-width: 1024px) {
    /* General Styles */

    .btn-solid-lg {
        margin-right: 0.5rem;
        margin-left: 0;
    }

    /* end of general styles */

    /* Navigation */
    .navbar {
        background: linear-gradient(293deg, rgba(31, 154, 163, 0.2), rgba(255, 255, 255, 0.02));
        box-shadow: 0 6px 1px -4px rgba(208, 218, 51, 0.0);
        flex-wrap: nowrap;
        justify-content: start;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0.75rem;
    }

    .navbar-collapse {
        flex-basis: auto;
    }

    .navbar.top-nav-collapse {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        background: linear-gradient(270deg, rgba(31, 154, 163, 0.95), rgba(255, 255, 255, 1.5));
        box-shadow: 0 6px 6px -5px rgba(208, 218, 51, 0.9);
    }

    .offcanvas-collapse {
        position: static;
        top: auto;
        bottom: auto;
        left: auto;
        width: auto;
        padding-right: 0;
        padding-left: 0;
        background-color: transparent;
        overflow-y: visible;
        visibility: visible;
    }

    .offcanvas-collapse.open {
        -webkit-transform: none;
        transform: none;
    }

    .nav-link {
        padding-right: 0.625rem;
        padding-left: 0.625rem;
    }

    .dropdown-menu {
        position: absolute;
        margin-top: 0.25rem;
        box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.05);
    }

    .dropdown-divider {
        width: 90%;
    }

    /* end of navigation */

    /* Details Lightbox */
    .lightbox-basic {
        padding: 3rem 3rem;
    }
    /* end of details lightbox */

    /* Features */
    .cards-1 .card {
        display: inline-block;
        width: 306px;
        vertical-align: top;
        align-items: center;
    }

    .cards-1 .card:nth-of-type(3n + 2) {
        margin-right: 1rem;
        margin-left: 1rem;
    }
    /* end of features */

    /* Statistics */
    .counter {
        padding-top: 5rem;
    }
    /* end of statistics */

    /* Testimonials */
    .slider-1 .swiper-container {
        width: 92%;
    }

    .slider-1 .swiper-button-prev {
        left: -16px;
        width: 22px;
        background-size: 22px 34px;
    }

    .slider-1 .swiper-button-next {
        right: -16px;
        width: 22px;
        background-size: 22px 34px;
    }
    /* end of testimonials */

    /* Pricing */
    .cards-2 .card {
        display: inline-block;
        max-width: 100%;
        width: 312px;
        vertical-align: top;
    }

    .cards-2 .card:nth-of-type(3n + 2) {
        margin-right: 0.375rem;
        margin-left: 0.375rem;
    }
    /* end of pricing */

    /* Conclusion */
    .basic-5 {
        text-align: left;
    }
    /* end of conclusion */

    /* Copyright */
    .copyright {
        text-align: left;
    }

    .copyright .list-unstyled li {
        display: inline-block;
        margin-right: 1rem;
    }

    .copyright .statement {
        text-align: right;
    }
    /* end of copyright */

    /* Extra Pages */
    .ex-cards-1 .card {
        display: inline-block;
        width: 306px;
        vertical-align: top;
    }

    .ex-cards-1 .card:nth-of-type(3n + 2) {
        margin-right: 1rem;
        margin-left: 1rem;
    }
    /* end of extra pages */
}
/* end of min-width 1024px */

/* Min-width 1280px */
@media (min-width: 1280px) {
    /* General Styles */
    .h1-large {
        font-size: 3.125rem;
        line-height: 3.75rem;
    }

    .container {
        max-width: 72rem;
    }
    /* end of general styles */

    /* Features */
    .cards-1 .card {
        width: 342px;
        padding-right: 2.875rem;
        padding-left: 2.875rem;
    }

    .cards-1 .card:nth-of-type(3n + 2) {
        margin-right: 1.5rem;
        margin-left: 1.5rem;
    }
    /* end of features */

    /* Statistics */
    .counter #counter .cell {
        margin-right: 2.5rem;
        margin-left: 2.5rem;
    }

    .counter #counter .counter-value {
        font-size: 3.75rem;
        line-height: 4.25rem;
    }
    /* end of statistics */

    /* Pricing */
    .cards-2 .card {
        width: 335px;
    }

    .cards-2 .card:nth-of-type(3n + 2) {
        margin-right: 2.25rem;
        margin-left: 2.25rem;
    }

    .cards-2 .card .card-body {
        padding-right: 2.25rem;
        padding-left: 2.25rem;
    }
    /* end of pricing */

    /* Extra Pages */
    .ex-cards-1 .card {
        width: 328px;
    }

    .ex-cards-1 .card:nth-of-type(3n + 2) {
        margin-right: 2.875rem;
        margin-left: 2.875rem;
    }
  
  
    /* end of extra pages */
}

/* end of min-width 1200px */

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

@media (max-width: 1023px) {
    .offcanvas-collapse {
        right: -100%;
        left: auto !important;
        transition: right 0.3s ease-in-out;
        display: block;
    }

    .offcanvas-collapse.open {
        right: 0;
        left: auto !important;
        -webkit-transform: none !important;
        transform: none !important;
        visibility: visible;
    }

       .cards-2 .card, 
    .cards-1 .card {
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.row {
    margin-right: 0;
    margin-left: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* GLOBAL FIX */
html, body {
    overflow-x: hidden;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}


@media (min-width: 992px) {
 
    .navbar {
        display: flex;
        align-items: center; 
    }


    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }

    .navbar-nav, .list-none {
        margin-top: -60px !important;
        margin-bottom: 0 !important;
        display: flex;
        align-items: center;
    }

    .nav-link {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        line-height: 2 !important;
        margin: 1;
        display: flex;
        align-items: center;
    }
}
@media (max-width: 991px) {

    /* Offcanvas Menu */
    .offcanvas-collapse {
        right: -100%;
        left: auto;
        transition: right 0.3s ease-in-out;
    }

    .offcanvas-collapse.open {
        right: 0;
        top: 80px;
        visibility: visible;
    }


    .cards-1 .card,
    .cards-2 .card {
        max-width: 90%;
        margin: 0 auto 25px;
    }


    .form-control-input,
    .form-control-textarea,
    .form-control-select {
        text-align: right;
    }


    .btn-solid-lg,
    .btn-solid-lg.secondary {
        width: 100%;
        text-align: center;
    }


    #counter {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .counter .cell {
        margin: 0;
        width: 100%;
    }

    /* Hide extra breaks */
    br {
        display: none;
    }
}


@media (max-width: 350px) {
    #counter {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 991px) {
    #Trainers {
        padding: 10px 0;
    }

    .carousel .card {
        height: auto;
        padding: 15px;
        text-align: center;
    }

    #left,
    #right {
        display: none;
    }
}


.card#cardo {
    direction: rtl;
    text-align: right;
}

.card#cardo .profile {
    display: flex;
    align-items: right;
    gap: 15px;
}

.card#cardo .profile img {
    margin-right: -21px;
}


.featuresContent {
    text-align: right;
}

.featuresContent .sectionTitle {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.featuresContent p {
    font-size: 15px;
    line-height: 1.8;
}


.features .container {
    padding: 0;
}

/* Feature item */
.featureIcon {
    display: block;
    margin: 0 auto 10px;
}

.featureTitle {
    text-align: center;
    font-size: 14px;
}

.featureDescription {
    display: block;
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
}


.featuresContent + .lg\:col-span-7 img,
.col-6 img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {

    .col-6 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .featuresContent {
        margin-bottom: 30px;
        text-align: center;
    }

    .featuresContent .sectionTitle {
        font-size: 22px;
    }


@media (max-width: 767px) {

    .features .container > .row {
        display: contents;
    }
    .features .col {
        display: grid;
        grid-template-rows: auto auto auto;
        justify-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    .featureIcon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .featureTitle {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .featureDescription {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 20px;
    }
}


.blog-post {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    overflow: hidden;
    padding: 20px;
}
.blog-post_img {
    flex: 0 0 280px;
}

.blog-post_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.blog-post_info {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.blog-post_title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-post_date {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

.blog-post_text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.blog-post_cta {
    align-self: flex-start;
    padding: 8px 20px;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.blog-post_cta:hover {
    background: #0056b3;
}

@media (max-width: 767px) {

    .blog-post {
        flex-direction: column;
        padding: 0;
    }

    .blog-post_img {
        width: 100%;
        flex: none;
    }

    .blog-post_img img {
        height: 200px;
        border-radius: 0;
    }

    .blog-post_info {
        padding: 15px;
        text-align: center;
    }

    .blog-post_title {
        font-size: 18px;
    }

    .blog-post_text {
        font-size: 14px;
    }

    .blog-post_cta {
        align-self: center;
        width: 100%;
        text-align: center;
    }
}

.input-field {
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
    min-height: auto !important;
    width: 100%;
    margin-bottom: 24px;
    position: relative;
}

.input-field label {
    display: block !important;
    position: static !important;
    margin-bottom: 8px;
    padding: 0 !important;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-align: right;
}

.input-field input {
    display: block;
    width: 100% !important;
    height: 48px;
    padding: 10px 12px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    direction: rtl;
}

.input-field input[style*="height"] {
    height: 150px !important;
}

@media (max-width: 767px) {

    .row > [class*="col md-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .row[style*="padding-right"] {
        padding-right: 0 !important;
    }


    .btn-solid-lg.secondary {
        width: 100%;
        text-align: center;
    }
}

.swiper-container {
    position: relative;
    padding-bottom: 60px;
}

.swiper-slide {
    text-align: center;
    padding-bottom: 30px;
}


.swiper-slide .featureTitle {
    margin-top: 10px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 1.6;
}


.swiper-button-next,
.swiper-button-prev {
    top: auto !important;
    bottom: 10px !important;
    transform: none !important;
    color: #005461;
}


.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}


@media (max-width: 767px) {


    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }


    /*
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    */

    .swiper-slide .featureTitle {
        font-size: 13px;
    }
}




/* CONTACT US – STABLE LAYOUT */
.input-field {
    display: block !important;
    width: 100%;
    margin-bottom: 24px;
}
.input-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.input-field input,
.input-field textarea {
    width: 100%;
    direction: rtl;
}

/* MOBILE FORM */
@media (max-width: 767px) {
    .btn-solid-lg,
    .btn-solid-lg.secondary {
        width: 89%;
    }
}

/* GLOBAL SAFETY */
img { max-width:100%; height:auto; }
html,body { overflow-x:hidden; }


@media (max-width: 767px) {


    .form-group label,
    .label-control,
    .input-field label {
        position: static !important;
        display: block !important;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        transform: none !important;
        opacity: 1 !important;
        text-align: right;
    }


    .row > [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }


    .form-control-input,
    .form-control-textarea,
    .form-control-select,
    .input-field input,
    .input-field textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }


    .input-field i,
    .form-group i {
        position: static !important;
        margin-bottom: 6px;
        display: block;
        text-align: right;
    }


    .form-group,
    .input-field {
        margin-bottom: 20px;
    }
}

p,
.text,
.text-content,
.content,
.section-content,
.blog-post_text,
.featureDescription {
    text-align: justify;
    text-justify: inter-word;
}


h1, h2, h3, h4, h5, h6,
button,
.btn,
.navbar,
.nav-link,
label,
input,
textarea {
    text-align: center;
}
.boxes-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.col-8, .col-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.attendance-box .box-content > div {
    display: flex !important;
    flex-direction: column !important;
    padding: 15px !important;
    gap: 12px !important;
}


.container {
    padding-right: 10px !important;
    padding-left: 10px !important;
}


.box {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.panel-group .panel-title a {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.collapsible {
    font-size: 14px !important;
    padding: 12px !important;
}

@media (max-width: 768px) {

    .card {
        margin-bottom: 0px;
    }

    .swiper-pagination {
        position: relative;
        margin-top: 37px;
        bottom: 0;
    }

    .swiper {
        padding-bottom: 10px;
    }
}
/* Footer Base */
.footer {
    background-color: #f9fafb;
    padding: 60px 0;
    text-align: right;
    color: #374151;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

/* Columns */
.footer-col h4 {
    font-weight: bold;
    margin-bottom: 15px;
    color: #111827;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

/* Logo */
.footer-logo {
    height: 40px;
    margin-bottom: 15px;
}

/* Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #374151;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-links a.active {
    color: #2882C5;
    font-weight: bold;
}

/* Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact i {
    color: #2882C5;
}

/* Social */
.footer-social {
    display: flex;
    gap: 12px;
    font-size: 18px;
}

.footer-social a {
    color: #2882C5;
    transition: 0.3s;
}

.footer-social a:hover {
    color: #1e6aa3;
}

/* Copyright */
.copyright {
    background-color: #f1f5f9;
    border-top: 1px solid #e5e7eb;
    text-align: center;
    padding: 15px 0;
}

.copyright p {
    margin: 0;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}
@media (max-width: 767px) {
    .panel-heading .panel-title a {
        text-align: right;
        direction: rtl;
        display: block;
    }

    .panel-heading .panel-title i {
        margin-left: 8px;
        margin-right: 0;
        float: right;
    }
}
