:root {
    --primary-dark: #1a1a2e;
    --primary-medium: #16213e;
    --primary-light: #0f3460;
    --accent: #e94560;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --gold: #ffd700;
    --silver: #c0c0c0;
}

/* Page Titles */
.contact-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-title .highlight {
    color: var(--accent);
}

.contact-subtitle {
    color: #6c757d;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.title-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.title-separator span {
    display: inline-block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 3px;
}

/* Cards */
.contact-info-card, .contact-form-card, .faq-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.contact-card-title {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Contact methods */
.contact-method {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #6c757d;
    margin-bottom: 0;
}

.contact-details a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--accent);
}

/* Social icons */
.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--primary-dark);
    margin-right: 0.75rem;
    transition: all 0.3s ease;
}

.contact-social-icon:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
}

/* Form Styling */
.form-label {
    color: var(--primary-dark);
    font-weight: 500;
}

.input-group-text {
    background-color: var(--primary-light);
    color: white;
    border: none;
}

.form-control, .form-select {
    border: 1px solid #e0e0e0;
    padding: 0.6rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(15, 52, 96, 0.15);
}

.btn-primary {
    background-color: var(--accent);
    border-color: var(--accent);
    font-weight: 500;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #d03a50;
    border-color: #d03a50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);
}

/* FAQ Styling */
.accordion {
    --bs-accordion-btn-bg: #f8f9fa;
    --bs-accordion-active-bg: var(--primary-light);
    --bs-accordion-active-color: white;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(15, 52, 96, 0.15);
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-light);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(15, 52, 96, 0.15);
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    font-weight: 500;
    padding: 1rem 1.25rem;
}

.accordion-body {
    padding: 1.25rem;
    color: #6c757d;
}

/* ========================= */
/* Map & Location List Styles */
/* ========================= */

.location-list {
    max-height: 600px;
    overflow-y: auto;
}

.location-group h6 {
    color: var(--primary-dark);
    font-weight: 600;
}

.location-item {
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    background: #fff;
}

.location-item:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef;
    transform: translateX(4px);
}

.location-item.active {
    background-color: #e7f3ff;
    border-color: #0d6efd;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.12);
}

.location-item .badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
}

/* Address detail cards animation */
.address-detail {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* General address typography inside cards */
.card address {
    line-height: 1.8;
    font-size: 0.95rem;
    color: #495057;
}

.card .card-title i {
    color: var(--accent);
}

/* Map container */
#map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

/* Section Headings */
h3.text-center, h4 {
    color: var(--primary-dark);
    font-weight: 700;
}

/* Dividers within address cards */
.card hr {
    margin: 1.25rem 0;
    opacity: 0.12;
}

/* Small refinements */
.small.text-muted {
    color: #6c757d !important;
}

/* ========================= */
/* Responsive adjustments */
/* ========================= */
@media (max-width: 991.98px) {
    .location-list {
        max-height: 420px;
    }
}

@media (max-width: 767.98px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-info-card, .contact-form-card, .faq-card {
        padding: 1.5rem;
    }

    .location-item {
        padding: 10px;
    }
}