:root {
            --brand-red: #d32f2f;
            --brand-red-dark: #b71c1c;
            --brand-white: #ffffff;
            --dark-text: #333333;
            --light-gray: #f8f9fa;
            --border-color: #e0e0e0;
            --table-header-bg: #333333;
            --table-cat-bg: #8e8e8e;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--brand-white);
            color: var(--dark-text);
        }

        /* Header Styles */
        .top-header {
            padding: 10px 0;
            border-bottom: 3px solid var(--brand-red);
            background: rgb(255, 255, 255);
        }

        .logo-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-img {
            max-height: 70px;
            width: auto;
            object-fit: contain;
        }

        /* Search Section */
        .search-nav {
            background-color: var(--brand-red);
            padding: 25px 0;
            color: white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .form-control, .form-select {
            border-radius: 4px;
            border: 1px solid var(--border-color);
            height: 50px;
            font-size: 0.95rem;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--brand-red);
            box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
        }

        .btn-search {
            background-color: white;
            color: var(--brand-red);
            font-weight: bold;
            height: 50px;
            width: 100%;
            transition: 0.3s;
            border: none;
        }

        .btn-search:hover {
            background-color: #f1f1f1;
            color: var(--brand-red-dark);
        }

        @media (max-width: 575.98px) {
            .logo-img { max-height: 52px; max-width: 46vw; }
            .search-nav { padding: 22px 0; }
            .tariff-table { min-width: 760px; }
        }

        .btn-clear-filters {
            width: 100%;
            height: 50px;
            border: 1px solid rgba(255, 255, 255, 0.9);
            border-radius: 4px;
            color: #fff;
            font-weight: 700;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .btn-clear-filters:hover, .btn-clear-filters:focus-visible {
            background-color: #fff;
            color: var(--brand-red);
        }

        .tariff-section {
            margin-top: 35px;
            margin-bottom: 50px;
        }

        .tariff-table-wrapper {
            background: #ffffff;
            border-radius: 6px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.06);
            overflow-x: auto;
            border: 1px solid #d0d0d0;
        }

        .tariff-table {
            width: 100%;
            margin-bottom: 0;
            border-collapse: collapse;
            font-size: 0.92rem;
        }

        .tariff-table th {
            background-color: var(--table-header-bg);
            color: #ffffff;
            font-weight: 600;
            text-align: center;
            padding: 14px 10px;
            border: 1px solid #4d4d4d;
            white-space: nowrap;
        }

        .tariff-table td {
            padding: 12px 10px;
            text-align: center;
            vertical-align: middle;
            border: 1px solid #e2e2e2;
            color: #333333;
        }

        .tariff-table td.hotel-name-cell {
            text-align: left;
            font-weight: 500;
            padding-left: 20px;
            color: #222222;
        }

        .tariff-table td.hotel-name-cell a {
            color: #333;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .tariff-table td.hotel-name-cell a:hover {
            color: var(--brand-red);
            text-decoration: underline;
        }

        .tariff-table tr.category-row td {
            background-color: var(--table-cat-bg);
            color: #ffffff;
            font-weight: 700;
            text-align: center;
            font-size: 0.95rem;
            padding: 8px;
            border: 1px solid var(--table-cat-bg);
            letter-spacing: 0.3px;
        }

        .tariff-table tbody tr.hotel-row:hover,
        .tariff-table tbody tr.hotel-row:focus-visible {
            background-color: #f4f6f8;
            cursor: pointer;
        }

        .currency-symbol {
            font-size: 0.85rem;
            color: #666;
            margin-right: 2px;
        }

        /* Hotel Cards */
        .hotel-card {
            display: flex;
            flex-direction: column;
            color: inherit;
            border: 1px solid #e7e8eb;
            border-radius: 14px;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
            overflow: hidden;
            height: 100%;
            background: #fff;
            cursor: pointer;
        }

        .hotel-card:hover,
        .hotel-card:focus-visible {
            transform: translateY(-4px);
            border-color: rgba(211, 47, 47, 0.35);
            box-shadow: 0 12px 28px rgba(26, 31, 41, 0.12);
        }

        .hotel-card:focus-visible {
            outline: 3px solid rgba(211, 47, 47, 0.35);
            outline-offset: 3px;
        }

        .hotel-card .card-body {
            display: flex;
            flex: 1 1 auto;
            flex-direction: column;
            align-items: stretch;
            padding: 1.25rem;
            text-align: left;
        }

        .hotel-card .card-body > .d-flex:first-child {
            justify-content: space-between !important;
            gap: 0.65rem;
            flex-wrap: wrap;
            margin-bottom: 0.85rem !important;
        }

        .hotel-card .card-body > .d-flex:first-child .text-muted {
            padding: 0.38rem 0.55rem;
            border-radius: 999px;
            background: #f3f4f6;
            color: #555 !important;
            font-weight: 600 !important;
        }

        .hotel-card .card-title {
            min-height: auto;
            margin-bottom: 0.55rem;
            line-height: auto;
        }

        .hotel-card .card-text {
            min-height: 4.65em;
            margin-bottom: 0.9rem;
            line-height: 1.55;
			text-align:justify;
        }

        .hotel-card ul {
            padding-left: 1.15rem;
            margin-bottom: 1rem !important;
            line-height: 1.5;
        }

        .hotel-card .card-body > .d-flex:last-child {
            justify-content: flex-end !important;
            margin-top: auto;
            padding-top: 0.85rem !important;
        }

        .hotel-card .card-body > .d-flex:last-child span {
            color: var(--brand-red) !important;
        }

        .badge-star {
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
            padding: 0.38rem 0.68rem;
            border: 1px solid var(--brand-red);
            border-radius: 999px;
            background-color: var(--brand-red);
            color: #fff;
            font-size: 0.78rem;
            font-weight: 700;
            line-height: 1;
            white-space: nowrap;
        }

        @media (prefers-reduced-motion: reduce) {
            .hotel-card { transition: none; }
            .hotel-card:hover, .hotel-card:focus-visible { transform: none; }
        }

        .package-price {
            color: var(--brand-red);
            font-size: 1.25rem;
            font-weight: 700;
        }

        .btn-book {
            background-color: var(--brand-red);
            color: rgb(255, 255, 255);
            border: none;
            padding: 12px 24px;
            border-radius: 6px;
            font-weight: 600;
            transition: 0.3s;
        }

        .btn-book:hover {
            background-color: var(--brand-red-dark);
            color: white;
            box-shadow: 0 4px 8px rgba(183, 28, 28, 0.3);
        }

        .section-title {
            border-left: 5px solid var(--brand-red);
            padding-left: 15px;
            margin-bottom: 25px;
            font-weight: 700;
        }

        /* Modal Enhancements */
        .modal-content {
            border-radius: 12px;
            border: none;
            overflow: hidden;
        }
        
        .modal-header {
            background-color: var(--brand-red);
            color: rgb(255, 255, 255);
            padding: 20px 30px;
        }
        
        .modal-header .btn-close {
            filter: brightness(0) invert(1);
        }

        .inquiry-header-box {
            background: #fff5f5;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid var(--brand-red);
            margin-bottom: 25px;
        }

        .form-label {
            font-weight: 600;
            color: #555;
            margin-bottom: 8px;
        }

        .hotel-gallery img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 15px;
        }

        footer {
            background: #1a1a1a;
            color: white;
            padding: 60px 0;
            margin-top: 80px;
        }

        .card-img-top {
            height: 350px;
            object-fit: cover;
            object-position: center;
            width: 100%;
        }
		
