/* ===== Contact Page ===== */
/* Brand: #2d6078 (primary), #3a7a92 (secondary), #5fb8b0 (accent), #1a3d4e (dark) */

/* ===== Contact Content ===== */
.contact-content {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9f9 100%);
    padding: 80px 20px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

/* ===== Form Side ===== */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 44px 40px;
    border: 1px solid rgba(45, 96, 120, 0.06);
    box-shadow: 0 4px 24px rgba(45, 96, 120, 0.06);
}

.contact-form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a3d4e;
    margin-bottom: 6px;
}

.contact-form-subtitle {
    font-size: 14px;
    color: #6b8a8e;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #2d6078;
    letter-spacing: 0.01em;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 13px 16px;
    border: 1.5px solid #dde4e7;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1a3d4e;
    background: #f8fafb;
    transition: all 0.2s ease;
    outline: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #a0b3ba;
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b8a8e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #2d6078;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 96, 120, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    background: linear-gradient(135deg, #2d6078, #3a7a92);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #245266, #2d6078);
    box-shadow: 0 8px 24px rgba(45, 96, 120, 0.25);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.contact-submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Success state */
.contact-form-wrapper.form-sent {
    text-align: center;
    padding: 60px 40px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(95, 184, 176, 0.12);
    color: #5fb8b0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
}

.form-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a3d4e;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 15px;
    color: #6b8a8e;
    line-height: 1.6;
}

/* Error banner */
.form-error-banner {
    background: rgba(231, 76, 60, 0.08);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: #c0392b;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: fadeInUp 0.3s ease;
}

/* ===== Info Sidebar ===== */
.contact-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 24px;
    border: 1px solid rgba(45, 96, 120, 0.06);
    box-shadow: 0 2px 12px rgba(45, 96, 120, 0.04);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(45, 96, 120, 0.08);
}

.info-card-highlight {
    background: linear-gradient(135deg, #2d6078 0%, #3a7a92 100%);
    border: none;
}

.info-card-highlight .info-card-icon {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
}

.info-card-highlight .info-card-title {
    color: #ffffff;
}

.info-card-highlight .info-card-detail {
    color: rgba(255, 255, 255, 0.7);
}

.info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(45, 96, 120, 0.08);
    color: #2d6078;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a3d4e;
    margin-bottom: 6px;
}

.info-card-link {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #2d6078;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.info-card-link:hover {
    color: #5fb8b0;
}

.info-card-detail {
    font-size: 13px;
    color: #8a9fa5;
    line-height: 1.5;
}

.info-card-cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.info-card-cta:hover {
    opacity: 0.85;
}

/* Social buttons in sidebar */
.info-social-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.info-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #f5f8f7;
    border-radius: 10px;
    color: #2d6078;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.info-social-btn:hover {
    background: rgba(45, 96, 120, 0.1);
    transform: translateX(4px);
}

/* ===== Location Section ===== */
.contact-location {
    background: linear-gradient(180deg, #f2f4f3 0%, #eaedec 100%);
    padding: 80px 20px;
}

.location-container {
    max-width: 1100px;
    margin: 0 auto;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.mentors-section-title {
    font-size: 34px;
    font-weight: 400;
    color: #1a3d4e;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.mentors-section-title strong {
    font-weight: 700;
}

.location-description {
    font-size: 15px;
    color: #6b8a8e;
    line-height: 1.7;
    margin-bottom: 32px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.location-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.location-detail-item svg {
    color: #2d6078;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a3d4e;
    margin-bottom: 3px;
}

.location-detail-item p {
    font-size: 14px;
    color: #6b8a8e;
    line-height: 1.5;
    margin: 0;
}

.location-map-placeholder {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(45, 96, 120, 0.06);
    box-shadow: 0 2px 16px rgba(45, 96, 120, 0.05);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder-inner {
    text-align: center;
    color: #8a9fa5;
}

.map-placeholder-inner svg {
    color: #2d6078;
    opacity: 0.4;
    margin-bottom: 12px;
}

.map-placeholder-inner p {
    font-size: 16px;
    font-weight: 600;
    color: #2d6078;
    margin-bottom: 4px;
}

.map-placeholder-inner span {
    font-size: 13px;
    color: #8a9fa5;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .contact-form-wrapper {
        padding: 30px 22px;
        border-radius: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mentors-section-title {
        font-size: 26px;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-card,
.contact-form-wrapper,
.location-map-placeholder {
    opacity: 0;
    transform: translateY(24px);
}

.info-card.animate-in,
.contact-form-wrapper.animate-in,
.location-map-placeholder.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}
