/* ===== Color Theme and footer modified ===== */
/* ===== file modified by NK on Nov 26 at 12:07 AM ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #005fbd;
    --primary-light-on-hover: #007fff;
    --dark-text-color: #6c6c6c;
    --secondary: #ec4899;
    --footer-bg-color: #474747;
    --primary-light: #e0f7fa;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --text-muted: #95a5a6;
    --border: #e0e0e0;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
}


body {
    font-family: "Raleway", sans-serif;
    background-image: url("../images/light_bg.jpg") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 90%;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* ===== custom header ===== */

.show {
    display: flex;
}

.custom-header {
    z-index: 6;
    position: relative;
}

.custom-header .top {
    width: 100%;
    background-color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    padding: 1em 10% 4%;
}

.top p {
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    font-size: 0.8em;
    margin-right: 1em;
}

.top a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9em;
    transition: ease-in-out 0.3s;
}

.top a i {
    margin-right: 5px;
    font-size: 1.1em;
    transition: ease-in-out 250ms;
}

.top a:hover,
.top a:hover i {
    color: var(--secondary);
}

.custom-header .bottom {
    margin: 0px 6%;
    padding: .8em;
    position: relative;
    bottom: 2.5em;
    background-color: #ffffffd6;
    backdrop-filter: blur(1px);
    border-radius: 6px;
    /* width: 80%; */
    /* margin: auto; */
    /* padding: .8em; */
    /* position: relative; */
    /* bottom: 2.5em; */
    /* background-color: #efefefd6; */
    /* backdrop-filter: blur(1px); */
    /* border-radius: 6px; */
    /* border: 3px solid #ffffffd6; */
}

.bottom #navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#navbar .company-name {}

.company-name a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.company-name a span {
    font-size: 1.75em;
    font-weight: bold;
}

.company-name a img {
    display: inline-block;
    width: 4em;
    margin-right: 6px;
}

span.light-colored {
    color: var(--primary-light-on-hover);
}

span.dark-colored {
    color: var(--dark-text-color);
}

#navbar .links {}

.links .nav-links {}

.nav-links a {
    color: var(--dark-text-color);
    font-weight: 500;
    font-size: 1em;
    padding: 0.7em;
    text-decoration: none;
    transition: ease-in-out 300ms;
    border-radius: 5px;
    margin-right: 0.6em;
}

.nav-links a:hover {
    background-color: var(--primary-light-on-hover);
    color: #fff;
}

.nav-links a:last-child {
    margin-right: 0;
}

.nav-links a i {
    position: relative;
    top: 2px;
}

#navbar .mobile-menu-btn {
    display: none;
    padding: 0.8em;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    border: 2px solid var(--secondary);
}

.bottom .mobile-menu {
    display: none;
    position: absolute;
    background: rgb(255 255 255 / 60%);
    backdrop-filter: blur(2px);
    transition: transform 0.3s ease-in-out;
    border: 2px solid var(--border);
    padding: 0.4em 1em 0.4em 1em;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu a {
    border-bottom: 2px solid var(--text-muted);
    padding: 0.6em;
    text-align: right;
    text-decoration: none;
    color: var(--text-secondary);
    text-transform: capitalize;
}

.mobile-menu a:last-child {
    border: none;
}

.mobile-menu-btn i {
    color: var(--secondary);
    font-size: x-large;
}

/* responsive mobile menu */
@media only screen and (max-width: 1115px) {
    #navbar .mobile-menu-btn {
        display: flex;
    }

    #navbar .links {
        display: none;
    }

    .custom-header .bottom {
        bottom: 2em;
    }

    .bottom .mobile-menu {
        flex-direction: column;
        border-radius: 6px;
        min-width: 20em;
        align-items: stretch;
        right: 2em;
    }
}

/* Search Bar */
.search-section {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: visible;
    position: relative;
    z-index: 5;
    margin-top: -6%;
}

.search-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr auto;
    align-items: stretch;
    position: relative;
    z-index: 4;
}

.search-input-group {
    padding: 1.4rem 2rem;
    border-right: 1px solid var(--border);
    position: relative;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.search-input-group:hover {
    background: #fafafa;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    background: transparent;
    cursor: text;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

/* Custom Dropdown */
.custom-select {
    position: relative;
    width: 100%;
    pointer-events: none;
}

.select-selected {
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.select-selected:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--primary-dark);
    margin-left: 10px;
    transition: transform 0.3s;
}

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}

/* Dropdown Container - Fixed positioning */
.dropdown-container {
    position: absolute;
    background-color: white;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

.dropdown-container.show {
    display: block;
    animation: slideDown 0.2s ease;
}

/* Autocomplete Container */
.autocomplete-container {
    position: absolute;
    background-color: white;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 9999;
}

.autocomplete-container.show {
    display: block;
    animation: slideDown 0.2s ease;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    color: var(--text-primary);
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-light-on-hover);
}

.autocomplete-item.no-results {
    color: var(--text-muted);
    cursor: default;
    font-style: italic;
}

