/* =====================================================
   My Page - Standalone Responsive Design
   File is separated from the main website CSS
===================================================== */

:root {
    --mam-my-primary: #1774ff;
    --mam-my-primary-dark: #0b4fc8;
    --mam-my-cyan: #20c7d7;
    --mam-my-navy: #071b35;
    --mam-my-text: #10233f;
    --mam-my-muted: #667085;
    --mam-my-soft: #f4f8ff;
    --mam-my-border: rgba(148, 163, 184, .24);
    --mam-my-card: rgba(255, 255, 255, .90);
    --mam-my-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.mam-my-body {
    min-height: 100vh;
    margin: 0;
    color: var(--mam-my-text);
    background:
        radial-gradient(circle at 12% 10%, rgba(32, 199, 215, .16), transparent 34%),
        radial-gradient(circle at 86% 20%, rgba(23, 116, 255, .16), transparent 36%),
        linear-gradient(135deg, #f7fbff 0%, #edf5ff 48%, #f9fbff 100%);
    font-family: "Tajawal", Arial, sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

body.mam-my-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -4;
    background-image:
        linear-gradient(rgba(23, 116, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 116, 255, .045) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 80%);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

.mam-my-page {
    position: relative;
    min-height: 100vh;
    padding: clamp(18px, 3vw, 42px);
}

.mam-my-bg {
    position: fixed;
    z-index: -3;
    border-radius: 999px;
    filter: blur(6px);
    opacity: .75;
    pointer-events: none;
}

.mam-my-bg-one {
    top: 8%;
    right: 5%;
    width: 190px;
    height: 190px;
    background: rgba(23, 116, 255, .14);
}

.mam-my-bg-two {
    bottom: 9%;
    left: 7%;
    width: 240px;
    height: 240px;
    background: rgba(32, 199, 215, .14);
}

.mam-my-bg-three {
    top: 45%;
    left: 45%;
    width: 120px;
    height: 120px;
    background: rgba(216, 166, 65, .12);
}

.mam-my-shell {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.mam-my-profile-card,
.mam-my-section,
.mam-my-quote-card {
    border: 1px solid var(--mam-my-border);
    background: var(--mam-my-card);
    box-shadow: var(--mam-my-shadow);
    backdrop-filter: blur(18px);
}

.mam-my-profile-card {
    position: sticky;
    top: 24px;
    padding: 24px;
    border-radius: 34px;
    overflow: hidden;
}

.mam-my-profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 12%, rgba(32, 199, 215, .20), transparent 36%),
        radial-gradient(circle at 80% 20%, rgba(23, 116, 255, .16), transparent 40%);
    pointer-events: none;
}

.mam-my-profile-card > * {
    position: relative;
    z-index: 2;
}

.mam-my-photo-frame {
    position: relative;
    width: min(250px, 80vw);
    aspect-ratio: 1 / 1;
    margin: 0 auto 22px;
    padding: 10px;
    border-radius: 50%;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--mam-my-primary), var(--mam-my-cyan)) border-box;
    border: 3px solid transparent;
    box-shadow: 0 24px 45px rgba(23, 116, 255, .18);
}

.mam-my-photo {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.mam-my-status-badge {
    position: absolute;
    right: 5px;
    bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--mam-my-primary), var(--mam-my-cyan));
    border: 4px solid #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .16);
}

.mam-my-identity {
    text-align: center;
}

.mam-my-eyebrow {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 5px 12px;
    border-radius: 999px;
    color: var(--mam-my-primary-dark);
    background: rgba(23, 116, 255, .08);
    font-size: 13px;
    font-weight: 900;
}

.mam-my-identity h1 {
    margin: 0;
    color: var(--mam-my-navy);
    font-size: clamp(23px, 2.7vw, 32px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -.8px;
}

.mam-my-identity p {
    margin: 8px 0 0;
    color: var(--mam-my-muted);
    font-size: 15px;
    font-weight: 700;
}

.mam-my-quick-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
}

.mam-my-quick-actions a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--mam-my-primary), var(--mam-my-cyan));
    text-decoration: none;
    font-size: 19px;
    box-shadow: 0 12px 28px rgba(23, 116, 255, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mam-my-quick-actions a:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(23, 116, 255, .28);
}

.mam-my-signature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 15px;
    border-radius: 22px;
    color: #25415f;
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(226, 232, 240, .85);
    font-size: 14px;
    font-weight: 800;
}

.mam-my-signature i {
    color: var(--mam-my-primary);
    font-size: 18px;
}

.mam-my-content {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.mam-my-section,
.mam-my-quote-card {
    border-radius: 30px;
    padding: clamp(20px, 3vw, 5px);
}

.mam-my-about-card p {
    margin: 16px 0 0;
    color: #40546b;
    font-size: 15px;
    font-weight: 600;

}

.mam-my-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.mam-my-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--mam-my-primary), var(--mam-my-cyan));
    font-size: 22px;
    box-shadow: 0 12px 28px rgba(23, 116, 255, .20);
}

.mam-my-section-head small {
    display: block;
    margin-bottom: 1px;
    color: var(--mam-my-primary-dark);
    font-size: 12px;
    font-weight: 900;
}

.mam-my-section-head h2 {
    margin: 0;
    color: var(--mam-my-navy);
font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 900;
    line-height: 1.35;
}

