/* ========================================
   SDJABALU UMRAH AND HAJJ SERVICES
   Main Stylesheet (Mobile-First)
   Theme: Deep Forest Green (#1B4332) & Rich Gold (#C9A84C)
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #1B4332;
    --primary-light: #2D6A4F;
    --primary-dark: #0D281E;
    --secondary: #C9A84C;
    --secondary-light: #D4B96A;
    --secondary-dark: #A68830;
    --accent: #D4AF37;
    
    --gold-gradient: linear-gradient(135deg, #C9A84C, #D4AF37, #C9A84C);
    --green-gradient: linear-gradient(135deg, #1B4332, #2D6A4F);
    
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --text-white: #ffffff;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #0D281E;
    
    --border-color: #e5e7eb;
    --border-gold: #C9A84C;
    
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;
    --font-arabic: 'Amiri', serif;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* ---------- Typography ---------- */
.text-gold { color: var(--secondary) !important; }
.text-green { color: var(--primary) !important; }
.bg-gold { background: var(--secondary) !important; }
.bg-green { background: var(--primary) !important; }
.bg-light-green { background: rgba(27, 67, 50, 0.05) !important; }

/* ---------- Top Bar ---------- */
.topbar {
    background: var(--primary-dark);
    padding: 8px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

.topbar a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
}

.topbar a:hover {
    color: var(--secondary);
}

.topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

.topbar-social a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ---------- Header ---------- */
.header {
    background: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-scrolled {
    box-shadow: var(--shadow-md);
}

.logo {
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 12px;
}

.logo-title {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Navbar */
.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    position: relative;
}

.navbar > ul > li {
    margin: 0 4px;
}

.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover, .navbar .active {
    color: var(--secondary);
    background: rgba(201, 168, 76, 0.08);
}

.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    border: none;
    border-radius: var(--radius-md);
    padding: 8px 0;
    z-index: 999;
}

.navbar .dropdown-menu li {
    margin: 0;
}

.navbar .dropdown-menu a {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 0;
}

.navbar .dropdown:hover .dropdown-menu {
    display: block;
}

.btn-book-now {
    background: var(--gold-gradient);
    color: var(--primary-dark) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(201, 168, 76, 0.4);
    color: var(--primary-dark) !important;
}
.mobile-nav-toggle {
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    display: none;
    order: 3;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 32, 24, 0.55);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ---------- Responsive Base ---------- */
@media (max-width: 991.98px) {
    .topbar-social {
        display: none;
    }

    .hero-content {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    .logo-img {
        height: 40px;
        margin-right: 8px;
    }

    .logo-title {
        font-size: 18px;
    }

    .logo-subtitle {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .topbar-contact {
        font-size: 12px;
        flex-wrap: wrap;
        gap: 4px;
    }

    .topbar-contact a {
        font-size: 12px;
        margin: 0 !important;
    }

    .section {
        padding: 50px 0;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 575.98px) {
    .btn-book-now {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/kaaba-bg.png') center/cover no-repeat;
    opacity: 0.08;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--bg-white), transparent);
}

.hero .islamic-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        rgba(201, 168, 76, 0.03) 40px,
        rgba(201, 168, 76, 0.03) 41px
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    margin-right: 8px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 600px;
}

.hero .btn-group-custom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero .btn-primary-custom {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: var(--transition);
}

.hero .btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.4);
}

.hero .btn-outline-custom {
    background: transparent;
    color: var(--text-white);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.hero .btn-outline-custom:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(201, 168, 76, 0.1);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .number {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    display: block;
}

.hero-stat-item .label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Section Styles ---------- */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    display: inline-block;
    font-family: var(--font-arabic);
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title h2 .highlight {
    color: var(--secondary);
}

.section-title p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-title .divider {
    width: 80px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ---------- Package Cards ---------- */
.package-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

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

.package-card .card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gold-gradient);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.package-card .card-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.package-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .card-image img {
    transform: scale(1.08);
}

.package-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(27,67,50,0.6), transparent);
}

.package-card .card-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: white;
    z-index: 2;
}

.package-card .card-overlay .duration {
    font-size: 13px;
    opacity: 0.9;
}

.package-card .card-body {
    padding: 24px;
}

.package-card .card-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 600;
}

.package-card .card-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 600;
    margin: 8px 0 12px;
    color: var(--primary);
}

