/* For Desktop View */
@media screen and (min-width: 1240px) {
}
@media screen and (max-device-width: 1239px) {
}
@media screen and (max-device-width: 1024px) {
  .custom-overlaya {
    padding-top: 10px;
  }
  .heading h1 {
    font-size: 40px;
}
  .navbar-logo {
    width: 10.5%;
    margin: 0px 0px;
  }
  .Comapony_logos {
    margin-top: 20px;
    width: 16.5%;
    /* height: 170px; */
  }
  .ceo_details {
    width: 87%;
    border-radius: 8px;
    padding: 10px;
    top: 75%;
    left: 6%;
    right: 5%;
  }
  .heading {
    width: 60%;
  }
  .hero1-title {
    font-size: 3.2em;
  }
  .hero2-title {
    font-size: 4em;
  }
  .hero4-title {
    font-size: 4em;
  }
  .Right_banner_image img {
    height: 250px !important;
  }
  .Main_Banner {
    width: 90%;
    height: 500px;
  }
  .custom-overlaya {
    transform: translateY(81%);
  }
  .custom-overlayam {
    transform: translateY(87%);
  }
  .effert:hover .custom-overlaya {
    padding-top: 40%;
  }
  .effert:hover .custom-overlayam {
    padding-top: 55%;
  }
  .investor_Detail {
    margin-top: 0px !important;
  }
  .Inner_part_margin {
    margin-top: 30px !important;
  }
  .inner_images {
    height: 335px;
  }

  .investor_image {
    height: 321px;
  }
  .Careers img {
    width: 100%;
    height: 376px;
  }
  .reviews {
    top: 60%;
  }
  .Careers {
    margin-bottom: 40px !important;
  }
  .inner_help {
    width: 90%;
  }
  .careers_image {
    height: 378px;
  }
  .new_service_card {
    height: 300px;
  }
  .new_service_image {
    height: 300px;
  }
  .new_service_detail {
    h3 {
      font-size: 17px;
      font-weight: 400;
      padding-bottom: 10px;
    }
  }
  .new_service_detail {
    transform: translateY(92%);
  }
  .new_service_image:hover .new_service_detail {
    width: 93.5%;
    height: 285px !important;
    transform: translateY(3%);
    border-radius: 15px;
    margin-left: 3%;
    padding-top: 7%;
    p {
      font-size: 12px;
      line-height: 17px;
    }
  }
  .innerdiv{
	transform: scale(0.9);
	margin: 1rem;
	display: grid;
	grid-gap: 1.5rem;
	grid-template-rows: repeat(2,22rem);
	grid-template-columns: repeat(4,15rem);
}
.eachdiv {
  padding: 1rem 1rem;
  border-radius: 0.8rem;
  box-shadow: 5px 5px 20px #6d6b6b6b;
  color: white;
}
}

