/* Section-1 Starts Here */

/* Section-1 Ends Here */

/* Detailed Content Starts Here */
.ba-home-detailed-content {
  padding: 40px 0;
}

/* Detailed Content Ends Here */

/* Section-2 Starts Here */
.ba-home-section-02 {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.ba-home-section-02 .country-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.ba-home-section-02 .country-card:hover {
  /* transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15); */
}

.ba-home-section-02 .card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ba-home-section-02 .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ba-home-section-02 .country-card:hover .card-image img {
  transform: scale(1.1);
}

.ba-home-section-02 .country-label {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
}

.ba-home-section-02 .card-content {
  padding: 30px 25px;
}

.ba-home-section-02 .service-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #4a5568;
}

.ba-home-section-02 .service-item:last-child {
  margin-bottom: 0;
}

.ba-home-section-02 .service-icon {
  width: 20px;
  height: 20px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.ba-home-section-02 .service-item a {
  color: #4a5568;
  transition: all 0.5s;
}

.ba-home-section-02 .service-item a:hover {
  color: var(--light-blue-color);
  font-weight: bold;
}

.view-all-insight {
  margin: 20px auto;
}

.view-all-insight i {
  margin-left: 5px;
}

.ba-home-section-02 .service-icon i {
  color: white;
  font-size: 10px;
}

/* Country specific background overlays */
.ba-home-section-02 .usa-card .card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(45deg, rgba(0,123,191,0.3), rgba(0,123,191,0.1)); */
}

.ba-home-section-02 .uk-card .card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(45deg, rgba(220,53,69,0.3), rgba(220,53,69,0.1)); */
}

.ba-home-section-02 .canada-card .card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(45deg, rgba(40,167,69,0.3), rgba(40,167,69,0.1)); */
}

@media (max-width: 768px) {
  .ba-home-section-02 {
    padding: 60px 0;
  }

  .ba-home-section-02 .card-content {
    padding: 25px 20px;
  }
}
/* Section-2 Ends Here */

/* Section-3 Starts Here */
.ba-home-section-03 {
  padding: 40px 0;
  background-color: #f8f9fa;
}

/* Section-3 Ends Here */

/* Blog Section Starts Here */
.ba-home-blog-section {
  padding: 40px 0;
}

.ba-home-blog-section .blog-card {
  position: relative;
  flex: 1;
  height: 450px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(32, 40, 45, 0.05);
}

.ba-home-blog-section .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(32, 40, 45, 0.15);
}

/* .ba-home-blog-section .blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
  transition: all 0.3s ease;
} */

.ba-home-blog-section .blog-content {
  /* position: absolute; */
  inset: auto 0 0 0;
  padding: 15px;
  z-index: 3;
  color: #fff;
  background: #fff;
  top: 247px;
}

.ba-home-blog-section .blog-category {
  background-color: var(--dark-blue-color);
  border-radius: 50px;
  padding: 4px 25px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.ba-home-blog-section .blog-title {
  line-height: 25px;
  color: var(--dark-blue-color);
  position: relative;
  z-index: 4;
  transition: transform 0.3s ease;
  margin: 20px 0;
  font-weight: 600;
  font-size: 17px;
}

.ba-home-blog-section .blog-title a {
  color: var(--dark-blue-color);
  font-size: 20px;
  font-weight: 600;
}

.blog-card:hover .blog-title {
  color: var(--light-blue-color) !important;
}

.ba-home-blog-section .blog-date-author {
  color: #666;
  font-size: 14px;
  margin-right: 10px;
}

.ba-home-blog-section .blog-date-author i {
  margin-right: 5px;
}

.ba-home-blog-section .blog-meta {
  gap: 10px;
}

/* Blog Section Ends Here */

/* Bank Partner Section Starts Here */
.ba-home-bank-partner {
  padding: 40px 0;
}

.ba-bank-carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.ba-bank-carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: fit-content;
  padding: 10px 0;
}

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

