:root{
    --primary-color:orange;
    --primary-dark-color: #443601;
    --secondary-color: rgb(255, 183, 48);
    --bg-color: rgba(255, 251, 236);
    --third-color: #51eede;
    --forth-color: bisque;
    --bx-shadow: 0 7px 15px rgba(0,0,0,0.5);
    --button-shadow: 0 5px 10px rgba(0,0,0,0.5);
    --card-morphism: 20px 20px 60px #bebebe,
    -20px -20px 60px #ffffff;
    --text-color:  #242323;
    --nav-height: 80px;
    --bx-radius: 10px;
    --white-color: #fff;
    --span-height: 70px;
    --theme-color: linear-gradient(to right,var(--primary-color), var(--secondary-color));

    --font-shadow: 2px 1px 2px var(--primary-dark-color),
    2px 2px 2px var(--primary-dark-color),
    2px 3px 2px var(--primary-dark-color),
    2px 4px 2px var(--primary-dark-color),
    2px 5px 2px var(--primary-dark-color),
    2px 5px 2px var(--primary-dark-color),
    2px 5px 2px var(--primary-dark-color),
    2px 5px 2px var(--primary-dark-color),
    2px 5px 2px var(--primary-dark-color),
    6px 5px 2px var(--primary-dark-color);
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    scroll-behavior: smooth;
}

body{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    height: 100vh;
    background-color: var(--bg-color);
    /* overflow: hidden; */
    overflow-x: hidden;
    transition: .3s ease;
}

header{
    height: var(--nav-height);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-bottom: 5px solid var(--primary-dark-color) ;
    border-radius: 0 0 var(--bx-radius) var(--bx-radius);
    box-shadow: var(--bx-shadow);
    margin-bottom: 10px;
    /* animation: SlidingTop .5s; */
}

