/* Custom colors mapping from Tailwind theme */
:root {
  --bs-custom-primary: #3a55a6;
  --bs-custom-accent: #ff9a0d;
}

img {
  max-width: 100%;
}

/* Custom Utility Classes for Colors and Backgrounds */
.bg-primary-custom {
  background-color: var(--bs-custom-primary) !important;
}

.text-primary-custom {
  color: #474a59;
  font-size: 19px;
  max-width: 60%;
  margin: auto;
}

.border-primary-custom {
  border-color: var(--bs-custom-primary) !important;
}

.bg-accent-custom {
  background-color: var(--bs-custom-accent) !important;
}

.text-accent-custom {
  color: var(--bs-custom-accent) !important;
}

.border-accent-custom {
  border-color: var(--bs-custom-accent) !important;
}

/* Custom styles for professional look */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f9fafb;
  color: #474a59;
}

/* CUSTOM FONT SIZES - Only replacing Bootstrap defaults */
.custom-fs-1 {
  font-size: 2.5rem !important;
  color: #0f1a4d;
}

.custom-fs-1 span {
  color: #ff9a0d;
}

.custom-fs-2 {
  font-size: 2rem !important;
  width: 20px;
  height: 20px;
  margin-bottom: 40px !important;
}

.custom-fs-3 {
  font-size: 1.75rem !important;
}

.custom-fs-4 {
  font-size: 1.5rem !important;
}

.custom-fs-5 {
  font-size: 1.25rem !important;
  color: #0f1a4d;
}

.custom-fs-6 {
  font-size: 1rem !important;
}

/* CUSTOM FONT WEIGHTS - Only replacing Bootstrap defaults */
.custom-fw-light {
  font-weight: 300 !important;
}

.custom-fw-normal {
  font-weight: 400 !important;
}

.custom-fw-medium {
  font-weight: 500 !important;
}

.custom-fw-semibold {
  font-weight: 600 !important;
}

.custom-fw-bold {
  font-weight: 700 !important;
}

.custom-fw-bolder {
  font-weight: 800 !important;
}

/* CUSTOM COLORS - Only replacing Bootstrap defaults */
.custom-text-white {
  color: #fff !important;
}

.custom-text-secondary {
  color: #6c757d !important;
}

.custom-text-light {
  color: #f8f9fa !important;
}

.custom-text-dark {
  color: #212529 !important;
}

.custom-bg-white {
  background-color: #fff !important;
}

.custom-bg-light {
  background-color: #f8f9fa !important;
}

.custom-bg-dark {
  background-color: #212529 !important;
}

/* Custom CTA Button Hover/Transform Effects */
.btn-primary-custom {
  background-color: var(--bs-custom-primary);
  border-color: var(--bs-custom-primary);
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
  padding: 10px 42px;
}

.btn-primary-custom:hover {
  background-color: #2a4487;
  /* Darker shade */
  border-color: #2a4487;
}

.btn-primary-custom-2 {
  background-color: var(--bs-custom-accent);
  border-color: var(--bs-custom-accent);
}

.btn-primary-custom-3 {
  background-color: rgba(58, 85, 166, 0.2);
  border-color: #fff;
}

.btn-accent-custom {
  background-color: white;
  border-color: white;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s;
  color: #ff4f01 !important;
  font-size: 18px;
}

.btn-accent-custom:hover {
  background-color: #ff4f01;
  /* Darker shade */
  border-color: #ff4f01;
  transform: scale(1.01);
  color: white !important;
}

/* Sliding Text Logic (identical to original Tailwind JS setup) */
.slide-text {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.text-primary {
  color: #3b58a1 !important;
}

.slide-text.active {
  opacity: 1;
}

.border-width {
  border-radius: 50px !important;
}

/* Process Step (equivalent to original Tailwind `process-step` class) */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  /* shadow-xl */
  border-radius: 0.75rem;
  /* rounded-xl */
  transition: all 0.3s ease-in-out;
}

.process-step:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  /* shadow-2xl */
}

/* Input focus color to match primary color */
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-custom-primary);
  box-shadow: 0 0 0 0.25rem rgba(59, 88, 161, 0.25);
}

.hero-bg {
  padding: 80px 0;
}

.text-hero {
  font-size: 50px;
  width: 80%;
  margin: 0 auto;
}

#hero p {
  font-size: 20px;
}

#process .process-step {
  min-height: 150px;
  /* controls box height */
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#process .process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

