html, body{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 104px; 
}
@font-face {
    font-family: 'Somar';
    src: url('../fonts/Somar-SemiBold.otf') format('opentype');
  }
body {
    font-family: 'Somar', sans-serif;
}

:root{
    --primary-color: #c6ac8f ;
    --secondary-color : #3b3226;
    --swiper-theme-color: #23272A!important;
}
::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;
}
.title {
    font-size: 19px;
    font-weight: 400;
    font-style: italic;
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 20px;
    display: block;
    width: fit-content;
}
p{
    font-size: 20px;
    font-weight: 400;
}
 h1{
    color: white;
    font-weight: 700;
    font-size: 46px;
}
h2{
    font-size: 36px;
    font-weight: 600;
}
@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 */ 
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  .loader-container.hidden {
    opacity: 0;
    visibility: hidden;
  }
.loader {
    --ANIMATION-DELAY-MULTIPLIER: 70ms;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
  .hidden{
    display: hidden;
  }
  .loader span {
    padding: 0;
    margin: 0;
    letter-spacing: -5rem;
    animation-delay: 0s;
    transform: translateY(4rem);
    animation: hideAndSeek 1s alternate infinite cubic-bezier(0.86, 0, 0.07, 1);
  }
  .loader .l {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 0);
  }
  .loader .o {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 1);
  }
  .loader .a {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 2);
  }
  .loader .d {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 3);
  }
  .loader .ispan {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 4);
  }
  .loader .n {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 5);
  }
  .loader .g {
    animation-delay: calc(var(--ANIMATION-DELAY-MULTIPLIER) * 6);
  }
  .letter {
    width: fit-content;
    height: 3rem;
  }
  .i {
    margin-inline: 5px;
  }
  @keyframes hideAndSeek {
    0% {
      transform: translateY(4rem);
    }
    100% {
      transform: translateY(0rem);
    }
  }
  


.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 111;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: bounce 1.5s infinite;
    right: 20px;
}
.whatsapp-icon svg{
    font-size: 30px;
}

/* تأثير التحريك */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* تأثير عند التحويم */
.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    background-color: #25D366;
    color: white;
}

