/* ========== PAGE HEADER ========== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    color: var(--white);
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 15px;
}

.page-header-content h1 span {
    color: var(--primary);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    color: var(--primary);
    font-size: 12px;
}

.breadcrumb span {
    color: var(--white);
}

/* ========== SECTION HEADER ========== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 10px;
}

.section-title span {
    color: var(--primary);
}

.section-header p {
    color: var(--gray-500);
    font-size: 16px;
}

/* ========== CONTACT INFO SECTION ========== */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.contact-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,195,0,0.1) 0%, rgba(255,195,0,0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-card-icon i {
    font-size: 35px;
    color: var(--primary-dark);
}

.contact-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-detail {
    margin-bottom: 10px;
}

.contact-detail a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.contact-detail a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.address p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0;
}

.hours-detail {
    text-align: left;
    margin-top: 15px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--gray-200);
    font-size: 14px;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.emergency {
    background: rgba(255,195,0,0.1);
    padding: 10px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.hours-row span:first-child {
    color: var(--gray-500);
}

.hours-row span:last-child {
    font-weight: 600;
    color: var(--secondary);
}

.btn-call-now,
.btn-email-us,
.btn-get-directions {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-call-now {
    background: var(--primary);
    color: var(--secondary);
}

.btn-call-now:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-email-us {
    background: var(--secondary);
    color: var(--white);
}

.btn-email-us:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
}

.btn-get-directions {
    background: var(--gray-100);
    color: var(--secondary);
}

.btn-get-directions:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ========== CONTACT FORM SECTION ========== */
.contact-form-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.form-header p {
    color: var(--gray-500);
    font-size: 14px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,195,0,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray-600);
    position: relative;
    padding-left: 30px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background: var(--white);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.checkbox-label:hover input ~ .checkmark {
    border-color: var(--primary);
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--secondary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.btn-submit-form {
    background: var(--secondary);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-submit-form:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2xl);
}

.btn-submit-form i {
    transition: var(--transition);
}

.btn-submit-form:hover i {
    transform: translateX(5px);
}

/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--danger);
}

.error-message {
    color: var(--danger);
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.form-success i {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.form-success p {
    color: var(--gray-500);
    margin-bottom: 25px;
}

.btn-reset-form {
    background: var(--primary);
    color: var(--secondary);
    padding: 12px 30px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset-form:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ========== MAP WRAPPER ========== */
.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.map-container {
    flex: 1;
    min-height: 350px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.quick-support {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.quick-support h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-option i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255,195,0,0.1) 0%, rgba(255,195,0,0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-size: 20px;
}

.support-option div {
    display: flex;
    flex-direction: column;
}

.support-option span {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.support-option a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.support-option a:hover {
    color: var(--primary);
}


/* ========== FAQ SECTION ========== */
.faq-section {
    padding: 80px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 900px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ========== EMERGENCY BANNER ========== */
.emergency-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.emergency-content {
    text-align: center;
    color: var(--secondary);
}

.emergency-content i {
    font-size: 56px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    70% { box-shadow: 0 0 0 20px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.emergency-content h2 {
    color: var(--secondary);
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 10px;
}

.emergency-content p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.emergency-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-emergency-call {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: var(--transition);
    background: var(--secondary);
    color: var(--white);
    white-space: nowrap;
}

.btn-emergency-call i {
    font-size: 18px;
}

.btn-emergency-call span {
    font-size: 16px;
    font-weight: 700;
}

.btn-emergency-call:hover {
    background: var(--white);
    color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2xl);
}




/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-2xl);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--white);
    transform: translateY(-5px);
}

/* ========== NOTIFICATIONS ========== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-success i {
    color: var(--success);
}

.notification-error {
    border-left: 4px solid var(--danger);
}

.notification-error i {
    color: var(--danger);
}

.notification-info {
    border-left: 4px solid var(--primary);
}

.notification-info i {
    color: var(--primary);
}

.notification i {
    font-size: 20px;
}

.notification span {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 992px) {
    .nav-menu,
    .header-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }


}

@media (max-width: 768px) {

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .emergency-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }

    .btn-emergency-call,
    .btn-emergency-chat {
        justify-content: center;
    }


}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .hours-row {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .faq-question h3 {
        font-size: 14px;
        padding-right: 15px;
    }

    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }


}

/* ========== ANIMATIONS ========== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item.active .faq-answer {
    animation: slideDown 0.3s ease forwards;
}

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========== CUSTOM FILE UPLOAD ========== */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-custom {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.file-upload-wrapper:hover .file-upload-custom {
    border-color: var(--primary);
}

.file-upload-input:focus + .file-upload-custom {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.1);
}

.file-upload-btn {
    background: var(--primary);
    color: var(--secondary);
    padding: 14px 20px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    border-right: 2px solid var(--gray-200);
}

.file-upload-text {
    padding: 14px 18px;
    color: var(--gray-400);
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.file-upload-input:hover ~ .file-upload-custom .file-upload-btn {
    background: var(--secondary);
    color: var(--white);
}
