* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
   }
body{
    font-family: 'Poppins', sans-serif;
    background-color: #F2F2F2;
   }
   header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 22px;
    padding-top: 10px;
    padding-bottom: 3px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #074441;
    padding: 10px 35px 10px 35px;
    border-radius: 10px;
    width: 100%;
}

.logo img {
    display: block;
    height: 55px;
    width: auto;
    padding: 0;
    margin: 0;
}
.navbar a {
    text-decoration: none;
}
.contact-button {
    background-color: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight:600 !important;
    padding: 9px 20px;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-color: #ffffff;
    border-style:solid;
    color: #ffffff;
}
.contact-button img {
    margin-right: 5px;
}

.search-bar {
    flex: 1;
    max-width: 650px;
    height: 45px;
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}
.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 200px;
        height: 40px;
    }
}

.icons {
    display: flex;
    gap: 75px;
    cursor: pointer;
    position: relative;
}
@media (max-width: 768px) {
    .search-bar {
        max-width: 400px;
        height: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }
    header {
        padding: 7px;
    }
    .contact-button {
        font-size: 10px;
        padding: 6px 13px;
    }
    .container{
        padding: 30px;
    }
    .navbar {
        padding:5px 15px 5px 15px;
       
    }
    .slider {
        display: none !important;
    }
   .menu{
         width: 100%!important;
   }
   .arrow{
    rotate: 90deg!important;
}



}
@media (max-width: 480px) {
    .search-bar {
        max-width: 250px;
        height: 30px;
        border-radius: 6px;
    }
    .search-bar input{
        font-size: 12px;
    }
    .container h1 {
        font-size: 20px;
    }
    .container {
        padding: 10px!   important;
    }
    .container  h2{
        font-size: 11px;
    }
    .container p {
        font-size: 11px;
    }
    .container ul {
        font-size: 11px;
    }
    .logo img {
        height: 35px;
    }
    .hamburger img{
        margin-top: 3px;
        width: 30px;
        height: 30px;
       } 
}

.icon-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 28px;
    height: 28px;
}

.tooltip {
    position: absolute;
    top: 35px; /* Poziționează exact sub iconiță */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    margin-top: 5px;
}

.icon-container:hover .tooltip {
    opacity: 1;
}
@media (max-width: 768px) {

    .icons, .contact-button {
        display: none;
    }
    
}


.hamburger {
    display: none;
    cursor: pointer;
}
.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #05312F;
    color: white;
    padding-top: 20px;
    transition: 0.3s;
    z-index: 22;
}
.side-menu a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}
.side-menu a:hover {
    background-color: #05312F;
}
.side-menu .close-btn {
    position: absolute;
    top: 1px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
}
@media (max-width: 770px) {
 
    .hamburger {
        display: block;
    }
 
 }

/* Produse Recomandate */

.recommended-products-section {
    margin-top: -10px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.recommended-products-section h2 {
    font-size: 35px;
    font-weight: 700;
    margin-left: 10px;
    position: relative;
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
}

.recommended-products-section h2::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background-color: #05312F;
    position: absolute;
    bottom: -1px;
    left: 0;
    border-radius: 10px;
}

.recommended-products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.recommended-product-card {
    width: calc(20% - 5px); /* 5 products per row with reduced spacing */
    margin-bottom: 10px; /* Reduced margin-bottom */
    box-sizing: border-box;
    background: white;
    border-radius: 10px;
    padding: 10px;
    margin-right: 20px;
    flex: 0 0 310px; /* Dimensiunea fixă a fiecărui card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 470px; /* Dimensiune fixă pentru card */
    overflow: hidden; /* Ascunde textul care depășește dimensiunea cardului */
}

.recommended-product-card button a{
    text-decoration: none;
    color: white;
}

.recommended-product-card img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 10px;
}

