
/* Start Global */
@import url("https://fonts.googleapis.com/css2?family=Sarabun:wght@300;500;600&display=swap");

:root {
  --main-color: #464891;
  --sub-color: #dc3545;
  --white-color: #fff;
  --black-color: #333;
  --gray-color: #717275;
  --gray-bg: #f5f5f5;
  --font-size: 1rem;
  --font-family: "Sarabun", sans-serif;
}

body {
  font-family: var(--font-family);
}

a {
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
}

.main-color {
  color: var(--main-color);
}

.main-bg {
  background-color: var(--main-color);
}

.sub-color {
  color: var(--sub-color);
}

.sub-bg {
  background-color: var(--sub-color);
}

.border-radius-18 {
  border-radius: 18px;
}

.main-btn {
  background-color: var(--sub-color);
  color: var(--white-color);
  min-width: fit-content;
  padding: 8px 25px;
  border-radius: 25px;
  border: none;
  text-transform: capitalize;
}

.main-btn.main-btn--bg {
  background-color: var(--main-color);
}

/* End Global */

/* Start Upper navbar */
.upper-navbar__conetnt__list__link {
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background-color: var(--white-color);
  color: var(--black-color);
  border-radius: 50%;
  font-size: calc(var(--font-size) - 0.2rem);
  transition: color 0.3s;
}

.upper-navbar__conetnt__list__link:hover {
  color: var(--sub-color);
}
/* End Upper navbar */

/* Start Navbar */
.navbar-brand {
  font-size: calc(var(--font-size) * 1.5);
  font-weight: bold;
}
.nav-link {
  font-size: calc(var(--font-size) - 0.2rem);
}
.nav-link.active {
  color: var(--sub-color) !important;
}
/* End Navbar */

/* Start Header */
header {
  height: calc(100vh - 120px);
  position: relative;
}
.carousel-item {
  background-size: cover;
  background-position-y: -150px;
  position: relative;
  z-index: 1;
  /* transform: scaleY(0); */
  /* transition: transform 1s; */
  /* transform-origin: top; */
}

/* .carousel-item.active {
  transform: scaleY(1);
} */

.carousel-item::before {
  content: "";
  inset: 0;
  position: absolute;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
  z-index: -1;
}

.slider-img-one {
  background-image: url("../asstes/images/img-slider-01.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top ;
}
.slider-img-tow {
  background-image: url("../asstes/images/img-slider-03.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}
.silder-btns {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  width: 50px;
}

.carousel-item__btns__ply-btn {
  border: 2px solid var(--sub-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-color: transparent;
  color: var(--sub-color);
}

.carousel-item__title {
  font-size: calc(var(--font-size) * 3);
}
/* End Header */

/* Start About */
.about__image {
  background-image: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5)),
    url("../asstes/images/blog-post-26-1280x1280.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
/* End About */
/* start we grow together  */
.grow {
  background-image: url(../asstes/images/img-slider-02.jpg);
  background-size: cover;
  background-attachment: fixed;
  height: 400px;
}

/* Text styles for larger screens */
.grow-p {
  font-weight: 900;
  font-size: 80px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .grow {
    height: auto; /* Adjust the height as needed for smaller screens */
  }

  /* Text styles for smaller screens */
  .grow-p {
    font-size: 36px; /* Adjust font size for smaller screens */
  }
}

/* end we grow together  */
/* Start Service */
.service {
  background-color: var(--gray-bg);
}
.service .nav-pills .nav-link {
  border-left: 5px solid var(--black-color);
}
.service__tabs__title {
  color: var(--black-color);
}
.service__tabs__text {
  color: var(--gray-color);
}
.service .nav-pills .nav-link.active,
.service .nav-pills .show > .nav-link {
  background-color: var(--white-color);
  box-shadow: 5px 5px 15px 0 #bdbaba;
  border-color: var(--sub-color);
}
.service .nav-pills .nav-link.active .service__tabs__title {
  color: var(--main-color);
}

.service__list {
  list-style: disc;
  padding-left: 20px;
}
/* End Service */
/* Start Brands */
.brands__card {
  background-size: 100% 100%;
  min-height: 300px;
  color: var(--white-color);
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: background-size 0.3s;
  background-position: center center;
}
.brands__card:hover {
  background-size: 120% 120%;
}
.brands__card.bg-one {
  background-image: url("../asstes/images/projects/images.jfif");
}

.bg-cyper{
  background-image: url("../asstes/images/projects/download.jfif");
}
.bg-scape{
  background-image: url("../asstes/images/projects/share_v2.jpg");

}
.bg-cus{
  background-image: url("../asstes/images/projects/evangeline-shaw-nwLTVwb7DbU-unsplash.jpg");
}
.bg-glo{
  background-image: url("../asstes/images/projects/shutterstock_1932216302.webp");
}
.brands__card__text {
  position: relative;
  top: 0;
  /* transform: translateY(0); */
  transition: top 0.3s;
}
.brands__card:hover .brands__card__text {
  top: -10px;
}
.brands__card::before {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  height: 40%;
  z-index: -1;
  background: linear-gradient(
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.7)
  );
  transition: height 0.3s;
}
.brands__card:hover::before {
  height: 45%;
}
.brands__card__icon {
  display: block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  background-color: var(--main-color);
  color: var(--white-color);
  border-radius: 50%;
  transition: background-color 0.3s;
}
.brands__card:hover .brands__card__icon {
  background-color: var(--sub-color);
}
/* End Brands */

/* names */
.trusted-section {
  background-color: #f9f9f9;
  padding: 40px 0;
}

/* Center the content in the container */
.container {
  text-align: center;
}

/* Style the customer cards */
.testimonial-card {
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

/* Style the customer images */
.testimonial-img {
  max-width: 80px;
  height: auto;
}

/* Style the customer names */
.customer-name {
  font-size: 16px;
  margin-top: 5px;
}

/* Style the star ratings */
.stars {
  color: #ffc107; /* Yellow color for stars */
  font-size: 18px;
}

/* Style the customer testimonials */
.testimonial-title {
  font-size: 18px;
  margin-top: 10px;
}

.testimonial-text {
  font-size: 14px;
  margin-top: 5px;
}

/* Style the company names */
.company-name {
  font-size: 16px;
  margin-top: 10px;
  color: #333; /* Adjust color to your preference */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
  .testimonial-card {
    padding: 10px;
  }
}

/* srartfooter */
.main {
  background-image: url(../asstes/images/wave\ \(1\).svg);
  background-size: cover;
}
.form-control {
  border: 3px solid whitesmoke;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background-color: transparent;
} 
.form-control:focus {
background-color: whitesmoke;
border: 0;
}
.fram {
  border-radius: 20px;
}
.te-1{
  font-size: 18px;
  transform: color 0.3s;
}

.te-1:hover {
  color: var(--main-color);
}
.card-body-main {
  transform: translateY(-100px);
}
/* Add your CSS styles */
.w-100 {
  text-align: center; /* Center the button horizontally */
  margin-top: 20px; /* Add margin for spacing */
}

/* Style the button */
button.sub-bg {
  background-color: #eb4242; /* Change the background color */
  color: #fff; /* Change the text color */
  padding: 10px 20px; /* Adjust the padding for better button size */
  font-size: 16px; /* Change the font size */
  border: none; /* Remove the border */
  border-radius: 18px; /* Apply border-radius */
  cursor: pointer; /* Add a pointer cursor on hover */
  transition: background-color 0.3s; /* Smooth background color transition */
}

/* Change button color on hover */
button.sub-bg:hover {
  background-color: #0056b3;
}

/* endfooter */