/* Contact Page - Matching Landing Page Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: linear-gradient(180deg, #f0fdf9 0%, #fff 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Main container */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 50px 20px;
}

/* Wrapper for contact info and form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1100px;
    width: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Information Section */
.contact-info {
    padding: 50px 45px;
    background: linear-gradient(135deg, #0F7D74 0%, #0d9488 100%);
    color: #fff;
}

.contact-info h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.intro-text {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* Info Items */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    padding: 14px 0;
}

.info-icon {
    font-size: 26px;
    margin-right: 18px;
    min-width: 36px;
}

.info-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 0;
}

.info-content p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Contact Form Section */
.contact-form-section {
    padding: 50px 45px;
}

.contact-form-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0f172a;
}

/* Form Styling */
#contactForm {
    width: 100%;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.required {
    color: #dc2626;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-sizing: border-box;
    background: #f8fafc;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F7D74;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 125, 116, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc2626;
}

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

/* Error Messages */
.error-message {
    display: none;
    color: #dc2626;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
}

/* Character Counter */
.char-counter {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    text-align: right;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    color: white;
    background: #0F7D74;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #0d9488;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 125, 116, 0.35);
}

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

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

/* Toast Message Styles */
.toast-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
}

.toast-message.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.toast-content {
    background: #0f172a;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 20px 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 320px;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}

.toast-success .toast-content {
    border-left: 4px solid #22c55e;
}

.toast-error .toast-content {
    border-left: 4px solid #ef4444;
}

.toast-close {
    background: none;
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    margin-left: 18px;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 40px 35px;
    }
    
    .contact-form-section {
        padding: 40px 35px;
    }
    
    .contact-info h1 {
        font-size: 28px;
    }
    
    .contact-form-section h2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 30px 16px;
    }
    
    .contact-info {
        padding: 35px 28px;
    }
    
    .contact-form-section {
        padding: 35px 28px;
    }
    
    .contact-info h1 {
        font-size: 24px;
    }
    
    .contact-form-section h2 {
        font-size: 22px;
    }
    
    .info-item {
        padding: 12px 0;
    }
    
    .info-icon {
        font-size: 22px;
        margin-right: 14px;
    }
    
    .toast-content {
        min-width: 280px;
        padding: 18px 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        border-radius: 14px;
    }
    
    .contact-info h1 {
        font-size: 22px;
    }
    
    .intro-text {
        font-size: 14px;
    }
    
    .contact-form-section h2 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}
