/* ============================================
   MR CONSULTANCY - Complete Stylesheet
   Version: 1.0
   Mobile-First | Trust + Travel Theme
   Colors: Blue (var(--navy)) | Maroon (var(--gold)) | Teal (#2A9D8F) — matches MRCI logo
   ============================================ */

/* ============================================ */
/* CSS VARIABLES & ROOT STYLES
/* ============================================ */
:root {
    /* Primary Brand Colors */
    --navy: #0E5A90;
    --navy-dark: #073D63;
    --navy-light: #1B74B0;
    --navy-rgb: 14, 90, 144;
    
    /* Accent Colors */
    --gold: #941A1D;
    --gold-dark: #6E1316;
    --gold-light: #C0585B;
    --gold-rgb: 148, 26, 29;
    
    --teal: #2A9D8F;
    --teal-dark: #1E7A6E;
    --teal-light: #4DB6AC;
    --teal-rgb: 42, 157, 143;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --cloud: #F8F9FA;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --black: #000000;
    
    /* Status Colors */
    --success: #2ECC71;
    --success-light: #D5F5E3;
    --danger: #E74C3C;
    --danger-light: #FADBD8;
    --warning: #F39C12;
    --warning-light: #FDEBD0;
    --info: #3498DB;
    --info-light: #D6EAF8;

    /* Text, Links & Backgrounds — admin-editable via Settings → Brand Colors */
    --heading-color: #0E5A90;
    --body-text: #495057;
    --link-color: #2A9D8F;
    --link-hover: #1E7A6E;
    --card-bg: #FFFFFF;
    --footer-bg: #0E5A90;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 20px;
    --radius-circle: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================ */
/* GLOBAL RESET & BASE STYLES
/* ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--body-text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Colors */
::selection {
    background: var(--gold);
    color: var(--navy);
}

::-moz-selection {
    background: var(--gold);
    color: var(--navy);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy);
}

/* Links */
a {
    color: var(--link-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--link-hover);
    text-decoration: none;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================ */
/* TYPOGRAPHY
/* ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--heading-color);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

.display-4 { font-weight: 800; }
.display-5 { font-weight: 700; }
.display-6 { font-weight: 700; }

.lead {
    font-size: var(--font-size-lg);
    font-weight: 400;
}

.text-gold { color: var(--gold) !important; }
.text-gold-light { color: var(--gold-light) !important; }
.text-navy { color: var(--navy) !important; }
.text-teal { color: var(--teal) !important; }

/* ============================================ */
/* BACKGROUND COLORS
/* ============================================ */
.bg-navy { background-color: var(--navy) !important; }
.bg-navy-light { background-color: var(--navy-light) !important; }
.bg-navy-dark { background-color: var(--navy-dark) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-gold-light { background-color: var(--gold-light) !important; }
.bg-teal { background-color: var(--teal) !important; }
.bg-teal-light { background-color: var(--teal-light) !important; }
.bg-cloud { background-color: var(--cloud) !important; }
.bg-gradient-navy {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
}

/* ============================================ */
/* BUTTONS
/* ============================================ */
.btn {
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(0);
}

/* Navy Button */
.btn-navy {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--navy-rgb), 0.3);
}

.btn-outline-navy {
    color: var(--navy);
    border: 2px solid var(--navy);
    background: transparent;
}

.btn-outline-navy:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

/* Gold Button */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--gold-rgb), 0.4);
}

.btn-outline-gold {
    color: var(--gold);
    border: 2px solid var(--gold);
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* Teal Button */
.btn-teal {
    background-color: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.btn-teal:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--teal-rgb), 0.3);
}

/* Success Button */
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background-color: #20bd5a;
    border-color: #20bd5a;
}

/* Button Sizes */
.btn-lg {
    padding: 15px 30px;
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

/* Button with Icon Animation */
.btn-icon-animate i {
    transition: transform var(--transition-base);
}

.btn-icon-animate:hover i {
    transform: translateX(5px);
}

/* ============================================ */
/* TOP BAR
/* ============================================ */
.top-bar {
    font-size: var(--font-size-sm);
}

.top-bar a {
    color: var(--white);
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--gold);
}

