/* --- Page Hero --- */
.page-hero {
    background: linear-gradient(rgba(0, 31, 84, 0.8), rgba(0, 31, 84, 0.9)), url('https://kralmotoriranian.com/public/images/page/dealerships.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0 120px 0;
    text-align: center;
    position: relative;
}

/* --- Search Box Area --- */
.search-container {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}
.search-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 5px solid var(--rasa-red);
}
.form-control, .form-select {
    padding: 12px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}
.form-control:focus, .form-select:focus {
    border-color: var(--rasa-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 31, 84, 0.15);
}

/* --- Agency Cards --- */
.agency-card {
    background: white;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}
.agency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.agency-header {
    background-color: var(--rasa-blue);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.agency-code {
    background-color: var(--rasa-red);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}
.agency-body {
    padding: 20px;
}
.info-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95rem;
}
.info-row i {
    color: var(--rasa-red);
    margin-left: 10px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}
.agency-footer {
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    text-align: center;
}
.btn-outline-custom {
    color: var(--rasa-blue);
    border: 1px solid var(--rasa-blue);
    width: 100%;
    border-radius: 5px;
}
.btn-outline-custom:hover {
    background-color: var(--rasa-blue);
    color: white;
}