@font-face {
    font-family: 'Cairo';
    src: url('fonts/Cairo-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Amiri';
    src: url('fonts/Amiri-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Tajawal';
    src: url('fonts/Tajawal-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Almarai';
    src: url('fonts/Almarai-Regular.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Scheherazade New';
    src: url('fonts/ScheherazadeNew-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Lateef';
    src: url('fonts/Lateef-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Reem Kufi';
    src: url('fonts/ReemKufi-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lalezar';
    src: url('fonts/Lalezar-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Changa';
    src: url('fonts/Changa-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('fonts/OpenSans_Condensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: url('fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Poppins';
    src: url('fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Noto Sans';
    src: url('fonts/NotoSans_Condensed-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}




.font-cairo{
    font-family: 'Cairo', sans-serif !important;
}
.text-gray-50{
    color: #d3d3d3;
}
.mr-auto{
    margin-right: auto;
}
/* Navbar1 Styles */
.navbar1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 9;
}
.navbar1 .logo img {
    height: 50px;
    min-width: 60px;
}

.navbar1 .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.navbar1 .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.5s ease;
    position: relative;
}
.navbar1 .nav-links a:hover {
    color: var(--main-color);
}
.navbar1 .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}
.navbar1 .nav-links a:hover::after {
    width: 90%;
}
@media (max-width: 768px) {
    .navbar1 {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .navbar1 .nav-links {
        gap: 1rem;
    }
}
 @media (max-width: 480px) {
    .navbar1 .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Simple Dropdown  */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-toggle::after {
    content: "Down Arrow";
    font-size: 0.7em;
    margin-left: 4px;
    transition: transform 0.2s;
}
.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 150%;
    right: 0;
    min-width: 150px;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.6s ease;
    z-index: 50;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #374151;
    font-size: 0.875rem;
    padding-right: 10px !important;
}
.dropdown-menu a:hover {
    background: #f3f4f6;
}
.right--10{
    right: -10px;
}

/* slider1 */
.slider1-container {
    position: relative;
    overflow: hidden;
}
.slider1-container .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 480px;
}
.slider1-container .slider .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
    text-align: center;
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center;
}
.slider1-container .slider .slide::before{
    content: '';
    position: absolute;
    left: 0;right: 0;top: 0;bottom: 0;
    background-color: #0009;
}
.slider1-container .slider .slide *{
    z-index: 9;
}
.slider1-container .slider .slide h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.slider1-container .slider .slide p {
    font-size: 1.2rem;
    max-width: 80%;
    line-height: 1.6;
}
.tp-btn{
  height: 55px;
  line-height: 55px;
  padding: 0 40px;
  border-radius: 55px;
  text-align: center;
  text-transform: capitalize;
  position: relative;
  transition: all 0.5s;
  overflow: hidden;
  z-index: 1;
  margin-top: 40px;
}
.slider1-container .slider-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider1-container .slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}
.slider1-container .slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}
.slider1-container .slider-indicators .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider1-container .slider-indicators .dot.active {
    background: var(--main-color);
    transform: scale(1.2);
}
.slider1-container .slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.slider1-container .slider-controls #prevBtn{
    position: absolute;
    top: 48%;
    right: 30px;
}
.slider1-container .slider-controls #nextBtn{
    position: absolute;
    top: 48%;
    left: 30px;
}

@media (max-width: 768px) {
    .slider1-container .slider .slider {
        height: 300px;
    }
    .slider1-container .slider .slide h2 {
        font-size: 1.8rem;
    }
    .slider1-container .slider .slide p {
        font-size: 1rem;
    }
}
/* ==== end slider1 ===== */

/* ==== aboutus1 ===== */
.about1-container {
    padding: 60px 10px;
    margin: 0 auto;
}
.about1-container .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.about1-container .about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
}
.about1-container .about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.about1-container .about-image img {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.about1-container .about-image img:hover {
    transform: translateY(-5px);
}
.about1-container .section-subtitle {
    color: #6c63ff;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.about1-container .section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--main-color);;
    line-height: 1.2;
}
.about1-container .about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: #555;
}
.about1-container .features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}
.about1-container .feature {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.about1-container .feature:hover {
    transform: translateY(-5px);
}
.about1-container .feature i {
    font-size: 24px;
    color: var(--main-color);;
    margin-bottom: 15px;
}
.about1-container .feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--main-color);;
}
.about1-container .cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--main-color);;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--main-color);;
    margin-top: 10px;
}
.about1-container .cta-button:hover {
    background: transparent;
    color: var(--main-color);;
}
.plus-btn{
    background-color: #7f3333;
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease-in-out;
    margin: 10px auto;
}