@keyframes SlidingTop{
    from{
        transform: translateY(-20px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

header nav{
    /* background-color: aqua; */
    display: flex;
    width: 100%;
    justify-content: space-around;
    /* justify-content: center; */
    align-items: center;
    /* padding-left: 60px; */
    /* padding-right: 60px; */
}

header nav .logo{
    width: 120px;
    /* height: 100%; */
    /* background-color: var(--secondary-color); */
    height: calc(var(--nav-height) - 20px);
    position: relative;
}

header nav .logo img{
    width: 100%;
    height: 100%;
}

header nav .menu_btn{
    display: none;
   
    /* height: 100%; */
}

header nav ul{
    display: flex;
    gap: 2rem;
    font-size: 1.5rem;
    list-style: none;
    
}

header nav a{
    text-decoration: none;
    color: var(--text-color);
    font-size: clamp(12px, 4vw, 20px);
    font-weight: 800;
    
    /* background-color: var(--secondary-color); */
}
header nav a::after{
    content: '';
    width: 0%;
    height: 3px;
    transition: .1s ease;
    display: block;
    background-color: var(--white-color);
}

header nav a.active::after{
    width: 100%;
}

header nav a:hover{
    color: var(--white-color);
}

.active{
    color: var(--white-color);
}

header nav a:hover::after{
    width: 100%;
}

section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width:  90%;
    
}

#element{
    color: var(--primary-color);
    font: 3em Arial, sans-serif;
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 700;
    background-color: transparent;
    position: relative;
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif;
    text-shadow: var(--font-shadow);
    animation: Slidingbottom .7s;
}

@keyframes Slidingbottom{
    from{
        transform: translateY(5px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}



section .heading{
    position: relative;
    top: 10px;
    text-align: center;
    animation: SlidingTop .5s;
}

section .content{
    width: 100%;
    /* background: #a59d9d;   */
    display: flex;
    align-items:  center;
}

section .content .left{
    width: 70%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding-left: 10px; */
    animation: SlidingLeft .5s;
   
}

section .content .left .paragraph{
    /* background: aqua; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
   
    /* box-shadow: var(--bx-shadow); */
}

section .content .left .paragraph p{
    color: var(--text-color);
    font-size: clamp(12px, 4vw, 20px);
    text-align: left;
    margin-right: 40px;
    /* background: #3494E6; */
}

section .content .right{
    width: 30%;
    /* background-color: red; */
    height: 100%;
    display: flex;
    /* align-items: flex-start; */
    align-items: center;
    justify-content: center;
    /* background: #b77d7d; */
    animation: SlidingRight .5s;
}

section .content .right .image{
    aspect-ratio:  1 / 1;
    border-radius: 50%;
    overflow: hidden;
    animation: bounce 4s infinite;
    -webkit-box-reflect: below 1px linear-gradient(transparent, rgba(154, 139, 139, 0.333));
    box-shadow: 0 0 5px var(--third-color), 0 0 15px var(--third-color),
                0 0 25px var(--third-color), 0 0 75px var(--third-color);
}

@keyframes bounce {
    0% { transform: translateY(0);}
    40% { transform: translateY(-20px);}
    60% { translate: translateY(-10px);}
    100% { transform: translateY(0px);}
}

section .content .right .image img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.button{
    border: none;
    padding: 8px;
    width: 250px;
    height: 50px;
    border-radius:  10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 15px;;
    background: var(--theme-color) ;
    transition: .2s ease;
    color: var(--text-color);
    box-shadow: var(--button-shadow);
}

.button ion-icon{
    font-size: 24px;
}

.button:hover{
    /* transform: translateY(-3px); */
    box-shadow: none;
    /* background: transparent; */
    scale: 1.05;
    cursor: pointer;
    /* border: 3px solid var(--primary-color); */
    /* color: var(--primary-color); */
}

.content1{
    width: 100%;
    /* background: #a59d9d;   */
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items:  center;
    gap: 20px;
    margin-bottom: 40px; 
}

.content1 .left1{
    width: 50%;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 30px;
    animation: SlidingLeft .5s;
}

.content1 .left1 .paragraph{
    font-size: clamp(12px, 4vw, 20px);
}


section .content1 .right1{
    width: 50%;
    /* padding: 15px; */
    animation: SlidingRight .5s;
}

section .content1 .right1 .image1{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

section .content1 .right1 .image1 img{
    width: 100%;
    height: 100%;
    /* transform: rotateY(180deg); */
    /* mix-blend-mode: color-burn; */
}

.content2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 30px;
    margin-bottom:  60px;
}

.content2 .details{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
    flex-wrap: wrap;
}

.content2 .details .detail_bx{
    width: 30%;
    min-width: 350px;
    display: flex;
    /* gap: 20px; */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* border: 3px solid var(--primary-color); */
    height: 220px;
    /* padding-top: 20px; */
    border-radius: 20px;
    box-shadow: var(--bx-shadow);
    transition: .2s ease;
    border-top: 10px solid var(--primary-color);
    border-bottom: 10px solid var(--primary-color);
    animation: SlidingTop .5s;
}

#address{
    animation: SlidingLeft .5s;
}

#email_info{
    animation: SlidingTop .5s;
}

#call_info{
    animation: SlidingRight .5s;
}

.content2 .details .detail_bx:hover{
    scale: 1.03;
}

.content2 .details .detail_bx ion-icon{
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-color);
}

.content2 .details .detail_bx h4{
    font-size: 30px;
    margin-bottom: 20px;
}

p{
    font-size: clamp(12px, 4vw, 20px);
}

.content2 .details .detail_bx p{
    line-height: 30px;
}

.content2 .contact_bx{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;    
    gap: 20px;
}

.content2 .contact_bx .map{
    width: 50%;
    height:  100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 3px solid var(--primary-color); */
    border-radius: 20px;
    /* background: var(--theme-color); */
    overflow: hidden;
    box-shadow: var(--bx-shadow);
    animation: SlidingLeft .5s;
}

.content2 .contact_bx .map iframe{
    width: 100%;
    height: 100%;
}

.content2 .contact_bx .form{
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    /* border: 3px solid var(--primary-color); */
    gap: 20px;
    border-radius: 20px;
    padding-bottom: 30px;
    box-shadow: var(--bx-shadow);
    overflow: hidden;
    transition: .2s ease;
    border-bottom: 10px solid var(--primary-color);
    animation: SlidingRight .5s;
}

.content2 .contact_bx .form:hover{
    scale: 1.03;
}

.form h2{
    background: var(--theme-color);
    width: 100%;
    font-size: clamp(28px, 6vw, 54px);
    text-align: center;
    /* border-radius: 10px; */
    color: var(--primary-dark-color-color)
}

.form .feild{
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 10px; */
    position: relative;
    /* margin: 50px; */
}

.form .feild label{
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    color: grey;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none; /* Prevent label from being interactive */
    transition: 0.3s ease-out; /* Add transition effect */
}

