/* ─── COMPONENT STYLES (MIGRATED FROM WELCOME.BLADE.PHP) ─── */

/* PACKAGE SLIDER */
.pkg-slider-wrapper {
    position: relative;
    padding: 0 1rem;
    margin-top: 2rem;
}

.pkg-grid-slider {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 3rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.pkg-grid-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.pkg-card-wrapper {
    flex: 0 0 350px;
    max-width: 350px;
}

.pkg-slider-controls {
    position: absolute;
    top: -60px;
    right: 1.5rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.pkg-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--green-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--green);
}

.pkg-slider-btn:hover {
    background: var(--green);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pkg-card-wrapper {
        flex: 0 0 300px;
    }
    .pkg-slider-controls {
        position: static;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* FACILITY SLIDER */
.fac-slider-wrapper {
    position: relative;
    margin-top: 2rem;
}

.fac-grid-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none;
}

.fac-grid-slider::-webkit-scrollbar {
    display: none;
}

.fac-card-wrapper {
    flex: 0 0 300px;
    max-width: 300px;
}

.fac-slider-controls {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

/* TESTIMONIAL MARQUEE */
.testi-marquee-wrapper {
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.testi-marquee-row {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll var(--dur, 40s) linear infinite;
    margin-bottom: 2rem;
}

.testi-marquee-row.rev {
    animation-direction: reverse;
}

.testi-marquee-row:hover {
    animation-play-state: paused;
}

.testi-marquee-item {
    flex: 0 0 320px;
    background: white;
    padding: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testi-img-main {
    width: 100%;
    height: 160px;
    border-radius: 0.75rem;
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 1px solid #f1f5f9;
}

.testi-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    flex-grow: 1;
    margin: 0 !important;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========================================== */
/* ── NOTIFICATION SYSTEM (TOAST) ── */
/* ========================================== */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 380px;
    width: calc(100vw - 48px);
    transform: translateY(-20px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    pointer-events: none;
}

.notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.notification-icon {
    font-size: 0 !important; /* Hide raw text 'checkmark' or 'error' */
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.success {
    background: #dcfce7;
    color: #15803d;
}
.notification-icon.success::before {
    content: '✓';
    font-size: 14px;
    font-weight: bold;
}

.notification-icon.error {
    background: #fee2e2;
    color: #b91c1c;
}
.notification-icon.error::before {
    content: '✕';
    font-size: 12px;
    font-weight: bold;
}

.notification-icon.info {
    background: #dbeafe;
    color: #1d4ed8;
}
.notification-icon.info::before {
    content: 'i';
    font-size: 14px;
    font-weight: bold;
    font-family: serif;
}

.notification-message {
    color: #f8fafc;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Figtree', sans-serif;
}

@media (max-width: 640px) {
    .notification {
        top: auto;
        bottom: 24px;
        right: 12px;
        left: 12px;
        width: calc(100vw - 24px);
        max-width: none;
        transform: translateY(20px) scale(0.95);
    }
    
    .notification.show {
        transform: translateY(0) scale(1);
    }
}
