@font-face {
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    src: url('https://fonts.googleapis.com/css?family=Montserrat') format('woff2');
}

@font-face {
    font-family: 'Istok Web', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    src: url('https://fonts.googleapis.com/css?family=Jaro') format('woff2');
}

:root {
    --primary-color: #2a2a2a;
    --secondary-color: #f1f1f1;
    --dark-color: #2a2a2a;
    --link-color: #6e4f41;
    --req-color: #6d1b1b;
    --action-color-bg: #C1DFA9;
    --action-color-tx: #BC876F;
    --primary-bg-color: #C1DFA9;
    --about-bg-color: #b2d1ec;
    --gray-color: #676767;
    --bg-overlay-color: #6D6D6D;
    --primary-font-family: 'Montserrat', sans-serif;
    --secondary-font-family: 'Istok Web', sans-serif;
    --font-weight-bold: bold;
    --font-weight-normal: normal;
    --font-weight-light: 300;
    --font-weight-thin: 100;
    --h1-font-size: 45px;
    --h2-font-size: 35px;
    --h3-font-size: 28px;
    --h4-font-size: 24px;
    --h5-font-size: 22px;
    --h6-font-size: 22px;
    --p-font-size:  18px;
    --links-font-size:  16px;
    --footer-font-size:  12px;
    --base-font-size: 16px;
    --menu-font-size: 14px;
    --border-radius-large: 100%;
    --border-radius-small: 2px;
}




body,
html {
    font-family: var(--secondary-font-family);
    height: 100%;
    margin: 0;
}


/*---------------------------------------
     TYPOGRAPHY              
  -----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: normal;
    color: var(--primary-color);
}

h1 {
    font-family: var(--primary-font-family);
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    margin: 20px 0;
    /* letter-spacing: -1px;
    text-transform: uppercase; */
}

h2 {
    font-family: var(--primary-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--font-weight-bold);
    margin: 20px 0;
    /* letter-spacing: 1px; */
}

h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    /* letter-spacing: -1px;
    margin: 0; */
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
}

h6 {
    color: var(--gray-color);
    font-size: var(--h6-font-size);
    line-height: inherit;
    margin: 0;
}

p {
    color: var(--primary-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    /* line-height: 1.5em; */
}

.gray-text {
    color: var(--gray-color) !important;
}

b,
strong {
    font-weight: var(--font-weight-bold);
    letter-spacing: 0;
}

.section {
    padding: 7rem 0;
}

.section-footer {
    position: relative;
    /* bottom: 30%; */
}

#office_section .list-group-item{
    border: 0px;
}

.our_branches p {
    font-size: 15px;
}


/* BUTTON */

