/*
Theme Name: Astra Child
Template: astra
*/

h1, h2, h3, p, button{
    font-family: 'poppins', sans-serif;
}
.staff-card {
    font-family: 'poppins', sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url('/wp-content/uploads/2025/07/vertical-low-angle-shot-high-rise-skyscrapers-glass-facade-frankfurt-germany.jpg');
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}
.card{
    width: 400px;
    /*min-height: unset;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px auto; /* was 10px auto */
    font-family: 'poppins', sans-serif;
}

/*.image-card {*/
/*  width: 100%;*/
/*  position: relative;*/
/*}*/

.staff-photo {
  width: 100%;
  height: 280px;
  object-fit: auto;
  object-position: top center;
  border-radius: 20px 20px 0 0;
  display: block;
}

.logo-ellipses{
    position: relative;
    width: 320px;
}

.line{
    width: 450px;
    position: absolute;
    top: -130px;
}

.rectangle{
    width: 100%;
    position: relative;
    top: -100px;
}

.content{
    position: absolute;
    color: #fff;
    top: 30px;
    padding-left: 20px;
    font-family: 'poppins' sans-serif;
}

.company-logo{
    position: absolute;
    /*left: 20px;*/
    top: -110px;
    width: 100px;
}

.image-card .logo{
    width: 100%;
    max-width: 55px;
    margin-top: 20px;
    position: absolute;
    left: 35px;
    z-index: 1;
}

.image-card .ellipses{
    width: 75%;
    margin: 10px 0px 30px 20px;
}

.content .title{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}
.content h2{
    font-size: 18px;
    font-family: 'poppins', sans-serif;
    color: #fff
}

.content .last-name{
    /*font-size: 15px;*/
    font-size: 12px;
    color: #fff;
    transform: rotate(-90deg);
    text-transform: uppercase;
    transform-origin: left top;
    position: absolute;
    top: 1px;
    left: 15px;
    margin-top: 10px;
    font-family: 'poppins', sans-serif;
}

.content hr{
    border: none;
    height: 2px;
    width: 70px;
    background-color: #fff;
    transform: rotate(90deg);
    position: absolute;
    top: -25px;
    left: 1px;
    margin-top: 10px;
}
.content .first-name{
    font-size: 40px;
    font-family: 'poppins', sans-serif;
    position: absolute;
    bottom: 38px;
    left: 50px;
    margin-top: 15px;
}

.content p{
    font-size: 10px;
    font-family: 'poppins', sans-serif;
}

.position-company{
    margin-top: 25px;
    margin-left: 32px;
}
/*.position-company .company{*/
/*    margin-top: -20px*/
/*}*/


.about-socials{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 75px;
    left: 20px;
}
.about-section{
    padding-bottom: 30px;
}

.about{
    background-color: #fff;
    border-radius: 20px;
    width:  230px;
    padding: 20px 20px 10px 20px; 
    margin: 20px 30px 10px 0px;
}
.about .location{
    font-size: 12px;
    padding: 0;
    margin: 0;
    color: #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.location i{
    background-color: #A42F32;
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
}
.about h2{
    font-size: 18px;
    font-weight: 700;
    font-style: bold;
    color: #A42F32;
    margin-top: -10px;
}

.bio{
    font-size: 12px;
    color: #A42F32;
    font-weight: 300;
    font-style: Light;
    font-size: 8px;

}

.about_btn{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    width: 90% !important;
}

.add-contact_btn{
    padding: 10px 20px 10px 20px;
    background-color: #fff;
    color: #A42F32;
    font-size: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: -25px;
    cursor: pointer;
}


.add-contact_btn:hover{
    background-color: #fff;
    color: #A42F32;
}
 .add-contact_btn i{
    border: 1px solid #A42F32;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
 }
 
 
 
.download_btn i{
    background-color: #fff;
    color: #A42F32;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qr-code_btn{
    background-color: #fff;
    color: #A42F32;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code_btn a{
    color: #A42F32;
}


.social-icons{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-size: 16px;
    padding-bottom: 30px;
    cursor: pointer;
}

.phone i{
    background-color: #058114;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px !important;
}
.instagram i{
    background-color: #A42F32;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px !important;
}

.facebook i{
    background-color: #0C6BE8;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px !important;
}
.linkedin i{
    background-color: #35BCFF;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px !important;
}
.globe i{
    background-color: #A42F32;
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px !important;
}
.share i{
    color: #fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    border-radius: 50%;
    margin-bottom: 10px !important;
}


.connections{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -70px;
}

.connect_btn{
    background-color: #A42F32;
    color: #fff;
    font-size: 15px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    text-align: center;
    /*padding: 1rem;*/
    position: relative;
    margin-top: -18px;
    overflow: hidden;
}

