  * {
      margin: 0;
      padding: 0;
  }

  @font-face {
      font-family: 'Archivo black';
      src: url('../font/ArchivoBlack.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
  }

  body {
      background-color: rgb(255, 255, 255);
      padding: 0;
      font-family: 'Archivo Black';
  }

  /* 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;
  }


  /* Header */
  a {
      text-decoration: none;
      color: inherit;
      /* This will make the link color the same as the surrounding text */
  }

/* Define the keyframes for the sliding animation */
/* Define the keyframes for the continuous sliding animation */
@keyframes slideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Apply the continuous animation to the h2 element */
.slide-in {
    animation: slideIn 8s linear infinite;
}

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

  @font-face {
      font-family: 'Avenir LT Std 55 Roman';
      src: url('../font/AvenirLTStd.otf') format('opentype');
      font-weight: normal;
      font-style: normal;
  }

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

  .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 */
  }

  .head {
      display: flex;
      justify-content: space-around;
      align-items: center;
      width: 100%;
  }

  .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-link {
      color: black;
      text-decoration: none;
      margin-right: 10px;
      transition: color 0.2s ease;
      font-weight: bold;
      font-size: 20px;
  }

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

  .transparent-gif {
      max-width: 500px;
      height: auto;
      margin-left: 100px;
  }
  