#products .product-card {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  padding: 30px 30px;
  border: 2px solid #b9bcc9;
  border-radius: 30px;
  background-image: url(../images/quote-icon.png);
  background-repeat: no-repeat;
  background-position: right 20px top 40px;
}

#products .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.border-width {
  background-color: #2a4487;
  color: white !important;
}

.border-width:hover {
  background-color: #ff4f02;
  color: white !important;
}

/* Alliance card hover animation */
.alliance-card {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  padding: 2rem;
  background: #ffffff;
}

.alliance-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #f9f9f9 0%, #e6f2ff 100%);
}

/* Icon scale & color on hover */
.alliance-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.alliance-card:hover i {
  transform: scale(1.3);
  color: #ff4f02;
  /* accent color */
}

/* Heading emphasis on hover */
.alliance-card h3 {
  transition: transform 0.3s ease, color 0.3s ease;
}

.alliance-card:hover h3 {
  transform: translateY(-5px);
  color: #1a1a1a;
}

/* Paragraph subtle move on hover */
.alliance-card p {
  transition: transform 0.3s ease, color 0.3s ease;
}

.alliance-card:hover p {
  transform: translateY(-3px);
  color: #333333;
}

/* Services card hover animation */
.services-card {
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #ffffff;
  padding: 40px 40px;
  border: 2px solid #b9bcc9;
  border-radius: 30px;
}

.services-card:hover {
  transform: translateY(-10px);
}
.services-card ul li i {
  color: #ff9a0d;
  font-size: 14px;
  margin-right: 5px;
}
/* Icon scale & color change on hover */
.services-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Heading emphasis on hover */
.services-card h3 {
  color: #0f1a4d;
  transition: transform 0.3s ease, color 0.3s ease;
}

.services-card:hover h3 {
  transform: translateY(-5px);
  color: #1a1a1a;
}

/* Paragraph & list item subtle move on hover */
.services-card p,
.services-card ul li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.btn-brand {
  background: #3b58a1;
  /* Example: a unique blue. Change as needed */
  color: #fff !important;
  font-weight: 700;
  border: none;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #ff4f02;
  /* Darker on hover. Change as needed */
  color: #fff;
}

.small,
small {
  font-size: 1rem;
}

.logo-part {
  max-width: 270px;
}

#intro-video {
  padding: 0;
  background: #f7f7f7;
}

.video-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  max-height: 700px;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s ease;
  object-fit: cover;
  object-position: center;
}

/* Hover zoom */
.video-wrapper video:hover {
  transform: scale(1.01);
}

/* Play/Pause Button */
.play-button {
  position: absolute;
  bottom: 50px;
  left: 50px;
  /* transform: translate(-50%, -50%); */
  width: 70px;
  height: 70px;
  background: rgb(255 255 255 / 48%);
  color: #145a9b8e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 2;
}

.play-button:hover {
  background: #07346e59;
  color: #fff;
  /* transform: translate(-50%, -50%) scale(1.01); */
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%; /* optional if you want perfect center */
  transform: translate(-50%, -50%);
  width: 100%;
}

.overlay-content h1 {
  color: #0f1a4c;
  font-size: 70px;
  font-weight: bold;
  line-height: 75px;
}

.banner-badge {
  background-color: rgba(241, 124, 43, 0.25);
  display: inline-block;
  padding: 8px 19px;
  border: 1px solid #ff9a0d;
  border-radius: 50px;
  color: #ff9a0d;
  margin-bottom: 30px;
}

.overlay-content h1 span {
  color: #ff9a0d;
}

.overlay-content p {
  font-size: 24px;
  max-width: 80%;
}

.sp {
  padding: 40px 0;
}

.sp-1 {
  padding: 60px 0;
}

.pricing-feature-box {
  background: #ebf5f5;
  border-radius: 50px;
  border: 2px solid #b8bbc9;
  padding: 0;
}
.pricing-feature-box .col-md-4:nth-child(2) {
  background: #f5fafa;
}

.pricing-feature-box .border-right-lg {
  border-right: 2px solid #b8bbc9;
}

.pricing-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 21%;
}

.pricing-item img {
  width: 45px;
}

.pricing-title {
  font-size: 20px;
  color: #0f1a4d;
}

.pricing-sub {
  font-size: 16px;
  color: #474a59;
}

.pricing-content {
  border-left: 1px solid #b8c5d4;
  padding-left: 16px;
}

.custom-bg-1 {
  background-image: url(../images/bg-1.jpg);
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
}

