:root {
    --primary-gold: #D4AF37;
    --primary-dark-gold: #B4941F;
    --text-dark: #1A1A1A;
    --text-grey: #666666;
    --white: #FFFFFF;
    --light-bg: #F8F9FA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

/* Floating Particles */
#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    bottom: -50px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark-gold));
    border-radius: 50%;
    opacity: 0.6;
    animation: floatUp 15s linear infinite;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.particle:nth-child(odd) {
    width: 6px;
    height: 6px;
    opacity: 0.4;
}

.particle:nth-child(3n) {
    width: 10px;
    height: 10px;
    opacity: 0.7;
}

.particle:nth-child(4n) {
    width: 4px;
    height: 4px;
    opacity: 0.3;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-110vh) rotate(720deg);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .particle {
        width: 5px;
        height: 5px;
    }

    .particle:nth-child(3n) {
        width: 7px;
        height: 7px;
    }

    .particle:nth-child(4n) {
        width: 3px;
        height: 3px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(to top, #dcdcdc, #ffffff);
    /* Gradient background: gray at bottom, white at top */
    overflow-x: hidden;
}

@media (max-width: 768px) {
    body {
        background: #ffffff;
    }

    .bg-light {
        background: #ffffff !important;
    }

    .packages-section {
        background: #ffffff !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.container-hero {
    max-width: 1500px;
    margin: 0 auto;
    /* padding: 0 20px; */
}

.section-padding {
    padding: 80px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    /* Increased height for the full logo */
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-dark);
    padding: 8px 16px;
    border: 1px solid #ccc;
    /* Boxed style */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--text-dark);
    border-color: var(--primary-gold);
    background: transparent;
}

.nav-links a::after {
    display: none;
    /* Remove underline effect */
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Navbar Dropdown */
.dropdown-container {
    position: relative;
}

.dropdown-container .dropdown-trigger i {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 180px;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    text-transform: capitalize;
    font-size: 14px;
    color: var(--text-dark);
    border: none;
    background: transparent;
    text-align: left;
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.03);
        margin-top: 5px;
        padding-left: 20px;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    /* Height increased */
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    height: 100%;
    width: 100%;
}

.slide {
    height: 100%;
    width: 100%;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}


.slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-content {
    color: white;
    z-index: 2;
    padding-top: 0;
    text-align: left;
    margin-left: 200px;
    /* Moved further right */
    margin-right: auto;
    max-width: 100%;
    transform: translateY(50px);
    /* Moved down */
    display: none;
    /* Hide text content */
}

/* Allow full width access if needed */


.arabic-calligraphy {
    font-family: 'Amiri', serif;
    font-size: 30px;
    margin-bottom: 20px;
    color: #333333;
    /* Dark Grey as requested */
    font-weight: 700;
}

.hero h2 {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #e67e22;
    /* Orange as requested */
    text-shadow: none;
    /* Removed shadow for cleaner look */
}

.hero p {
    font-size: 24px;
    font-weight: 500;
    /* Increased weight for visibility */
    letter-spacing: 1px;
    color: #e67e22;
    /* Orange as requested */
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #007bff;
    /* Changed to blue */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-nav button:hover {
    background: var(--primary-gold);
    color: white;
}

.prev-slide {
    left: 40px;
}

.next-slide {
    right: 40px;
}


/* About Section */
.about {
    position: relative;
    z-index: 10;
    margin-top: -250px;
    /* Increased overlap for image */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    /* padding-bottom removed */
    border-bottom: 1px solid #ddd;
    /* Gray border added */
}

.about-text h3 {
    font-size: 36px;
    margin-bottom: 10px;
    /* Reduced from 30px */
    position: relative;
    /* padding-bottom: 15px; Removed spacing for line */
}

/* Removed ::after pseudo-element for the line */

.about-text p {
    margin-bottom: 20px;
    color: var(--text-grey);
    text-align: justify;
}

.about-image img {
    width: 100%;
    /* border-radius: 10px; Removed as per request usually for transparent PNGs */
    /* box-shadow: var(--shadow-soft); Removed shadow */
}

/* Packages Section Shared */
.section-header {
    margin-bottom: 60px;
}

.title-gold {
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.title-dark {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-grey);
    font-size: 18px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.package-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.umrah-card {
    border-radius: 20px;
}

.umrah-card .card-header-image {
    border-radius: 20px 20px 0 0;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Haji Card Specifics */
.haji-card .card-header-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.haji-card .card-header-image .bg-header {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.haji-card .card-header-image {
    border-radius: 20px 20px 0 0;
}

.haji-card .card-image {
    display: none;
}

.haji-card .card-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.haji-card .badge {
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 50%;
    text-align: center;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    border: 2px solid var(--primary-gold);
}

.haji-card .badge span {
    font-size: 8px;
    opacity: 0.8;
}

.haji-card .badge strong {
    font-size: 12px;
    color: var(--primary-gold);
}

.haji-card .card-details {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
}

.haji-card .price-main {
    text-align: center;
}

.haji-card .price-main h4 {
    color: var(--primary-dark-gold);
    font-size: 24px;
    margin: 5px 0 15px;
    text-align: center;
}

.haji-card .facilities {
    text-align: center;
}

.haji-card .facilities p {
    text-align: center;
}

.haji-card .hotel-list {
    text-align: center;
    font-size: 12px;
    color: #555;
    margin-top: 10px;
    list-style: none;
    padding: 0;
}

.haji-card .hotel-list li {
    margin-bottom: 5px;
    text-align: center;
}

/* Haji Card New Layout (Centered) */
.haji-card-body {
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
}

.haji-price-container {
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.haji-price-currency {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.haji-price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #333;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.haji-departure {
    font-size: 11px;
    color: #888;
    margin-bottom: 20px;
}

.haji-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.haji-details-clean {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    width: 100%;
}

.haji-card-body .card-actions {
    margin-top: 20px;
    gap: 0;
    /* Remove gap completely */
}

.haji-card-body .btn {
    margin: 0;
}


/* Umrah Card Specifics - Redesign */
.umrah-card .card-header-image {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.umrah-card .bg-header {
    width: 100%;
    height: auto;
    /* Changed from 200px to auto to prevent cropping */
    display: block;
    object-fit: contain;
    /* Ensure full image is visible */
    transition: transform 0.5s ease;
}

.umrah-card:hover .bg-header {
    transform: scale(1.05);
}

.umrah-card-body {
    padding: 30px 20px;
    text-align: center;
    /* Center everything */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
}

.umrah-price-container {
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    /* Align items by baseline */
    justify-content: center;
    gap: 5px;
}

.umrah-price-currency {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.umrah-price-amount {
    font-size: 32px;
    /* Large and prominent */
    font-weight: 800;
    color: #333;
    /* Dark grey/black */
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.umrah-departure {
    font-size: 11px;
    color: #888;
    margin-bottom: 20px;
}

.umrah-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.umrah-details-clean {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
    width: 100%;
}

/* Custom styling for details to match screenshot (Label bold, Value normal) */
.umrah-details-clean b {
    display: block;
    color: #777;
    font-size: 11px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 2px;
}

.card-actions {
    width: 100%;
    padding: 0;
    margin-top: auto;
    display: flex;
    /* Added back flex */
    gap: 10px;
    /* Added back gap */
    justify-content: center;
    /* Added back justify-center */
}

/* Restored Button Styles */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detail {
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
}

.btn-detail:hover {
    background: var(--primary-gold);
    color: white;
}

.btn-register {
    background: var(--primary-gold);
    color: white;
}

.btn-register:hover {
    background: var(--primary-dark-gold);
}

.full-width {
    width: 100%;
}

.btn-detail-orange {
    background-color: #F39C12;
    /* Orange matches screenshot */
    color: white;
    border: none;
    padding: 10px 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
    width: auto;
    /* Allow button to size to text, or fixed width if preferred */
    display: inline-block;
}

.btn-detail-orange:hover {
    background-color: #e67e22;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.modal-close:hover {
    color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.1);
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: var(--primary-dark-gold);
    font-size: 28px;
    margin: 0;
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .modal-body {
        max-height: 85vh;
        /* Increased height for mobile */
        padding: 20px;
    }

    .modal-content {
        margin: 10% auto;
        /* Adjust margin for mobile */
        width: 95%;
        /* Wider on mobile */
    }
}

.modal-body h3 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 20px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-grey);
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.modal-body ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-grey);
    position: relative;
    padding-left: 25px;
}

.modal-body ul li:last-child {
    border-bottom: none;
}

.modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: bold;
}

.modal-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid #eee;
    text-align: center;
}

.modal-register-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        max-height: 85vh;
    }

    .modal-header {
        padding: 20px 20px 15px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-body {
        padding: 20px;
        max-height: 50vh;
    }

    .modal-footer {
        padding: 15px 20px 20px;
    }

    .modal-close {
        right: 15px;
        top: 15px;
        font-size: 28px;
    }
}


/* Categories Section */
.categories {
    background: transparent;
    /* Transparent to show body gray */
    padding-bottom: 60px;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.category-item {
    text-align: center;
    width: 250px;
}

.category-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: translateY(-10px);
}

.category-item h3 {
    font-size: 18px;
    color: #555;
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    background-color: transparent;
    /* Transparent to show body gray */
    position: relative;
    padding-top: 50px;
}

.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    /* overflow: hidden; Removed to allow arrows to be seen outside */
    padding: 20px 0;
}

/* Masking or wrapper to clip overflow if needed, but allow arrows to overlap */
.testimonial-track-wrapper {
    overflow: hidden;
    /* Wrap the track separately to hide overflow slides */
}

/* We need to update HTML structure slightly or handle overflow on a parent wrapper if we want arrows outside */
/* Assuming I can only edit CSS, I might need to make 'overflow: visible' on container and 'overflow: hidden' on a new inner wrapper. */
/* Just removing overflow: hidden from container might show all slides. Let's rely on masking or exact width */
/* Wait, without changing HTML structure blindly, I can place arrows absolute to the slider container but checking widths */
.testimonial-mask {
    overflow: hidden;
    padding: 10px;
    /* Add padding to prevent shadow clipping if any */
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-item {
    min-width: 100%;
    /* Each slide takes full width */
    background: transparent;
    /* Card background white for contrast against gray */
    padding: 30px 40px;
    border: 1px solid #777;
    /* Darker border as seen in image */
    border-radius: 0;
    /* Boxy look from image */
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
    /* Ensure max-width is respected */
    /* Center items if needed, but track handles it */
}

/* Ensure slide inner content is properly laid out */
.testimonial-item {
    display: flex;
    flex-direction: row;
    /* Keep image and text side by side */
    text-align: left;
}


.testi-img img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.testi-content {
    flex: 1;
    text-align: left;
}

.testi-content p {
    font-size: 15px;
    color: #222;
    /* Darker text */
    font-weight: 700;
    /* Bold text as in image */
    line-height: 1.5;
    font-style: normal;
}

.testi-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.testi-nav button {
    pointer-events: all;
    background: #e0e0e0;
    /* Light gray background like image buttons */
    border: 2px solid white;
    /* White border ring */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: #777;
    /* Gray arrow */
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

/* Push buttons outside */
.testi-nav .prev-testi {
    margin-left: -80px;
    /* Pull left outside further */
}

.testi-nav .next-testi {
    margin-right: -80px;
    /* Pull right outside further */
}

.testi-nav button:hover {
    background: #fff;
    color: var(--primary-gold);
}


/* Footer */
footer {
    background: transparent;
    /* Matching global gray */
    padding: 60px 0 30px;
    margin-top: 0;
    border-top: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    border-top: none;
}

.footer-left {
    flex: 1;
    min-width: 250px;
    border-right: 1px solid #999;
    /* Vertical divider */
    padding-right: 20px;
}

.footer-left h4 {
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #555;
    font-weight: 700;
}

.footer-left p {
    font-size: 13px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.footer-center {
    flex: 1;
    text-align: center;
    min-width: 200px;
    padding: 0 20px;
    border-right: 1px solid #999;
    /* Vertical divider */
}

.footer-center .arabic-logo {
    font-size: 28px;
    color: #333;
    font-family: 'Amiri', serif;
}

.footer-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.partner-logos {
    display: flex;
    gap: 10px;
}

.partner-logos img {
    height: 30px;
    filter: none;
    /* Keep original colors */
    opacity: 1;
    transition: all 0.3s;
}

.partner-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Floating Whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Package Carousel Styles */
.package-carousel-wrapper {
    position: relative;
}

.package-carousel {
    display: grid;
    transition: transform 0.3s ease;
}

.package-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 10;
}

@media (max-width: 768px) {
    .package-nav {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        gap: 20px;
        padding: 0;
    }
}

.package-nav button {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.package-nav button:hover {
    background: var(--primary-gold);
    color: white;
}

.mobile-only {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 48px;
    }

    .hero {
        height: 70vh;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .package-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-center {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #ccc;
        padding-bottom: 20px;
        width: 100%;
    }

    .footer-right {
        justify-content: center;
        width: 100%;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        /* Reduced from 80px to fix gap */
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 15px 20px;
        text-align: left;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .nav-links a.active {
        border-color: var(--primary-gold);
        background: rgba(212, 175, 55, 0.1);
        color: var(--primary-dark-gold);
    }

    .nav-links a:hover {
        border-color: var(--primary-gold);
        background: rgba(212, 175, 55, 0.05);
    }

    .mobile-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        color: var(--text-dark);
    }
}

@media (max-width: 768px) {

    /* Carousel untuk mobile */
    .package-carousel-wrapper {
        overflow: hidden;
        position: relative;
        margin: 0 auto;
        padding: 0 20px;
        max-width: 400px;
        padding-bottom: 20px;
        /* Add padding for shadow/spacing */
    }

    .package-item {
        min-width: 100%;
        flex-shrink: 0;
        margin: 0;
        padding: 0 10%;
        width: 100%;
        transform: none;
        transform-origin: center;
        box-sizing: border-box;
        scroll-snap-align: center;
        /* Enable snap */
    }

    /* HIDE DETAILS ON MOBILE AS REQUESTED */
    /* Show Body but Hide Specific Elements on Mobile */
    .haji-card-body,
    .umrah-card-body {
        display: block !important;
        padding: 10px !important;
        /* Minimal padding for buttons */
    }

    /* Hide text details specifically */
    .haji-price-container,
    .umrah-price-container,
    .haji-departure,
    .umrah-departure,
    .haji-title,
    .umrah-title,
    .haji-details-clean,
    .umrah-details-clean {
        display: none !important;
    }

    /* Reset Image Corners (top rounded only) */
    .haji-card .card-header-image,
    .umrah-card .bg-header {
        border-radius: 20px 20px 0 0;
        /* Top rounded only */
        height: auto;
        object-fit: contain;
    }

    .package-grid.package-carousel {
        display: flex !important;
        flex-direction: row;
        transition: transform 0.3s ease;
        width: 100%;
        grid-template-columns: none !important;
        gap: 0 !important;
        overflow-x: auto;
        /* Enable scrolling */
        scroll-snap-type: x mandatory;
        /* Snap effect */
        -webkit-overflow-scrolling: touch;
        /* Smooth scroll iOS */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .package-grid.package-carousel::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .mobile-only {
        display: flex;
    }

    /* Hide grid pada mobile untuk carousel */
    .package-grid:not(.package-carousel) {
        grid-template-columns: 1fr;
    }

    /* Testimoni mobile */
    .testimonial-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .testi-img {
        margin: 0 auto;
    }

    .testi-content {
        text-align: center;
    }

    .testi-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Modal Mobile Optimization */
    .modal-body {
        text-align: center;
        /* Center all text */
    }

    .modal-body ul,
    .modal-list {
        text-align: center;
        list-style-position: inside;
        /* Ensure bullets are centered with text */
        padding: 0;
    }

    .modal-body li {
        margin-bottom: 5px;
    }

    /* Modal Button Mobile */
    .modal-footer {
        display: flex;
        /* Ensure flex context */
        justify-content: center;
        padding: 15px;
        /* Add padding */
        width: 100%;
        box-sizing: border-box;
    }

    .modal-register-btn {
        width: 100% !important;
        /* Full width */
        max-width: none !important;
        margin: 0 !important;
        display: block;
    }

    /* Testimonial Nav Adjustment */
    .testi-nav {
        position: relative !important;
        margin-top: 30px !important;
        /* Push below content */
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 20px;
        z-index: 10;
        transform: none !important;
        left: auto !important;
        bottom: auto !important;
    }

    /* Ensure no overlap with card */
    .testimonial-slider-container {
        padding-bottom: 50px;
        /* Make room for arrows if absolute */
        margin-bottom: 0;
    }

    /* Package nav mobile - seperti testimoni */
    .package-nav {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        gap: 20px;
        padding: 0;
    }

    .package-nav button {
        margin: 0;
        position: relative;
    }

    .testimonial-slider-container {
        padding: 10px 0;
    }

    .testimonial-mask {
        padding: 0;
    }

    /* Hero mobile - Carousel rebuild */
    .container-hero {
        margin-top: 80px !important;
        background: #ffffff;
    }

    .hero {
        height: auto !important;
        min-height: auto;
        padding: 0 !important;
        margin-top: 20px;
        background: #ffffff;
        overflow: visible;
    }

    .hero-slider {
        height: auto;
        position: relative;
        overflow: hidden;
        background: #ffffff;
        width: 100%;
    }

    .slide {
        width: 100%;
        height: auto;
        min-height: 300px;
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
        visibility: hidden;
        z-index: 1;
    }

    .slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

    .slide .hero-content {
        display: none !important;
    }

    .slider-nav {
        display: none !important;
    }

    .slider-nav button {
        display: none !important;
    }

    /* About mobile */
    .about {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .about.section-padding {
        padding-top: 0 !important;
    }

    .about-text {
        margin-top: 0 !important;
        text-align: center;
    }

    .about-text h3 {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .about-image img {
        margin-top: 0;
    }

    /* Section padding mobile */
    .section-padding {
        padding: 40px 0;
    }

    /* Card actions mobile */
    .card-actions {
        flex-direction: row;
        gap: 10px;
    }

    .btn {
        font-size: 11px;
        padding: 8px 5px;
        flex: 1;
        /* Equal width */
        width: auto !important;
        /* Override full-width */
        max-width: none !important;
        /* Remove max-width caps */
        border-radius: 4px !important;
        /* Slightly rounded for button feel */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-detail {
        background-color: #f0f0f0;
        color: #333;
        border: 1px solid #ccc;
    }



    /* Navbar Mobile Optimization */
    .header-container {
        height: 60px;
        /* Reduced header height on mobile */
        padding: 0 15px;
    }

    .logo-img {
        height: 40px;
        /* Reduced logo size on mobile */
    }

    .mobile-toggle {
        font-size: 20px;
        /* Slightly smaller toggle icon */
    }

    /* Ensure Haji buttons behave exactly the same */
    .haji-card .btn {
        width: auto !important;
        max-width: none !important;
        flex: 1;
        padding: 8px 5px !important;
        font-size: 11px !important;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 32px;
    }

    .hero {
        height: auto;
        min-height: auto;
    }

    .container-hero {
        margin-top: 60px !important;
        /* Reduced from 80px */
        background: #ffffff;
    }

    .hero {
        padding: 0 !important;
        margin-top: 15px;
        background: #ffffff;
    }

    .hero-slider {
        background: #ffffff;
    }

    .hero-slider {
        height: auto;
        position: relative;
        overflow: hidden;
    }

    .slide {
        height: auto;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background-size: contain;
        background-position: center top;
        background-repeat: no-repeat;
        min-height: 250px;
        padding-bottom: 0;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        visibility: hidden;
        background-color: #ffffff;
    }


    .slide.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        z-index: 1;
    }

    .slide .hero-content {
        display: none !important;
    }

    .about {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .about.section-padding {
        padding-top: 0 !important;
    }

    .about-text {
        margin-top: 0 !important;
        text-align: center;
    }

    .about-text h3 {
        text-align: center;
    }

    .about-text p {
        text-align: center;
    }

    .container {
        padding: 0 15px;
    }



    .package-carousel-wrapper {
        margin: 0 auto;
        padding: 0 20px;
        max-width: 350px;
    }

    .package-nav {
        position: relative;
        top: auto;
        transform: none;
        margin-top: 20px;
        justify-content: center;
        gap: 20px;
    }

    .testimonial-item {
        padding: 15px;
    }

    .testi-img img {
        width: 80px;
        height: 80px;
    }

    .testi-content p {
        font-size: 13px;
    }

    .title-gold {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 24px;
    }
}

/* Filter Dropdown Styles */
.section-header-wrapper {
    position: relative;
    z-index: 20;
}

.filter-dropdown {
    position: relative;
    display: inline-block;
}

.filter-btn {
    background-color: #E0E0E0;
    color: #333;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 0;
}

.filter-btn:hover {
    background-color: #d0d0d0;
}

.filter-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fdbb2d;
    /* Orange/Gold */
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 10px 0;
}

.filter-menu.show {
    display: block;
}

.filter-option {
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .section-header-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .section-header {
        order: 1;
        margin-bottom: 5px !important;
    }

    .filter-dropdown {
        width: 100%;
        order: 2;
        margin-top: 10px;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .filter-menu {
        width: 100%;
    }

    /* Resizing & Style Reset for Mobile Cards */
    .package-card,
    .umrah-card,
    .haji-card {
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        /* Ensure no white box remains if not needed */
    }

    /* Filter Button Mobile Resize & Centering */
    .filter-dropdown {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    .filter-btn {
        padding: 6px 10px !important;
        font-size: 11px !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 auto;
        /* Ensure it centers if block */
    }

    .filter-menu {
        min-width: 180px !important;
        padding: 5px 0 !important;
    }

    .filter-option {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* Resize Card Content for Mobile - Image Only Layout */
    .umrah-card-body,
    .haji-card .card-details {
        padding: 10px;
    }

    /* Limit Image Height on Mobile - REVERTED to Full Aspect */
    .card-header-image {
        height: auto;
    }

    .card-header-image img,
    .bg-header {
        height: auto;
        width: 100%;
        object-fit: contain;
    }

    /* HIDE CONTENT ON MOBILE */
    .price-section,
    .haji-card .price-main,
    .package-title,
    .departure-info,
    .hotel-info,
    .transport-info,
    .haji-card .facilities {
        display: none !important;
    }

    /* Button Layout - Side by Side */
    .card-actions {
        display: flex;
        flex-direction: row;
        gap: 10px;
        padding: 0 5px 5px;
        /* Minimal padding */
        margin-top: 10px;
    }

    .btn {
        font-size: 11px;
        padding: 8px 5px;
        flex: 1;
        /* Equal width */
        width: auto !important;
        /* Override full-width */
        border-radius: 4px !important;
        /* Slightly rounded for button feel */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-detail {
        background-color: #f0f0f0;
        color: #333;
        border: 1px solid #ccc;
    }



    /* Navbar Mobile Optimization */
    .header-container {
        height: 60px;
        /* Reduced header height on mobile */
        padding: 0 15px;
    }

    .logo-img {
        height: 40px;
        /* Reduced logo size on mobile */
    }

    .mobile-toggle {
        font-size: 20px;
        /* Slightly smaller toggle icon */
    }

    /* Taller Detail Modal for Mobile */
    #packageDetailModal .modal-content {
        height: 95vh !important;
        max-height: 95vh !important;
        width: 95% !important;
        /* Ensure width is sufficient */
        display: flex !important;
        flex-direction: column !important;
        margin: 2.5vh auto !important;
        /* Center vertically */
        border-radius: 12px;
    }

    #packageDetailModal .modal-body {
        overflow-y: auto !important;
        flex: 1 !important;
        min-height: 0 !important;
        padding-bottom: 20px;
    }

    #detailModalImage {
        height: 180px;
        flex-shrink: 0;
        object-fit: cover;
    }
}

/* Updated Umrah Card Styles */
.umrah-card-body {
    padding: 20px;
    text-align: center;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.price-section {
    margin-bottom: 5px;
}

.price-section .currency {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.price-section .amount {
    font-size: 32px;
    font-weight: 800;
    color: #555;
    /* Dark Grey like image */
}

.departure-info {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
}

.package-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #444;
}

.hotel-info {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #555;
    font-weight: 500;
}

.hotel-info strong {
    color: #333;
    font-weight: 700;
}

.transport-info {
    font-size: 12px;
    color: #555;
    margin-top: 15px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

/* Adjust button styles if needed */
.btn-register.full-width {
    width: 60%;
    /* Not full width in image, looks like a centered button */
    margin: 0 auto;
    display: block;
    background-color: #E6AA2D;
    /* Orange/Gold from image */
    color: white;
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    padding: 10px 0;
}

.btn-detail.full-width {
    width: 60%;
    margin: 0 auto;
    display: block;
    background-color: #E6AA2D;
    color: white;
    font-weight: 700;
    border-radius: 0;
    text-transform: uppercase;
    padding: 10px 0;
    border: none;
}

.btn-detail.full-width:hover,
.btn-register.full-width:hover {
    background-color: #d49a20;
    color: white;
}

/* Sharp Corners & Button Updates */
.package-card,
.umrah-card,
.haji-card,
.card-header-image,
.card-header-image img,
.bg-header,
.btn {
    border-radius: 0 !important;
}

/* Update Haji Button Styles to match reference (Orange blocks) */
.haji-card .card-actions {
    display: flex;
    justify-content: center;
    /* Center them as group? or space-between? Image shows them separated. */
    gap: 15px;
}

.haji-card .btn {
    background-color: #E6AA2D;
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    padding: 12px 25px;
    /* Adjust padding for size */
    font-size: 16px;
    width: auto;
    /* Let text define width or set fixed? Image looks like fixed width blocks. */
    flex: 1;
    /* Make them equal width filling the container */
    max-width: 150px;
    /* Cap width */
}

.haji-card .btn:hover {
    background-color: #d49a20;
    color: white;
    /* Ensure text stays white */
}

/* Reduce Button Sizes */
.haji-card .btn {
    padding: 8px 15px;
    /* Reduced from 12px 25px */
    font-size: 14px;
    /* Reduced from 16px */
    max-width: 120px;
    /* Reduced width cap */
}

.btn-register.full-width,
.btn-detail.full-width {
    padding: 8px 0;
    /* Reduced from 10px */
    font-size: 14px;
    /* Reduced if it was larger (default was usually inherited or 16px) */
    width: 50%;
    /* Reduced width from 60% */
}

/* =========================================
   FIXED MODAL STYLES (Added at End)
   ========================================= */

/* Default Desktop Styles */
#packageDetailModal .modal-content {
    max-width: 600px;
    margin: 5% auto;
    background: white;
    position: relative;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    /* Reduced max height */
    height: auto;
    /* Allow auto height */
}

#packageDetailModal .modal-body {
    overflow-y: auto;
    flex: 1;
}

/* Mobile Overrides */
@media (max-width: 768px) {
    #packageDetailModal .modal-content {
        height: auto !important;
        /* Auto height on mobile too */
        max-height: 85vh !important;
        /* Cap at 85vh */
        width: 95% !important;
        max-width: 95% !important;
        margin: 5vh auto !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    #packageDetailModal .modal-body {
        overflow-y: auto !important;
        flex: 1 !important;
        min-height: 0 !important;
        padding-bottom: 20px !important;
    }

    #detailModalImage {
        height: auto !important;
        max-height: 300px !important;
        /* Increased height limit */
        width: 100% !important;
        flex-shrink: 0 !important;
        object-fit: contain !important;
        /* Show full image */
        background-color: #f8f8f8;
        /* Placeholder bg */
        margin-bottom: 0 !important;
    }
}