* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-transform: capitalize;
  text-decoration: none;
}

html {
  font-size: 62.5%;
}

body {
  overflow-x: hidden;
  background-color: #f5f7fa;
}

.heading,
.clients .section-header h2,
.section-head h2,
.testimonials .section-header h2,
.section-head-1 h4 {
  margin: 0rem;
  padding-top: 6rem;
  display: inline-block;
  font-size: 3.5rem;
  color: #002e5f;
  position: relative;
  letter-spacing: 0.2rem;
}

/* .heading::before, .heading::after, .clients .section-header h2::before, .clients .section-header h2::after, .section-head h1::before, .section-head h1::after, .testimonials .section-header h2::before, .testimonials .section-header h2::after, .section-head-1 h4::before, .section-head-1 h4::after{
    content: '';
    position: absolute;
    height: 2.5rem;
    width: 2.5rem;
    border-top: .4rem solid #002e5f;
    border-left: .4rem solid #002e5f;
} */

/* .heading::before, .clients .section-header h2::before, .section-head h1::before, .testimonials .section-header h2::before, .section-head-1 h4::before{
    top: 5.8rem;
    left: -2rem;
}

.heading::after, .clients .section-header h2::after, .section-head h1::after, .testimonials .section-header h2::after, .section-head-1 h4::after{
    bottom: -.5rem;
    right: -2rem;
    transform: rotate(180deg);
} */

.row .btn {
  outline: none;
  border: none;
  border-radius: 5rem;
  background: white;
  border-style: groove;
  border-color: #002e5f;
  font-size: 1.5rem;
  cursor: pointer;
  height: 3.5rem;
  width: 15rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.communicate {
  text-align: center;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/img3.webp);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #fff;
  min-height: 35vh;
  padding: 47px 20px;
}

.communicate h3 {
  margin-top: 3rem;
  font-size: 3rem;
}

.communicate p {
  font-size: 2rem;
}

.communicate button {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.communicate button::after {
  content: " →";
}

.communicate button:hover {
  background-color: #fff;
  border-color: #007bff;
  color: #007bff;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  position: fixed;
}

.header .logo img {
  width: 4rem;
  height: 4rem;
}

.header .navbar ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 0;
}

.header .navbar ul li {
  margin: 0 1.5rem;
}

.header .navbar ul li a {
  font-size: 2rem;
  color: #fff;
}

.header .navbar ul li a:hover {
  color: #00bfff;
  text-decoration: underline;
}

.header .logo i {
  padding: 0.5rem;
}

.header .fa-bars {
  color: #fff;
  cursor: pointer;
  font-size: 3rem;
  display: none;
}

.home {
  min-height: 100vh;
  width: 100vw;
  background-image: url(../images/VK.jpeg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  text-align: center;
  padding: 0 1rem;
  position: relative;
  overflow: hidden !important;
}

.home h1 {
  color: #fff;
  font-size: 5.5rem;
}

.home h2 {
  color: #fff;
  font-size: 3rem;
}

.home .wave {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  height: 11rem;
  width: 100%;
  background: url(../images/wave.png);
  background-size: 100rem 11rem;
  animation: waves 8s linear infinite;
  background-repeat: repeat-x;
  filter: brightness(0) saturate(0) invert(1);
  z-index: 2; /* Place above dark overlay */
}

.home .wave2 {
  animation-direction: reverse;
  animation-duration: 6s;
  opacity: 0.3;
  filter: brightness(0) saturate(0) invert(1);
  z-index: 2;
}

.home .wave3 {
  animation-duration: 4s;
  opacity: 0.5;
  filter: brightness(0) saturate(0) invert(1);
  z-index: 2;
}

@keyframes waves {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: 100rem;
  }
}

.about {
  min-height: 100vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  margin-bottom: 0rem;
  font-family: "Poppins", sans-serif;
}

.about .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: blur(8px);
  transform: scale(1.05);
}

.about .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 30, 63, 0.6);
  z-index: -1;
}

.about .heading {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid #ffffff;
  padding-bottom: 10px;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.about .image-container {
  flex: 1 1 300px;
  max-width: 300px;
}

.about .profile-pic {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.15);
  transition: transform 0.3s ease;
}

.about .profile-pic:hover {
  transform: scale(1.05);
}

.about .content {
  text-align: left;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 80px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .about .content {
    padding: 32px;
  }
}

