/* ==========================================================================
   রূপসী বাংলাদেশ (Rupasi Bangladesh) — Portal Layout & Public Stylesheet
   Governing Authority: Bangladesh Parjatan Corporation (BPC)
   Design System: Matched Exactly with bpcbd.lovable.app
   ========================================================================== */

/* 1. MAIN HEADER (Clean White Header matching Official BPC Design) */
.portal-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}

.portal-header .container {
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 16px;
    flex-wrap: nowrap;
}

.portal-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.portal-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.portal-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    box-shadow: none;
    flex-shrink: 0;
}

.portal-logo-text h1 {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.portal-logo-text p {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
}

/* NAVIGATION LINKS */
.portal-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.portal-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.portal-nav a:hover,
.portal-nav a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.portal-nav a.nav-gold {
    color: var(--gold);
}
.portal-nav a.nav-gold:hover {
    background-color: var(--gold-light);
}

/* 2. HERO SECTION & AUTO-SLIDER (Bangladeshi Destinations) */
.portal-hero {
    position: relative;
    background-color: #0b1a13;
    color: #ffffff;
    padding: 60px 0 45px 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    min-height: 480px;
}

/* Background Cross-fade Slider */
.hero-bg-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* Dark Sovereign Gradient Overlay */
.hero-slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 26, 19, 0.76) 0%, rgba(11, 26, 19, 0.88) 60%, rgba(11, 26, 19, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Dynamic Slide Indicator Bars */
.hero-slide-indicators {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
}

.indicator-bar {
    width: 12px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}

.indicator-bar.active {
    width: 28px;
    background: var(--gold);
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.6);
}

.indicator-bar:hover:not(.active) {
    background: rgba(255, 255, 255, 0.7);
}

#hero-dest-title,
#hero-dest-loc,
#hero-dest-snippet {
    transition: opacity 0.25s ease-in-out;
}

.portal-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 119, 6, 0.2);
    color: #fde68a;
    border: 1px solid rgba(217, 119, 6, 0.45);
    padding: 5px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portal-hero h2 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 14px;
    color: #ffffff !important;
}

.portal-hero p.subtitle {
    font-size: 22px;
    color: #fde68a;
    font-weight: 600;
    margin-bottom: 14px;
}

.portal-hero p.desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    line-height: 1.75;
    margin-bottom: 28px;
}

/* Hero Button Variants */
.btn-white {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.btn-white:hover {
    background-color: #f1f5f9;
    color: var(--primary);
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
}
.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

/* Hero Bottom Cards & Stats Row (Matched with Lovable Image 1) */
.hero-bottom-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-feature-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    max-width: 380px;
}

.hero-feature-card .tag {
    font-size: 11px;
    color: #fde68a;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.hero-feature-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 2px;
}

.hero-feature-card .location {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 6px;
    display: block;
}

.hero-feature-card .snippet {
    font-size: 12.5px;
    color: #e2e8f0;
    line-height: 1.5;
}

.hero-stats-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-stat-box p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 4px;
}

.hero-stat-box h3 {
    font-size: 24px;
    font-weight: 800;
    color: #fde68a !important;
}

/* 3. 6-COLUMN SERVICES GRID (Matched with Official BPC Specification) */
.services-section {
    padding: 50px 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border);
}

.section-header {
    margin-bottom: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 14px;
}

.section-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
}

.section-header p {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 4px;
}

.services-grid-6col {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.service-card-compact {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-main);
}

.service-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px -4px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.service-card-compact .thumb {
    position: relative;
    height: 110px;
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.service-card-compact .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-compact:hover .thumb img {
    transform: scale(1.06);
}

.service-card-compact .thumb-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.service-card-compact .info {
    padding: 10px 8px;
    text-align: center;
}

.service-card-compact .info h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-card-compact .info p {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 18th Solid Green "All Services" Card */
.service-card-all {
    background-color: var(--primary);
    border-radius: var(--radius-md);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 16px;
    text-align: center;
    min-height: 155px;
    transition: all 0.2s ease;
}

.service-card-all:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px -4px rgba(13, 92, 58, 0.35);
}

.service-card-all .icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 8px;
    color: #ffffff;
}

