html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 104px; 
}
@font-face{
    font-family: "Saudi";
    src: url('../fonts/Saudi-Medium.ttf') format('opentype');
}
body {
    font-family: 'Almarai', 'jazeera';
}

:root{
    --secondary-color: #b4a269 ;
    --primary-color: #736736;
}
::selection {
    color: white;
    background: var(--primary-color);
  }
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}

p{
    font-size: 20px;
    font-weight: 400;
}
 h1{
    color: white;
    font-weight: 700;
    font-size: 46px;
}
h2{
    font-size: 36px;
    font-weight: 600;
    font-family: 'Almarai', 'Almarai';

}
@media(max-width:767px){
    h1{
        font-size: 30px;
    }
    .hero .btn{
        font-size: 16px;
    }
    p{
        font-size: 18px;
        font-weight: 400;
    }
    h2{
        font-size: 28px;
    }
}

/* From Uiverse.io by Smit-Prajapati */ 
/* From Uiverse.io by mrpumps31232 */ 
.loading-wave {
    width: 300px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }
  
  .loading-bar {
    width: 20px;
    height: 10px;
    margin: 0 5px;
    background-color: var(--primary-color);
    border-radius: 5px;
    animation: loading-wave-animation 1s ease-in-out infinite;
  }
  
  .loading-bar:nth-child(2) {
    animation-delay: 0.1s;
  }
  
  .loading-bar:nth-child(3) {
    animation-delay: 0.2s;
  }
  
  .loading-bar:nth-child(4) {
    animation-delay: 0.3s;
  }
  
  @keyframes loading-wave-animation {
    0% {
      height: 10px;
    }
  
    50% {
      height: 50px;
    }
  
    100% {
      height: 10px;
    }
  }
  

.back-to-top {
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 111;
}
.back-to-top-en{
    right: 20px;
}
.back-to-top-ar {
    left: 20px ;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 110%;
}

.progress-ring circle {
    fill: none;
    stroke: #fff;
    stroke-width: 5;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 0.2s ease-in-out;
}

/* Language Switcher Styles */
#language-switcher {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
}
[dir="rtl"] #language-switcher{
    right: 20px;
    width: fit-content;
}
.language-switcher-toggle {
    background-color: #fff;
    color: #333;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    border: 1px solid #ccc;
    font-size: 14px;
}

.language-switcher-toggle:hover {
    background-color: #ddd;
}

.language-switcher-toggle .current-lang {
    margin-left: 8px;
}

.language-switcher-toggle .arrow {
    margin-left: 8px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.language-menu {
    display: none;
    background-color: #fff;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 120px;
}

.language-option {
    display: flex;
    align-items: center;
    padding: 8px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #ddd;
}

.language-option .flag-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
}

/* Arrow rotation when the menu is open */
.language-switcher-toggle.open .arrow {
    transform: rotate(-135deg);
}

/* start nav  */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    padding: 10px 20px;
    position: absolute; 
    z-index: 11;
    width: 100%;
    background: transparent;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease, box-shadow 0.3s ease, opacity 0.6s ease; 
    opacity: 1;

}

.navbar.fixed .logo img{
    filter: brightness(0) invert();
}
.navbar.fixed {
    position: fixed; 
    top: 0;
    background: var(--primary-color); 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    opacity: 1;
}

.navbar.hide {
    transform: translateY(-100%); 
    opacity: 0; 
}
.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar .nav-links li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
    font-size: 20px;
}

.navbar .nav-links li a:hover {
    color: var(--secondary-color);
}

/* Hamburger icon styling */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 2px;
}

/* Side navbar (hidden by default) */
.side-navbar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: var(--primary-color);
    color: #fff;
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
}
.side-navbar .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    background: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.side-navbar ul {
    list-style: none;
    padding: 0;
}

.side-navbar ul li {
    margin: 20px 0;
    text-align: center;
}

.side-navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.side-navbar ul li a:hover {
    color: var(--secondary-color);
}

