/* Landing page styles */
.landing-section {
    padding: 1.5rem 0;
}

.hero-section {
    color: #212529;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.hero-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subheading {
    font-size: 1.25rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.search-container {
    background-color: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.landing-section .search-box {
    max-width: 800px;
    margin: 0 auto;
}

.landing-section .form-text {
    display: block;
    text-align: left;
    margin-top: 10px;
}

/* Search button styles are now managed through search.css */

.search-form {
    margin: 0;
}

.input-group-text {
    border-color: #e9ecef;
    padding-left: 1.25rem;
    padding-right: 0;
}

.input-group-text i {
    font-size: 1.25rem;
    color: #6c757d;
}

.form-text {
    color: #6c757d;
    font-size: 0.9rem;
}

/* For the search tabs - keeping some of these for backwards compatibility */
.nav-pills {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem !important;
}

.nav-pills .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.nav-pills .nav-link:hover {
    background-color: #f8f9fa;
}

.nav-pills .nav-link.active {
    color: #fff;
    background-color: #0DAEF2;
    box-shadow: 0 4px 10px rgba(13, 174, 242, 0.3);
}

.nearby-section {
    margin-top: 2.5rem;
}

.section-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    color: #212529;
}

.view-all-card {
    background-color: #f8f9fa;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.view-all-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.view-all-button {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.cities-section {
    margin-top: 3rem;
}

.cities-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.cities-card .card-header {
    background-color: #0DAEF2;
    color: white;
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.cities-card .card-body {
    padding: 1.5rem;
}

.city-link {
    color: #0DAEF2;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.city-link:hover {
    color: #0A8BC0;
    text-decoration: underline;
}

/* Provider card styles for "Child Care Providers Near You" section */
.card-title a {
    color: #0DAEF2;
    font-weight: 600;
    text-decoration: none;
}

.card-title a:hover {
    color: #0A8BC0;
    text-decoration: underline;
}

.tag-badge {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    background-color: #0DAEF2;
    color: white;
    border-radius: 50px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Search box overrides specific to landing page */
.landing-section .search-box .input-group {
    max-width: 800px;
    margin: 0 auto;
}

.landing-section .search-box .form-control {
    height: 60px;
    font-size: 1.15rem;
}

.landing-section .search-box .btn {
    padding: 0.75rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .landing-section {
        padding: 0.8rem 0;
    }
    
    .hero-section {
        padding: 2rem 1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-heading {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subheading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .search-container {
        padding: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .nearby-section {
        margin-top: 2rem;
    }
    
    .section-heading {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.6rem;
    }
    
    .landing-section .search-box .form-control {
        height: 50px;
        font-size: 1rem;
    }
    
    .landing-section .search-box .btn {
        padding: 0.5rem 1.5rem;
    }
}

/* Extra responsive styling for iPhone-sized screens */
@media (max-width: 414px) {
    .landing-section {
        padding: 0.5rem 0;
    }
    
    .hero-section {
        padding: 1.5rem 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-heading {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subheading {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    .search-container {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .landing-section .form-text {
        font-size: 0.85rem;
    }
    
    .nearby-section {
        margin-top: 1.5rem;
    }
    
    .section-heading {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
}

/* Responsive styling for city columns */
@media (max-width: 767px) {
    .city-link {
        font-size: 0.9rem;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .cities-card .card-body {
        padding: 1.25rem 0.75rem;
    }
}

/* Extra styling for very small screens */
@media (max-width: 374px) {
    .city-link {
        font-size: 0.85rem;
    }
    
    .cities-card .card-header {
        padding: 0.75rem 1rem;
    }
}
