/* General Styles */
:root {
    --primary-color: #008F7E;
    --secondary-color: #FFA500;
    --text-color: #333;
    --background-color: #f9f9f9;
    --white: #fff;
    --black: #000;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
.footer-logo img{
    width: 1000px;
    height: 60px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.page-header {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 550px; /* يمكنك تعديله حسب الحاجة */
    display: flex;
    color: white;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* شفافية للخلفية */
}

.page-header .overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}
.contact-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #ff8c00;
}


.hotel-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    /* Adjust color as needed */
}
/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    width: 1031px;
    height: 483px;
    border-radius: 50px;
    position: relative;
    overflow: visible;
    margin: -40px auto 0 auto;
    box-shadow: var(--shadow);
}

.hero-content {
    max-width: 50%;
    color: var(--white);
    padding-left: 40px;
    position: relative;
    z-index: 2;
    background-image: url('../images/Group-3Shadow.png');
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideLeftToRight 0.8s ease-out;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    animation: slideBottomToTop 0.8s ease-out;
    color: var(--white);
}

.btn {
    display: inline-block;
    background-color: #007a5e;
    color: var(--white);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
    animation: slideLeftToRight 0.8s ease-out;
}

.btn:hover {
    background-color: #005c47;
}


.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;

    position: relative;
    top: -30px;
    animation: float 3s ease-in-out infinite; /* Floating animation */
}

.animated-image {
    max-width: 100%;
    height: auto;
    display: block;
    animation: slideUp 1.5s ease-out;
}



/* Prayer Time Section */
.prayer-time {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    background-color: var(--background-color);
    overflow: hidden;
}


.prayer-time-text {
    max-width: 40%;
}

/* Prayer Time Table */
.prayer-time-table {
    text-align: center;
    width: 100%;
    max-width: 600px;  /* Set a max width for the table */
    margin-top: 20px;
}

/* Styling for current date and Hijri date */
#current-date-display, #hijri-date-display {
    font-size: 18px;
    font-weight: bold;
    color: #008080; /* Elegant Islamic green for Hijri date */
    text-align: center;
    margin: 5px 0;  /* Reduced margin for smaller space between the elements */
    padding: 0;     /* Ensure no extra padding */
}


#hijri-date {
    font-size: 16px;
    font-weight: bold;
    color: #008080; /* Elegant Islamic green */
    margin: 5px 0;
}

#ramadan-day {
    font-size: 16px;
    font-weight: bold;
    color: #D4A017; /* Gold for Ramadan */
    margin-top: 2px;
}
/* New container to center the table */
.prayer-time-table-container {
    flex: 1;
    display: flex;
    flex-direction: column;  /* Stack title and table vertically */
    align-items: center;     /* Center content horizontally */
    justify-content: flex-start;
}
.prayer-time-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px; /* Adjust space between the previous content and the title */
    text-align: center; /* Align title to the center */
    color: #333; /* Change color to your preference */
}


table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.5rem;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: bold;
}

td {
    color: var(--text-color);
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #ff8c00;
}




.package {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.package img {
    width: 100%;
    border-radius: 10px;
    height: 180px;
    object-fit: cover;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .package-container {
        flex-direction: column;
        align-items: center;
    }
    .package {
        width: auto;
        max-width: 300px;
    }
}





.package img {
    width: 100%;
    border-radius: 10px;
    height: 180px;
    object-fit: cover;
}

.package h3 {
    font-size: 20px;
    margin: 15px 0;
}
.features {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to multiple lines */
    gap: 10px;
    margin: 10px 0;
}

.features div {
    display: flex;
    justify-content: space-between;
    width: 48%; /* This will make sure two features fit per row */
}

.features span {
    font-size: 16px;
    color: var(--text-color);
    text-align: center;
    flex: 1;
}


hr {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 10px 0;
}

.details {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin: 5px 0;
}

.package .price {
    font-size: 22px;
    color: #059669;
    font-weight: bold;
    margin: 15px 0;
}

.book-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f59e0b;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.book-btn:hover {
    background-color: #d97706;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.benefits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* Experience Section */
.experience {
    background: url('../images/hajj_back.jpeg') no-repeat center center fixed;
    background-size: cover;
    text-align: center;
    padding: 50px 20px;
    color: var(--white);
    position: relative;
}
/* Discount Section Centering */
/* Ensure Stats Stay in One Row */
.experience .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap; /* Allows items to stay in one row */
    text-align: center;
}

.stat {
    flex: 1; /* Distribute space evenly */
    min-width: 150px; /* Prevents items from stacking */
}

/* Counter Text */
.counter {
    font-size: 40px;
    font-weight: bold;
    display: block;
    color: var(--white);
}

/* Description Below Counter */
.stat p {
    font-size: 18px;
    color: var(--white);
    margin: 0;
}

/* Discount Section Fix */
.discount-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}



