/* header */
body{
    font-family: 'Avenir LT Std 55 Roman';
}
@font-face {
    font-family: 'Archivo black';
    src: url('../font/ArchivoBlack.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Avenir LT Std 55 Roman';
    src: url('../font/AvenirLTStd.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.logo {
    width: 180px;
    height: 70px;
    margin-right: 60px;
    color: black;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

/* Search bar styles */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
}

#search-input {
    width: 0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: width 0.4s ease;
    opacity: 0;
    visibility: hidden;
}

.search-container.expanded #search-input {
    width: 200px;
    opacity: 1;
    visibility: visible;
}

#suggestions {
    position: absolute;
    top: 35px;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

#suggestions div {
    padding: 10px;
    cursor: pointer;
}

#suggestions div:hover {
    background-color: #f1f1f1;
}
.head{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}
/* whatsapp icon */
.whatsapp-icon {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #25D366;
    color: white;
    font-size: 30px;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.whatsapp-icon a {
    color: white;
    text-decoration: none;
}

.whatsapp-icon:hover {
    background-color: #128C7E;
    cursor: pointer;
}
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.head .nav-link:hover,
.head .nav-link:focus {
    color: #007bff;
    /* Adjust hover color as needed */
}
.hamburger{
    position: relative;
    width: 30px;
    height: 4px;
    background: #000;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    transition: 0.3s;
}

.hamburger::before, .hamburger::after{
    content: "";
    position: absolute;
    height: 4px;
    right: 0;
    background: #000;
    border-radius: 10px;
    transition: 0.3s;
}

.hamburger::before{
    top: -10px;
    width: 20px;
}

.hamburger::after{
    top: 10px;
    width: 25px;
}

.toggle-menu{
    position: absolute;
    width: 30px;
    height: 100px;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
}

.hamburger, .toggle-menu{
    display: none;
}

nav input:checked ~ label .hamburger{
    background: transparent;
}

nav input:checked ~ label .hamburger::before{
    top: 0;
    transform: rotate(-45deg);
    width: 30px;
}

nav input:checked ~ label .hamburger::after{
    top: 0;
    transform: rotate(45deg);
    width: 30px;
}

nav {
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Avenir LT Std 55 Roman';
}

.nav-link {
    color: black;
    text-decoration: underline;
    margin-right: 10px;
    transition: color 0.2s ease;
    font-weight: bold;
    font-size: 20px;
}

.nav-link:hover {
    color: #ccc;
}

/* Boxes */
.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1280px;
}

.box {
    position: relative;
    padding: 0px 0px 20px 0px; /* Adjust as needed */
    font-family: Arial;
    box-sizing: border-box;
    background-color: white;
    width: calc(33.333% - 30px);
    height: 330px; /* Increase the height to create extra space at the bottom */
    margin: 15px 7.5px; /* Adjust the left and right margins as needed */
    overflow: hidden; /* Ensure the image doesn't overflow */
    transition: all 0.3s ease; /* Animate the changes */
    /* border: 1px solid black; Add a border to the images */
}

.box1 {
    position: relative;
    padding: 0px 0px 20px 0px; /* Adjust as needed */
    font-family: Arial;
    box-sizing: border-box;
    background-color: white;
    width: calc(33.333% - 30px);
    height: 330px; /* Increase the height to create extra space at the bottom */
    margin: 15px 7.5px; /* Adjust the left and right margins as needed */
    overflow: hidden; /* Ensure the image doesn't overflow */
    transition: all 0.3s ease; /* Animate the changes */
    /* border: 1px solid black; Add a border to the images */
    display: none;
}

.box-image {
    height: calc(100% - 40px); /* Adjust the height to leave space at the bottom */
    width: 100%; /* Ensure the image covers the width */
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #ccc; /* Add a border to the bottom of the image */
}

.bottom-left-link {
    width: 90%;
    position: absolute;
    bottom: 10px; /* Adjust this value to your preference */
    left: 10px; /* Adjust this value to your preference */
    color: #5B5A50; /* Dark grey color for better contrast */
    text-decoration: none;
    background-color: transparent; /* Optional: Add a semi-transparent background */
    padding: 5px 10px; /* Optional: Add some padding */
    border-radius: 3px; /* Optional: Add rounded corners */
    font-size: 24px; /* Increase font size */
    font-family: 'Avenir LT Std 55 Roman';
    font-weight: bold; /* Make the text bolder */
    line-height: 1.2; /* Adjust line height to separate the words */
    word-break: break-word; /* Ensure long words break onto the next line */
}

