.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: calc(100vh - 75px - 200px);
}

.contact-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background-color: #f8f9fc;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.contact-left {
    flex: 1;
    padding: 50px;
    background-color: #203a6c;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-left h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-left p {
    color: #ccd3de;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.copy-email {
    cursor: pointer;
}

.copy-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
}

.social-card:hover {
    background-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.social-card i {
    font-size: 1.8rem;
    width: 35px;
    text-align: center;
}

.social-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

.social-card p {
    font-size: 0.8rem;
    color: #8494ae;
    margin: 0;
}

.contact-right {
    flex: 1.2;
    padding: 50px;
    background-color: #ffffff;
}

.contact-form h2 {
    font-size: 1.8rem;
    color: #203a6c;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #434656;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
    background-color: #f8fafc;
    outline: none;
    box-sizing: border-box;
}

.form-group textarea {
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #203a6c;
    background-color: #ffffff;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #203a6c;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #284785;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.success-message i {
    font-size: 3.5rem;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 1.8rem;
    color: #203a6c;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-message p {
    color: #434656;
    font-size: 1rem;
    line-height: 1.5;
}

body.dark-mode .contact-container {
    background-color: #121212;
    border-color: #384f75;
}

body.dark-mode .contact-right {
    background-color: #121212;
}

body.dark-mode .contact-form h2 {
    color: #ffffff;
}

body.dark-mode .form-group label {
    color: #ccd3de;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background-color: #1e1e1e;
    border-color: #384f75;
    color: #ffffff;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #8494ae;
}

body.dark-mode .success-message h2 {
    color: #ffffff;
}

body.dark-mode .success-message p {
    color: #ccd3de;
}

@media (max-width: 850px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-left, 
    .contact-right {
        padding: 30px 20px;
    }
}