:root {
    --primary-color: #4e73df;
    --secondary-color: #858796;
    --accent-color: #1cc88a;
    --dark-color: #2c3e50;
    --light-color: #f8f9fc;
    --gradient-primary: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
}

body {
    font-family: 'Nunito', sans-serif;
    color: #5a5c69;
    background-color: #fff;
    overflow-x: hidden;
}

/* --- Navbar --- */
.navbar-custom {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin-left: 15px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.4);
    color: #fff;
}

/* --- Hero Section --- */
.hero-section {
    background: url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 0 120px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(78, 115, 223, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-outline {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-hero-primary {
    background: var(--gradient-primary);
    color: #fff;
    border: 2px solid transparent;
}

.btn-hero-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(78, 115, 223, 0.5);
    color: #fff;
}

.btn-hero-outline {
    font-weight: 800;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* --- Advanced Search Box --- */
.search-container {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.search-box-wrapper {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 35px;
    transition: all 0.3s;
}

.search-box-wrapper:hover {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.advanced-search-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.search-inputs-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-input-group {
    width: 100%;
}

.search-filters-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.search-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    display: block;
}

.input-with-icon {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.1rem;
    z-index: 1;
}

.search-input,
.search-select {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fff;
    color: var(--dark-color);
}

.search-input:focus,
.search-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(78, 115, 223, 0.1);
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234e73df' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 45px;
}

.btn-search-submit {
    padding: 18px 40px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    height: fit-content;
    align-self: flex-end;
    box-shadow: 0 8px 20px rgba(78, 115, 223, 0.3);
}

.btn-search-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(78, 115, 223, 0.4);
}

.btn-search-submit i {
    font-size: 1rem;
}

/* --- Card Styles --- */
.card-custom {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-custom:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.card-meta {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.price-tag {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.2rem;
}

/* --- Modern Package Cards --- */
.package-card {
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.package-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .package-img {
    transform: scale(1.15);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(78, 115, 223, 0.4);
}

.package-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 18px;
    line-height: 1.4;
}

.package-info {
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.info-item i {
    font-size: 1rem;
}

.package-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.package-price small {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 4px;
}

.price-amount {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.4rem;
    margin: 0;
}

.btn-view-detail {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-view-detail:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

/* Grid spacing */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer p,
.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s;
}

.social-icons a:hover {
    background: var(--primary-color);
}

/* --- Payment Methods in Footer (Inline Small Icons) --- */
.payment-methods-inline {
    margin-top: 8px;
}

.payment-icon-small {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 55px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.payment-icon-small:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.payment-icon-small img {
    max-height: 28px;
    max-width: 50px;
    object-fit: contain;
}

.payment-icon-small span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
    .search-filters-row {
        grid-template-columns: 1fr;
    }

    .advanced-search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-search-submit {
        align-self: stretch;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 80px 0 100px;
    }
}

@media (max-width: 576px) {
    .payment-icon-small {
        min-width: 50px;
        height: 35px;
        padding: 5px 8px;
    }
    
    .payment-icon-small img {
        max-height: 25px;
        max-width: 45px;
    }
}