/* Contact Page Styles */
/* Limit font to contact content so header stays consistent */
/* Left column content text colors */
.contact-info-content p,
.contact-info-content ul li {
    color: #555;
}

.contact-info-content a {
    color: #2F7D32;
    text-decoration: underline;
}

.contact-info-content a:hover {
    color: #1b5e20;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
}

/* Prevent horizontal overflow */
html, body { overflow-x: hidden; font-family: 'Inter', sans-serif;}

/* Main Container */
.contact-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 16px 40px;
    box-sizing: border-box;
}

/* Left Section - Contact Information */
.contact-info-section {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    background: #fff;
    padding: 4rem 3rem;
    display: flex;
    align-items: flex-start;
}

.contact-info-content {
    max-width: 500px;
    width: 100%;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2F7D32;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 400;
    color: #111310;
}

/* Contact Sections */
.contact-section {
    margin-bottom: 2.5rem;
}

.section-heading {
    font-size: 24px;
    font-weight: 700;
    color: #2F7D32;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
}

.contact-container .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.contact-container .contact-item i {
    color: #2F7D32;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-container .contact-item span {
    color: #111310;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

.map-container {
    margin-top: 20px;
    border-radius: 8px;
}

/* Right Section - Contact Form */
.contact-form-section {
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.form-container {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 520px;
}

/* Form Styles */
.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #111310;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group select{
    color: #111310;
}


.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2F7D32;
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.1);
}

/* Name Fields */
.name-fields {
    display: flex;
    gap: 1rem;
}

.name-fields input {
    flex: 1;
}

/* Terms & Conditions */
.terms-container {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    background: #f9f9f9;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-wrapper input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-wrapper label {
    margin: 0;
    font-size: 0.9rem;
    color: #111310;
    line-height: 1.4;
}

.terms-content {
    margin-top: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #5f5e5a;
    text-align: center;
}

.terms-content p {
    font-size: 0.85rem;
    color: #5f5e5a;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.terms-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.terms-content li {
    font-size: 0.85rem;
    color: #5f5e5a;
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.1rem;
}

/* Submit Button */
.submit-btn {
    background: #1e5c2e;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.submit-btn:hover {
    background: #2f7d32;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 1rem; /* lift above chatbot */
    right: 7rem; /* shift left from chatbot */
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3100; /* above general content */
}

.chat-icon {
    width: 60px;
    height: 60px;
    background: #2F7D32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.chat-icon:hover {
    transform: scale(1.1);
}

.privacy-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    color: #2F7D32;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.privacy-icon:hover {
    background: #fff;
}

.privacy-icon i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
    }
    
    .contact-info-section,
    .contact-form-section {
        width: 100%;
    }
    
    .contact-info-section {
        padding: 3rem 2rem;
    }
    
    .contact-form-section {
        padding: 2rem 1rem;
    }
    
    .form-container {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-info-section {
        padding: 2rem 1.5rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .name-fields {
        flex-direction: column;
        gap: 0;
    }
    
    .floating-icons {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .privacy-icon {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .contact-info-section {
        padding: 1.5rem 1rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .section-heading {
        font-size: 1.1rem;
    }
}