.static-text {
    font-size: 32px;
    font-weight: bold;
    color: var(--white);
}



.percent {
    font-size: 40px;
    font-weight: bold;
    color: var(--white);
}


.percent {
    font-size: 40px;
    font-weight: bold;
    color: var(--white);
}
.experience::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 165, 0, 0.7);
    z-index: 0;
    
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
        /* transform: translateX(120px); */

}




/* Affiliations Section */
.affiliations {
    padding: 50px 20px;
    text-align: center;
    background-color: var(--background-color);
}

.affiliations h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-color);
}

.affiliations-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
    max-width: 1200px;
    margin: 0 auto;
}

.affiliation-item {
    background-color: var(--white);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 150px; /* Flexible sizing */
    max-width: 150px; /* Maximum width for each item */
    text-align: center;
}

.affiliation-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.affiliation-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px; /* Rounded corners for images */
}
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden;
        width: auto;
    }

    .container, .wrapper {
        width: auto;
        max-width: 100%;
        margin: 0;
        padding: 0 10px;
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .affiliations-grid {
        gap: 15px; /* Reduce gap on smaller screens */
    }

    .affiliation-item {
        flex: 1 1 120px; /* Smaller items on mobile */
        max-width: 120px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .affiliations-grid {
        gap: 10px; /* Even smaller gap for very small screens */
    }

    .affiliation-item {
        flex: 1 1 100px; /* Very small items for mobile */
        max-width: 100px;
        padding: 8px;
    }
}
/* Benefits Section */
.benefits-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: var(--background-color);
    position: relative;
    overflow: hidden;
}

.benefits-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1280px;
    width: 100%;
}

/* Image Container */
.image-container {
    position: relative;
    width: 500px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #ffcc33, #fff);
    border-radius: 300px 300px 0 0;
    overflow: visible;
    padding: 30px;
}

.image-container img {
    width: 100%;
    height: auto;
    position: relative;
    top: -120px;
    animation: float 3s ease-in-out infinite; /* Floating animation */
}


/* Box Styles */
.box {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    font-weight: bold;
    width: 180px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Initially hidden */
    animation: fadeInUp 0.5s ease-out forwards; /* Fade-in animation */
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.box i {
    font-size: 18px;
    color: var(--primary-color);
}

.box p {
    font-size: 16px;
    margin: 0;
    flex: 1;
}

/* Box Positions with Animation Delays */
.box.top-left {
    top: 8%;
    left: 0%;
    animation-delay: 0.2s; /* Delay for staggered animation */
}

.box.top-right {
    top: 15%;
    right: -5%;
    animation-delay: 0.4s; /* Delay for staggered animation */
}

.box.bottom-left {
    bottom: 40%;
    left: -5%;
    background-color: var(--primary-color);
    color: var(--white);
    animation-delay: 0.6s; /* Delay for staggered animation */
}

.box.bottom-left i {
    color: var(--white);
}

.box.bottom-right {
    bottom: 30%;
    right: -5%;
    animation-delay: 0.8s; /* Delay for staggered animation */
}


/* Content Styles */
.content {
    max-width: 500px;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 0.5s ease-out 1s forwards; /* Fade-in animation with delay */
}

.content .subtitle {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.content .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite; /* Pulse animation for button */
}

.content .btn:hover {
    background-color: #ff8c00;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .benefits-section .container {
        flex-direction: column;
        gap: 40px;
    }

    .image-container {
        width: auto;
        max-width: 400px;
        padding: 20px;
    }

    .image-container img {
        top: -100px;
    }

    .box {
        width: 160px;
        padding: 10px 14px;
    }

    .box.top-left {
        top: 5%;
        left: 0%;
    }

    .box.top-right {
        top: 10%;
        right: -5%;
    }

    .box.bottom-left {
        bottom: 35%;
        left: -5%;
    }

    .box.bottom-right {
        bottom: 25%;
        right: -5%;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 50px 20px;
    }

    .image-container {
        max-width: 300px;
        padding: 15px;
    }

    .image-container img {
        top: -80px;
    }

    .box {
        width: 140px;
        padding: 8px 12px;
    }

    .box i {
        font-size: 16px;
    }

    .box p {
        font-size: 14px;
    }

    .content h2 {
        font-size: 2rem;
    }

    .content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .image-container {
        max-width: 250px;
        padding: 10px;
    }
    .box.top-left {
        top: 25%;
        left: 0%;
    }

    .box.top-right {
        top: 35%;
        right: -5%;
    }
    .image-container img {
        top: -60px;
    }

    .box {
        width: 120px;
        padding: 6px 10px;
    }

    .box i {
        font-size: 14px;
    }

    .box p {
        font-size: 12px;
    }

    .content h2 {
        font-size: 1.75rem;
    }

    .content p {
        font-size: 0.8rem;
    }
}
/* Hajj Furoda Section */
/* About Us Section */
.about-us {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8%;
    background-color: var(--background-color);
    overflow: hidden;
}

