*,
*::before,
*::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
}

.hidden {
    display: none;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans Hebrew', 'Assistant', -apple-system, BlinkMacSystemFont, San Francisco, Helvetica Neue, Helvetica, Ubuntu, Roboto, Noto, Segoe UI, Arial, sans-serif;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--bg-color);
    color: var(--primary-color);
    /* color: black; */

}
a, a:visited, a:hover, a:active {
    color: inherit;
    text-decoration: none;
}


#enable-toolbar-trigger {
    top: -18px !important;
}


.top-image {
    width: 100%;
    height: 30vh;
    object-fit: cover;
    background-color: var(--primary-color);
}

.sticky{
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 10000;
}

.profile-image {
    width: 150px;
    height: 150px;
    top: 0;
    margin: auto;
    margin-top: -80px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    /* border: 5px solid var(--primary-color); */
    object-fit: cover;
    box-shadow: 0 0 8px 0 var(--primary-color);
}

.h1-name {
    text-align: center;
    margin-bottom: 0px;
    font-weight: 700;
    margin-top: 16px;
}

.h5-category{
    text-align:center;
    margin-bottom: 16px;
    font-weight: 400;

}

.socials-container, .share-container {
    display: flex;
    margin: 0 8%;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
}



.social-item, .share-item {
    width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.share-item{
    width: 5%;
}


.social-item .social-icon, .share-item .share-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    aspect-ratio: 1 / 1;

}



.social-item svg, .share-item svg {
    width: 50%;
    height: 50%;

}

.social-item svg path, .share-item svg path {
    fill: var(--primary-color);
}

.share-item.fb-share .share-icon{
    background: #3b5998;
    border-color: #3b5998;
}

.share-item.fb-share svg path{
    fill: white;
}


.share-item.copy-share .share-icon{
    background: white;
    border-color: #313131;
}

.share-item.copy-share svg path{
    fill: #313131;
}


.share-item.more-share .share-icon{
    background: #313131;
    border-color: #313131;
}

.share-item.more-share svg path{
    fill: white;
}

.share-item.email-share .share-icon{
    background: #ca0000;
    border-color: #ca0000;
}

.share-item.email-share svg{
    width: 80%;
    height: 80%;
}

.share-item.whatsapp-share svg{
    width: 60%;
    height: 60%;
}

.share-item.email-share svg path{
    fill: white;
}


.share-item.whatsapp-share .share-icon{
    background: #4ac959;
    border-color: #4ac959;
}

.share-item.whatsapp-share svg path{
    fill: white;
}

.section {
    padding: 0 20px;
}

.btn {
    background: var(--primary-color);
    /* border: 2px solid var(--bg-color); */
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 800;
    color: var(--bg-color);
    box-shadow: 0 0 4px 0 var(--primary-color);
}

.sep {
    height: 1px;
    width: 80%;
    margin: auto;
    background: var(--primary-color);
}


.reviews-container {
    display: flex;
}

#reviews-carousel .carousel-item {
    min-height: 150px;
}

#reviews-carousel .carousel-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.carousel-indicators {
    margin: auto;
}

.services-section ul{
    list-style:none;
}

#reviews-carousel li, .services-section ul li{
    padding: 8px 16px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    margin: 6px 0;
    background: white;
    border-radius: 24px;
}

#reviews-carousel li{
    background: transparent;
    margin: 0 6px;
}

#reviews-carousel li.active{
    background: white;
}


.form-section input, .form-section select{
    border: none;
    outline:none;
    border-bottom: 1px solid var(--primary-color);
    padding: 8px;
    background: transparent;
    color: var(--primary-color);
    width: 100%;
}

.form-section select{
    padding-right: 4px;
}

.form-section input::placeholder {
    color: var(--primary-color);
}

.form-section button {
    width: 80%;
    margin: auto;
    background: var(--primary-color);
    border: none;
    outline:none;
    border-radius: 24px;
    padding: 8px 16px;
    font-weight: 700;
    color: white;

}

.form-section .input {
    margin: 8px 0;
}

.morevision-logo{
    max-height: 50px;
    max-width: 70%;
    padding: 4px;
    object-fit:contain;
}



@media (max-width: 450px) {
    .socials-container{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .social-item {
        width: 70%;
        margin: auto;
    }

    .share-item{
        width: 10%
    }

    #enable-toolbar-trigger {
        top: -15px !important;
    }
    
    #enable-toolbar-trigger svg {
        width: 28px !important;
        height: 28px;
        overflow: initial;
    }
}



/* Animation */
.profile-image {
    /* Initial hidden state */
    opacity: 0;
    transform: translateY(-100%);
    animation: slideIn 0.8s ease-out forwards; /* Duration and easing */
  }
  
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(-100%);
    }

    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


.social-item {
    opacity: 0;
    transform: translateX(100px); /* Start from right */
    animation: slideInRight 0.8s ease-out forwards; /* Animation properties */
}

.save-contacts {
    opacity: 0;
    transform: translateX(100px); /* Start from right */
    animation: slideInRight 1.2s ease-out forwards; /* Animation properties */
}

/* Define the delay for each item */
.social-item:nth-child(1) {
    animation-delay: 0.2s;
}

.social-item:nth-child(2) {
    animation-delay: 0.4s;
}

.social-item:nth-child(3) {
    animation-delay: 0.6s;
}

.social-item:nth-child(4) {
    animation-delay: 0.8s;
}

.social-item:nth-child(5) {
    animation-delay: 1s;
}

.social-item:nth-child(6) {
    animation-delay: 1.2s;
}

.social-item:nth-child(7) {
    animation-delay: 1.4s;
}

.social-item:nth-child(8) {
    animation-delay: 1.6s;
}


.social-item:nth-child(9) {
    animation-delay: 1.8s;
}

.social-item:nth-child(10) {
    animation-delay: 2.0s;
}

.social-item:nth-child(11) {
    animation-delay: 2.2s;
}

.social-item:nth-child(12) {
    animation-delay: 2.4s;
}

/* Keyframes for sliding in from right to left */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px); /* Move from the right */
    }
    100% {
        opacity: 1;
        transform: translateX(0); /* End at the original position */
    }
}


.top-image {
    opacity: 0; /* Start hidden */
    animation: fadeIn 0.8s ease-in-out forwards; /* Same speed as profile */
}

@keyframes fadeIn {
0% {
    opacity: 0; /* Fully transparent */
}
100% {
    opacity: 1; /* Fully visible */
}
}