.custom-bg-2 {
  background-image: url(../images/bg-2.jpg);
  background-size: cover;
  background-position: left top;
  background-repeat: no-repeat;
}

.custom-bg-3 {
  background-image: url(../images/bg-3.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.services-icon {
  background-color: #ebf5f5;
  border-radius: 15px;
  padding: 16px;
  min-width: 80px;
  text-align: center;
  height: 80px;
  margin-right: 25px;
}

.product-card h2 {
  color: #ff9a0d;
  font-size: 40px;
  font-weight: 600;
}

.transform-sec .custom-fs-1 {
  color: #fff;
}

.mw-75 {
  max-width: 75%;
}

.transform-col {
  padding: 0 10%;
}

.transform-col ul li {
  padding: 20px 14px;
  border-top: 1px solid rgb(255 255 255 / 20%);
  font-size: 17px;
}

.transform-col ul li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 20%);
}

.transform-col ul li i {
  color: #ff9a0d;
  margin-right: 8px;
}

@media (max-width: 1399px) {
  .video-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    max-height: 600px;
    overflow: hidden;
  }

  .btn-primary-custom {
    font-size: 14px;
  }
  .pricing-title {
    font-size: 18px;
  }
  .overlay-content h1 {
    font-size: 60px;
    line-height: 70px;
  }
  .overlay-content p {
    font-size: 20px;
  }
  .btn-primary-custom {
    padding: 10px 36px;
  }
  .pricing-item {
    padding: 15px 15%;
  }
  .custom-fs-1 {
    font-size: 2rem !important;
  }
  .text-primary-custom {
    font-size: 18px;
  }
  .services-icon {
    min-width: 70px;
    height: 70px;
  }
  .product-card h2 {
    font-size: 35px;
  }
  .custom-fs-5 {
    font-size: 1.2rem !important;
  }
  .transform-col ul li {
    padding: 16px 6px;
    font-size: 16px;
  }
  #hero p {
    font-size: 18px;
  }
}

/* Medium devices (tablets) */
@media (max-width: 1199px) {
  .text-hero {
    font-size: 45px;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .services-card {
    padding: 30px 25px;
  }
  .sp-1 {
    padding: 40px 0;
  }
  .overlay-content h1 {
    font-size: 50px;
    line-height: 55px;
  }
  .overlay-content p {
    font-size: 18px;
  }
  .banner-badge {
    margin-bottom: 20px;
  }
  .custom-fs-4 {
    font-size: 1.4rem !important;
  }
  .services-icon {
    min-width: 65px;
    height: 65px;
    padding: 12px;
    margin-right: 20px;
  }
  .custom-fs-1 {
    font-size: 1.8rem !important;
  }
  .results-icon img {
    max-width: 65px;
  }
  .product-card h2 {
    font-size: 30px;
  }
  .transform-col ul li {
    padding: 12px 0;
    font-size: 14px;
  }
  .logo-part {
    max-width: 250px;
  }
  .btn-primary-custom {
    padding: 10px 30px;
  }
  #products .product-card {
    padding: 30px 20px;
  }
}

@media (max-width: 991px) {
  .video-container {
    height: 400px;
  }
  .text-primary-custom {
    max-width: 85%;
    margin: auto;
  }
  .services-icon {
    min-width: 60px;
    height: 60px;
    padding: 8px;
    margin-right: 12px;
  }
  .services-card {
    padding: 30px 20px;
  }
  #products .product-card {
    padding: 25px 15px;
  }
  .overlay-content h1 {
    font-size: 2.3rem;
    line-height: 45px;
  }
  .results-icon img {
    max-width: 50px;
  }
  .transform-col {
    padding: 0 0%;
  }
  .transform-col ul {
    margin: 0;
    padding: 0;
  }
  footer .small,
  small {
    font-size: 0.8rem;
  }
  .sp-1 {
    padding: 30px 0;
  }

  .overlay-content p {
    font-size: 1rem;
  }
  .custom-fs-1 {
    font-size: 1.6rem !important;
  }

  .custom-fs-2 {
    font-size: 1.4rem !important;
  }

  .custom-fs-3 {
    font-size: 1.2rem !important;
  }

  .custom-fs-4 {
    font-size: 1.35rem !important;
  }

  .custom-fs-5 {
    font-size: 1.1rem !important;
  }

  .custom-fs-6 {
    font-size: 0.95rem !important;
  }

  .btn-brand,
  .btn-primary-custom,
  .btn-accent-custom {
    font-size: 0.95rem;
    padding: 0.55rem 1.25rem;
  }

  .text-hero {
    font-size: 40px;
    width: 100% !important;
    margin: 0 auto;
  }
  .pricing-feature-box .border-right-lg {
    border-right: none;
  }
  .pricing-item img {
    width: 35px;
  }
  .pricing-item {
    padding: 15px 5%;
  }
  .pricing-sub {
    font-size: 14px;
  }
  .pricing-title {
    font-size: 17px;
  }
  .banner-img img {
    min-height: 360px;
  }
  .banner-badge {
    margin-bottom: 14px;
    font-size: 14px;
    padding: 6px 14px;
  }
}

