/* Reset and Base Styles */
 @import url('https://fonts.cdnfonts.com/css/gt-walsheim-trial');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: 'GT Walsheim Trial';
}

body {
     font-family: 'GT Walsheim Trial';
    min-height: 100vh;
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Background Wrapper */
.bg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 267px;
    overflow: hidden;
    background: linear-gradient(180deg, #527ac9 0%, #7ec09f 100%);
}

/* Content Container */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -230px;
    width: 100%;
    max-width: 700px;
    padding: 0 16px 25px;
    z-index: 1;
}

/* Avatar */
.avatar {
    width: 116px;
    border: 7px solid #fff;
    border-radius: 50%;
    box-shadow: 1px 6px 30px rgba(0, 31, 14, 0.05);
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: auto;
    display: block;
}

/* Name Section */
.name-section {
    margin-top: 32px;
    width: 100%;
    word-break: break-word;
}

.name-title {
    font-size: 1.25rem;
    margin-bottom: 9px;
    font-weight: 700;
    width: 100%;
    color: #fff;
    transition: all 0.5s;
    text-align: center;
}

@media (min-width: 480px) {
    .name-title {
        font-size: 1.5rem;
    }
}

/* Social Icons Row */
.social-icons-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 35px;
}

@media (min-width: 480px) {
    .social-icons-row {
        gap: 10px;
        margin-top: 25px;
    }
}

.social-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 1px 6px 30px rgba(0, 31, 14, 0.05);
    transition: all 0.3s ease;
    border: none;
}

.social-icon-btn:hover {
    opacity: 0.95;
    transform: scale(1.05);
}

@media (min-width: 480px) {
    .social-icon-btn {
        width: 62px;
        height: 62px;
    }
}

/* Contact Button */
.contact-btn {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    margin-top: 20px;
    padding: 20px 0;
    cursor: pointer;
    background-color: #527ac9;
    transition: all 0.5s;
    border: none;
}

.contact-btn:hover {
    opacity: 0.8;
}

.contact-btn p {
    font-size: 1.125rem;
    color: #fff;
    transition: all 0.5s;
}

/* Notes Section */

.notes-section {
           font-size: 1rem;
           line-height: 1.5rem;
           color: #767C83;
           text-align: center;
           margin-top: 24px;
         
           text-wrap: balance;
     
           margin-top: 1.5rem;
}

@media (min-width: 400px) {
    .notes-section {
        font-size: 0.875rem;
    }
}

@media (min-width: 480px) {
    .notes-section {
        font-size: 1rem;
    }
}

/* Card Section */
   .card {
    
      margin: auto;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      overflow: hidden;
    }

    .item {
      display: flex;
      align-items: center;
      padding: 16px;
      border-bottom: 1px solid #eee;
    }

    .item:last-child {
      border-bottom: none;
    }

    .item .button-all {
      flex: 1;
      display: flex;
      align-items: center;
    }

    .item .content {
      flex: 1;
    }

    .icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #f1f2f4;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
      font-size: 18px;
      color: #777D84;
    }

    .content {
      display: flex;
      flex-direction: column;
    }

    .label {
      font-size: .75rem;
      line-height: 1rem;
      color: #888;
      margin-bottom: 4px;
    } 
    
    .badge-button {      
font-size: 10px;      
padding: 6px 14px 6px 14px;      
color: rgb(70, 126, 249);      
background-color: rgb(245, 248, 255);      
margin-bottom: 4px;      
border: none;      
border-radius: 50px;      
width: fit-content;      
margin-top: 10px;      
cursor: pointer;
text-decoration: none;
    }
    .button-all {      
 


margin-bottom: 4px;      
border: none;      
border-radius: 50px;      
width: fit-content;      
margin-top: 10px;      
cursor: pointer;
text-decoration: none;
    }

    .value {
       font-size: 16px;
     
          color: rgb(0 0 0 / 62%);
      font-weight: 500;
    }
.card-section {
    width: 100%;
    margin-top: 24px;
}

.info-card {
    padding: 20px 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    box-shadow: 1px 6px 30px rgba(0, 31, 14, 0.05);
    margin-top: 24px;
}

@media (min-width: 480px) {
    .info-card {
        padding: 20px;
    }
    .value {
          font-size: 16px;
              color: rgb(0 0 0 / 62%);
    }
}

/* Phone/Web Items */
.info-item {
    width: 100%;
}

.info-button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.3s;
}

.info-button:hover {
    opacity: 0.8;
}

@media (min-width: 480px) {
    .info-button {
        gap: 16px;
    }
}

.icon-wrapper {
    background-color: #F9F9F9;
    padding: 11px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.icon-wrapper svg {
    display: block;
}

.info-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 100%;
    overflow: hidden;
    direction: ltr;
}

.info-label {
    font-size: 0.625rem;
    color: #767C83;
    direction: ltr;
    text-align: left;
}

@media (min-width: 400px) {
    .info-label {
        font-size: 0.75rem;
    }
}

@media (min-width: 480px) {
    .info-label {
        font-size: 0.875rem;
    }
}

.info-value {
    font-size: 0.75rem;
    color: #000;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: ltr;
    text-align: left;
}

@media (min-width: 400px) {
    .info-value {
        font-size: 0.875rem;
    }
}

@media (min-width: 480px) {
    .info-value {
        font-size: 1rem;
    }
}

.divider {
    width: 100%;
    height: 1px;
    margin: 15px 0;
    background-color: #F2F2F2;
    border-radius: 50%;
}

/* Location Section */
.location-button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.3s;
}