/* 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;
}


  /* Main Section */
  .main {
      padding: 0px;
      position: relative;
      width: 100vw;
      height: 120vh;
      /* Increase height to create more space */
      /* background-image: url("main.jpg"); */
      /* background-size: contain;
    background-position: center;
    background-repeat: no-repeat; */
      display: flex;
      flex-direction: column;
      /* Stack items vertically */
      justify-content: flex-end;
      /* Align items to the bottom */
      margin-top: 0px;
  }

  .bgimage img{
      width: 100vw;
      height: auto;
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      margin-bottom : 60px;
  }

  @font-face {
      font-family: 'Archivo black';
      src: url('../font/ArchivoBlack.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
  }

  .main h2 {
      display: inline-block;
      width: 50%;
      margin-bottom: auto;
      z-index: 2;
      font-family: 'Archivo black';
  }



  .round-button {
      display: inline-block;
      padding: 15px 25px;
      background-color: #cc373c;
      color: #ffffff;
      font-size: 16px;
      text-decoration: none;
      border-radius: 25px;
      border: none;
      transition: background-color 0.3s ease, transform 0.3s ease;
      z-index: 2;
      font-family: 'Avenir LT Std 55 Roman';
      margin-bottom: 20px;;
  }

  .round-button:hover {
      background-color: black;
      color: white;
  }

  .button-container {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 30px;
      margin-bottom: 40px;
      margin-top: 20px;
      z-index: 2;
      /* Ensure button container is above the background */
  }

  /* Section: Why Choose Us */

  .container {
      width: 80%;
      margin: 0 auto;
      padding: 30px 0;
  }

  h2 {
      font-size: 52px;
      color: #cc373c;
      font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
      /* margin-top: 20px; */
      text-align: center;
      text-decoration: underline;
      /* Add underline */
  }


  .content {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
  }

  .card {
      width: 200px;
      height: 200px;
      background-color: #fff;
      margin: 10px;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      padding: 20px;
      text-align: center;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: flex-start;
  }

  .card img {
      position: absolute;
      /* Position the image absolutely */
      top: 20px;
      /* Position the image at the top */
      width: 50px;
      height: 50px;
      margin-bottom: 10px;
  }

  .card h3 {
      position: absolute;
      top: 85px;
      /* Adjust as needed */
      font-size: 1rem;
      color: #333;
      margin-bottom: 5px;
      font-family: 'Archivo Black';
  }

  .card p {
      position: absolute;
      top: 110px;
      /* Adjust as needed */
      font-size: 0.9rem;
      color: #666;
      line-height: 1.5;
      width: 90%;
      /* Limit the width of the p element */
      left: 5%;
      /* Center the p element */
      font-family: 'Avenir LT Std 55 Roman';

  }

  .values h2,
  .team h2,
  .quote h2 {
      font-size: 30px;
      color: black;
      margin-top: 40px;
      margin-bottom: 20px;
      text-align: center;
      position: relative;
      font-family: 'Archivo black';
  }

  .values h2::after,
  .team h2::after,
  .quote h2::after {
      content: "";
      width: 50px;
      height: 3px;
      display: block;
      margin: 10px auto;
  }

  .values ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
  }

  .values li {

      background-color: #f1f1f1;
      padding: 20px;
      margin: 10px;
      flex: 0 0 70%;
      color: black;
      border-left: 5px solid #ca373c;
      border-radius: 5px;
      font-family: 'Avenir LT Std 55 Roman';
  }

  .values li strong {
      color: #cc373c;
      font-size: 17px;
      font-family: 'Archivo Black';
  }

  .value h2,
  .team h2,
  .quote h2 {
      font-size: 30px;
      color: black;
      margin-top: 40px;
      margin-bottom: 20px;
      text-align: center;
      position: relative;
      font-family: 'Avenir LT Std 55 Roman';
  }

  /* .value h2::after,
  .team h2::after,
  .quote h2::after {
      content: "";
      width: 50px;
      height: 3px;
      background-color: #ca373c;
      display: block;
      margin: 10px auto;
  } */

  .value ul {
      list-style: none;
      padding: 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      font-family: 'Avenir LT Std 55 Roman';
  }

  .value li {

      background-color: #f1f1f1;
      padding: 20px;
      margin: 10px;
      flex: 0 0 70%;
      border-left: 5px solid #f77f00;
      border-radius: 5px;
      font-family: 'Avenir LT Std 55 Roman';
  }

  .value li strong {
      color: black;
      font-size: 18px;
  }

  .team p {
      text-align: center;
      font-size: 18px;
      margin-bottom: 30px;
  }

  .quote blockquote {
      width: 430px;
      height: auto;
      font-size: 22px;
      font-family: 'Avenir LT Std 55 Roman';
      color: black;
      margin: 20px 0;
      text-align: center;
      padding: 5px;
      background-color: #f1f1f1;
      border-left: 5px solid #cc373c;
      border-radius: 5px;
  }

  .quote blockquote h2 {
      color: #cc373c;
  }

  .parentquote {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: row;
      gap: 100px;
      margin-top: 50px;
  }

  /* Portfolio */
  .centered-heading {
      text-align: center;
      margin-bottom: 10px;
      height: 120px;

  }

  .centered-heading h2 {
      /* border-bottom: 1px solid black; */
      display: inline-block;
      width: 50%;
      margin-bottom: 50px;
      /* Adjust this value to increase or decrease the length of the line */
  }

  .box-container {
      display: flex;
      flex-wrap: nowrap;
      justify-content: flex-start;
      margin: 0 auto;
      max-width: 100%;
      overflow-x: auto;
  }

  .box {
      position: relative;
      padding: 0;
      background-color: white;
      width: 260px;
      height: 280px;
      margin: 15px 7.5px;
      overflow: hidden;
      transition: all 0.3s ease;
      flex-shrink: 0;
      padding-bottom: 40px;
      border: 2px solid black
  }

  .box-image {
      height: calc(100% - 40px);
      width: 100%;
      background-size: cover;
      background-position: center;
  }

  .bottom-left-link {
      width: 90%;
      position: absolute;
      bottom: 10px;
      left: 10px;
      color: black;
      text-decoration: none;
      background-color: transparent;
      padding: 5px 10px;
      border-radius: 3px;
      font-size: 20px;
      font-weight: bold;
      line-height: 1.2;
      word-break: break-word;
  }

  .bottom-left-link:hover {
      transform: scale(1.05);
      transition: all 0.3s ease;
  }

  .bottom-left-link .fa-arrow-right {
      margin-left: 5px;
  }

  .box:hover {
      transform: scale(1.05);
      transition: all 0.3s ease;
  }

  /* 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;
  }

  /* Slider */
  .slider-container {
      width: 902px;
      height: 452px;
      overflow: hidden;
      position: relative;
      margin: 0 auto;
      border-radius: 15px;
  }

  .slider {
      display: flex;
      width: 10000px;
      /* A large width to accommodate all slides without wrapping */
      transition: transform 0.5s ease-in-out;
  }

  .slider a {
      flex-shrink: 0;
      width: 900px;
      height: 450px;
  }

  .slider img {
      width: 900px;
      height: 450px;
      object-fit: cover;
      /* Use cover instead of contain to fill the slider */
  }

  button.prev,
  button.next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(197, 192, 192, 0.5);
      border: none;
      color: white;
      font-size: 18px;
      padding: 10px;
      cursor: pointer;
  }

  button.prev {
      left: 0;
  }

  button.next {
      right: 0;
  }

  button.prev:hover,
  button.next:hover {
      background-color: rgba(0, 0, 0, 0.7);
  }


  /* Media Queries */
  /* 
@media (min-width: 1440px) {
    .button-container {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    h3 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 930px;
    }

    .round-button {
        width: 180px;
        height: 45px;
        font-size: 1.2rem;
        margin-top: 0;
    }
} */

  /* @media (min-width: 1200px) {
    .button-container{
        margin-top: 80px;
    }
    .round-button {
        margin-top: 510px;
    }

    .main .heading{
        margin-bottom: 30px;
    }
} */
  /* For screens smaller than 1024px */
  @media (max-width: 1024px) {
      .round-button {
          margin-top: 200px;
      }

      .main {
          margin-top: 30px;
      }

      .box-container {
          justify-content: center;
          padding: 0 10px;
      }

      .box {
          width: 220px;
          height: 240px;
      }

      h2 {
          font-size: 42px;
      }

      .card {
          width: 180px;
          height: 180px;
      }

      .card img {
          width: 40px;
          height: 40px;
      }

      .card h3 {
          font-size: 1rem;
          top: 75px;
      }

      .card p {
          font-size: 0.8rem;
          top: 100px;
      }

      /* Header */
      .toggle-menu,
      .hamburger {
          display: block;
          z-index: 3;
      }

      .logo {
          position: absolute;
          top: 10px;
          /* Space from the top */
          right: 10px;
          /* Move towards the right */
          width: 120px;
          /* Adjusted size */
          height: 60px;
          /* Adjusted size */
      }

      .head {
          display: flex;
          flex-direction: column;
          justify-content: start;
          align-items: center;
          position: fixed;
          top: 0;
          right: 0;
          background: #cc373c;
          width: 300px;
          height: 100%;
          padding-top: 65px;
          z-index: 1;
          transform: translateX(100%);
          transition: transform 0.3s ease-in-out;
      }

      .head a,
      .head a:hover {
          padding: 30px;
          font-size: 1rem;
          box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
      }

      nav input:checked~.head {
          transform: translateX(0);
      }

      /* Footer */
      footer {
          padding: 20px 10px;
          /* Ensure padding to keep content from touching the edges */
          height: auto;
          /* Allow height to adjust automatically */
      }

      footer .container {
          padding: 0 10px;
          /* Padding for better spacing */
          max-width: 100%;
          /* Ensure container uses full width */
      }

      footer .row {
          flex-direction: column;
          /* Stack items vertically */
          align-items: center;
          /* Center align items */
          text-align: center;
          /* Center align text */
          margin-top: 20px;
          /* Margin to provide spacing */
      }

      .footerlogo {
          width: 200px;
          /* Adjust logo width */
          height: auto;
          /* Maintain aspect ratio */
          margin: 0 auto;
          /* Center logo */
          padding: 20px;
      }

      footer h5 {
          margin-bottom: 10px;
          /* Adjust bottom margin */
      }

      footer ul {
          margin: 0;
          /* Remove margin */
          padding: 0;
          /* Remove padding */
      }

      footer li {
          margin-bottom: 10px;
          /* Adjust bottom margin */
      }

      footer a {
          font-size: 14px;
          /* Adjust font size for better readability */
      }

      footer .copyright {
          margin-left: 0px;
          margin-top: 20px;
          /* Adjust margin to ensure visibility */
          font-size: 12px;
          /* Adjust font size for smaller screens */
          text-align: center;
          /* Center align text */
          padding-top: 10px;
          /* Add padding for spacing */
      }

      .contacts {
          margin-left: 0px;
          margin-top: 50px;
      }

      footer .Links {
          margin-left: 0px;
          margin-top: 50px;
      }
  }

  /* For screens smaller than 768px */
  @media (max-width: 768px) {
      .round-button {
          margin-top: 150px;
          width: 140px;
          height: 35px;
      }

      .main {
          margin-top: 20px;
      }



      @media (max-width: 500px) {
          .box-container {
              display: flex;
              /* Ensure the container uses flexbox layout */
              flex-wrap: wrap;
              /* Allow boxes to wrap onto multiple lines */
              justify-content: center;
              /* Center the boxes horizontally */
              /* margin-bottom: 20px; Add space below the .box-container */
          }

          .section1 {
              margin-top: 20px;
              /* Ensure it starts after .box-container */
              /* Additional styles as needed */
          }

          .box {
              width: 100%;
              /* Adjust box width to fit smaller screens */
              height: auto;
              /* Adjust height to maintain aspect ratio */
              margin-bottom: 10px;
              /* Add some space between boxes */
          }

          .box-image {
              background-size: cover;
              /* Ensure the background image covers the box */
              background-position: center;
              /* Center the background image */
          }

          /* Ensure the heading in .section1 fits the screen */
          .section1 h3 {
              font-size: 1.2rem;
              /* Adjust font size as needed */
              margin: 0;
              /* Remove margin if necessary */
              padding: 0;
              /* Remove padding if necessary */
              margin-top: 200px;
          }

          .button-container {
              display: flex;
              flex-direction: wrap;
              /* Stack buttons vertically */
              align-items: space-evenly;
              /* Center buttons */
          }

          .round-button {
              width: 100%;
              /* Make buttons full width on small screens */
              margin-bottom: 10px;
              /* Add space between buttons */
          }
      }

      .card {
          width: 160px;
          height: 160px;
      }

      .card img {
          width: 35px;
          height: 35px;
      }

      .card h3 {
          font-size: 0.9rem;
          top: 70px;
      }

      .card p {
          font-size: 0.75rem;
          top: 95px;
      }

      h2 {
          font-size: 36px;
      }

      /* Header */
      .toggle-menu,
      .hamburger {
          display: block;
          z-index: 3;
      }

      .logo {
          position: absolute;
          top: 10px;
          /* Space from the top */
          right: 10px;
          /* Move towards the right */
          width: 120px;
          /* Adjusted size */
          height: 60px;
          /* Adjusted size */
      }

      .head {
          display: flex;
          flex-direction: column;
          justify-content: start;
          align-items: center;
          position: fixed;
          top: 0;
          right: 0;
          background: #cc373c;
          width: 300px;
          height: 100%;
          padding-top: 65px;
          z-index: 1;
          transform: translateX(100%);
          transition: transform 0.3s ease-in-out;
      }

      .head a,
      .head a:hover {
          padding: 30px;
          font-size: 1rem;
          box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
      }

      nav input:checked~.head {
          transform: translateX(0);
      }

      /* Footer */
      footer {
          padding: 20px 10px;
          /* Ensure padding to keep content from touching the edges */
          height: auto;
          /* Allow height to adjust automatically */
      }

      footer .container {
          padding: 0 10px;
          /* Padding for better spacing */
          max-width: 100%;
          /* Ensure container uses full width */
      }

      footer .row {
          flex-direction: column;
          /* Stack items vertically */
          align-items: center;
          /* Center align items */
          text-align: center;
          /* Center align text */
          margin-top: 20px;
          /* Margin to provide spacing */
      }

      .footerlogo {
          width: 200px;
          /* Adjust logo width */
          height: auto;
          /* Maintain aspect ratio */
          margin: 0 auto;
          /* Center logo */
          padding: 20px;
      }

      footer h5 {
          margin-bottom: 10px;
          /* Adjust bottom margin */
      }

      footer ul {
          margin: 0;
          /* Remove margin */
          padding: 0;
          /* Remove padding */
      }

      footer li {
          margin-bottom: 10px;
          /* Adjust bottom margin */
      }

      footer a {
          font-size: 14px;
          /* Adjust font size for better readability */
      }

      footer .copyright {
          margin-left: 0px;
          margin-top: 20px;
          /* Adjust margin to ensure visibility */
          font-size: 12px;
          /* Adjust font size for smaller screens */
          text-align: center;
          /* Center align text */
          padding-top: 10px;
          /* Add padding for spacing */
      }

      .contacts {
          margin-left: 0px;
          margin-top: 50px;
      }

      footer .Links {
          margin-left: 0px;
          margin-top: 50px;
      }
  }

  /* For screens smaller than 480px */
  /* Ensure no extra space on the right side */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