/* Responsive styling */
@media (max-width: 992px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Show the side navbar when active */
.side-navbar.active {
    left: 0;
}



.btn{
    font-size: 20px;
    font-weight: bold;
    background-color: var(--primary-color); 
    color: white;
    padding: 12px 30px;
    border-radius: 35px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.btn:hover {
    background-color: transparent; 
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.btn:not(:hover){
    transition: all .3s  ease-in-out;
}
@media(max-width:767px){
    .btn{
        font-size: 16px;
    }
}
/* start hero section  */

.hero-section {
    position: relative;
    overflow: hidden;
}
.hero{
    min-height: 100vh;
    background-image: url('../imgs/hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.hero-carousel .item {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 150px;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #ccd6f6;
}

.hero-btn {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #fff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* للشاشات الصغيرة (أقل من 768px) */
@media (max-width: 767px) {
    .hero{
        background-image: url('../imgs/mobile-hero.webp');
    }

}
/* Custom Owl Nav Styles */


.owl-nav button.owl-prev,
.owl-nav button.owl-next {
    display: none !important;
}


/* Navigation Controls Container */



@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-carousel .item {
        height: 70vh;
    }
}

/* end hero section  */

/* start about-us section  */
.about-us{
    padding-block: 45px;
}
.about-us .img-box img{
    border-radius: 30% 0% 30% 0% ;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.about-us .mission-vision .box{
    display: flex;
    gap: 15px;
}
.about-us .mission-vision .box .icon-box{
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    height: fit-content;
    align-items: center;
    justify-content: center;
}
.about-us .mission-vision .box:hover{
    transform: translateY(-10px);
    transition: all .3s ease-in-out;
}
.aboutus_right {
    width: 50%;
    vertical-align: top;
    background-image: url(../imgs/bg40.webp);
    background-position: 40px 70px;
    background-size: 39% auto;
    display: table-cell;
    position: relative;
    background-repeat: no-repeat;
    padding: 20px;
}
.aboutus_right_img img {
    width: 90%;
    object-fit: cover;
    object-position: center;
}
.aboutus_right_img img.aboutus_right_small {
    position: relative;
    margin-top: -120px;
    border: 10px solid #fff;
    width: 60%;
}
.aboutus_right_img .en-law{
    float: right;
}
.aboutus_right_img .ar-law{
    float: left;
}
.aboutus_right_txt {
    background-color: var(--primary-color);
    background-image: url(../imgs/bg45.webp);
    background-repeat: repeat;
    padding: 25px;
    box-shadow: 7px 15px 15px 0px rgba(0, 0, 0, 0.12);
    display: inline-block;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    max-width: 340px;
    background-position: left top;
    position: absolute;
}
.aboutus_right_txt i {
    font-family: FontAwesome5, FontAwesome, iconmoon, Flatico;
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--primary-color);
    display: block;
    text-align: center;
    line-height: 60px;
    font-weight: normal;
    border-radius: 50%;
    float: right;
    font-size: 25px;
    box-shadow: 7px 5px 30px 0 rgba(72, 73, 121, 0.15);
}

.aboutus_right_txt h3 {
    margin-right: 90px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}


/* start cta section  */
.cta{
    padding-block: 100px;
    background-image: url('../imgs/cta.webp');
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}
.cta::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: -1;
}
.cta .btn:hover{
    color: white;
    border: 2px solid white;
}
@media(max-width:767px){
    .cta h1{
        font-size: 20px;
    }
    .cta .btn{
        font-size: 14px;
    }
}
/* start contact section  */

.contact-section {
    background: #f4ede7;
    display: flex;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
    border-radius: 10px;
    overflow: hidden;
    padding-block: 45px;
}
.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}
.contact-image {
    width: 80%;
    margin: auto;
    border-radius: 12px;
    overflow: auto;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    
}
.contact-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form h4 {
    margin: 0;
    color: #555;
    font-size: 14px;
}
.contact-form h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #222;
}
.contact-form form {
    display: flex;
    flex-direction: column;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
[dir="rtl"] .contact-form input,
.contact-form textarea,
.contact-form::placeholder{
    text-align: right;
}
.name-fields {
    display: flex;
    gap: 10px;
}
.name-fields input {
    width: 50%;
}
.contact-form button {
    margin-top: 10px;
    padding: 10px;
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: all .3s ease;
}
.contact-form button:hover {
    background-color: transparent;
    color: var(--primary-color);

}
/* Styles for the popup */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
    z-index: 9999; /* Make sure it appears above other content */
    align-items: center;
    justify-content: center;
  }
  
  /* Popup content */
  .popup-content {
    background-color: var(--secondary-color);
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%; /* Adjust the width as needed */
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  
  .popup-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
  }
  
  .popup-content p {
    font-size: 18px;
    color: white;
  }
  /* OK button */
.ok-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
  }
  
  .ok-btn:hover,
  .ok-btn:focus {
    background-color: white;
    color: var(--primary-color);
  }

  .map-fixed {
    height: 450px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .map-fixed iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }


/* start footer  */
.footer-area {
    background-color: var(--primary-color);
    color: white;
    padding-top: 70px;
    padding-bottom: 30px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    position: relative;
    z-index: 1;
}
.footer-area::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    z-index: -1;
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert();
}

