.contact-page {
    color: #21374c;
}

.contact-hero {
    border: 1px solid #d7e5f3;
    border-radius: 14px;
    background: radial-gradient(circle at top right, #f1f8ff 0%, #ffffff 60%);
    box-shadow: 0 12px 24px rgba(8, 33, 57, 0.09);
    padding: 18px;
    margin-bottom: 16px;
    animation: contactFadeUp 0.48s ease both;
}

.contact-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2a689f;
    margin-bottom: 8px;
}

.contact-hero h1 {
    margin: 0;
    color: #113f66;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 800;
}

.contact-hero p {
    margin: 10px 0 0;
    color: #4b6279;
    font-size: 15px;
    line-height: 1.75;
}

.contact-container {
    margin-left: -8px;
    margin-right: -8px;
    animation: contactFadeUp 0.52s 0.08s ease both;
}

.contact-container > [class*='col-'] {
    padding-left: 8px;
    padding-right: 8px;
}

.contact-info-card {
    border: 1px solid #d8e6f3;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 8px 18px rgba(9, 36, 62, 0.1);
    padding: 14px;
    margin-bottom: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 24px rgba(9, 36, 62, 0.15);
}

.contact-info-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 800;
    color: #123b61;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info-card h3 i {
    font-size: 16px;
    color: #2f7abe;
}

.contact-info-card p {
    margin: 0;
    color: #3a546d;
    font-size: 14px;
    line-height: 1.65;
}

.contact-info-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.contact-info-list li {
    margin-bottom: 8px;
}

.contact-info-list a {
    color: #2f7abe;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-info-list a:hover {
    color: #1d4a7f;
    text-decoration: underline;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 2px solid #d8e6f3;
    border-left: 5px solid #2f7abe;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(9, 36, 62, 0.15), 0 4px 8px rgba(9, 36, 62, 0.08);
    padding: 20px;
    animation: contactFadeUp 0.54s 0.1s ease both;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2f7abe 0%, #4a9fd8 100%);
}

.contact-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8f0f8;
}

.contact-form-header i {
    font-size: 28px;
    color: #2f7abe;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: radial-gradient(circle at center, #e8f0f8 0%, #eef4fb 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-form-header h3 {
    margin: 0;
    color: #113f66;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #0f355e;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-form .form-control {
    border-radius: 8px;
    border: 2px solid #e0ecf7;
    background: #ffffff;
    color: #2a3f56;
    padding: 11px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(9, 36, 62, 0.04);
}

.contact-form .form-control:hover {
    border-color: #c7dbf1;
    box-shadow: 0 4px 8px rgba(9, 36, 62, 0.08);
}

.contact-form .form-control:focus {
    border-color: #2f7abe;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(47, 122, 190, 0.12);
    color: #2a3f56;
    outline: none;
}

.contact-form .form-control::placeholder {
    color: #8aa5c2;
}

.contact-message {
    resize: vertical;
    min-height: 80px;
}

.contact-form .btn-send {
    width: 100%;
    background: linear-gradient(125deg, #164c7f 0%, #2f7abe 100%);
    border: 0;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 8px 16px rgba(15, 55, 95, 0.2);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}

.contact-form .btn-send:hover,
.contact-form .btn-send:focus {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 55, 95, 0.3);
    color: #ffffff;
    outline: none;
}

.contact-form .btn-send:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(15, 55, 95, 0.2);
}

.contact-validation-summary {
    margin-top: 16px;
    margin-bottom: 16px;
    border: 2px solid #f0b3b3;
    border-left: 5px solid #d9534f;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffe8e8 0%, #fff2f2 100%);
    color: #a53d35;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    animation: contactFadeUp 0.56s 0.14s ease both;
    box-shadow: 0 4px 12px rgba(217, 83, 79, 0.12);
}

.contact-validation-summary li {
    margin-bottom: 6px;
}

.contact-map {
    margin-top: 16px;
    border: 1px solid #d7e4f3;
    border-radius: 12px;
    background: #ffffff;
    padding: 16px;
    animation: contactFadeUp 0.58s 0.18s ease both;
}

.contact-map h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 800;
    color: #123b61;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@keyframes contactFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-hero,
    .contact-container,
    .contact-form,
    .contact-validation-summary,
    .contact-map,
    .contact-info-card {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 14px;
    }

    .contact-hero h1 {
        font-size: 24px;
    }

    .contact-form {
        padding: 12px;
    }
}
