/**
 * Meta Tours AIK - Custom Stylesheet
 * Color Scheme: Primary #1a5276, Secondary #f39c12, Accent #e74c3c, Success #27ae60, Background #f8f9fa, Text #2c3e50
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    --primary: #1a5276;
    --primary-dark: #154360;
    --primary-light: #2e86c1;
    --secondary: #f39c12;
    --secondary-dark: #d68910;
    --accent: #e74c3c;
    --success: #27ae60;
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 50px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Poppins', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ==================== BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.font-display {
    font-family: var(--font-display);
}

.text-primary-color { color: var(--primary) !important; }
.text-secondary-color { color: var(--secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-golden { color: var(--secondary) !important; }

/* ==================== NAVBAR ==================== */
.navbar-spacer {
    height: 72px;
}

#mainNavbar {
    background: rgba(26, 82, 118, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    transition: var(--transition);
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

#mainNavbar.navbar-scrolled {
    background: rgba(26, 82, 118, 1);
    box-shadow: var(--shadow-md);
    padding: 0.4rem 0;
}

#mainNavbar .navbar-brand {
    color: var(--white);
    text-decoration: none;
}

#mainNavbar .brand-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
}

#mainNavbar .brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: block;
    line-height: 1.2;
}

#mainNavbar .brand-badge {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#mainNavbar .nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.6rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
    color: var(--white) !important;
    background: rgba(255,255,255,0.1);
}

#mainNavbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--secondary);
    border-radius: 1px;
}

#mainNavbar .navbar-toggler {
    border-color: rgba(255,255,255,0.3);
    padding: 0.4rem 0.6rem;
}

#mainNavbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== BUTTONS ==================== */
.btn-golden {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-golden:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.4);
}