.form input{
    width: 100%;
    padding: 15px;
    border: 3px solid #ccc;
    border-radius: 20px;
    background: transparent;
    outline: none; /* Remove default outline */
    transition: .2s ease;
    /* box-shadow: 0 10px 12px rgba(0,0,0,0.5); */
}

.form input:focus{
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    outline: none;
    color: var(--primary-dark-color)
}



.form input:focus::placeholder{
    color: var(--primary-color);
    opacity: 0;
}


.form input:focus + label{

    visibility: visible;
    opacity: 1;
    top: 0;
    font-size: 16px; /* Optional: Reduce font size */
    color: var(--text-color); /* Optional: Change color on focus */
    background: var(--primary-color);
    height: 10px;
    border-radius: 20px;;
    padding: 8px 15px;
}

.form textarea{
    width:  100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    transition: .2s ease;
    font-size: 16px;
    background: var(--bg-color);
}

.form textarea:focus{
    outline: none;
    border: 2px  solid var(--primary-color);
    scale: 1.05;
    padding: 20px 10px;
}

.form textarea:focus::placeholder{
    color: grey;
    /* opacity: 0; */
}

.form textarea:focus + label {
    top: 5px;;
    visibility: visible;
    opacity: 1;
    font-size: 16px; /* Optional: Reduce font size */
    color: var(--text-color); /* Optional: Change color on focus */
    background: var(--primary-color);
    height: 10px;
    border-radius: 20px;
    padding: 8px;
}

.form input[type="submit"]{
    border: none;
    padding: 8px;
    max-width: 250px;
    height: 50px;
    width: 60%;
    border-radius:  10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 15px;;
    background: var(--theme-color) ;
    transition: .2s ease;
    color: var(--text-color);
    box-shadow: var(--button-shadow);
}

.form input[type="submit"]:hover {
    cursor: pointer;
    box-shadow: none;
    /* background: transparent; */
    scale: 1.05;
}


@media(max-width: 1024px){
    .content2 .contact_bx{
        display: flex;
        flex-direction: column;
    }
    .content2 .contact_bx .map{
        width: 85%;
        height: 40vw;
    }

    .content2 .contact_bx .form{
        width: 85%;
    }
}





.footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
    width: 100%;
    /* height: 300px; */
    align-items: center;
    flex-wrap: wrap;
    /* padding: 2rem 7%; */
    padding: 2rem 0;
    background: var(--theme-color);
    box-shadow: 0 -5px 7px rgba(0,0,0,0.5);
    border-top: 5px solid var(--primary-dark-color) ;
    border-radius: 10px 10px 0 0;
    animation: Slidingbottom .5s;
 }

 .footer .upper_part{
    display:  flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    flex-wrap: wrap;

    gap: 30px;
    border-bottom: 2px solid var(--primary-dark-color);
    /* font-size: 20px; */
 }

 .footer .upper_part a{
    color: var(--text-color);
    font-size: clamp(12px, 4vw, 20px);
    transition: .2s ease;
 }

 .footer .upper_part a:hover{
    color: var(--bg-color);
    scale: 1.1;
 }

 .footer .upper_part h4{
    font-size: clamp(20px, 6vw, 30px);
 }

 .footer .upper_part .imp_link{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 250px;
    justify-content: center;
 }
 .footer .upper_part .product_link{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 250px;
    justify-content: center;
 }
 .footer .upper_part .client_link{
    display:flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 250px;
    justify-content: center;
 }

 .footer .upper_part .about_info{
    display:flex;
    flex-direction: column;
    /* align-items: center; */
    width: 250px;
    justify-content: center;
 }

 .footer .upper_part .about_info b{
    font-size: clamp(12px, 4vw, 18px);
 }

 .footer .upper_part .about_info .logo{
    width: 80%;
    height: 40%;
 }

 .footer .upper_part .about_info .logo img{
    width: 100%;
    height: 100%;
 }



 .footer .lower_part{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    width: 90%
 }

 .footer .lower_part .footer-text{
    width: 600px;
    text-align: center;
 }

.footer .lower_part .footer-text p{
    font-size: clamp(12px, 4vw, 20px);
    color: var(--text-color);    
 }

 /* .footer .lower_part .social_media{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 60px;
 } */

/* ----------------social media -------------------*/

