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

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

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

.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: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}

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

.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;
}

.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;
  font-size: 16px;
  border: none;
}

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

.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.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#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: 2rem;
}

.services-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 change on hover */
.services-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}

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

/* Heading emphasis on hover */
.services-card h3 {
  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;
}

.services-card:hover p,
.services-card:hover ul li {
  transform: translateY(-2px);
  color: #333333;
}

.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;
  height: 100%;
}

.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 text */
.overlay-content h1 {
  font-size: 2.5rem;
}

.overlay-content p {
  font-size: 1.25rem;
}

.sp {
  padding: 40px 0;
}

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

.footer-a {
  color: #a2a1a1 !important;
}

.footer-a:hover {
  color: #ffffff !important;
}

.btn-accent-custom {
  font-size: 18px !important;
}

.control-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  padding: 10px 12px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
}

.control-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

button.home-popup-btn {
  border: none;
  background: none;
  color: white;
  margin-top: 0px;
  text-align: start;
  transition: 0.3s ease-in-out;
  color: #3b58a1;
  font-weight: 600;
  padding: 0;
}

button.home-popup-btn:hover {
  scale: 1.02;
}

.new-popup-button {
  padding: 14px 44px;
  border-radius: 50px;
  border: none;
  background: #3b58a1;
  color: white;
  margin-top: 18px;
  max-width: 160px;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

.new-popup-button:hover {
  scale: 1.01;
}

.modal-dialog.modal-lg.modal-dialog-centered {
  max-width: 710px;
}

.box-popup-section .modal-content .h4,
h4 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
  padding: 8px 26px;
  margin: 0 auto;
  margin-bottom: 40px;
  border: 1px solid #3b58a1;
  border-radius: 50px;
}

.tech-list-col {
  border: 1px solid #c8cad2;
  border-radius: 12px;
  background-color: #fff;
  overflow: hidden;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-list-new-slide .item img {
  width: 100%;
  height: auto;
  display: block;
}

.tech-list-new-slide {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

  .btn-primary-custom {
    font-size: 14px;
  }
}

@media (max-width: 991px) {
  .video-container {
  }

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

  .overlay-content p {
    font-size: 1rem;
  }
}

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

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

  .overlay-content p {
    font-size: 0.9rem;
  }
}

/* Medium devices (tablets) */
@media (max-width: 1199px) {
  .text-hero {
    font-size: 45px;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

@media (max-width: 991.98px) {
  .custom-fs-1 {
    font-size: 2.2rem !important;
  }

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

  .custom-fs-3 {
    font-size: 1.5rem !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;
  }
}

/* Small devices (mobile landscape) */
@media (max-width: 767.98px) {
  .custom-fs-1 {
    font-size: 2rem !important;
  }

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

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

  .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;
  }

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

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

/* Extra small devices (mobile portrait) */
@media (max-width: 575.98px) {
  .logo-part {
    max-width: 150px;
  }

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

  .custom-fs-1 {
    font-size: 1.6rem !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;
  }

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

  .border-width {
    border-radius: 50px !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
  }

  .control-btn i {
    font-size: 14px;
  }

  .control-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #muteButton {
    right: 60px !important;
  }
}

@media (max-width: 390px) {
  .border-width {
    border-radius: 50px !important;
    font-size: 12px !important;
    padding: 16px 15px !important;
  }

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

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

/* Remove shadow from the HighLevel builder form container */
iframe#inline-eQUjYk69FBDHPY5MuIKn {
  box-shadow: none !important;
  filter: none !important;
}

/* Remove shadow from wrapper containers */
#inline-eQUjYk69FBDHPY5MuIKn-div,
#inline-eQUjYk69FBDHPY5MuIKn-wrapper {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Try catching the builder-form shadow (outer container only) */
#contact-form div[id*='builder-form'] {
  box-shadow: none !important;
}

.navbar-nav li {
  margin: 0 15px;
}

.navbar-nav li a {
  color: #3b58a1 !important;
  font-size: 17px;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .navbar-nav li {
    margin: 0;
  }
  .navbar-nav li a {
    font-size: 15px;
  }

  .header-right {
    display: inline-block !important;
  }
  nav.navbar {
    position: static;
    margin: 0;
    padding: 0;
    float: right;
  }
  button.navbar-toggler {
    padding: 0;
    border: none;
    margin: 12px 0 0 10px;
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    background-color: #fff;
    width: 100%;
    padding: 6px 19px 6px;
    left: 0;
    border-top: 1px solid;
  }
  .navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
  }
}

@media (max-width: 767.98px) {
  button.navbar-toggler {
    margin: 4px 0 0 10px;
  }
  .form-builder--wrap-full {
    padding: 0 !important;
  }
  .form-builder--wrap {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 340px) {
  .mobile-w-100 {
    width: 100% !important;
  }
}