/* ============================================ */
/* NAVIGATION
/* ============================================ */
.navbar {
    padding: 12px 0;
    transition: all var(--transition-base);
    z-index: 1000;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 10px 15px;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--gold);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--transition-base);
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 30px;
}

.navbar-scrolled {
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
}

.navbar-brand {
    font-size: var(--font-size-xl);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 10px 0;
}

.dropdown-menu-dark {
    background-color: var(--navy-light);
}

.dropdown-menu-dark .dropdown-item {
    color: var(--white);
    padding: 10px 20px;
    transition: all var(--transition-fast);
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: var(--navy);
    color: var(--gold);
    padding-left: 25px;
}

.dropdown-toggle::after {
    margin-left: 8px;
}

/* ============================================ */
/* HERO SECTION
/* ============================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--gold-rgb), 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--teal-rgb), 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-float {
    animation: floatAnimation 6s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(1deg); }
    75% { transform: translateY(-10px) rotate(-1deg); }
}

.min-vh-75 {
    min-height: 75vh;
}

/* Hero Buttons */
.hero-buttons .btn {
    margin-bottom: 10px;
}

/* ============================================ */
/* TRUST BAR
/* ============================================ */
.trust-bar {
    background: var(--white);
    position: relative;
    z-index: 2;
}

.trust-item {
    padding: 15px 10px;
    transition: transform var(--transition-base);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-item i {
    transition: all var(--transition-base);
}

.trust-item:hover i {
    transform: scale(1.2);
    color: var(--gold);
}

/* ============================================ */
/* SERVICE CARDS
/* ============================================ */
.service-card {
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--navy), var(--gold), var(--teal));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl) !important;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--gold) !important;
    transform: rotateY(360deg);
    box-shadow: 0 10px 30px rgba(var(--gold-rgb), 0.3);
}

.service-icon-wrapper {
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-card ul li {
    font-size: var(--font-size-sm);
}

/* ============================================ */
/* COUNTRY CARDS
/* ============================================ */
.country-card {
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.country-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg) !important;
    border-color: var(--gold) !important;
}

/* ============================================ */
/* TOUR CARDS
/* ============================================ */
.tour-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl) !important;
}

.tour-card:hover .tour-image-placeholder {
    transform: scale(1.1);
}

.tour-image-placeholder {
    transition: transform var(--transition-slow);
    overflow: hidden;
}

/* Tour Badge */
.tour-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--danger);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 2;
}

/* Tour Price */
.tour-price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gold);
}

.tour-price-original {
    text-decoration: line-through;
    color: var(--gray-500);
    font-size: var(--font-size-sm);
}

/* ============================================ */
/* TESTIMONIAL CARDS
/* ============================================ */
.testimonial-card {
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 80px;
    color: var(--gold);
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: serif;
    opacity: 0.3;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-5px);
}

/* ============================================ */
/* FAQ ACCORDION
/* ============================================ */
.accordion-button {
    font-weight: 600;
    font-size: var(--font-size-lg);
    border: none;
    padding: 20px;
    border-radius: var(--radius-md) !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--navy);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gold);
}

.accordion-button::after {
    background-size: 20px;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 20px;
    line-height: 1.8;
}

/* ============================================ */
/* VISA TRACKER STEPS
/* ============================================ */
.tracker-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 40px 0;
    padding: 0 10px;
}

.tracker-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 30px;
    right: 30px;
    height: 4px;
    background: var(--gray-300);
    z-index: 0;
}

.tracker-step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-circle);
    background: var(--gray-300);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    margin-bottom: 10px;
    transition: all var(--transition-base);
}

.tracker-step.completed .step-icon {
    background: var(--teal);
}

.tracker-step.active .step-icon {
    background: var(--gold);
    animation: pulse 2s infinite;
}

.tracker-step small {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--gray-600);
    margin-top: 5px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--gold-rgb), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0);
    }
}

/* ============================================ */
/* PROGRESS BAR
/* ============================================ */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: var(--gray-200);
}

.progress-bar {
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 5px;
}

/* ============================================ */
/* BADGES
/* ============================================ */
.badge {
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 20px;
}

.bg-gold-light {
    background-color: rgba(var(--gold-rgb), 0.15) !important;
}

