/* Hero Section */
#hero-section {
    padding: 80px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Search Card */
.search-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

/* Search Form */
.search-form-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 0;
}

.search-select-wrapper {
    flex: 0 0 auto;
    min-width: 180px;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-select,
.search-input {
    height: 56px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.search-select:focus,
.search-input:focus {
    border-color: #ff9933;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.1);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
    pointer-events: none;
}

.search-input {
    padding-left: 3rem;
}

/* Search Button */
.btn-search {
    height: 56px;
    padding: 0 2.5rem;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-search:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.3);
}

.btn-search:active {
    transform: translateY(0);
}

/* Use Location Button */
.use-location-wrapper {
    text-align: center;
    margin-top: 1rem;
}

.use-location {
    background: none;
    border: none;
    color: #666;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    text-decoration: none;
}

.use-location:hover {
    color: #ff9933;
    text-decoration: none;
}

.use-location i {
    font-size: 1rem;
}

/* Responsive Design */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    #hero-section {
        padding: 60px 0 80px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2.5rem;
    }
    
    .search-card {
        padding: 2rem;
    }
    
    .search-form-row {
        flex-wrap: wrap;
    }
    
    .search-select-wrapper {
        flex: 0 0 100%;
        min-width: auto;
    }
    
    .search-input-wrapper {
        flex: 1;
        min-width: 200px;
    }
    
    .btn-search {
        flex: 0 0 auto;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    #hero-section {
        padding: 40px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .search-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .search-form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-select-wrapper,
    .search-input-wrapper,
    .btn-search {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .search-select,
    .search-input,
    .btn-search {
        height: 50px;
    }
    
    .btn-search {
        justify-content: center;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .search-card {
        padding: 1.25rem;
    }
    
    .search-select,
    .search-input,
    .btn-search {
        height: 48px;
        font-size: 0.95rem;
    }
    
    .btn-search {
        padding: 0 2rem;
    }
}

/* Large Desktop (> 1400px) */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .search-card {
        max-width: 1000px;
        padding: 3rem;
    }
}

/* ========================================
   CATEGORY SECTION STYLES
   ======================================== */

/* Base Category Section Styles */
#category-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#category-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 21rem;
    max-width: 21rem;
    min-width: 21rem;
}

#category-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Category Section - Tablet (768px - 991px) */
@media (max-width: 991px) {
    #category-section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    #category-section .d-flex {
        gap: 1rem !important;
    }
}

/* Category Section - Mobile (576px - 767px) */
@media (max-width: 767px) {
    #category-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    #category-section > .container > .row > .col-md-12:first-child p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    #category-section .d-flex {
        gap: 1rem !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 0.5rem;
        justify-content: flex-start !important;
    }
    
    #category-section .card {
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* Category Section - Small Mobile (< 576px) */
@media (max-width: 575px) {
    #category-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    #category-section > .container > .row > .col-md-12:first-child p {
        font-size: 0.9rem;
    }
}

/* ========================================
   HOW IT WORKS SECTION STYLES
   ======================================== */

/* Base How It Works Styles */
#how-it-works-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.how-it-works-item {
    padding: 1.5rem;
}

.step-number-circle {
    width: 80px;
    height: 80px;
    background-color: #ff9933;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 153, 51, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-it-works-item:hover .step-number-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.35);
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.how-it-works-item h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}

.how-it-works-item p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* How It Works - Tablet (768px - 991px) */
@media (max-width: 991px) {
    #how-it-works-section {
        padding: 60px 0;
    }
    
    .step-number-circle {
        width: 70px;
        height: 70px;
    }
    
    .step-number {
        font-size: 1.75rem;
    }
    
    .how-it-works-item h4 {
        font-size: 1.35rem;
    }
    
    .how-it-works-item p {
        font-size: 0.95rem;
    }
}

/* How It Works - Mobile (576px - 767px) */
@media (max-width: 767px) {
    #how-it-works-section {
        padding: 50px 0;
    }
    
    .how-it-works-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .step-number-circle {
        width: 65px;
        height: 65px;
    }
    
    .step-number {
        font-size: 1.5rem;
    }
    
    .how-it-works-item h4 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem !important;
    }
    
    .how-it-works-item p {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* How It Works - Small Mobile (< 576px) */
@media (max-width: 575px) {
    #how-it-works-section {
        padding: 40px 0;
    }
    
    #how-it-works-section .section-title {
        font-size: 1.5rem;
    }
    
    #how-it-works-section .text-center.text-secondary {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .how-it-works-item {
        padding: 1rem 0.5rem;
    }
    
    .step-number-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem !important;
    }
    
    .step-number {
        font-size: 1.4rem;
    }
    
    .how-it-works-item h4 {
        font-size: 1.15rem;
    }
    
    .how-it-works-item p {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
}

