@font-face{
    font-family:"SaudiFont";
    src:url('/fonts/WOFF-TT/Saudi Web/SaudiWeb-Bold.woff') format('woff'),
    url('/fonts/WOFF-2-TT/Saudi Web/SaudiWeb-Bold.woff2') format('woff2');
    font-weight:bold;
    font-style:normal;
}
.tooltip-container {
  position: relative;
  display: inline-block;
}

/* Tooltip box */
.tooltip-box {
  position: absolute;
  bottom: calc(100% + 8px); /* show above */
  
  transform: translateX(-50%);
    width: max-content;
    max-width: 240px;
  padding: 8px;

  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;

  box-shadow: 0 4px 12px rgba(0,0,0,0.1);

  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 10;
}
.tooltip-box.start-top{
    left: -16px;
}
.tooltip-box.mid-top{
    left: 50%;
}
.tooltip-box.end-top{
    left: 100%;
}
/* Show on hover */
.tooltip-container:hover .tooltip-box {
  opacity: 1;
  visibility: visible;
}

/* Header (icon + title) */
.tooltip-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.tooltip-title {
  font-weight: 600;
  font-size: 12px;
}

/* Text */
.tooltip-text {
  font-size: 12px;
  line-height: 1.4;
}



/* Arrow (beak) */
.tooltip-box::after {
  content: "";
  position: absolute;
  top: 100%;
  
  transform: translateX(-50%);

  border-width: 6px;
  border-style: solid;
  border-color: white transparent transparent transparent;
}
.tooltip-box.start-top::after{
    right:0;
}
.tooltip-box.mid-top::after{
    left: 50%;
}
.tooltip-box.end-top::after{
    left: 50%;
}

.date-picker {
 position: relative;
}

/*.input-wrapper label {*/
/* display: block;*/
/* margin-bottom: 6px;*/
/* font-size: 14px;*/
/*}*/

/*.input-wrapper input {*/
/* width: 100%;*/
/* padding: 6px 14px;*/
/* border: 1px solid #dee2e6;*/
/* border-radius: 4px;*/
/* font-size: 0.85rem;*/
/*    line-height: 1.85;*/
/*}*/
.input-wrapper:hover input{
    border-color:black;
}
/* الكالندر */
.calendar {
 position: absolute;
 z-index:1;
 top: 50px;
 background: #fff;
 border-radius: 8px;
 padding: 16px;
 border:1px solid var(--Gray-400);
 box-shadow: var(--shadow-md);
}

.hidden {
 display: none;
}

.calendar-header {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 10px;
}

.calendar-header button {
 background: none;
 border: none;
 font-size: 18px;
 cursor: pointer;
}

.controls select {
padding: 4px;
 margin: 0 2px;
 border-radius: 6px;
}

/* الأيام */
.days, .dates {
display: grid;
grid-template-columns: repeat(7, 1fr);
 text-align: center;
}

.days span {
font-size: 14px;
color: #666;
margin-bottom: 8px;
}

/* حجم ثابت */
.dates {
 min-height: 260px;
 font-size:14px;
}
.dates div{
  width: 40px;
    height: 40px;
    display: flex;
 cursor: pointer;
}
.dates div span{
        display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    margin: auto;
border-radius: 50%;
}

/* hover */
.dates div:hover span{
 background: var(--Gray-200);
}
.dates div:active span{
  background:var(--Gray-300);  
}
.dates div:focus-visibale span{
        outline: none;
}
/* أيام خارج الشهر */
.other-month {
 color: #ccc;
 pointer-events: none;
}

/* اليوم الحالي */
.dates .today span{
outline: 2px solid var(--SA-600);
    color: var(--SA-600);
    font-weight:bold;
}
.dates .today:hover span{
    background-color:var(--SA-100);
}
.dates .today:active span{
    background-color:var(--SA-200);
}