.about .content h3 {
  font-size: 2.6rem;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.about .content p {
  font-size: 1.8rem;
  color: #f0f0f0;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.about .content .btn {
  background: transparent;
  color: #fff;
  padding: 3px 20px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 100;
  border: 3px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 3.5rem auto 0;
  text-transform: uppercase;
}

.about .content .btn:hover {
  background: #fff;
  color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}

@media (max-width: 768px) {
  .about .content {
    text-align: center;
  }

  .about .row {
    flex-direction: column;
  }

  .about .image-container {
    margin-bottom: 2rem;
  }
}

.pt-5 .container .row .section-head p {
  font-size: 2rem;
  color: #333;
  padding: 1rem 0;
}
.section-head {
  margin-bottom: 60px;
  text-align: center;
  margin-top: 0;
}
.section-head p {
  font-size: 20px;
  line-height: 28px;
  text-align: center;
}
.item {
  background: #fff;
  text-align: center;
  padding: 30px 25px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  margin-bottom: 30px;
  margin-top: -2rem;
  border: 5px solid rgba(0, 0, 0, 0.07);
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.item:hover {
  background: #c8d8e4;
  box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.item:hover .item,
.item:hover span.icon {
  background: #fff;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.item h6 {
  font-size: 2rem;
}
.item:hover h6,
.item:hover p {
  color: #2b6777;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.item .icon {
  font-size: 40px;
  margin-bottom: 25px;
  color: yellow;
  width: 90px;
  height: 90px;
  line-height: 96px;
  border-radius: 50px;
}
.item .feature_box_col_one {
  background: rgba(247, 198, 5, 0.2);
  color: #52ab98;
}
.item .feature_box_col_two {
  background: rgba(255, 77, 28, 0.15);
  color: #52ab98;
}
.item .feature_box_col_three {
  background: rgba(0, 147, 38, 0.15);
  color: #52ab98;
}
.item .feature_box_col_four {
  background: rgba(0, 108, 255, 0.15);
  color: #52ab98;
}
.item .feature_box_col_five {
  background: rgba(146, 39, 255, 0.15);
  color: #52ab98;
}
.item .feature_box_col_six {
  background: rgba(23, 39, 246, 0.15);
  color: #52ab98;
}
.item p {
  font-size: 15px;
  line-height: 26px;
}
.item h6 {
  margin-bottom: 20px;
  color: #2f2f2f;
}

.header-text {
  background-color: rgba(0, 0, 0, 0.5); /* Black with 50% opacity */
  padding: 20px;
  border-radius: 10px; /* Optional */
  display: inline-block; /* Or block for full width */
  position: relative;
  z-index: 2;
}

#home {
  position: relative; /* Required for ::before to position correctly */
}

#home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Darker tint for visibility */
  z-index: 1;
}

#home h1,
#home h2 {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9); /* Stronger shadow */
  color: #fff;
  position: relative;
  z-index: 2;
}

.schedule-button {
  margin-top: 20px;
  display: inline-block;
  padding: 12px 24px;
  background-color: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
  border: 2px solid #fff; /* White outline for visibility */
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2); /* Light shadow */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 2; /* Above overlay */
}

.schedule-button:hover {
  background-color: #fff; /* White on hover */
  color: #007bff; /* Blue text */
  transform: translateY(-2px);
}
.counters {
  background-image: url(../images/img2.webp);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: #fff;
  padding: 40px 20px;
}

.counters .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 30px;
  text-align: center;
}

.counters i {
  color: #fff;
  margin-bottom: 5px;
}

.counters .counter {
  font-size: 45px;
  margin: 10px 0;
}

