
    
    :root {
    --primary-color: #1cb35c;
    --primary-dark: #148042;
    --primary-light: #e8f5e9;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --danger: #dc3545;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Search Form */
.search-form {
    background: var(--white);
    padding: 10px;
    border-radius: 50px;
    display: flex;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
}

.search-input {
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    flex: 1;
    border-radius: 50px;
}

.search-zip {
    width: 150px;
    border-left: 1px solid #eee;
    border-radius: 0;
}

.search-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid #eee;
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-card h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* City Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.city-card {
    background: var(--white);
    padding: 20px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid #eee;
    color: var(--secondary-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.city-card:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer */
.main-footer {
    background-color: var(--secondary-color);
    color: #ecf0f1;
    padding: 80px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bdc3c7;
}

.contact-list i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Buttons & Forms General */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-light {
    background: var(--bg-color);
    color: var(--secondary-color);
    border: 1px solid #ddd;
}

.btn-light:hover {
    background: #e2e6ea;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    margin-bottom: 5px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Search Page & Provider Details */
.search-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.provider-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.provider-info h3 a {
    color: var(--secondary-color);
    font-size: 1.4rem;
}

.provider-info h3 a:hover {
    color: var(--primary-color);
}

.category-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin: 10px 0;
}

.ratings {
    color: #f1c40f;
    margin-bottom: 10px;
}

.provider-header {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.provider-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}

.provider-logo-placeholder {
    width: 120px;
    height: 120px;
    background: #eee;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ccc;
}

.provider-body {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.provider-sidebar .contact-info {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        display: none;
    }

    .search-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .search-input,
    .search-zip,
    .search-btn {
        width: 100%;
        border-radius: 10px;
        border: none;
        box-shadow: var(--shadow-md);
    }

    .search-zip {
        border-left: none;
    }

    .search-layout,
    .provider-body {
        grid-template-columns: 1fr;
    }

    .provider-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Buttons & Forms General */
    .btn {
        display: inline-block;
        padding: 10px 25px;
        border-radius: 5px;
        cursor: pointer;
        font-weight: 500;
        border: none;
        transition: var(--transition);
    }

    .btn-primary {
        background: var(--primary-color);
        color: var(--white);
    }

    .btn-primary:hover {
        background: var(--primary-dark);
    }

    .btn-light {
        background: var(--bg-color);
        color: var(--secondary-color);
        border: 1px solid #ddd;
    }

    .btn-light:hover {
        background: #e2e6ea;
    }

    .btn-danger {
        background: var(--danger);
        color: var(--white);
    }

    .form-control {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: var(--radius);
        font-family: inherit;
        margin-bottom: 5px;
    }

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px var(--primary-light);
    }

    /* Search Page & Provider Details */
    .search-layout {
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }

    .provider-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .provider-info h3 a {
        color: var(--secondary-color);
        font-size: 1.4rem;
    }

    .provider-info h3 a:hover {
        color: var(--primary-color);
    }

    .category-badge {
        background: var(--primary-light);
        color: var(--primary-dark);
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-block;
        margin: 10px 0;
    }

    .ratings {
        color: #f1c40f;
        margin-bottom: 10px;
    }

    .provider-header {
        display: flex;
        gap: 30px;
        margin-bottom: 40px;
        align-items: flex-start;
    }

    .provider-logo {
        width: 120px;
        height: 120px;
        border-radius: var(--radius);
        object-fit: cover;
        box-shadow: var(--shadow-md);
    }

    .provider-logo-placeholder {
        width: 120px;
        height: 120px;
        background: #eee;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: #ccc;
    }

    .provider-body {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 50px;
    }

    .provider-sidebar .contact-info {
        background: var(--white);
        padding: 30px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-sm);
        border: 1px solid #eee;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .navbar {
            height: 60px;
        }

        .mobile-menu-btn {
            display: block;
        }

        .nav-links {
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
            background: var(--white);
            flex-direction: column;
            padding: 20px;
            box-shadow: var(--shadow-md);
            display: none;
        }

        .nav-links.active {
            display: flex;
        }

        .hero {
            height: 500px;
        }

        .hero-content h1 {
            font-size: 2.5rem;
        }

        .search-form {
            flex-direction: column;
            background: transparent;
            box-shadow: none;
            padding: 0;
        }

        .search-input,
        .search-zip,
        .search-btn {
            width: 100%;
            border-radius: 10px;
            border: none;
            box-shadow: var(--shadow-md);
        }

        .search-zip {
            border-left: none;
        }

        .search-layout,
        .provider-body {
            grid-template-columns: 1fr;
        }

        .provider-card {
            flex-direction: column;
            text-align: center;
            gap: 20px;
        }

        .provider-actions {
            width: 100%;
        }

        .provider-header {
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
    }

    /* Login Page */
    .login-container {
        max-width: 500px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .login-container .card {
        padding: 40px;
    }

    .login-container h2 {
        text-align: center;
        margin-bottom: 10px;
        color: var(--secondary-color);
    }

    .login-container p {
        text-align: center;
        margin-bottom: 30px;
        color: var(--text-light);
    }

    .invalid-feedback {
        display: block;
        width: 100%;
        margin-top: 0.25rem;
        font-size: 80%;
        color: var(--danger);
    }

    .is-invalid {
        border-color: var(--danger);
    }
}