.ba-bank-carousel-slide {
  flex-shrink: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-bank-carousel-brand-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* opacity: 0.8; */
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ba-bank-carousel-brand-logo:hover {
  opacity: 1;
  filter: grayscale();
}

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

/* Gradient overlays for smooth edge effect */
/* Gradient overlays for smooth edge effect */
.ba-bank-carousel-wrapper::before,
.ba-bank-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.ba-bank-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

.ba-bank-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

@media (max-width: 768px) {
  .ba-bank-carousel-brand-logo {
    height: 60px;
    max-width: 150px;
  }

  .ba-bank-carousel-slide {
    padding: 0 25px;
  }

  .ba-bank-carousel-track {
    animation: scroll 10s linear infinite;
  }

  .ba-bank-carousel-wrapper ::before,
  .ba-bank-carousel-wrapper ::after {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .ba-bank-carousel-brand-logo {
    height: 50px;
    max-width: 120px;
  }

  .ba-bank-carousel-slide {
    padding: 0 20px;
  }

  .ba-bank-carousel-wrapper ::before,
  .ba-bank-carousel-wrapper ::after {
    width: 50px;
  }
}

/* Bank Partner Section Ends Here */

/* CTA Section Starts Here */

/* CTA Section Ends Here */

/* Growth Section-04 */
.ba-home-section-04 {
  padding: 50px 0;
  overflow-x: hidden;
}

.ba-home-section-04 .hero-section {
  display: flex;
  align-items: center;
  width: 100%;
}

.ba-home-section-04 .content-left {
  flex: 1;
  padding-right: 60px;
}

.ba-home-section-04 .main-heading {
  font-size: 64px;
  font-weight: 800;
  margin-top: 15px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.ba-home-section-04 .boost-text {
  color: var(--light-blue-color);
}

.ba-home-section-04 .description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 480px;
}

.ba-home-section-04 .features-list {
  list-style: none;
  padding: 0;
}

.ba-home-section-04 .features-list li {
  font-size: 18px;
  color: #374151;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.ba-home-section-04 .features-list li i {
  color: var(--light-blue-color);
  /* green check */
  margin-right: 10px;
  font-size: 18px;
}

.ba-home-section-04 .content-right {
  flex: 1;
  position: relative;
}

.ba-home-section-04 .businesswoman-wrapper {
  width: 100%;
  max-width: 500px;
  height: 600px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-left: auto;
}

/* Gradient background layer */
.ba-home-section-04 .businesswoman-gradient {
  position: absolute;
  inset: 0;
  /* full size */
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  z-index: 1;
}

/* Girl image layer */
.ba-home-section-04 .businesswoman-image {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("../../imgs/home-page/girl.webp") no-repeat center;
  background-size: cover;
  z-index: 2;
}

/* Growth Section-04 */

/* CTA Section */
.ba-home-cta-section {
  margin-bottom: 0;
}

.consultancy-section {
  /* background-color: #f8f9fa; */
  background-image: radial-gradient(
      circle at 20% 50%,
      #ffffff 1px,
      transparent 1px
    ),
    radial-gradient(circle at 80% 20%, #e9ecef 1px, transparent 1px),
    radial-gradient(circle at 40% 80%, #ffffff 1.5px, transparent 1.5px);
  background-size: 40px 40px, 60px 60px, 30px 30px;
  background-position: 0 0, 20px 10px, 10px 30px;
  padding: 60px 20px;
  min-height: 200px;
  position: relative;
}

.consultancy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.02) 25%,
      transparent 25%
    ),
    linear-gradient(-45deg, rgba(0, 0, 0, 0.02) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.02) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  pointer-events: none;
  opacity: 0.5;
}

.consultancy-section .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.consultancy-section .content-left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
}

.consultancy-section .hexagon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultancy-section .text-content {
  flex: 1;
}

.consultancy-section .main-heading {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 10px;
  font-family: "Red Hat Display", serif !important;
}

.consultancy-section .sub-heading {
  font-size: 1.5rem;
  font-weight: 300;
  color: #95a5a6;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 0;
  line-height: 1.1;
  font-family: "Red Hat Display", serif !important;
}

