/* Contact page — info cards + form compose (mockup layout) */

.contact-page .info-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.contact-page .info-icon {
    width: 64px;
    height: 64px;
    font-size: 22px;
    background: linear-gradient(145deg, #1a4cb8, #0a276e);
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(10, 39, 110, 0.28);
}

.contact-page .info-icon i {
    color: #fff !important;
    font-size: 1.15rem;
    line-height: 1;
}

.contact-page .info-card:hover .info-icon {
    background: linear-gradient(145deg, #e10600, #9b0b24);
    color: #fff !important;
}

.contact-page .info-card:hover .info-icon i {
    color: #fff !important;
}

/* —— Form section (two-column compose) —— */
.contact-page .message-band {
    padding: 40px 0 48px;
    background: #f4f7fb;
}

.contact-page .contact-compose {
    display: grid;
    gap: 22px;
    align-items: stretch;
}

.contact-page .contact-campus-card {
    position: relative;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    background: #0c2e78;
    box-shadow: 0 12px 32px rgba(12, 46, 120, 0.12);
}

.contact-page .contact-campus-card img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 340px;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.contact-page .contact-campus-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 14px 18px 16px;
    background: rgba(8, 36, 95, 0.82);
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(15px, 1.5vw, 17px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
}

.contact-page .contact-quick-bar {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    background: #e8f0fa;
    border: 1px solid #d5e2f0;
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 18px 14px;
    box-shadow: 0 12px 28px rgba(12, 46, 120, 0.08);
}

.contact-page .contact-quick-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 10px;
}

.contact-page .contact-quick-item + .contact-quick-item {
    border-top: 1px solid rgba(12, 46, 120, 0.12);
}

.contact-page .contact-quick-item__icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #0c2e78;
    font-size: 17px;
}

.contact-page .contact-quick-item strong {
    display: block;
    color: #0c2e78;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 4px;
}

.contact-page .contact-quick-item p {
    margin: 0;
    color: #3e4c60;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 500;
}

.contact-page .contact-quick-item a {
    color: inherit;
    text-decoration: none;
}

.contact-page .contact-quick-item a:hover {
    color: #0c2e78;
    text-decoration: underline;
}

/* Form shell */
.contact-page .contact-form-shell {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #d5e2f0;
    box-shadow: 0 14px 36px rgba(12, 46, 120, 0.1);
    background: #fff;
}

.contact-page .contact-form-shell__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 22px;
    background: #0c2e78;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 700;
}

.contact-page .contact-form-shell__head i {
    font-size: 18px;
    opacity: 0.95;
}

.contact-page .contact-form-shell__body {
    flex: 1;
    padding: 22px 22px 24px;
    background: #fff;
}

.contact-page .contact-form .contact-field {
    margin-bottom: 14px;
}

.contact-page .contact-field__label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #4a5870;
    margin-bottom: 6px;
}

.contact-page .contact-field__label .req {
    color: #e10600;
    font-weight: 800;
}

.contact-page .contact-field__control {
    display: flex;
    align-items: stretch;
    border: 1px solid #d9e2ef;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-page .contact-field__control:focus-within {
    border-color: #8fa6d6;
    box-shadow: 0 0 0 4px rgba(12, 46, 120, 0.08);
}

.contact-page .contact-field__icon {
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    color: #0c2e78;
    font-size: 15px;
    background: #fafcfe;
    border-right: 1px solid #e8eef6;
}

.contact-page .contact-field__control--textarea {
    align-items: flex-start;
}

.contact-page .contact-field__control--textarea .contact-field__icon {
    padding-top: 14px;
}

.contact-page .contact-field__control input,
.contact-page .contact-field__control select,
.contact-page .contact-field__control textarea {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 12px 14px;
    font-size: 14px;
    color: #142033;
    background: transparent;
    outline: none;
}

.contact-page .contact-field__control select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230C2E78' d='M1 1.5L6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.contact-page .contact-field__control textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 12px;
}

.contact-page .contact-field__control input::placeholder,
.contact-page .contact-field__control textarea::placeholder {
    color: #9aa8bc;
}

.contact-page .btn-contact-send {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
    padding: 14px 20px;
    border: 0;
    border-radius: 12px;
    background: #0c2e78;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 24px rgba(12, 46, 120, 0.22);
}

.contact-page .btn-contact-send:hover {
    background: #08245f;
    transform: translateY(-2px);
}

.contact-page .btn-contact-send:active {
    transform: translateY(0);
}

.contact-page .contact-form-shell__body .flash {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 14px;
    font-weight: 650;
    font-size: 13.5px;
}

.contact-page .contact-form-shell__body .flash-ok {
    background: #e8f8ef;
    color: #0f6b3a;
    border: 1px solid #b7e4c7;
}

.contact-page .contact-form-shell__body .flash-err {
    background: #fdecec;
    color: #9b1c1c;
    border: 1px solid #f5c2c2;
}

.contact-page .contact-form .field-error {
    color: #c10500;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 600;
}

@media (min-width: 640px) {
    .contact-page .contact-quick-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-page .contact-quick-item:nth-child(2) {
        border-top: none;
    }

    .contact-page .contact-quick-item:nth-child(odd) {
        border-right: 1px solid rgba(12, 46, 120, 0.12);
    }

    .contact-page .contact-quick-item:nth-child(n + 3) {
        border-top: 1px solid rgba(12, 46, 120, 0.12);
    }
}

@media (min-width: 960px) {
    .contact-page .contact-compose {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 28px;
    }

    .contact-page .contact-quick-bar {
        grid-template-columns: repeat(4, 1fr);
        padding: 20px 8px;
    }

    .contact-page .contact-quick-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 8px 10px;
    }

    .contact-page .contact-quick-item + .contact-quick-item {
        border-top: none;
    }

    .contact-page .contact-quick-item:not(:last-child) {
        border-right: 1px solid rgba(12, 46, 120, 0.14);
    }

    .contact-page .contact-quick-item__icon {
        margin-bottom: 4px;
    }

    .contact-page .contact-campus-card img {
        min-height: 280px;
    }
}

@media (max-width: 959px) {
    .contact-page .contact-compose__form {
        order: 2;
    }

    .contact-page .contact-compose__info {
        order: 1;
    }
}