/*Updated CSS*/		
.invalid-feedback{
	width:75% !important;
}

/* ENQUIRY SECTION */

.enquiry-section {
    margin-top: 80px;
    margin-bottom: 40px;
    scroll-margin-top: 30px;
}

.enquiry-card {
    background: #ffffff;
    border: 1px solid #e7e8eb;
    border-radius: 14px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(26, 31, 41, 0.08);
}

.enquiry-header {
    margin-bottom: 30px;
}

.enquiry-card .form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.enquiry-card .form-control,
.enquiry-card .form-select {
    height: 50px;
    border-radius: 6px;
}

.enquiry-card textarea.form-control {
    height: auto;
    min-height: 130px;
    resize: vertical;
}

.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
}

.enquiry-card .is-invalid {
    border-color: #dc3545 !important;
}

.enquiry-card .invalid-feedback {
    font-size: 0.82rem;
}

#messageCounter {
    font-size: 0.8rem;
}


/* Highlight form after Enquiry Now click */

.enquiry-card.enquiry-highlight {
    animation: enquiryHighlight 1.2s ease;
}

@keyframes enquiryHighlight {

    0% {
        box-shadow: 0 8px 30px rgba(26, 31, 41, 0.08);
    }

    30% {
        box-shadow:
            0 0 0 5px rgba(211, 47, 47, 0.12),
            0 12px 40px rgba(211, 47, 47, 0.18);
    }

    100% {
        box-shadow: 0 8px 30px rgba(26, 31, 41, 0.08);
    }

}


/* Hotel table enquiry button */

.tariff-table .btn-book {
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.82rem;
}


/* Mobile */

@media (max-width: 767.98px) {

    .enquiry-section {
        margin-top: 55px;
    }

    .enquiry-card {
        padding: 22px 18px;
        border-radius: 10px;
    }

    .tariff-table .btn-book {
        padding: 7px 11px;
        font-size: 0.76rem;
    }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .enquiry-card.enquiry-highlight {
        animation: none;
    }

}
