/* ================================================
   SeyHire - Contact Page Styles
   Complete Redesign
   ================================================ */

/* =============== CSS Variables =============== */
:root {
    --contact-primary: #1a3c8c;
    --contact-accent: #ff7a00;
    --contact-success: #10b981;
    --contact-whatsapp: #25D366;
}

/* =============== Contact Hero =============== */
.contact-hero {
    position: relative;
    background: linear-gradient(135deg, var(--contact-primary) 0%, #2952a3 50%, var(--contact-accent) 100%);
    padding: 140px 0 100px;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.contact-hero .hero-badge i {
    font-size: 1.25rem;
}

.contact-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero .hero-title .highlight {
    color: var(--contact-accent);
}

.contact-hero .hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

/* =============== Main Contact Section =============== */
.contact-main-section {
    padding: 80px 0;
    background: #f8fafc;
}

[data-theme="dark"] .contact-main-section {
    background: #0f172a;
}

.contact-wrapper {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .contact-wrapper {
    background: #1e293b;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

/* =============== Contact Info Panel =============== */
.contact-info-panel {
    background: linear-gradient(135deg, var(--contact-primary) 0%, #0f2557 100%);
    padding: 50px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info-panel::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.info-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.info-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.info-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* Info Items */
.info-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.5rem;
    color: #ffffff;
}

.info-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.info-details h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #ffffff;
}

.info-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.info-details p a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-details p a:hover {
    color: var(--contact-accent);
}

.info-note {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
}

/* Business Hours */
.business-hours {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.business-hours h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: #ffffff;
}

.business-hours h5 i {
    color: var(--contact-accent);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item .day {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hour-item .time {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.hour-item .time.closed {
    color: #ff6b6b;
}

/* Social Section */
.social-section {
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.social-section h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 16px 0;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    transform: translateY(-4px);
}

.social-icon.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-color: #25D366;
}

.social-icon.instagram:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743);
    border-color: #e6683c;
}

.social-icon.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

/* =============== Contact Form Panel =============== */
.contact-form-panel {
    padding: 50px;
    height: 100%;
}

[data-theme="dark"] .contact-form-panel {
    background: #1e293b;
}

.contact-form-panel .form-header {
    margin-bottom: 35px;
}

.contact-form-panel .form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

[data-theme="dark"] .contact-form-panel .form-header h2 {
    color: #f1f5f9;
}

.contact-form-panel .form-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

[data-theme="dark"] .contact-form-panel .form-header p {
    color: #94a3b8;
}

/* Form Styles */
.contact-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    flex: 1;
}

.contact-form .form-group.half {
    flex: 1;
}

.contact-form .form-group.full {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

[data-theme="dark"] .contact-form label {
    color: #e2e8f0;
}

.contact-form label .required {
    color: #ef4444;
}

.contact-form .input-wrapper {
    position: relative;
}

.contact-form .input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.3s ease;
}

.contact-form .input-wrapper.textarea-wrapper i {
    top: 20px;
    transform: none;
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 16px 14px 48px;
    height: auto;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.3s ease;
}

[data-theme="dark"] .contact-form .form-control {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--contact-primary);
    box-shadow: 0 0 0 4px rgba(26, 60, 140, 0.1);
}

[data-theme="dark"] .contact-form .form-control:focus {
    box-shadow: 0 0 0 4px rgba(26, 60, 140, 0.2);
}

.contact-form .form-control:focus + i,
.contact-form .input-wrapper:focus-within i {
    color: var(--contact-primary);
}

.contact-form .form-control::placeholder {
    color: #94a3b8;
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.contact-form select.form-control {
    appearance: none;
    cursor: pointer;
    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='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Textarea Footer */
.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.char-counter {
    font-size: 0.8rem;
    color: #94a3b8;
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.error {
    color: #ef4444;
}

/* Validation Error */
.validation-error {
    display: block;
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 6px;
}

/* Privacy Checkbox */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .privacy-checkbox {
    background: #0f172a;
    border-color: #334155;
}

.privacy-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--contact-primary);
}

.privacy-checkbox label {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

[data-theme="dark"] .privacy-checkbox label {
    color: #94a3b8;
}

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

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

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--contact-primary), #2952a3);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 60, 140, 0.3);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit .btn-content,
.btn-submit .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit .btn-loading {
    display: none;
}

.btn-submit.loading .btn-content {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Response Time */
.response-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.response-time i {
    font-size: 1.25rem;
    color: var(--contact-success);
}

.response-time span {
    font-size: 0.9rem;
    color: #64748b;
}

[data-theme="dark"] .response-time span {
    color: #94a3b8;
}

.response-time strong {
    color: var(--contact-success);
}

/* =============== Map Section =============== */
.map-section {
    padding: 80px 0;
    background: #ffffff;
}

[data-theme="dark"] .map-section {
    background: #1e293b;
}

.map-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .map-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.map-info-card {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-width: 280px;
}

[data-theme="dark"] .map-info-card {
    background: #1e293b;
}

.map-card-content h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
}

[data-theme="dark"] .map-card-content h4 {
    color: #f1f5f9;
}

.map-card-content h4 i {
    color: var(--contact-accent);
}

.map-card-content p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

[data-theme="dark"] .map-card-content p {
    color: #94a3b8;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--contact-primary);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-directions:hover {
    background: #0f2557;
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.map-frame {
    width: 100%;
    height: 400px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
}

[data-theme="dark"] .map-frame iframe {
    filter: grayscale(30%) invert(90%) hue-rotate(180deg);
}

/* =============== Quick Contact Section =============== */
.quick-contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

[data-theme="dark"] .quick-contact-section {
    background: #0f172a;
}

.quick-header {
    margin-bottom: 50px;
}

.quick-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

[data-theme="dark"] .quick-header h2 {
    color: #f1f5f9;
}

.quick-header p {
    font-size: 1.1rem;
    color: #64748b;
}

[data-theme="dark"] .quick-header p {
    color: #94a3b8;
}

.quick-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.quick-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quick-option-card {
    background: #1e293b;
    border-color: #334155;
}

.quick-option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: transparent;
    text-decoration: none;
}

[data-theme="dark"] .quick-option-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.quick-option-card .option-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-option-card .option-icon i {
    font-size: 2.25rem;
    color: #ffffff;
}

.quick-option-card .option-icon.phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.quick-option-card .option-icon.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.quick-option-card .option-icon.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.quick-option-card .option-icon.faq {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.quick-option-card:hover .option-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quick-option-card .option-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

[data-theme="dark"] .quick-option-card .option-content h4 {
    color: #f1f5f9;
}

.quick-option-card .option-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 16px 0;
}

[data-theme="dark"] .quick-option-card .option-content p {
    color: #94a3b8;
}

.quick-option-card .option-value {
    display: inline-block;
    padding: 8px 20px;
    background: #f1f5f9;
    color: var(--contact-primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

[data-theme="dark"] .quick-option-card .option-value {
    background: #334155;
    color: #60a5fa;
}

.quick-option-card:hover .option-value {
    background: var(--contact-primary);
    color: #ffffff;
}

/* =============== Responsive Design =============== */
@media (max-width: 1200px) {
    .quick-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-hero {
        padding: 120px 0 80px;
    }

    .contact-hero .hero-title {
        font-size: 2.75rem;
    }

    .contact-wrapper .row {
        flex-direction: column;
    }

    .contact-info-panel {
        padding: 40px 30px;
    }

    .contact-form-panel {
        padding: 40px 30px;
    }

    .map-info-card {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        box-shadow: none;
    }

    .map-frame {
        border-radius: 0 0 16px 16px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 0 60px;
    }

    .contact-hero .hero-title {
        font-size: 2.25rem;
    }

    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }

    .contact-main-section {
        padding: 40px 0;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-form .form-group.half {
        width: 100%;
        margin-bottom: 20px;
    }

    .quick-options {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .quick-option-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero .hero-badge {
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .contact-hero .hero-title {
        font-size: 1.875rem;
    }

    .contact-info-panel,
    .contact-form-panel {
        padding: 30px 20px;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .info-icon {
        margin: 0 auto;
    }

    .btn-submit {
        padding: 16px 24px;
        font-size: 1rem;
    }
}

/* =============== Print Styles =============== */
@media print {
    .contact-hero,
    .map-section,
    .quick-contact-section {
        display: none !important;
    }

    .contact-main-section {
        padding: 20px 0;
    }

    .contact-wrapper {
        box-shadow: none;
    }
}