/* ========================================
   CONTACTS PAGE STYLES - BSL PRO
   Matching design system from other pages
   ======================================== */

/* ==============================================
   CONTAINER & LAYOUT
   ============================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ==============================================
   STATS SECTION
   ============================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #34465a 0%, #34465aba 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1;
}



.stat-text {
    color: #556b7d;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

/* ==============================================
   CONTACT INFO SECTION
   ============================================== */
.contact-info-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a486f;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 4rem !important;
    height: 4rem !important;
    background: linear-gradient(135deg, #34465a 0%, #4a6477 100%);
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1rem !important;
    color: #ffffff !important;
}

.contact-card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 0.75rem !important;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
}

.contact-text {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==============================================
   COVERAGE SECTION
   ============================================== */
.coverage-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

/* ==============================================
   CONTACT FORM SECTION - IMPROVED
   ============================================== */
.contact-form-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.form-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.form-info-content {
    padding-right: 2rem;
}

.form-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.form-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.feature-text {
    color: var(--text-color);
    font-weight: 500;
}

/* ==============================================
   IMPROVED FORM STYLES
   ============================================== */
.form-wrapper {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f3f4;
    position: relative;
    overflow: hidden;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 1.5rem 1.5rem 0 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-text {
    color: var(--text-light);
    margin-bottom: 0;
}

.form-success {
    display: flex;
    align-items: center;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.success-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Grid Layout for Form */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field {
    position: relative;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: var(--text-color);
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(241, 196, 15, 0.1);
    transform: translateY(-1px);
}

.form-label {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    font-size: 1rem;
    font-weight: 500;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-select:focus + .form-label,
.form-select:not([value=""]) + .form-label,
.form-textarea:focus + .form-label,
.form-textarea:not(:placeholder-shown) + .form-label {
    top: -0.75rem;
    left: 1rem;
    font-size: 0.875rem;
    color: var(--secondary-color);
    background: white;
    padding: 0 0.5rem;
    font-weight: 600;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23304658' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
    appearance: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(241, 196, 15, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-terms {
    color: var(--text-lighter);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

/* ==============================================
   HERO SPECIFIC STYLING
   ============================================== */
.contacts-hero {
    background: linear-gradient(135deg, #304658 0%, #2c5f2d 50%, #1e3a4d 100%);
}

.contacts-hero .floating-shape {
    background: rgba(76, 175, 80, 0.12);
}

/* ==============================================
   CTA SECTION
   ============================================== */
.cta-content {
    text-align: center !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    color: white !important;
}

.cta-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.cta-description {
    font-size: 1.1875rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 2.5rem !important;
    line-height: 1.6 !important;
}

.cta-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 1.125rem 2.5rem !important;
    border-radius: 0.75rem !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1.0625rem !important;
    text-align: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.cta-button.primary {
    background: #ffff !important;
    color: #34465a !important;
    box-shadow: 0 10px 25px rgb(217 217 217 / 40%) !important;
    border: none !important;
}

.cta-button.primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgb(217 217 217 / 40%) !important;
    background: #ffff;
}

.cta-button.secondary {
    background: transparent !important;
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px) !important;
}

.btn-arrow {
    font-size: 1.5rem !important;
    transition: transform 0.3s ease !important;
}

.cta-button:hover .btn-arrow {
    transform: translateX(5px) !important;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .form-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-info-content {
        padding-right: 0;
        text-align: center;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-text {
        font-size: 0.75rem !important;
    }

    #stats_section {
        padding: 45px 0 !important;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon svg {
        width: 30px;
        height: 30px;
    }

    .section-title,
    h2 {
        font-size: 1.5rem !important;
    }

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

    .contact-card {
        padding: 1.5rem;
    }

    .contact-icon {
        width: 3rem !important;
        height: 3rem !important;
        margin: 0 auto 0.75rem !important;
    }

    .contact-icon svg {
        width: 1.5rem !important;
        height: 1.5rem !important;
    }

    .contact-card-title {
        font-size: 1.1rem !important;
        margin-bottom: 0rem !important;
    }

    .form-wrapper {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 1.5rem !important;
    }

    .stat-text {
        font-size: 0.75rem !important;
    }

    #stats_section {
        padding: 45px 0 !important;
    }

    .stat-icon {
        width: 52px;
        height: 52px;
    }

    .stat-icon svg {
        width: 26px;
        height: 26px;
    }

    .section-title,
    h2 {
        font-size: 28px !important;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .form-wrapper {
        padding: 1rem;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.875rem 1rem;
    }

    .submit-btn {
        padding: 1rem 1.5rem;
    }

    .cta-section {
        padding-top: 75px !important;
        padding-bottom: 80px !important;
    }

    .cta-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .cta-description {
        font-size: 0.9375rem !important;
        margin-bottom: 1.5rem !important;
    }

    .cta-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
}
