@font-face {
  font-family: 'Lato';  /* The name you will use for this font */
  src: url('../fonts/Lato-Regular.ttf') format('truetype'), url('../fonts/Lato-Regular.woff2') format('woff2'), url('../fonts/Lato-Regular.woff') format('woff'); 
  font-weight: normal;  /* Can specify weight, like normal or bold */
  font-style: normal;   /* Can specify style, like normal, italic */
  font-display: swap;
}
@font-face {
  font-family: 'LatoBold';  /* The name you will use for this font */
  src: url('../fonts/Lato-Bold.ttf') format('truetype'), url('../fonts/Lato-Bold.woff2') format('woff2'), url('../fonts/Lato-Bold.woff') format('woff');
  font-weight: normal;  /* Can specify weight, like normal or bold */
  font-style: normal;   /* Can specify style, like normal, italic */
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';  /* The name you will use for this font */
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype'), url('../fonts/Montserrat-Regular.woff2') format('woff2'), url('../fonts/Montserrat-Regular.woff') format('woff');
  font-weight: normal;  /* Can specify weight, like normal or bold */
  font-style: normal;   /* Can specify style, like normal, italic */
}
@font-face {
  font-family: 'Montserrat600';  /* The name you will use for this font */
  src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype'), url('../fonts/Montserrat-SemiBold.woff2') format('woff2'), url('../fonts/Montserrat-SemiBold.woff') format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat500';  /* The name you will use for this font */
  src: url('../fonts/Montserrat-Medium.ttf') format('truetype'), url('../fonts/Montserrat-Medium.woff2') format('woff2'), url('../fonts/Montserrat-Medium.woff') format('woff'); 
}
@font-face {
  font-family: 'Roboto';  /* The name you will use for this font */
  src: url('../fonts/Roboto-Regular.ttf') format('truetype'), url('../fonts/Roboto-Regular.woff2') format('woff2'), url('../fonts/Roboto-Regular.woff') format('woff'); 
}
@font-face {
  font-family: 'Roboto Condensed';  /* The name you will use for this font */
  src: url('../fonts/RobotoCondensed-Regular.ttf') format('truetype'), url('../fonts/RobotoCondensed-Regular.woff2') format('woff2'), url('../fonts/RobotoCondensed-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Roboto Condensed 500';  /* The name you will use for this font */
  src: url('../fonts/RobotoCondensed-Medium.ttf') format('truetype'), url('../fonts/RobotoCondensed-Medium.woff2') format('woff2'), url('../fonts/RobotoCondensed-Medium.woff') format('woff');
}
  body {
    font-family: "Lato", serif;
    background: #f4f4f4;
  }

  .carousel-1 {
    height: 500px;
  }

  .carousel-item-1 {
    height: 500px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow: hidden;
    animation: zoomIn 6s ease-out forwards;
  }

  @keyframes zoomIn {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.1);
    }
  }

  .carousel-item-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .bg-1 {
    background-color: #f7f7f7;
  }

  .welcome {
    font-family: "Montserrat600", serif;
    color: black;
    font-weight: 600;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 0.4px;
    padding-bottom: 1rem;
    padding-top: 2rem;
  }

  .welcome-1 {
    color: #38bb73 !important;
  }

  .welcome-para {
    color: black;
    font-size: 17px;
    line-height: 32px;
    letter-spacing: 0.4px;
    text-align: justify;
  }

  .about-btn {
    width: 180px;
    background-image: linear-gradient(to right, #4287b8 0%, #a8d3f2 51%, #4287b8 100%);
    padding: 10px 45px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
  }

  .about-btn:hover {
    background-image: linear-gradient(to right, #1785d3 0%, #0a1c90 51%, #1785d3 100%);
    background-position: right center;
    color: #fff;
    text-decoration: none;
  }

  .our-services {
    font-family: "Montserrat600", serif;
    color: #38bb73;
    font-weight: 600;
    font-size: 29px;
    line-height: 38px;
    letter-spacing: 0.4px;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.2);
    text-align: center;
    text-transform: uppercase;
  }

  .our-services-para {
    color: black;
    font-size: 17px;
    line-height: 32px;
    letter-spacing: 0.4px;
    text-align: justify;
  }

  .image-container {
    position: relative;
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
  }

  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
  }

  .image-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
  }

  .title-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 17px;
    height: 82px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
  }

  .title-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 15px;
    color: white;
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  .image-container:hover::before {
    opacity: 1;
  }

  .image-container img {
    transition: transform 0.3s ease;
    z-index: 0;
  }

  .image-container:hover img {
    transform: scale(1.1);
  }

  .image-container:hover .title-bottom {
    opacity: 0;
  }

  .image-container:hover .title-center {
    opacity: 1;
  }

  .title-center {
    z-index: 2;
  }

  .owl-item {
    width: 250px;
  }

  .why-choose-para {
    font-family: "Montserrat500", serif !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-weight: 500;
    text-align: justify;
  }

  .eng-tools-point {
    color: black;
    font-size: 17px;
    line-height: 32px;
    letter-spacing: 0.4px;
    text-align: left;
  }

  .modal-content {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  }

  .modal-header {
    padding: 20px;
    background-color: #6a3d9e;
    color: white;
    border-radius: 15px 15px 0 0;
    font-family: 'Arial', sans-serif;
  }

  .modal-body {
    padding: 25px;
    background-color: #f2ebf8;
    font-family: 'Roboto', sans-serif;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
    border-radius: 5px;
  }

  .modal-footer {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border-radius: 0 0 15px 15px;
  }

  .modal-footer button {
    background-color: #f5a623;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .modal-footer button:hover {
    background-color: #d88b0e;
    transform: translateY(-3px);
  }

  .modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
  }

  .close {
    font-size: 30px;
    font-weight: bold;
    border: none;
    background: none;
    color: white;
    transition: transform 0.2s ease;
  }

  .close:hover {
    transform: rotate(90deg);
  }

  @keyframes slideIn {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }

    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .modal.fade .modal-dialog {
    animation: slideIn 0.5s ease-out;
  }

  .cursor-al {
    cursor: pointer;
  }

  .modal-footer {
    background-color: #f2ebf8;
  }

  .modal-title {
    font-family: "Montserrat500", serif;
    font-weight: 500;
  }

  .modal-body {
    font-family: "Montserrat500", serif;
    font-weight: 500;
  }

  .eng-tools {
    font-family: "Montserrat600", serif;
    color: #38bb73;
    font-weight: 600;
    font-size: 29px;
    line-height: 38px;
    text-align: center;
    letter-spacing: 0.4px;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
  }

  .why-choose {
    font-family: "Montserrat600", serif;
    color: #38bb73;
    font-weight: 600;
    font-size: 29px;
    line-height: 38px;
    text-align: center;
    letter-spacing: 0.4px;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
  }

  .content-wrapper {
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .section-title {
    font-family: "Montserrat600", serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    letter-spacing: 0.4px;
  }

  .section-text {
    font-family: "Montserrat", serif;
    color: #666;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.4px;
    text-align: justify;
  }

  .image-wrapper {
    height: 100%;
    overflow: hidden;
  }

  .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .content-wrapper {
      padding: 0rem 0rem;
    }

    .image-wrapper {
      margin: 1rem 0;
    }

    .section-title {
      font-size: 1.3rem;
      font-weight: 600;
      color: #333;
      margin-bottom: 1rem;
      letter-spacing: 0.4px;
    }

    .section-text {
      font-size: 15px;
      line-height: 23px;
      letter-spacing: 0.4px;
    }

    .order-md-last {
      order: 0 !important;
    }

    .order-md-first {
      order: 0 !important;
    }
  }

  .service-card {
    width: 100%;
    height: auto;
    margin: 0 10px;
    border: 1px solid rgba(42, 139, 21, 0.5);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 10px;
  }

  .card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .owl-carousel .item {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .service-card-btn {
    margin-top: 4px;
    padding: 9px 22px;
    text-align: center;
    text-transform: uppercase;
    color: #2a8b15;
    box-shadow: 0 0 4px #2a8b15;
    border-radius: 4px;
    border: 2px solid transparent;
    display: block;
    font-size: 14px;
    width: 60%;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease, box-shadow 0.4s ease;
  }

  .service-card-btn:hover {
    animation: borderAnimation 0.6s ease forwards;
    background: #f8fff6;
    color: #000000;
  }

  .tools-container {
    margin: 0 auto;
  }

  .tool-card {
    font-family: "Roboto Condensed 500", serif;
    letter-spacing: 0.4px;
    height: 100%;
    min-height: 80px;
    background: #f1fff3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    border: 2px solid rgb(152 246 165 / 50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }

  .tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(209, 209, 209, 0.1);
  }

  .tools-point {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
  }

  .bottom-row {
    margin-top: 1rem;
  }

  @media (max-width: 992px) {
    .tools-point {
      font-size: 1rem;
      padding: 1rem;
    }

  }

  @media (max-width: 576px) {
    .tools-container {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    .image-container {
      width: 250px;
      height: 250px;
    }
    .pad-top-al{
      padding-top: 2rem !important;
    }
    .pad-top-al-2{
      padding-top: 0rem !important;
    }
    .eng-tools,
    .why-choose {
      margin-bottom: 2rem !important;
    }
  }

  @media (min-width: 576px) {
    .modal-dialog {
      max-width: 70%;
    }
  }

  @media (max-width: 768px) {
    .tools-point {
      font-size: 1rem;
      padding: 1rem;
    }
  }

  @keyframes borderAnimation {
    0% {
      border-color: transparent;
      box-shadow: 0 0 4px #2a8b15;
    }

    50% {
      border-color: transparent;
      box-shadow: 0 0 8px #2a8b15;
    }

    100% {
      border-color: transparent;
      box-shadow: 0 0 10px 3px rgba(42, 139, 21, 0.5);
    }
  }


  .service-card-title {
    font-family: "Montserrat600", serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 25px;
    letter-spacing: 0.4px;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
    border-bottom: 2px dotted rgba(82, 112, 112, 0.3);
    height: 65px;
  }

  .move-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #57F69E;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .move-to-top-btn:hover {
    background-color: #ffffff;
    color: #57F69E;
  }

  @media (max-width: 1200px) {
    .content-section {
      align-items: flex-start !important;
    }

    .content-wrapper {
      padding: 0 1rem !important;
    }

    .section-title {
      margin-bottom: 0.5rem !important;
    }
  }

  @media (max-width: 992px) {
    .content-wrapper {
      padding: 0 0.5rem 0 0.2rem !important;
    }
  }

  @media (max-width: 768px) {
    .content-wrapper {
      padding: 0 0.2rem !important;
    }
  }

  @media (max-width: 575px) {
    .welcome {
      font-size: 15px !important;
      line-height: 21px !important;
    }

    .welcome-para {
      font-size: 13px !important;
      line-height: 20px !important;
    }

    .about-btn {
      padding: 10px 35px;
    }

    .our-services,
    .eng-tools,
    .why-choose {
      font-size: 15px !important;
      line-height: 22px !important;
    }
    .eng-tools-point {
      color: black;
      font-size: 13px !important;
      line-height: 20px !important;
      letter-spacing: 0.4px;
      text-align: left;
    }
    .our-services-para {
      font-size: 13px !important;
      line-height: 20px !important;
    }
    .section-text {
      font-size: 13px !important;
      line-height: 20px !important;
      letter-spacing: 0.4px;
    }
    .section-title{
      font-size: 17px !important;
      line-height: 22px !important;
    }
    .image-wrapper {
      min-height: 215px !important;
      margin: 1rem 0;
    }
    .modal-title{
      font-size: 17px !important;
      line-height: 22px;
    }
    .modal-body p{
      font-size: 15px !important;
    }
  }