@media (max-width: 700px) {
  .counters .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .counters .container > div:nth-of-type(1),
  .counters .container > div:nth-of-type(2) {
    border-bottom: 1px lightskyblue solid;
    padding-bottom: 20px;
  }
}
.section-head-1 {
  margin-bottom: 60px;
  background-size: 200%;
  background-position: left;
}
.section-head-1 p {
  color: #333;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
}
.item {
  background: #fff;
  text-align: center;
  padding: 30px 25px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  margin-bottom: 30px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  -webkit-transition: all 0.7s ease 0s;
  transition: all 0.7 ease 0s;
}
.item:hover {
  background-image: linear-gradient(to bottom right, #66ffcc 0%, #ffccff 100%);
  background-position: right;
  transition: background-position 3s;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.7s ease 0s;
}
.item:hover .item,
.item:hover span.icon {
  background: #fff;
  border-radius: 10px;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.item:hover h6,
.item:hover p {
  color: #2b6777;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}
.item .icon {
  font-size: 40px;
  margin-bottom: 25px;
  color: yellow;
  width: 90px;
  height: 90px;
  line-height: 96px;
  border-radius: 50px;
}
.item .feature_box_col_one {
  background: rgba(247, 198, 5, 0.2);
  color: #52ab98;
}
.item .feature_box_col_two {
  background: rgba(255, 77, 28, 0.15);
  color: #52ab98;
}
.item .feature_box_col_three {
  background: rgba(0, 147, 38, 0.15);
  color: #52ab98;
}
.item .feature_box_col_four {
  background: rgba(0, 108, 255, 0.15);
  color: #52ab98;
}
.item .feature_box_col_five {
  background: rgba(146, 39, 255, 0.15);
  color: #52ab98;
}
.item .feature_box_col_six {
  background: rgba(23, 39, 246, 0.15);
  color: #52ab98;
}
.item p {
  font-size: 15px;
  line-height: 26px;
}
.item h6 {
  margin-bottom: 20px;
  color: #2f2f2f;
}

.clients {
  position: relative;
  padding: 90px 0;
  text-align: center;
  margin-top: -10rem;
  margin-bottom: -10rem;
}

.clients .section-header p {
  padding-bottom: 10px;
  margin-top: 2.5rem;
  text-align: center;
  font-size: 2rem;
  color: #333;
  padding: 1rem 0;
}

.clients img {
  max-width: 100%;
  opacity: 1;
  transition: 0.3s;
  padding: 15px 0;
}

.clients img:hover {
  opacity: 0.5;
}

.clients .owl-nav,
.clients .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

.clients .owl-dot.active {
  background-color: #4f84c4;
}
.team {
  min-width: 100vw;
  min-height: 102vh;
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team #bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.team .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Adjusted for dim but visible effect */
  z-index: -1;
}

.team .heading {
  font-size: 5rem;
  color: #fff;
  padding-top: 123px;
  margin-bottom: 12rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid #ffffff;
  padding-bottom: 10px;
}

.team .carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 20px 0;
}

.team .carousel-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  animation: team-carousel-scroll 30s linear infinite;
  width: max-content;
}

/* Performance optimization for team carousel */
@media (max-width: 1024px) {
  .team .carousel-track {
    animation: team-carousel-scroll 20s linear infinite;
  }
}

/* Add minimal auto-scroll for team carousel on larger screens */
@media (min-width: 1025px) {
  .team .carousel-track {
    animation: team-carousel-scroll 35s linear infinite;
  }
}

.team .carousel-track:hover {
  animation-play-state: paused;
}

/* Pause animation when user is interacting */
.team .carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes team-carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.team .carousel-track .card {
  height: 35rem;
  width: 25rem;
  background-color: #fff;
  text-align: center;
  margin: 5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.team .carousel-track .card:hover {
  transform: translateY(-10px);
  cursor: pointer;
}

.team .carousel-track .card .image {
  margin: 1rem 0;
  padding-top: 4rem;
}

.team .carousel-track .card .image img {
  height: 13rem;
  width: 13rem;
  border-radius: 50%;
  border: 0.5rem solid #fff;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.team .carousel-track .card .info h3 {
  font-size: 2rem;
  color: #333;
}

.team .carousel-track .card .info span {
  font-size: 1.8rem;
  color: #00bfff;
}
.team .carousel-track .card .info .icons {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.team .carousel-track .card .info .icons a {
  font-size: 2rem;
  color: #333;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.team .carousel-track .card .info .icons .fa-facebook-f:hover,
.footer .icons .fa-facebook-f:hover {
  color: #4267b2;
  text-decoration: none;
}

.team .carousel-track .card .info .icons .fa-twitter:hover,
.footer .icons .fa-twitter:hover {
  color: #1da1f2;
  text-decoration: none;
}

.team .carousel-track .card .info .icons .fa-instagram:hover,
.footer .icons .fa-instagram:hover {
  color: #c13584;
  text-decoration: none;
}

.team .carousel-track .card .info .icons .fa-linkedin:hover,
.footer .icons .fa-linkedin:hover {
  color: #2867b2;
  text-decoration: none;
}

/* .team .carousel-track .card::before,
.team .carousel-track .card::after {
  content: "";
  border-radius: 50%;
  height: 13.5rem;
  width: 13.5rem;
  z-index: -1;
} */

/* .team .carousel-track .card::before {
  background: #00bfff;
  top: -3rem;
  right: -4rem;
}

.team .carousel-track .card::after {
  background: #ccc;
  bottom: -3rem;
  left: -4rem;
} */

.contact {
  text-align: center;
  align-items: center;
}

.contact .heading {
  margin-bottom: 5rem;
}

.contact-in {
  width: 80%;
  height: auto;
  margin: auto auto 5rem auto;
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 0px 10px 0px #666;
}

.contact-map {
  width: 100%;
  height: auto;
  flex: 50%;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
}
.contact-form {
  width: 100%;
  height: auto;
  flex: 50%;
  text-align: left;
}
.contact-form-txt {
  margin-left: 2rem;
  width: 95%;
  height: 40px;
  color: #000;
  border: 1px solid #bcbcbc;
  border-radius: 50px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
}
.contact-form-email {
  margin-left: 2rem;
  width: 95%;
  height: 40px;
  color: #000;
  border: 1px solid #bcbcbc;
  border-radius: 50px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
}
.contact-form-txt::placeholder {
  color: #aaa;
  font-size: 1.5rem;
}
.contact-form-email::placeholder {
  color: #aaa;
  font-size: 1.5rem;
}
.contact-form-txtarea {
  margin-left: 2rem;
  width: 95%;
  height: 130px;
  color: #000;
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
}
.contact-form-txtarea::placeholder {
  color: #aaa;
  font-size: 1.5rem;
}

.contact-form-btn {
  margin-left: 2rem;
  outline: none;
  border: none;
  border-radius: 5rem;
  background: white;
  border-style: groove;
  border-color: #002e5f;
  font-size: 1.5rem;
  cursor: pointer;
  height: 3.5rem;
  width: 15rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
}
.contact-form-btn:hover {
  letter-spacing: 0.1rem;
  opacity: 0.9;
  color: white;
  background: #002e5f;
}
.contact-form-phone {
  margin-left: 2rem;
  width: 95%;
  height: 40px;
  color: #000;
  border: 1px solid #bcbcbc;
  border-radius: 50px;
  outline: none;
  margin-bottom: 20px;
  padding: 15px;
}
.contact-form-phone::placeholder {
  color: #aaa;
  font-size: 1.5rem;
}

.footer {
  position: relative;
  padding: 0 0 30px 0;
  background: #333;
}

.footer .footer-top {
  background: #002e5f;
  padding: 60px 0 30px 0;
}

.footer .footer-top .footer-info,
.footer .footer-top .footer-links,
.footer .footer-top .footer-contact,
.footer .footer-top .footer-newsletter {
  margin-bottom: 30px;
}

.footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #ffffff;
  color: #00bfff;
  line-height: 1;
  padding: 9px 0;
  margin-right: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .footer-top .social-links a:hover {
  background: #00bfff;
  color: #ffffff;
}

.footer .footer-top h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer .footer-top h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 0;
  width: 50px;
  border-bottom: 2px solid #ffffff;
}

.footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-top .footer-links ul i {
  padding-right: 8px;
  color: #ffffff;
  font-size: 16px;
}

.footer .footer-top .footer-links ul li {
  border-bottom: 1px solid #ffffff;
  padding: 7px 0;
}

.footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-top .footer-links ul a {
  font-size: 14px;
  color: #ffffff;
}

.footer .footer-top .footer-links ul a:hover {
  color: #00bfff;
}

.footer .footer-top .footer-contact p {
  color: #ffffff;
  line-height: 26px;
}

.footer .footer-top .footer-newsletter input[type="email"] {
  padding: 6px 8px;
  width: 60%;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
}

.footer .footer-top .footer-newsletter input[type="submit"] {
  border: 0;
  width: 40%;
  padding: 6px 0;
  text-align: center;
  color: black;
  border: 1px solid #ffffff;
  background: #ffffff;
  transition: 0.3s;
  cursor: pointer;
}

.footer .footer-top .footer-newsletter input[type="submit"]:hover {
  color: #ffffff;
  background: #00bfff;
  border: 1px solid #00bfff;
  letter-spacing: 0.2rem;
}

.footer .footer-top .footer-newsletter p {
  color: #ffffff;
  font-size: 14px;
}

.footer .credit,
.footer .copyright {
  text-align: center;
  padding-top: 30px;
}

@media (min-width: 768px) {
  .footer .credit {
    text-align: right;
  }

  .footer .copyright {
    text-align: left;
  }
}

.faq {
  min-height: 70vh;
  width: 100vw;
  text-align: center;
  padding: 0 2rem;
  background: url(../images/FAQ.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.faq .row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
}

.faq .row .accordion-container {
  width: 85%;
  text-align: left;
  margin-top: 159px;
  font-size: medium;
}

.faq .row .accordion {
  margin-left: 1rem;
  margin-right: 2rem;
}

.faq .row .accordion-container .accordion .accordion-header {
  background-color: #ffffff;
  margin: 1rem 0;
  box-shadow: 0.1rem 0.1rem 0.3rem rgb(255, 255, 255);
  cursor: pointer;
  margin-left: 1rem;
  margin-right: 2rem;
}

.faq .row .accordion-container .accordion .accordion-header span {
  display: inline-block;
  text-align: center;
  height: 4rem;
  width: 5rem;
  line-height: 4rem;
  font-size: 2rem;
  background: #333;
  color: #fff;
  clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);
}

.faq .row .accordion-container .accordion .accordion-header h3 {
  display: inline;
  color: #ffffff;
  font-weight: 400;
  padding-left: 0.5rem;
  font-size: 1.5rem;
}

.faq .row .accordion-container .accordion .accordion-body {
  padding: 1rem;
  color: #ffffff;
  box-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 0.3);
  background-color: #fff;
  font-size: 1.3rem;
  display: none;
  margin-left: 1rem;
  margin-right: 2rem;
}

@media (max-width: 1200px) {
  .faq {
    min-height: 70vh;
  }
}

@media (max-width: 1000px) {
  html {
    font-size: 50%;
  }

  .header .logo img {
    width: 4rem;
    height: 4rem;
    background-size: cover;
  }

  .header .fa-bars {
    display: block;
    color: white;
    margin-right: 1rem;
  }

  .header .fa-bars:hover {
    color: #00bfff;
  }

  .header .navbar {
    position: fixed;
    top: -120%;
    left: 0;
    height: auto;
    width: 100%;
    background-color: white;
    z-index: 1000;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.3);
  }

  .header .navbar ul {
    height: 100%;
    width: 100%;
    flex-flow: column;
  }

  .header .navbar ul li {
    margin: 1rem 0;
  }

  .header .navbar ul li a {
    color: grey;
    font-size: 2.4rem;
  }

  .header .fa-times {
    transform: rotate(90deg);
  }

  .header .nav-toggle {
    top: 5.8rem;
  }

  .home h1 {
    color: #fff;
    font-size: 4rem;
  }

  .home h2 {
    color: #fff;
    font-size: 2rem;
  }

  .clients {
    position: relative;
    padding: 90px 0;
    text-align: center;
    margin-top: -10rem;
    margin-bottom: -10rem;
  }

  .clients .section-header h2 {
    font-size: 3rem;
    color: #002e5f;
    margin-bottom: 1rem;
  }

  .clients .section-header p {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 3rem;
  }

  .client-info {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align logo left, text right */
    gap: 2rem; /* Space between logo and text */
    max-width: 800px; /* Limit width for readability */
    margin: 0 auto;
    text-align: left; /* Align text left for better flow */
  }

  .client-info img {
    max-width: 150px; /* Adjust logo size as needed */
    height: auto;
    border-radius: 8px; /* Optional rounded corners */
  }

  .company-description {
    flex: 1; /* Take remaining space */
  }

  .company-description p {
    font-size: 1.4rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .client-info {
      flex-direction: column;
      text-align: center;
    }

    .client-info img {
      margin-bottom: 1.5rem;
    }
  }
  .team {
    min-height: auto;
  }

  .team .row {
    flex-direction: column;
  }

  .contact {
    text-align: center;
    align-items: center;
  }

  .contact .heading {
    margin-bottom: 3rem;
    margin-top: -2rem;
  }

  .contact-in {
    width: 80%;
    height: auto;
    margin: auto auto 5rem auto;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 0px 10px 0px #666;
  }

  .contact-map {
    width: 100%;
    height: auto;
    flex: 50%;
  }
  .contact-map iframe {
    width: 100%;
    height: 100%;
  }
  .contact-form {
    width: 100%;
    height: auto;
    flex: 50%;
    text-align: left;
  }
  .contact-form-txt {
    width: 90%;
    height: 20px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
  }
  .contact-form-email {
    margin-left: 2rem;
    width: 90%;
    height: 20px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
  }
  .contact-form-txt::placeholder {
    color: #aaa;
    font-size: 1.5rem;
  }
  .contact-form-email::placeholder {
    color: #aaa;
    font-size: 1.5rem;
  }
  .contact-form-txtarea {
    margin-left: 2rem;
    width: 90%;
    height: 110px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 10px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
  }
  .contact-form-txtarea::placeholder {
    color: #aaa;
    font-size: 1.5rem;
  }

  .contact-form-btn {
    margin-left: 2rem;
    outline: none;
    border: none;
    border-radius: 5rem;
    background: white;
    border-style: groove;
    border-color: #002e5f;
    font-size: 1.5rem;
    cursor: pointer;
    height: 3.5rem;
    width: 12rem;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
  }
  .contact-form-btn:hover {
    letter-spacing: 0.1rem;
    opacity: 0.9;
    color: white;
    background: #002e5f;
  }
  .contact-form-phone {
    margin-left: 2rem;
    width: 90%;
    height: 20px;
    color: #000;
    border: 1px solid #bcbcbc;
    border-radius: 50px;
    outline: none;
    margin-bottom: 20px;
    padding: 15px;
  }
  .contact-form-phone::placeholder {
    color: #aaa;
    font-size: 1.5rem;
  }

  .faq {
    padding: 0;
    min-height: 60vh;
  }

  .faq .row {
    padding: 0 1.5rem;
    flex-flow: column;
  }

  .faq .row .accordion-container {
    width: 100%;
  }
}

@media (max-width: 1000px) {
  .home {
    background-image: url(../images/img_mob.jpeg);
  }
}

.pt-5 {
  background-color: #f0f0f0;
  padding: 4rem 0;
}

.video-carousel {
  overflow: hidden;
  width: 100%;
  margin: 20px 0;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll 45s linear infinite;
  width: max-content;
}

/* Performance optimization - reduce animation complexity */
@media (max-width: 1024px) {
  .carousel-track {
    animation: scroll 30s linear infinite;
  }
}

/* Add minimal auto-scroll for larger screens */
@media (min-width: 1025px) {
  .carousel-track {
    animation: scroll 50s linear infinite;
  }
}

.carousel-track a {
  flex: 0 0 auto;
  margin-right: 20px;
  display: block;
}

.carousel-track img {
  width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.carousel-track img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-track:hover {
  animation-play-state: paused;
}

/* Pause animation when user is interacting */
.video-carousel:hover .carousel-track {
  animation-play-state: paused;
}

/* Responsive design */
@media (max-width: 768px) {
  .carousel-track img {
    width: 280px;
    height: 157px;
  }

  .carousel-track a {
    margin-right: 15px;
  }

  .video-carousel {
    margin: 15px 0;
  }

  /* Mobile optimization for YouTube carousel */
  .carousel-track {
    animation: scroll 35s linear infinite;
  }

  /* Team carousel responsive */
  .team .carousel-track .card {
    height: 30rem;
    width: 22rem;
    margin: 4rem 1.5rem;
  }

  .team .carousel-track .card .image img {
    height: 11rem;
    width: 11rem;
  }
}

@media (max-width: 480px) {
  .carousel-track img {
    width: 200px;
    height: 112px;
  }

  .carousel-track a {
    margin-right: 8px;
  }

  /* Mobile optimization for YouTube carousel */
  .carousel-track {
    animation: scroll 25s linear infinite;
  }

  /* Team carousel responsive */
  .team .carousel-track .card {
    height: 28rem;
    width: 20rem;
    margin: 3rem 1rem;
  }

  .team .carousel-track .card .image img {
    height: 10rem;
    width: 10rem;
  }
}

/* Smooth scrolling for better performance */
.carousel-track {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Respect user's motion preferences for accessibility and performance */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .carousel-track,
  .team .carousel-track {
    animation: none !important;
  }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
  /* Enable carousel animations on mobile */
  .carousel-track {
    animation: scroll 25s linear infinite !important;
    /* transform: none !important; */
  }

  .team .carousel-track {
    animation: team-carousel-scroll 20s linear infinite !important;
    /* transform: none !important; */
  }

  /* Enable minimal hover effects for carousel items */
  .carousel-track img:hover,
  .team .carousel-track .card:hover {
    transform: scale(1.02) !important;
    transition: transform 0.2s ease !important;
  }

  /* Disable heavy effects on mobile */
  .team .carousel-track .card {
    -webkit-box-reflect: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  /* Optimize background images */
  .communicate {
    background-size: cover;
    background-position: center;
  }

  /* Enable minimal transitions for interactive elements */
  .carousel-track img,
  .team .carousel-track .card {
    transition: transform 0.2s ease !important;
  }

  /* Reduce image quality on mobile for better performance */
  .carousel-track img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

@media (max-width: 480px) {
  /* Enable carousel animations on small mobile */
  .carousel-track {
    animation: scroll 20s linear infinite !important;
    /* transform: none !important; */
  }

  .team .carousel-track {
    animation: team-carousel-scroll 15s linear infinite !important;
    /* transform: none !important; */
  }

  /* Enable minimal hover effects for carousel items */
  .carousel-track img:hover,
  .team .carousel-track .card:hover {
    transform: scale(1.01) !important;
    transition: transform 0.15s ease !important;
  }

  /* Disable all reflections and heavy effects */
  .team .carousel-track .card {
    -webkit-box-reflect: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  /* Enable minimal transitions for carousel items */
  .carousel-track img,
  .team .carousel-track .card {
    transition: transform 0.15s ease !important;
  }
}

.pt-5 {
  background-color: #f0f0f0;
  padding: 4rem 0;
}

.section-head-1 h4 {
  font-size: 4rem;
  color: #002e5f;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-top: 13rem;
}

.section-head-1 p {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 3rem;
}

.item {
  background: linear-gradient(
    135deg,
    #e0f7fa 0%,
    #fff 100%
  ); /* Soft gradient for first card; adjust per card if needed */
  text-align: center;
  padding: 30px 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.item .icon {
  font-size: 40px;
  margin-bottom: 25px;
  color: #52ab98;
  width: 70px; /* Smaller circle for uniformity */
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #e0f7fa 0%,
    #b2ebf2 100%
  ); /* Soft cyan gradient for icons */
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.item h6 {
  font-size: 1.8rem;
  color: #2f2f2f;
  margin-bottom: 15px;
  font-weight: 600;
}

.item p {
  font-size: 1.4rem;
  color: #666;
  line-height: 1.6;
}

/* For different card gradients if desired */
.col-lg-4:nth-child(2) .item {
  background: linear-gradient(135deg, #f3e5f5 0%, #fff 100%);
}

.col-lg-4:nth-child(3) .item {
  background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
}

.col-lg-4.col-sm-6 {
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .col-lg-4.col-sm-6 {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 3; /* Higher than overlay and waves */
}

.social-icons a {
  color: #fff !important; /* Force white color */
  font-size: 4rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #007bff;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.faq-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  color: #333;
}

.faq-container h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  overflow: hidden;
}

.faq-question {
  background-color: #ecf0f1;
  width: 100%;
  padding: 20px;
  font-size: 18px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question > span {
  max-width: 95%;
  text-align: left;
}

.faq-question:hover {
  background-color: #d0d7de;
}

.faq-question .arrow {
  transition: transform 0.7s ease;
  flex-shrink: 0;
}

.faq-question.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
  text-align: left;
}

.faq-answer p {
  padding: 20px;
  font-size: 16px;
  line-height: 1.5;
  color: #555;
}

/* Optional: Reset for body
/* html, body {
  margin: 0;
  padding: 0;
  height: 100%;
} */

.project_card {
  margin-bottom: 0;
  height: 100%;
}

/* Primary CV Button (Hero Section) */
.cv-button {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  margin: 20px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cv-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Secondary CV Button (About Section) */
.cv-button-secondary {
  display: inline-block;
  background: #002e5f;
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin: 15px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cv-button-secondary:hover {
  background: #003d7a;
  transform: translateY(-1px);
  color: white;
}

/* Portfolio CV Button */
.cv-cta-portfolio {
  text-align: center;
  margin: 30px 0;
}

.cv-button-portfolio {
  display: inline-block;
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 10px 10px;
  border-radius: 27px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.cv-button-portfolio:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: white;
}

.footer-top .row {
  justify-content: space-around;
}