.social_media{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    /* background: white; */
}

.tooltip-container {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 17px;
    border-radius: 10px;
  }
  
  .tooltip {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-radius: 15px;
   
  }

  
  .profile {
    background: #2a2b2f;
    border-radius: 10px 15px;
    padding: 10px;
    border: 1px solid #52382f;
  }

  .tooltip::after{
    content: '';
    display: flex;
    width: 20px;
    height: 20px;
    background-color: #2a2b2f;
    position: relative;
    bottom: 13px;
    right: -70px;
    transform: rotate(45deg);
  }
  
  
  .tooltip-container:hover .tooltip {
    top: -130px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .tooltip-container .icon {
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
  }
  .tooltip-container .layer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 35px;
    /* background: transparent; */
    transition: transform 0.3s;
  }
  .icon:hover .layer {
    transform: rotate(-35deg) skew(20deg);
  }
  .layer span {
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 35px;
    border: 1px solid #fff;
    border-radius: 15px;
    transition: all 0.3s;
    /* overflow: hidden; */
  }

  .tooltip-container:nth-child(2) .layer span{
    border: 1px solid #0077B5;
  }

  .tooltip-container:nth-child(3) .layer span{
    border: 1px solid #0077B5;
  }

  .tooltip-container:nth-child(4) .layer span{
    border: 1px solid #0077B5;
  }

  .tooltip-container:nth-child(5) .layer span{
    border: 1px solid #0077B5;
  }
  
  .layer span,
  .text {
    color: #e6683c;
    border-color: #e6683c;
  }



  .tooltip-container:nth-child(2)  .text,
  .tooltip-container:nth-child(2)  .layer span{
    color: #0077B5;
    border-color: #0077B5;
  }

  .tooltip-container:nth-child(3)  .text,
  .tooltip-container:nth-child(3)  .layer span{
    color: rgb(86, 86, 252);
    border-color: rgb(86, 86, 252);
  }

  .tooltip-container:nth-child(4)  .text,
  .tooltip-container:nth-child(4)  .layer span{
    color: #25D366;
    border-color: #25D366;
  }

  .tooltip-container:nth-child(5)  .text,
  .tooltip-container:nth-child(5)  .layer span{
    color: #1DA1F2;
    border-color: #1DA1F2;
  }
  
  .icon:hover.layer span {
    box-shadow: -1px 1px 3px #e6683c;
  }
  .icon .text {
    position: absolute;
    left: 50%;
    bottom: 0;
    opacity: 0;
    font-weight: 500;
    transform: translateX(-50%);
    transition: bottom 0.3s ease, opacity 0.3s ease;
  }
  .icon:hover .text {
    bottom: -20px;
    opacity: 1;
  }
  
  .icon:hover .layer span:nth-child(1) {
    opacity: 0.2;
  }
  .icon:hover .layer span:nth-child(2) {
    opacity: 0.4;
    transform: translate(5px, -5px);
  }
  .icon:hover .layer span:nth-child(3) {
    opacity: 0.6;
    transform: translate(10px, -10px);
  }
  .icon:hover .layer span:nth-child(4) {
    opacity: 0.8;
    transform: translate(15px, -15px);
  }
  .icon:hover .layer span:nth-child(5) {
    opacity: 1;
    transform: translate(20px, -20px);
  }
  
  .instagramSVG {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
     }

  .instagramSVG ion-icon{
    color: white;
    height: 100%;
    background: -webkit-linear-gradient(
      45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%
    );
    background: linear-gradient(
      45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%
    );
    border-radius: 15px;
    /* font-size: 70px; */
    font-size: 3em;
}


  .linkedin_icon {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0077B5;
    }

    .linkedin_icon ion-icon{
        color: #007785;
        height: 100%;
        width: 100%;
        background: white;
        border-radius: 15px;
    
        font-size: 3em;
    }

    .facebook_icon ion-icon{
        color: #007785;
        height: 100%;
        width: 100%;
        background: white;
        border-radius: 15px;
    
        font-size: 3em;
    }

    .whatsapp_icon ion-icon{
        color: #007785;
        height: 100%;
        width: 100%;
        background: white;
        border-radius: 15px;
    
        font-size: 3em;
    }

    .twitter_icon ion-icon{
        color: #007785;
        height: 100%;
        width: 100%;
        background: white;
        border-radius: 15px;
    
        font-size: 3em;
    }

    .youtube_icon ion-icon{
        color: red;
        height: 100%;
        width: 100%;
        background: white;
        border-radius: 15px;
    
        font-size: 3em;
    }

    .tooltip-container:nth-child(3) ion-icon{
        color: rgb(86, 86, 252);
    }

    .tooltip-container:nth-child(4) ion-icon{
        color: white;
        background: #25D366;
    }

    .tooltip-container:nth-child(5) ion-icon{
        color: #1DA1F2;
    }

    .tooltip-container:nth-child(6) ion-icon{
        color: red;
    }

  .user {
    display: flex;
    gap: 10px;
  }
  .img {
    width: 50px;
    height: 50px;
    font-size: 25px;
    font-weight: 700;
    border: 1px solid #e6683c;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
  }

  .tooltip-container:nth-child(2) .img{
    border: 1px solid #007785;
  }

  .tooltip-container:nth-child(3) .img{
    border: 1px solid rgb(86, 86, 252);
  }

  .tooltip-container:nth-child(4) .img{
    border: 1px solid #25D366;
  }

  .tooltip-container:nth-child(5) .img{
    border: 1px solid #1DA1F2;
  }

  .tooltip-container:nth-child(6) .img{
    border: 1px solid red;
  }

  .name {
    font-size: 17px;
    font-weight: 700;
    color: #e6683c;
  }

  .tooltip-container:nth-child(2) .name{
    color: #007785;
  }

  .tooltip-container:nth-child(3) .name{
    color: rgb(86, 86, 252);
  }

  .tooltip-container:nth-child(4) .name{
    color: #25D366;
  }

  .tooltip-container:nth-child(5) .name{
    color: #1DA1F2;
  }

  .tooltip-container:nth-child(6) .name{
    color: red;
  }

  .social_details {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #fff;
  }
  .about {
    color: #ccc;
    /* padding-top: 5px; */
  }
  