.mam-my-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mam-my-contact-card {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 22px;
    color: var(--mam-my-text);
    background: rgba(248, 251, 255, .86);
    border: 1px solid rgba(226, 232, 240, .95);
    text-decoration: none;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.mam-my-contact-card:hover {
    transform: translateY(-3px);
    border-color: rgba(23, 116, 255, .25);
    background: #fff;
}

.mam-my-contact-card i {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--mam-my-primary);
    background: rgba(23, 116, 255, .08);
    font-size: 19px;
}

.mam-my-contact-card span {
    display: block;
    color: #5a6f86;
    font-size: 13px;
    font-weight: 900;
}

.mam-my-contact-card strong {
    display: block;
    max-width: 100%;
    color: var(--mam-my-navy);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.5;
    overflow-wrap: anywhere;
}


.mam-my-social-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 20% 20%, rgba(32, 199, 215, .10), transparent 34%),
        rgba(248, 251, 255, .92);
    border: 1px solid rgba(226, 232, 240, .95);
}

.mam-my-social-card a {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--mam-my-primary);
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .95);
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
    transition:
        transform .2s ease,
        color .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.mam-my-social-card a:hover {
    transform: translateY(-4px);
    color: #fff;
    background: linear-gradient(135deg, var(--mam-my-primary), var(--mam-my-cyan));
    border-color: transparent;
    box-shadow: 0 16px 30px rgba(23, 116, 255, .22);
}

.mam-my-social-card i {
    line-height: 1;
}

.mam-my-quote-card {
    position: relative;
    min-height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #fff;
    background:
        radial-gradient(circle at 18% 30%, rgba(255, 255, 255, .20), transparent 30%),
        linear-gradient(135deg, var(--mam-my-primary-dark), var(--mam-my-primary), var(--mam-my-cyan));
    border: 0;
}

.mam-my-quote-card i {
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
    opacity: .75;
}

.mam-my-quote-card p {
    margin: 0;
    font-size: clamp(13px, 1.3vw, 16px);
    font-weight: 900;
    line-height: 1.45;
}

.mam-my-contact-form {
    display: grid;
    gap: 16px;
}

.mam-my-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.mam-my-field {
    display: grid;
    gap: 8px;
}

.mam-my-field label {
    color: var(--mam-my-navy);
    font-size: 14px;
    font-weight: 900;
}

.mam-my-field input,
.mam-my-field textarea {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, .36);
    border-radius: 18px;
    outline: 0;
    padding: 14px 16px;
    color: var(--mam-my-text);
    background: rgba(255, 255, 255, .92);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .035);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.mam-my-field textarea {
    min-height: 140px;
    resize: vertical;
}

.mam-my-field input:focus,
.mam-my-field textarea:focus {
    border-color: rgba(23, 116, 255, .70);
    background: #fff;
    box-shadow:
        0 0 0 4px rgba(23, 116, 255, .10),
        0 12px 26px rgba(23, 116, 255, .08);
}

.mam-my-field input::placeholder,
.mam-my-field textarea::placeholder {
    color: #98a6b8;
}

.turnstile-box {
    overflow-x: auto;
    padding: 2px 0;
}

.mam-my-submit {
    width: fit-content;
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 18px;
    padding: 14px 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--mam-my-primary), var(--mam-my-cyan));
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(23, 116, 255, .24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.mam-my-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 42px rgba(23, 116, 255, .30);
}

.mam-my-alert {
    padding: 12px 14px;
    border-radius: 16px;
    font-weight: 800;
    border: 1px solid transparent;
}

.mam-my-alert-success {
    color: #047857;
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.mam-my-alert-danger,
.mam-my-alert-error {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}

.mam-my-alert-warning {
    color: #92400e;
    background: #fffbeb;
    border-color: #fde68a;
}

@media (max-width: 1100px) {
    .mam-my-shell {
        grid-template-columns: 1fr;
    }

    .mam-my-profile-card {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: 210px minmax(0, 1fr);
        align-items: center;
        gap: 22px;
    }

    .mam-my-photo-frame {
        width: 210px;
        margin: 0;
    }

    .mam-my-identity,
    .mam-my-quick-actions {
        text-align: right;
        justify-content: flex-start;
    }

    .mam-my-signature {
        grid-column: 1 / -1;
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    .mam-my-page {
        padding: 14px;
    }

    .mam-my-profile-card {
        grid-template-columns: 1fr;
        padding: 18px;
        border-radius: 26px;
    }

    .mam-my-photo-frame {
        width: min(220px, 78vw);
        margin: 0 auto;
    }

    .mam-my-identity,
    .mam-my-quick-actions {
        text-align: center;
        justify-content: center;
    }

    .mam-my-section {
        padding: 18px;
        border-radius: 24px;
    }

    .mam-my-quote-card {
        padding: 10px 14px;
        border-radius: 20px;
    }

    .mam-my-section-head {
        align-items: flex-start;
    }

    .mam-my-contact-grid,
    .mam-my-form-grid {
        grid-template-columns: 1fr;
    }

    .mam-my-quote-card {
        align-items: center;
    }

    .mam-my-submit {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .mam-my-photo-frame {
        width: min(190px, 76vw);
    }

    .mam-my-status-badge {
        right: -2px;
        bottom: 18px;
        font-size: 12px;
        border-width: 3px;
    }

    .mam-my-identity h1 {
        font-size: 24px;
    }

    .mam-my-section-head h2 {
        font-size: 20px;
    }

    .mam-my-contact-card {
        padding: 14px;
    }

    .mam-my-social-card {
        gap: 9px;
        padding: 14px;
    }

    .mam-my-social-card a {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 18px;
    }
}
.turnstile-box {
    width: 100%;
}

.turnstile-box .cf-turnstile {
    width: 100%;
}