* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    height: 100%;
}
/* img{
    width: 100%;
} */
body {
    font-family: 'Archivo', 'Roboto';
    /* background: transparent linear-gradient(180deg, #FFFFFF 0%, #FFDFB9 100%) 0% 0% no-repeat padding-box; */
    background-color: #131415;
    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;
    position: relative;
}
body::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../Assets/LawPattern.svg);
    opacity: 0.1;
}

.content{
    width: 100%;
    height: 100%;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.card-section{
    flex: 1;
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    padding: 30px 20px;
}
.card-section.preview{
    width: 100%;
    height: 100%;
    position: fixed;
    top: -9999px;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    z-index: 1;
}
.card-section.preview .card{
    width: 380px;
    max-width: 90%;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    position: relative;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

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

.card-section.preview .card-header {
    /* height: 220px; */
    position: relative;
    /* aspect-ratio: 25 / 8; */
    width: 100%;
    /* background-size: cover; */
    /* background-repeat: no-repeat; */

}
.card-section.preview .card-header img#banner-image-preview {
    width: 100%;
    height: auto;
    display: block;
}
.card-section.preview .card-body {
    padding: 25px 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;
    bottom: 0;
    left: 0;
}

.card {
    background: white;
    /* border: 0.1px solid rgba(0,0,0,0.1); */
    box-shadow: 0px 0px 15px #0000001F;
    border-radius: 20px;
    overflow: hidden;
    width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.card-header {
    /* height: 220px; */
    position: relative;
    background-color: #131415;
    /* background-repeat: no-repeat; */
    /* background-position: center; */
    /* border-radius: 20px 20px 0 0; */

}

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

.profile-imagemaincontainer{
    position: absolute;
    bottom: -50px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    padding-right: 30px;
}

.profile-image-container { 
    width: 100px;
    height: 100px;
    display: flex;
    outline:6px solid #ffffff;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ffffff;
    position: relative;
    /* margin-right: 25px; */
}

.profile-image {
    width: 100%;
    height: 100%;
    /* border-radius: 50%; */
    /* overflow: hidden; */
}
.profile-image img { 
    width: 100%;
}

.card-body {
    padding: 25px 30px 0 30px;
}

.loading-container { 
    position: relative;
    background-color: #ffffff; 
    width: 100%; 
    height: 100%;
}
.card-section:not(.preview) .after-content {
    display: flex;
    flex-direction: column;
    opacity: 0;
}
.law-icon{
    position: absolute;
    bottom: -60px;
    right: 0;
    width: 40px;
    margin-right: 57px;
}
.law-icon img{
    width: 100%;
    height: auto;
}
.name {
    font-family: 'Roboto';
    font-size: 32px;
    font-weight: bold;
    color: #2F1200;
    overflow-wrap: anywhere;
    padding-right: 120px;
    margin-bottom: 5px;
}
.education {
    font-family: 'Roboto';
    font-size: 18px;
    color: #131415;
    margin-bottom: 36px;
    opacity: 0.7;
}
.title{
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.role {
    font-family: 'Roboto';
    color: #131415;
    font-size: 24px;
    font-weight: bold;
    /* margin-bottom: 20px; */
}

.category {
    font-family: 'Roboto';
    font-size: 15px;
    color: #CE9723;
    padding-top: 5px;
    align-items: center;
    display: flex;
}

.description {
    font-family: 'Roboto';
    color: #2E2E2E;
    /* line-height: 24px; */
    margin-bottom: 20px;
    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;
}
.email{
     display: flex;
    flex-direction: column;
    gap: 10px;
    /* justify-content: space-between; */
    width: 100%;

}
.phone-numbers{
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* justify-content: space-between; */
    width: 100%;
}
.phone-numbers div{
    display: flex;
}

.contact-section .right {
    display: flex;
    gap: 15px;
}
.contact-section .right a{
    display: flex;
    height: 30px;
    width: 30px;
}

/* .contact-section .right .qr-container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-section .right .qr-container img { 
    width: 100%;
    height: auto;
} */
.company-section {
    padding: 25px 0;
    /* border-top: 0.5px solid rgba(112, 112, 112, 0.5); */
}
.company-section:empty {
  display: none;
}
.company,.services{
    color: #131415;
    opacity: 0.4;
    font-family: 'Roboto';
    font-size: 14px;
    margin-bottom: 12px;
}
.company-name{
    color: #CE9723;
    font-family: 'Roboto';
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.company-address-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.company-address{
    color: #131415;
    font-family: 'Roboto';
    font-size: 20px;
    font-weight: normal;
}
.company-contact{
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    margin-top: 20px;
    gap: 5px;
}
.company-contact a{ 
    text-decoration: none;
    color: #131415;
    font-family: 'Roboto';
    font-size: 20px;
    font-weight: bold;
}
.google-map-link{
    width: 25px;
}
.services-section{ 
    padding: 25px 0;
    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: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.services-section li{
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 20px;
    color: #131415;
}

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


.DownloadProfile img{
    width: 100%;
    height: auto;
}

.company-website-section{
    /* text-align: center; */
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
    padding: 25px 0;

}

.company-website-section .company-website{
    font-family: 'Roboto';
    font-size: 22px;
    color: #131415;        
    font-weight: bold;     
    text-decoration: none;
    display: block;
    word-break: break-all;
}

.social-media-section{ 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
}
.social-media-links-left{
    display: flex;
    gap: 10px;
}
.social-media-links-left a{
    display: flex;
    height: 32px;
    width: 32px;
}
.download-section{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 25px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
}
.download-section-mobile{
    display: none;
}

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

.download-leftSection{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    gap: 10px;
}
.download-leftSection a{
    height: 45px;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.download-leftSection a img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.download-leftSection a:last-child{
    margin-right: 0;
}

.social-media-links-right{
    display: flex;
    gap: 15px;
    align-items: center;
}
.social-media-links-right a{ 
    display: flex;
    height: 45px;
    cursor: pointer;
}
.social-media-section img{ 
    width: 100%;
}
#facebook,#youtube{
    display: block;
}
.footer-section{
    display: flex;
    justify-content: space-between;
    padding: 25px 0;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);
    gap: 10px;
}
.poweredby{
    font-family: 'Roboto';
    font-size: 10px;
    color: #2E2E2E;
    opacity: 0.4;
    align-self: center;
}
.viewcount{
    font-family: 'Roboto';
    font-size: 10px;
    color: #2E2E2E;
    opacity: 0.4;
    align-self: center;
}
.footer-section div{
    display: flex;
    align-items: center;
}
.footer-section a{
    display: flex;
}
.footer-section div img,
.footer-section img{
    width: 100%;
    height: auto;
}
.footer-section a:nth-child(2){
    justify-content: flex-end;
}
svg{
    width: 100%;
}

.AddtoContactsmobile{
    display: none;
}

@media screen and (max-width: 768px) {   
    .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) .role{
        font-size: 22px;
        /* margin-bottom: 15px; */
    }
    .law-icon {
        bottom: -58px;
    }
    .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: 22px;
    }
    .company-address{
        font-size: 16px;
    }

    .company-contact a {
        font-size: 16px;
    }
    .card-section:not(.preview) .services-section ul{
        gap: 5px;
    }
    .services-section li {
        font-size: 18px;
    }
}

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

    .card-section {
        padding: 30px 20px 100px 20px;
    }

    .card-section.preview .card{
        width: 90%;
    }
 
    .law-icon{
        margin-right: 47px;      
        bottom: -60px;
    }

    .card-section:not(.preview) .card-header{
        aspect-ratio: 25/8; 
        width: 100%;  
        height: auto;
    }
    .profile-imagemaincontainer {
        padding-right: 20px;
    }
    .card-section:not(.preview) .card-body {
        padding: 20px 20px 0 20px;
    }

    .card-section:not(.preview) .profile-image {
        left: 30px;
        bottom: -50px;
        aspect-ratio: 1/1;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
    }
    .card-section:not(.preview) .description {
        font-size: 16px;
        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-name {
        font-size: 20px;
    }
    .card-section:not(.preview) .company-contact{
        flex-direction: column;
        gap: 5px;
    }

    .card-section:not(.preview) .social-media-section {
        padding: 20px 0;
    }
    .bg-container { 
        min-height: 72px;
    }
    .bg-container img{
        width: 60%;
        height: auto;
    }
#download-section-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0px 0px 15px #0000001F;
        padding:10px;
        box-sizing: border-box;
        z-index: 1;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
#premium-download-section-mobile {
     display: flex;
        justify-content: center;
        position: fixed;
        bottom: 0px;
        left: 0px;
        background-color: #fff;
        box-shadow: 0px 0px 15px #0000001F;
        width: 100%;
        border-top: unset;
    
}
#premium-download-section-mobile a {
    display: flex;
    align-items: center;
    justify-content: center;
}
#premium-download-section-mobile .download-leftSection{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    gap: clamp(4px, 2vw, 12px);
}
#premium-download-section-mobile .download-leftSection a{
    margin: 0;
    min-width: 0;
    height: clamp(26px, 8vw, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
}
 #download-section-mobile .download-leftSection a {
        height: 40px;
        margin-right: 0;
    }