@media (max-width: 768px) {
    .about1-container .about-content {
        flex-direction: column;
    }
    .about1-container .about-text {
        padding-right: 0;
    }
    .about1-container .section-title {
        font-size: 32px;
    }
    .about1-container .about-image{
        min-width: 100%;
    }
}
/* ==== end about1 ===== */
.z-1000{
    z-index: 1000;
}

/* Glass morphism sidebar */
.fi-sidebar-nav {
    position: relative;
}
.fi-sidebar-nav::after {
    content: '';
    position: absolute;
    left: 0;
    top: 45%;
    transform: translateY(-50%);
    height: 200px;
    width: 2px;
    background: linear-gradient(to bottom, transparent 0%, #444da1 20%, #20b37e 80%, transparent 100%)
}
.dark .fi-sidebar-nav::after {
    background: linear-gradient(to bottom, 
        transparent 0%, 
        #4b5563 20%, 
        #4b5563 80%, 
        transparent 100%);
}

/* container*/
.container{width:100%;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:576px){.container{max-width:540px}}@media (min-width:768px){.container{max-width:720px}}@media (min-width:992px){.container{max-width:960px}}@media (min-width:1200px){.container{max-width:1140px}}

/* blog*/
.blog-title{
    color: var(--main-color);
}
.blog-article {
    transition: transform 0.3s ease;
}
.blog-article:hover {
    transform: translateY(-5px);
}
@media (min-width: 769px) and (max-width: 991px) {
    .blog-article {
        min-width: 46%;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .blog-article {
        min-width: 46%;
    }
}
 @media (max-width: 480px) {
    .blog-article {
        min-width: 100%;
    }
}

.text-main-color{
    color: var(--main-color);
}
.bg-main-color{
    background: var(--main-color);
}
.bg-light-gradient{
    background: linear-gradient(#f2f0f0,#fff);
}
.bg-soft-beige{
    background: #f2efe7
}
.max-w-200px{
    max-width: 200px;
}
.max-w-400px{
    max-width: 400px;
}
.max-w-800px{
    max-width: 800px;
}

.min-w-140px{
    min-width: 140px;
}
.min-w-200px{
    min-width: 200px;
}
.min-w-250px{
    min-width: 250px;
}
.min-w-260px{
    min-width: 260px;
}
@media (max-width: 768px) {
    .min-w-360px{
        min-width: 100%;
    }
}

/* ourteam */
.ourteam-title{
    color: var(--main-color);
}
.ourteam-article img{
    height: 100%;
    min-height: 140px;
    transition: transform 0.3s ease;
}
.ourteam-article img:hover {
    transform: translateY(-5px);
}

/* services-article */
.services-article{
    padding-bottom: 25px;
    border-radius: 12px;
}
.services-article .service-bg{
    height: 280px;
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center;

}
.services-article  .service-icon{
    position: absolute;
    bottom: -37px;
    left: 0;
    right: 0;
    width: 80px;
    background: #fff;
    padding: 16px;
    margin: 0 auto;
    border-radius: 50px;
    transition: transform 0.3s ease;
}
.services-article img:hover {
    transform: translateY(-5px);
}

.dropdown-switch{
  background: #f9f9f9;
  padding:3px 5px !important;
  border-radius: 8px;
  font-size: 13px;
}
.rotate180{
    transform: rotateY(180deg);
}
.img-der{
    position: relative;
}
.img-der > img{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.img-der::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100%;
  height: auto;
  background-color: transparent;
  border: 20px solid #f1eded;
  z-index: 1;
  bottom: -40px;
}
@media (max-width: 768px) {
   .img-der{
        width: 100% !important;
        height: auto !important;
   }
   .img-der > img{
    border: 20px solid #f1eded;
   }
   .img-der::after {
     display: none;
   }
}

.subtitle-line-before::before {
  content: "";
  height: 2px;
  width: 10px;
  background-color: currentColor;
  display: inline-block;
  transform: translateY(-5px);
  margin-right: 10px;
  margin-left: 10px;
}
.title-underline-after{
    position: relative;
}
.title-underline-after::after {
  position: absolute;
  content: "";
  height: 4px;
  width: 45px;
  background: linear-gradient(to right, #EFEFEF, var(--main-color));
  right: 0;
  bottom: -12px;
}
.title-underline-after.text-left::after{
    left: 0;
    right: inherit;
      background: linear-gradient(to left, #EFEFEF, var(--main-color));

}


.pagetitle{
    background-size: cover; 
    background-position: center center;
    position: relative;
}
.pagetitle .content{
    display: flex;
    align-items: center;  
    justify-content: center;
    flex-direction: column; 
    height: 100%;
    position: relative;
}
.pagetitle::before{
    content: '';
    position: absolute;
    top: 0;bottom: 0;
    left: 0;right: 0;
    background-color: #00000050;    
}
