/*-------------------------------------------------------------------
[Table of contents]

1. Import libraries
2. Custom properties
3. General Styles
4. Typography
5. Header and Navbar
6. Buttons and Links
7. Utilities
8. Sections
9. Swiper
10.Boxes and Cards
11.Footer
12.Accordion
13.Error 404
14.Responsive Layouts
-------------------------------------------------------------------*/

/* ---------------------------- */
/* Import libraries             */
/* ---------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");
@import url("../css/vendor/bootstrap.min.css");
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans&family=Source+Sans+3&display=swap");
/* ---------------------------- */
/* Custom properties            */
/* ---------------------------- */
:root {
    --primary-color: #21bec6;
    --secondary-color: #21bec6;
    --text-color: #231f20;
    --text-color-2: #595a5b;
    --accent-color: #8a8c8e;
    --accent-color-2: #ffff;
    --accent-color-3: #ffff;
    --font-1: "Plus Jakarta Sans", sans-serif;
    --font-2: "Source Sans 3", sans-serif;
}

/* ---------------------------- */
/* General Styles               */
/* ---------------------------- */
body {
    font-family: var(--font-2);
    color: var(--text-color);
    background-color: #ffffff;
}

.bg-primary-color {
    background-color: var(--primary-color);
}

.bg-primary-color-2 {
    background-color: var(--accent-color);
}

.bg-secondary-color {
    background-color: var(--secondary-color);
}

.bg-secondary-color-2 {
    background-color: var(--accent-color-2);
}

.bg-accent-color {
    background-color: var(--accent-color-2);
}

.bg-accent-color-2 {
    background-color: var(--accent-color-3);
}