.download-leftSection
{
    padding: 20px 15px;
    
}
.download-leftSection-standard{
    padding: 2px 0px;

}
#premium-download-section-mobile .download-leftSection a img{
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

    .card{
        width: 100%;
    }

    .AddtoContactsdesk{
        display: none !important;
    }


    .download-section{
        padding: 0px;
    }

    .card-section.preview .card .footer-section {
        padding-bottom: 30px;
    }

    .card-section.preview .card .name{
        font-size: 22px;
    }
    
    .card-section.preview .card .role{
        font-size: 20px;
    }

}

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

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

@media screen and (max-width: 350px) { 
    .profile-imagemaincontainer {
        padding-right: 15px;
    }
    .card-section:not(.preview) .card-body {
        padding: 20px 15px 0 15px;
    }
    .download-section{
        padding: 10px 15px;
        gap: 5px;
    }
    
    .card-section:not(.preview) .name {
        overflow-wrap: anywhere;
    }
}

 /* exchange form ->start */

 .container {
    width: 100%;
    height: 100%;
    position: fixed;
    top: -9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
form {
    width: 400px;
    padding: 20px;
    border: 1px solid #efefef;
    border-radius: 25px;
    background-color: #ffffff;
}
form p {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    font-family: "Roboto";
    color: #000;
    font-weight: bold;
}
input, textarea {
    width: 100%;
    padding: 20px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Roboto';
    font-size: 20px;
    outline: none;
}
.err {
    width: 100%;
    height: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}
.formbtn {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.formbtn button {
    font-size: 20px;
    font-family: "Roboto";
    font-weight: bold;
}
button {
    width: 50%;
    background-color: #020717;
    padding: 20px 30px;
    border-radius: 8px;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    outline: none;
}
#formclosebtn{
    opacity: 0.5;
}
@media screen and (max-width: 550px) {
    .container {
        padding: 30px;
    }
    form p {
        font-size: 22px;
    }
    input, textarea {
        font-size: 18px;
        padding: 15px 10px;
    }
    .err {
        width: 100%;
        height: 20px;
        font-size: 12px;
    }
    .formbtn button {
        font-size: 18px;
        padding: 20px 0;
    }
}
@media screen and (max-width: 480px) {
    form p {
        font-size: 20px;
        margin-bottom: 20px;
    }
    input, textarea {
        font-size: 16px;
    }
    .formbtn button {
        font-size: 16px;
        padding: 15px 0;
    }
}
@media screen and (max-width: 420px) {
    form p {
        font-size: 18px;
    }
}
@media screen and (max-width: 390px) {
    form p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    input, textarea {
        padding: 12px 10px;
        font-size: 14px;
    }
   .formbtn button {
        font-size: 14px;
        padding: 12px 0;
    }
}
/* end */


/* Qr Preview section css */

    .card-section.preview{
    width: 100%;
    height: 100%;
    position: fixed;
    top: -9999px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    }
    .card-section.preview .card{
        width: 380px;
        max-width: 90%;
        border-radius: 20px;
        border: none;
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    }
    .card-section.preview .profile-image {
        width: 90px;
        height: 90px;
        overflow: hidden;
        border-radius: 50%;
    }
    .card-section.preview .profile-image-container {
        width: 90px;
        height: 90px;
        outline: 0px solid #ffffff !important;
    }
    .card-section.preview .card-body {
        padding: 0px 25px 0 25px;
    }
    .card-section.preview .name-container{
        padding: 1px 0px 25px 13px;
        flex-direction: column;
        gap: 0;
        margin-top: 28px;
    }
    .card-section.preview .name{
    width: 100%;
    font-size: 22px;
    font-family: 'Archivo';
    font-weight: bold;
    text-align: left;
    color: #151515;
    margin-bottom: 5px;
    }
    .card-section.preview .title {
    font-size: 16px;
    color: #151515;
    font-family: 'Roboto';
    font-weight: 500;
    width: 100%;
    text-align: left;
    opacity: 0.7;
    margin: 0;
    padding: 0;
    border: none;
    }

    .card-section.preview .card-header {
        position: relative;
        width: 100%;
        display: block;
    }
    .card-section.preview .card-banner {
        width: 100%;
        display: block;
    }
    .card-section.preview .card-header img#banner-image-preview {
        width: 100%;
        height: auto;
        display: block;
    }
    .card-section.preview .profile-imagemaincontainer {
        position: absolute;
        width: 100%;
        bottom: -35px;
        top: unset;
        justify-content: flex-end;
        align-items: flex-end;
        padding: 0 20px;
    }
    .card-section.preview  .card-body {
    padding: 0px 20px 0 20px;       
    }
    .card-section.preview .qrcode{ 
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 0.5px solid rgba(112, 112, 112, 0.3);
    }
    .card-section.preview .footer-section a{
    height: 30px;
    }

    .card-section.preview .loading-container{
        background-color: transparent;
    }

    #footer-link{
        display: none;
    }

    .card-section.preview .footer-section {
        justify-content: space-between;
        padding: 15px 20px;
        border-top: 0.5px solid rgba(112, 112, 112, 0.3);
    }

    .copyurl-section{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 15px;
        border-top: 0.5px solid rgba(112, 112, 112, 0.3);
    }
    .copyLink{
        width: 205px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .card-section.preview .imgdownloadBtn{
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        width: 40px;
    }
    .card-section.preview .share-section , .shareon{
        display: flex;
        align-items: center;
    }
    .card-section.preview .share-section{
        justify-content: space-between;
        width: 100%;
    }
    .card-section.preview .downloadbtn{
        height: 30px;
    }

    .share-text{
        font-family: 'Roboto';
        color: #04312B;
        font-weight: bold;
        font-size: 16px;
    }

    /* shareon related */
    .shareon>* {
        padding: 0 !important;
        margin: 0 0 0 12px !important;
    }
    .shareon a {
        width: 30px;
        height: 30px;
    }
    .shareon a::before {
        width: 30px;
        height: 30px;
    }
    .shareon>:before {
        top: 0 !important;
        left: 0 !important;
        background-size: 30px 30px !important;
    }
    .shareon>.whatsapp ,.shareon>.linkedin ,.shareon>.facebook, .shareon>.twitter{
        background-color: transparent !important;
    }
    .shareon .whatsapp::before {
        background-image: url(../Assets/whatsapp_icon.svg) !important;
    }
    .shareon .linkedin::before {
        background-image: url(../Assets/linkedin_icon.svg) !important;
    }
    .shareon .facebook::before {
        background-image: url(../Assets/facebook_icon.svg) !important;
    }
    .shareon .twitter::before {
        background-image: url(../Assets/xcom_icon.svg) !important;
    }

@media screen and (max-width:420px){
    .shareon>* {
        margin: 0 0 0 5px !important;
    }
}
@media screen and (max-width:400px) {
    .card-section.preview .card{
        width: 100%;
    }
}
@media screen and (max-width:390px){
    .card-section.preview .card-body {
        padding: 0px 15px 0 15px;
    }
    
    .ClosebtnBlock{
        right: 5px;
        top: 5px;
    }
}

@media screen and (max-width:350px){
    .ClosebtnBlock {
        right: 5px;
        top: 5px;
    }
}

.visitor-count-block {
    display: flex;
    padding: 15px;
    justify-content: center;
    flex-direction: row;   
    gap: 8px;
    border-top: 0.5px solid rgba(112, 112, 112, 0.5);

}
.visitor-number {
    font-family: 'Roboto';
    font-size: 20px;
    font-weight: bold;
    color: #131415;
    border-bottom: 3px solid #dfa83b;
    line-height: 1.8;
    height: 34px;
}
.visitor-text {
    display: flex;
    font-size: 16px;
    color: #131415;
    flex-direction: column;
    border-left: none;
    padding-top: 10px;
    padding-left: 2px;
}
.visitor-label {
    font-family: 'Roboto';
    font-size: 11px;
    color: #2E2E2E;
    opacity: 0.5;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 2px solid #dfa83b;  
    padding-top: 4px;
}

#premium-download-section-mobile {
    display: none;
}