﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}

body {*/
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;*/
  /* Set the fixed height of the footer here */
  /*height: 60px;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/

body {
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    line-height: 1.5;
    color: #5f5f5f;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: solid gray 5px;
    font-size: 13px;
    color: #1c1d3e;
    background: #fafaff;
    border: 1px solid transparent;
    box-shadow: revert-layer;
}

.lables {
    font-size: 15px;
    color: black;
    font-weight: 600;
}

.option:hover {
    background-color: ButtonHighlight;
}

section {
    padding: 40px 0;
}

.custom-mt-10 {
    margin-top: -42px;
}

.z-index-1 {
    z-index: 1;
    position: relative;
}

.o-hidden {
    overflow: hidden;
}

.p-0 {
    padding: 0 !important;
}

.align-items-center {
    -ms-flex-align: center !important;
    align-items: center !important;
}

.img-center {
    display: inline-block !important;
    max-width: 100%;
}

img {
    vertical-align: middle;
    border-style: none;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

/* اللغة العربية */
html[lang="ar"] .form-check {
    direction: rtl; /* يخلي كل شيء من اليمين لليسار */
    text-align: right;
}

html[lang="ar"] .form-check-label {
    margin-right: 1rem; /* مسافة صغيرة بعد التشيك بوكس */
    margin-left: 0;
}

/* اللغة الإنجليزية */
html[lang="en"] .form-check {
    direction: ltr; /* يخلي كل شيء من اليسار لليمين */
    text-align: left;
}

html[lang="en"] .form-check-label {
    margin-left: 1rem; /* مسافة صغيرة بعد التشيك بوكس */
    margin-right: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

@@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#display {
    background-position: center;
    background-size: cover;
    border: 2px solid black;
    width: 190px;
    height: 100px;
    padding: 10px;
    box-sizing: border-box;
    margin-top: 20px !important;
    display: flex;
    margin-left: 12px;
}

.text-primary {
    color: #f48900 !important;
}

/* -------------------------------------------------------- */
/* CSS for Show More/Less Functionality */
/* -------------------------------------------------------- */
/* Initially hide the full portion of the description */
.description-full {
    display: none;
    /* Ensure no extra margin is applied to the revealed text */
    margin-top: 0;
    padding-top: 0;
}

/* Style the 'Show More' link to look clickable and distinct */
.js-toggle-description {
    display: inline-block;
    color: #00c7a9; /* Bootstrap primary color for links */
    cursor: pointer;
    text-decoration: underline;
    font-weight: 400;
    margin-top: 2px; /* Add a little space above the link */
    transition: color 0.2s ease;
}

    .js-toggle-description:hover,
    .js-toggle-description:focus {
        color: #00c7a8;
        font-weight: 500;
        text-decoration: underline;
    }

    .js-toggle-description.is-toggled {
        color: #f48900; /* 'Show Less' color */
        font-weight: 400;
    }
/* -------------------------------------------------------- */
/* Expanded State: Toggled by JavaScript */
/* -------------------------------------------------------- */

/* When the parent container has the 'expanded' class: */

/* 1. Hide the short preview text */
.card-description-container.expanded .description-preview {
    display: none;
}

/* 2. Show the full text */
.card-description-container.expanded .description-full {
    display: block;
}

.description-scroll-box {
    max-height: 400px;
    /* Enable vertical scrolling only when content overflows the max-height */
    overflow-y: auto;
    /* Add some padding for aesthetics */
    padding-right: 10px; /* To prevent text from touching the scrollbar */
    margin-bottom: 10px; /* Space between description and button */
}

.navbar-nav .nav-item .nav-link.actived {
    color: #109f99 !important;
}

/*موبايل*/
@media (max-width: 991.98px) {
    .container-fluid {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        margin-right: auto;
        margin-left: auto;
    }
}