.notification-badge {
    position: absolute;
    top: 0px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
    animation: pulse 1.5s infinite;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-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 {
    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;
}

/* 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 {
    position: fixed; 
    top: 0;
    background: #947959; 
    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;
    filter: drop-shadow() brightness(1);
}
@media(max-width:767px){
    .navbar .logo img{
        width: 60px;
    }
}
.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 a{
    text-decoration: none;
}
.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: #f39c12;
}

/* 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;
}

/* start hero section  */

.hero {
    display: flex;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 80px;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url('../imgs/bg.webp'); 
    animation: background-swipe 15s infinite, zoom-fade 10s infinite; 
    background-attachment: fixed;
    z-index: 1;
}

/* Keyframes for background image swipe */
@keyframes background-swipe {
    0% {
        background-image: url('../imgs/bg.webp');
    }
    33% {
        background-image: url('../imgs/bg-2.webp');
    }
    66% {
        background-image: url('../imgs/bg-2.webp');
    }
    100% {
        background-image: url('../imgs/bg.webp');
    }
}

/* Keyframes for zoom and fade effect */
@keyframes zoom-fade {
    0% {
        transform: scale(1) opacity(0);
    }
    50% {
        transform: scale(1.2) opacity(1);
    }
    100% {
        transform: scale(1) opacity(0);
    }
}
.hero .img-box{
    border-radius: 500px 500px 10px 10px;
    box-shadow: -29px 29px 0px 0px rgb(198, 172, 143);
    overflow: hidden;
    max-width: 500px;
    margin: auto;
    transform: translateY(150px);
}
@media(max-width:992px){
    .hero .img-box{
        transform: translateY(0);
    }
}
.hero::before{
    content: "";
    position: absolute;
    background-color: rgb(94, 80, 63, .8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.btn{
    font-size: 20px;
    font-weight: bold;
    background-color: var(--primary-color); 
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

.btn:hover {
    background-color: transparent; 
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.hero .btn{
    background-color: transparent;
    color: white;
    border:2px solid white;
}
.hero .btn:hover{
    background-color: var(--primary-color);
    border: var(--primary-color);
}

/* end hero section  */


.about{
    padding-top: 100px;
}
@media(max-width:992px){
    .about{
        padding-top: 30px;
    }
}
.umrah-section {
    background: #e5d2bb;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.umrah-section h5 img{
    width: 40px;
    
}
.umrah-text {
    flex: 1;
}
.umrah-img img {
    width: 100%;
    border-radius: 15px;
}
.deal-card {
    padding: 20px;
    border-radius: 30px;
    margin-top: 20px;
    height: 100%;
}
.dark-card {
    background: var(--secondary-color);
    color: white;
}
.light-card {
    background: #e3d4bc;
    color: #3b3226;
    box-shadow: 6px 6px 0px 0px #C6AC8F;
}
.icon-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-wrapper img {
    width: 40px;
}



/* start services section  */

.services .img-box {
    border-top-left-radius: 350px;
    border-top-right-radius: 350px;
    overflow: hidden;
    max-height: 250px;
}

.services .img-box img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.services-section {
    text-align: center;
    padding: 60px 0;
    background-image: url('../imgs/bg-2.webp');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    mix-blend-mode: multiply;
    position: relative;
    z-index: 1;
    margin-top: 45px;

}

.services-section::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgb(198, 172, 143,.6);
    z-index: -1;
}
.service-card {
    background: #c6a783;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    transition: 0.3s;
    height: 100%;
    max-width: 350px;
    margin: auto;
    box-shadow: -19px 19px 0px 0px rgb(198, 172, 143);

}
.services-section .content{
    padding: 20px;
}
.service-card:hover {
    transform: translateY(-5px);
}
.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    color: #fff;
}
.service-details {
    color: #f1f1f1;
}
.service-button {
    background-color: #4a3826;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}
.service-button:hover {
    background-color: #2e2218;
    color: white;
}

.video-container {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video, 
.video-container .video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container .content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.video-placeholder {
    background: url('../imgs/mecca-107730_640.jpg') center/cover no-repeat;
    filter: blur(5px);
    background-position: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.feature-card {
    border-radius: 15px;
    padding: 15px;
    box-shadow: -19px 19px 0px 0px rgb(198, 172, 143);
    height: 100%;
}
.feature-card p{
    font-size: 16px;
}
.feature-card.dark {
    background: var(--secondary-color);
    color: white;
}
.feature-card.light {
    background: #f0e3d0;
    color: var(--secondary-color);
}
.feature-icon {
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.features .img-box{
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    overflow: hidden;
    max-width: 450px;
    margin: auto;
    box-shadow: 39px 39px 0px 0px #f0e3d0;
    position: relative;
}

/* start features section  */
.features {
    padding: 50px 0;
    background-color: white;
}
.features h2 {
    margin-bottom: 5px;
    text-align: center;
    font-weight: bold;

}
.features .row{
    padding-top: 100px;
}
.features p.subtitle {
    color: gray;
    margin-bottom: 20px;
    text-align: center;
}
.feature-box {
    position: relative;
    width: 100%;
    padding: 20px;
    text-align: center;
}
.feature-box .bg-number {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 250px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.05);
}
.feature-box img {
    width: 80px;
    position: relative;
    z-index: 1;
}
.feature-box h4 {
    color: var(--primary-color);
    margin: 10px 0;
    font-weight: bold;
}
.feature-box p {
    font-size: 18px;
    color: gray;
}
/* start swipper section  */

/* start contact section  */

.contact-section {
    background: #fff;
    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-image: url(../imgs/mozy.png);
    mask-image: url(../imgs/mozy.png);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -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);
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: all .3s ease;
}
.contact-form button:hover {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid 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: #0a0e1a;
    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);
  }



/* 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;
}

.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);
    }
}