/* اليوم المختار */
.dates .selected span{
 background: var(--SA-600);
 color: #fff;
}
.dates .selected:hover span{
    background-color:var(--SA-700);
}
.dates .selected:active span{
    background-color:var(--SA-900);
}
.dates .today.selected span{
    color:white;
    font-weight:bold;
    border: 3px solid white;
    outline: 2px solid var(--SA-600);
    background-color:var(--SA-600);
}
.dates .today.selected:hover span{
    color:white;
    font-weight:bold;
    border: 3px solid white;
    outline: 2px solid var(--SA-700);
    background-color:var(--SA-700);
}
.dates .today.selected:active span{
    color:white;
    font-weight:bold;
    border: 3px solid white;
    outline: 2px solid var(--SA-900);
    background-color:var(--SA-900);
}
.year-select {
  position: relative;
  width: 90px;
  cursor: pointer;
}

.year-select .selected {
  color:var(--text-default);
}

.year-select .options {
  position: absolute;
  top: 40px;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 10;
}

.year-select .options div {
  padding: 8px;
  text-align: center;
}

.year-select .options::-webkit-scrollbar{
    width:16px;
}
.year-select .options::-webkit-scrollbar-track{
    background-color:white;
}
.year-select .options::-webkit-scrollbar-thumb{
    background-color:var(--Gray-300);
    border-radius:10px;
    
}

.hidden {
  display: none;
}
.social-media{
    flex-wrap:wrap;
}
.social-media .tooltip-container a,.social-media .tooltip-container button{
    border: 1px solid white;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-media .tooltip-container a svg,.social-media .tooltip-container button svg{
    width:20px;
    height:20px;
}
.custom-select {
 position: relative;
}
.custom-select .options {
 display: none;
 position: absolute;
 width: 100%;
 background: white;
 border: 1px solid var(--Gray-300);
 max-height: 200px;
 overflow-y: auto;
list-style: none;
padding: 8px;
border-radius: 4px;
margin-top: 5px;
z-index:1;
}
.custom-select.open .options {
 display: block;
}
.custom-select .options li svg{
    display:none;
}
.custom-select .options li.active {
 display: flex;
align-items: center;
justify-content: space-between;
}
.custom-select .options li.active svg{
    display:block;
}
.custom-select .options .check-icon {
 position: absolute;
 right: 8px;
 top: 50%;
 transform: translateY(-50%);
 width: 16px;
 height: 16px;
 color: #000; /* uses stroke="currentColor" */
}

.service-page {
 display: grid;
 grid-template-columns: 2fr 1fr;
 gap: 24px;
 align-items: start;
}
/* LEFT SIDE */
.main-content {
 background: white;
 padding: 24px;
 border-radius: 12px;
 
}
.hero {
 display: flex;
 justify-content: space-between;
 gap: 20px;
 margin-bottom: 30px;
}
.hero h1 {
 font-size: 32px;
 margin-bottom: 12px;
}
/*.tags {*/
/* display: flex;*/
/* gap: 10px;*/
/* margin-bottom: 12px;*/
/* flex-wrap: wrap;*/
/*}*/
/*.tags span {*/
/* background: #eef2ee;*/
/* padding: 6px 10px;*/
/* border-radius: 20px;*/
/* font-size: 14px;*/
/*}*/
.hero p {
 line-height: 1.7;
 color: #666;
}
.start-btn {
 background: #008a4e;
 color: white;
 border: none;
 padding: 14px 22px;
 border-radius: 8px;
 cursor: pointer;
 height: fit-content;
}
/* TABS */
.tabs {
 display: flex;
 gap: 20px;
 border-bottom: 1px solid #ddd;
 margin-bottom: 20px;
}
.tabs button {
 background: none;
 border: none;
 padding-bottom: 10px;
 cursor: pointer;
 font-size: 16px;
}
.tabs .active {
 border-bottom: 3px solid #008a4e;
 font-weight: bold;
}
.tab-content ol {
 padding-left: 20px;
 line-height: 2;
}
/* SIDEBAR */
.sidebar {
 display: flex;
 flex-direction: column;
     background: white;
    border: 1px solid #d2d6db;
    padding: 32px;
    border-radius: 16px;
        margin-top: -140px;
}
.sidebar.contactus{
    margin-top: -140px;
}
.card {
 background: white;
 padding: 20px;
 border-radius: 12px;
}
.card h3 {
 margin-bottom: 8px;
 font-size: 16px;
}
.card p {
 color: #666;
}
/* RESPONSIVE */
@media (max-width: 991px) {
 .service-page {
   grid-template-columns: 1fr;
 }
 .hero {
   flex-direction: column;
 }
 .start-btn {
   width: 100%;
 }
 .sidebar {
   order: 2;
       margin-top: 0;
 }
 .sidebar.contactus{
     margin-top: 0;
 }
 .service-main-content{
     grid-column: span 12 !important;
 }
}
.service-hero-section{
    background-color: var(--SA-50);
    padding: 40px 0;
    width: 100%;
}
.service-grid{
    margin-top: 0px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
    align-items: start;
}
.service-main-content{
        grid-column: span 8;
}
.sidebar-list-title {
    color: var(--text-display);
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    padding: 0;
}
.sidebar-list-title svg{
    width: 24px;
    height: 24px;
}
.sidebar-list-link {
    color: var(--text-default, #161616);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
    padding: 0;
}

.filter-box{
    border-radius: 4px !important;
    min-width: 300px;
    margin-top:5px;
        max-height: 400px;
    height: fit-content !important;
    overflow-y: auto;
}
#filter-box-id{
    display:none;
}
.black-button{
        height: 40px;
    background: black;
    color: white;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
}
#submission-success-message,#close-page-ratings{
    display:none;
}

