@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #222222;
    --secondary-color: #f7b731;
    /* Bright yellow/gold for icons */
    --accent-color: #cda434;
    --bg-light: #f5f7fa;
    --text-dark: #333333;
    --text-light: #6e7a8a;
    --white: #ffffff;
    --border-color: #eaeaea;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.2s ease;
    --theme-color: #cda434;
}

/* Platform Themes */
.theme-flights {
    --theme-color: #cda434;
}

.theme-hotels {
    --theme-color: #cda434;
}

.theme-train {
    --theme-color: #cda434;
}

.theme-bus {
    --theme-color: #cda434;
}

.theme-transfer {
    --theme-color: #cda434;
}

.theme-visa {
    --theme-color: #cda434;
}

.theme-holidays {
    --theme-color: #cda434;
}

.theme-cabs {
    --theme-color: #cda434;
}

/* Responsive Theme Updates */
.search-btn {
    background: var(--theme-color) !important;
    transition: background 0.3s;
}

.s-tab.active i {
    color: var(--theme-color) !important;
}

.s-tab.active::after {
    background-color: var(--theme-color) !important;
}

.sub-link.active {
    color: var(--theme-color) !important;
}

.sub-link.active::after {
    background: var(--theme-color) !important;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Sticky Dual Header Component */
.sticky-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: visible;
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
}

.main-logo-top {
    height: 40px;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

.login-action {
    background: #e01e26;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.login-action:hover {
    background: #333;
}

.util-link {
    color: #333;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.util-link i {
    font-size: 15px;
    color: #777;
    transition: transform 0.2s;
}

.util-link:hover {
    color: var(--accent-color);
}

/* Dropdown Sub-component */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
    display: none;
    flex-direction: column;
    padding: 8px;
    z-index: 99999;
    border: 1px solid #f0f0f0;
}

.dropdown-menu.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.header-util {
    display: flex !important;
    align-items: center;
    gap: 25px;
    visibility: visible !important;
}

.util-link {
    text-decoration: none;
    color: #444;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.util-link:hover {
    color: var(--accent-color);
}

.dropdown-item {
    padding: 12px 18px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 8px;
    transition: all 0.2s;
}

.dropdown-item span {
    color: #888;
    font-size: 11px;
    min-width: 28px;
    text-align: center;
}

.dropdown-item:hover {
    background: #f8f9fb;
    color: var(--accent-color);
}

.dropdown-item.active {
    background: #fff9f6;
    color: var(--accent-color);
}

.dropdown-toggle.active i {
    transform: rotate(180deg);
}

.country-code {
    margin-right: 4px;
    color: #666;
    font-weight: 700;
}

.util-sep {
    width: 1px;
    height: 20px;
    background: #eee;
}

.login-action {
    background: #111;
    color: #fff;
    border: none;
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.login-action:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Sub Navigation Bar */
.sub-nav {
    background: #fff;
    padding: 8px 0;
}

.sub-nav-left {
    display: flex;
    gap: 30px;
}

.sub-link {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    position: relative;
    transition: 0.2s;
}

.sub-link.active {
    color: var(--accent-color);
}

.sub-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-color);
}

.sub-link i {
    font-size: 16px;
    opacity: 0.9;
}

.offer-badge {
    background: #e54b4b;
    color: #fff;
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(229, 75, 75, 0.2);
}