.about-us-text {
    max-width: 50%;
    opacity: 0; /* Initially hidden */
    animation: slideInLeft 1s ease-out forwards; /* Slide-in animation */
}

.about-us-text h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-us-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-us-text .btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite; /* Pulse animation for button */
}

.about-us-text .btn:hover {
    background-color: #ff8c00;
}



/* About Us Image */
.about-us-image {
    position: relative;
    max-width: 45%;
    opacity: 0; /* Initially hidden */
    animation: slideInRight 1s ease-out forwards; /* Slide-in animation */
}

.about-us-image img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    top: -55px;
    animation: float 3s ease-in-out infinite; /* Floating animation */
}

.about-us-image::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: var(--primary-color);
    clip-path: polygon(100% 10%, 100% 100%, 0 100%);
    border-radius: 100px 0 100px 100px;
    z-index: 1;
    animation: fadeIn 1s ease-out forwards; /* Fade-in animation */
}



/* Star Rating */
.rating {
    color: #FFA500; /* Orange stars */
    font-size: 1.2rem;
    margin-bottom: 10px;
}


/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px; /* Space between items */
    margin-bottom: 20px;
}

.features-list li {
    font-size: 1rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Audio Player Styles */
.audio-player {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.audio-player audio {
    width: auto; 
    min-width: 300px; /* Set a larger minimum width */
    max-width: 600px; /* Increase the max-width for a larger audio player */
    background-color: var(--primary-color); /* Match your theme color */
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.audio-player audio::-webkit-media-controls-panel {
    background-color: var(--primary-color); /* Match your theme color */
    border-radius: 25px;
}

.audio-player audio::-webkit-media-controls-play-button,
.audio-player audio::-webkit-media-controls-mute-button {
    background-color: var(--secondary-color); /* Match your theme color */
    border-radius: 50%;
}

.audio-player audio::-webkit-media-controls-current-time-display,
.audio-player audio::-webkit-media-controls-time-remaining-display {
    color: var(--white); /* Match your theme color */
}

.audio-player audio::-webkit-media-controls-timeline {
    background-color: var(--secondary); /* Match your theme color */
    border-radius: 5px;
}

.audio-player audio::-webkit-media-controls-volume-slider {
    background-color: var(--secondary-color); /* Match your theme color */
    border-radius: 5px;
}


/* testimonial */
.testimonials {
    text-align: center;
    padding: 50px 20px;
}

.testimonial-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.testimonial-images {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial-image.man {
    background: #007f66;
    width: 200px;
    height: 250px;
    border-radius: 50% 50% 0 0;
}

.testimonial-image.woman {
    background: #f4a600;
    width: 150px;
    height: 180px;
    border-radius: 50% 50% 0 0;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.testimonial-content {
    max-width: 400px;
    text-align: left;
}

.quote-icon {
    font-size: 40px;
    color: #007f66;
}

.stars {
    color: #f4a600;
    font-size: 20px;
}

.customer-role {
    font-size: 14px;
    color: gray;
}


/* Gallery Section */
.gallery {
    text-align: center;
    padding: 50px 20px;
    background: #f8f9fa;
}

.gallery-title {
    font-size: 18px;
    color: #009688;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-heading {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #222;
}

/* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
}

/* Image Styling */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}



.package-card {
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 100%;
    max-width: 250px; /* Smaller width for the cards */
    aspect-ratio: 1 / 1; /* Make the cards square */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.8s ease-out;
    overflow: hidden;
}

/* Odd-numbered cards (1, 3, 5) - Yellow */
.package-card:nth-child(odd) {
    background: #f4a600; /* Yellow */
}

/* Even-numbered cards (2, 4, 6) - Blue */
.package-card:nth-child(even) {
    background: #008F7E; /* Blue */
}

.package-card img {
    width: 80px; /* Adjust image size */
    height: 80px; /* Adjust image size */
    margin-bottom: 15px;
    transition: transform 0.5s ease-in-out;
}

.package-card:hover img {
    transform: translateY(-10px);
}

.package-card h4 {
    font-size: 1.2rem; /* Adjust heading size */
    margin: 10px 0;
    color: #fff; /* White text for better contrast */
}

.package-card p {
    font-size: 0.9rem; /* Adjust paragraph size */
    color: #fff; /* White text for better contrast */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-us {
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
    }

    .about-us-text {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .about-us-image {
        max-width: 80%;
    }

    .about-us-image img {
        top: 0;
    }
}

@media (max-width: 768px) {
    .about-us-text h2 {
        font-size: 2rem;
    }

    .about-us-text p {
        font-size: 0.9rem;
    }

    .about-us-image {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-us-text h2 {
        font-size: 1.75rem;
    }

    .about-us-text p {
        font-size: 0.8rem;
    }

    .about-us-image::before {
        top: 5%;
        height: 90%;
    }
}
/* Packages Section */
.packages {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--background-color);
}

.packages .subtitle {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s ease-out 0.5s forwards; /* Fade-in animation with delay */
}

.packages h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 30px;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s ease-out 0.7s forwards; /* Fade-in animation with delay */
}

.package-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.package {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Initially hidden */
    animation: fadeInUp 0.8s ease-out forwards; /* Fade-in animation */
}

.package:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}


.tag {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.price {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: bold;
}

.book-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite; /* Pulse animation for button */
}

.book-btn:hover {
    background-color: #ff8c00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .package-container {
        gap: 15px;
    }

    .package {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .packages {
        padding: 50px 20px;
    }

    .package {
        width: auto;
        max-width: 300px;
    }

    .package img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .packages h2 {
        font-size: 2rem;
    }

    .package h3 {
        font-size: 18px;
    }

    .features span {
        font-size: 14px;
    }

    .price {
        font-size: 20px;
    }

    .book-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* Pricing Plan Section */
.pricing-plan {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--background-color);
}

.pricing-plan h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 30px;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s ease-out 0.5s forwards; /* Fade-in animation with delay */
}

.plans {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Ensure all plans are equal height */
    gap: 25px;
    flex-wrap: wrap;
}

.plan, .premium-plan {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    min-height: 500px; /* Ensuring same height */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to the bottom */
    opacity: 0; /* Initially hidden */
    animation: fadeInUp 0.8s ease-out forwards; /* Fade-in animation */
}

.plan:hover, .premium-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.plan h3, .premium-plan h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.price, .premium-price {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.premium-price {
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.plan ul, .premium-plan ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
    flex-grow: 1; /* Ensure list takes up available space */
}

.plan ul li, .premium-plan ul li {
    font-size: 16px;
    padding: 6px 0;
    display: flex;
    align-items: center;
}

.plan ul li::before, .premium-plan ul li::before {
    content: "✔️";
    margin-right: 8px;
    color: var(--primary-color);
}

.premium-plan {
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    padding: 40px 30px;
    width: 230px; /* Same width as other plans */
    min-height: 500px; /* Same height as others */
    position: relative;
    text-align: left;
}

.premium-plan::before {
    content: "";
    background: url("../images/Union-1.png") no-repeat center top;
    background-size: contain;
    position: absolute;
    top: -140px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 150px;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s ease-out 1s forwards; /* Fade-in animation with delay */
}

.premium-plan::after {
    content: "Hajj Plus";
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    font-weight: bold;
    color: var(--white);
    text-align: center;
    width: 100%;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s ease-out 1.2s forwards; /* Fade-in animation with delay */
}

.premium-plan ul li::before {
    color: var(--white);
}

.plan button, .premium-plan button {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    margin-top: auto; /* Ensures button stays at the bottom */
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite; /* Pulse animation for button */
}

.plan button:hover, .premium-plan button:hover {
    background-color: #ff8c00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .plans {
        gap: 20px;
    }

    .plan, .premium-plan {
        width: 280px;
    }
}

@media (max-width: 768px) {
    .pricing-plan {
        padding: 50px 20px;
    }

    .plan, .premium-plan {
        width: auto;
        max-width: 300px;
    }

    .premium-plan {
        width: 250px;
    }
}

@media (max-width: 480px) {
    .pricing-plan h2 {
        font-size: 2rem;
    }

    .plan h3, .premium-plan h3 {
        font-size: 20px;
    }

    .price, .premium-price {
        font-size: 22px;
    }

    .plan ul li, .premium-plan ul li {
        font-size: 14px;
    }

    .plan button, .premium-plan button {
        padding: 10px 15px;
        font-size: 14px;
    }
}
/* Contact Section */
.contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    background-color: var(--white);
    overflow: hidden;
}

