/* 
==========================================
CONTACT PAGE STYLES - AffordableInsurance
==========================================
*/
/* ===== FIX HORIZONTAL SCROLL ==== */
html, body {
    overflow-x: hidden !important;
    max-width: 100%;
    position: relative;
}

/* Modern Contact Hero - COMPLETELY DIFFERENT */
.contact-hero {
    background: linear-gradient(135deg, #0f1e0f 0%, #1a2e1a 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(140, 182, 49, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(140, 182, 49, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(140, 182, 49, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: floatDots 20s linear infinite;
}

@keyframes floatDots {
    0% { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

.radial-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(140, 182, 49, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(95, 176, 41, 0.1) 0%, transparent 50%);
}

.min-vh-85 {
    min-height: 85vh;
}

/* Breadcrumb - New Design */
.contact-breadcrumb {
    display: inline-block;
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trail-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.trail-link:hover {
    color: white;
    transform: translateX(-3px);
}

.trail-link i {
    font-size: 0.9rem;
}

.trail-separator {
    color: rgba(255, 255, 255, 0.5);
}

.trail-current {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
}

/* Trust Badges */
.contact-trust-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.trust-pill:hover {
    background: rgba(140, 182, 49, 0.2);
    transform: translateY(-3px);
}

.trust-pill i {
    color: var(--primary);
}

/* Main Title - Creative Typography */
.contact-main-title {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.title-line {
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    line-height: 1.1;
}

.title-highlight {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), #a4cf57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
}

/* Contact Subtitle */
.contact-subtitle {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}

.subtitle-icon {
    width: 50px;
    height: 50px;
    background: rgba(140, 182, 49, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Contact Stats */
.contact-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-circle {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    max-width: 100px;
    line-height: 1.3;
}

/* Quick Contact CTA */
.quick-contact-cta {
    max-width: 500px;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.cta-header {
    background: rgba(140, 182, 49, 0.2);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cta-header h5 {
    margin: 0;
    color: white;
    font-weight: 600;
}

.cta-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.btn-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-cta:hover {
    background: rgba(140, 182, 49, 0.2);
    transform: translateY(-3px);
}

.btn-cta i {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.btn-cta span {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.btn-cta small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.btn-cta.phone i {
    color: #4CAF50;
}

.btn-cta.form i {
    color: #2196F3;
}

/* Floating Contact Card */
.floating-contact-card {
    background: white;
    border-radius: 25px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    animation: floatCard 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes floatCard {
    0%, 100% {
        transform: perspective(1000px) rotateY(-5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-5deg) translateY(-20px);
    }
}

.floating-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 30px;
    color: white;
    text-align: center;
    position: relative;
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.floating-card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.floating-card-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Mini Form */
.mini-form {
    padding: 30px;
}

.mini-form .form-group {
    margin-bottom: 20px;
}

.mini-form .form-control,
.mini-form .form-select {
    border: 2px solid #e3f2d9;
    border-radius: 12px;
    padding: 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.mini-form .form-control:focus,
.mini-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(140, 182, 49, 0.25);
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(140, 182, 49, 0.3);
}

/* Trust Assurance */
.trust-assurance {
    padding: 20px 30px;
    background: #f8fdf8;
    border-top: 1px solid #e3f2d9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #6c757d;
}

.assurance-item i {
    color: var(--primary);
}

/* Scroll Indicator */
.contact-scroll-indicator {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.scroll-link:hover {
    transform: translateY(-5px);
}

.scroll-text {
    font-size: 0.9rem;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 10px;
    transition: opacity 0.3s ease;
}

.scroll-link:hover .scroll-text {
    opacity: 1;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    background: rgba(140, 182, 49, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #2c3e50 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Method Cards */
.contact-method-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    border: 2px solid #e3f2d9;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-method-card.phone-card {
    border-top: 5px solid var(--primary);
}

.contact-method-card.email-card {
    border-top: 5px solid #2196F3;
}

.contact-method-card.chat-card {
    border-top: 5px solid #4CAF50;
}

.method-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 1.8rem;
}

.email-card .icon-circle {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.chat-card .icon-circle {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.method-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.method-description {
    color: #6c757d;
    margin-bottom: 25px;
    flex-grow: 1;
}

.method-details {
    text-align: left;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.detail-value {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.method-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.method-action:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(140, 182, 49, 0.3);
    color: white;
}

.email-card .method-action {
    background: #2196F3;
}

.email-card .method-action:hover {
    background: #1976D2;
}

.chat-card .method-action {
    background: #4CAF50;
}

.chat-card .method-action:hover {
    background: #388E3C;
}

/* Contact Form Section */
.form-intro {
    padding-right: 30px;
}

.form-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.form-description {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-item span {
    color: #2c3e50;
    font-weight: 500;
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(140, 182, 49, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.privacy-note i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 2px;
}

.privacy-note p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Contact Form Container */
.contact-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid #e3f2d9;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e3f2d9;
}

.form-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-header p {
    color: #6c757d;
    margin: 0;
}

#mainContactForm .form-group {
    margin-bottom: 25px;
}

#mainContactForm .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mainContactForm .form-label i {
    color: var(--primary);
}

#mainContactForm .form-control,
#mainContactForm .form-select {
    border: 2px solid #e3f2d9;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#mainContactForm .form-control:focus,
#mainContactForm .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(140, 182, 49, 0.25);
}

#mainContactForm textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-check {
    margin: 25px 0;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(140, 182, 49, 0.25);
}

.form-check-label {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.btn-submit-full {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-full:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(140, 182, 49, 0.4);
}

/* Locations Section */
.locations-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e3f2d9;
    overflow: hidden;
}

.locations-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 30px;
    text-align: center;
}

.locations-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.locations-header p {
    opacity: 0.9;
    margin: 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px;
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

.location-group h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2d9;
}

.state-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.state-list span {
    color: #6c757d;
    font-size: 0.95rem;
    padding: 8px 12px;
    background: #f8fdf8;
    border-radius: 8px;
    border: 1px solid #e3f2d9;
    transition: all 0.3s ease;
}

.state-list span:hover {
    background: rgba(140, 182, 49, 0.1);
    color: var(--primary);
    transform: translateX(5px);
}

.locations-footer {
    padding: 25px;
    background: #f8fdf8;
    border-top: 2px solid #e3f2d9;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.license-badge, .bbb-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2c3e50;
}

.license-badge i {
    color: var(--primary);
    font-size: 1.2rem;
}

.bbb-badge {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bbb-rating {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

/* FAQ Section */
.contact-faq {
    background: #f8fdf8;
}

.accordion-item {
    background: white;
    border: 2px solid #e3f2d9;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-button {
    background: white;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 25px;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: rgba(140, 182, 49, 0.1);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(140, 182, 49, 0.25);
    border-color: var(--primary);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%238cb631'%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");
}

.accordion-body {
    padding: 25px;
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

.accordion-body strong {
    color: var(--primary);
}

.accordion-body ul {
    padding-left: 20px;
    margin: 15px 0;
}

.accordion-body li {
    margin-bottom: 8px;
}

/* Final CTA */
.contact-final-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

/* Responsive Design */
@media (max-width: 1199px) {
    .title-line {
        font-size: 3rem;
    }
    
    .title-highlight {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .form-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 991px) {
    .contact-hero {
        min-height: auto;
        padding: 80px 0;
    }
    
    .floating-contact-card {
        transform: none;
        animation: none;
        margin-top: 40px;
    }
    
    .form-intro {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .title-highlight {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }
    
    .contact-stats {
        justify-content: center;
    }
    
    .stat-circle {
        flex: 0 0 calc(50% - 30px);
        margin-bottom: 20px;
    }
    
    .cta-buttons {
        grid-template-columns: 1fr;
    }
    
    .breadcrumb-trail {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .title-highlight {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        padding: 25px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .title-line {
        font-size: 1.8rem;
    }
    
    .title-highlight {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .contact-stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-circle {
        flex: 0 0 auto;
    }
    
    .locations-footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}
/* ===== CONTACT CARDS CENTER ON MOBILE ===== */
@media (max-width: 768px) {
  .contact-method-card {
    margin-left: auto;
    margin-right: auto;
    width: 95%; /* responsive width */
  }

  .contact-method-card .method-description {
    text-align: center;
  }

  .col-md-4 {
    display: flex;
    justify-content: center;
  }
}
