body {
    font-family: "Poppins", sans-serif;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-left: 10px;
        background-color: #b9aa79;
        border-radius: 15px;
        box-shadow: 5px 5px 15px rgba(65, 61, 25, 0.3);
    }

    .navbar-collapse .navbar-nav {
        padding-left: 20px; /* Adjust this value as needed */
    }
}

.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-slider img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}
.logo {
    height: 60px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .logo {
        height: 40px; /* Reduce size on tablets */
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px; /* Reduce size further on mobile */
    }
}







.hero-slider img.active {
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
}

.btn-custom {
    background-color: #b2a67f;
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    margin-top: 20px;
}
@media (max-width: 575.98px) {
    .btn-custom {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
}

.btn-custom:hover {
    background-color: #a29170;
}


.btn-custom-2 {
    background-color: #b2a67f;
    color: white;
    border-radius: 15px;
    border: 2px solid #666;
    font-size: 1rem;
    padding: 5px 10px;
    margin-top: 10px;
}

.btn-custom-2:hover {
    background-color: #a29170;
}

.about-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.services-section {
    padding: 60px 0;
    /* background-color: #81847E;  */
    background-color: #b2a67f;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: white;
}

.service-card {
    background-color: #81847e;
    padding: 10px;
    margin: 20px 0 0 0;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
}

.service-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1.1rem;
    color: #f1f1f1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
}
.img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.member-of-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.member-of-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.scrolling-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
    position: relative;
    width: 80vw;
    margin: 0 auto;
}

.scrolling-inner {
    display: flex;
    animation: scroll 30s linear infinite;
}

.member-box {
    flex: 0 0 auto;
    width: 180px;
    height: 125px;
    margin: 0 10px;
    padding: 20px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% + 80vw));
    }
}

.achievements-section {
    padding: 60px 0;
    background-color: #81847e;
}

.achievements-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
}

.achievement-card {
    background-color: #b2a67f;
    padding: 20px;

    width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
}

@media (max-width: 576px) {
    .achievement-card {
        background-color: #b2a67f;
        padding: 10px;
        margin-left: 50px;
        width: 300px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        color: white;
        text-align: center;
    }
}

.counter {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.latest-blogs-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.latest-blogs-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.blog-card {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 15px 0;
}

.blog-card p {
    font-size: 1.1rem;
    color: black;
    margin-bottom: 10px;
}

.read-more {
    color: white;
    
    text-decoration: none;
}

.read-more:hover {
    /* text-decoration: underline; */
}

.btn-view-all {
    background-color: #b2a67f;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.btn-view-all:hover {
    background-color: #a29170;
    color: white;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

/* .faq-section {
  padding: 60px 0;
  background-color: #f9f9f9; 
}

.faq-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.accordion-button {
  background-color: #B2A67F; 
  color: white;
  border: none;
  transition: background-color 0.3s, color 0.3s;
}

.accordion-button:hover,
.accordion-button:focus {
  background-color: #9c8c5e;
}

.accordion-button:not(.collapsed) {
  color: white;
  background-color: #9c8c5e; 
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-body {
  padding: 20px;
  font-size: 1rem;
  color: #555;
  background-color: #f9f9f9;
} */

.ask-question-section {
    padding: 50px 0;
}
@media (max-width: 768px) {
    .ask-question-section {
        margin-top: -70px;
        margin-bottom: -20px;
        padding: 50px 0;
    }
    .ask-question-button {
        margin-left: -70px;
    }
    .ask-question-h2 {
        margin-left: 40px;
    }
}

.ask-box {
    background-color: #81847e;
    padding: 50px;
    border-radius: 10px;
    color: white;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ask-box h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-contact-us {
    background-color: #b2a67f;
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-contact-us:hover {
    background-color: #a29170;
}

.hajj_umrah-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80vh;
    background-color: #f5f5f5;
    padding: 10px;
    width: 100%;
}

.hajj_umrah-card {
    width: 400px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* .hajj_umrah-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  position: absolute;
  animation: hajj_umrah-slide 10s infinite ease-in-out;
} */

.hajj_umrah-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 5s ease-in-out;
}

.hajj-image-slider:hover {
    animation-play-state: paused;
}

/* .hajj-image-slider:hover {
  transform: translateY(1px);
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.5);
} */

.hajj-image-slider {
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.5);
}

.hajj_umrah-carousel {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    animation: hajj_umrah-slide 12s infinite ease-in-out;
}

@keyframes hajj_umrah-slide {
    0%,
    25% {
        transform: translateX(0%);
    }
    30%,
    55% {
        transform: translateX(-100%);
    }
    60%,
    85% {
        transform: translateX(-200%);
    }
    90%,
    100% {
        transform: translateX(0%);
    }
}

.hajj_umrah-content {
    margin-left: 100px;
    max-width: 600px;
}

.hajj_umrah-content h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.hajj_umrah-content p {
    text-align: justify;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.hajj_umrah-wrapper {
    display: flex;
    align-items: center;
    max-width: 1400px;
    width: 90%;
    background: #dddfdf;
    padding: 30px;
    border-radius: 10px;
    /* box-shadow: 0 10px 30px 30px rgba(0, 0, 0, 0.1); */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hajj_umrah-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        text-align: justify;
    }

    .hajj_umrah-content {
        max-width: 90%;
        margin-top: 20px;
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .hajj_umrah-content {
        text-align: justify;
    }

    .hajj_umrah-wrapper {
        width: 100%;
        height: 100%;
    }

    .hajj_umrah-card {
        max-width: 350px;
        height: 300px;
    }

    .hajj_umrah-content h2 {
        text-align: justify;
        font-size: 24px;
    }

    .hajj_umrah-content p {
        margin-left: -100px;
        font-size: 14px;
        line-height: 1.4;
        text-align: justify;
    }
    .sister-concern-img {
        margin-left: 5px;
    }
    .service-card {
        width: 270px;
        margin-left: 50px;
    }
}

.fixed-buttons {
    position: fixed;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999;
}

.fixed-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #b2a67f;
    color: black;
    padding: 4px 10px;
    border-radius: 15px;
    border: 2px solid #666;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15), 0px 6px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.fixed-button:hover {
    background-color: #666;
    border: 2px solid #b2a67f;
    color: white;
}

.button-icon {
    width: 33px;
    height: 33px;
}

/* Responsive: Hide text on small screens */
@media (max-width: 576px) {
    .fixed-button span {
        display: none;
    }

    .fixed-button {
        padding: 6px; /* Slightly smaller padding since there's no text */
        border-radius: 50%; /* Optional: make them circular */
        justify-content: center; /* Center the icon */
    }
}
html {
    scroll-behavior: smooth;
}