@media (max-width: 480px) {

    .toggle-menu,
    .hamburger {
        display: block;
        z-index: 3;
    }

    .logo {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 120px;
        height: 60px;
    }
    

    .head {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        background: #cc373c;
        width: 100%; /* Ensure it takes full width */
        height: 100%;
        padding-top: 65px;
        z-index: 1;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .head a,
    .head a:hover {
        padding: 30px;
        font-size: 1rem;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    nav input:checked~.head {
        transform: translateX(0);
    }

    .section1 .main h3 {
        display: none;
    }

    .main {
        height: 210px;
    }

    .bgimage {
        height: 200px;
    }

    .bgimage img {
        width: 420px; /* Ensure image takes full width */
        height: auto;
        background-size: contain;
    }

    /* Button Styling */
    .section1 .round-button {
        width: 50px;
        height: 30px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #cc373c;
        color: #ffffff;
        font-size: 14px;
        text-decoration: none;
        border-radius: 15px;
        border: none;
        transition: background-color 0.3s ease;
        margin: 0 5px;
    }

    .section1 .round-button:hover {
        background-color: #a82d2a;
    }

    .slider-container {
        width: 400px;
        height: 200px;
        overflow: hidden; /* Prevent overflow */
    }

    .slider img {
        width: 400px; /* Ensure image takes full width */
        height: auto;
    }

    .slider a {
        height: 300px;
    }

    .prev,
    .next {
        font-size: 24px;
        top: 50%;
        transform: translateY(-50%);
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .parentquote {
        display: flex;
        flex-direction: column;
    }

    .box {
        width: 180px;
        height: 200px;
    }

    .box-container {
        padding: 0 5px;
    }

    .card {
        width: 140px;
        height: 140px;
        margin-top: 0;
    }

    .card img {
        width: 30px;
        height: 30px;
    }

    .card p {
        font-size: 0.7rem;
        top: 85px;
    }

    h2 {
        font-size: 30px;
        margin-top: 50px;
        margin-left: 20px;
    }

    .container {
        padding: 10px;
    }

    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        height: 200px;
    }

    .card img {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 1.2rem;
        margin: 10px 0;
    }

    .card p {
        font-size: 0.9rem;
        margin-top: 40px;
    }

    /* Footer */
    footer {
        padding: 20px 10px;
        height: auto;
    }

    footer .container {
        padding: 0 10px;
        max-width: 100%;
    }

    footer .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 20px;
    }

    .footerlogo {
        width: 200px;
        height: auto;
        margin: 0 auto;
        padding: 20px;
    }

    footer h5 {
        margin-bottom: 10px;
    }

    footer ul {
        margin: 0;
        padding: 0;
    }

    footer li {
        margin-bottom: 10px;
    }

    footer a {
        font-size: 14px;
    }

    footer .copyright {
        margin-left: 0px;
        margin-top: 20px;
        font-size: 12px;
        text-align: center;
        padding-top: 10px;
    }

    .contacts {
        margin-left: 0px;
        margin-top: 50px;
    }

    footer .Links {
        margin-left: 0px;
        margin-top: 50px;
    }
}

  /* For screens smaller than 360px */
  @media (max-width: 360px) {
      .button-container {
          display: flex;
          flex-direction: row;
          align-items: center;
          width: 50px;
          margin-left: 100px;
      }

      .round-button {
          min-width: 90px;
          height: 40px;
      }

      .section1,
      .main {
          padding-left: 0;
          margin-left: 0;
          padding-top: 0;
          height: 85%;
      }

      .section1 .main h3 {
          position: relative;
          margin-top: 0;
          left: 0;
          font-size: 1em;
          /* Adjust as needed */
          line-height: 1;
          /* Adjust as needed */
          white-space: normal;
          /* Allow the text to wrap to the next line */
          overflow: visible;
          /* Ensure the text is fully visible */
          padding-left: 0;
          /* No padding on the left */
          margin-left: 0;
          /* No margin on the left */
          text-align: left;
          /* Align text to the left */
          margin-bottom: 110px;
          width: 100%;
          /* Ensure the heading uses the full width of its container */
          box-sizing: border-box;
          /* Include padding in the element's width */
          display: block;
          /* Ensure it takes up the full width */
          word-wrap: break-word;
          /* Break long words to prevent overflow */
      }

      .section1 .main .bgimage {
          height: 50px;
          /* Adjust this value as needed */
      }

      .main {
          margin-top: 10px;
      }

      .box {
          width: 180px;
          height: 200px;
      }

      .box-container {
          padding: 0 5px;
      }

      .card {
          width: 140px;
          height: 140px;
          margin-top: 0;
      }

      .card img {
          width: 30px;
          height: 30px;
      }

      .card p {
          font-size: 0.7rem;
          top: 85px;
      }

      h2 {
          font-size: 20px;
          margin-top: 40px;
          color: red;
      }

      .container {
          padding: 10px;
          /* Add some padding for smaller screens */
      }

      .content {
          display: flex;
          flex-direction: column;
          /* Stack cards vertically */
          align-items: center;
          /* Center the cards horizontally */
      }

      .card {
          width: 100%;
          /* Make each card full width of the container */
          max-width: 300px;
          /* Set a maximum width for cards */
          margin-bottom: 20px;
          /* Add space between cards */
          text-align: center;
          /* Center align text within cards */
          padding: 10px;
          /* Add padding inside each card */
          box-sizing: border-box;
          /* Ensure padding is included in width */
          height: 200px;
      }

      .card img {
          width: 60px;
          /* Adjust the image size */
          height: 60px;
          /* Maintain aspect ratio */
          margin-bottom: 15px;
          /* Add space below the image */
      }

      .card h3 {
          font-size: 1.2rem;
          /* Adjust font size for headings */
          margin: 10px 0;
          /* Add space around headings */
      }

      .card p {
          font-size: 0.9rem;
          /* Adjust font size for paragraphs */
          margin-top: 40px;
          /* Remove default margin */
      }


      /* Header */
      .toggle-menu,
      .hamburger {
          display: block;
          z-index: 3;
      }

      .logo {
          position: absolute;
          top: 10px;
          /* Space from the top */
          right: 10px;
          /* Move towards the right */
          width: 120px;
          /* Adjusted size */
          height: 60px;
          /* Adjusted size */
      }

      .head {
          display: flex;
          flex-direction: column;
          justify-content: start;
          align-items: center;
          position: fixed;
          top: 0;
          right: 0;
          background: #cc373c;
          width: 300px;
          height: 100%;
          padding-top: 65px;
          z-index: 1;
          transform: translateX(100%);
          transition: transform 0.3s ease-in-out;
      }

      .head a,
      .head a:hover {
          padding: 30px;
          font-size: 1rem;
          box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
      }

      nav input:checked~.head {
          transform: translateX(0);
      }

      /* Footer */
      footer {
          padding: 20px 10px;
          /* Ensure padding to keep content from touching the edges */
          height: auto;
          /* Allow height to adjust automatically */
      }

      footer .container {
          padding: 0 10px;
          /* Padding for better spacing */
          max-width: 100%;
          /* Ensure container uses full width */
      }

      footer .row {
          flex-direction: column;
          /* Stack items vertically */
          align-items: center;
          /* Center align items */
          text-align: center;
          /* Center align text */
          margin-top: 20px;
          /* Margin to provide spacing */
      }

      .footerlogo {
          width: 200px;
          /* Adjust logo width */
          height: auto;
          /* Maintain aspect ratio */
          margin: 0 auto;
          /* Center logo */
          padding: 20px;
      }

      footer h5 {
          margin-bottom: 10px;
          /* Adjust bottom margin */
      }

      footer ul {
          margin: 0;
          /* Remove margin */
          padding: 0;
          /* Remove padding */
      }

      footer li {
          margin-bottom: 10px;
          /* Adjust bottom margin */
      }

      footer a {
          font-size: 14px;
          /* Adjust font size for better readability */
      }

      footer .copyright {
          margin-left: 0px;
          margin-top: 20px;
          /* Adjust margin to ensure visibility */
          font-size: 12px;
          /* Adjust font size for smaller screens */
          text-align: center;
          /* Center align text */
          padding-top: 10px;
          /* Add padding for spacing */
      }

      .contacts {
          margin-left: 0px;
          margin-top: 50px;
      }

      footer .Links {
          margin-left: 0px;
          margin-top: 50px;
      }
  }