.sub-nav-right {
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

/* Offset Body for Sticky Positioning */
body {
    padding-top: 140px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Updated background image to look more like the dark metropolitan city block from image */
    background: url('../images/travel_hero_bg.png') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    /* slightly lighter overlay to show buildings clearly */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
    margin-top: -60px;
    /* shift up slightly */
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    letter-spacing: -1px;
    font-weight: 700;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ffffff 30%, #cda434 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 500;
    color: #e8eb3dfb;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
    margin-bottom: 20px;
}

/* Search Box Overlaying Hero */
.search-container {
    max-width: 1200px;
    width: 95%;
    margin: -100px auto 60px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.search-tabs-grid {
    display: flex;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    justify-content: space-between;
    padding: 0 20px;
}

.s-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 5px;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
    border-bottom: 2px solid transparent;
    gap: 5px;
}

.s-tab i {
    font-size: 20px;
}

.s-tab span {
    font-size: 13px;
    font-weight: 700;
}

.s-tab:hover {
    background: #f9f9f9;
}

.s-tab.active {
    color: var(--theme-color) !important;
    border-bottom: 3px solid var(--theme-color) !important;
}

.s-tab.active i {
    color: var(--theme-color) !important;
}

/* Form Container */
.search-form-container {
    padding: 35px 40px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

.context-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.context-section.active {
    display: block;
}

/* Platform Search Form Styles */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.platform-grid .span-2 {
    grid-column: span 1;
    /* Adjusting for 3 col layout */
}

.p-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    border-radius: 8px;
    background: #fff;
}

.p-input-group label {
    font-size: 13px;
    color: #777;
    font-weight: 600;
}

.p-input-group input,
.p-input-group select {
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.platform-action-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background: var(--theme-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s;
}

.platform-action-btn:hover {
    filter: brightness(0.9);
}

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trip-type {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.radio-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
}

.radio-container:hover input~.checkmark {
    background-color: #f8f8f8;
}

.radio-container input:checked~.checkmark {
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked~.checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
}

/* Search Form Elements - Ultra Stable Grid */
.search-form {
    display: grid;
    grid-template-columns: 2.3fr 1.8fr 1.2fr minmax(180px, auto);
    gap: 12px;
    margin-bottom: 25px;
    align-items: stretch;
}

.from-to-group,
.date-group {
    display: flex;
    align-items: stretch;
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: visible;
}

.input-group {
    flex: 1;
    position: relative;
    padding: 10px 15px;
    min-height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    transition: all 0.2s ease;
    border: none;
}

/* Specific borders for grouped inputs */
.from-to-group .input-group:first-child,
.date-group .input-group:first-child {
    border-right: 1px solid #eee;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.from-to-group .input-group:last-child,
.date-group .input-group:last-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Standalone input group for Travelers */
.input-single {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.input-group:hover,
.input-group:focus-within {
    background: #fcfcfc;
    z-index: 10;
}

.input-group label {
    font-size: 11px;
    font-weight: 500;
    color: #888;
    margin-bottom: 6px;
    display: block;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-wrapper i {
    color: #a0a0a0;
    font-size: 15px;
}

.input-group input {
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: #222;
    width: 100%;
    outline: none;
    background: transparent;
    padding: 0;
}

.input-group input::placeholder {
    color: #bbb;
    font-weight: 500;
}

/* Swap icon matching image exactly */
.swap-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    color: #bbb;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.swap-icon:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translate(-50%, -50%) rotate(180deg);
    box-shadow: 0 4px 12px rgba(205, 164, 52, 0.2);
}

.search-btn {
    background: linear-gradient(135deg, #cda434 0%, #b38f2d 100%);
    color: #fff;
    border: none;
    height: 100%;
    padding: 0 24px;
    white-space: nowrap;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(205, 164, 52, 0.3);
}

.search-btn:hover {
    background: linear-gradient(135deg, #e5ba48 0%, #cda434 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205, 164, 52, 0.45);
}

/* Section Footer Refinement - Exact Colors */
.search-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.special-fares {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fare-label {
    font-size: 12px;
    font-weight: 700;
    color: #888;
}

.fare-tags {
    display: flex;
    gap: 8px;
}

.fare-tag {
    padding: 6px 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.fare-tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(205, 164, 52, 0.03);
}

.free-cancellation {
    background: #f1faf4;
    border: 1px solid #e3f5eb;
    padding: 8px 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #28a745;
    border: 1px solid #ddd;
}

.check-icon {
    color: #28a745;
    font-size: 18px;
}

.cancel-text {
    font-size: 13px;
    font-weight: 700;
    color: #0b5e20;
}

.cancel-subtext {
    color: #28a745;
    font-weight: 400;
    font-size: 11px;
}

/* Breakthrough Responsive Strategy */
@media (max-width: 1200px) {
    .search-form {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .from-to-group {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .search-form {
        grid-template-columns: 1fr;
    }

    .from-to-group,
    .date-group,
    .input-group,
    .search-btn {
        grid-column: 1 / -1;
    }

    .from-to-group,
    .date-group {
        flex-direction: column;
        border: none;
    }

    .input-group {
        border: 1px solid #e0e0e0 !important;
        border-radius: 8px !important;
        margin-bottom: 8px;
    }

    .swap-icon {
        display: none;
    }

    .search-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
}

/* Final Tabs Styling matching Image Color */
.s-tab {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent !important;
}

.s-tab.active {
    background: #fff;
    color: #111;
}

.s-tab.active i {
    color: var(--accent-color) !important;
}

.s-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.s-tab.active::after {
    width: 80%;
}

.s-tab:not(.active) {
    background-color: #fafafa;
}

.s-tab:hover {
    background: #fff !important;
}

.s-tab:hover i {
    transform: translateY(-2px) scale(1.05);
}

.s-tab i {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
}

/* --- RESTORED SECTIONS --- */

/* ===== Redesigned Features Section — Premium & Responsive ===== */

.feat-section {
    padding: 80px 0;
    background: radial-gradient(120% 120% at 50% 10%, #ffffff 45%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.feat-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

/* Header */
.feat-header {
    text-align: center;
    margin-bottom: 50px;
}

.feat-badge {
    background: rgba(205, 164, 52, 0.08);
    color: #cda434;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 16px;
    border-radius: 30px;
    border: 1px solid rgba(205, 164, 52, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.feat-badge i {
    font-size: 10px;
}

.feat-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #0f172a;
    font-weight: 700;
    margin: 0 0 12px;
}

.feat-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Grid Wrapper & Grid */
.feat-grid-wrapper {
    width: 100%;
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

/* Cards & Micro-Animations */
.feat-card {
    opacity: 0;
    transform: translateY(30px);
    animation: featFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: var(--feat-delay, 0s);
}

@keyframes featFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feat-card-inner {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 24px;
    padding: 40px 24px 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Sweep shine effect on hover */
.feat-card-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 25%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(205, 164, 52, 0.06), transparent);
    transform: rotate(30deg);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.feat-card:hover .feat-card-inner::after {
    left: 140%;
}

.feat-card:hover .feat-card-inner {
    transform: translateY(-8px);
    border-color: rgba(205, 164, 52, 0.25);
    box-shadow: 0 20px 40px rgba(205, 164, 52, 0.08);
}

/* Icon Container styles */
.feat-icon-container {
    width: 84px;
    height: 84px;
    position: relative;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(205, 164, 52, 0.16) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.4s ease;
}

.feat-card:hover .feat-icon-glow {
    opacity: 1;
    transform: scale(1.1);
}

.feat-icon {
    width: 72px;
    height: 72px;
    background: #fffaf0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #cda434;
    border: 1px solid rgba(205, 164, 52, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 2;
}

.feat-card:hover .feat-icon {
    background: linear-gradient(135deg, #cda434 0%, #b38f2d 100%);
    color: #ffffff;
    border-color: #cda434;
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 20px rgba(205, 164, 52, 0.3);
}

/* Content details */
.feat-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.feat-card:hover .feat-card-title {
    color: #cda434;
}

.feat-card-desc {
    color: #64748b;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
}

/* =================================================================
   RESPONSIVE DESIGN (Grid Centering on Tablets, Carousel on Mobile)
   ================================================================= */
@media (max-width: 1140px) {
    .feat-container {
        padding: 0 20px;
    }

    .feat-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 20px;
    }

    .feat-card {
        grid-column: span 2;
    }

    /* Wrap the last 2 cards to the center of the 2nd row beautifully! */
    .feat-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .feat-card:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 768px) {
    .feat-section {
        padding: 60px 0;
    }

    .feat-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }

    .feat-badge {
        margin-bottom: 12px;
    }

    .feat-title {
        font-size: 1.8rem;
    }

    .feat-subtitle {
        font-size: 14px;
    }

    /* Smooth Swipe-Snap Horizontal Carousel */
    .feat-grid-wrapper {
        overflow-x: auto;
        padding: 10px 0 25px;
        margin: 0 -20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE 10+ */
    }

    .feat-grid-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .feat-grid {
        display: flex;
        gap: 16px;
        padding: 0 20px;
        width: max-content;
    }

    .feat-card {
        scroll-snap-align: start;
        flex: 0 0 280px;
        width: 280px;
        opacity: 1; /* Fallback for immediate visibility on scroll */
        transform: none;
        animation: none;
    }
    
    .feat-card-inner {
        padding: 35px 20px 28px;
    }
}

/* Destinations Grid */
.destinations-section {
    padding: 80px 5%;
    background: #fcfcfc;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.dest-card {
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    padding: 15px;
    gap: 15px;
    border: 1px solid #eee;
}

.dest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.dest-img-container {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dest-info {
    flex: 1;
}

.dest-info h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.dest-info p {
    color: #888;
    font-size: 13px;
}

.dest-badge {
    background: #fff9e6;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #ffca01;
    margin-top: 5px;
    display: inline-block;
}

/* Footer */
footer {
    background: #111;
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 5% 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}

@media (max-width: 768px) {
    .destinations-grid {
        grid-template-columns: 1fr;
    }
}

/* Do More With Goldfinchs Section Styles */
.do-more-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.more-card {
    background: #f8f9fb;
    border-radius: 50px;
    padding: 10px 20px 10px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 140px;
}

.more-card:hover {
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.card-icon {
    width: 38px;
    height: 38px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.more-card:hover .card-icon {
    background: var(--theme-color, #cda434);
}

.more-card:hover .card-icon i {
    color: #fff;
}

.card-icon i {
    font-size: 15px;
    color: #333;
}

.card-label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

/* New Sections: Cheapest Fares & Hotel Deals */
.section-title-alt {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

.section-subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 30px;
}

/* ===== Cheapest Fares Section - Premium ===== */
.cf-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px 70px;
}

.cf-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 45px;
}

.cf-header-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(205,164,52,0.35), transparent);
}

.cf-header-content {
    text-align: center;
    flex-shrink: 0;
}

.cf-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(205,164,52,0.12) 0%, rgba(205,164,52,0.05) 100%);
    color: #cda434;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(205,164,52,0.2);
}

.cf-tag i {
    font-size: 12px;
    animation: cfFirePulse 1.5s ease-in-out infinite;
}

@keyframes cfFirePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.cf-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.2;
}

.cf-subtitle {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}

/* Card Grid */
.cf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

/* Individual Card */
.cf-card {
    position: relative;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    transform: translateY(40px);
    animation: cfCardIn 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes cfCardIn {
    to { opacity: 1; transform: translateY(0); }
}

.cf-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

/* Card Image */
.cf-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.cf-card:hover .cf-card-img {
    transform: scale(1.08);
}

/* Shine sweep on hover */
.cf-card-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255,255,255,0.25) 45%,
        rgba(255,255,255,0.35) 50%,
        rgba(255,255,255,0.25) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: none;
    z-index: 2;
    pointer-events: none;
}

.cf-card:hover .cf-card-shine {
    transform: translateX(100%);
    transition: transform 0.8s ease;
}

/* Badge */
.cf-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.cf-card-badge i {
    color: #cda434;
    font-size: 10px;
}

.cf-card:hover .cf-card-badge {
    background: #cda434;
    color: #fff;
    border-color: #cda434;
}

.cf-card:hover .cf-card-badge i {
    color: #fff;
}

/* Info Panel */
.cf-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s ease;
}

.cf-card:hover .cf-card-info {
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

.cf-card-info-top h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Route Indicator */
.cf-card-route {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.4s ease 0.1s;
}

.cf-card:hover .cf-card-route {
    opacity: 1;
    transform: translateY(0);
}

.cf-route-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #cda434;
    flex-shrink: 0;
}

.cf-route-line {
    height: 1.5px;
    width: 30px;
    background: rgba(205,164,52,0.5);
}

.cf-route-plane {
    color: #cda434;
    font-size: 11px;
    transform: rotate(-20deg);
    animation: cfPlaneBounce 2s ease-in-out infinite;
}

@keyframes cfPlaneBounce {
    0%, 100% { transform: rotate(-20deg) translateY(0); }
    50% { transform: rotate(-20deg) translateY(-3px); }
}

/* Info Bottom */
.cf-card-info-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cf-price-wrap {
    display: flex;
    flex-direction: column;
}

.cf-price-label {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cf-price {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* Book Button */
.cf-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #cda434;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 15px rgba(205,164,52,0.35);
    overflow: hidden;
    white-space: nowrap;
}

.cf-book-btn i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.cf-book-btn:hover {
    background: #fff;
    color: #111;
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cf-book-btn:hover i {
    transform: translateX(4px);
}

/* Hotel Filters */
.hotel-filters {
    display: flex;
    gap: 10px;
}

.filter-pill {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid #eee;
    background: #fff;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-pill.active {
    background: #252422;
    color: #fff;
    border-color: #252422;
}

.filter-pill:hover:not(.active) {
    background: #f8f8f8;
    border-color: #ddd;
}

/* Hotel Card - Premium Redesign */
.hotel-card-main {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    display: flex;
    border: 1px solid #eaeaea;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hotel-card-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.hotel-img {
    flex: 0 0 45%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.rating-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.rating-badge i {
    color: #cda434;
}

.hotel-info-box {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fcfcfc 100%);
}

.hotel-info-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
    line-height: 1.2;
}

.hotel-info-box .loc {
    color: #777;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.hotel-info-box .loc::before {
    content: "\f041";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #cda434;
    margin-right: 8px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    margin-top: auto;
}

.price-row .price {
    font-size: 20px;
    font-weight: 900;
    color: #111;
}

.price-row .tag {
    font-size: 13px;
    color: #2e8b57;
    font-weight: 800;
    background: #e9f5ee;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(46, 139, 87, 0.2);
}

@media (max-width: 900px) {
    .hotel-card-main {
        flex-direction: column;
    }
    .hotel-img {
        min-height: 200px;
        flex: auto;
    }
    .hotel-info-box {
        padding: 20px;
    }
}

@media (max-width: 1000px) {
    .cf-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
    .cf-card {
        height: 340px;
    }
    .cf-title {
        font-size: 26px;
    }
    .hotel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .hotel-filters {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .cf-header {
        flex-direction: column;
        gap: 0;
    }
    .cf-header-line {
        display: none;
    }
    .cf-title {
        font-size: 22px;
    }
    .cf-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 20px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cf-grid::-webkit-scrollbar {
        display: none;
    }
    .cf-card {
        flex: 0 0 85%;
        height: 360px;
        scroll-snap-align: center;
        opacity: 1;
        transform: none;
        animation: none;
    }
    .cf-card-route {
        opacity: 1;
        transform: none;
    }
}

/* (Old book-flight-btn removed - now using cf-book-btn) */

/* Hotel View All Grid Mode */
.hotels-grid.grid-mode {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hotel-card-small {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.hotel-card-small:hover {
    transform: translateY(-5px);
}

.hotel-img-small {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.rating-badge-small {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-badge-small i {
    color: #ffca01;
}

.hotel-info-small {
    padding: 15px;
}

.hotel-info-small h4 {
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-info-small p {
    font-size: 13px;
    font-weight: 700;
    color: #111;
}

/* Tab Switch Animation */
.animate-fade {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hotels-grid.grid-mode {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hotels-grid.grid-mode {
        grid-template-columns: 1fr;
    }
}

/* Small Card Text Styling */
.loc-small {
    font-size: 11px;
    color: #888;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-small {
    font-size: 13px !important;
    font-weight: 800;
    color: #111;
}

/* ===== Popular Domestic Routes — Premium ===== */
.pdr-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px 20px 70px;
}

/* Header */
.pdr-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    gap: 20px;
}

.pdr-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pdr-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, rgba(205,164,52,0.12), rgba(205,164,52,0.04));
    color: #cda434;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid rgba(205,164,52,0.22);
    width: fit-content;
}

.pdr-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0;
}

.pdr-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.pdr-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    transition: gap 0.3s ease;
    flex-shrink: 0;
}

.pdr-view-all-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.pdr-view-all:hover {
    gap: 14px;
}

.pdr-view-all:hover .pdr-view-all-arrow {
    background: #cda434;
    transform: translateX(3px);
}

/* Grid */
.pdr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Card */
.pdr-card {
    position: relative;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    animation: pdrCardIn 0.65s cubic-bezier(0.23,1,0.32,1) forwards;
    animation-delay: var(--pdr-delay, 0s);
    transition: transform 0.45s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.45s cubic-bezier(0.23,1,0.32,1);
}

@keyframes pdrCardIn {
    to { opacity: 1; transform: translateY(0); }
}

.pdr-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,0.16);
}

/* Image */
.pdr-card-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
}

.pdr-card:hover .pdr-card-img {
    transform: scale(1.08);
}

/* Dark overlay */
.pdr-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.45) 55%,
        rgba(0,0,0,0.1) 100%
    );
    transition: background 0.4s ease;
}

.pdr-card:hover .pdr-card-overlay {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.55) 60%,
        rgba(0,0,0,0.15) 100%
    );
}

/* Shine sweep */
.pdr-card-shine {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(
        108deg,
        transparent 38%,
        rgba(255,255,255,0.22) 44%,
        rgba(255,255,255,0.32) 50%,
        rgba(255,255,255,0.22) 56%,
        transparent 62%
    );
    transform: translateX(-120%);
    transition: none;
}

.pdr-card:hover .pdr-card-shine {
    transform: translateX(120%);
    transition: transform 0.75s ease;
}

/* Card Body */
.pdr-card-body {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    gap: 10px;
}

/* Route indicator */
.pdr-route-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdr-city {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.pdr-route-line {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: 1;
}

.pdr-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cda434;
    flex-shrink: 0;
}

.pdr-dashes {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(
        90deg,
        rgba(205,164,52,0.6) 0px,
        rgba(205,164,52,0.6) 4px,
        transparent 4px,
        transparent 8px
    );
}

.pdr-plane-icon {
    color: #cda434;
    font-size: 11px;
    flex-shrink: 0;
    animation: pdrPlaneFly 3s ease-in-out infinite;
}

@keyframes pdrPlaneFly {
    0%,100% { transform: translateX(0) rotate(-5deg); }
    50%      { transform: translateX(3px) rotate(-5deg); }
}

/* Card Title */
.pdr-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Footer row */
.pdr-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pdr-flights-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 20px;
}

.pdr-book-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #cda434;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    box-shadow: 0 4px 14px rgba(205,164,52,0.4);
}

