@import url("https://fonts.googleapis.com/css2?family=Bangers&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", sans-serif;
  background-color: #fff;
  color: #333;
}
/* global designs starts here*/
/* section title design */
.three h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5em;
  padding-bottom: 15px;
  position: relative;
}
.three h1:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5px;
  width: 55px;
  background-color: #111;
}
.three h1:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  height: 1px;
  width: 95%;
  max-width: 255px;
  background-color: #333;
}
/* global designs ends here*/
header {
  position: fixed;
  z-index: 999;
  width: 100%;
}
/* topbar design start here */
.top-bar {
  height: 47px;
  background-color: #fff;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

.company-contact-container {
  gap: 20px;
  font-size: 14px;
  color: #777777;
}

.social-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar .social-icon-container ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.top-bar .social-icon-container ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ccc;
  color: #333;
  transition: all 0.3s ease;
  text-decoration: none;
}

.top-bar .social-icon-container ul li:first-child a {
  color: #003cff;
}

.top-bar .social-icon-container ul li:nth-child(2) a {
  color: red;
}

.top-bar .social-icon-container ul li:nth-child(3) a {
  color: #003cff;
}

.top-bar .social-icon-container ul li:nth-child(1):hover a {
  background-color: #003cff;
  color: #fff;
  transform: scale(1.05);
  border: none;
}

.top-bar .social-icon-container ul li:nth-child(2):hover a {
  background-color: red;
  color: #fff;
  transform: scale(1.05);
  border: none;
}

.top-bar .social-icon-container ul li:nth-child(3):hover a {
  background-color: #003cff;
  color: #fff;
  transform: scale(1.05);
  border: none;
}
/* top-bar-small screen starts here */
.top-bar-small {
  display: none;
  height: 100%;
  background-color: #fff;
  padding: 0 15px;
  align-items: center;
}

.top-bar-small .company-contact-container {
  gap: 20px;
  font-size: 14px;
}
.top-bar-small .company-contact-container a {
  color: #000;
}
.social-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-bar-small .social-icon-container ul {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.top-bar-small .social-icon-container ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ccc;
  transition: all 0.3s ease;
  text-decoration: none;
}

.top-bar-small .social-icon-container ul li:first-child a {
  color: #003cff;
}

.top-bar-small .social-icon-container ul li:nth-child(2) a {
  color: red;
}

.top-bar .social-icon-container ul li:nth-child(3) a {
  color: #003cff;
}

.top-bar-small .social-icon-container ul li:nth-child(1):hover a {
  background-color: #003cff;
  color: #fff;
  transform: scale(1.05);
  border: none;
}

.top-bar-small .social-icon-container ul li:nth-child(2):hover a {
  background-color: red;
  color: #fff;
  transform: scale(1.05);
  border: none;
}

.top-bar-small .social-icon-container ul li:nth-child(3):hover a {
  background-color: #003cff;
  color: #fff;
  transform: scale(1.05);
  border: none;
}
/* top-bar-small screen ends here */
/* topbar design ends here */
/* main header design starts here */
.main-header {
  position: absolute;
  top: 47px;
  z-index: 999;
  width: 100%;
  background-color: hsl(0, 0%, 0%);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left a,
.nav-right a {
  position: relative;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 6px 12px;
}

/* Line effect for both nav-left and nav-right links */
.nav-left a::after,
.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* Adjust as needed */
  height: 2px;
  width: 0;
  background: #ffffff; /* Line color */
  transition: width 0.3s ease-in-out;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}

.logo-img {
  height: 40px;
  object-fit: contain;
}
/* main header design ends here */
/* main header small start here */
.small-menu-nav {
  display: none;
}
.small-menu-nav .menu-btn {
  border: none;
  background: transparent;
  font-size: 20px;
  color: #fff;
}
.small-menu-nav .close-btn {
  border: none;
  background: transparent;
  font-size: 20px;
  color: #0c0c0c;
  position: absolute;
  top: 20px;
  right: 20px;
}
.nav-list {
  position: fixed;
  height: 100vh;
  width: 100vw;
  top: 0;
  left: -100vw;
  background-color: #fff;
  z-index: 999;
  transition: all 0.3s ease;
}
.nav-list.active {
  left: 0;
}
.small-menu-nav .nav-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.small-menu-nav .nav-list ul li {
  margin: 15px 0;
}
.small-menu-nav .nav-list ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease;
}
.small-menu-nav .nav-list ul li a:hover {
  color: #003cff;
  transform: scale(1.05);
}
/* main header small end here */

.hero-section .carousel-inner {
  height: 100vh;
}

.hero-section .carousel-inner .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.expert-assist-card {
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.3s ease;
}
.expert-assist-card:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.expert-help-btn {
  background-color: #000;
  padding: 5px 15px;
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  border: 1px solid #000;
  transition: all 0.3s ease;
}
.expert-help-btn:hover {
  background-color: #ffffff;
  color: #000;
  border: 1px solid #000;
  text-decoration: none;
}
.expert-help-text {
  font-size: 14px;
}
.expert-card-title {
  margin-bottom: 5px;
}
.expert-card-title a {
  font-weight: 600;
  font-size: 20px;
}
.location-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 15px;
}

.location-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.location-card:hover .intro {
  background: rgba(0, 0, 0, 0.582);
}

.location-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.intro {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end; /* vertical align to bottom */
  justify-content: center; /* horizontal center */
  padding: 20px;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease;
}

.intro h1 {
  font-size: 1.2rem;
}

.nav-pills .nav-link {
  color: black;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #000;
  color: #fff;
}
.testimonial-card {
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.testimonial-card .card-up {
  height: 120px;
  overflow: hidden;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.testimonial-card .avatar {
  width: 110px;
  margin-top: -60px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
}

.footer-section {
  background-color: #000;
  padding: 20px 0;
}

.blog-card {
  border: none;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.blog-card-text {
  font-size: 14px;
  color: #313131;
}
.post-date {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #777777;
  font-size: 12px;
}
/* CSS */
.button-57 {
  position: relative;
  overflow: hidden;
  border: 1px solid #18181a;
  color: #18181a;
  display: inline-block;
  font-size: 15px;
  line-height: 15px;
  padding: 15px 20px;
  text-decoration: none;
  cursor: pointer;
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-57 span:first-child {
  position: relative;
  transition: color 600ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 10;
}

.button-57 span:last-child {
  color: white;
  display: block;
  position: absolute;
  bottom: 0;
  transition: all 500ms cubic-bezier(0.48, 0, 0.12, 1);
  z-index: 100;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translateY(225%) translateX(-50%);
  height: 8px;
  line-height: 13px;
}

.button-57:after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  transform-origin: bottom center;
  transition: transform 600ms cubic-bezier(0.48, 0, 0.12, 1);
  transform: skewY(9.3deg) scaleY(0);
  z-index: 50;
}

.button-57:hover:after {
  transform-origin: bottom center;
  transform: skewY(9.3deg) scaleY(2);
}

.button-57:hover span:last-child {
  transform: translateX(-50%) translateY(-100%);
  opacity: 1;
  transition: all 900ms cubic-bezier(0.48, 0, 0.12, 1);
}