@media (max-width: 768px) {
  .consultancy-section .container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .consultancy-section .content-left {
    flex-direction: column;
    gap: 20px;
  }

  .consultancy-section .hexagon-container {
    width: 120px;
    height: 120px;
  }

  .consultancy-section .hexagon {
    width: 130px;
    height: 113px;
  }

  .consultancy-section .main-heading {
    font-size: 2rem;
  }

  .consultancy-section .sub-heading {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }

  .consultancy-section .consultancy-section {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .consultancy-section .main-heading {
    font-size: 1.8rem;
  }

  .consultancy-section .sub-heading {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .consultancy-section .cta-button {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}
/* CTA Section */

/* Section-3 Starts Here */
.ba-home-section-03 {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.ba-home-section-03 .service-nav {
  margin-bottom: 20px;
}

.ba-home-section-03 .nav-button {
  background-color: #fff;
  color: var(--dark-blue-color);
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  margin: 0 8px 20px 0;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #e5e7eb;
}

.ba-home-section-03 .nav-button:hover {
  background-color: #2c3439;
  transform: translateY(-2px);
  color: #fff;
}

.ba-home-section-03 .nav-button.active {
  background-color: var(--dark-blue-color);
  box-shadow: 0 4px 15px rgba(32, 40, 45, 0.3);
  color: #fff;
}

.ba-home-section-03 .service-card {
  position: relative;
  flex: 1;
  height: 390px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ba-home-section-03 .service-card:nth-child(-n + 4) {
  margin-bottom: 60px;
}

.ba-home-section-03 .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.ba-home-section-03 .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ba-home-section-03 .service-card:hover img {
  transform: scale(1.05);
}

.ba-home-section-03 .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 2;
  transition: all 0.3s ease;
}

.ba-home-section-03 .service-card:hover::before {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 30%,
    rgba(0, 0, 0, 0.4) 60%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.ba-home-section-03 #service-content {
  width: 100%;
}

.ba-home-section-03 .service-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 15px;
  z-index: 3;
  text-align: center;
  color: #fff;
}

.ba-home-section-03 .service-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 4;
  transition: transform 0.3s ease;
  margin: 0;
}

.ba-home-section-03 .service-description {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover effect */
.ba-home-section-03 .service-card:hover .service-description {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ba-home-section-03 .service-card:hover .service-title {
  transform: translateY(-40px);
}

.ba-home-section-03 .business-description {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  text-align: center;
  margin: 0 auto;
  width: 70%;
  color: #4b5563;
  opacity: 0 !important;
}

@media (max-width: 992px) {
  .ba-home-section-03 .service-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .ba-home-section-03 .service-card {
    flex: 1;
    height: 450px;
  }
  .ba-home-section-03 .business-description {
    display: none;
  }

  .ba-home-section-03 .nav-button {
    display: block;
    width: 100%;
    margin: 0 0 10px 0;
  }

  .ba-home-section-03 .service-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .ba-home-section-03 {
    padding: 40px 0;
  }

  .ba-home-section-03 .service-content {
    padding: 20px;
  }
  .ba-home-section-03 .service-card {
    height: 500px;
  }
}

/* Section-3 Ends Here */

/* Media Query */

@media (max-width: 1200px) {
  .ba-home-section-04 .main-heading {
    font-size: 40px;
    margin-top: 0;
  }
  .ba-home-section-04 .features-list li {
    font-size: 16px;
  }
  .ba-home-section-02 .service-item {
    font-size: 14px;
  }
  .ba-home-section-02 .card-content {
    padding: 30px 15px;
  }
}

@media (max-width: 992px) {
  .ba-home-section-04 .hero-section {
    flex-direction: column;
    align-items: normal;
  }
  .ba-home-section-04 .content-left {
    padding-right: 0;
  }
  .ba-home-section-04 .businesswoman-wrapper {
    margin: 0 auto;
  }

  .ba-home-blog-section .blog-card {
    height: 650px;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .ba-home-section-03 .service-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }

  .ba-home-section-03 .nav-button {
    padding: 10px 50px;
    margin-bottom: 10px;
  }

  .ba-home-blog-section .blog-card {
    height: 550px;
  }
  .ba-home-cta-section {
    margin-top: -50px;
  }
}

@media (max-width: 576px) {
  .ba-home-detailed-content .mt-2,
  .ba-home-bank-partner .mt-5,
  .ba-home-section-03 .mt-5 {
    padding: 20px;
  }
  .ba-home-blog-section .blog-card {
    height: 470px;
  }
  .ba-home-section-04 .features-list li {
    align-items: flex-start;
  }
  .ba-home-section-04 .features-list li i {
    margin-top: 4px;
  }
}
