/* ========================================
   CONTACT CONTENT
   ======================================== */
.contact-content {
    padding: 4rem 0;
    background: white;
    min-height: 60vh;
}

/* ========================================
   CONTACT INFO
   ======================================== */
/* Note: .contact-info adalah wrapper utama untuk contact page, berbeda dengan .footer-contact di footer */
.contact-info {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 0.5rem;
    height: 100%;
}

.contact-info-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d5a9c;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e6ecf3;
}

/* Contact Info specific - tidak konflik dengan footer */
.contact-info .contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-info .contact-item:last-child {
    margin-bottom: 0;
}

.contact-info .contact-icon {
    width: 50px;
    height: 50px;
    background: #2d5a9c;
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.contact-info .contact-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2d5a9c;
    margin: 0 0 0.5rem 0;
}

.contact-info .contact-details p {
    font-size: 1rem;
    color: #374151;
    margin: 0;
    line-height: 1.6;
}

.contact-info .contact-details a {
    color: #2d5a9c;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info .contact-details a:hover {
    color: #1e3a5f;
    text-decoration: underline;
}

.contact-description {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e6ecf3;
}

.contact-description p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* ========================================
   SOCIAL MEDIA
   ======================================== */
/* Contact page social media - tidak konflik dengan .footer-social */
.contact-social {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #e6ecf3;
}

.contact-social h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d5a9c;
    margin: 0 0 1rem 0;
}

/* Wrapper untuk social links di contact page */
.contact-social .social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Social links untuk contact page - tidak konflik dengan footer */
.contact-social .social-link {
    width: 45px;
    height: 45px;
    background: #2d5a9c;
    color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-social .social-link:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(45, 90, 156, 0.3);
    color: white;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e6ecf3;
}

.contact-form-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d5a9c;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e6ecf3;
}

.contact-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2d5a9c;
    box-shadow: 0 0 0 3px rgba(45, 90, 156, 0.1);
}

.form-control.is-invalid {
    border-color: #dc2626;
}

.form-control.is-invalid:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #dc2626;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 2rem;
}

.btn-submit {
    background: #2d5a9c;
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-submit:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 156, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* ========================================
   ALERT MESSAGES
   ======================================== */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.alert li:last-child {
    margin-bottom: 0;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    opacity: 0.5;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}

.btn-close:hover {
    opacity: 1;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991.98px) {
    .contact-content {
        padding: 3rem 0;
    }

    .contact-info {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 767.98px) {
    .contact-content {
        padding: 2rem 0;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-info .contact-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .contact-info .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .contact-info .contact-details h3 {
        font-size: 0.95rem;
    }

    .contact-info .contact-details p {
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-control {
        padding: 0.75rem 0.875rem;
        font-size: 0.95rem;
    }

    .btn-submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .contact-social .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========================================
   UTILITIES
   ======================================== */
.text-danger {
    color: #dc2626;
}

.me-2 {
    margin-right: 0.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: 0.5rem;
}