/* ---------------------------------------------- */
.footer-iconTop{
    position: fixed;
    bottom: 15px;
    right: 20px;
 }

 
 .footer-iconTop a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: var(--theme-color);
    border-radius: 50%;
    border: .2rem solid var(--primary-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
 }

.footer-iconTop a:hover{
    /* border-color: var(--bg-color); */
    transform: translateY(-2px);
    box-shadow: var(--button-shadow);
 }

.footer-iconTop a ion-icon{
    font-size: 2.4rem;
    color: var(--text-color);
 }

 @keyframes SlidingLeft{
    from{
        transform: translateX(-20px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
 }

 @keyframes SlidingRight{
    from{
        transform: translateX(20px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
 }


/*------------ Product page------------- */

section .category{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: left;
    width: 100%;
}

section .category h1{
    font: 3em Arial, sans-serif;
    font-size: clamp(28px, 4vw, 54px);
    
    /* margin-top: 20px; */
}

section .category .card .product{
    position: relative;
    display: flex;
    border-radius: 2rem;
    min-width: 280px;
    height: 250px;
    width: 20%;
    max-width:  360px;
    /* height: 20%; */
    /* height: 300px */
    background: var(--bg-color);
    /* background: var(--theme-color); */
    box-shadow: var(--card-morphism);
    border-top: 15px solid var(--primary-color);
    border-bottom: 15px solid var(--primary-color);
    overflow: hidden;
    transition: .3s ease;
    animation: Slidingleft .5s;
}

@keyframes Slidingleft{
    from{
        transform: translateX(-5px);
        opacity: 0;
    }
    to{
        transform: translateX(0);
        opacity: 1;
    }
}
 .category .card .product img{
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    /* object-fit: cover; */
    /* opacity: 1; */
    transition: .3s ease-in-out;
}

.category .card{
    width: 100%;
    /* height: calc(100% - (var(--nav-height))); */
    /* background-color: var(--forth-color); */
    position: relative;
    top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    /* display: grid;
    grid-template-columns: repeat(4, 1fr); */
    padding-bottom: 40px;
    gap: 45px;
}

.product .product_layer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .1), var(--primary-color));
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-direction: column;
    text-align: center;
    padding: 0, 4rem;
    opacity: 0;
    transition: 0.5s ease;
}

.product:hover .product_layer{
    opacity: 1;
 }

 .product:hover img{
    opacity: 0.5;
    scale: 1.2;
 }

 .product:hover{
    /* opacity: 0.5; */
    scale: 1.1;
 }

.product .product_layer h4{
    font-size: 2rem;
    color: black;
}

.product .product_layer p{
    font-size: 1.3rem;
    margin: .3rem 0 1rem;
    color: black;
}

.product .product_layer a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    padding:  10px 20px;
    /* width: 5rem; */
    /* height: 5rem; */
    background: var(--primary-dark-color);
    
    border-radius: 20px;
    color: var(--bg-color);
    /* border: 2px solid var(--primary-color); */
    transition: .1s ease;
}