.contact-left, .contact-right {
    width: 45%;
    opacity: 0; /* Initially hidden */
    animation: fadeIn 1s ease-out forwards; /* Fade-in animation */
}

.contact-left {
    animation-delay: 0.5s; /* Delay for staggered animation */
}

.contact-right {
    animation-delay: 0.7s; /* Delay for staggered animation */
}

/* Image Container */
.contact .image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.contact .contact-image {
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    top: -55px;
    animation: float 3s ease-in-out infinite; /* Floating animation */
}

/* Contact Left Text */
.contact-left h4 {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-top: 20px;
}

.contact-left h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 10px 0;
}

.contact-left p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Right Form */
.contact-right h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-right p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--text-color);
}

input, textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f5f5f5;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

textarea {
    height: 100px;
    resize: none;
}

button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: pulse 2s infinite; /* Pulse animation for button */
}

button:hover {
    background-color: #ff8c00;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact {
        flex-direction: column;
        align-items: center;
        padding: 50px 20px;
    }

    .contact-left, .contact-right {
        width: auto;
        text-align: center;
    }

    .contact-left {
        margin-bottom: 40px;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .contact-left h2 {
        font-size: 2rem;
    }

    .contact-right h2 {
        font-size: 1.75rem;
    }

    .contact-left p, .contact-right p {
        font-size: 0.9rem;
    }

    .contact-image {
        top: 0;
    }
}

