/* ============================================
   VISA PAGE HEADER FIX
   Better Visibility for Header Text
   ============================================ */

/* ========== VISA HEADER ENHANCEMENT ========== */
.visa-header {
    position: relative;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.95), rgba(230, 126, 34, 0.95)) !important;
    padding: 5rem 2rem !important;
    margin-bottom: 3rem;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.visa-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    animation: waveMove 20s ease-in-out infinite;
}

.visa-header h1,
.visa-header .display-4 {
    color: white !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
    font-weight: 800 !important;
    position: relative;
    z-index: 1;
}

.visa-header p,
.visa-header .lead {
    color: white !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
    position: relative;
    z-index: 1;
}

/* ========== SERVICES SECTION ENHANCEMENT ========== */
.services-section {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 2rem !important;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.services-section h2 {
    color: #2c3e50 !important;
    text-shadow: none !important;
}

.services-section p {
    color: #34495e !important;
}

.service-card {
    background: white !important;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 16px 40px rgba(243, 156, 18, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #2c3e50 !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #34495e !important;
    line-height: 1.6;
}

/* ========== VISA SECTION BACKGROUND ========== */
.visa-section {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 2rem !important;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ========== SEARCH CONTAINER ========== */
.search-container {
    margin-bottom: 3rem;
}

.search-input {
    border: 2px solid rgba(243, 156, 18, 0.2) !important;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #f39c12 !important;
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25) !important;
}

.search-btn {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: none !important;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateX(-4px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4) !important;
}

/* ========== VISA CARDS ========== */
.visa-card {
    background: white !important;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.visa-card:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 24px 60px rgba(243, 156, 18, 0.25);
}

.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.visa-card:hover .card-image img {
    transform: scale(1.15) rotate(2deg);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: #2c3e50 !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #34495e !important;
    margin-bottom: 1rem;
}

.card-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
}

.detail-item i {
    color: #f39c12;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39c12;
    margin-bottom: 1rem;
}

.btn-orange {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%) !important;
    border: none !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4) !important;
}

/* ========== VISA DETAILS SECTION ========== */
.visa-details-section {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 2rem !important;
    margin: 2rem 0;
}

.visa-details-section .card {
    background: white !important;
    border: none !important;
}

.visa-details-section h2,
.visa-details-section h3,
.visa-details-section h4,
.visa-details-section h5 {
    color: #2c3e50 !important;
}

.visa-details-section p,
.visa-details-section li {
    color: #34495e !important;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .visa-header {
        padding: 3rem 1.5rem !important;
        border-radius: 0 0 30px 30px;
        margin-top: 0 !important;
    }
    
    .visa-header h1,
    .visa-header .display-4 {
        font-size: 1.75rem !important;
    }
    
    .visa-header p,
    .visa-header .lead {
        font-size: 1rem !important;
    }
    
    .services-section,
    .visa-section,
    .visa-details-section {
        padding: 2rem 1rem !important;
        border-radius: 20px;
    }
}

@media (max-width: 576px) {
    .visa-header {
        padding: 2.5rem 1rem !important;
    }
    
    .visa-header h1,
    .visa-header .display-4 {
        font-size: 1.5rem !important;
    }
    
    .visa-header p,
    .visa-header .lead {
        font-size: 0.9rem !important;
    }
}

/* ========== Z-INDEX FIX FOR NAVBAR ========== */
.visa-page .main-navbar,
.visa-page #mynavbar-1,
.visa-page .navbar {
    z-index: 1050 !important;
    position: sticky !important;
    top: 0 !important;
}

.visa-page #top-bar {
    z-index: 1049 !important;
    position: relative !important;
}

.visa-header {
    z-index: 1 !important;
    position: relative !important;
    margin-top: 0 !important;
}

/* ========== SIDEBAR Z-INDEX FIX - MUST BE HIGHEST ========== */
.visa-page .sidenav,
.visa-page #sidebar,
.visa-page .sidenav-content {
    z-index: 99999 !important;
}

.visa-page .sidenav-content nav,
.visa-page #sidebar {
    z-index: 99999 !important;
    background: #ffffff !important;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2) !important;
}

/* Sidebar menu items */
.visa-page #sidebar .side-menu,
.visa-page #sidebar .navbar-nav,
.visa-page #sidebar .items-list,
.visa-page #sidebar #main-menu,
.visa-page #sidebar .list-group {
    background: #ffffff !important;
}

/* Floating icons behind everything */
.visa-page .visa-floating-icons {
    z-index: 0 !important;
    pointer-events: none;
}

/* Ensure wrapper doesn't create stacking context issues */
.visa-page .wrapper {
    position: relative;
    z-index: auto;
}