.product .product_layer a:hover{
    scale: 1.05;
    box-shadow: var(--button-shadow);

}

.popup_background .popup_box{
    margin: 70px auto;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    /* padding: 15px; */
    background: var(--theme-color);
    border-radius: 10px;
    width: 650px;
    height: 400px;
    position: relative;
    border: 3px solid var(--primary-color);
    transition: all .5s ease-in-out;
}

.popup_background .popup_box .close{
    position: absolute;
    top: 0;
    right: 10px;
    /* background: blue; */
    color: var(--primary-dark-color);
    font-size: 2em;
    text-decoration: none;
    z-index: 1;
    /* padding: 10px; */
}


.popup_background .popup_box .product-container {
    width: 50%;
    position: relative;
    /* height: 100%; */
    display:flex;
    justify-self: center;
    align-items: center;
    flex-direction: column;
    /* background-color: rgb(88, 192, 74); */
}

.popup_background .popup_box .product-container .main-image {
    background-image: url('product/nurse call system/Nurse_Call_1.jpg');
    /* background-color: aqua; */
    background-size: cover; /* adjust to contain instead of cover */
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    margin-left: 10px;
    border: 1px solid red;
    /* background-color: red; */
    /* margin: 0; */
    padding: 0;
    width: 100%;
    height: 220px; /* adjust height to better fit the image */
    transition: ease-in 0.3s;
  }

  .popup_background .popup_box .product-container .main-image::before{
    content: '';
    width: 350px;
    height: 1px;
    position: absolute;
    top: -47px;
    left: 200px;
    background-color: red;
    transform: rotate(-15deg);
    display: none;
    transition: ease 0.3s;
  }

  .popup_background .popup_box .product-container .main-image:hover::before,
  .popup_background .popup_box .product-container .main-image:hover::after{
    display: block;
  }

  .popup_background .popup_box .product-container .main-image::after{
    content: '';
    width: 350px;
    height: 1px;
    position: absolute;
    top: 265px;
    left: 200px;
    background-color: blue;
    z-index: 1;
    transform: rotate(15deg);
    display: none;
    transition: ease 0.3s;
  }


.zoom-window {
    position: absolute;
    top: -53px;
    right: -296px;
    width: 400px; /*Adjusted zoom window size*/
    height: 400px;  /*Adjusted zoom window size*/
    border: 1px solid #da0000;
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-size: 300% 300%; /*Zoom effect*/
    display: none;
    background-image: url('product/nurse call system/Nurse_Call_1.jpg');
    z-index:  999;
}

.popup_background{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .8);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.popup_background:target{
    opacity: 1;
    z-index: 1;
    visibility: visible;
}

.popup_box .product-container .other_image{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: var(--primary-dark-color);
    margin-top: 30px;
    width: 300px;
    height: 70px;
    border-radius: 10px;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    /* padding: 4px; */
    /* margin-left: 0; */
    padding: 0;
    /* gap: 30px */
}

.popup_box .product-container .other_image img{
    width: 50px;
    height: 50px;
    margin: 10px;
    /* aspect-ratio: 1/1; */
    border-radius: 10px;
    /* margin: 10px; */
    object-fit: cover;
    /* padding-right: 20px; */
    transition: .1s ease;
}

.popup_box .product-container .other_image img:hover{
    border: 2px solid var(--primary-color);
    transform: translateY(-2px);
}

.popup_background .popup_box .content{
    background: var(--bg-color);
    display: flex;
    flex-direction:  column;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100%;
    position: relative;
    top: 0;
    gap: 0;
    margin-left: 20px;
    /* padding: 10px; */
    border-radius: 60px 5px 5px 60px;
}

.popup_box .content h2{
    text-decoration: underline;
    font-size: 30px;
    text-align: center;
    /* background-color: red; */
    padding: 10px;
    /* padding-bottom: 20px; */
    color: var(--primary-dark-color);
    margin: 0;
}

