.contact {
    padding: 100px 0 50px; /* Match other sections padding */
    min-height: 735px;
}

.contact .container {
    padding: 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px; /* Match other sections top margin */
    margin-bottom: 50px;
}

.contact-social {
    width: 300px;
}

.contact-card {
    background: #202f61;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.5s;
}

.contact-card:hover {
    background: transparent;
    border: 1px solid #324499;
}

.contact-card i {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

.contact-card h3 {
    color: white;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-card p {
    color: white;
    margin-bottom: 10px;
}

.contact-link {
    color: #2196F3;
    font-weight: 500;
}

.contact-form {
    width: 450px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #324499;
    border-radius: 8px;
    color: white;
}

.form-group textarea {
    resize: vertical;
}

.btn {
    width: 100%;
    height: 50px;
    background: #324499;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.social-footer {
    text-align: center;
    margin-top: 40px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    margin: 0 10px;
}

.copyright {
    color: #999;
    margin-bottom: 5px;
}

.copyright-small {
    color: #999;
    font-size: 14px;
}

@media (max-width: 768px) {
    .contact {
        min-height: 1300px;
    }
    
    .contact-content {
        flex-direction: column;
        align-items: center;
    }

    .contact-form,
    .contact-social {
        width: 100%;
        max-width: 450px;
    }
}