.bg-gradient-primary {
    background: linear-gradient(to bottom, var(--primary-color), #518ef8);
}

.bg-gradient-secondary {
    background: linear-gradient(45deg, #8bacee, #f7d3da);
}

.text-primary-color {
    color: var(--primary-color);
}

.text-black-color-2 {
    color: var(--text-color);
}

.text-secondary-color-2 {
    color: var(--secondary-color);
}

.text-muted-color {
    color: var(--text-color-2);
}

.accent-primary-color {
    color: var(--accent-color);
}

.accent-secondary-color {
    color: var(--accent-color-2);
}

.accent-tertiary-color {
    color: var(--accent-color-3);
}

.font-1 {
    font-family: var(--font-1);
}

.font-2 {
    font-family: var(--font-2);
}

.section {
    padding: 6em 2em 6em 2em;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.b-container {
    max-width: 1240px;
    margin-right: auto;
    margin-left: auto;
}

/* ---------------------------- */
/* Typography                   */
/* ---------------------------- */
h1 {
    font-size: 72px;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 26px;
}

h5 {
    font-size: 22px;
}

h6 {
    font-size: 20px;
}

button,
a {
    font-size: 18px;
    font-family: var(--font-1);
}

ul {
    list-style: none;
}

p,
li {
    font-size: 18px;
}

img {
    object-fit: cover;
}

/* ---------------------------- */
/* Header and Navbar            */
/* ---------------------------- */
.top-bar {
    background-color: var(--primary-color);
    /* padding-block: 1.2rem; */
    min-height: 80px;
}

.social-box {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.social-box a {
    background-color: var(--secondary-color);
    text-align: center;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
}

.social-box a:hover {
    background-color: #03848a;
    /* transform: scale(1.1); */
}

.logo-box img {
    max-height: 100%;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.nav-link {
    font-size: 1.15rem;
    color: var(--text-color);
    font-weight: 600;
    padding-block: 1.85rem;
    padding-inline: 1.5rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: 0;
    border-radius: 0 0 25px 25px;
    padding: 15px 0px;
    width: 220px;
    -webkit-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
    color: var(--text-color);
    font-size: 1.15rem;
    padding: 15px;
    font-weight: 600;
    padding-block: 0.75rem;
    padding-inline: 0.75rem;
}

.dropdown-item:hover {
    color: var(--accent-color) !important;
    background-color: transparent;
}

.dropdown-item:focus {
    color: var(--accent-color) !important;
}

.dropdown-item.active {
    color: var(--primary-color) !important;
    background-color: transparent;
}
/* ---------------------------- */
/* Buttons and Links            */
/* ---------------------------- */
.btn-quotes {
    width: 180px;
    background-color: var(--text-color);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    border: none;
}

.btn-quotes:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
}

.btn-primary-solid {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease,
        border 0.3s ease;
}

.btn-primary-solid:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    transform: scale(1.1);
}

.btn-secondary-solid {
    background-color: var(--secondary-color);
    color: #ffffff;
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease,
        border 0.3s ease;
}

.btn-secondary-solid:hover {
    background-color: var(--accent-color-2);
    color: #068e95;
    border: none;
    transform: scale(1.1);
}

.btn-secondary-solid-2 {
    background-color: var(--secondary-color);
    color: #ffffff;
    font-size: 1.15rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease,
        border 0.3s ease;
}

.btn-secondary-solid-2:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    transform: scale(1.1);
}

.links-primary {
    font-family: var(--font-2);
    color: var(--text-color);
    font-size: 18px;
    text-decoration: none;
}

.links-primary:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.links-secondary {
    font-family: var(--font-2);
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
}

.links-secondary:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.badge-primary-color {
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 18px;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
}

.badge-primary-color:hover {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* ---------------------------- */
/* Utilities                    */
/* ---------------------------- */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.video-box {
    width: 100%;
    max-width: 960px;
    height: auto;
}

.video-overlay .ratio {
    width: 100%;
    height: auto;
}

.video-overlay iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.img-container {
    width: 100%;
    max-width: 100%;
    max-width: 1000px;
}

.ratio-wrapper-429 {
    position: relative;
    aspect-ratio: 3 / 4; /* default: portrait */
    overflow: hidden;
}

.img-circle {
    width: 275px;
    height: 275px;
}

.ratio-wrapper-419 {
    position: relative;
    aspect-ratio: 3 / 4; /* default: portrait */
    overflow: hidden;
}

.bg-overlay-secondary {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.8)
    );
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.transition-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.scale-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.bg-secondary-gradient {
    background: linear-gradient(
        to right,
        white 0%,
        white 50%,
        #ffffff 61%,
        #c4fcff 100%
    );
}

.breadcrumb {
    font-size: 22px;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #21bec6 !important;
}

.breadcrumb-item a:hover,
.breadcrumb-item.active {
    color: #21bec6 !important;
}

.list-unstyled {
    padding-left: 0;
    margin-bottom: 0;
}

/* ---------------------------- */
/* Sections                     */
/* ---------------------------- */
.banner-section {
    position: relative;
    overflow: hidden;
    padding: 50px 75px 0 75px;
    color: white;
}

.hero-section {
    background-image: url("../image/Homehero.png");
    background-size: cover;
    background-position: center;
    padding-bottom: 80px;
}

/* ---------------------------- */
/* Swiper                       */
/* ---------------------------- */
.swiper-container-outer {
    position: relative;
    overflow: hidden;
}

.swiper {
    padding: 30px 0;
}

.swiper-slide {
    height: auto;
}

/* ---------------------------- */
/* Boxes and Cards              */
/* ---------------------------- */
.step-box {
    position: relative;
    margin-bottom: 3rem;
}

.step-box h1 {
    position: absolute;
    font-family: var(--font-1);
    font-weight: 900;
    opacity: 0.8;
    top: -10px;
    left: 13%;
    transform: translateX(-50%);
    z-index: 0;
    background: -webkit-linear-gradient(var(--primary-color), #9abbfd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-box h3 {
    position: relative;
    font-family: var(--font-1);
    font-weight: 700;
    margin: 25px 0 20px 0;
    z-index: 1;
}

.step-box p {
    position: relative;
    z-index: 1;
}

.feedback-card {
    background: #fff;
    border: var(--primary-color) 2px solid;
    border-radius: 30px;
    padding: 35px;
}

.quotes-section {
    padding: 6em 2em 6em 2em;
    position: relative;
    overflow: hidden;
}

.quotes-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background-image: url("../image/Place-Holder-1920x1280.jpg");
    background-size: cover;
    background-position: center center;
    opacity: 0.8;
    z-index: -1; /* place behind of content */
}

.quotes-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.9),
        rgba(239, 251, 255, 0.8)
    );
    opacity: 0.9;
    z-index: 1; /* place in-front of content */
}

.quotes-section > .container {
    position: relative; /* Force container in-front of background */
    z-index: 2;
}

.quotes-section > .card {
    margin-top: 30px; /* Space from heading */
}

.news-card {
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.news-card .card-title {
    font-family: var(--font-1);
    font-weight: 800;
    text-decoration: none;
}
.news-card .card-title:hover {
    font-family: var(--font-1);
    font-weight: 800;
    /* font-size: 22px; */
    text-decoration: none;
    color: var(--primary-color);
}

/* ---------------------------- */
/* Footer                       */
/* ---------------------------- */
.footer {
    position: relative;
    overflow: hidden;
    color: white;
}

.footer-background {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../image/Place-Holder-1920x1280.jpg");
    background-size: cover;
    background-position: center center;
    z-index: -1;
}

.footer-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0.9)
    );
    z-index: 1; /* place in-front of content */
}

.footer-logo > img {
    max-height: 65px;
}