.connect_btn:hover{
    background-color: #A42F32;
    color: #fff;
}

.connect_btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    top: -100%;
    left: -100%;
    transition: all 0.5s ease;
}

.connect_btn:hover::before {
    top: 100%;
    left: 100%;
}
.connects{
    bottom: 5px;
}

.connects button{
    padding: 10px;
    background-color: #fff;
    font-size: 8px;
    color: #00000080;
}


/*Share Popup */
.popup-link{
  display:flex;
  flex-wrap:wrap;
}

.popup-link a{
    background: #333;
    color: #fff;
    padding: 10px 30px;
    border-radius: 5px;
    font-size:17px;
    cursor:pointer;
    margin:20px;
    text-decoration:none;
}

.popup-container {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: scale(1.3);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(21, 17, 17, 0.61);
    display: flex;
    align-items: center;
}

.popup-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 0px 20px 20px 20px;
    border-radius: 20px;
    width: 300px;
}
.popup-content h3{
    text-align: center;
    font-weight: bold;
    font-family: 'poppins';
}
.popup-content img{
    width: 100px;
    height: 100px;
    margin: 0 auto;
}
.popup-content button{
    background: #00000000;
    border: 1px solid #00000040;
    border-radius: 50px;
    padding: 10px;
    color: #050000;
    text-align: center;
    font-size: 10px;
}
.popup-content a.close{
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background: none;
    padding: 0;
    margin: 0;
    text-decoration:none;
}

.popup-content a.close:hover{
  color:#333;
}
.qr_share{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.qr_share img{
    width: 200px;
    height: 200px;
}

.popup-container:target{
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

/*Connect Popup */
.connect-popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* transparent dark overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.connect-popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  width: 70%;
  max-width: 400px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}
.connect-title{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #A42F32;
}

.connect-popup-close {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}
.connect-form input, .connect-form textarea{
    margin-bottom: 10px;
    font-size: 12px;
}

.connect-success-message {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  /*padding: 10px;*/
  border-radius: 5px;
  text-align: center;
}
.connect-success-message p{
    font-size: 12px;
}

/*Tablet*/
@media (min-width: 768px) and (max-width: 1023px) {
    .card{
    width: 600px;
    /*min-height: 100vh;*/
}
}

/* Laptop: 1024px – 1439px */
/*@media (min-width: 1024px) and (max-width: 1439px) {*/
/*  .staff-card {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    height: 100vh;*/
/*    overflow: hidden;*/
/*  }*/

/*  .card {*/
/*    width: 320px;*/
/*    margin: 0 auto;*/
/*  }*/

/*  .staff-photo {*/
/*    height: 260px;*/
/*  }*/

/*  .logo-ellipses {*/
/*    width: 320px;*/
/*  }*/

/*  .about-socials {*/
/*    top: 60px;*/
/*    left: 15px;*/
/*  }*/

/*  .about {*/
/*    width: 200px;*/
/*    padding: 14px;*/
/*    margin: 15px 20px 10px 0;*/
/*  }*/

/*  .about h2 { font-size: 14px; }*/
/*  .bio { font-size: 8px; }*/

/*  .phone i, .instagram i, .facebook i,*/
/*  .linkedin i, .globe i, .share i {*/
/*    width: 26px;*/
/*    height: 26px;*/
/*    margin-bottom: 8px !important;*/
/*  }*/

/*  .connections { margin-top: -55px; }*/

/*  .connect_btn {*/
/*    font-size: 13px;*/
/*    padding: 10px 20px;*/
/*    margin-top: -10px;*/
/*  }*/
/*}*/

/* Large Desktop: 1440px+ */
/*@media (min-width: 1440px) {*/
/*  .staff-card {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    height: 100vh;*/
/*    overflow: hidden;*/
/*  }*/

/*  .card {*/
/*    width: 360px;*/
/*    margin: 0 auto;*/
/*  }*/

/*  .staff-photo {*/
/*    height: 300px;*/
/*  }*/

/*  .logo-ellipses {*/
/*    width: 360px;*/
/*  }*/

/*  .about-socials {*/
/*    top: 70px;*/
/*    left: 18px;*/
/*  }*/

/*  .about {*/
/*    width: 230px;*/
/*    padding: 16px;*/
/*    margin: 18px 25px 10px 0;*/
/*  }*/

/*  .about h2 { font-size: 16px; }*/
/*  .bio { font-size: 9px; }*/

/*  .phone i, .instagram i, .facebook i,*/
/*  .linkedin i, .globe i, .share i {*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    margin-bottom: 10px !important;*/
/*  }*/

/*  .connections { margin-top: -65px; }*/

/*  .connect_btn {*/
/*    font-size: 15px;*/
/*    padding: 12px 24px;*/
/*    margin-top: -15px;*/
/*  }*/
/*}*/