/* For Tablet View */
@media screen and (max-device-width: 820px) {
  .Servie_card {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
}
  .Social_media {
    grid-template-columns: repeat(2, 1fr);
}
  .main_service {
    padding-top: 80px !important;
    margin-bottom: 30px !important;
}
  .navbar-logo {
    width: 12%;
    margin: 10px 0px;
  }
  .ceo_details {
    width: 84%;
    border-radius: 8px;
    padding: 10px;
    top: 67%;
    left: 8%;
    right: 5%;
  }
  .ceo_details h6 {
    font-size: 12px;
    font-weight: 400;
  }
  .investor_image {
    width: 100%;
    position: relative;
    height: 420px;
  }
  .investor_Detail {
    width: 100%;
    h1 {
      margin-top: 10px;
      text-align: center;
    }
  }
  .tab__content .tab .row {
    justify-content: space-around;
  }
  .new_service_card {
    width: 33%;
    height: 250px;
  }
  .new_service_image {
    height: 250px;
  }
  .about-section {
    width: 100%;
    text-align: center;
    padding: 0px 20px;
}
.image-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  padding: 20px;
}
  .new_service_detail {
    h3 {
      font-size: 17px;
      font-weight: 400;
      padding-bottom: 10px;
    }
  }
  .new_service_detail {
    transform: translateY(90%);
  }
  .new_service_image:hover .new_service_detail {
    width: 93.5%;
    height: 235px !important;
    transform: translateY(3%);
    border-radius: 15px;
    margin-left: 3%;
    padding-top: 7%;
    p {
      font-size: 10px;
      line-height: 15px;
    }
  }
  .tab__content .tab .row {
    flex-direction: row;
  }
  .Comapony_logos {
    width: 21%;
  }
  .carousel-item img {
    /* height: auto; */
  }
  .hero1 {
    /* height: 70vh; */
  }
  .hero2 {
    /* height: 70vh; */
    /* background-size:100% 70vh; */
  }
  .hero4 {
    /* height: 70vh; */
  }
  .container2 {
    width: 76%;
  }
  .left-side,
  .right-side {
    width: 62%;
  }
  .heading {
    width: 90%;
  }
  .Main_Banner {
    width: 90%;
    height: auto;
  }
  .Right_banner_image img {
    /* height: auto !important; */
  }
  .Main_Banner {
    width: 85%;
    height: auto;
  }
  .custom-overlaya {
    transform: translateY(80%);
  }
  .effert {
    margin-top: 15px;
  }
  .custom-overlayam {
    transform: translateY(86%);
  }
  .effert:hover .custom-overlaya {
    padding-top: 50%;
  }
  .effert:hover .custom-overlayam {
    padding-top: 20%;
  }
  .Inner_part {
    padding-top: 5px;
    padding-bottom: 3px;
  }
  .Inner_part_margin {
    margin-top: 7px !important;
  }
  .investor_image {
    height: 244px;
  }
  .investor_image h1 {
    top: 81%;
    left: 5%;
  }
  .investor {
    margin-bottom: 33px !important;
  }
  .Careers img {
    height: 309px;
  }
  .reviews {
    top: 50%;
  }
  .Careers {
    margin-bottom: 35px !important;
  }
  .help {
    height: auto;
  }
  .Four_section {
    width: 170px;
  }
  .said_section {
    width: 100%;
  }
  .large {
    width: 100%;
  }
  .news-grid {
    height: auto;
    width: 100%;
  }
  .small {
    height: 44vh;
  }
  .large{
    margin: 15px 0px !important;
  } 
  .large img {
    width: 100% !important;
    height: 84% !important;
}
.contentt {
flex-wrap: wrap;
}
.dtlcont {
  width: 100%;
}
.dtlcont p{
  margin-bottom: 4px;
}
.dtlbtn {
  width: 100%;
}
.btnc{
  
  text-align: center !;
  float: none;
}
.news-card img {
  width: 100%;
  height: 62%;
  object-fit: cover;
}
.said_section .news-card {
  margin-top: 0px;
  width: 50%;
}
.said_section {
display: flex;
}
.small {
  height: 35vh;
}
}
@media screen and (max-device-width: 768px) {
}

