/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

A
{
	COLOR: #000066;
	font-weight: bold;
}

A:link    {color:#000066; text-decoration:none;}
A:visited {color:#000066; text-decoration:none;}
A:active  {color:#FF0000; text-decoration:none;}
A:hover   {color:#FF0000; text-decoration:none;}

LI
{
	margin-left: 5%; 
}

/* Container for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #66FF66;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
	vertical-align: middle;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 24px;
    color: #2c3e50;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 800;
    transition: color 0.3s;
	vertical-align: middle;
}

.nav-links li a:hover {
    color: #FF0000;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    transition: all 0.3s;
}

.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Search Section */
.search-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.search-section h2 {
    margin-bottom: 10px;
    color: #2c3e50;
    text-align: center;
}

.search-section p {
    margin-bottom: 20px;
    text-align: center;
    color: #666;
}

.search-form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.search-form {
    flex: 1;
    max-width: 600px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2c3e50;
}

.form-field label span {
    font-weight: normal;
    color: #666;
    font-size: 14px;
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #66FF66;
    color: #000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #33CC33;
}

/* Results Section */
.results-section {
    margin-bottom: 40px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.result-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.result-card:hover {
    transform: translateY(-5px);
}

.result-card a {
    color: #000066;
    text-decoration: none;
    font-weight: bold;
}

.result-card a:hover {
	color: #FF0000;
    text-decoration: underline;
}

.result-card p {
    margin-bottom: 10px;
}

.results-count {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

/* Error Box */
.error-box {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #ffe6e6;
    border: 2px solid #e74c3c;
    border-radius: 8px;
    text-align: center;
}

.error-box h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

/* Intro Section */
.intro-section {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.intro-section p {
    margin-bottom: 15px;
}

/* Ad Placeholder */
.ad-placeholder {
    flex: 0 0 auto;
    max-width: 300px;
    text-align: center;
}

.ad-box {
    background-color: #ddd;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Detail Section */
.detail-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.detail-content {
    flex: 1;
    max-width: 800px;
}

.provider-detail {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.provider-detail h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.provider-detail h3 {
    color: #2c3e50;
    margin: 20px 0 10px;
}

.provider-detail p {
    margin-bottom: 15px;
}

.pecos-status {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.pecos-status img {
    width: 100px;
    height: auto;
}

.back-btn {
    display: inline-block;
    width: auto;
    padding: 10px 20px;
}

/* Disclaimer */
disclaimer {
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* Footer */
footer {
    background-color: #66FF66;
    color: #000;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .search-form-container {
        flex-direction: column;
        align-items: center;
    }

    .search-form {
        width: 100%;
    }

    .ad-placeholder {
        margin-top: 20px;
    }

    .detail-section .container {
        flex-direction: column;
    }

    .pecos-status {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .search-section h2,
    .results-section h2,
    .provider-detail h2 {
        font-size: 24px;
    }

    .btn {
        font-size: 14px;
    }

    .form-field input,
    .form-field select {
        font-size: 14px;
    }
}