:root {
  /**
  @font family declaration
  */
  --tp-ff-body: "Arial";
  --tp-ff-heading: "Arial";
  --tp-ff-p: "Arial";
  --tp-ff-inter: "Arial";
  --tp-ff-fontawesome: "Font Awesome 6 Pro";
  /**
  @color declaration
  */
  --tp-common-white: #ffffff;
  --tp-common-black: #000;
  --tp-heading-primary: #001c4c;
  --tp-grey-1: #f1ebe9;
  --tp-blue-1: #082060;
  --tp-red-1: #d82221;
  --tp-yellow-1: #edc701;
  --tp-text-body: #5e5f63;
  --tp-theme-primary: #051a53;
  --tp-theme-secondary: #f1ebe9;
  --tp-border-primary: #eaebed;
}
.services {
  background-color: #f1ebe9;
  border-radius: 10px;
}
.custom-services-area {
  position: relative;
  background-image: url("./assets/clients/Clients\ BG.jpg"); /* Background image */
  background-size: cover;
  background-position: center;
  padding: 40px 0;
}

.custom-heading-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.custom-heading-title {
  font-size: 60px;
  /* font-weight: bold; */
  color: var(--tp-common-white);
  margin: 0;
}

.custom-services-options {
  margin-top: 40px;
  display: flex;
  padding: 5px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-evenly;
}

.custom-service-item {
  display: inline-block;
  border-radius: 6px;
  overflow: visible;
  margin: 10px 0px;
  cursor: pointer;
  border: 1px outset var(--tp-common-black);
  width: auto; /* Width based on content */
  max-width: 100%;
}

.custom-service-item:hover {
  /* border: 3px outset #d82221; */
  border: none;
  box-shadow: 0 2px 3px var(--tp-red-1);
  }

.custom-service-item.selected {
  background-color: var(--tp-red-1);
  border: none;
  color: #ffffff; /* Text color when selected */
}

.custom-service-item.selected .custom-service-header {
  color: #ffffff; /* Text color for header when selected */
}

.custom-service-item.selected .custom-service-content {
  color: #ffffff; /* Text color for content when selected */
}

.custom-service-header {
  padding: 10px 10px;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px 10px 20px;
  color: var(--tp-common-black);
  border-radius: 6px;
  /* background-color: #f7f7f7;  */
  white-space: nowrap; /* Prevent text from wrapping */
}

.custom-service-content {
  padding: 15px;
  font-size: 14px; /* Adjusted font size */
  color: #555;
}

.tp-header-bottom .white-bg .tp-header-height{
  height: 86px;
}

.service-img {
  display: block;
  margin-left: -30px;
  margin-right: auto;
  background-color: blue; /* Fallback color if the image fails to load */
  background-size: cover; /* Ensures the image covers the entire element */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  border-radius: 10px;
  width: 400px;
  height: 300px;
  box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.service-img:hover {
  box-shadow: 0 6px 12px var(--tp-red-1);
}

.service-para p {
  font-size: 16px;
  text-align: justify;
  margin-left: auto;
  margin-right: 150px;
}

.services-common {
  display: flex;
  justify-content: center;
  background-color: var(--tp-grey-1);
}

.common-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin: 50px 100px;
  color: var(--tp-blue-1);
}


.custom-hidden {
  display: none; /* Hide content initially */
}

.tp-services-details1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background-color: #f1ebe9; */
  
  border-radius: 20px;
  padding: 50px 90px 50px 70px;
}

.tp-services-details-title {
  font-size: 35px;
}

.tp-service-content {
  /* padding-top: 30px; */
  display: grid;
  grid-template-columns: 25% 80%;
  gap: 15%;
  margin-right: -10px;
  margin-left: -10px;
  align-items: center;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-service-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .custom-services-options {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 10px;
    justify-content: space-evenly;
    margin-left: 9px;
  }

  .service-img {
    margin-left: 0px;
    width: 800px;
    height: 400px;
    box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
  }
  
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .tp-service-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    padding: 0px 0px 0px 20px;
  }

  .custom-services-options {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 10px;
    justify-content: space-evenly;
    margin-left: 9px;
  }

  .service-img {
    margin-left: 0px;
    width: 600px;
    height: 300px;
    box-shadow: 3px 3px 13px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
  }

  .service-para p {
    font-size: 16px;
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 767px) {
  .tp-service-content {
    grid-template-columns: repeat(1, 1fr);
    gap: 50px;
    margin: 0px 0px 0px 50px;
  }

  .custom-services-options {
    margin-top: 40px;
    display: flex;
    flex-direction:column;
    align-items:flex-start;
    padding: 5px;
    gap: 10px;
    justify-content: space-evenly;
    margin-left: 9px;
  }

  .tp-services-details-title
  {
    font-size: 25px;
    margin-left: -30px;
  }
  
  .custom-service-header {
  padding: 10px 10px;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px 10px 20px;
  color: var(--tp-common-black);
  border-radius: 6px;
  /* background-color: #f7f7f7;  */
  white-space: nowrap; /* Prevent text from wrapping */
  width: 270px;
  }
  
}


@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .common-items {
    gap: 30px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .common-items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .common-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-img {
   
    width: 320px;
    height: 200px;

  }

  .service-para p{
    margin-right: 0px;
    margin-left: -26px;
  }

  
}

.c-item {
  max-width: 300px;
  background-color: var(--tp-common-white);
  padding: 30px;
  border-radius: 6px;
}

.c-item:hover {
  border: none;
  box-shadow: 0 3px 5px var(--tp-red-1);
}

.c-item i {
  font-size: 30px;
  padding: 0px 0px 20px 0px;
  color: var(--tp-blue-1);
}

.c-item h5 {
  font-weight: 600;
  margin-top: 10px;
  color: var(--tp-blue-1);
}

.c-item p {
  margin-top: 20px;
  color: var(--tp-blue-1);
}




.card-container {
  width: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* background-color: #000; */
  margin: 50px -65px 0px -40px;

}

.card {
  border-radius: 8px;
  background-color: var(--tp-common-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px var(--tp-red-1);
  cursor: pointer;
}

.card-title {
  font-size: 16px;
  color: #d82221;
  font-weight: bold;
  padding-bottom: 10px;
}

.card-body {
  font-size: 14px;
}

.card-description {
  margin: 0;
}


.tp-services-card-btn {
  color: var(--tp-blue-1);
  margin-top: 10px;
  font-size: 13px;
  font-weight:500;
  text-transform: capitalize;
  display: inline-block;
}
.tp-services-card-btn:hover {
  color: var(--tp-red-1);
  text-decoration: underline;
  /* text-decoration-color:var(--tp-blue-1); */
}
.tp-services-card-btn i {
  margin-left: 4px;
  font-size: 12px;
}

@media(max-width:767px)
{
  .card-container
  {
    grid-template-columns: repeat(1, 1fr);
  }

  .c-item{
    width:285px;
  }

  .tp-btn-2{
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 5px;
  }

  .tp-header-btn a {
    background-color: var(--tp-theme-primary);
    color: var(--tp-common-white);
    font-size: 12px; 
    display: inline-block;
    width: 100px;
    padding: 5px 7px;
    border: 1px solid white;
    border-radius: 10px;
    text-align: center;
    
  }

  .offcanvas-open-btn {
    height: 30px;
    width: 30px;
    background-color: transparent;
    line-height: 1;
    text-align: center;
  }
  .offcanvas-open-btn i {
    color: var(--tp-theme-primary);
    
  }
}

@media (max-width:768px)
{
  .card-container {
    width: auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    /* background-color: #000; */
    margin: 50px -65px 0px -40px;
  
  }
}
