/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #eeeeee;
    color: #333;
}


/* =========================================================
   PAGE WRAPPER
========================================================= */

.page-wrapper {
    width: 100%;
    min-height: 100vh;

    display: flex;
    justify-content: center;

    padding: 30px 15px;
}


/* =========================================================
   PROFILE CARD
========================================================= */

.profile-card {
    width: 100%;
    max-width: 480px;

    background: var(--background-color, #FAF8F2);

    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   BANNER
========================================================= */

.card-banner {
    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px 20px;

    background:
        linear-gradient(
            135deg,
            var(--primary-color, #002B55),
            var(--secondary-color, #D6A72C)
        );
}


/* =========================================================
   LOGO
========================================================= */

.logo-wrapper {
    width: 150px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border-radius: 10px;

    padding: 8px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   PROFILE AREA
========================================================= */

.profile-area {
    position: relative;

    text-align: center;

    padding: 0 20px 25px;
}


/* =========================================================
   PROFILE IMAGE
========================================================= */

.profile-image-wrapper {
    width: 110px;
    height: 110px;

    margin: -55px auto 15px;

    position: relative;

    border-radius: 50%;

    background: #ffffff;

    padding: 5px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
}

.profile-image-wrapper img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}

.profile-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-color, #002B55);

    color: #ffffff;

    font-size: 38px;
    font-weight: 700;
}


/* =========================================================
   PROFILE NAME
========================================================= */

.profile-name {
    margin: 8px 0 5px;

    color: var(--primary-color, #002B55);

    font-size: 28px;
    font-weight: 700;

    line-height: 1.25;
}

.profile-designation {
    margin-top: 5px;

    color: #555555;

    font-size: 16px;
    font-weight: 500;
}

.profile-company {
    margin-top: 5px;

    color: var(--secondary-color, #D6A72C);

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.action-buttons {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    padding: 0 18px 22px;
}

.action-button {
    min-height: 72px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 10px 5px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 11px;
    font-weight: 700;

    text-align: center;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.action-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

    opacity: 0.92;
}

.action-icon {
    font-size: 22px;

    line-height: 1;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {
    padding: 25px 20px;

    background: #ffffff;
}

.section-title {
    margin: 0 0 18px;

    color: var(--primary-color, #002B55);

    font-size: 20px;
    font-weight: 700;

    text-align: left;
}


/* =========================================================
   CONTACT ITEM
========================================================= */

.contact-item {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 12px 0;

    border-bottom: 1px solid #eeeeee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-color, #002B55);

    color: #ffffff;

    font-size: 17px;
}

.contact-content {
    min-width: 0;
    flex: 1;
}

.contact-label {
    display: block;

    margin-bottom: 3px;

    color: #888888;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}

.contact-value {
    display: block;

    color: #333333;

    font-size: 14px;
    line-height: 1.5;

    text-decoration: none;

    word-break: break-word;
}

a.contact-value:hover {
    color: var(--primary-color, #002B55);
}


/* =========================================================
   SOCIAL SECTION
========================================================= */

.social-section {
    padding: 25px 20px;

    text-align: center;

    background: var(--background-color, #FAF8F2);
}

.social-title {
    margin: 0 0 18px;

    color: var(--primary-color, #002B55);

    font-size: 18px;
    font-weight: 700;
}

.social-links {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--primary-color, #002B55);

    color: #ffffff;

    text-decoration: none;

    font-size: 17px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);

    opacity: 0.85;
}


/* =========================================================
   FOOTER
========================================================= */

.card-footer {
    padding: 18px 15px;

    background: var(--primary-color, #002B55);

    color: #ffffff;

    text-align: center;

    font-size: 12px;

    line-height: 1.5;
}

.card-footer strong {
    display: block;

    margin-bottom: 3px;

    font-size: 14px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .page-wrapper {
        padding: 0;
    }

    .profile-card {
        max-width: 480px;

        min-height: 100vh;

        border-radius: 0;

        box-shadow: none;
    }

    .card-banner {
        min-height: 120px;
    }

    .profile-name {
        font-size: 25px;
    }

    .action-buttons {
        padding-left: 15px;
        padding-right: 15px;

        gap: 8px;
    }

    .action-button {
        min-height: 68px;
    }

    .contact-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .social-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.profile-image-wrapper {
    display: none;
}

.qr-section {
    padding: 0 20px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;

    background: transparent;
}

.qr-code {
    flex: 0 0 80px;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 80px;
    height: 80px;

    margin: 0;
    padding: 8px;

    background: #FFFFFF;
    border-radius: 12px;
}

.qr-code img {
    display: block;

    width: 80px;
    height: 80px;
}

.qr-content {
    flex: 1;
    text-align: left;
}

.qr-title {
    margin: 0 0 12px;

    font-family: 'Instrument Serif', serif;
    font-size: 26px;
    font-weight: 400;

    color: #2E3192;
}

.qr-text {
    max-width: 300px;

    margin: 0;

    font-family: 'DM Sans', sans-serif;

    font-size: 13px;
    line-height: 1.5;

    color: #555555;
}

.qr-section {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.2s ease;
}

.qr-section:hover {
    transform: scale(1.02);
}

