/* Contact Page Custom Styles - Olive Green & White Theme */

:root {
    --olive-green: #6A9E28;
    --olive-green-dark: #5A8A20;
    --olive-green-light: #8FBC8F;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #2C3E50;
    --border-color: #E0E0E0;
}

/* Page Header Section */
.contact-page-header {
    background: linear-gradient(rgba(31, 36, 44, 0.8), rgba(31, 36, 44, 0.8)), url('../img/banners/contact-banner.png');
    background-size: cover;
    background-position: center;
    padding: 80px 0 60px;
    text-align: center;
    color: var(--white);
}

.contact-page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.contact-page-header p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: var(--white);
    opacity: 0.95;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 50px;
    margin-bottom: 60px;
}

.contact-form-wrapper h2 {
    color: var(--olive-green);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--olive-green);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236A9E28' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-color: var(--white);
    padding-right: 40px;
    cursor: pointer;
    color: var(--text-dark);
}

/* Dropdown options - Black text on White background */
.form-group select option {
    color: #000000 !important;
    background-color: #FFFFFF !important;
    padding: 10px;
    font-weight: normal;
}

.form-group select option:hover {
    background-color: #E8F5E9 !important;
    color: #000000 !important;
}

.form-group select option:checked,
.form-group select option:focus,
.form-group select option[selected] {
    background-color: #E8F5E9 !important;
    color: #000000 !important;
}

/* Nice Select Plugin Overrides - Force White Background with Black Text */
.contact-form-section .nice-select {
    background-color: #FFFFFF !important;
    border: 2px solid var(--border-color) !important;
    color: var(--text-dark) !important;
}

.contact-form-section .nice-select:focus,
.contact-form-section .nice-select.open {
    border-color: var(--olive-green) !important;
}

.contact-form-section .nice-select .list {
    background-color: #FFFFFF !important;
    border: 2px solid var(--border-color) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.contact-form-section .nice-select .option {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border: none !important;
    border-bottom: 1px solid #F0F0F0 !important;
}

.contact-form-section .nice-select .option:hover,
.contact-form-section .nice-select .option.focus,
.contact-form-section .nice-select .option.selected.focus {
    background-color: #E8F5E9 !important;
    color: #000000 !important;
}

.contact-form-section .nice-select .option.selected {
    background-color: #E8F5E9 !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

.contact-form-section .nice-select:after {
    border-bottom: 2px solid var(--olive-green) !important;
    border-right: 2px solid var(--olive-green) !important;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--olive-green);
    color: var(--white);
    padding: 16px 50px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: var(--olive-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(107, 142, 35, 0.3);
}

/* Contact Information Section */
.contact-info-section {
    background: var(--light-gray);
    padding: 80px 0;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.info-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
    color: var(--olive-green);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-card h3 i {
    margin-right: 12px;
    font-size: 24px;
}

.info-card p,
.info-card a {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.8;
    margin: 8px 0;
    text-decoration: none;
}

.info-card a:hover {
    color: var(--olive-green);
}

.info-card .contact-detail {
    margin: 10px 0;
}

.info-card .contact-detail strong {
    color: var(--olive-green-dark);
    display: block;
    margin-bottom: 5px;
}

/* Quick Actions Section */
.quick-actions-section {
    background: var(--olive-green);
    padding: 50px 0;
    color: var(--white);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.action-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.action-card i {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--white);
}

.action-card h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.action-card p,
.action-card a {
    color: var(--white);
    font-size: 15px;
    text-decoration: none;
    line-height: 1.6;
}

.action-card a:hover {
    text-decoration: underline;
}

/* Service Areas Section */
.service-areas-section {
    background: var(--white);
    padding: 80px 0;
}

.service-areas-section h2 {
    color: var(--olive-green);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.service-areas-section p {
    text-align: center;
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 40px;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.area-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.area-item:hover {
    border-color: var(--olive-green);
    background: var(--white);
}

.area-item i {
    color: var(--olive-green);
    font-size: 28px;
    margin-bottom: 10px;
}

.area-item p {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 15px;
}

/* Social Media Section */
.social-media-section {
    background: var(--light-gray);
    padding: 50px 0;
    text-align: center;
}

.social-media-section h3 {
    color: var(--olive-green);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--olive-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 22px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--olive-green-dark);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-page-header h1 {
        font-size: 32px;
    }

    .contact-page-header p {
        font-size: 16px;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .contact-form-wrapper h2 {
        font-size: 26px;
    }

    .contact-info-grid,
    .quick-actions-grid,
    .areas-grid {
        grid-template-columns: 1fr;
    }

    .service-areas-section h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .contact-page-header {
        padding: 60px 0 40px;
    }

    .contact-page-header h1 {
        font-size: 28px;
    }

    .contact-form-section,
    .contact-info-section,
    .service-areas-section {
        padding: 50px 0;
    }
}