.service-card-all span {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

/* 4. POPULAR DESTINATIONS & LODGING SECTION (Matched from Lovable Image 1) */
.destinations-section {
    padding: 50px 0;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border);
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.destination-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.destination-card .img-box {
    position: relative;
    height: 180px;
    width: 100%;
    overflow: hidden;
}

.destination-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.destination-card:hover .img-box img {
    transform: scale(1.05);
}

.destination-card .content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.destination-card .content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.destination-card .content .loc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.destination-card .footer-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.destination-card .price {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
}

.destination-card .rating {
    font-size: 12px;
    color: #d97706;
    font-weight: 600;
}

/* 5. GOVERNMENT BPC NOTICE STRIP (Matched from Lovable Image 1) */
.gov-notice-strip {
    padding: 30px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.gov-notice-inner {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    background: #fafcfb;
}

.gov-notice-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gov-notice-right {
    max-width: 650px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 6. CLEAN FOOTER (Matched from Lovable Image 1) */
.portal-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border);
    padding: 50px 0 24px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.4fr 1.4fr;
    gap: 32px;
    margin-bottom: 40px;
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & RESPONSIVE ENGINE
   ========================================================================== */

/* Hamburger Button */
.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: #f8fafc;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-menu-toggle:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(13, 92, 58, 0.2);
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-nav-drawer.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 310px;
    max-width: 85vw;
    background: #ffffff;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.18);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
    z-index: 10;
    overflow-y: auto;
}

.mobile-nav-drawer.active .mobile-nav-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.mobile-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-close-btn:hover {
    background: #e2e8f0;
    color: var(--danger);
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-nav-links a.nav-gold {
    color: var(--gold);
}

.mobile-nav-links a i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.mobile-nav-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 18px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP -> TABLET -> MOBILE)
   ========================================================================== */

/* Laptops & Desktops with compact viewports (<= 1200px) */
@media (max-width: 1200px) {
    .portal-nav {
        gap: 2px;
    }
    .portal-nav a {
        padding: 7px 10px;
        font-size: 13.5px;
    }
    .portal-header .container {
        gap: 10px;
    }
}

/* Medium Devices (Tablets, small laptops <= 1040px) */
@media (max-width: 1040px) {
    .portal-nav {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: inline-flex !important;
    }
    .desktop-only-btn {
        display: none !important;
    }
    .services-grid-6col {
        grid-template-columns: repeat(3, 1fr);
    }
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Small Devices (Landscape Phones & Portrait Tablets <= 768px) */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Header Compact */
    .portal-header .container {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .portal-logo-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .portal-logo-text h1 {
        font-size: 15px;
    }

    /* Hero Responsive */
    .portal-hero {
        padding: 40px 0 30px 0;
    }

    .portal-hero h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 8px;
    }

    .portal-hero .subtitle {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .portal-hero .desc {
        font-size: 13.5px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .portal-hero .hero-action-btns {
        flex-direction: column !important;
        width: 100% !important;
    }

    .portal-hero .hero-action-btns .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Bottom Teaser & Stats Row */
    .hero-bottom-grid {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 16px !important;
    }

    .hero-feature-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
    }

    .hero-stats-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-stat-box {
        padding: 12px 14px !important;
    }

    .hero-stat-box h3 {
        font-size: 20px !important;
    }

    .hero-stat-box p {
        font-size: 11px !important;
    }

    /* Services Grid (2 Columns on mobile) */
    .services-grid-6col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .compact-service-card {
        padding: 12px 10px !important;
        min-height: 90px !important;
    }

    .compact-service-card h4 {
        font-size: 12.5px !important;
        line-height: 1.35 !important;
    }

    .compact-service-card p {
        display: none !important;
    }

    .compact-service-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        margin-bottom: 8px !important;
    }

    /* Popular Destinations Grid */
    .destinations-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .destination-card img {
        height: 170px !important;
    }

    /* Government Notice Strip */
    .gov-notice-inner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 16px !important;
    }

    .gov-notice-right {
        font-size: 12.5px !important;
    }

    /* Footer Mobile */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
    }
}