.c-btn-primary {
    background: var(--primary-color);
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    color: var(--secondary-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.c-btn-primary:hover,
.c-btn-primary:focus {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    background: transparent;
}


.c-btn-secondary {
    background: transparent;
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    color: var(--secondary-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border: 1px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.c-btn-secondary:hover,
.c-btn-secondary:focus {
    color: var(--secondary-color);
    border-color: transparent;
    background: var(--primary-color);
}



/*---------------------------------------
     GENERAL               
  -----------------------------------------*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*::before,
*::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: var(--link-color);
    font-weight: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover,
a:active,
a:focus {
    color: rgba(223, 25, 25, 0.65);
    outline: none;
    text-decoration: none;
}


/* BG OVERLAY */

.bg-overlay {
    background: var(--bg-overlay-color);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

hr {
    margin: auto;
    margin-bottom: 1rem;
    width: 95%;
}


/* .ml-auto {
    margin: auto;
} */


/*---------------------------------------
     MODAL              
  -----------------------------------------*/

.modal-content {
    padding: 2rem 3rem;
}

.modal-header,
.modal-body,
.modal-footer {
    border: 0;
    padding: 0;
}

.membership-form a {
    color: var(--primary-color);
}


/*---------------------------------------
    FEATURE          
  -----------------------------------------*/

.feature {
    width: 100%;
    padding: 1rem 0;
    text-align:center;
}

.feature .fa-solid{
    margin: 2rem 0;
}


/*---------------------------------------
    BOX CONTENTS          
  -----------------------------------------*/

  .cta {
    position: relative; /* Ensure the container can position the overlay */
    background-image: url(../images/bg-2.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    color: var(--secondary-color);
    text-align: center;
    width: 100%;
    padding: 2rem 0;
}

.cta::before {
    background-color: var(--bg-overlay-color);
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
    z-index: 1; /* Position it above the background image but below the content */
}

.cta .container {
    position: relative;
    z-index: 2; /* Ensure content is above the overlay */
}

.cta h2,
.cta p {
    color: inherit;
}

.stage_5 {
    background-image: url(../images/background.svg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
}

.stage_2 {
    vertical-align: middle;
    width: 100%;
    padding: 1rem 0;
}

.stage_2 .container .row {
    margin: 0rem;
}

.step_1 {
    background-image: url('../images/steps/1.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 0rem !important;
}

.step_1 .bg {
    background-color: rgba(255, 255, 255, 0.65);
    padding: 0rem 0;
    margin: 0rem;
}

.step_1 .row {
    width: 100%;
    padding: 2rem 0;
    margin: 0rem;
}

.step_2 {
    background-image: url('../images/steps/2.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 0rem !important;
}

.step_2 .bg {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0rem 0;
    margin: 0rem;
}

.step_2 .row {
    width: 100%;
    padding: 2rem 0;
    margin: 0rem;
}

.step_3 {
    background-image: url('../images/steps/3.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    padding: 0rem !important;
}

.step_3 .bg {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 0rem 0;
    margin: 0rem;
}

.step_3 .row {
    width: 100%;
    padding: 2rem 0;
    margin: 0rem;
}


/*---------------------------------------
     MENU             
  -----------------------------------------*/


.navbar {
    background-color: var(--primary-bg-color);
    padding: 0rem !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}


.navbar-brand {
    color: var(--secondary-color);
    font-size: var(--h3-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
    width: 65%;
    min-width: 180px;
    max-width: 300px;
    margin-inline: 0px;
    padding: 0px;
}

.nav-item .nav-link {
    display: block;
    color: var(--secondary-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    padding: 2px 6px;
}

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

.navbar .social-icon li a {
    color: var(--secondary-color);
}

.navbar-toggler {
    border: 0;
    padding: 0;
    cursor: pointer;
    margin: 0 10px 0 0;
    width: 30px;
    height: 35px;
    outline: none;
}

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

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease;
    transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
    background: var(--primary-color);
    transition: background 10ms 300ms ease;
    display: block;
    width: 30px;
    height: 2px;
    position: relative;
}

.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
    transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease;
    transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
    position: absolute;
    right: 0;
    left: 0;
    background: var(--primary-color);
    width: 30px;
    height: 2px;
    content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
    top: 8px;
}

.navbar-logo {
    position: sticky;
    top: 25%;
    width: 35%;
    filter: invert(57%) sepia(16%) saturate(393%) hue-rotate(327deg) brightness(94%) contrast(86%)
}


/*---------------------------------------
     HERO              
  -----------------------------------------*/

.hero {
    background-image: url(../images/bg.jpeg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    /* background: #6D6D6D; */
    vertical-align: middle;
    min-height: 100vh;
    position: relative;
    color: var(--secondary-color);
}

.hero_pic {
    width: 75%;
}

.hero h1,
.hero p {
    color: inherit;
}

/*---------------------------------------
     CLASS               
  -----------------------------------------*/

.class-info {
    background: var(--secondary-color);
    box-shadow: 6px 0 38px rgba(20, 20, 20, 0.10);
    border-radius: 0 0 2px 2px;
    padding: 1rem 2rem;
    position: relative;
}

.class-info img {
    border-radius: 2px 2px 0 0;
}

.class-info strong {
    color: var(--gray-color);
}

.class-price {
    background: var(--primary-color);
    border-radius: var(--border-radius-large);
    color: var(--secondary-color);
    font-weight: var(--font-weight-bold);
    display: block;
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
}


/*---------------------------------------
     Internship FORM             
  -----------------------------------------*/

.l_req:after {
    content:" *";
    color: var(--req-color);
  }

.f_progress {
    height: 0.4rem;
    margin: 0.5rem 0;
}

.arabic_section{
    direction: rtl;
    text-align: right;
}

.footer-main-container{
    background: white;
}

.c-fbtn-act {
    background: var(--action-color-bg);
    color: var(--action-color-tx);
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.c-fbtn-act:hover,
.c-fbtn-act:focus {
    color: var(--action-color-bg);
    border: 1px solid var(--action-color-bg);
    background: transparent;
}

.c-fbtn-pri {
    background: var(--primary-color);
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    color: var(--secondary-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.c-fbtn-pri:hover,
.c-fbtn-pri:focus {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.c-fbtn-sec {
    background: transparent;
    border-radius: var(--border-radius-small);
    padding: 14px 24px;
    color: var(--primary-color);
    font-size: var(--menu-font-size);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    border: 1px solid var(--primary-color);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.c-fbtn-sec:hover,
.c-fbtn-sec:focus {
    color: var(--secondary-color);
    background: var(--primary-color);
}

.c-fbtn-input-act {
    background: var(--action-color-bg);
    color: var(--action-color-tx);
    transition: all 0.3s ease;
}

.c-fbtn-input-act:hover,
.c-fbtn-input-act:focus {
    background: var(--action-color-bg);
    color: var(--action-color-tx);
}

.c-input-otp-digit {
    text-align: center;
    margin: 0rem 1rem;
}

.legend-text {
    font-size: var(--menu-font-size);
    color: var(--link-color);
    align-items: center; /* Vertical */
}

.c-iq-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.c-iq-radio input[type="radio"] {
    margin-top: 8px; /* Adjust this value to adjust the space between the image and the radio button */
}


.page_circle {
    background: transparent;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    color: var(--primary-color);
    display: table;
    margin: 10px auto;
    border: 1px solid var(--primary-color);
}

.page_circle p {
    vertical-align: middle;
    display: table-cell;
}

.final_submit {
    margin: 1rem 0;
}

/* .alert {
    background-color: var(--req-color);
    color: var(--secondary-color);
} */

/*---------------------------------------
     SCHEDULE             
  -----------------------------------------*/

.schedule {
    background: var(--dark-color);
}

.schedule-table {
    display: table;
    border: 0;
    text-align: center;
}

.schedule-table strong,
.schedule-table span {
    display: block;
    text-align: center;
}

.schedule-table strong {
    color: var(--secondary-color);
}

.schedule-table span {
    color: var(--gray-color);
}

.schedule-table span,
.schedule-table small {
    font-size: var(--menu-font-size);
    text-transform: uppercase;
}

.schedule-table small {
    position: relative;
    top: 10px;
}

.table .thead-light th,
.schedule-table tr td:first-child {
    background: var(--primary-color);
    border: 1px solid #212122;
    color: var(--secondary-color);
}

.schedule-table .thead-light th {
    border-bottom: 0;
    text-transform: uppercase;
}

.table-bordered td,
.table-bordered th {
    border: 1px solid #212122;
}

.table-bordered td {
    padding-bottom: 22px;
}

.table td,
.table th {
    padding: 1rem;
}


/*---------------------------------------
      ABOUT & TEAM            
  -----------------------------------------*/

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

.about-working-hours {
    border-left: 2px solid;
    padding-left: 3.5rem;
}

.about-working-hours strong {
    color: var(--secondary-color);
    opacity: 0.85;
}

.team-thumb {
    position: relative;
}

.team-info {
    background: var(--secondary-color);
    border-radius: 0 0 2px 2px;
    box-shadow: 6px 0 38px rgba(20, 20, 20, 0.10);
    padding: 20px;
    position: relative;
}

.team-info span {
    font-weight: var(--font-weight-light);
    opacity: 0.85;
}

.team-info .social-icon {
    position: absolute;
    top: 10px;
    right: 20px;
}

.team-info .social-icon li {
    display: block;
}


/*---------------------------------------
     CONTACT              
  -----------------------------------------*/

.webform input,
button#submit-button {
    height: calc(2.25rem + 20px);
}

.form-control {
    border-radius: var(--border-radius-small);
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--dark-color);
}

button#submit-button {
    background: var(--dark-color);
    border-color: transparent;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

button#submit-button:hover {
    background: var(--primary-color);
}

.contact h2+p {
    max-width: 90%;
}

.google-map {
    border-top: 1px solid #efebeb;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}

.google-map iframe {
    width: 100%;
}

.list-group-item{
    padding: .75rem 1rem;
}

.b-city{
    float: right;
    color: var(--link-color) !important;
}

.float-left{
    float: left;
}

.float-right{
    float: right;
}


/*---------------------------------------
     FOOTER              
  -----------------------------------------*/

.site-footer {
    font-size: var(--menu-font-size);
    color: var(--gray-color);
    display: flex;
    align-items: center; /* Vertical */
    border-top: 1px solid var(--gray-color);
    padding: 1rem 0;
    margin: 0 1rem;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

/*---------------------------------------
     SOCIAL ICON              
  -----------------------------------------*/

.social-icon {
    position: relative;
    top: 50%;
    padding: 0;

}

.social-icon li {
    display: inline-block;
    list-style: none;
}

.social-icon li a {
    text-decoration: none;
    display: inline-block;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-bold);
    margin: 5px 10px;
    text-align: center;
}

.social-icon li a:hover {
    color: var(--primary-color);
}

.loader-container {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    top: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.5);
}

.loader-center {
    display: flex;
    margin: 0 auto;
}

.custom-toast {
    min-width: 100%;
    border-radius: 2px;
    position: fixed;
    z-index: 1;
    bottom: 0px;
    font-size: 17px;
}

.custom-alert {
    margin-bottom: 0px;
}


/*---------------------------------------
     RESPONSIVE STYLES              
  -----------------------------------------*/

@media screen and (max-width: 992px) {
    s .nav-item .nav-link {
        padding: 6px;
    }
    .navbar .social-icon {
        margin-top: 22px;
    }
    .navbar-collapse,
    .site-footer {
        text-align: center;
    }
    .schedule-table {
        display: block;
    }
    .modal-content {
        padding: 2rem;
    }
}

@media screen and (max-width: 767px) {
    .navbar-logo {
        width: 35%;
    }

    h1 {
        font-size: var(--h1-font-size);
    }

    h2 {
        font-size: var(--h2-font-size);
    }

    h3 {
        font-size: var(--h3-font-size);
    }

    .hero {
        background-image: url(../images/bg-m.jpeg);
    }

    .about-working-hours {
        border-left: 0;
        padding: 22px 0 0 0;
    }
    .contact h2 span {
        display: block;
    }
}

@media screen and (max-width: 371px) {
    .navbar-logo {
        width: 65%;
    }
}