/* ===== Contact Page — Custom Styles (Elementor-free) ===== */

.contact-hero {
    background-color: #0f2b3d;
    background-image: url('../images/silhouette-dome-mosques-on-twilight-with-crescent-moon-colorful-night-sky-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: transparent;
    background-image: linear-gradient(180deg, #0ba39e 0%, #aa8730 100%);
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
}

.contact-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.breadcrumbs {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin: 0 0 12px;
    color: #d7e2e8;
    font-size: 14px;
}

.breadcrumbs__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs__icon {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.contact-hero__title {
    color: #fff;
    font-size: 70px;
    font-weight: 700;
    margin: 0;
}

.contact-main {
    padding: 60px 0;
    background-color: #fff;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/slamic-pattern-ornament.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.04; /* Very faint watermark effect */
    z-index: -1;
    pointer-events: none;
}

.contact-main__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Info cards ---- */
.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

@media (max-width: 768px) {
    .contact-info-grid {
        flex-direction: column;
        align-items: center;
    }
}

.info-card {
    flex: 1;
    min-width: 280px;
    text-align: center;
    padding: 40px 20px;
    border: none;
    border-radius: 24px;
    background: #f7f9fa;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform .2s ease, box-shadow .2s ease;
}



.info-card__icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    background-color: rgb(170, 135, 48);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card__icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.info-card__icon svg,
.info-card__icon i {
    width: 44px;
    height: 45px;
}

.info-card__title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 8px;
    color: rgb(60, 127, 123);
}

.info-card__text {
    margin: 0;
    color: #000000;
    font-size: 14px;
}

/* ---- Alert ---- */
.alert-success {
    padding: 14px 18px;
    background: #e3f1e8;
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    color: #2e7d52;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success svg {
    flex-shrink: 0;
}

/* ---- Form ---- */
.contact-form {
    max-width: 1100px;
    margin: 0 auto;
    background: #f7f9fa;
    padding: 40px 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    text-align: right;
}

.form-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
}

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

.form-field--full {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .form-fields {
        grid-template-columns: 1fr;
    }
}

.form-field__label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

.form-field__required {
    color: #d64545;
}

.form-field__input,
.form-field__textarea {
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 14px 20px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
    text-align: right;
    width: 100%;
}

input[type="email"].form-field__input {
    text-align: left;
    direction: ltr;
}

.form-field__input:focus,
.form-field__textarea:focus {
    outline: none;
    border-color: var(--green-dark, #1a3a2a);
    box-shadow: 0 0 0 3px rgba(26, 58, 42, .1);
}

.form-field__input--error,
.form-field__textarea--error {
    border-color: #d64545;
}

.form-field__textarea {
    resize: vertical;
    min-height: 140px;
    border-radius: 20px;
}

.form-field__error {
    margin-top: 6px;
    font-size: 13px;
    color: #d64545;
}

.form-submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    background: var(--green-dark, #1a3a2a);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s ease;
}

.btn-submit:hover {
    background: #0f2219;
}

.btn-submit svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ---- Social section ---- */
.madarik-social-section {
    padding: 60px 20px;
    text-align: center;
    background: rgb(248, 246, 240);
}

.madarik-social-section .social-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7a8990;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
}

.madarik-social-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f2b3d;
    margin: 0 0 12px;
}

.madarik-social-section .social-subtitle {
    max-width: 560px;
    margin: 0 auto 36px;
    color: #4a5a63;
    font-size: 15px;
    line-height: 1.7;
}

.madarik-social-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.madarik-social-card {
    flex: 1 1 220px;
    max-width: 190px;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 16px;
    padding: 28px 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.madarik-social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px #0000000f;
}

.madarik-social-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: #f2f4f6;
}

.card-name {
    font-weight: 700;
    color: #0f2b3d;
    font-size: 16px;
    margin-bottom: 4px;
}

.card-handle {
    color: #7a8990;
    font-size: 13px;
    margin-bottom: 16px;
}

.card-btn {
    background: transparent;
    color: #4a5a63;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 20px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.madarik-social-card:hover .card-btn {
    background: #f7f9fa;
}