/* ===================================================
   CONTACT PAGE - REDESIGNED STYLES
   =================================================== */

/* --- Hero Section Redesign --- */
.contact-hero-redesign {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #d7942e 0%, #e8b923 40%, #f0c94d 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-hero-redesign .hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    z-index: -1;
}

.contact-hero-redesign .hero-shape-1 {
    width: 400px;
    height: 400px;
    background: #fff;
    top: -100px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.contact-hero-redesign .hero-shape-2 {
    width: 250px;
    height: 250px;
    background: #fff;
    bottom: -60px;
    left: -40px;
    animation: float 6s ease-in-out infinite reverse;
}

.contact-hero-redesign .hero-shape-3 {
    width: 150px;
    height: 150px;
    background: #fff;
    top: 40%;
    left: 20%;
    animation: float 10s ease-in-out infinite;
}

.contact-hero-redesign .hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.contact-hero-redesign .hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb-hero {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.breadcrumb-hero .breadcrumb-item a:hover {
    color: #fff;
}

.breadcrumb-hero .breadcrumb-item.active {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.breadcrumb-hero .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
    content: "›";
    font-size: 1.1rem;
}

/* --- Contact Info Cards Section --- */
.contact-info-cards-section {
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 40px;
}

.contact-cards-row {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card {
    background: var(--policy-card-bg, #fff);
    border: 1px solid var(--card-border, #e0e0e0);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d7942e, #e8b923);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(215, 148, 46, 0.15);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-info-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(215, 148, 46, 0.12), rgba(232, 185, 35, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-info-card:hover .contact-info-card-icon {
    background: linear-gradient(135deg, #d7942e, #e8b923);
    transform: scale(1.1);
}

.contact-info-card-icon i {
    font-size: 1.6rem;
    color: #d7942e;
    transition: color 0.3s ease;
}

.contact-info-card:hover .contact-info-card-icon i {
    color: #fff;
}

.contact-info-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 8px;
}

.contact-info-card-desc {
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    margin-bottom: 14px;
    line-height: 1.6;
}

.contact-info-card-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #d7942e;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

a.contact-info-card-link:hover {
    color: #b3771e;
    text-decoration: underline;
}

/* --- Contact Main Section (Form + Map) --- */
.contact-main-section {
    padding: 40px 0 80px;
    background: var(--bg-color, #f8f9fa);
}

/* Form Wrapper */
.contact-form-wrapper {
    background: var(--policy-card-bg, #fff);
    border: 1px solid var(--card-border, #e0e0e0);
    border-radius: 20px;
    padding: 44px 40px;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-header {
    margin-bottom: 32px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(215, 148, 46, 0.12), rgba(232, 185, 35, 0.12));
    color: #d7942e;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

[data-theme="dark"] .section-badge {
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.2), rgba(215, 148, 46, 0.2));
    color: #e8b923;
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: var(--text-secondary, #666);
    line-height: 1.6;
}

/* Form Fields */
.form-floating-custom {
    margin-bottom: 0;
}

.form-floating-custom label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 8px;
    display: block;
}

.form-floating-custom label i {
    color: #d7942e;
    margin-right: 4px;
    font-size: 0.8rem;
}

.contact-form-redesign .form-control,
.contact-form-redesign .form-select {
    background: var(--form-control-bg, #fff);
    color: var(--form-control-text, #1a1a1a);
    border: 1.5px solid var(--card-border, #e0e0e0);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.contact-form-redesign .form-control:focus,
.contact-form-redesign .form-select:focus {
    border-color: #d7942e;
    box-shadow: 0 0 0 3px rgba(215, 148, 46, 0.12);
    outline: none;
}

.contact-form-redesign .form-control::placeholder {
    color: #aaa;
    font-weight: 400;
}

.contact-form-redesign textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* Submit Button */
.btn-submit-contact {
    background: linear-gradient(135deg, #d7942e 0%, #e8b923 100%);
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    width: 100%;
    letter-spacing: 0.3px;
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(215, 148, 46, 0.35);
    background: linear-gradient(135deg, #c4841f 0%, #d7a620 100%);
    color: #fff;
}

.btn-submit-contact:active {
    transform: translateY(0);
}

.btn-submit-contact:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* --- Contact Sidebar (Map + Info) --- */
.contact-sidebar {
    background: var(--policy-card-bg, #fff);
    border: 1px solid var(--card-border, #e0e0e0);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.contact-map-wrapper {
    padding: 16px 16px 0;
}

.contact-map-wrapper iframe {
    border-radius: 12px;
    width: 100%;
    display: block;
}

.contact-sidebar-info {
    padding: 28px 28px 32px;
    flex: 1;
}

.contact-sidebar-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 8px;
}

.contact-sidebar-info>p {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border, #e0e0e0);
}

/* Business Hours */
.contact-sidebar-hours {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border, #e0e0e0);
}

.contact-sidebar-hours h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 12px;
}

.contact-sidebar-hours h5 i {
    color: #d7942e;
}

.contact-sidebar-hours ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-sidebar-hours ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
}

.contact-sidebar-hours ul li span:first-child {
    font-weight: 500;
    color: var(--text-color, #1a1a1a);
}

/* Social Icons */
.contact-sidebar-social h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color, #1a1a1a);
    margin-bottom: 14px;
}

.social-icons-row {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(215, 148, 46, 0.1), rgba(232, 185, 35, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d7942e;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    background: linear-gradient(135deg, #d7942e, #e8b923);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(215, 148, 46, 0.3);
}

/* --- FAQ Section --- */
.contact-faq-section {
    padding: 80px 0;
    background: var(--pricing-bg, #f9f9fb);
}

.contact-faq-section .section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color, #1a1a1a);
}

.contact-faq-section .section-description {
    max-width: 500px;
    margin: 0 auto;
}

.contact-accordion .accordion-item {
    border: 1px solid var(--card-border, #e0e0e0);
    border-radius: 14px !important;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--policy-card-bg, #fff);
    transition: box-shadow 0.3s ease;
}

.contact-accordion .accordion-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.contact-accordion .accordion-button {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color, #1a1a1a);
    background: transparent;
    padding: 18px 24px;
    border: none;
    box-shadow: none;
}

.contact-accordion .accordion-button:not(.collapsed) {
    color: #d7942e;
    background: transparent;
    box-shadow: none;
}

.contact-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23d7942e'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.contact-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.contact-accordion .accordion-body {
    font-size: 0.95rem;
    color: var(--text-secondary, #666);
    line-height: 1.8;
    padding: 0 24px 20px;
}

/* --- CTA Section --- */
.contact-cta-section {
    padding: 80px 0;
    background: var(--bg-color, #f8f9fa);
}

.contact-cta-wrapper {
    background: linear-gradient(135deg, #d7942e 0%, #e8b923 50%, #f0c94d 100%);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.contact-cta-wrapper::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: -100px;
    right: -60px;
}

.contact-cta-wrapper::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: -80px;
    left: -40px;
}

.contact-cta-wrapper h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.contact-cta-wrapper p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.contact-cta-buttons {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: #fff;
    color: #d7942e;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-primary:hover {
    background: #1a1a1a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ===================================================
   DARK MODE OVERRIDES
   =================================================== */
[data-theme="dark"] .contact-hero-redesign {
    background: linear-gradient(135deg, #b3771e 0%, #d7942e 50%, #c4841f 100%);
}

[data-theme="dark"] .contact-info-card {
    background: var(--policy-card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .contact-info-card:hover {
    box-shadow: 0 16px 40px rgba(232, 185, 35, 0.15);
}

[data-theme="dark"] .contact-info-card h4 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-info-card-desc {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-info-card-icon {
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.15), rgba(215, 148, 46, 0.15));
}

[data-theme="dark"] .contact-info-card-icon i {
    color: #e8b923;
}

[data-theme="dark"] .contact-info-card:hover .contact-info-card-icon {
    background: linear-gradient(135deg, #b3771e, #d7942e);
}

[data-theme="dark"] .contact-info-card-link {
    color: #e8b923;
}

[data-theme="dark"] .contact-main-section {
    background: var(--bg-color);
}

[data-theme="dark"] .contact-form-wrapper {
    background: var(--policy-card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .contact-form-title {
    color: var(--text-color);
}

[data-theme="dark"] .contact-form-subtitle {
    color: var(--text-secondary);
}

[data-theme="dark"] .form-floating-custom label {
    color: var(--text-color);
}

[data-theme="dark"] .form-floating-custom label i {
    color: #e8b923;
}

[data-theme="dark"] .contact-form-redesign .form-control,
[data-theme="dark"] .contact-form-redesign .form-select {
    background: var(--form-control-bg);
    color: var(--form-control-text);
    border-color: var(--card-border);
}

[data-theme="dark"] .contact-form-redesign .form-control:focus,
[data-theme="dark"] .contact-form-redesign .form-select:focus {
    border-color: #e8b923;
    box-shadow: 0 0 0 3px rgba(232, 185, 35, 0.15);
}

[data-theme="dark"] .contact-sidebar {
    background: var(--policy-card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .contact-sidebar-info h4,
[data-theme="dark"] .contact-sidebar-info h5,
[data-theme="dark"] .contact-sidebar-hours h5,
[data-theme="dark"] .contact-sidebar-social h5 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-sidebar-info>p,
[data-theme="dark"] .contact-sidebar-hours ul li {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-sidebar-hours ul li span:first-child {
    color: var(--text-color);
}

[data-theme="dark"] .contact-sidebar-info>p,
[data-theme="dark"] .contact-sidebar-hours {
    border-bottom-color: var(--card-border);
}

[data-theme="dark"] .social-icon-btn {
    background: linear-gradient(135deg, rgba(232, 185, 35, 0.15), rgba(215, 148, 46, 0.15));
    color: #e8b923;
}

[data-theme="dark"] .social-icon-btn:hover {
    background: linear-gradient(135deg, #b3771e, #d7942e);
    color: #fff;
}

[data-theme="dark"] .contact-faq-section {
    background: var(--pricing-bg);
}

[data-theme="dark"] .contact-faq-section .section-title {
    color: var(--text-color);
}

[data-theme="dark"] .contact-accordion .accordion-item {
    background: var(--policy-card-bg);
    border-color: var(--card-border);
}

[data-theme="dark"] .contact-accordion .accordion-button {
    color: var(--text-color);
}

[data-theme="dark"] .contact-accordion .accordion-button:not(.collapsed) {
    color: #e8b923;
}

[data-theme="dark"] .contact-accordion .accordion-body {
    color: var(--text-secondary);
}

[data-theme="dark"] .contact-cta-section {
    background: var(--bg-color);
}

[data-theme="dark"] .contact-cta-wrapper {
    background: linear-gradient(135deg, #b3771e 0%, #d7942e 50%, #c4841f 100%);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 991px) {
    .contact-hero-redesign {
        padding: 120px 0 80px;
    }

    .contact-hero-redesign .hero-title {
        font-size: 2.5rem;
    }

    .contact-info-cards-section {
        margin-top: -40px;
    }

    .contact-form-wrapper {
        padding: 32px 28px;
    }

    .contact-main-section {
        padding: 30px 0 60px;
    }

    .contact-faq-section,
    .contact-cta-section {
        padding: 60px 0;
    }

    .contact-cta-wrapper {
        padding: 48px 28px;
    }

    .contact-cta-wrapper h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .contact-hero-redesign {
        padding: 100px 0 60px;
    }

    .contact-hero-redesign .hero-title {
        font-size: 2rem;
    }

    .contact-hero-redesign .hero-subtitle {
        font-size: 1rem;
    }

    .contact-info-cards-section {
        margin-top: -30px;
        margin-bottom: 20px;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .contact-form-title {
        font-size: 1.6rem;
    }

    .contact-main-section {
        padding: 20px 0 50px;
    }

    .contact-faq-section,
    .contact-cta-section {
        padding: 50px 0;
    }

    .contact-cta-wrapper {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .contact-cta-wrapper h2 {
        font-size: 1.5rem;
    }

    .contact-cta-wrapper p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .contact-hero-redesign {
        padding: 90px 0 50px;
    }

    .contact-hero-redesign .hero-title {
        font-size: 1.75rem;
    }

    .contact-hero-redesign .hero-subtitle {
        font-size: 0.9rem;
    }

    .contact-info-card {
        padding: 28px 20px;
    }

    .contact-form-wrapper {
        padding: 24px 16px;
        border-radius: 14px;
    }

    .contact-sidebar-info {
        padding: 20px 20px 24px;
    }

    .btn-submit-contact {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}