.autocomplete-item.no-results:hover {
    background-color: white;
    color: var(--text-muted);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-container div {
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.dropdown-container div:hover {
    background-color: var(--primary-light);
    color: var(--primary-light-on-hover);
}

.dropdown-container div.same-as-selected {
    background-color: var(--primary-dark);
    color: white;
    font-weight: 600;
}

.dropdown-container div.same-as-selected:hover {
    background-color: var(--primary-light-on-hover);
}

.search-btn {
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 0 3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-btn:hover {
    background: var(--primary-light-on-hover);
}

/* Results */
.results-info {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    background: white;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    border-radius: 4px;
    font-family: "Raleway", sans-serif;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button.active {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
}

.pagination .page-info {
    padding: 0 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Cards Grid */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* Tour Card */
.tour-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.tour-card:hover .card-footer {

    background-color: var(--primary-light-on-hover);
}

.card-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 1.75rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 1.25rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s;
}

.tour-card:hover .card-title {
    color: var(--primary-dark);
}

.card-price-display {
    text-align: right;
    flex-shrink: 0;
}

.price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    /* text-decoration: line-through; */
    font-weight: 400;
    display: block;
    margin-bottom: 3px;
}

.price-new {
    font-size: 1.25rem;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1;
    display: block;
}

.card-rating {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.875rem;
    font-weight: 600;
    display: block;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: auto;
    padding-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: calc();
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    background: var(--primary-dark);
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    margin-top: auto;
    transition: ease-in-out 300ms;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-icon {
    width: 20px;
    height: 20px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

/* Loading State */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-overlay.active {
    display: flex;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 968px) {
    .search-grid {
        grid-template-columns: 1fr;
    }

    .search-input-group {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .search-input-group:last-of-type {
        border-bottom: none;
    }

    .search-btn {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 509px) {
    .search-input-group {
        padding: 1rem 1.25rem;
    }
}

/* Tour Type Chip - Soft Blue/White Theme */
.tour-chip {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    /* Soft rounded corners */
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    /* Soft white background */
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 95, 189, 0.15);
    /* Soft blue shadow */
    border: 1px solid rgba(0, 95, 189, 0.1);
    /* Subtle blue border */
    z-index: 2;
    transition: all 0.3s ease;
}

.chip-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
    fill: none;
}

/* Icon colors are now inline in the HTML for domestic/international */

.tour-card:hover .tour-chip {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 95, 189, 0.25);
    background: rgba(255, 255, 255, 1);
}

/* ===== Footer ===== */
.footer {
    background-color: #373737;
    padding: 30px 0;
    color: #fff;
    padding-top: 70px;
}

.container-f {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: auto;
    gap: 50px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col ul.footer-page-links {
    list-style: none;
}

ul.footer-page-links li {
    display: flex;
    gap: 5px;
    align-items: center;
    line-height: 1.7;
}

ul.footer-page-links li i {
    font-size: 1.1em;
    position: relative;
    bottom: 1px;
}

ul.footer-page-links li a {
    text-transform: capitalize;
    color: var(--primary-light-on-hover);
    font-weight: bold;
    transition: ease-in-out 100ms;
}

ul.footer-page-links li a:hover {
    color: var(--secondary);
}

.footer h3,
.footer h4 {
    color: #fff;
    margin-bottom: 1em;
    font-size: 1.5em;
    letter-spacing: 0.5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 14px;
    border-top: 2px solid var(--border);
    color: var(--secondary);
    width: 90%;
    margin: auto;
    margin-top: 30px;
    font-weight: 600;
}

.footer .comp-name {
    color: var(--primary-light-on-hover);
    font-size: 2.25em;
    margin-top: -0.3em;
    margin-bottom: 0.5em;
}

.footer .comp-name-span {
    color: #fff;
}

.textwidget {
    font-size: 15px;
    line-height: 1.3;
}

.textwidget p:first-child {
    font-size: 1.1em;
    margin-bottom: 1em;
}

.textwidget p.contact-no-link {
    margin-bottom: 1em;
}

p.contact-no-link a,
p.email-link a {
    color: var(--primary-light-on-hover);
    font-weight: bold;
    transition: ease-in-out 100ms;
}

p.contact-no-link a:hover,
p.email-link a:hover {
    color: var(--secondary)
}

.textwidget p.address {
    margin-bottom: 1em;
}

.textwidget p {
    display: flex;
    align-items: center;
    gap: 6px;
}

.textwidget p i {
    font-size: 1.2em;
}

.social-menu {
    display: flex;
    justify-content: left;
    gap: 15px;
    align-content: space-between;
}

.social-btn {
    list-style: none;
    width: 45px;
    height: 45px;
    background: var(--border);
    margin: 0px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 10px -5px rgb(255, 255, 255, 0.1);
    transition: ease-in-out 200ms;
}

span.span-style {
    margin: 0 10px 3px 0
}

.social-btn a {
    text-decoration: none;
    color: #fff;
}

.social-btn:hover a {
    color: #fff;
}

.social-menu a {
    width: 24px;
    height: 24px;
}

.social-btn:hover::after {
    top: -12px;
    opacity: 1;
}

.facebook a {
    color: #3b5999;
}

.facebook:hover {
    background: #3b5999;
}

.instagram a {
    color: #962fbf;
}

.instagram:hover {
    background: #962fbf;
}

.pinterest a {
    color: #c8232c;
}

.pinterest:hover {
    background: #c8232c;
}

.linkedin a {
    color: #0b9632;
}

.linkedin:hover {
    background: #049929;
}

.tour-banner {
    background: url(/images/pexels-asadphoto-1450360\ \(2\).jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: -7.5em;
    padding: 50px;
    height: 25em;
    display:flex;
    align-items: center;
    filter: brightness(90%);
    justify-content: center;
    /* opacity: 0.2; */
    /* background-color: #4d4848; */
}
.tour-banner h1{
    color:#ffffff;
    font-weight: 1000;
    font-size: 50px;
    /* filter: brightness(0%); */
    /* z-index: 99999; */
}