.filter-main-button,.filter-box{
    left:0;
    right:auto;
}
[lang*=en] .filter-main-button,[lang*=en] .filter-box{
    left: auto;
    right:0;
}
.hero-section {
    position: relative;
    width: 100%;
    height: 491px;
    overflow: hidden;
}

/* Slider Container */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
    }

    



/* Black Overlay Bar - Parent Container */
.overlay-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #231F20;
    padding: 50px 0 80px 0;
    z-index: 10;
    overflow: hidden;
}

.css-selector::after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(183deg, #181010 18.07%, rgba(24, 16, 16, 0.77) 61.28%, rgba(24, 16, 16, 0.00) 110.35%);
    content: "";
    z-index: -1;
}

.css-selector::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(image/header-img-01/pattren-dga.svg) no-repeat;
    z-index: -1;
    background-size: cover;
    background-position: center;
}

/* Pattern Layer - Child 1 */
.pattern-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: auto 100%;
    opacity: 1;
    z-index: 1;
}

/* Gradient Overlay - Child 2 */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(Frame1.png);
    z-index: 2;
}

/* Content Container - Child 3 */
.overlay-content {
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    position: relative;
    z-index: 3;
}

/* Right Side - Text */
.hero-text {
    text-align: right;
}

.hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: #E9DFCF;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #D6CDCB;
    font-weight: 300;
}

/* Left Side - Button */
.hero-button {
    background-color: #ffffff;
    color: #000000;
    padding: 15px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: "IBM Plex Sans Arabic", sans-serif;
}

    .hero-button svg {
        width: 24px;
        height: 24px;
    }

/* Floating Ramdan Button */
.Ramdan-button {
    position: fixed;
    bottom: 10px;
    right: 40px;
    width: 70px;
    height: 70px;
    background-color: #1B8354;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 100;
    text-decoration: none;
}

    .Ramdan-button:hover {
        background-color: #166A45;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    visibility: unset;
}

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

    .dot.active {
        background-color: #1a9b6f;
        width: 14px;
        height: 14px;
    }