/* ========================================
   FEATURED FACILITIES SECTION STYLES
   ======================================== */

/* Base Featured Facilities Styles */
#featured-facilities-section {
    padding: 80px 0;
}

.view-all-link {
    color: #ff9933;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: #ff8c1a;
    gap: 0.75rem;
}

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.facility-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #556270;
}

.facility-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}

.facility-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.facility-name {
    /* font-size: 1.35rem; */
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.facility-location {
    color: #7f8c8d;
    /* font-size: 0.95rem; */
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.facility-location i {
    font-size: 1rem;
}

.facility-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.facility-rating .stars {
    color: #ff9933;
    display: flex;
    gap: 0.125rem;
}

.facility-rating .stars i {
    font-size: 1rem;
}

.rating-number {
    font-weight: 700;
    color: #2c3e50;
    font-size: 0.95rem;
}

.rating-count {
    color: #95a5a6;
    font-size: 0.9rem;
}

.facility-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-badge {
    background-color: #fff3e0;
    color: #ff9933;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.facility-card-body .btn {
    margin-top: auto;
    border-radius: 8px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.facility-card-body .btn-outline-dark:hover {
    background-color: #2c3e50;
    color: white;
}

/* Featured Facilities - Tablet (768px - 991px) */
@media (max-width: 991px) {
    #featured-facilities-section {
        padding: 60px 0;
    }
    
    .facility-image-wrapper {
        height: 180px;
    }
    
    .facility-name {
        font-size: 1.25rem;
    }
}

/* Featured Facilities - Mobile (576px - 767px) */
@media (max-width: 767px) {
    #featured-facilities-section {
        padding: 50px 0;
    }
    
    #featured-facilities-section .section-title {
        font-size: 1.75rem;
    }
    
    #featured-facilities-section .align-items-center {
        margin-bottom: 2rem !important;
    }
    
    .view-all-link {
        font-size: 0.95rem;
    }
    
    .facility-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .facility-image-wrapper {
        height: 200px;
    }
    
    .facility-card-body {
        padding: 1.25rem;
    }
    
    .facility-name {
        font-size: 1.2rem;
    }
    
    .facility-location {
        font-size: 0.9rem;
    }
    
    .facility-rating .stars i {
        font-size: 0.95rem;
    }
    
    .rating-number {
        font-size: 0.9rem;
    }
    
    .rating-count {
        font-size: 0.85rem;
    }
    
    .feature-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.65rem;
    }
}

/* Featured Facilities - Small Mobile (< 576px) */
@media (max-width: 575px) {
    #featured-facilities-section {
        padding: 40px 0;
    }
    
    #featured-facilities-section .section-title {
        font-size: 1.5rem;
    }
    
    #featured-facilities-section .text-secondary {
        font-size: 0.9rem;
    }
    
    #featured-facilities-section .align-items-center .col-md-4 {
        margin-top: 0.75rem !important;
    }
    
    .view-all-link {
        font-size: 0.9rem;
    }
    
    .facility-card {
        max-width: 100%;
    }
    
    .facility-image-wrapper {
        height: 180px;
    }
    
    .facility-image-icon {
        font-size: 2.5rem;
    }
    
    .facility-card-body {
        padding: 1rem;
    }
    
    .facility-name {
        font-size: 1.15rem;
        margin-bottom: 0.4rem;
    }
    
    .facility-location {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .facility-rating {
        margin-bottom: 0.75rem !important;
    }
    
    .facility-rating .stars i {
        font-size: 0.9rem;
    }
    
    .rating-number {
        font-size: 0.85rem;
    }
    
    .rating-count {
        font-size: 0.8rem;
    }
    
    .facility-features {
        margin-bottom: 0.75rem !important;
        gap: 0.4rem;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .facility-card-body .btn {
        padding: 0.65rem;
        font-size: 0.95rem;
    }
}