/* Status Badges */
.badge.bg-warning { background-color: var(--warning) !important; }
.badge.bg-success { background-color: var(--success) !important; }
.badge.bg-danger { background-color: var(--danger) !important; }
.badge.bg-info { background-color: var(--info) !important; }

/* ============================================ */
/* CTA SECTION
/* ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(var(--gold-rgb), 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(var(--teal-rgb), 0.1);
    border-radius: 50%;
}

/* ============================================ */
/* WHATSAPP FLOATING BUTTON
/* ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-circle);
    text-align: center;
    font-size: 28px;
    line-height: 60px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-base);
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    background: #20bd5a;
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* Sticky Apply Now button — sits to the left of the WhatsApp circle */
.apply-now-float {
    position: fixed;
    bottom: 33px;
    right: 100px;
    height: 54px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 0 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(var(--gold-rgb), 0.4);
    z-index: 999;
    transition: all 0.25s;
}
.apply-now-float:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--gold-rgb), 0.5);
}
@media (max-width: 575px) {
    .apply-now-float {
        right: 85px;
        bottom: 30px;
        height: 50px;
        padding: 0 14px;
    }
    .apply-now-float-text { display: none; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

/* ============================================ */
/* BACK TO TOP BUTTON
/* ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: var(--radius-circle);
    background: var(--navy);
    color: var(--white);
    border: 2px solid var(--white);
    display: none;
    z-index: 998;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.back-to-top:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-5px);
}

/* ============================================ */
/* FOOTER
/* ============================================ */
.footer {
    background: var(--footer-bg);
    color: var(--gray-400);
    position: relative;
}

.card {
    background-color: var(--card-bg);
}

.footer h5, .footer h6 {
    color: var(--white);
}

.footer a {
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.footer .social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================ */
/* AUTH PAGES (Login/Register)
/* ============================================ */
.auth-section {
    background: linear-gradient(135deg, var(--cloud) 0%, var(--white) 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.auth-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 50%, var(--teal) 100%);
}

/* Form Controls */
.form-control {
    border: 2px solid var(--gray-300);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-size: var(--font-size-base);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(var(--gold-rgb), 0.15);
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

.input-group-text {
    border: 2px solid var(--gray-300);
    background: var(--white);
}

.input-group .form-control:focus + .input-group-text,
.input-group .form-control:focus ~ .input-group-text {
    border-color: var(--gold);
}

.is-invalid {
    border-color: var(--danger) !important;
}

.invalid-feedback {
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* ============================================ */
/* VISA APPLICATION FORM
/* ============================================ */
.document-upload-area {
    border: 2px dashed var(--gray-400);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    background: var(--cloud);
}

.document-upload-area:hover {
    border-color: var(--gold);
    background: rgba(var(--gold-rgb), 0.05);
}

.document-upload-area.has-file {
    border-color: var(--success);
    background: var(--success-light);
}

/* ============================================ */
/* CONTACT PAGE
/* ============================================ */
.contact-info-card {
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================ */
/* ADMIN DASHBOARD
/* ============================================ */
.sidebar {
    min-height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
}

.sidebar .nav-link {
    color: var(--white);
    padding: 12px 15px;
    border-radius: var(--radius-md);
    margin-bottom: 5px;
    transition: all var(--transition-fast);
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active-gold {
    background: var(--gold);
    color: var(--navy);
}

/* Stats Cards */
.stat-card {
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg) !important;
}

.stat-icon {
    font-size: 2.5rem;
}

/* Tables */
.table th {
    font-weight: 600;
    border-top: none;
}

.table td {
    vertical-align: middle;
}

/* ============================================ */
/* BLOG/NEWS CARDS
/* ============================================ */
.news-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.news-card img {
    transition: transform var(--transition-slow);
}

.news-card:hover img {
    transform: scale(1.1);
}

/* ============================================ */
/* PAGINATION
/* ============================================ */
.pagination .page-link {
    color: var(--navy);
    border: 1px solid var(--gray-300);
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: var(--radius-md);
}

.pagination .page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.pagination .page-link:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
}

/* ============================================ */
/* ALERTS
/* ============================================ */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 15px 20px;
}

.alert-success {
    background: var(--success-light);
    color: var(--success);
}

.alert-danger {
    background: var(--danger-light);
    color: var(--danger);
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning);
}

.alert-info {
    background: var(--info-light);
    color: var(--info);
}

/* ============================================ */
/* ANIMATIONS
/* ============================================ */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================ */
/* RESPONSIVE DESIGN
/* ============================================ */

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* Medium Devices (Tablets, 768px to 991px) */
@media (max-width: 991px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .navbar-collapse {
        background: var(--navy-light);
        padding: 20px;
        border-radius: var(--radius-md);
        margin-top: 10px;
    }
    
    .navbar-dark .navbar-nav .nav-link::after {
        display: none;
    }
    
    .sidebar {
        position: static;
        min-height: auto;
    }
}

/* Small Devices (Mobile, up to 767px) */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-section {
        padding: 80px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .trust-item {
        padding: 10px;
    }
    
    .trust-item h6 {
        font-size: 0.85rem;
    }
    
    .service-card,
    .tour-card,
    .testimonial-card {
        margin-bottom: 20px;
    }
    
    .tracker-steps {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 20px;
    }
    
    .tracker-steps::before {
        top: 0;
        bottom: 0;
        left: 25px;
        width: 4px;
        height: 100%;
    }
    
    .tracker-step {
        display: flex;
        align-items: flex-start;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .step-icon {
        margin-right: 15px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 80px;
        right: 20px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
    }
    
    .auth-card {
        margin: 0 10px;
    }
    
    .contact-info-card {
        margin-bottom: 20px;
    }
}

/* Extra Small Devices (Very small phones) */
@media (max-width: 375px) {
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================ */
/* PRINT STYLES
/* ============================================ */
@media print {
    .navbar,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .hero-buttons,
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================ */
/* UTILITY CLASSES
/* ============================================ */
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.z-index-1 { z-index: 1; }
.z-index-10 { z-index: 10; }
.z-index-100 { z-index: 100; }

.transition-all {
    transition: all var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.text-white-50 { color: rgba(255, 255, 255, 0.5) !important; }
.text-white-75 { color: rgba(255, 255, 255, 0.75) !important; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.gap-4 { gap: 1.5rem; }
.gap-5 { gap: 3rem; }

/* ============================================ */
/* SKELETON LOADING
/* ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================ */
/* CUSTOM SCROLLBAR FOR SPECIFIC ELEMENTS
/* ============================================ */
.custom-scrollbar {
    overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ============================================ */
/* RIPPLE EFFECT (Material Design)
/* ============================================ */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-effect {
    position: absolute;
    border-radius: var(--radius-circle);
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleAnimation 0.6s linear;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================ */
/* TOOLTIP CUSTOM
/* ============================================ */
.tooltip-custom {
    position: relative;
}

.tooltip-custom::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: var(--navy);
    color: var(--white);
    font-size: var(--font-size-xs);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.tooltip-custom:hover::before {
    opacity: 1;
    visibility: visible;
}

/* ============================================ */
/* END OF STYLESHEET
/* ============================================ */

/* ============================================================
   MR CONSULTANCY — PREMIUM ADDITIONS v2.0
   Destination Cards | Package Cards | Dashboard | Upload UI
   ============================================================ */

/* ── Popular Visa Destinations — full-BG card layout ───────── */
.destination-bg-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 280px;
    background-color: var(--navy);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0,0,0,0.18);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.35s ease;
}

.destination-bg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6,20,35,0.92) 0%,
        rgba(6,20,35,0.55) 50%,
        rgba(6,20,35,0.18) 100%
    );
    transition: background 0.35s ease;
    z-index: 1;
}

.destination-bg-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.destination-bg-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(6,20,35,0.96) 0%,
        rgba(6,20,35,0.7)  55%,
        rgba(6,20,35,0.30) 100%
    );
}

.destination-bg-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 20px 20px;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.35s ease;
}

.destination-bg-card:hover .destination-bg-content {
    transform: translateY(-4px);
}

.destination-flag-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    font-size: 2rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

.destination-visa-badge {
    display: inline-block;
    background: rgba(var(--gold-rgb),0.18);
    border: 1px solid rgba(var(--gold-rgb),0.55);
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 30px;
    margin-bottom: 6px;
}

.destination-bg-card h5 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.destination-bg-card .dest-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.82);
    font-size: 0.78rem;
    margin-bottom: 12px;
}