/* For Mobile Portrait View */
@media screen and (max-device-width: 575px) {
  .new_service {
    width: 84%;
    margin-top: 30px !important;
    margin: auto;
}
  .hero2-content {
    margin-left: 5%;
    margin-top: 5%;
    margin-right: 0%;
    text-align: left;
    color: #f4f4f4;
    z-index: 2;
  }
}
@media screen and (max-device-width: 475px) {
  .said_section {
    display: block;
    }
    .said_section .news-card {
      margin-top: 15px;
      width: 100%;
    }
    .small {
      height: 35vh;
    }
  .said_section {
    width: 100%;
  }
  .large {
    width: 100%;
  }
  .news-grid {
    height: auto;
    width: 100%;
  }
  .small {
    height: 44vh;
  }
  .large{
    margin: 15px 0px !important;
  } 
  .large img {
    width: 100% !important;
    height: 74% !important;
}
.contentt {
flex-wrap: wrap;
}
.dtlcont {
  width: 100%;
}
.dtlcont p{
  margin-bottom: 4px;
}
.dtlbtn {
  width: 100%;
}
.btnc{
  
  text-align: center !;
  float: none;
}
.news-card img {
  width: 100%;
  height: 62%;
  object-fit: cover;
}
  .achievement-cards {
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
    width: 100%;
    margin-top: 10px !important;
}
.about-section p {
  color: #4e4b66;
  font-size: 13px;
  line-height: 16px;
  margin-bottom: 0px;
  font-family: Arial, Helvetica, sans-serif;
}
.about-section h3 {
  font-size: 26px;
  margin-bottom: 20px;
}
.image-grid {
padding-top: 0px;
}
.card h4 {
  color: #3f3d56;
  font-size: 22px;
  margin-bottom: 10px;
}
  .center_service{
    border-radius: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
  }

  .saidService{
    margin-bottom: 10px;
  }
  .top_service{
    padding-bottom: 10px !important;
  }
  .innerdiv {
    transform: scale(1);
    grid-template-rows: repeat(2, 20rem); /* Adjust row height for mobile */
    grid-template-columns: 1fr; /* Stack items in a single column */
    grid-gap: 1rem; /* Reduce the gap between grid items */
    margin: 0.5rem; /* Reduce margin for mobile */
}
  .Servie_card {
    grid-template-columns: repeat(1, 1fr);
}
  .Social_media {
    grid-template-columns: repeat(1, 1fr);
}
  .carousel-control-next, .carousel-control-prev {
    top: 36%;
}
.Product_Card {
  width: 92%;
  margin: auto;
  padding-bottom: 30px;
}
.tab__content .tab {
  position: relative;
  width: 100%;
  padding-left: 0px !important;
  padding: 15px 15px;
  display: none;
  -webkit-animation: fadein 0.8s;
  animation: fadein 0.8s;
}
  .About_banner {
    height: auto;
    overflow: hidden;
    margin-top: 70px;
}
  .main_service {
    padding-top: 80px !important;
    margin-bottom: 30px !important;
}
  .custom-overlayam {
    transform: translateY(78%);
  }
  .navbar {
    padding: 0px;
  }
  .goals {
    width: 90%;
  }
  .counter1 {
    width: 100%;
    margin-top: 10px;
  }
  .footer-social-icon {
    margin-bottom: 15px;
  }
  .carousel.pointer-event {
    touch-action: pan-y;
    /* margin-top: 65px; */
  }
  .Comapony_logos {
    width: 50%;
  }
  .carousel-item img {
    width: 100%;
    height: 25vh;
  }
  .carousel-inner {
    height: auto;
}
.carousel-item {
  height: auto;
}
  .Banner_details {
    top: 56%;
    left: 6%;
    h3 {
      font-size: 28px;
    }
  }
  .Face_card {
    width: 100%;
    margin-top: 20px !important;
    padding: 0px;
  }
  .inner_card {
    padding: 0px;
  }
  .hero2-content {
    margin-left: 5%;
    margin-top: 5%;
    margin-right: 0%;
    text-align: left;
    color: #f4f4f4;
    z-index: 2;
  }
  .tab__content .tab {
    justify-content: space-around;
  }
  .Right_banner_image img {
    /* height: auto !important; */
}
  .single-cta {
    display: flex;
    margin-top: 10px;
  }
  .container2 {
    display: contents;
  }
  .left-side {
    width: 80%;
  }
  .right-side {
    width: 80%;
    padding-left: 0px !important;
    padding-top: 0px !important;
  }
  .hero2-title {
    font-size: 3em;
  }
  .hero2-subtitle {
    font-size: 0.8em;
    margin-bottom: 0px;
  }
  .hero4-title {
    font-size: 3em;
  }
  .hero4-subtitle {
    font-size: 0.8em;
    margin-bottom: 0px;
  }
  .heading p {
    font-family: "Quicksand", sans-serif;
    font-size: 23px;
    letter-spacing: -1px;
    word-spacing: 2px;
    color: #7e7e7e;
    line-height: 32px;
    font-weight: 200 !important;
  }
  .heading {
    margin-bottom: 0px;
  }
  .heading h1 {
    font-size: 35px;
    letter-spacing: -1px;
  }
  .custom-overlaya {
    transform: translateY(80%);
  }
  .effert:hover .custom-overlaya {
    padding-top: 30%;
  }
  .investor_image {
    width: 100%;
    padding: 0px;
  }
  .investor_Detail {
    width: 100%;
    padding: 0px;
  }
  .investor_image h1 {
    font-size: 20px;
    top: 77%;
    left: 5%;
  }
  .Second_banner {
  }
  .Four_section {
    width: 190px;
  }
  .Careers img {
    height: 237px;
  }
  .careers_image {
    height: 250px;
  }
  .navbar-brand {
    width: 20%;
  }
  .Main_Banner {
    width: 90%;
    height: auto;
  }
  .Second_banner {
    width: 90%;
    margin-top: 30px !important;
    height: 170px;
  }
  .Banner_details {
    top: 67%;
    left: 3%;
    h3 {
      font-size: 17px;
    }
  }
  .heading {
    margin-top: 15px;
    margin-bottom: 10px;
  }
  .ceo_details {
    width: 88%;
    top: 82%;
    left: 6%;
  }
  .new_service_card {
    width: 50%;
    /* margin: auto; */
    /* margin-top: 15px; */
    height: 270px;
  }
  .new_service_image {
    height: 270px;
  }
  .new_service_detail {
    h3 {
      font-size: 13px;
      font-weight: 400;
      padding-bottom: 0px;
    }
  }
  .new_service_detail {
    transform: translateY(90%);
  }
  .new_service_image:hover .new_service_detail {
    width: 93.5%;
    height: 255px !important;
    transform: translateY(3%);
    border-radius: 15px;
    margin-left: 3%;
    padding-top: 7%;
    p {
      font-size: 10px;
      line-height: 15px;
    }
  }
  .navbar-brand img {
    padding-bottom: 5px;
  }
  .single_service img {
    width: 100%;
    height: 380px;
}
.Single_servie_tag {
  width: 90%;
  height: 90px;
  padding: 1rem !important;
}
}
@media screen and (max-device-width: 375px) {
  .news-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
  }
  .large img {
    width: 100% !important;
    height: 72% !important;
}
  .heading p {
    font-size: 19px;
    line-height: 24px;
  }
  .ceo_details {
    width: 85%;
    top: 79%;
    left: 8%;
    right: 5%;
  }
  .new_service_card {
    width: 50%;
    padding-left: 7px;
    padding-right: 7px;
    /* margin: auto; */
    /* margin-top: 15px; */
    height: 250px;
    margin-bottom: 0px;
  }
  .new_service_image {
    height: 250px;
  }
  .new_service_detail {
    h3 {
      font-size: 12px;
      font-weight: 400;
      padding-bottom: 0px;
    }
  }
  .new_service_detail {
    transform: translateY(90%);
  }
  .new_service_image:hover .new_service_detail {
    width: 93.5%;
    height: 235px !important;
    transform: translateY(3%);
    border-radius: 15px;
    margin-left: 3%;
    padding-top: 7%;
    p {
      font-size: 9px;
      line-height: 14px;
    }
  }
}
@media screen and (max-device-width: 320px) {
  .ceo_details {
    width: 86%;
    top: 73%;
    left: 7%;
    right: 5%;
  }
  .new_service_card {
    width: 100%;
    padding-left: 7px;
    padding-right: 7px;
    /* margin: auto; */
    /* margin-top: 15px; */
    height: 250px;
  }
  .new_service_image {
    height: 250px;
  }
  .new_service_image img {
    height: 100%;
  }
  .new_service_detail {
    h3 {
      font-size: 14px;
      font-weight: 400;
      padding-bottom: 0px;
    }
  }
  .new_service_detail {
    transform: translateY(90%);
  }
  .new_service_image:hover .new_service_detail {
    width: 93.5%;
    height: 235px !important;
    transform: translateY(3%);
    border-radius: 15px;
    margin-left: 3%;
    padding-top: 7%;
    p {
      font-size: 12px;
      line-height: 18px;
    }
  }
}
@media screen and (max-device-width: 280px) {
}