.footer-widget h4 {
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-widget p {
    font-size: 18px;
    line-height: 1.8;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: white; 
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: white;
}

.contact-info li i {
    font-size: 20px;
    margin-right: 10px;
    color: white; 
}

.contact-info a {
    color: white; 
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: white; 
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a i{
    font-size: 25px;
    color: white;
    transition: color 0.3s ease;
}

.social-icons a i:hover {
    color: white; 
}

.footer-bottom {
    margin-top: 10px;
    font-size: 14px;
    color: white;
    border-top: 1px solid #333;
    padding-top: 15px;
    text-align: center;
}




@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes animate-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(119 ,140,204,.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(119 ,140,204,0);
    }
    100% {
        box-shadow: 0 0 0 40px rgba(119 ,140,204,0);
    }
}




/* start golas section  */
/* خدمات */
.services {
    padding: 80px 0;
    background-color: #F5F5F5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.services .wave {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
    z-index: -1;
}

/* السلايدر */
.services-slider {
    position: relative;
    padding: 0 50px;
    padding-top: 180px;
    overflow: hidden;
}

/* صندوق الخدمة */
.service-box {
    background: transparent;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    margin: 0 15px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.service-box .cover {
    position: absolute;
    top: -155px;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

/* اتجاه الصورة حسب اللغة */
html[dir="rtl"] .service-box .cover {
    left: 50px;
}
html[dir="ltr"] .service-box .cover {
    right: 50px;
}

.service-box .cover img {
    max-width: 180px;
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    height: auto;
    position: relative;
    z-index: 2;
}

.service-box .cover .number {
    font-size: 150px;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    text-stroke: 1px var(--primary-color);
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

/* اتجاه الرقم حسب اللغة */
html[dir="rtl"] .service-box .cover .number {
    margin-right: -30px;
}
html[dir="ltr"] .service-box .cover .number {
    margin-left: -30px;
}

.service-box .content {
    padding: 40px 15px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-box .content .title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-box .content .description {
    color: #6c757d;
    text-align: justify;
    margin-bottom: 20px;
    line-height: 1.6;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.service-box .content .description.show {
    max-height: 500px; 
    opacity: 1;
}

.service-box .read-more {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
    padding: 5px 0;
    display: flex;
    align-items: center;
    align-self: flex-end;
    position: relative;
    text-align: right;
}

/* اتجاه نص اقرأ المزيد */
html[dir="rtl"] .service-box .read-more {
    align-self: flex-end;
    text-align: right;
}
html[dir="ltr"] .service-box .read-more {
    align-self: flex-start;
    text-align: left;
}

.service-box .read-more::after {
    position: absolute;
    content: "";
    width: 130%;
    height: 2px;
    background-color: var(--primary-color);
    top: 50%;
    transform: translateY(-50%);
}

/* اتجاه الخط */
html[dir="rtl"] .service-box .read-more::after {
    right: -140%;
}
html[dir="ltr"] .service-box .read-more::after {
    right: -140%;
}

.service-box .read-more i {
    transition: transform 0.3s ease;
}

/* ترتيب الايقونة والنص */
html[dir="rtl"] .service-box .read-more i {
    margin-right: 5px;
}
html[dir="ltr"] .service-box .read-more i {
    margin-left: 5px;
}

.service-box .read-more.active i {
    transform: rotate(180deg);
}
@media(max-width:767px){
    html[dir="ltr"] .service-box .read-more::after {
        right: -100%;
    }
    
}
/* عنوان القسم */


/* تنسيقات Owl Carousel */
.owl-carousel .owl-stage-outer {
    overflow: visible !important;
}

.owl-btns {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.slider-nav-container {
    position: relative;
    margin-right: 20px;
    display: flex;
}

.owl-nav {
    position: static !important;
    display: flex !important;
    gap: 10px;
    transform: none !important;
    margin-right: 20px;
}

.owl-prev, 
.owl-next {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.owl-prev:hover, 
.owl-next:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.owl-prev i, 
.owl-next i {
    font-size: 18px;
    position: absolute;
}


.services .row .box h4{
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.services .row .box ul li  {
    margin-bottom: 10px;
}
.services .row .box ul li i{
    color: var(--primary-color);
}
.services .row .box ul li a{
    font-size: 24px;
    color: var(--secondary-color);
    font-weight: 600;
}
/* التجاوب مع الشاشات الصغيرة */
@media (max-width: 992px) {
    .service-box {
        height: auto;
    }
    
    .service-box .cover {
        left: 30px;
    }
    
    .service-box .cover .number {
        font-size: 120px;
    }
    
    .service-box .content {
        padding-top: 120px;
    }

}

@media (max-width: 768px) {

    .header-section:after{
        display: none;
    }
    .service-box .cover {
        left: 20px;
        top: -115px;
    }
    
    .service-box .cover img {
        max-width: 140px;
    }
    
    .service-box .cover .number {
        font-size: 100px;
    }
    
    .service-box .content {
        padding-top: 60px;
    }
    
    .services-slider {
        padding: 0 30px;
        padding-top: 120px;
    }
     .services-logo{
        width: 200px;
    }
    .owl-prev, 
    .owl-next{
        width: 40px !important;
        height: 40px !important;
    }
    .service-box .read-more::after{
        width: 80%;
        right: -90%;
    }
    
}

@media (max-width: 576px) {
    .services {
        padding: 60px 0;
    }
    
    .service-box .content .title {
        font-size: 16px;
    }
    
    .service-box .content .description {
        font-size: 0.8rem;
    }
    
    .owl-nav {
        display: none;
    }
    .services .row .box h4{
        font-size: 16px;
    }
    .services .row .box ul li a{
        font-size: 18px;
    }
}
.header-section{
    position: relative;
}
.header-section::after{
    position: absolute;
    content: "";
    width: 50%;
    height: 70%;
    right: -70%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border-left: 10px solid var(--secondary-color);
}
.header-section .title{
    color: var(--primary-color);
    font-size: 50px;
    font-weight: 800;
}
.header-section .sub-title{
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 600;
}
@media(max-width:767px){
    .header-section .title{
        font-size: 26px;
    }
    .header-section .sub-title{
        font-size: 18px;
    }
    .rafed-privacy ul li img{
        max-width: 280px;
    }
}



.features-section {
    padding: 80px 0;
    background-image: url('../imgs/bg-pattern-1.webp');
    background-position: center;
    background-size: cover;
    position: relative;
}

.section-content {
    position: relative;
    z-index: 1;
}

.experience-tag {
    color: #9d7e3f;
    font-weight: 500;
    margin-bottom: 5px;
}

.main-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a2942;
}

.description {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px;
}

.feature-number {
    font-size: 4rem;
    color: #f0f0f0;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a2942;
}

.learn-more {
    color: #9d7e3f;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s;
}

.learn-more:after {
    content: '';
    width: 40px;
    height: 1px;
    background-color: #9d7e3f;
    position: absolute;
    bottom: -5px;
    right: 0;
    transition: all 0.3s;
}

.learn-more:hover {
    color: #7a6232;
}

.learn-more:hover:after {
    width: 60px;
}

.feature-card {
    padding: 30px 20px;
    transition: all 0.3s;
    height: 100%;
}

.feature-card:hover {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Additional styles for Why Choose Us section */
.why-choose-us {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
}

.why-choose-title {
    color: #1a2942;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.why-choose-title:after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #9d7e3f;
    position: absolute;
    bottom: -10px;
}
html[dir="ltr"] .why-choose-title:after{
    left: 0;
}
html[dir="rtl"] .why-choose-title:after{
    right: 0;
}
.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.check-icon {
    color: #9d7e3f;
    background-color: rgba(157, 126, 63, 0.1);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-text {
    font-size: 1.3rem;
    color: #444;
}

@media(max-width:767px){
    .main-title{
        font-size: 1.8rem;
    }
    .benefit-text{
        font-size: 1rem;
    }
}

/* start testimonials  */
.testimonials{
    background-color: #f5f6f0;
    background-position: center;
    background-size: cover;
    padding-block: 45px;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 310px;
}
html[dir="ltr"] .testimonial-card{
    text-align: left;
}
.quote-icon {
    font-size: 40px;
    color: #444;
    margin-bottom: 20px;
}
.testimonial-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}
.client-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* Owl Carousel Custom Navigation */
.testimonials .owl-dots{
    display: none;
}
.owl-carousel{
    overflow: hidden;
}
/* start faqs section  */
.heading-area {
    text-align: center;
    margin-block: 50px;
}
.heading-area .sub-title {
    display: inline-block;
    position: relative;
    color: #57595c;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* قبل العنوان */


.heading-area .sec-title {
    font-size: 40px;
    color: black;
}


@media(max-width:991px) {
    .heading-area .sec-title {
        font-size: 35px;
    }
}



.faq-container {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
}
.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}
.faq-question {
    background: #fff;
    padding: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    display: none;
    padding: 15px;
    font-size: 18px;
    color: #333;
}
.faq-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eeefea;
    border-radius: 5px;
    font-size: 20px;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: white;
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);

}
@media(max-width:992px){
    .faq-question{
        font-size: 18px;
    }
    .faq-answer {
        font-size: 14px;
    }
    .faq-icon{
        width: 30px;
        height: 30px;
        font-size: 15px;
    }
}