/* Extra Small Devices (Phones <= 480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .portal-logo-text p {
        display: none;
    }

    .portal-hero h2 {
        font-size: 22px;
    }

    .portal-hero .subtitle {
        font-size: 14px;
    }

    .services-grid-6col {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .compact-service-card {
        padding: 10px 8px !important;
    }
}

/* ==========================================================================
   ONE ID PROFILE & SMART PASS RESPONSIVE STYLES
   ========================================================================== */
.identity-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: start;
}

.identity-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 860px) {
    .identity-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (max-width: 580px) {
    .identity-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .identity-form-grid .form-group {
        grid-column: span 1 !important;
    }
}

/* ==========================================================================
   SERVICES 22 CATALOG GRID (Matched from Screenshot 2 / bpcbd.lovable.app)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(13, 92, 58, 0.3);
}

.service-img-wrap {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

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

.service-card:hover .service-img-wrap img {
    transform: scale(1.04);
}

.service-badge-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 17px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.service-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-body h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.service-body p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    margin-top: auto;
}

.service-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

.service-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .service-img-wrap {
        height: 160px;
    }
}

/* ==========================================================================
   SERVICES FULL CATALOG GRID (Pixel-matched with Lovable Service Directory)
   ========================================================================== */
.services-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-catalog-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.service-catalog-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f1f5f9;
}

.service-catalog-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.service-catalog-card:hover .service-catalog-img-wrap img {
    transform: scale(1.04);
}

.service-catalog-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-catalog-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.service-catalog-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.service-catalog-body p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex: 1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-catalog-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #059669;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
    margin-top: auto;
}

.service-catalog-link:hover {
    color: #047857;
    text-decoration: none;
    transform: translateX(3px);
}

@media (max-width: 992px) {
    .services-catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .services-catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-catalog-img-wrap {
        height: 165px;
    }
    .service-catalog-body {
        padding: 18px 16px;
    }
}

/* FLOATING EMERGENCY SOS BUTTON (Task 9.1) */
.floating-sos-btn {
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
    z-index: 998;
    transition: all 0.25s ease;
    white-space: nowrap !important;
}

.floating-sos-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.55);
}

.floating-sos-btn i {
    animation: sos-pulse 1.5s infinite;
}

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

@media (max-width: 768px) {
    .floating-sos-btn {
        bottom: 72px;
        right: 16px;
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* FLOATING AI ASSISTANT BUTTON (Module 25) */
.floating-ai-btn {
    position: fixed;
    bottom: 28px;
    left: 28px;
    background: linear-gradient(135deg, #053b27 0%, #065f46 100%);
    color: #ffffff;
    border: 1px solid var(--gold);
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(5, 59, 39, 0.4);
    z-index: 990;
    transition: all 0.25s ease;
    text-decoration: none;
    white-space: nowrap !important;
}

.floating-ai-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(5, 59, 39, 0.6);
    color: var(--gold);
}

.floating-ai-btn i {
    color: var(--gold);
    animation: sparkle 2s infinite ease-in-out;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.25) rotate(15deg); }
}

@media (max-width: 768px) {
    .floating-ai-btn {
        bottom: 20px;
        left: 16px;
        padding: 10px 14px;
        font-size: 12px;
    }
}

/* Room Detail Media Tabs & Showcase */
.media-tab-btn {
    padding: 9px 18px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    font-weight: 700;
    font-size: 13.5px;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    text-decoration: none;
}
.media-tab-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}
.media-tab-btn.active {
    background: #0d5c3a !important;
    border-color: #0d5c3a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(13,92,58,0.25) !important;
}
.media-tab-btn.active i {
    color: #86efac;
}

/* Ensure all Hero & Header H2 headings are crisp white on dark backgrounds */
.grs-hero h2,
.weather-hero h2,
.itinerary-hero h2,
.ai-page-header h2,
.portal-hero h2,
.voucher-header h2 {
    color: #ffffff !important;
}




