/* ========== CONTACT PAGE - CLEAN BLACK & WHITE THEME ========== */

.contact-page-section {
    background: #fff5f5;
    padding: 100px 24px 120px;
    min-height: 100vh;
}

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

/* Header Section */
.contact-header-container {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-header-container h1 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

[data-theme="dark"] .contact-header-container h1 {
    color: #fff;
}

.contact-header-container p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

[data-theme="dark"] .contact-header-container p {
    color: #888;
}

/* Two Column Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 40% 55%;
    gap: 5%;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

/* LEFT COLUMN - Get in Touch + Globe */
.contact-left-column {
    position: sticky;
    top: 100px;
}

[data-theme="dark"] .contact-left-column {
    position: relative;
    top: 0;
}

/* Get in Touch Card */
.get-in-touch-card {
    background: #fff;
    border-radius: 28px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

[data-theme="dark"] .get-in-touch-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.get-in-touch-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 8px;
}

.get-in-touch-card > p {
    color: #666;
    font-size: 14px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

/* Contact Details List */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: #f8f8f8;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000;
    font-size: 18px;
}

[data-theme="dark"] .contact-icon {
    background: #f0f0f0;
    color: #000;
}

.contact-detail {
    flex: 1;
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

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

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    line-height: 1.4;
}

[data-theme="dark"] .contact-value {
    color: #000;
}

.contact-value a {
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: #666;
}

/* Social Links */
.social-links-section {
    margin: 24px 0 0;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.social-links-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 16px;
}

[data-theme="dark"] .social-links-section h4 {
    color: #000;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 18px;
    transition: all 0.25s ease;
    text-decoration: none;
}

[data-theme="dark"] .social-link {
    background: #f0f0f0;
    color: #000;
}

.social-link:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

/* Globe Wrapper */
.globe-wrapper {
    background: #fff;
    border-radius: 28px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

[data-theme="dark"] .globe-wrapper {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.globe-wrapper #global-chartdiv {
    width: 100%;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    background: #faf5f0;
}

.globe-note {
    text-align: center;
    padding: 12px 12px 6px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.5px;
}

/* RIGHT COLUMN - Form Card */
.form-card {
    background: #fff;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

[data-theme="dark"] .form-card {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 28px;
}

[data-theme="dark"] .form-card h2 {
    color: #000;
}

/* Form Styles */
.styled-contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

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

.required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: #fafafa;
    border: 1.5px solid #eee;
    border-radius: 16px;
    font-family: inherit;
    font-size: 14px;
    color: #000;
    transition: all 0.2s;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: #fff;
    border-color: #ddd;
    color: #000;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

.form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.submit-button {
    margin-top: 10px;
    padding: 16px 28px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
}

.submit-button:hover {
    background: #333;
    transform: translateY(-1px);
}

.form-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.response-time {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.quick-contact {
    font-size: 12px;
    color: #666;
}

.quick-contact a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
}

.quick-contact a:hover {
    text-decoration: underline;
}

/* Business Hours inside Get in Touch */
.hours-mini {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.hours-mini h4 {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    color: #555;
}

.hours-day {
    font-weight: 500;
    color: #000;
}

.emergency-note {
    margin-top: 12px;
    font-size: 11px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Messages */
.django-messages {
    margin-bottom: 24px;
}

.alert {
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    transition: opacity 0.5s ease;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error, .alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 800px;
    }

    .contact-left-column {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .contact-page-section {
        padding: 80px 20px;
    }

    .contact-header-container h1 {
        font-size: 32px;
    }

    .contact-header-container p {
        font-size: 16px;
    }

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

    .get-in-touch-card {
        padding: 25px;
    }

    .globe-wrapper #global-chartdiv {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-header-container h1 {
        font-size: 26px;
    }

    .contact-header-container {
        margin-bottom: 40px;
    }

    .submit-button {
        width: 100%;
    }

    .contact-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .contact-value {
        font-size: 14px;
    }
}
/* ===== FIX FOR WHITE LINE ON CONTACT PAGE ===== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.contact-page-section {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Fix for grid containers */
.contact-grid {
    overflow-x: hidden !important;
    width: 100% !important;
}

/* Fix for globe container */
.globe-wrapper {
    overflow: hidden !important;
    max-width: 100% !important;
}

.globe-wrapper #global-chartdiv {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Fix for form cards */
.form-card, .get-in-touch-card {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Fix for contact items */
.contact-item {
    flex-wrap: wrap !important;
}

.contact-value {
    word-break: break-word !important;
}

/* Fix for email link breaking */
.contact-value a {
    word-break: break-all !important;
}

/* Ensure no element exceeds viewport */
* {
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive fixes for mobile */
@media (max-width: 768px) {
    .contact-grid {
        gap: 30px !important;
    }
    
    .get-in-touch-card, .form-card {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .contact-item {
        gap: 12px !important;
    }
    
    .contact-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .contact-page-section {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    .contact-header-container h1 {
        font-size: 28px !important;
    }
    
    .form-card, .get-in-touch-card {
        padding: 20px !important;
    }
}
/* 
    VINTI AI CHATBOT - UPDATED ICON & CLEAN DESIGN
*/

/* ===== CHATBOT STYLES (LIGHT MODE) ===== */
.vinti-chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}

/* TOGGLE BUTTON - IMAGE BASED */
.vinti-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    pointer-events: auto;
}

.vinti-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: #000;
}

.vinti-toggle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* WINDOW */
.vinti-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 360px;
    height: 520px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.vinti-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* HEADER */
.vinti-header {
    background: #000;
    color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vinti-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vinti-avatar-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
}

.vinti-avatar-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinti-header-text {
    display: flex;
    flex-direction: column;
}

.vinti-name {
    font-size: 14px;
    font-weight: 600;
}

.vinti-status {
    font-size: 10px;
    opacity: 0.7;
}

.vinti-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.2s;
}

.vinti-close:hover {
    transform: rotate(90deg);
}

/* MESSAGES */
.vinti-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fafafa;
}

.vinti-message {
    display: flex;
    max-width: 85%;
}

.vinti-message.bot {
    align-self: flex-start;
}

.vinti-message.user {
    align-self: flex-end;
}

.vinti-message-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    font-size: 13.5px;
    line-height: 1.5;
}

.vinti-message.bot .vinti-message-bubble {
    background: #fff;
    color: #333;
    border: 1px solid #eee;
    border-bottom-left-radius: 4px;
}

.vinti-message.user .vinti-message-bubble {
    background: #000;
    color: #fff;
    border-bottom-right-radius: 4px;
}

/* INPUT */
.vinti-input-area {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.vinti-input-area input {
    flex: 1;
    border: 1px solid #eee;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}

.vinti-input-area input:focus {
    border-color: #000;
    background: #fdfdfd;
}

.vinti-input-area button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.vinti-input-area button:hover {
    background: #333;
    transform: scale(1.05);
}

/* THINKING ANIMATION */
.thinking {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.thinking::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #999;
    border-radius: 50%;
    animation: thinkingPulse 1s infinite;
}

@keyframes thinkingPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
}

/* SUGGESTED QUESTIONS */
.vinti-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
    margin-bottom: 10px;
}

.suggestion-btn {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 12px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    max-width: 100%;
    text-align: left;
}

.suggestion-btn:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.suggestion-btn:active {
    transform: scale(0.98);
}

/* MOBILE */
@media (max-width: 480px) {
    .vinti-window {
        width: calc(100vw - 40px);
        height: 80vh;
        right: -10px;
        bottom: 80px;
    }
}
