/* Contact section styles */

.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.con {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#cont {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

#conp {
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.message {
    text-align: center;
    font-weight: bold;
}

.contactContent {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contactForm, .contactInfo {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contactForm h2, .contactInfo h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.formGroup {
    margin-bottom: 20px;
}

.formGroup label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.submitBtn {
    background: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.submitBtn:hover {
    background: #0056b3;
}

.infoItem {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.infoItem:last-child {
    border-bottom: none;
}

.infoItem h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.infoItem p {
    color: #666;
    line-height: 1.6;
}

/* Dark theme adjustments */
body[style*="rgb(40, 40, 40)"] .contact {
    background: rgb(50, 50, 50);
}

body[style*="rgb(40, 40, 40)"] .contactForm,
body[style*="rgb(40, 40, 40)"] .contactInfo {
    background: rgb(60, 60, 60);
    color: white;
}

body[style*="rgb(40, 40, 40)"] .contactForm h2,
body[style*="rgb(40, 40, 40)"] .contactInfo h2,
body[style*="rgb(40, 40, 40)"] .infoItem h3 {
    color: white;
}

body[style*="rgb(40, 40, 40)"] .formGroup label {
    color: #ccc;
}

body[style*="rgb(40, 40, 40)"] .infoItem p {
    color: #bbb;
}

/* Mobile styles */
@media (max-width: 768px) {
    .contact {
        padding: 40px 0;
    }
    
    #cont {
        font-size: 2rem;
    }
    
    #conp {
        font-size: 1rem;
    }
    
    .contactContent {
        justify-content: center;
    }
    
    .contactInfo {
        padding: 30px 20px;
    }
}