/* Contact card styles */
.contact-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-header {
    padding: 20px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
}

.contact-header h4 {
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.contact-body {
    padding: 30px;
}

.contact-map {
    height: 250px;
    overflow: hidden;
    margin-bottom: 30px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-info-icon {
    margin-right: 15px;
    width: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-info-text {
    flex-grow: 1;
}

.contact-social {
    margin-top: 20px;
}

.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--accent-color);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.contact-divider {
    width: 50%;
    margin: 60px auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Main office section */
.main-office-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.main-office-map {
    height: 350px;
}

.main-office-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.main-office-content {
    padding: 30px;
}

.main-office-title {
    margin-bottom: 20px;
}

/* Contact form */
.contact-form {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
}

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

.form-control {
    padding: 12px 20px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
    border-color: var(--accent-color);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Messages styling */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: none;
}

.alert-success {
    background-color: rgba(136, 176, 75, 0.15);
    color: #5a8622;
    border-left: 4px solid #88B04B;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.15);
    color: #b02a37;
    border-left: 4px solid #dc3545;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.15);
    color: #997404;
    border-left: 4px solid #ffc107;
}

/* Success page styling */
.success-container {
    text-align: center;
    padding: 60px 0;
}

.success-icon {
    font-size: 5rem;
    color: var(--highlight-color);
    margin-bottom: 30px;
}

.success-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.success-message {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.back-buttons {
    margin-top: 30px;
}

.back-buttons .btn {
    margin: 0 10px;
}