/* Remove borders on small screens */
@media (max-width: 767px) {
  .pricing-feature-box .border-right-lg {
    margin: 0;
  }

  .border-right-lg {
    border-right: none;
    border-bottom: 1px solid #cfd9e0;
    padding-bottom: 15px;
    margin-bottom: 15px;
  }

  .custom-fs-1 {
    font-size: 1.5rem !important;
  }

  .custom-fs-2 {
    font-size: 1.3rem !important;
  }
  .text-primary-custom {
    max-width: 100%;
    margin: auto;
  }
  .sp-1 {
    padding: 20px 0;
  }

  .custom-fs-3 {
    font-size: 1.1rem !important;
  }
  .logo-part {
    max-width: 200px;
  }

  .custom-fs-4 {
    font-size: 1.25rem !important;
  }

  .custom-fs-5 {
    font-size: 1rem !important;
  }

  .custom-fs-6 {
    font-size: 0.9rem !important;
  }

  .btn-brand,
  .btn-primary-custom,
  .btn-accent-custom {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .text-hero {
    font-size: 32px;
    width: 100% !important;
    margin: 0 auto;
  }

  .sp {
    padding: 20px 0;
  }
  footer .small,
  small {
    font-size: 0.7rem;
  }
  .overlay-content p {
    font-size: 0.9rem;
  }
  #hero p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .video-container {
    height: 300px;
  }

  .overlay-content h1 {
    font-size: 1.5rem;
  }

  .overlay-content p {
    font-size: 0.8rem;
    margin-bottom: 5px;
  }
  .banner-badge {
    margin-bottom: 10px;
    font-size: 10px;
    padding: 6px 10px;
  }
  .banner-badge img {
    max-width: 14px;
  }

  .custom-fs-1 {
    font-size: 1.4rem !important;
  }

  .custom-fs-2 {
    font-size: 1.4rem !important;
  }

  .custom-fs-3 {
    font-size: 1.25rem !important;
  }

  .custom-fs-4 {
    font-size: 1.1rem !important;
  }

  .custom-fs-5 {
    font-size: 0.9rem !important;
  }

  .custom-fs-6 {
    font-size: 0.85rem !important;
  }

  .btn-brand,
  .btn-primary-custom,
  .btn-accent-custom {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem !important;
    border-radius: 50px !important;
  }

  .text-hero {
    font-size: 26px;
    width: 90%;
    margin: 0 auto;
  }

  .border-width {
    border-radius: 50px !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
  }
  .services-card {
    padding: 24px 15px;
  }
  .services-icon {
    min-width: 50px;
    height: 50px;
  }
  #hero p {
    font-size: 14px;
  }
  .text-primary-custom {
    font-size: 16px;
  }
  .results-icon img {
    max-width: 55px;
  }
  .services-card {
    padding: 24px 10px;
  }
  .logo-part {
    max-width: 145px;
  }
  .banner-img img {
    min-height: 280px;
  }
  .overlay-content h1 {
    line-height: 28px;
  }
  .overlay-content p {
    max-width: 100%;
  }
}

@media (max-width: 390px) {
  .border-width {
    border-radius: 50px !important;
    font-size: 12px !important;
    padding: 16px 15px !important;
  }
  .custom-fs-1 {
    font-size: 1.1rem !important;
    line-height: 25px;
  }
  .small,
  small {
    font-size: 0.8rem;
  }
  .transform-col ul li {
    font-size: 12px;
  }
  .transform-col ul li i {
    margin-right: 4px;
  }
  .btn-brand,
  .btn-primary-custom,
  .btn-accent-custom {
    font-size: 0.7rem;
    padding: 0.5rem 0.4rem !important;
    border-radius: 50px !important;
  }
  .logo-part {
    max-width: 120px;
  }
}