.location-button:hover {
    opacity: 0.8;
}

@media (min-width: 480px) {
    .location-button {
        gap: 16px;
    }
}

.location-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 480px) {
    .location-content {
        gap: 15px;
    }
}

.location-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.location-label {
    font-size: 0.625rem;
    color: #767C83;
    direction: ltr;
    text-align: left;
    margin-bottom: 2px;
}

@media (min-width: 400px) {
    .location-label {
        margin-bottom: 0;
    }
}

.location-value {
    font-size: 0.75rem;
    color: #000;
    font-weight: 500;
    word-break: break-word;
}

@media (min-width: 400px) {
    .location-value {
        font-size: 0.875rem;
    }
}

@media (min-width: 480px) {
    .location-value {
        font-size: 1rem;
    }
}

.map-btn {
    display: flex;
}

.show-map-btn {
    font-size: 0.625rem;
    color: #467ef9;
    padding: 6px 14px;
    border-radius: 22px;
    background-color: #f5f8ff;
    border: none;
    cursor: pointer;
}

/* Company Section */
.company-button {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    cursor: pointer;
    align-items: center;
    transition: opacity 0.3s;
}

.company-button:hover {
    opacity: 0.8;
}

@media (min-width: 480px) {
    .company-button {
        gap: 16px;
    }
}

.company-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 100%;
    direction: ltr;
}

.company-name {
    font-size: 0.625rem;
    color: #000;
    font-weight: 500;
    width: 100%;
    word-break: break-word;
}

@media (min-width: 400px) {
    .company-name {
        font-size: 0.875rem;
    }
}

@media (min-width: 480px) {
    .company-name {
        font-size: 1rem;
    }
}

/* Social Links Section */
.social-links-section {
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 20px;
}

.social-links-title {
    font-weight: 500;
    font-size: 1.125rem;
    color: #131D29;
    margin-bottom: 0;
}

@media (min-width: 480px) {
    .social-links-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
}

.social-links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 480px) {
    .social-links-container {
        gap: 15px;
    }
}

.social-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    cursor: pointer;
    box-shadow: 1px 6px 30px rgba(0, 31, 14, 0.05);
    margin: 5px 0;
    word-break: break-all;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-link:hover {
    opacity: 0.9;
}

.social-link-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 4px;
}

.social-link-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

@media (min-width: 480px) {
    .social-link-icons {
        gap: 12px;
    }
}

@media (min-width: 640px) {
    .social-link-icons {
        gap: 20px;
    }
}

.social-link-icon {
    width: 44px;
    margin-right: 0;
}

.social-link-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.social-link-name {
    font-size: 0.875rem;
    color: #131D29;
    font-weight: 500;
    word-break: break-words;
}

@media (min-width: 480px) {
    .social-link-name {
        font-size: 1rem;
    }
}

@media (min-width: 640px) {
    .social-link-name {
        font-size: 1.25rem;
    }
}

.social-link-desc {
    font-size: 0.625rem;
    color: #767C83;
    word-break: break-word;
}

@media (min-width: 480px) {
    .social-link-desc {
        font-size: 0.75rem;
    }
}

.arrow-icon {
    width: 24px;
    margin-left: 8px;
    flex-shrink: 0;
}

.arrow-icon svg {
    display: block;
}

/* RTL Support */
[dir="rtl"] .social-icons-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .info-content,
[dir="rtl"] .info-label,
[dir="rtl"] .info-value,
[dir="rtl"] .location-info,
[dir="rtl"] .location-label,
[dir="rtl"] .location-value,
[dir="rtl"] .company-content {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .info-label,
[dir="rtl"] .info-value,
[dir="rtl"] .location-label,
[dir="rtl"] .location-value {
    margin-right: 8px;
    margin-left: 0;
}

[dir="rtl"] .social-link-icon {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .social-link-name,
[dir="rtl"] .social-link-desc {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .arrow-icon svg {
    transform: rotate(180deg);
}

/* SVG Icons */
svg {
    display: block;
}

/* Utility Classes */
.hidden {
    display: none;
}

@media (max-width: 768px) {
  
       .bg-wrapper{
        height: 200px;
    }
    .avatar {
    width: 80px;
    }
    .name-title {
    font-size: 1.2rem;
    }
.name-section {
    margin-top: 13px;
}
.social-icons-row {
    margin-top: 5px;
}

.content-wrapper{
    margin-top: -143px;
}

.contact-btn{
    padding: 14px 0; 
}
}

@media (min-width: 768px) {
    .block-md {
        display: block;
    }
    .hidden-md {
        display: none;
    }


}

/* Animation */
.duration-500 {
    transition: all 0.5s;
}

/* Save Contact Button */
.save-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: none;
    border-radius: 50%;
    background-color: #f0f4ff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.save-contact-btn:hover {
    background-color: #527ac9;
}

.save-contact-btn:hover svg path {
    fill: white;
}

.save-contact-btn svg {
    width: 16px;
    height: 16px;
}
  
.notes-text {  
    display: -webkit-box;  
    -webkit-line-clamp: 4;  
    -webkit-box-orient: vertical;  
    overflow: hidden;  
}  
  
.notes-text.expanded {  
    -webkit-line-clamp: unset;  
}  
  
.read-more-btn {  
    display: block;  
    color: #007bff;  
    cursor: pointer;  
    font-size: 0.875rem;  
    margin-top: 8px;  
    text-align: center;  
    font-weight: 500;  
}  
  
.read-more-btn:hover {  
    text-decoration: underline;  
} 
