/* ─────────────────────────────────────────────────────────────
   Grentours Visa Detail Page Design System (Vanilla CSS)
   ───────────────────────────────────────────────────────────── */

/* Global Typography Alignment */
.visa-hero,
.visa-hero-title,
.visa-hero-subtitle,
.visa-hero-badge,
.visa-detail-layout,
.visa-section-title,
.visa-desc,
.vt-card,
.faq-item,
.visa-inquiry-widget,
.floating-label,
.floating-input,
.floating-select,
.floating-textarea,
.visa-submit-btn,
.visa-success-card {
    font-family: 'Poppins', sans-serif !important;
}

/* Hero Banner */
.visa-hero {
    position: relative;
    width: 100%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
}

.visa-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.visa-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    width: 100%;
}

.visa-hero-badge {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.category-badge-evisa {
    background: rgba(34, 197, 94, 0.2) !important;
    border-color: rgba(34, 197, 94, 0.4) !important;
    color: #4ade80 !important;
}

.category-badge-stamped {
    background: rgba(245, 158, 11, 0.2) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    color: #fbbf24 !important;
}

.category-badge-arrival {
    background: rgba(99, 102, 241, 0.2) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    color: #818cf8 !important;
}

.visa-hero-title {
    font-weight: 700;
    font-size: 2.25rem;
    margin-bottom: 8px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.visa-hero-subtitle {
    font-size: 0.95rem;
    color: #f1f5f9;
    max-width: 600px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Page Layout */
.visa-detail-layout {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.visa-detail-layout > div {
    min-width: 0;
}

@media (min-width: 992px) {
    .visa-detail-layout {
        grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    }
}

/* Content Sections */
.visa-section-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.03), 0 1px 4px -1px rgba(15, 23, 42, 0.01);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.visa-section-title {
    font-weight: 600;
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.visa-section-title i {
    color: #2563eb;
    font-size: 1.25rem;
}

.visa-desc {
    color: #334155;
    line-height: 1.6;
    font-size: 0.92rem;
}

/* Pricing / Types Table & Grid */
.vt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.vt-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
}

.vt-card:hover {
    transform: translateY(-4px);
    border-color: #059669; /* Theme green on hover */
    box-shadow: 0 10px 20px -8px rgba(5, 150, 105, 0.15);
}

.vt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.vt-card-name {
    font-weight: 600;
    font-size: 1rem;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.vt-badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vt-badge-express {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

.vt-badge-standard {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.vt-card-price-section {
    margin-bottom: 12px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.vt-card-price-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    font-weight: 600;
}

.vt-card-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 750;
    line-height: 1;
}

.vt-card-price .currency {
    color: #059669;
    font-size: 1.1rem;
    font-weight: 700;
}

.vt-card-price .amount {
    color: #059669;
}

.vt-card-price .per-applicant {
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    margin-left: 2px;
}

.vt-meta-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}

.vt-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.vt-meta-left {
    display: flex;
    align-items: center;
    gap: 6px;
}


.vt-meta-icon {
    color: #2563eb; /* Theme Blue */
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.vt-meta-lbl {
    color: #475569;
    font-weight: 500;
}

.vt-meta-val {
    color: #0f172a;
    font-weight: 600;
}


/* Accordion Native Details/Summary FAQs */
details.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.25s ease;
}

details.faq-item summary {
    list-style: none;
    padding: 14px 18px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    outline: none;
    user-select: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary:hover {
    background: #f1f5f9;
}

details.faq-item[open] summary {
    background: #eff6ff;
    color: #2563eb;
    border-bottom: 1px solid #e2e8f0;
}

details.faq-item[open] .faq-icon-arrow {
    transform: rotate(180deg);
    color: #2563eb;
}

details.faq-item .faq-content {
    padding: 14px 18px;
    color: #475569;
    line-height: 1.6;
    background: #ffffff;
}

/* Sidebar Inquiry Widget */
.visa-inquiry-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    color: #1e293b;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
}

@media (min-width: 992px) {
    .visa-inquiry-widget {
        position: sticky;
        top: 100px;
    }
}

.widget-title {
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: #0f172a;
}

.widget-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* Floating Form Controls */
.floating-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.floating-input,
.floating-select,
.floating-textarea {
    width: 100%;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #0f172a;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    outline: none;
}

.floating-textarea {
    resize: vertical;
    min-height: 100px;
}

.floating-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    padding: 0 6px;
    line-height: 1;
}

.floating-textarea~.floating-label {
    top: 22px;
    transform: none;
}

/* Floating labels triggers */
.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label,
.floating-textarea:focus~.floating-label,
.floating-textarea:not(:placeholder-shown)~.floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: #2563eb;
    font-weight: 600;
}

.floating-input:focus,
.floating-select:focus,
.floating-textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.floating-select~.floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: #64748b;
    font-weight: 600;
}

.floating-select:focus~.floating-label {
    color: #2563eb;
}

.visa-submit-btn {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.visa-submit-btn:hover {
    background: #1d4ed8;
}

.visa-submit-btn:active {
    transform: scale(0.98);
}

/* Success Card */
.visa-success-card {
    text-align: center;
    padding: 24px 12px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

/* Trust Elements */
.visa-trust-list {
    margin-top: 24px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.trust-item {
    font-size: 0.85rem;
}

/* Pulse animation for skeletons */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.skeleton-pulse {
    animation: pulse 1.5s infinite ease-in-out;
}

/* Back to listing link */
.visa-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    margin-bottom: 20px;
}

.visa-back-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Holiday Packages Section */
.visa-packages-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
}

/* Swiper Customizations */
.vt-swiper-container {
    position: relative;
    padding-bottom: 20px;
    margin-top: 20px;
}

.vt-swiper {
    position: relative;
    width: 100%;
    z-index: 1;
    display: block;
    overflow: hidden !important;
    padding: 10px 4px 60px 4px;
    margin: -10px -4px 0 -4px;
}

.vt-swiper .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

.vt-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}


/* Custom Navigation Controls in one row */
.swiper-controls-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}

.swiper-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(15, 23, 42, 0.08);
    z-index: 10;
    outline: none;
}

.swiper-nav-btn:hover {
    background: #059669; /* Theme Green */
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    transform: scale(1.05);
}

.swiper-nav-btn:active {
    transform: scale(0.95);
}

.swiper-nav-btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.swiper-pagination-custom {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: auto !important;
}

.swiper-pagination-custom .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.swiper-pagination-custom .swiper-pagination-bullet-active {
    background: #059669; /* Theme Green */
    width: 20px;
    border-radius: 4px;
}