.pdr-book-cta i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.pdr-card:hover .pdr-book-cta {
    opacity: 1;
    transform: translateY(0);
}

.pdr-card:hover .pdr-book-cta i {
    transform: translateX(3px);
}

/* App Banner Styling */
.app-banner {
    background: linear-gradient(135deg, #1a1507 0%, #0f1116 55%, #181208 100%);
    border-radius: 30px;
    padding: 60px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(205, 164, 52, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(205, 164, 52, 0.1), inset 0 1px 0 rgba(205, 164, 52, 0.15);
}

.app-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: 200px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(205, 164, 52, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.app-banner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(205, 164, 52, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.app-brand {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.app-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
}

.app-features {
    list-style: none;
    margin-bottom: 40px;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.app-features li i {
    font-size: 20px;
    opacity: 0.9;
    color: #cda434;
}

.app-stores {
    display: flex;
    gap: 15px;
}

.store-btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.store-btn.play {
    background: rgba(205, 164, 52, 0.15);
    color: #fff;
    border: 1px solid rgba(205, 164, 52, 0.4);
}

.store-btn.apple {
    background: #cda434;
    color: #111;
}

.store-btn:hover {
    transform: translateY(-3px);
}

.qr-card {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    color: #111;
    text-align: center;
    transform: rotate(5deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    width: 250px;
}

.qr-placeholder {
    width: 100%;
    height: 190px;
    background: #f1f1f1;
    border-radius: 15px;
    border: 2px dashed #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 700;
    margin-bottom: 20px;
}

.qr-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 5px;
}

.qr-card p {
    font-size: 12px;
    color: #777;
}

@media (max-width: 1100px) {
    .app-banner {
        flex-direction: column;
        text-align: center;
        padding: 60px 40px;
    }

    .app-content-left {
        margin-bottom: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .qr-card {
        transform: rotate(0);
    }

    .pdr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .pdr-card {
        height: 220px;
    }
    .pdr-title {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .app-title {
        font-size: 32px;
    }
    .pdr-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .pdr-title {
        font-size: 22px;
    }
    .pdr-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 12px;
        gap: 14px;
    }
    .pdr-grid::-webkit-scrollbar { display: none; }
    .pdr-card {
        flex: 0 0 82%;
        height: 220px;
        scroll-snap-align: center;
        opacity: 1;
        transform: none;
        animation: none;
    }
    .pdr-book-cta {
        opacity: 1;
        transform: none;
    }
}

/* Airlines Partner Section */
.airline-heading {
    text-align: center;
    font-size: 14px;
    letter-spacing: 2px;
    color: #8fa3b0;
    font-weight: 800;
    margin-bottom: 30px;
}

.airlines-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.airline-card {
    background: #f8f9fb;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.airline-card i {
    font-size: 14px;
    color: #8fa3b0;
    transition: all 0.3s;
}

.airline-card span {
    font-size: 13px;
    font-weight: 700;
    color: #444;
}

.airline-card:hover {
    background: #fff;
    border-color: #ff6d38;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.airline-card:hover i {
    color: #ff6d38;
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .airlines-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .airlines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.main-footer {
    background: #111111 !important;
    /* Matches Goldfinchs Dark Theme */
    color: #fff !important;
    padding: 15px 0 8px !important;
    font-family: 'Inter', sans-serif;
    position: relative;
    border-top: 4px solid var(--theme-color);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid-concept {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    position: relative;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--theme-color);
    /* Theme Underline */
}

.footer-col p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col ul li a:hover {
    color: #ffca01;
    transform: translateX(5px);
}

/* Branch Addresses Style */
.branches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.branch-item {
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
}

.branch-item strong {
    color: #fff;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    text-transform: uppercase;
}

.branch-item i {
    color: #ffca01;
    margin-right: 5px;
}

/* Social Icons Area */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

.social-circle:hover {
    background: var(--theme-color);
    color: #111;
    transform: translateY(-5px);
}

/* Concept Newsletter */
.newsletter-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-box h4::after {
    display: none;
}

.newsletter-box p {
    font-size: 13px;
    margin-bottom: 20px;
}

.concept-form {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.concept-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    flex: 1;
    font-size: 13px;
    outline: none;
}

.concept-form button {
    background: var(--theme-color);
    border: none;
    color: #111;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.concept-form button:hover {
    background: #fff;
}

.footer-bottom-concept {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom-concept p {
    font-size: 13px;
    color: #666;
}

@media (max-width: 1100px) {
    .footer-grid-concept {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer-grid-concept {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        padding: 0 25px;
    }

    .social-circle {
        margin: 0 auto 0 0;
    }
}

/* Sticky Dual Header Styles */
.sticky-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
}

.main-header {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.main-logo-top {
    height: 35px;
}

.header-util {
    display: flex;
    align-items: center;
    gap: 20px;
}

.util-link {
    color: #444;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.util-link i {
    font-size: 14px;
    color: #666;
}

.util-sep {
    width: 1px;
    height: 20px;
    background: #eee;
}

.login-action {
    background: #252422;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

/* Secondary Nav */
.sub-nav {
    background: #fff;
    padding: 10px 0;
}

.sub-nav-left {
    display: flex;
    gap: 30px;
}

.sub-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 4px;
    position: relative;
}

.sub-link.active {
    color: #ff6d38;
}

.sub-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ff6d38;
}

.sub-link i {
    font-size: 16px;
    opacity: 0.8;
}

.offer-badge {
    background: #ff4d4d;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.sub-nav-right {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

/* Compensate for fixed header */
body {
    padding-top: 110px;
    /* main-header height + sub-nav height */
}

@media (max-width: 1000px) {
    .header-util {
        gap: 10px;
    }

    .util-link {
        font-size: 11px;
    }

    .util-sep {
        display: none;
    }

    .sub-nav-right {
        display: none;
    }
}

/* ============================================================
   ROBUST MOBILE RESPONSIVENESS FIX
   ============================================================ */

.hamburger-toggle {
    display: none;
    background: #f8f9fa;
    border: 1px solid #eee;
    font-size: 20px;
    color: #222;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.2s;
}

@media (max-width: 768px) {

    /* 1. Basic Layout Resets */
    body {
        padding-top: 60px !important;
        scroll-behavior: smooth;
    }

    .sticky-header-container {
        position: sticky !important;
        top: 0 !important;
        bottom: auto !important;
        height: auto !important;
    }

    .main-header {
        padding: 10px 0 !important;
    }

    /* 2. Brand & Toggle */
    .main-logo-top {
        height: 28px !important;
    }

    .hamburger-toggle {
        display: block !important;
    }

    /* 3. Navigation Drawer (CLEAN RESET) */
    .header-util {
        position: fixed !important;
        top: 60px !important;
        bottom: auto !important;
        /* Force reset old bottom bar */
        left: auto !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: calc(100vh - 60px) !important;
        background: #ffffff !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 40px 25px !important;
        gap: 0 !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1) !important;
        z-index: 10000 !important;
        display: flex !important;
        visibility: hidden;
    }

    .header-util.open {
        right: 0 !important;
        visibility: visible;
        transform: translateX(0);
    }

    /* Utility Links in Drawer */
    .util-link {
        font-size: 16px !important;
        width: 100% !important;
        border-bottom: 1px solid #f5f5f5 !important;
        padding: 15px 0 !important;
        color: #333 !important;
        display: flex !important;
        justify-content: space-between !important;
    }

    .util-link span {
        display: inline !important;
        color: #666;
        font-weight: 500;
    }

    .util-link i {
        font-size: 18px;
        color: var(--accent-color);
        order: 2;
    }

    .util-sep {
        display: none !important;
    }

    /* Remove old bottom bar labels if they exist in cache */
    .util-link::after {
        display: none !important;
        content: "" !important;
    }

    /* Login in Drawer */
    .login-dropdown {
        width: 100% !important;
        margin-top: 20px !important;
    }

    .login-action {
        width: 100% !important;
        height: 50px !important;
        border-radius: 8px !important;
        justify-content: center !important;
        font-size: 15px !important;
    }

    /* 4. Sub Navigation (The icons below header) */
    .sub-nav {
        padding: 5px 0 !important;
        border-bottom: 1px solid #eee;
        background: #fafafa !important;
    }

    .sub-nav-left {
        gap: 15px !important;
        overflow-x: auto !important;
        padding: 5px 15px !important;
        scrollbar-width: none;
    }

    .sub-nav-left::-webkit-scrollbar {
        display: none;
    }

    .sub-link {
        font-size: 12px !important;
        white-space: nowrap !important;
        padding: 6px 12px !important;
        background: #fff;
        border-radius: 20px;
        border: 1px solid #eee;
    }

    .sub-link i {
        font-size: 14px !important;
    }

    .sub-link.active::after {
        display: none !important;
    }

    .sub-link.active {
        background: var(--accent-color) !important;
        color: #fff !important;
        border-color: var(--accent-color) !important;
    }

    /* 5. Mobile Hero & Search */
    .hero {
        height: 350px !important;
    }

    .hero-content h1, #hero-title, .hero-title {
        font-size: 24px !important;
        margin-bottom: 10px;
    }

    .hero-content p, #hero-subtitle, .hero-subtitle {
        font-size: 13px !important;
    }

    .booking-card {
        margin-top: -40px !important;
        width: 92% !important;
        padding: 15px !important;
        border-radius: 12px !important;
    }

    .search-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .search-btn {
        width: 100% !important;
        height: 50px !important;
        margin-top: 10px !important;
        font-size: 16px !important;
        border-radius: 8px !important;
    }

    .hotels-grid,
    .cf-grid,
    .pdr-grid,
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .section-title {
        font-size: 22px !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1, #hero-title, .hero-title {
        font-size: 22px !important;
    }

    .app-badge-group {
        flex-direction: column;
        align-items: center;
    }
}



/* ==========================================================================
   MAIN FOOTER COMPONENT
   ========================================================================== */
.main-footer {
    background: #111;
    color: #fff;
    padding: 25px 0 15px;
    margin-top: 30px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid-concept {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1.5fr;
    gap: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

/* Social Circles */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-circle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.social-circle:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Newsletter Form */
.concept-form {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.concept-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 15px;
    flex: 1;
    outline: none;
    font-size: 13px;
}

.concept-form button {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.concept-form button:hover {
    background: #fff;
    color: #000;
}

/* Branch Items */
.branch-item {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.branch-item:hover {
    border-color: var(--accent-color);
    background: rgba(205, 164, 52, 0.05);
}

.branch-item strong {
    color: var(--accent-color) !important;
}

/* Footer Bottom */
.footer-bottom-concept {
    text-align: center;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 15px;
    padding-top: 10px;
}

@media (max-width: 991px) {
    .footer-grid-concept {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid-concept {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-col ul li a:hover {
        padding-left: 0;
    }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS — Bootstrap 5 Integration Layer
   ========================================================================== */

/* ── Search Tabs: horizontally scrollable on mobile ── */
@media (max-width: 991px) {
    .search-tabs-grid {
        overflow-x: auto !important;
        overflow-y: visible !important;
        justify-content: flex-start !important;
        padding: 10px 16px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap !important;
        border-radius: 18px 18px 0 0 !important;
    }

    .search-tabs-grid::-webkit-scrollbar {
        display: none;
    }

    .s-tab {
        flex: 0 0 auto;
        min-width: 72px;
        padding: 8px 10px !important;
    }

    .s-tab i {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .s-tab span {
        font-size: 10px !important;
    }
}

/* ── Search Form: collapse to single column ── */
@media (max-width: 991px) {
    .search-form {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .from-to-group,
    .date-group {
        flex-direction: column !important;
        border: none !important;
    }

    .from-to-group .input-group,
    .date-group .input-group {
        border: 1px solid #e0e0e0 !important;
        border-radius: 12px !important;
        margin-bottom: 8px !important;
        border-right: 1px solid #e0e0e0 !important;
    }

    .swap-icon {
        display: none !important;
    }

    .search-form-container {
        padding: 20px 18px !important;
    }

    .search-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .special-fares {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fare-tags {
        flex-wrap: wrap;
    }

    .trip-type {
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
}

/* ── Services Grid: 2 cols on tablet, 1 col on mobile ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Promo Banners: stack on mobile ── */
@media (max-width: 900px) {
    .promo-banners-grid {
        grid-template-columns: 1fr !important;
    }

    .promo-banner {
        min-height: 180px !important;
    }
}

/* ── Autocomplete dropdown width fix on mobile ── */
@media (max-width: 600px) {
    .ac-dropdown {
        min-width: 280px !important;
        width: 90vw !important;
    }
}

/* ── General section padding adjustments ── */
@media (max-width: 768px) {
    .cf-section,
    .explore-services {
        padding: 35px 16px !important;
    }

    .cf-header {
        flex-direction: column !important;
        gap: 15px !important;
        margin-bottom: 25px !important;
    }

    .cf-header-line {
        display: none !important;
    }

    .cf-title {
        font-size: 24px !important;
    }

    .cf-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
        gap: 14px !important;
    }

    .cf-card {
        height: 280px !important;
    }

    .explore-services-header h2 {
        font-size: 24px !important;
    }

    .section-title-alt {
        font-size: 24px !important;
    }

    /* search container on mobile */
    .search-container {
        width: 98% !important;
        margin: -60px auto 30px !important;
    }

    .search-box {
        border-radius: 16px !important;
        box-shadow: 8px 8px 16px #c1c9d6, -8px -8px 16px #ffffff !important;
    }

    /* hero height */
    .hero {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .search-container {
        margin: -40px auto 20px !important;
    }

    .cf-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .cf-card {
        height: 240px !important;
    }

    .companies-partners-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* ── Admin sidebar hamburger (for admin portal) ── */
@media (max-width: 1024px) {
    .admin-sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 9999;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main-content {
        width: 100% !important;
    }

    .admin-topbar {
        display: flex !important;
    }
}

/* ── Table overflow prevention ── */
.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

@media (max-width: 768px) {
    table {
        min-width: 600px;
    }

    .table-responsive-wrapper table {
        min-width: 600px;
    }
}

/* ── Mobile body offset for sub-nav ── */
@media (max-width: 768px) {
    body {
        padding-top: 110px !important;
    }
}

/* ── Utility: ensure images never overflow ── */
img {
    max-width: 100%;
    height: auto;
}

/* ── Fix hero on very small phones ── */
@media (max-width: 360px) {
    .hero-title-animated {
        font-size: 1.4rem !important;
    }

    .search-form-container {
        padding: 15px 12px !important;
    }
}