.btn-outline-golden {
    color: var(--secondary);
    border-color: var(--secondary);
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-golden:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-account {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
}

.btn-account:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

.bg-golden {
    background-color: var(--secondary) !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1a5276 0%, #2e86c1 25%, #154360 50%, #1a5276 75%, #2e86c1 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-light), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(243, 156, 18, 0.2);
    border: 1px solid rgba(243, 156, 18, 0.4);
    color: var(--secondary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    color: var(--secondary);
    position: relative;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-actions {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

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

.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    display: block;
}

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

.hero-image-area {
    position: relative;
    z-index: 2;
    animation: fadeInRight 1s ease 0.4s both;
}

.hero-floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-floating-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.hero-floating-icon:nth-child(2) { top: 30%; right: 5%; animation-delay: 1.5s; }
.hero-floating-icon:nth-child(3) { bottom: 20%; left: 5%; animation-delay: 3s; }
.hero-floating-icon:nth-child(4) { bottom: 10%; right: 15%; animation-delay: 4.5s; }

/* ==================== SEARCH OVERLAY ==================== */
.search-overlay {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding: 0 1rem;
}

.search-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.search-tabs {
    display: flex;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.search-tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.search-tab-btn:hover {
    color: var(--primary);
    background: rgba(26, 82, 118, 0.05);
}

.search-tab-btn.active {
    color: var(--primary);
    background: var(--white);
    border-bottom-color: var(--secondary);
}

.search-tab-btn i {
    font-size: 1rem;
}

.search-tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.search-tab-content.active {
    display: block;
}

/* ==================== SECTIONS ==================== */
.section-padding {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.service-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-link:hover {
    color: var(--secondary);
    gap: 0.6rem;
}

/* ==================== WHY CHOOSE US ==================== */
.why-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.why-section .section-label,
.why-section .section-title,
.why-section .section-subtitle {
    color: var(--white);
}

.why-section .section-subtitle {
    opacity: 0.8;
}

.why-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.why-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.3);
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--white);
}

.why-card h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

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

.testimonial-quote {
    font-size: 2rem;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 0.85rem;
}

/* ==================== STATS COUNTER ==================== */
.stats-section {
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-icon {
    width: 55px;
    height: 55px;
    background: rgba(26, 82, 118, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    color: var(--primary);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.cta-text {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: linear-gradient(180deg, #1a252f 0%, #0d151c 100%);
    color: rgba(255,255,255,0.8);
}

.footer-top {
    padding: 4rem 0 2rem;
}

.footer-heading {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--white);
}

.footer-brand .brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.footer-about-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

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

.contact-icon {
    width: 24px;
    margin-right: 0.75rem;
    color: var(--secondary);
    flex-shrink: 0;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.newsletter-title {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    font-size: 0.85rem;
}

.copyright-text {
    color: rgba(255,255,255,0.6);
}

.powered-by {
    color: rgba(255,255,255,0.5);
}

/* ==================== LOADING OVERLAY ==================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(26, 82, 118, 0.9);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    text-align: center;
}

.loading-text {
    color: var(--white);
    font-weight: 500;
    letter-spacing: 1px;
}

/* ==================== TOAST NOTIFICATIONS ==================== */
.toast-container {
    z-index: 9999;
}

.custom-toast {
    background: var(--white);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 300px;
    overflow: hidden;
}

.custom-toast .toast-header {
    border: none;
    padding: 0.75rem 1rem;
    font-weight: 600;
}

.custom-toast .toast-body {
    padding: 1rem;
    color: var(--text-dark);
}

.toast-success .toast-header {
    background: var(--success);
    color: var(--white);
}

.toast-error .toast-header {
    background: var(--accent);
    color: var(--white);
}

.toast-warning .toast-header {
    background: var(--secondary);
    color: var(--white);
}

.toast-info .toast-header {
    background: var(--primary);
    color: var(--white);
}

/* ==================== FORMS ==================== */
.form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-control, .form-select {
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(26, 82, 118, 0.15);
}

.form-control.is-invalid {
    border-color: var(--accent);
}

.form-control.is-valid {
    border-color: var(--success);
}

.input-group-text {
    background: var(--bg-light);
    border: 1.5px solid rgba(0,0,0,0.1);
    border-right: none;
    color: var(--primary);
}

/* ==================== CARDS ==================== */
.card-custom {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    overflow: hidden;
}

.card-custom:hover {
    box-shadow: var(--shadow-md);
}

.card-header-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

/* ==================== BADGES ==================== */
.badge-premium {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

.badge-status {
    font-weight: 500;
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
}

.badge-status.pending { background: #fff3cd; color: #856404; }
.badge-status.confirmed { background: #d4edda; color: #155724; }
.badge-status.completed { background: #cce5ff; color: #004085; }
.badge-status.cancelled { background: #f8d7da; color: #721c24; }

/* ==================== PRICE DISPLAY ==================== */
.price-display {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-display .currency {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    color: var(--white);
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==================== ANIMATION KEYFRAMES ==================== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .no-print, .navbar, .site-footer, .back-to-top, .hero-actions, .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .receipt-print {
        border: 2px solid #333;
        padding: 2rem;
        margin: 1rem;
    }

    .receipt-header {
        text-align: center;
        border-bottom: 2px solid #333;
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991.98px) {
    .navbar-spacer {
        height: 66px;
    }

    #mainNavbar .navbar-collapse {
        background: rgba(26, 82, 118, 0.98);
        border-radius: var(--radius-md);
        margin-top: 0.5rem;
        padding: 1rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .search-overlay {
        margin-top: -40px;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0 6rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .search-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }

    .search-tab-content {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .footer-top {
        padding: 2.5rem 0 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .brand-name {
        font-size: 1.1rem !important;
    }

    .search-overlay {
        margin-top: -30px;
        padding: 0 0.5rem;
    }

    .search-tab-content {
        padding: 1rem;
    }
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.breadcrumb-nav {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 0.75rem 0;
}

.breadcrumb {
    margin: 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* ==================== FLIGHT RESULTS ==================== */
.flight-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.5rem;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.flight-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 82, 118, 0.2);
}

.airline-logo {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.75rem;
}

.flight-time {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.flight-city {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.flight-duration-line {
    position: relative;
    height: 2px;
    background: var(--bg-light);
    margin: 0.5rem 0;
}

.flight-duration-line::before,
.flight-duration-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.flight-duration-line::before { left: 0; }
.flight-duration-line::after { right: 0; }

.flight-duration-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.flight-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.filter-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

/* ==================== BOOKING FORMS ==================== */
.booking-summary-card {
    background: linear-gradient(135deg, rgba(26,82,118,0.05), rgba(26,82,118,0.02));
    border: 1px solid rgba(26,82,118,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.price-breakdown {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px dashed rgba(0,0,0,0.08);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--primary);
    border-bottom: none;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.passenger-form-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.passenger-form-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ==================== CONFIRMATION PAGE ==================== */
.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--success), #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    animation: pulse 2s infinite;
}

.booking-ref-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.booking-ref-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-ref-code {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

/* ==================== UMRAH PACKAGES ==================== */
.umrah-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 70%, #0d1b2a 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.umrah-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.umrah-hero-content {
    position: relative;
    z-index: 2;
}

.umrah-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 0.75rem;
}

.umrah-hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
}

.package-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%;
}

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

.package-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.package-image-icon {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.package-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.package-body {
    padding: 1.5rem;
}

.package-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.package-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.package-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.package-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.package-highlights li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.package-highlights li i {
    color: var(--success);
    font-size: 0.75rem;
}

.package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.package-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.package-price .per {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ==================== TRANSPORT / CROSS-BORDER ==================== */
.service-type-card {
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.service-type-card:hover,
.service-type-card.active {
    border-color: var(--primary);
    background: rgba(26, 82, 118, 0.03);
}

.service-type-card.active {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.2);
}

.service-type-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-type-card.active .service-type-icon {
    color: var(--secondary);
}

.service-type-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.shift-time-option {
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.shift-time-option:hover,
.shift-time-option.active {
    border-color: var(--primary);
    background: rgba(26, 82, 118, 0.05);
}

.shift-time-option.active {
    border-color: var(--secondary);
    background: rgba(243, 156, 18, 0.1);
}

.shift-time-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
    display: block;
}

.shift-time-range {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==================== PAYMENT SECTION ==================== */
.payment-option {
    border: 2px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-option:hover,
.payment-option.active {
    border-color: var(--primary);
    background: rgba(26, 82, 118, 0.03);
}

.payment-option.active {
    border-color: var(--secondary);
}

.payment-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.payment-details h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.payment-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ==================== UTILITIES ==================== */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
    margin: 1.5rem 0;
}

.section-bg-white {
    background: var(--white);
}

.section-bg-light {
    background: var(--bg-light);
}

.border-gradient {
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Counter animation helper */
.counter-value {
    font-variant-numeric: tabular-nums;
}