.recommended-product-card h3 {
    font-size: 20px;
    margin: 5px 0; /* Reduce spațiul dintre h3 și p */
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.recommended-product-card p {
    font-size: 12px; /* Dimensiune mai mică pentru text */
    color: #666;
    margin: 3px 0; /* Reduce spațiul dintre p și elementele de mai jos */
    line-height: 1.2; /* Reduce înălțimea liniei pentru a putea adăuga mai mult text */
    overflow: hidden; /* Ascunde textul care depășește dimensiunea cardului */
    text-overflow: ellipsis; /* Adaugă puncte de suspensie pentru textul care depășește */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Limitează numărul de linii la 4 */
    -webkit-box-orient: vertical;
}

.recommended-product-card .product-footer {
    display: flex;
    justify-content: center;
    align-items: center;
}



.recommended-product-card .add-to-cart {
    background-color: #05312F;
    color: white;
    border: none;
    padding: 10px 50px;
    border-radius: 100px;
    cursor: pointer;
    transition: 0.3s;
}

.recommended-product-card .add-to-cart:hover {
    background-color: #05312F;
}


@media screen and (max-width: 768px) {
    .recommended-products-section {
        padding: 1px;
    }
    .recommended-product-card {
        flex: 0 0 200px;
        height: 350px;
    }
    .recommended-product-card h3 {
        font-size: 18px;
    }
    .product-footer .add-to-cart{
        padding: 8px 19px!important;
        font-size: 12px;
    }
    .recommended-products-container{
        justify-content: space-evenly;
    }
    .recommended-products-section h2 {
        font-size: 25px;
        margin-top: 60px;
    }
}
@media screen and (max-width: 408px){
    .recommended-product-card {
        flex: 0 0 180px;
        height: 350px;
    }
}

/* Ensure the styles for .product-card apply to .recommended-product-card as well */
.product-card, .recommended-product-card {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.product-card img, .recommended-product-card img {
    max-width: 100%;
    height: auto;
}

.product-footer .price {
    font-weight: bold;
}

.product-footer .add-to-cart {
    background-color: #05312F;
    color: white;
    border: none;
    padding: 10px 60px;
    cursor: pointer;
}

.product-footer .add-to-cart:hover {
    background-color: #05312F;
}



/* Footer */
.footer {
    margin-top: 50px;
    background: #222;
    padding: 50px 0 20px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 40px;
    gap: 50px;
}

.footer-section:first-child {
    flex: 1.2;
    max-width: 350px;
}

/* Footer Section */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section .logo-section {
    margin-bottom: 15px;
    margin-left: 54px;
}
.logo-section img{
    width: 150px;
    height: auto;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Headings */
.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #59DD97;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #59DD97;
}

/* Contact & Work Schedule */
.footer-section p strong {
    color: #59DD97;
}

/* Social Media */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    width: 40px;
    height: 30px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #05312F;
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 14px;
    padding: 15px 0;
    color: #bbb;
    border-top: 1px solid #444;
}

.leeadgrow{
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #bbb;
}

.leeadgrow a{
    text-decoration: none;
    font-weight: 500;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-section .logo-section {
        margin-left: 0;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        margin-bottom: -20px!important;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-right: 0%;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-right: 0%;
    }

    .footer-section {
        margin-bottom: 15px;
    }

    .footer-section h3 {
        font-size: 15px;
    }
    .footer-section:first-child {
        margin-right: 0;
    }

    .footer-section p {
        font-size: 10px;
        color: #fff;
    }

    .footer-section ul li {
        margin: 0px 0;
    }

    .footer-section ul li a {
        font-size: 10px;
    }

    .social-icons a {
        width: 25px;
        height: 25px;
    }
    .socialSvg {
        width: 20px;
    }
    .socialContainer{
        width: 40px !important;
        height: 40px !important;
        
    }
    .recommended-product-card {
        margin-right: 0px;
    }

    .copyright {
        font-size: 12px;
        margin-top: 26px;
    }
    .container {
        padding: 25px;
    }
}

.card {
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }
  
 /* for all social containers*/
 .socialContainer {
    width: 52px;
    height: 52px;
    background-color: #25586f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: 0.3s;
    border-radius: 30px;
  }
  /* instagram */
  .containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }
  
  /* facebook */
  .containerThree:hover {
    background-color: #0072b1;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }

  /* viber */
  .containerTwo:hover {
    background-color: #7F4EA1;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }

  /* whatsapp */
  .containerFour:hover {
    background-color: #128c7e;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }
  
  .socialContainer:active {
    transform: scale(0.9);
    transition-duration: 0.3s;
  }
  
  .socialSvg {
    width: 22px;
  }
  
  .socialSvg path {
    fill: rgb(255, 255, 255);
  }
  
  .socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
  }
  
  @keyframes slide-in-top {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }


/* Responsive Design */
@media (max-width: 675px) {
    .contact-button, .icons {
        display: none;
    }

}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 999;
    display: none;
  }
  
  .search-suggestions a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }
  
  .search-suggestions a:hover {
    background-color: #f0f0f0;
  }