@media (max-width: 480px) {
    .contact-left h2 {
        font-size: 1.75rem;
    }

    .contact-right h2 {
        font-size: 1.5rem;
    }

    .contact-left p, .contact-right p {
        font-size: 0.8rem;
    }

    button {
        padding: 10px 15px;
        font-size: 14px;
    }
}


/* Slide Animations */
@keyframes slideUp {
    from {
        transform: translateY(100%) translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0) translateX(-20px);
        opacity: 1;
    }
}

@keyframes slideLeftToRight {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideBottomToTop {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Fade Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hide elements by default */
.animate-on-scroll {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Show elements and trigger animations when the 'animate' class is added */
.animate-on-scroll.animate {
    opacity: 1;
    visibility: visible;
}

/* Slide Animations */
.animate.slideUp {
    animation: slideUp 1s ease-out forwards;
}

.animate.slideLeftToRight {
    animation: slideLeftToRight 1s ease-out forwards;
}

.animate.slideBottomToTop {
    animation: slideBottomToTop 1s ease-out forwards;
}

.animate.slideInLeft {
    animation: slideInLeft 1s ease-out forwards;
}

.animate.slideInRight {
    animation: slideInRight 1s ease-out forwards;
}


.animate.fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate.fadeInUp {
    animation: fadeInUp 1s ease-out forwards;
}

/* Floating Animation */
.animate.float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation */
.animate.pulse {
    animation: pulse 2s infinite;
}


@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo {
        margin-bottom: 15px;
        margin-left: 0;
    }
    
    nav {
        width: auto;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
        width: auto;
    }
    
    nav ul li {
        width: auto;
        text-align: right;
    }
    
    .contact-btn {
        margin-top: 15px;
        width: auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        width: auto;
        height: auto;
        flex-direction: column;
        padding: 30px 20px;
        border-radius: 20px;
        margin-top: 20px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0;
        text-align: center;
        background-image: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-image img {
        top: 0;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .prayer-time {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .prayer-time-text {
        max-width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .prayer-time-table {
        width: auto;
    }
    
    table {
        font-size: 1.2rem;
    }
    
    th, td {
        padding: 10px;
    }
}