.bottom-left-link:hover {
    transition: all 0.3s ease; /* Animate the changes */
    transform: scale(1); /* Make the text a little bigger on hover */
}

.bottom-left-link .fa-arrow-right {
    margin-left: 5px; /* Optional: Add space between text and icon */
}

.box:hover {
    transform: scale(1.05); /* Make the box a little bigger on hover */
}

.centered-heading {
    margin: 0 auto;
    margin-bottom: 3%;
    font-weight: 600;
    font-size: 1.5rem;
    text-align: center; /* Center the heading horizontally */
    color: #cc373c;
    text-decoration: underline;
    font-family: 'Archivo Black';
}
/* footer*/

 /* footer*/

  .footerlogo {
      display: block;
      width: 240px;
      height: 85px;
      margin-right: auto;
      margin-bottom: 30px;
      margin-left: 10px;
  }

  .logo-container p {
      max-width: 300px;
  }

  footer {
    
      background-color: #5B5A50;
      color: #fff;
      padding: 20px;
      clear: both;
      font-family: 'Avenir LT Std 55 Roman';
  }

  footer .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
  }

  footer .row {
      display: flex;
      align-items: flex-start;
      /* Aligns items to the start of the container */
      justify-content: space-between;
      /* Distributes space between items */

  }

  footer .Links {

      margin-left: auto;
      display: flex;
      flex-direction: column;
      margin-left: 150px;
  }

  /* footer .links2 {
    
    margin-left: auto;
    display: flex;
    flex-direction: column;
    margin-left: 150px;
} */

  footer h5 {

      font-weight: bold;
      margin-top: 0;
      font-size: 20px;
      /* Adjust this value to increase or decrease the font size */
  }

  footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
      margin-top: 55px;
  }

  footer li {
      margin-bottom: 10px;
  }

  footer a {
      color: #fff;
      text-decoration: none;
  }

  footer a:hover {
      color: #ccc;
  }

  footer .copyright {
      border-top: 1px solid #fff;
      display: flex;
      align-items: center;
      margin-left: 450px;
      margin-top: 60px;
      font-size: 14px;
      text-align: center;
      padding-top: 20px;
  }

  .contacts {
      margin-left: 200px;
      display: flex;
      flex-direction: column;
  }


/* media queries */

@media(max-width: 500px) {

    html, body {
        overflow-x: hidden; /* Prevent horizontal overflow */
        max-width: 100%;
    }

    .box-container {
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 0;
        max-width: 100%;
       
    }

   
       .bottom-left-link {
           font-size: 1.5rem;
       }
   
       .box{
           box-sizing: none;
           width: 96%;
           transition: transform 0.3s ease, box-shadow 0.3s ease;
          
       }

       .box:hover {
        transform: scale(1.05); /* Slightly enlarge the box on hover */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow effect */
    }
   
       footer .container{
           max-width: none;
       }
   
       footer .Links{
           margin-left: 0px;
           margin-top: 90px;
       }
   
       .contacts{
           margin-left: 0px;
           margin-top: 100px;
       }
   
       footer .row{
           flex-direction: column;
           align-items: start;
       }
   
       footer ul{
           margin-top: 0px;
       }
   
       footer li{
           margin-top: 0px;
       }
   
       footer h5{
           border-bottom: solid white 2px;
       }
   
       .toggle-menu, .hamburger{
           display: block;
               }
   
       .head{
           display: flex;
           flex-direction: column;
           justify-content: start;
           align-items: center;
           position: fixed;
           top: 0;
           right: -300px;
           background: #cc373c;
           width: 300px;
           height: 500px;
           padding-top: 65px;
           z-index: 1;
       }
   
       .head a, .head a:hover{
           padding: 30px;
           font-size: 1rem;
           box-shadow: 0 1px 0 rgba(255,255,255,0.1);
       }
   
       nav{
           padding: 10px 20px;
       }
   
       nav input:checked ~ .head{
           top: 50px;
           right: 70px;
           box-shadow: -20px 0 40px rgba(0,0,0,0.3);
       }
       .logo img{
           width: 8 rem;
           height: 2 rem;
       }
   }