.package-card .card-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.package-card .card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.package-card .card-features span {
    font-size: 12px;
    background: rgba(27, 67, 50, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
    color: var(--text-light);
}

.package-card .card-features i {
    color: var(--secondary);
    margin-right: 4px;
}

.package-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.package-card .price {
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.package-card .price .old-price {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 400;
}

.package-card .btn-details {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.package-card .btn-details:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ---------- Package Detail ---------- */
.package-detail-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 80px 0;
    color: white;
    position: relative;
}

.package-detail-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-white), transparent);
}

.package-detail-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.package-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.package-info-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.package-info-item:hover {
    background: var(--primary);
    color: white;
}

.package-info-item:hover .info-icon {
    background: var(--secondary);
    color: var(--primary-dark);
}

.package-info-item .info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 67, 50, 0.08);
    border-radius: 50%;
    margin: 0 auto 12px;
    font-size: 20px;
    color: var(--secondary);
    transition: var(--transition);
}

.package-info-item .info-value {
    font-family: var(--font-primary);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.package-info-item:hover .info-value {
    color: white;
}

.package-info-item .info-label {
    font-size: 13px;
    color: var(--text-light);
}

.package-info-item:hover .info-label {
    color: rgba(255,255,255,0.8);
}

/* ---------- Booking Wizard ---------- */
.booking-wizard {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.wizard-progress {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    flex: 1;
}

.wizard-step-indicator .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    background: var(--bg-light);
    color: var(--text-light);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    margin-bottom: 8px;
}

.wizard-step-indicator.active .step-number {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.wizard-step-indicator.completed .step-number {
    background: var(--secondary);
    color: var(--primary-dark);
    border-color: var(--secondary);
}

.wizard-step-indicator .step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
}

.wizard-step-indicator.active .step-label {
    color: var(--primary);
    font-weight: 600;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step .step-header {
    text-align: center;
    margin-bottom: 32px;
}

.wizard-step .step-header h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.wizard-step .step-header p {
    color: var(--text-light);
}

/* ---------- Forms ---------- */
.form-control, .form-select {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-label {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.btn-primary-custom {
    background: var(--gold-gradient);
    color: var(--primary-dark);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
}

.btn-outline-green {
    background: transparent;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    border: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-outline-green:hover {
    background: var(--primary);
    color: white;
}

/* ---------- Dashboard ---------- */
.dashboard-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px;
    position: sticky;
    top: 100px;
}

.dashboard-sidebar .user-info {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.dashboard-sidebar .user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 12px;
}

.dashboard-sidebar .user-name {
    font-weight: 600;
    font-size: 16px;
}

.dashboard-sidebar .user-email {
    font-size: 13px;
    color: var(--text-light);
}

.dashboard-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dashboard-nav li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}

.dashboard-nav li a i {
    width: 24px;
    color: var(--primary);
    margin-right: 12px;
}

.dashboard-nav li a:hover,
.dashboard-nav li a.active {
    background: rgba(27, 67, 50, 0.06);
    color: var(--primary);
}

/* ---------- Stat Cards ---------- */
.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 22px;
    margin-bottom: 16px;
}

.stat-card .stat-value {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: var(--font-primary);
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
    color: var(--secondary);
    margin-bottom: 16px;
}

.testimonial-card .content {
    font-size: 15px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 16px;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-card .author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
}

.testimonial-card .author-name {
    font-weight: 600;
    font-size: 15px;
}

.testimonial-card .author-location {
    font-size: 13px;
    color: var(--text-light);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* ---------- Scroll Top ---------- */
.scroll-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    text-decoration: none;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

/* ---------- Footer ---------- */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

.footer-top {
    padding: 60px 0 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    height: 40px;
}

.footer-logo-title {
    color: white;
    font-family: var(--font-primary);
    font-size: 18px;
    margin: 0;
}

.footer-logo-subtitle {
    font-size: 10px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer h4 {
    font-family: var(--font-primary);
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li i {
    color: var(--secondary);
    font-size: 10px;
    margin-right: 8px;
}

.footer ul li a {
    color: rgba(255,255,255,0.7);
}

.footer ul li a:hover {
    color: var(--secondary);
}

.footer p {
    margin-bottom: 8px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    margin-right: 8px;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}

.footer-bottom {
    font-size: 13px;
}

.footer-links-bottom a {
    color: rgba(255,255,255,0.6);
    margin-left: 20px;
}

.footer-links-bottom a:hover {
    color: var(--secondary);
}

/* ---------- Responsive ---------- */
/* ============================================
   MOBILE-FIRST RESPONSIVE BREAKPOINTS
   Base styles are mobile-first. Media queries 
   enhance for larger screens.
   ============================================ */

/* ---------- Default (XS < 576px) ---------- */
html { font-size: 15px; }

body { 
    font-size: 15px; 
    -webkit-tap-highlight-color: transparent;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

/* Touch-friendly inputs */
input, select, textarea, button, a {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
}

/* Consistently sized touch targets */
.btn, .nav-link, .dropdown-item, 
.sidebar-nav a, .dashboard-nav a,
.btn-book-now, .btn-details,
input, select, textarea {
    min-height: 44px; /* Apple's minimum touch target */
}

input, select, textarea {
    padding: 12px 14px !important;
}

/* ---------- Top Bar (hidden on mobile) ---------- */
.topbar {
    display: none;
}

/* ---------- Header / Navbar (mobile-first) ---------- */
.header {
    padding: 10px 0;
}

.logo-img {
    height: 38px;
    margin-right: 8px;
}

.logo-title {
    font-size: 18px;
}

.logo-subtitle {
    font-size: 9px;
    letter-spacing: 1px;
}

/* Mobile navbar - slide-in overlay */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background: var(--bg-white);
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
    z-index: 9999;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 80px 16px 24px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar.active {
    transform: translateX(0);
}

/* Mobile nav backdrop */
.navbar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.25s ease;
}

.navbar-backdrop.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.navbar ul {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    width: 100%;
    margin: 0;
}

.navbar a, .navbar a:focus {
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

/* Mobile dropdown: always visible (inline) */
.navbar .dropdown-menu {
    display: block !important;
    position: static !important;
    box-shadow: none !important;
    padding: 0 0 0 16px;
    background: transparent;
    min-width: auto;
    border: none;
    border-radius: 0;
}

.navbar .dropdown-menu a {
    padding: 10px 16px;
    font-size: 14px;
}

.navbar .dropdown-toggle::after {
    display: none;
}

/* Mobile hamburger */
.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 26px;
    cursor: pointer;
    color: var(--primary);
    background: rgba(27, 67, 50, 0.06);
    border-radius: 8px;
    border: none;
    padding: 0;
    transition: var(--transition);
}

.mobile-nav-toggle:active {
    background: rgba(27, 67, 50, 0.12);
    transform: scale(0.95);
}

/* ---------- Hero (mobile-first) ---------- */
.hero {
    min-height: auto;
    padding: 40px 0 60px;
}

.hero-content {
    padding: 20px 0;
}

.hero h1 {
    font-size: 28px;
    line-height: 1.15;
}

.hero p {
    font-size: 15px;
    margin-bottom: 24px;
}

.hero .btn-group-custom {
    flex-direction: column;
    gap: 12px;
}

.hero .btn-primary-custom,
.hero .btn-outline-custom {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 15px;
}

.hero-stats {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stat-item {
    flex: 1 1 45%;
    min-width: 80px;
}

.hero-stat-item .number {
    font-size: 26px;
}

.hero-stat-item .label {
    font-size: 11px;
}

.hero-badge {
    font-size: 12px;
    padding: 6px 16px;
    margin-bottom: 16px;
}

/* ---------- Sections (mobile) ---------- */
.section {
    padding: 48px 0;
}

.section-title {
    margin-bottom: 36px;
}

.section-title h2 {
    font-size: 26px;
}

.section-title p {
    font-size: 14px;
}

/* ---------- Package Cards (mobile) ---------- */
.package-card .card-image {
    height: 180px;
}

.package-card .card-body {
    padding: 16px;
}

.package-card .card-title {
    font-size: 17px;
}

.package-card .card-features {
    gap: 6px;
}

.package-card .card-features span {
    font-size: 11px;
    padding: 3px 10px;
}

.package-card .price {
    font-size: 20px;
}

.package-card .card-footer {
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
}

.package-card .btn-details {
    width: 100%;
    text-align: center;
}

/* ---------- Page Banner (mobile) ---------- */
.page-banner {
    padding: 40px 0;
}

.page-banner h1 {
    font-size: 26px;
}

/* ---------- Package Detail (mobile) ---------- */
.package-detail-hero {
    padding: 40px 0;
}

.package-detail-hero h1 {
    font-size: 24px;
}

.package-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.package-info-item {
    padding: 16px;
}

.package-info-item .info-value {
    font-size: 18px;
}

/* ---------- Booking Wizard (mobile) ---------- */
.booking-wizard {
    padding: 20px 0;
}

.wizard-progress {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 24px;
}

.wizard-progress::before {
    display: none;
}

.wizard-step-indicator {
    flex: 1;
    min-width: 50px;
}

.wizard-step-indicator .step-number {
    width: 36px;
    height: 36px;
    font-size: 13px;
    margin-bottom: 4px;
}

.wizard-step-indicator .step-label {
    font-size: 9px;
    word-break: break-word;
}

.wizard-step .step-header h3 {
    font-size: 22px;
}

.wizard-step .step-header p {
    font-size: 14px;
}

/* ---------- Tables (mobile - card layout) ---------- */
.table-responsive table,
.table-responsive thead,
.table-responsive tbody,
.table-responsive th,
.table-responsive td,
.table-responsive tr {
    display: block;
}

.table-responsive thead {
    display: none;
}

.table-responsive tbody tr {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}

.table-responsive td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border: none;
    font-size: 13px;
    min-height: auto;
    text-align: right;
}

.table-responsive td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--primary);
    font-size: 12px;
    text-align: left;
}

.table-responsive td:not(:last-child) {
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding-bottom: 6px;
    margin-bottom: 6px;
}

/* Don't convert admin tables on larger screens */
@media (min-width: 768px) {
    .table-responsive table {
        display: table;
    }
    .table-responsive thead {
        display: table-header-group;
    }
    .table-responsive tbody tr {
        display: table-row;
        border: none;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0;
        box-shadow: none;
    }
    .table-responsive td {
        display: table-cell;
        text-align: left;
        padding: 12px 16px;
    }
    .table-responsive td::before {
        display: none;
    }
    .table-responsive td:not(:last-child) {
        border-bottom: none;
        padding-bottom: 12px;
        margin-bottom: 0;
    }
}

/* ---------- Dashboard (mobile) ---------- */
.dashboard-sidebar {
    position: relative !important;
    top: auto !important;
    margin-bottom: 20px;
}

.dashboard-sidebar .user-avatar {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

/* ---------- Accordion (mobile) ---------- */
.accordion-button {
    font-size: 14px;
    padding: 12px 16px;
}

.accordion-body {
    padding: 12px 16px;
}

/* ---------- Summary Card ---------- */
.summary-card {
    padding: 16px;
}

/* ---------- Upload Area ---------- */
.upload-area {
    padding: 20px 12px !important;
}

.upload-area h6 {
    font-size: 13px;
}

.upload-area p {
    font-size: 11px;
}

/* ---------- Footer (mobile) ---------- */
.footer-top {
    padding: 40px 0 20px;
}

.footer h4 {
    font-size: 14px;
    margin-bottom: 16px;
}

.footer ul li {
    font-size: 13px;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 12px;
}

/* ---------- Forms (mobile) ---------- */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 13px;
    margin-bottom: 4px;
}

/* ---------- Mobile sticky bottom CTA ---------- */
.mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 10px 16px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 999;
    gap: 8px;
}

.mobile-cta .btn {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
}

body.has-mobile-cta {
    padding-bottom: 70px;
}

/* ---------- SM (≥ 576px) ---------- */
@media (min-width: 576px) {
    html { font-size: 16px; }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    
    .hero h1 { font-size: 34px; }
    .hero .btn-group-custom {
        flex-direction: row;
    }
    .hero .btn-primary-custom,
    .hero .btn-outline-custom {
        width: auto;
    }
    .hero-stats {
        gap: 24px;
    }
    .hero-stat-item {
        flex: 0 0 auto;
    }
    
    .topbar {
        display: flex;
    }
    
    .btn-book-now {
        display: inline-flex;
    }
    
    .package-card .card-footer {
        flex-direction: row;
    }
    .package-card .btn-details {
        width: auto;
    }
    
    .wizard-progress::before {
        display: block;
    }
    
    .package-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}

/* ---------- MD (≥ 768px) ---------- */
@media (min-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 17px; }
    .hero-stats { margin-top: 36px; }
    
    .section { padding: 60px 0; }
    .section-title h2 { font-size: 32px; }
    
    .package-card .card-image { height: 200px; }
    
    .logo-img { height: 45px; }
    .logo-title { font-size: 22px; }
    
    .package-detail-hero h1 { font-size: 32px; }
    .package-info-grid { grid-template-columns: repeat(3, 1fr); }
    
    .wizard-step-indicator .step-number {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }
    .wizard-step-indicator .step-label {
        font-size: 11px;
    }
    
    .dashboard-sidebar {
        position: sticky !important;
        top: 100px;
    }
    
    .page-banner { padding: 60px 0; }
    .page-banner h1 { font-size: 36px; }
    
    .mobile-cta { display: none; }
    body.has-mobile-cta { padding-bottom: 0; }
}

/* ---------- LG (≥ 992px) ---------- */
@media (min-width: 992px) {
    /* Desktop navbar */
    .navbar {
        position: relative;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        box-shadow: none;
        transform: none;
        transition: none;
        padding: 0;
        overflow: visible;
        display: flex !important;
    }
    
    .navbar ul {
        flex-direction: row;
        align-items: center;
    }
    
    .navbar ul li {
        width: auto;
        margin: 0 4px;
    }
    
    .navbar a, .navbar a:focus {
        padding: 10px 16px;
        font-size: 14px;
        border-bottom: none;
        border-radius: 6px;
    }
    
    /* Desktop dropdown */
    .navbar .dropdown-menu {
        display: none !important;
        position: absolute !important;
        top: 100%;
        left: 0;
        min-width: 220px;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        border: none;
        border-radius: var(--radius-md);
        padding: 8px 0;
    }
    
    .navbar .dropdown:hover .dropdown-menu {
        display: block !important;
    }
    
    .navbar .dropdown-menu a {
        padding: 8px 20px;
        font-size: 14px;
        border-radius: 0;
    }
    
    .navbar .dropdown-toggle::after {
        display: inline-block;
    }
    
    .mobile-nav-toggle {
        display: none;
    }
    
    .navbar-backdrop {
        display: none !important;
    }
    
    /* Hero */
    .hero h1 { font-size: 48px; }
    .hero p { font-size: 18px; }
    .hero .btn-group-custom { gap: 16px; }
    .hero .btn-primary-custom,
    .hero .btn-outline-custom {
        padding: 16px 40px;
        font-size: 16px;
    }
    
    .section { padding: 80px 0; }
    .section-title h2 { font-size: 36px; }
    
    .package-card .card-image { height: 240px; }
    .package-card .card-body { padding: 24px; }
    .package-card .card-title { font-size: 20px; }
    .package-card .price { font-size: 24px; }
    
    .page-banner h1 { font-size: 36px; }
    .package-detail-hero h1 { font-size: 42px; }
    .package-info-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- XL (≥ 1200px) ---------- */
@media (min-width: 1200px) {
    .hero h1 { font-size: 56px; }
    .hero { min-height: 90vh; }
    .section { padding: 100px 0; }
    .section-title h2 { font-size: 40px; }
}

/* ---------- Safe area for notched phones ---------- */
@supports (padding: env(safe-area-inset-bottom)) {
    .navbar {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
    .mobile-cta {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Islamic Geometric Pattern ---------- */
.islamic-border {
    position: relative;
}

.islamic-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--secondary),
        var(--secondary) 20px,
        transparent 20px,
        transparent 40px
    );
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ---------- Booking Summary Card ---------- */
.summary-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
}

.summary-card h5 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.summary-row.total {
    font-weight: 600;
    font-size: 18px;
    color: var(--primary);
    border-top: 2px solid var(--secondary);
    padding-top: 12px;
    margin-top: 8px;
}

/* ---------- Accordion Custom ---------- */
.accordion-button:not(.collapsed) {
    background: rgba(27, 67, 50, 0.06);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--secondary);
}

/* ---------- Alert Custom ---------- */
.alert {
    border-radius: var(--radius-md);
    border: none;
}

.alert-success {
    background: rgba(45, 106, 79, 0.1);
    color: var(--primary);
}

.alert-warning {
    background: rgba(201, 168, 76, 0.15);
    color: #8B6914;
}

/* ---------- Page Banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
}

.page-banner .breadcrumb {
    justify-content: center;
    background: transparent;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
}

.page-banner .breadcrumb-item.active {
    color: var(--secondary);
}

.page-banner .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}
