﻿/* Modern Navbar Styles */

/* Transition utilities */
.transition-all {
    transition: all 0.3s ease-in-out;
}

/* Text color utilities */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hover-text-white:hover {
    color: rgba(255, 255, 255, 1) !important;
}

.hover-bg-light:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

/* Cursor utilities */
.cursor-pointer {
    cursor: pointer;
}

/* Modern navbar link styles */
.navbar-nav .nav-link {
    transition: all 0.3s ease-in-out;
    border-radius: 0.5rem;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Badge improvements */
.badge {
    font-weight: 600;
    letter-spacing: 0.025em;
}

/* Dropdown improvements */
.dropdown-menu {
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: none;
    backdrop-filter: blur(10px);
}

.dropdown-menu .card {
    border-radius: 0.75rem;
    overflow: hidden;
}

.dropdown-menu .card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Profile dropdown specific styles */
.dropdown-menu .nav-link {
    transition: all 0.2s ease-in-out;
    margin: 0.125rem 0;
}

.dropdown-menu .nav-link:hover {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    transform: translateX(4px);
}

/* Theme toggle improvements */
.theme-control-toggle {
    position: relative;
}

.theme-control-toggle label {
    transition: all 0.3s ease-in-out;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.theme-control-toggle label:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

/* Feather icon sizing */
.feather-16 {
    width: 16px;
    height: 16px;
}

/* Avatar improvements */
.avatar img {
    transition: all 0.3s ease-in-out;
}

.avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Button improvements */
.btn {
    transition: all 0.3s ease-in-out;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile responsive improvements */
@media (max-width: 991.98px) {
    /* Mobile dropdown background */
    .navbar-collapse {
        background-color: #fff;
        border-radius: 0.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        margin-top: 0.5rem;
        padding: 1rem;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.125rem 0;
        border-radius: 0.5rem;
        color: var(--bs-linkedin) !important;
    }

    .navbar-nav .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    /* Hide icons on mobile, show text */
    .navbar-nav .nav-link i {
        display: none !important;
    }

    /* Show mobile text labels */
    .navbar-nav .nav-link .d-lg-none {
        display: block !important;
    }

    /* Adjust badge positioning for mobile */
    .navbar-nav .position-absolute {
        position: static !important;
        display: inline-block !important;
        margin-left: 0.5rem;
    }

    /* City and accommodation selectors styling for mobile */
    .navbar-collapse .form-select {
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        color: #495057;
    }

    .navbar-collapse .form-label {
        color: #6c757d !important;
    }
}

/* Desktop styles */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem;
        border-radius: 0.375rem;
    }

    /* Hide mobile text on desktop */
    .navbar-nav .nav-link .d-lg-none {
        display: none !important;
    }

    /* Show icons on desktop */
    .navbar-nav .nav-link i {
        display: inline !important;
    }
}

/* Sidebar specific styles - ensure icons always show */
.navbar-vertical .nav-link-icon,
.navbar-vertical-content .nav-link-icon,
.navbar-vertical .nav-item .nav-link-icon {
    display: inline-block !important;
    margin-right: 0.75rem !important;
}

.navbar-vertical .nav-link-icon i,
.navbar-vertical-content .nav-link-icon i,
.navbar-vertical .nav-item .nav-link-icon i {
    display: inline !important;
    font-size: 16px !important;
}

/* Force sidebar icons to show on all screen sizes */
.navbar-vertical .nav-link .nav-link-icon,
.navbar-vertical-content .nav-link .nav-link-icon {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.navbar-vertical .nav-link .nav-link-icon i,
.navbar-vertical-content .nav-link .nav-link-icon i {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile sidebar improvements */
@media (max-width: 991.98px) {
    .navbar-vertical .nav-link-icon,
    .navbar-vertical-content .nav-link-icon {
        display: inline-block !important;
        margin-right: 0.5rem !important;
        width: auto !important;
        height: auto !important;
    }

    .navbar-vertical .nav-link-icon i,
    .navbar-vertical-content .nav-link-icon i {
        display: inline !important;
        font-size: 16px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .navbar-vertical .nav-link-text,
    .navbar-vertical-content .nav-link-text {
        display: inline !important;
    }

    /* Ensure dropdown indicator icons also show */
    .navbar-vertical .dropdown-indicator-icon,
    .navbar-vertical-content .dropdown-indicator-icon {
        display: inline-block !important;
        margin-right: 0.5rem !important;
    }

    .navbar-vertical .dropdown-indicator-icon span,
    .navbar-vertical-content .dropdown-indicator-icon span {
        display: inline !important;
    }
}

/* Smooth scrolling for dropdowns */
.dropdown-menu .card-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.dropdown-menu .card-body::-webkit-scrollbar {
    width: 4px;
}

.dropdown-menu .card-body::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-menu .card-body::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.dropdown-menu .card-body::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Enhanced focus states for accessibility */
.nav-link:focus,
.btn:focus,
.theme-control-toggle label:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Loading states */
.nav-link.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation for badge counts */
.badge {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ===== LODGENDA BLUE THEME ===== */
:root {
    --primary-blue: #00A6FF;
    --light-blue: #80D3FF;
    --dark-blue: #0077B3;
    --primary-rgb: 0, 166, 255;
    --light-blue-rgb: 128, 211, 255;
    --dark-blue-rgb: 0, 119, 179;
}

/* Remove background colors to match BackOffice */
.navbar {
    background-color: transparent !important;
}

/* Update navbar brand color */
.navbar-brand {
    color: var(--primary-blue) !important;
}

.navbar-brand:hover {
    color: var(--dark-blue) !important;
}

/* Public layout specific styles */
.public-layout .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure hero section touches the navbar */
.hero-section {
    margin-top: 0 !important;
    padding-top: 5rem !important;
}

/* Fix any spacing issues with fixed navbar */
.navbar-expand-lg.fixed-top + .main-content,
.navbar-expand-lg.fixed-top ~ .main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure no gaps in public pages */
.public-layout .hero-section:first-child {
    margin-top: 0 !important;
}

/* Page header sections should account for navbar */
.page-header {
    padding-top: 6rem !important;
    margin-top: 0 !important;
}

/* ===== AIRBNB-STYLE HERO SECTION ===== */
/* Hero Container - Mobile First */
.hero-section {
    padding: 2rem 0 3rem 0;
    background: #ffffff;
    min-height: auto;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    color: #222222;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #717171;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Search Container */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Suggestions Container */
.suggestions-container {
    display: flex;
    justify-content: center;
}

/* Search Bar - Mobile First Design */
.search-bar {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding: 8px;
    transition: box-shadow 0.2s ease;
    width: 100%;
    max-width: 400px;
    gap: 0;
}

.search-bar:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Search Fields - Mobile First */
.search-field {
    padding: 16px 20px;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.2s ease;
    border: none;
    background: #ffffff;
    margin: 2px 0;
}

.search-field:hover {
    background-color: #f8f8f8;
}

.search-field:not(:last-of-type) {
    border-bottom: 1px solid #f0f0f0;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.search-field:last-of-type {
    border-radius: 0 0 12px 12px;
    margin-top: 0;
}

.search-field-label {
    font-size: 12px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-field-input {
    border: none;
    background: transparent;
    font-size: 16px;
    color: #717171;
    width: 100%;
    outline: none;
    font-weight: 400;
}

.search-field-input::placeholder {
    color: #b0b0b0;
}

.search-field-input:focus {
    color: #222222;
}

/* Hide dividers on mobile */
.search-field-divider {
    display: none;
}

/* Search Button - Mobile First */
.search-button-container {
    padding: 8px;
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.search-button {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--dark-blue) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    width: 100%;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue) 50%, var(--dark-blue) 100%);
    transform: translateY(-1px);
}

.search-button-text {
    display: inline;
    font-size: 16px;
}

.search-button i {
    font-size: 14px;
}

/* Quick Suggestions */
.quick-suggestions {
    margin-top: 1rem;
}

.suggestion-label {
    font-size: 14px;
    color: #717171;
    margin-right: 16px;
    font-weight: 400;
}

.suggestion-link {
    display: inline-block;
    margin: 0 8px;
    padding: 8px 16px;
    background: rgba(var(--light-blue-rgb), 0.2);
    border: 1px solid var(--light-blue);
    border-radius: 20px;
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.suggestion-link:hover {
    background: var(--light-blue);
    color: var(--dark-blue);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ===== AIRBNB-STYLE PROPERTY GRID ===== */
/* Section Headers */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: #717171;
    margin-bottom: 0;
    font-weight: 400;
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 2rem;
}

.property-card {
    cursor: pointer;
    transition: transform 0.1s ease;
    border-radius: 12px;
    overflow: hidden;
}

.property-card:hover {
    transform: scale(1.02);
}

/* Property Image */
.property-image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
}

.property-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image {
    transform: scale(1.05);
}

.property-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.property-wishlist:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.property-wishlist i {
    font-size: 14px;
    color: #222222;
}

/* Property Content */
.property-content {
    padding: 0;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.property-title {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    margin-right: 8px;
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.property-rating i {
    font-size: 12px;
    color: #222222;
}

.rating-value {
    font-size: 14px;
    font-weight: 400;
    color: #222222;
}

.property-location {
    font-size: 15px;
    color: #717171;
    margin: 0 0 4px 0;
    font-weight: 400;
}

.property-type {
    font-size: 15px;
    color: #717171;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.property-price {
    margin: 0;
}

.price-amount {
    font-size: 15px;
    font-weight: 600;
    color: #222222;
}

.price-period {
    font-size: 15px;
    font-weight: 400;
    color: #222222;
}

/* Show More Button */
.show-more-btn {
    display: inline-block;
    padding: 14px 24px;
    background: #ffffff;
    border: 1px solid #222222;
    border-radius: 8px;
    color: #222222;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.show-more-btn:hover {
    background: #f7f7f7;
    color: #222222;
    text-decoration: none;
}

/* ===== CATEGORIES SECTION ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.category-card {
    cursor: pointer;
    transition: transform 0.1s ease;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-content {
    padding: 16px;
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.category-description {
    font-size: 14px;
    color: #717171;
    margin: 0;
    font-weight: 400;
}

/* General Hover Effects */
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
    transition: box-shadow 0.3s ease;
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Extra Small Mobile Devices (320px - 480px) */
@media (max-width: 480px) {
    /* Navbar Mobile */
    .navbar {
        padding: 0.5rem 1rem;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .navbar-nav .form-select {
        font-size: 14px;
        padding: 0.375rem 0.75rem;
    }

    .btn {
        font-size: 14px;
        padding: 0.5rem 1rem;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 1.5rem 0 2.5rem 0 !important;
        margin-top: 0 !important;
        background: #ffffff;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.15 !important;
        margin-bottom: 0.75rem !important;
        padding: 0 1rem;
        font-weight: 600;
        color: #222222;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0 1.5rem;
        color: #717171;
        text-align: center;
        line-height: 1.4;
    }

    /* Search Bar Container Mobile */
    .search-bar-container {
        padding: 0 1rem;
        margin-bottom: 1.5rem;
    }

    /* Search Bar Mobile */
    .search-bar {
        flex-direction: column;
        padding: 8px;
        border-radius: 20px;
        gap: 0;
        margin: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        border: 1px solid #e0e0e0;
        background: #ffffff;
        max-width: none;
    }

    .search-field {
        padding: 16px 20px;
        border-radius: 16px;
        border: none;
        background: #ffffff;
        margin: 4px 0;
        transition: background-color 0.2s ease;
        cursor: pointer;
    }

    .search-field:hover {
        background: #f8f8f8;
    }

    .search-field:not(:last-of-type) {
        border-bottom: 1px solid #f0f0f0;
        border-radius: 16px 16px 0 0;
        margin-bottom: 0;
    }

    .search-field:last-of-type {
        border-radius: 0 0 16px 16px;
        margin-top: 0;
    }

    .search-field-label {
        font-size: 12px;
        margin-bottom: 4px;
        font-weight: 600;
        color: #222222;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .search-field-input {
        font-size: 16px; /* Prevents zoom on iOS */
        color: #717171;
        border: none;
        background: transparent;
        width: 100%;
        outline: none;
        font-weight: 400;
    }

    .search-field-input:focus {
        color: #222222;
    }

    .search-field-input::placeholder {
        color: #b0b0b0;
    }

    .search-field-divider {
        display: none;
    }

    .search-button-container {
        padding: 8px;
        background: #ffffff;
        border-radius: 0 0 20px 20px;
    }

    .search-button {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 600;
        background: linear-gradient(135deg, #e61e4d 0%, #e31c5f 50%, #d70466 100%);
        border: none;
        color: white;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s ease;
    }

    .search-button:hover {
        background: linear-gradient(135deg, #d50027 0%, #d50027 50%, #d50027 100%);
        transform: translateY(-1px);
    }

    .search-button-text {
        display: inline;
        font-size: 16px;
    }

    .search-button i {
        font-size: 14px;
    }

    /* Quick Suggestions Mobile */
    .quick-suggestions {
        padding: 0 1.5rem;
        text-align: center;
        margin-top: 1rem;
    }

    .suggestion-label {
        display: block;
        margin-bottom: 12px;
        font-size: 13px;
        color: #717171;
        font-weight: 400;
    }

    .suggestion-link {
        display: inline-block;
        margin: 4px 6px;
        font-size: 13px;
        padding: 8px 14px;
        background: #f7f7f7;
        border-radius: 20px;
        text-decoration: none;
        color: #222222;
        font-weight: 500;
        transition: all 0.2s ease;
        border: 1px solid #e0e0e0;
    }

    .suggestion-link:hover {
        background: #e7e7e7;
        color: #222222;
        text-decoration: none;
        transform: translateY(-1px);
    }

    /* Property Grid Mobile */
    .property-grid-section {
        padding: 2rem 0 !important;
    }

    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 1rem;
    }

    .property-card {
        border-radius: 16px;
    }

    .property-image-container {
        height: 220px;
        border-radius: 16px;
        margin-bottom: 8px;
    }

    .property-content {
        padding: 0 4px;
    }

    .property-title {
        font-size: 16px;
        line-height: 1.3;
    }

    .property-location,
    .property-type {
        font-size: 14px;
    }

    .price-amount,
    .price-period {
        font-size: 16px;
    }

    .rating-value {
        font-size: 13px;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.4rem !important;
        padding: 0 1rem;
        text-align: center;
    }

    .section-subtitle {
        font-size: 0.9rem !important;
        padding: 0 1rem;
        text-align: center;
    }

    /* Categories Grid Mobile */
    .categories-section {
        padding: 2rem 0 !important;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 1rem;
    }

    .category-card {
        border-radius: 16px;
    }

    .category-image-container {
        height: 140px;
        border-radius: 16px 16px 0 0;
    }

    .category-content {
        padding: 12px;
    }

    .category-title {
        font-size: 16px;
    }

    .category-description {
        font-size: 13px;
    }

    /* Show More Button Mobile */
    .show-more-btn {
        padding: 16px 24px;
        font-size: 15px;
        margin: 0 1rem;
        width: calc(100% - 2rem);
        text-align: center;
    }

    /* How It Works Mobile */
    .how-it-works-section .container {
        padding: 0 1rem;
    }

    .step-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    /* Why Choose Us Mobile */
    .why-choose-section .container {
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
}

/* Small Mobile Devices (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .hero-title {
        font-size: 2.2rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .search-bar {
        flex-direction: column;
        padding: 16px;
        border-radius: 16px;
        gap: 8px;
    }

    .search-field {
        padding: 14px 16px;
        border-radius: 12px;
        border: 1px solid #dddddd;
    }

    .search-field-divider {
        display: none;
    }

    .search-button {
        width: 100%;
        justify-content: center;
        padding: 16px;
        border-radius: 12px;
    }

    .search-button-text {
        display: inline;
    }

    /* Property Grid Small Mobile */
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .property-image-container {
        height: 200px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    /* Categories Grid Small Mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .category-image-container {
        height: 160px;
    }
}

/* Tablet Adjustments (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .search-bar {
        max-width: 600px;
    }
}

/* Desktop Styles (993px and up) */
@media (min-width: 993px) {
    .hero-section {
        padding: 3rem 0 4rem 0;
    }

    .hero-title {
        font-size: 3.2rem;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    /* Desktop Search Bar - Horizontal Layout */
    .search-bar {
        flex-direction: row;
        align-items: center;
        max-width: 850px;
        border-radius: 32px;
        padding: 8px 8px 8px 24px;
        gap: 0;
    }

    .search-field {
        flex: 1;
        padding: 14px 16px;
        border-radius: 32px;
        margin: 0;
        border: none;
        border-bottom: none;
    }

    .search-field:not(:last-of-type) {
        border-radius: 32px;
        border-bottom: none;
    }

    .search-field:last-of-type {
        border-radius: 32px;
    }

    /* Show dividers on desktop */
    .search-field-divider {
        display: block;
        width: 1px;
        height: 32px;
        background-color: #dddddd;
        margin: 0;
    }

    .search-button-container {
        padding: 8px;
        background: transparent;
        border-radius: 0;
    }

    .search-button {
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--dark-blue) 100%);
        border-radius: 24px;
        padding: 12px 16px;
        font-size: 14px;
        width: auto;
        min-width: 100px;
    }

    .search-button-text {
        display: none;
    }

    .search-button:hover {
        background: linear-gradient(135deg, var(--dark-blue) 0%, var(--dark-blue) 50%, var(--dark-blue) 100%);
        transform: scale(1.04);
    }
}

/* ===== HOW IT WORKS PAGE STYLING ===== */
/* Timeline Styling */
.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item:last-child .timeline-content::after {
    display: none;
}

/* Benefit Cards */
.benefit-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Step Cards */
.step-card {
    padding: 2rem;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 2rem;
}

/* ===== FOOTER STYLING ===== */
.hover-text-primary:hover {
    color: var(--bs-primary) !important;
    transition: color 0.3s ease;
}

/* Enhanced dropdown animation */
.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
}
