* {
    box-sizing: border-box;
}

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

body.public-business-card-page {
    width: 100%;
    overflow-x: hidden;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
    color: #212529;
}

.public-card-wrapper {
    width: 100%;
    padding: 12px 10px 25px;
}

.public-business-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}


.public-business-card {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/*
|--------------------------------------------------------------------------
| PerfectDrive Header
|--------------------------------------------------------------------------
*/

.public-card-header {

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

    margin-bottom: 18px;

}

.perfectdrive-brand {

    display: inline-flex;
    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: #212529;

}

.perfectdrive-brand img {

    width: 42px;
    height: 42px;

    object-fit: contain;

}

.perfectdrive-brand span {

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

}


/*
|--------------------------------------------------------------------------
| Language
|--------------------------------------------------------------------------
*/

.public-language-switcher {

    display: flex;
    justify-content: center;

    gap: 6px;

    margin-bottom: 15px;

}

.public-language-button {

    border: 1px solid #dee2e6;

    background: #fff;

    border-radius: 20px;

    padding: 6px 14px;

    font-size: 13px;

    cursor: pointer;

    transition: all .2s ease;

}

.public-language-button.active {

    background: #007bff;

    color: #fff;

    border-color: #007bff;

}


/*
|--------------------------------------------------------------------------
| Main Card
|--------------------------------------------------------------------------
*/

.public-business-card {

    background: #fff;

    border-radius: 18px;

    padding: 25px 20px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .08);

}


/*
|--------------------------------------------------------------------------
| Photo
|--------------------------------------------------------------------------
*/

.public-card-photo-wrapper {

    display: flex;
    justify-content: center;

    margin-bottom: 18px;

}

.public-card-photo {

    width: 250px;
    height: 250px;

    /*border-radius: 50%;*/

    object-fit: cover;

    border: 4px solid #fff;

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

}

.public-card-photo-placeholder {

    width: 130px;
    height: 130px;

    margin: 0 auto 18px;

    border-radius: 50%;

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

    background: #e9ecef;

    font-size: 50px;

    color: #adb5bd;

}


/*
|--------------------------------------------------------------------------
| Introduction
|--------------------------------------------------------------------------
*/

.public-card-intro {

    text-align: center;

}

.public-card-language-content {

    display: none;

}

.public-card-language-content h1 {

    white-space: pre-line;

    margin: 0 0 12px;

    font-size: 27px;

    line-height: 1.3;

    font-weight: 700;

}

.public-card-description {

    white-space: normal;

    color: #6c757d;

    font-size: 15px;

    line-height: 1.8;

    margin-bottom: 8px;

}


/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.public-card-section {

    margin-top: 24px;

}

.public-section-title {

    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 17px;

    font-weight: 700;

    margin: 0 0 12px;

}

.public-section-title i {

    font-size: 20px;

}


/*
|--------------------------------------------------------------------------
| Contact
|--------------------------------------------------------------------------
*/

.public-contact-buttons {

    display: flex;

    gap: 10px;

}

.public-action-button {

    flex: 1;

    min-height: 48px;

    border-radius: 10px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    text-decoration: none;

    font-weight: 600;

    transition: transform .15s ease;

}

.public-action-button:active {

    transform: scale(.97);

}

.public-action-button.primary {

    background: #007bff;

    color: #fff;

}

.public-action-button.whatsapp {

    background: #25d366;

    color: #fff;

}


/*
|--------------------------------------------------------------------------
| Info
|--------------------------------------------------------------------------
*/

.public-info-row {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 16px;

    font-size: 15px;

}

.public-info-row a {

    color: inherit;

    text-decoration: none;

}


.public-info-card {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px;

    background: #f8f9fa;

    border-radius: 12px;

}

.public-info-card > i {

    font-size: 25px;

}

.public-info-label {

    font-size: 12px;

    color: #868e96;

    margin-bottom: 2px;

}

.public-info-value {

    font-weight: 600;

}


/*
|--------------------------------------------------------------------------
| Tags
|--------------------------------------------------------------------------
*/

.public-tag-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}

.public-tag {

    display: inline-flex;

    align-items: center;

    padding: 7px 12px;

    border-radius: 20px;

    background: #f1f3f5;

    font-size: 13px;

}


/*
|--------------------------------------------------------------------------
| License
|--------------------------------------------------------------------------
*/

.public-license-list {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.public-license-badge {

    display: block;

    padding: 10px 12px;

    border-radius: 10px;

    background: #f8f9fa;

    font-size: 14px;

}

.public-license-badge strong {

    font-size: 16px;

}


/*
|--------------------------------------------------------------------------
| Social
|--------------------------------------------------------------------------
*/

.public-social-links {

    display: flex;

    justify-content: center;

    gap: 12px;

}

.public-social-link {

    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

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

    background: #f1f3f5;

    color: #212529;

    font-size: 21px;

    text-decoration: none;

    transition: transform .15s ease;

}

.public-social-link:hover {

    transform: translateY(-2px);

}


/*
|--------------------------------------------------------------------------
| Share
|--------------------------------------------------------------------------
*/

.public-card-share {

    margin-top: 28px;

}

.public-share-button {

    width: 100%;

    min-height: 48px;

    border: 0;

    border-radius: 10px;

    background: #212529;

    color: #fff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

}


/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/

.public-card-footer {

    text-align: center;

    padding: 25px 0 5px;

    color: #868e96;

    font-size: 12px;

}

.powered-by-brand {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    margin-top: 5px;

    text-decoration: none;

    color: #495057;

    font-weight: 700;

}

.powered-by-brand img {

    width: 24px;
    height: 24px;

    object-fit: contain;

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

    .public-card-wrapper {

        padding: 12px 10px 25px;

    }

    .public-business-card {

        padding: 22px 15px;

        border-radius: 15px;

    }

    .public-card-language-content h1 {

        font-size: 24px;

    }

}