.destination-bg-card .dest-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.destination-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 7px 16px;
    border-radius: 30px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease 0.05s, transform 0.3s ease 0.05s,
                background 0.2s ease;
}

.destination-bg-card:hover .destination-apply-btn {
    opacity: 1;
    transform: translateY(0);
}

.destination-apply-btn:hover {
    background: #fff;
    color: var(--navy);
    text-decoration: none;
}

/* Fallback gradient when no image is set */
.dest-gradient-1 { background-image: linear-gradient(135deg,var(--navy),#2A9D8F); }
.dest-gradient-2 { background-image: linear-gradient(135deg,#1a3a5c,var(--gold)); }
.dest-gradient-3 { background-image: linear-gradient(135deg,var(--navy-light),#2ECC71); }
.dest-gradient-4 { background-image: linear-gradient(135deg,var(--navy-dark),#E74C3C); }

/* ── Holiday Package Cards — premium image + overlay ────────── */
.pkg-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.09);
    transition: transform 0.35s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pkg-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(0,0,0,0.18);
}

.pkg-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--navy-light);
    flex-shrink: 0;
}

.pkg-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pkg-card:hover .pkg-img-wrap img {
    transform: scale(1.07);
}

.pkg-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.pkg-badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    z-index: 2;
}

.pkg-badge-save {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--danger);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    z-index: 2;
}

.pkg-rating {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.pkg-body {
    padding: 18px 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pkg-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pkg-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.78rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.pkg-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pkg-inclusions {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
}

.pkg-inclusion-tag {
    background: rgba(42,157,143,0.1);
    color: var(--teal-dark);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(42,157,143,0.25);
}

.pkg-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 14px;
}

.pkg-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--gold);
}

.pkg-price-orig {
    font-size: 0.82rem;
    text-decoration: line-through;
    color: var(--gray-400);
}

.pkg-cta {
    display: block;
    text-align: center;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    margin-top: auto;
}

.pkg-cta:hover {
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Dashboard stat cards polish ────────────────────────────── */
.stat-card {
    border-radius: 16px !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12) !important;
}

.stat-icon {
    border-radius: 14px !important;
}

/* ── Improved Upload Area ────────────────────────────────────── */
.upload-area {
    border: 2px dashed var(--gray-300);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease,
                transform 0.2s ease;
    background: rgba(248,249,250,0.6);
}

.upload-area:hover {
    border-color: var(--gold);
    background: rgba(var(--gold-rgb),0.06);
    transform: translateY(-2px);
}

.upload-area.drag-over {
    border-color: var(--teal);
    background: rgba(42,157,143,0.07);
}

.upload-area.has-file {
    border-color: var(--teal);
    background: rgba(42,157,143,0.05);
}

.upload-preview-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(42,157,143,0.1);
    border-radius: 30px;
    color: var(--teal-dark);
    font-size: 0.82rem;
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Dashboard quick-action list improvements ───────────────── */
.list-group-item-action {
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.list-group-item-action:hover {
    background: rgba(var(--navy-rgb),0.04) !important;
    padding-left: 24px !important;
}

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 767.98px) {
    .destination-bg-card {
        height: 220px;
    }
    .destination-apply-btn {
        opacity: 1;
        transform: translateY(0);
    }
    .pkg-img-wrap {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .destination-bg-card {
        height: 200px;
    }
    .pkg-img-wrap {
        height: 160px;
    }
    .pkg-price {
        font-size: 1.1rem;
    }
}

/* ── bg-warning-light and bg-danger-light helpers ──────────── */
.bg-warning-light { background-color: rgba(243,156,18,0.1) !important; }
.bg-danger-light  { background-color: rgba(231,76,60,0.1)  !important; }
.bg-success-light { background-color: rgba(46,204,113,0.1) !important; }
.bg-info-light    { background-color: rgba(52,152,219,0.1) !important; }

/* ── Section heading badge ──────────────────────────────────── */
.bg-gold-light { background-color: rgba(var(--gold-rgb),0.15) !important; }

/* ── gradient backgrounds ───────────────────────────────────── */
.bg-gradient-navy {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
}
