/* =========================================================
   SMARTCARD79 - DESIGN 3
   ABS / Blue + Yellow Theme
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');


/* ---------------------------------------------------------
   DESIGN VARIABLES
   --------------------------------------------------------- */

.design3 {
    --design-blue: #00ADEF;
    --design-dark-blue: #ffffff;
    --design-yellow: #FFF100;
    --design-white: #003495;
    --design-light: #F5FBFE;
    --design-text: #ffffff;
    --design-background : #009ADB;
    --design-background-2 : #1D43B5;

    font-family: 'DM Sans', sans-serif;
    background: var(--design-blue);
    color: var(--design-text);
}


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.design3 .page-wrapper {
    min-height: 100vh;
    padding: 25px 15px;
    background: var(--design-white);
}


/* ---------------------------------------------------------
   MAIN CARD
   --------------------------------------------------------- */

.design3 .profile-card {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;

    background: var(--design-white);

    border-radius: 28px;

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


/* ---------------------------------------------------------
   BANNER
   Hidden for now
   --------------------------------------------------------- */

.design3 .card-banner {
    display: block;
    /*background: linear-gradient(180deg, #00ADEF 0%, #013775 100%);*/
    background: radial-gradient(circle at center, #00ADEF 20%, #1D43B5 100%);
    background : var(--design-background);
    /*background: radial-gradient(circle at center, #E0F7FF 20%, #013775 100%);
    background: linear-gradient(180deg, #00ADEF 0%, #E0F7FF 100%);*/
  color: #0F172A; /* Dark navy text for header label */

}

.design3 .logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ---------------------------------------------------------
   LOGO
   --------------------------------------------------------- */

.design3 .logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 30px 25px 15px;

    background: transparent;
    width: 100%;
    box-shadow: none;
}

.design3 .logo-wrapper img {
    display: block;

    width: auto;
    max-width: 260px;
    max-height: 120px;

    object-fit: contain;
}


/* ---------------------------------------------------------
   PROFILE AREA
   --------------------------------------------------------- */

.design3 .profile-area {
    text-align: center;

    padding: 10px 25px 25px;
    margin: -1px 0;

    background: #DBF3FD;
    background: radial-gradient(circle at center, #00ADEF 20%, #1D43B5 100%);
    background : var(--design-background);
}


/* Profile image hidden for now */

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

.design3 .profile-placeholder {
    display: none;
}


/* ---------------------------------------------------------
   NAME
   --------------------------------------------------------- */

.design3 .profile-name {
    margin: 0;

    font-family: 'Instrument Serif', serif;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 400;

    color: var(--design-dark-blue);

    letter-spacing: 2px;
    margin-top : 0;
}


/* ---------------------------------------------------------
   DESIGNATION
   --------------------------------------------------------- */

.design3 .profile-designation {
    font-size: 19px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--design-dark-blue);
    margin-bottom: 10px;
    margin-top: 0px;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   COMPANY
   --------------------------------------------------------- */

.design3 .profile-company {
    margin-top: 30px;

    font-size: 16px;
    line-height: 1.4;

    color: var(--design-light);
    opacity: 0.9;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    text-align: center;
}


/* ---------------------------------------------------------
   ACTION BUTTONS
   --------------------------------------------------------- */

.design3 .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    justify-content: space-evenly;
    background: radial-gradient(circle at center, #00ADEF 20%, #1D43B5 100%);
    background : var(--design-background);
}

.design3 .action-button {
    box-sizing: border-box;

    /* 2 buttons per row */
    flex: 0 0 calc(50% - 6px);

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

    min-height: 46px;
    padding: 1px 14px;

    border: 0px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    background: #ffffff;
    color: #ffffff;

    text-decoration: none;

    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);

    cursor: pointer;
    flex-direction: unset;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease;
}

/* Odd number of buttons:
   Last button becomes full width */
.design3 .action-button:last-child:nth-child(odd) {
    flex-basis: 100%;
}

/* Icon container */
.design3 .action-icon {
    width: 42px;
    height: 42px;

    min-width: 42px;

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

    border-radius: 11px;

    background: transparent;
    color: #ffffff;

    font-size: 17px;

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

/* Text */
.design3 .action-label {
    line-height: 1.2;
}

/* Hover */
.design3 .action-button:hover {
    transform: translateY(-2px);

    border-color: var(--design-dark-blue);

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

.design3 .action-button:hover .action-icon {
    transform: scale(1.08);
}

/* Active / click */
.design3 .action-button:active {
    transform: translateY(0);
}

.design3 .btn-call,
.design3 .btn-whatsapp,
.design3 .btn-location,
.design3 .btn-save_contact,
.design3 .btn-share {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Normal gradient */
.design3 .btn-call {
    background: linear-gradient(
        135deg,
        oklch(72% .18 148),
        oklch(35% .13 150)
    );
}

.design3 .btn-whatsapp {
    background: linear-gradient(
        135deg,
        oklch(72% .20 150),
        oklch(38% .16 150)
    );
}

.design3 .btn-location {
    background: linear-gradient(
        135deg,
        oklch(70% .20 25),
        oklch(38% .16 25)
    );
}

.design3 .btn-save_contact {
    background: linear-gradient(
        135deg,
        oklch(70% .18 275),
        oklch(38% .14 275)
    );
}

.design3 .btn-share {
    background: linear-gradient(
        135deg,
        oklch(78% .18 75),
        oklch(42% .16 75)
    );
}


/* Reversed gradient layer */
.design3 .btn-call::after,
.design3 .btn-whatsapp::after,
.design3 .btn-location::after,
.design3 .btn-save_contact::after,
.design3 .btn-share::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    opacity: 0;
    transition: opacity 0.4s ease;
}


/* Individual reversed gradients */
.design3 .btn-call::after {
    background: linear-gradient(
        315deg,
        oklch(72% .18 148),
        oklch(35% .13 150)
    );
}

.design3 .btn-whatsapp::after {
    background: linear-gradient(
        315deg,
        oklch(72% .20 150),
        oklch(38% .16 150)
    );
}

.design3 .btn-location::after {
    background: linear-gradient(
        315deg,
        oklch(70% .20 25),
        oklch(38% .16 25)
    );
}

.design3 .btn-save_contact::after {
    background: linear-gradient(
        315deg,
        oklch(70% .18 275),
        oklch(38% .14 275)
    );
}

.design3 .btn-share::after {
    background: linear-gradient(
        315deg,
        oklch(78% .18 75),
        oklch(42% .16 75)
    );
}


/* Hover */
.design3 .btn-call:hover::after,
.design3 .btn-whatsapp:hover::after,
.design3 .btn-location:hover::after,
.design3 .btn-save_contact:hover::after,
.design3 .btn-share:hover::after {
    opacity: 1;
}

.design3 .btn-call:hover,
.design3 .btn-whatsapp:hover,
.design3 .btn-location:hover,
.design3 .btn-save_contact:hover,
.design3 .btn-share:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}


/* ---------------------------------------------------------
   CONTACT SECTION
   --------------------------------------------------------- */

.design3 .contact-section {
    padding: 10px 25px 25px;

    background: var(--design-white);
    background: radial-gradient(circle at center, #00ADEF 20%, #1D43B5 100%);
    background : var(--design-background);
    margin: -1px 0;
}


.design3 .section-title {
    margin: 0 0 15px;

    font-family: 'Instrument Serif', serif;

    font-size: 32px;
    font-weight: 400;

    color: var(--design-dark-blue);
    letter-spacing: 2px;
}


/* ---------------------------------------------------------
   CONTACT ITEM
   --------------------------------------------------------- */

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

    gap: 14px;

    padding: 13px 0;

    border-bottom: 1px solid rgba(46, 49, 146, 0.12);
}


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


.design3 .contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 5px;

    background: var(--design-dark-blue);
    color: var(--design-white);

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


.design3 .contact-content {
    min-width: 0;
}


.design3 .contact-label {
    margin-bottom: 2px;

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

    color: var(--design-dark-blue);

    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.design3 .contact-value {
    font-size: 14px;
    line-height: 1.45;

    color: var(--design-text);

    word-break: break-word;
}


.design3 .contact-value a {
    color: inherit;
    text-decoration: none;
}


.design3 a.contact-value:hover {
    color: var(--design-yellow);
}


/* ---------------------------------------------------------
   SOCIAL SECTION
   --------------------------------------------------------- */

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

    text-align: center;

    background: var(--design-white);
    background: radial-gradient(circle at center, #00ADEF 20%, #1D43B5 100%);
    background : var(--design-background);
}


.design3 .social-title {
    margin: 0 0 15px;

    font-family: 'Instrument Serif', serif;

    font-size: 32px;
    font-weight: 400;

    color: var(--design-dark-blue);
    letter-spacing: 2px;
}


.design3 .social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;
}


.design3 .social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 5px;

    background: var(--design-dark-blue);
    color: var(--design-white);

    text-decoration: none;

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

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


.design3 .social-link:hover {
    transform: translateY(-2px);
    color : var(--design-light);
    background: #22256f;
}


/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.design3 .card-footer {
    padding: 18px 25px;

    text-align: center;

    /*background: linear-gradient(180deg, #E0F7FF 0%, #00ADEF 100%);*/
    background: radial-gradient(circle at center, #00ADEF 20%, #1D43B5 100%);
    background : var(--design-background);
    color: var(--design-light); /* Deep blue text for header label */

    font-size: 12px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .design3 .page-wrapper {
        padding: 0;
    }

    .design3 .profile-card {
        max-width: none;

        border-radius: 0;
        box-shadow: none;
    }

    .design3 .logo-wrapper {
        padding-top: 35px;
    }

    .design3 .profile-name {
        font-size: 32px;
    }

    .design3 .action-buttons {
        padding: 12px;

        gap: 6px;
    }

    .design3 .action-button {
        min-height: 46px;
        font-size: 14px;
    }

    .design3 .contact-section,
    .design3 .social-section {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.card-footer a{
  color : var(--design-light);
}

.card-footer a:hover{
  color : var(--design-yellow);
}

.qr-title{
    color: var(--design-light);
}

.qr-text{
    color : var(--design-light);
}