.tawk-custom-color {
  background: green !important;
}

@media (max-width: 768px) {
  .custom-impo {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .custom-impo a {
    display: block;
    margin-bottom: 10px;
  }
}

@media (min-width: 992px) {
  /* Targets larger screens (PC size) */
  .row.mt-4 {
    display: flex;
    justify-content: center;
    /* Centers content horizontally */
  }

  .row.mt-4 .col-md-6 {
    text-align: center;
    /* Ensures the text is centered */
  }
}

.services-style-one {
  position: relative;
  padding: 40px 30px;
  border-radius: 20px;
  background: #ffffff;
  border: 2px solid #f8f9fa;
  box-shadow: 0 4px 15px rgba(31, 111, 189, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

/* Accent line at top */
.services-style-one::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1f6fbd 0%, #8ed4f4 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-style-one:hover::before {
  transform: scaleX(1);
}

.services-style-one:hover {
  transform: translateY(-10px);
  border-color: #1f6fbd;
  box-shadow: 0 20px 40px rgba(31, 111, 189, 0.2);
}

/* Image styling */
.services-style-one img {
  width: 100px !important;
  height: 100px !important;
  aspect-ratio: 1/1;
  margin-bottom: 25px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: grayscale(0);
}

.services-style-one:hover img {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 8px 16px rgba(31, 111, 189, 0.3));
  /* Keep same dimensions */
  width: 100px !important;
  height: 100px !important;
}

/* Title styling */
.services-style-one h2 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.25rem;
  color: #07364f;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  line-height: 110%;
}

.services-style-one h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1f6fbd;
  transition: width 0.3s ease;
}

.services-style-one:hover h2 {
  color: #1f6fbd;
}

.services-style-one:hover h2::after {
  width: 100%;
}

/* Paragraph styling */
.services-style-one p {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
  transition: color 0.3s ease;
  font-family: "Outfit", sans-serif !important;
}

.services-style-one:hover p {
  color: #495057;
}

/* Background glow on hover */
.services-style-one::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(31, 111, 189, 0.02) 0%,
    rgba(142, 212, 244, 0.06) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.services-style-one:hover::after {
  opacity: 1;
}

#sbtn i {
  transform: scaleX(-1);
  display: inline-block;
}

.home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Container */
.home .container {
  width: 100%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Tagline pill */
.home .container .hero-tagline {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  background: #fff;
  border-radius: 20px;
  color: #050935;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(12px, 1.6vw, 14px);
}

/* Headline (fluid with clamp) */
.home-one-featured-area h1 {
  font-size: clamp(28px, 5vw, 54px);
  /* fluid scaling */
  margin: 30px auto;
  font-weight: 600;
  text-shadow: 0px 0px 1px #dadada;
  line-height: 1.05;
  word-break: keep-all;
  font-family: "Bricolage Grotesque", sans-serif !important;
}

/* Subtext */
.home-one-featured-area p {
  color: #dadada;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0;
}

/* Buttons row */
.home .container .hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* Button base */
.home .container .hero-buttons a {
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 0.9rem 2rem;
  display: inline-block;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.3px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

/* hover sheen */
.home .container .hero-buttons a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.home .container .hero-buttons a:hover {
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.95);
  color: #050935;
  transform: translateY(-3px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.home .container .hero-buttons a:hover::before {
  left: 100%;
}

/* Primary CTA special style */
.home .container .hero-buttons a:first-child {
  border: 2px solid #fff;
  background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
  color: #050935;
  box-shadow:
    0 10px 30px rgba(255, 255, 255, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 -1px 0 rgba(0, 0, 0, 0.05) inset;
}

.home .container .hero-buttons a:first-child:hover {
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 16px 40px rgba(255, 255, 255, 0.35),
    0 0 0 4px rgba(255, 255, 255, 0.1);
}

.home .container .hero-buttons a:active {
  transform: translateY(-1px);
}

/* ====== Responsive tweaks (mobile breakpoints) ====== */

/* Large tablets / small laptops */
@media (max-width: 900px) {
  .home {
    min-height: 100vh;
    background-position: center 30%;
  }

  .home .container {
    max-width: 720px;
  }

  .home-one-featured-area h1 {
    margin: 22px auto;
  }

  .home .container .hero-buttons {
    gap: 0.8rem;
    margin-top: 30px;
  }

  .home .container .hero-buttons a {
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
  }
}

/* Tablets and larger phones: make buttons wrap to column, full-width look */
@media (max-width: 600px) {
  .home {
    min-height: 90vh;
    align-items: flex-start;
    padding-top: 12rem;
    /* keep content lower if background header overlaps */
  }

  .home .container {
    max-width: 560px;
    text-align: center;
  }

  .home .container .hero-tagline {
    padding: 0.45rem 0.8rem;
    font-size: 13px;
  }

  .home-one-featured-area h1 {
    font-size: clamp(24px, 7vw, 38px);
    margin: 18px auto;
    line-height: 1.08;
    word-break: break-word;
  }

  .home-one-featured-area p {
    font-size: 15px;
    margin-top: 0.5rem;
  }

  .home .container .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    /* stretch child buttons to full width */
  }

  .home .container .hero-buttons a {
    width: 100%;
    padding: 0.85rem 1rem;
    text-align: center;
  }

  /* maintain primary CTA prominence but keep full-width */
  .home .container .hero-buttons a:first-child {
    background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
  }
}

/* Very small phones */
@media (max-width: 400px) {
  .home {
    padding: 9.6rem 0.5rem;
    min-height: 90vh;
    background-position: center top;
    background-size: cover;
  }

  .home .container {
    padding: 0 0.5rem;
  }

  .home-one-featured-area h1 {
    font-size: clamp(20px, 8vw, 28px);
    margin: 14px auto;
  }

  .home .container .hero-buttons a {
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
  }
}

/* ====== Optional: improved accessibility focus state ====== */
.home .container .hero-buttons a:focus {
  outline: 3px solid rgba(255, 255, 255, 0.25);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 1s infinite;
  font-weight: 300;
}

@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.home video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Desktop video - visible by default */
.desktop-video {
  display: block;
}

/* Mobile video - hidden by default */
.mobile-video {
  display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
  }
}

/* Tablet styles (optional) */
@media (min-width: 769px) and (max-width: 1024px) {
}

/* Large desktop styles */
@media (min-width: 1400px) {
  .home {
    height: 100vh;
  }
}

/* Ensure videos are properly loaded */
.home video:not([src]) {
  display: none;
}
