* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
}

::-webkit-scrollbar{
    display: none;
}

img{
    width: 100%;
}

body {
    font-family: 'Archivo', 'Roboto';
    background: transparent linear-gradient(180deg, #FFFFFF 0%, #fcf2e7 100%) 0% 0% no-repeat padding-box;
    background-repeat: repeat-y;
    background-attachment: fixed;
    /* background-repeat: no-repeat; */
    background-size: cover;
    height: 100%;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.content{
    width: 100%;
    height: 100%;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cardbgimageblock{
    width: 100%;
    height: 100%;
    opacity: 0.05;
    position: absolute;
    z-index: 1;
    background-image: url(https://goodconnext.com/card/whymedia/Assets/Pattern_Bg.svg);
}

.cardbgimagebottomblock{
    position: fixed;
    bottom: 25px;
    right: 45px;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.randomImage{
    width:100%;
}

.cardbgcolorblock{
    width:100%;
    height: 400px;
    position: absolute;
    top: 0;
    /* background-color: #FC2523; */
    background: linear-gradient(185deg, #FC2523 50%, #ffffff 40%);
}

.card-section{
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    position: relative;
    z-index: 3;
}
.card-section.preview{
    width: 100%;
    height: 100%;
    position: fixed;
    top: -9999px;
    background-color: rgba(0, 0, 0, 0.5);
}

.card-section.preview .card{
    width: 450px;
    border-radius: 0px;
    border: none;
}

.ClosebtnBlock{
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 1;
    cursor: pointer;
}

.card-section.preview .card-header {
    height: 220px;
    position: relative;
    aspect-ratio: 25 / 8;
    width: 100%;
}

.card-section.preview  .card-body {
    padding: 60px 30px 0 30px;       
}

.card-section.preview .qrcode{ 
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 0.5px solid rgba(0,0,0,0.1);
}

.bg-container{ 
    width: 100%;
    min-height: 120px;
    position: relative;
}

.bg-container img{
    position: absolute;
    /* width: 100%; */
    bottom: 0;
    left: 0;
}
.card {
    background: white;
    box-shadow: 0px 0px 15px #0000001F;
    border: 0.1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    overflow: hidden;
    width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.card-header {
    height: auto;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    /* overflow: hidden; */
}

.card-header > img {
    position: relative;
    inset: 0;      
    width: 100%;
    height: auto;
    /* object-fit: contain;  */
    display: block;
}

.profile-imagemaincontainer{
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 40px;
    /* z-index: 2; */
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.profile-image-container { 
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    margin-right: 20px;
}

.profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
}
.profile-image img { 
    width: 100%;
}

.card-body {
    padding: 70px 40px 0 40px;
}
.loading-container { 
    position: relative;
    background-color: #ffffff; 
    width: 100%; 
    height: 100%;
}
#loading{
    width: 15%;
}
.card-section:not(.preview) .after-content {
    display: flex;
    flex-direction: column;
    opacity: 1;
}

.name {
    font-family: 'Archivo';
    font-size: 28px;
    font-weight: bold;
    color: #2E2E2E;
    margin-bottom: 4px;
}
.title {
    font-family: 'Roboto';
    color: #2E2E2E;
    font-size: 18px;
    /* margin-bottom: 20px; */
}
.description {
    font-family: 'Roboto';
    color: #2E2E2E;
    line-height: 24px;
    margin-bottom: 25px;
    font-size: 18px;
}
.contact-section {
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    border-top: 0.5px solid rgba(0,0,0,0.1) ;
}
.contact-section .left{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    gap: 10px;

}
.contact-section .left .icon{
    margin-right: 12px;
    width: 22px;
    height: 22px;
    opacity: 0.4;
}
.contact-section .left a {
    text-decoration: none;
    color: #2E2E2E;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-family: 'Roboto';
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.phone-container {
    display: flex;
    align-items: center;
}
.phone-numbers{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.whatsapp_icon{
    width: 35px;
    height: 35px;
    position: absolute;
    top: 20px;
    right: 0;

}

.social-media-section{ 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 44px;
    /* border-top: 0.5px solid rgba(112, 112, 112, 0.5); */
}
.social-media-links-left{
    display: flex;
    gap: 15px;
}
.social-media-links-left a{
    display: flex;
    height: 34px;
    width: 34px;
}

.download-section{
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
    position: fixed;
    bottom: 0px;
    left: 0px;
    background-color: #fff;
    box-shadow: 0px 0px 15px #0000001F;
    width: 100%;
    padding: 20px 0; */

    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 25px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
}

.AddtoContactsmobile{
    display: none;
}

.download-text{
    font-family: 'Montserrat';
    font-size: 12px;
    color: #2E2E2E;
    opacity: 0.4;
}

.download-leftSection{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.download-leftSection a{
    display: flex;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
    width: 40px;
    height: 40px;
}

.download-leftSection a:last-child{
    margin-right: 0;
}

.social-media-links-right{
    display: flex;
    gap: 15px;
    align-items: center;
    width:100%;
}
.social-media-links-right a{ 
    display: flex;
    height: 44px;
    cursor: pointer;
    width:100%;
    
}

.services-section{ 
    padding-bottom: 25px;
    display: flex;
    flex-direction: column;
    /* border-top: 0.5px solid rgba(112, 112, 112, 0.5); */
}
.services-section ul{
    list-style-type: disc;
    /* margin-left: 30px; */
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.services-section li{
    font-family: 'Roboto';
    font-size: 20px;
    line-height: 26px;
    color: #0B184F;
}

.services-section li::marker{
    color: #909EFD;
}

.company-section {
    padding: 25px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
}
.company,.services{
    color: #2E2E2E;
    opacity: 0.4;
    font-family: 'Montserrat';
    font-size: 14px;
    margin-bottom: 12px;
}
.company-name{
    color: #2E2E2E;
    font-family: 'Roboto';
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}
.company-address{
    color: #2E2E2E;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 20px;
}

.company-sectionaddress a{
    color: #2E2E2E;
    text-decoration: none;
    font-family: "Roboto";
    
}

.company-sectionaddress span{
    margin-left: 15px;
    margin-right: 15px;
}

.company-contact{
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.company-contact a{ 
    text-decoration: none;
    color: #2E2E2E;
    font-family: 'Roboto';
    font-size: 16px;
}

.AddtoContactsdesk .company{
    margin-bottom: 0;
}


.card_companywebsite{
    padding: 25px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
}

.card_companywebsite a{
    color: #2E2E2E;
    text-decoration: none;
    font-family: 'Roboto';
    font-size: 22px;
}

.footer-section{
    display: flex;
    justify-content: flex-end;
    padding: 25px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
}
.footer-section a{
    display: flex;
    justify-content: flex-end;
}
.footer-section img{
    width: 100%;
    height: auto;
}
.footer-section a:nth-child(2){
    justify-content: flex-end;
}
svg{
    width: 100%;
}

.social-media-links-mobileright{
    width: auto;
}

.card-section.preview .card .footer-section{
    justify-content: space-between;
}

@media screen and (max-width:1200px){
    .cardbgimagebottomblock{
        bottom: 0px;
        right: 0px;
    }

    .randomImage{
        width:80%;
    }
}

@media screen and (max-width:990px) {
    .randomImage{
        width:60%;
    }
}

@media screen and (max-width: 768px) {   

    .cardbgimagebottomblock{
        display: none;
    }

    .randomImage{
        width:50%;
    }

    .profile-image-container{
        margin-right: 10px;
    }

    .card-section:not(.preview) .card{
        width: 450px;
    }
    .card-section:not(.preview) .card-header{
        background-size: cover;
        background-repeat: no-repeat;
    }
    .card-section:not(.preview) .name{
        font-size: 24px;
    }
    .card-section:not(.preview) .title{
        font-size: 14px;
        /* margin-bottom: 15px; */
    }
    .card-section:not(.preview) .description{
        line-height: normal;
        font-size: 16px;
        margin-bottom: 20px;
    }
    .card-section:not(.preview) .contact-section{
        padding: 20px 0;
    }
    .card-section:not(.preview) .contact-section .left{
        gap: 5px;
    }
    .card-section:not(.preview) .contact-section .left .icon {
        margin-right: 10px; 
    }
    .card-section:not(.preview) .contact-section .left a {
        font-size: 16px;
        margin-bottom: 5px;
    }
    .card-section:not(.preview) .company-name {
        font-size: 16px;
    }

    .card-section:not(.preview) .services-section ul{
        gap: 5px;
    }

    .card-section{
        padding: 30px;
    }

    .services-section li{
        font-size: 18px;
    }
    
    .card_companywebsite a{
        font-size: 20px;
    }
}

@media screen and (max-width: 550px) {

    .card-section{
        padding: 20px;
    }

    .card-section:not(.preview) .card {
        width: auto;
    }
    .card-section:not(.preview) .card-header{
        aspect-ratio: 25/8; 
        width: 100%;  
        height: auto;
    }
    
    .card-header > img{
        position: unset;
    }

    .card-section:not(.preview) .card-body {
        padding: 90px 20px 0 20px;
    }

    .card-section:not(.preview) .profile-imagemaincontainer{
        left: 20px;
        bottom: -70px;
        justify-content: flex-start;
    }

    .card-section:not(.preview) .profile-image {
        /* width: 33%; */
        /* height: auto; */
        
        aspect-ratio: 1/1;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .card-section:not(.preview) .description {
        font-size: 15px;
        margin-bottom: 15px;
    }
    .card-section:not(.preview) .contact-section .left .icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    .card-section:not(.preview) .contact-section .left .icon img {
        width: 100%;
    }
    .card-section:not(.preview) .company-section{
        padding: 20px 0;
    }
    .card-section:not(.preview) .company-contact{
        flex-direction: column;
        gap: 5px;
    }

    .card-section:not(.preview) .social-media-section {
        padding: 20px 0;
    }
    .card-section:not(.preview) .footer-section img{
        width: 80%;
    }
    .bg-container { 
        min-height: 72px;
    }
    .bg-container img{
        width: 60%;
        height: auto;
    }

    .download-section{
        position: fixed;
    }

    .content{
        width: 100%;
        height: auto;
    }

    .card{
        /* box-shadow: unset;
        border: unset;
        border-radius: 0px; */
        width: 100%;
    }

    .AddtoContactsdesk{
        display: none !important;
    }

    .AddtoContactsmobile{
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 0px;
        left: 0px;
        background-color: #fff;
        box-shadow: 0px 0px 15px #0000001F;
        width: 100%;
        padding: 20px 0;
        border-top: unset;
    }

    .download-section{
        padding: 20px;
    }

    .footer-section{
        padding-bottom: 100px;
    }
}

@media screen and (max-width:480px) {

    .profile-image-container {
        width: 110px;
        height: 110px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .card-section:not(.preview) .profile-imagemaincontainer {
        left: 10px;
        bottom: -80px;
    }

    .card-section:not(.preview) .name {
        font-size: 22px;
    }

    .card-section:not(.preview) .title{
        font-size: 12px;
        /* margin-bottom: 10px; */
    }

    .card-section:not(.preview) .description {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .card-section:not(.preview) .contact-section .left a {
        font-size: 14px;
    }

    .services-section ul {
        margin-left: 15px;
    }

    .card-section:not(.preview) .company-address,.services-section li{
        font-size: 14px;
    }

    .company, .services{
        font-size: 12px;
    }

    .card-section:not(.preview) .company-address,.services-section li, .company-contact a{
        font-size: 14px;
    }

    .company-sectionaddress span{
        margin: 0px 10px;
    }

    .company-sectionaddress a{
        font-size: 12px;
    }
}

@media screen and (max-width:370px) {
    .card-section:not(.preview) .name {
        font-size: 16px;
    }

    .card-section:not(.preview) .title {
        font-size: 11px;
    }
}

@media screen and (max-width: 350px) { 

    .card-section:not(.preview) .card-body {
        padding: 90px 15px 0 15px;
    }
    /* .card-section:not(.preview) .profile-image {
        left: 17%;
    } */

    .card-section:not(.preview) .profile-imagemaincontainer{
        left: 10px;
    }

    /* .card-section:not(.preview) .name {
        font-size: 18px;
    } */

    .download-section{
        padding: 20px 15px;
    }

    /* .company-sectionaddress a{
        font-size: 12px;
    } */

    .company-sectionaddress span {
        margin: 0px 5px;
    }
}