/* ---------------------------- */
/* Accordion                    */
/* ---------------------------- */
.accordion .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: transparent;
}

.accordion .accordion-button {
    font-size: large;
    font-weight: 700;
    color: #fff;
    background-color: var(--accent-color); /* Default blue */
    border-radius: 1.5rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: none;
}

.accordion .accordion-button.collapsed {
    background-color: var(--accent-color); /* Blue for collapsed */
    color: #fff;
}

.accordion .accordion-button:not(.collapsed) {
    background-color: var(--accent-color-2); /* Pink for expanded */
    color: #000;
}

.accordion .accordion-button:focus {
    box-shadow: none;
}

.accordion i {
    font-size: 1.2rem;
}

.accordion .accordion-collapse {
    margin-top: 0.5rem; /* Gap between header and body */
}

.accordion .accordion-body {
    font-size: large;

    padding: 1.5rem;
    border-radius: 1rem;
    /* margin-top: 0.5rem; */
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ---------------------------- */
/* Error 404                    */
/* ---------------------------- */
.error-code {
    font-size: 18rem;
    font-weight: 900;
    line-height: 1;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.error-code span:nth-child(2) {
    background: linear-gradient(180deg, var(--primary-color), #21bec6);
    color: white;
    padding: 20px 0;
    border-radius: 1.5rem;
}
/* ---------------------------- */
/* Responsive Layouts           */
/* ---------------------------- */
@media only screen and (max-width: 1199.98px) {
    .ratio-wrapper-429 {
        aspect-ratio: 3 / 2;
    }

    .ratio-wrapper-419 {
        aspect-ratio: 1 / 1;
    }

    .step-box h1 {
        left: 17%;
    }
}

@media only screen and (max-width: 991.98px) {
    /* ---------------------------- */
    /* Typography                   */
    /* ---------------------------- */
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 22px;
    }

    h5 {
        font-size: 20px;
    }

    h6 {
        font-size: 18px;
    }

    button,
    a {
        font-size: 17px;
    }

    p {
        font-size: 16px;
    }

    /* ---------------------------- */
    /* Header and Navbar            */
    /* ---------------------------- */
    /* padding: 4em 2em 4em 2em; */
    .section {
        padding: 4em 1em;
    }

    .top-bar {
        display: none;
    }

    .logo-box img {
        max-height: 86px;
    }

    .logo-drawer img {
        max-height: 60px;
    }

    .nav-link {
        font-size: 1rem;
        padding-block: 0.5rem;
        padding-inline: 0.5rem;
    }

    .nav-link.active,
    .nav-link:hover,
    .nav-link:focus {
        color: var(--primary-color) !important;
    }

    .navbar-nav .nav-link {
        padding-block: 0.5rem;
        padding-inline: 0.5rem;
    }

    .dropdown-menu {
        border-radius: 0;
        width: 100%;
        padding: 5px 0px 5px 0px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .dropdown-item {
        font-size: 1rem;
        padding-block: 0.5rem;
        padding-inline: 0.5rem;
    }

    .btn-quotes {
        display: none;
    }

    .img-circle {
        width: 275px;
        height: 275px;
    }

    .step-box h1 {
        left: 5%;
    }

    .feedback-slide {
        width: 33.333%; /* 3 slides per-row for desktop */
    }

    .bg-secondary-gradient {
        background: linear-gradient(
            to top,
            white 0%,
            white 62%,
            #ffffff 61%,
            #c4fcff 100%
        );
    }

    .quotes-section {
        position: relative; /* Force container in-front of background */
        overflow: hidden;
        padding: 0;
    }

    .quotes-section > .container {
        position: relative; /* Force container in-front of background */
        z-index: 2;
        padding: 0;
    }

    .quotes-section > .card {
        margin-top: 70px;
    }

    .img-container {
        width: 90%;
    }

    .ratio-wrapper-429 {
        aspect-ratio: 16 / 9;
    }

    .img-circle {
        width: 300px;
        height: 300px;
    }

    .footer-logo {
        text-align: center;
        padding: 0 4rem;
    }

    .footer-logo > img {
        max-height: 85px;
    }

    .error-code {
        font-size: 15rem;
    }
}

@media only screen and (max-width: 767.98px) {
    .btn-play {
        width: 80%;
    }

    .badge-cta {
        display: none;
    }

    .bg-secondary-gradient {
        background: linear-gradient(
            to top,
            white 0%,
            white 61%,
            #ffffff 61%,
            #c4fcff 100%
        );
    }

    .img-container {
        width: 85%;
    }

    .ratio-wrapper-429 {
        aspect-ratio: 1 / 1;
    }

    .img-circle {
        width: 300px;
        height: 300px;
    }

    .step-box h1 {
        left: 6%;
    }

    .footer-logo > img {
        max-height: 65px;
    }
}

@media only screen and (max-width: 576.98px) {
    .ratio-wrapper-429 {
        aspect-ratio: 3 / 4;
    }

    .img-circle {
        width: 185px;
        height: 185px;
    }

    .step-box h1 {
        left: 8%;
    }

    .error-code {
        font-size: 10rem;
    }
}
.word-with-tooltip {
    position: relative;
    display: inline-block;
    color: #007bff;
    cursor: pointer;
}

.word-with-tooltip .tooltip {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* فوق الكلمة */
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.word-with-tooltip .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    /* ذيل الفقاعة */
    right: 50%;
    margin-right: -5px;
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.word-with-tooltip:hover .tooltip,
.word-with-tooltip:focus .tooltip {
    visibility: visible;
    opacity: 1;
}
/* تنسيق الراديو بشكل عام */
input[type="radio"].custom-radio {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 2px solid #21bec6;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* عند التحديد */
input[type="radio"].custom-radio:checked {
    background-color: #21bec6;
    border-color: #21bec6;
}

/* نقطة داخلية عند التحديد */
input[type="radio"].custom-radio:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}


 .checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* عمودين متساويين */
    gap: 10px 20px; /* مسافة بين الصفوف والأعمدة */
    padding: 10px;
  }

  .formbuilder-checkbox-inline {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #fff;
    border-radius: 6px;
    transition: background 0.3s;
  }

  .formbuilder-checkbox-inline:hover {
    background-color: #f0f0f0;
  }

  .formbuilder-checkbox-inline input[type="checkbox"] {
    margin-right: 12px;
        
    transform: scale(1.0); /* تكبير حجم الـ checkbox */
    width: 20px;
    height: 20px;
  }

  .formbuilder-checkbox-inline label {
    margin: 0;
    margin-left: 10px;
    font-size: 18px; /* تكبير الخط */
    color: #333;
  }

  .kc-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .kc-toggle span {
    display: none; /* إخفاء الدائرة الفارغة إذا لم تستخدمها */
  }

  @media (max-width: 600px) {
    .checkbox-group {
      grid-template-columns: 1fr;
    }
  }

  .formbuilder-checkbox-group-label {
    font-size: 25px !important;
    font-weight: 600;
    color: #21bec6;

}

.formbuilder-radio-group-label{
      font-size: 25px !important;
    font-weight: 600;
    color: #21bec6;
}
.formbuilder-radio-group{
      font-size: 18px  !important; 
    font-weight: 600;
  
}

.formbuilder-textarea-label{
      font-size: 25px !important;
    font-weight: 600;
    color: #21bec6;
}

.formbuilder-text-label{
        font-size: 25px !important;
    font-weight: 600;
    color: #21bec6;
}

/* ✅ ترتيب الراديو بعرض عمودين */
.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* عمودين */
    gap: 10px 20px;
    padding: 10px;
}

/* ✅ تصميم كل خيار راديو */
.formbuilder-radio-inline {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: background 0.3s;
}

.formbuilder-radio-inline:hover {
    background-color: #f0f0f0;
}

/* ✅ تكبير الراديو */
.formbuilder-radio-inline input[type="radio"] {
    margin-right: 12px;
    transform: scale(1.1);
    width: 20px;
    height: 20px;
}

/* ✅ تنسيق النص */
.formbuilder-radio-inline label {
    margin: 0;
    margin-left: 10px;
    font-size: 25px;
    color: #333;
}

/* ✅ موبايل: عمود واحد */
@media (max-width: 600px) {
    .radio-group {
        grid-template-columns: 1fr;
    }
}
  .field-list {
    display: flex;
    align-items: center;
    gap: 8px; /* مسافة بين الرقم والإنبوت */
}

.field-list label {
    margin: 0; /* يشيل أي فراغ إضافي */
}

.field-list input {
    flex: 1; /* يخلي الإنبتد يتمدد وياخذ المساحة */
}







  .field-list2 {
    display: flex;
    align-items: center;
    gap: 8px; /* مسافة بين الرقم والإنبوت */
}

.field-list2 label {
    margin: 0; /* يشيل أي فراغ إضافي */
}

.field-list2 input {
    flex: 1; /* يخلي الإنبتد يتمدد وياخذ المساحة */
}




  .field-list3 {
    display: flex;
    align-items: center;
    gap: 8px; /* مسافة بين الرقم والإنبوت */
}

.field-list3 label {
    margin: 0; /* يشيل أي فراغ إضافي */
}

.field-list3 input {
    flex: 1; /* يخلي الإنبتد يتمدد وياخذ المساحة */
}