.popup_box span p{
    font-weight: 800;
    font-size: 25px;
    color: rgb(55, 55, 55)
}

.popup_box p{
    text-align: center;
    color: black;
    font-weight: 200; 
    font-size: 17px;
    /* background: yellowgreen; */
    margin: 0;
    padding: 20px;
    padding-bottom: 10px;
}





@media(max-width: 560px){
    .popup_background .popup_box{
        display: flex;
        flex-direction: column;
        /* gap: 20px; */
        height: auto;
        width:350px;
        padding-top: 20px;
        margin: 0;
        gap: 20px;
    }

    .popup_background .popup_box .close{
        top: -10px;
        right: 5px;
        /* background-color: blue; */
    }

    .popup_background .popup_box .product-container{
        /* background-color: #00da16; */
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;   
        /* padding: 20px; */
    }

    .popup_background .popup_box .product-container .main-image{
        width: 90%;
        /* height: 100%; */
        margin-right: 0;
        margin: 0;
        padding: 0;
        background-size: cover;
        /* background-color: aqua; */
        /* transform: translateX(-5px); */
        /* padding: 20px; */
    }

    .popup_background .popup_box .content{
        /* background-color: yellow; */
        padding: 0;
        margin: 0;
        /* height: 30px; */
        width: 100%;
        border-radius: 60px 60px 5px 5px;
    }

    .popup_background .popup_box .content p{
        width: 100%;
        padding: 0;
        margin: 0;
        /* background-color: aqua; */
    }

    .popup_background .popup_box .product-container .main-image:hover::before,
  .popup_background .popup_box .product-container .main-image:hover::after{
    display: none;
  }

  .footer .lower_part{
    /* display: flex; */
    justify-content: start;
    width: 80%;
  }

  .footer .lower_part .social_media{
    gap: 10px;
  }
}

/*---------------- BREAKPOINTS----------------- */

@media (max-width: 850px){
    section .content{
        flex-direction: column-reverse;
        gap: 30px;
    }

    section .content .left{
        width: 100%;
    }


    section .content .right{
        width: 60%;
    }

    section .content1{
        flex-direction: column-reverse;
        gap: 30px;
    }

    section .content1 .left1{
        width: 100%;
        align-items: center;
    }

    section .content1 .left1 .paragraph{
        text-align: center;
    }


    section .content1 .right1{
        width: 100%;
    }



    header nav{
        justify-content: space-around;
    }

    header nav .menu_btn{
        display: flex;
        position: relative;
        font-size: 30px;
        right: 0;
        /* display: flex; */
        align-items: center;
        justify-content: center;
        width: 10%;
    }


    header nav ul{
        /* display: none; */
        transition: .2s ease;
        position: absolute;
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 95%;
        z-index: 1;
        gap: 0;
        /* height: 315px; */
        /* height: 0; */
        top: -350px;
        background: rgba(0, 0, 0, .5);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        overflow: hidden;
        border-left: 5px solid var(--primary-color);
        border-right: 5px solid var(--primary-color);
        box-shadow: var(--bx-shadow);
        /* right: -200px; */
    }

    header nav li{
        width: 100%;
        display: flex;
        align-items: center;
        padding: 20px 0;
        justify-content: center;
    }

    header nav ul a.active{
        color: var(--white-color);
    }
    
    header nav ul a{
        width: 100%;
        color: var(--white-color);
    }

    header nav ul a li:hover{
        background: var(--theme-color);
        color: var(--text-color);
    }

    

    header nav a::after{
        display: none;
    }

    header nav a.active{
        color: var(--text-color);
    }

    header nav li:hover{
        background: var(--theme-color);
        box-shadow: var(--bx-shadow);
    }

    section .content .left .paragraph {
        box-shadow: 0 3px 2px rgba(0, 0, 0, .5);
        height: 500px;
        overflow: auto;
    }

    section .content .left .paragraph p{
        text-align: center;
        margin-right: 0;
    }

    section .content .right .image{
        -webkit-box-reflect: none;
        box-shadow: 0 0 5px var(--third-color), 0 0 15px var(--third-color),
                    0 0 25px var(--third-color), 0 0 75px var(--third-color);
    }

    .category .card{
        justify-content: center;
    }
    section .category h1{
       text-align: center;
       background: var(--primary-color);
    }


}
