:root {
  --primary: #FF0000;
  --secondary: #ffc107;
  --dark: #353434;
  --white: #ffffff;
}
body {
  margin: 0 !important;
}

.text-justify {
  text-align: justify !important;
}

.text-custom {
  color: var(--primary) !important;
}
.bg-custom {
  background-color: var(--primary) !important;
}
.border-custom {
  border-color: var(--primary) !important;
}

.border-custom:hover {
  border-color: var(--secondary) !important;
}

.text-justify {
  text-align: justify !important;
}

.border-pulse {
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  animation: borderPulse 1s ease-in-out infinite alternate;
  margin-left: 20px;
}

@keyframes borderPulse {
  0% {
    background-color: var(--primary);
    transform: translateX(0);
  }
  100% {
    background-color: var(--secondary);
    transform: translateX(15px);
  }
}

.btn-custom {
  background-color: var(--primary);
  color: var(--white) !important;
  border: none;
  font-weight: 500;
}

.btn-custom:hover {
  background-color: var(--secondary);
  color: #000 !important;
  font-weight: 500;
}

.top-nav {
  font-size: 12px;
}

/* Hero And Breadcrumb */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary), #7a1c1c);
}

/* NAVBAR */
.main-nav {
  z-index: 1020;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0 100px;
}

.navbar-brand img {
  max-height: 60px;
}

/* FULLSCREEN OFFCANVAS */
.offcanvas {
  width: 100vw !important;
  height: 100vh;
  max-width: 100%;
  border: 0;
  z-index: 1055 !important;
}

.offcanvas-backdrop {
  z-index: 1050 !important;
}

.offcanvas-header {
  padding: 18px 30px;
}

.offcanvas-body {
  padding: 30px 40px;
  overflow-y: auto;
}

/* MENU GRID */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

/* MENU TITLE */
.menu-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 8px;
}

/* MENU LINKS */
.menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 5px;
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.25s ease;
}

.menu-list a i {
  color: var(--primary);
}

.menu-list a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

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

  .navbar-brand img {
    max-height: 50px;
  }
}

@media (max-width: 576px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .offcanvas-body {
    padding: 20px;
  }
  .main-nav {
    padding: 0px;
  }
}

/* Slider Image */
.slider-img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.7);
}

.slider-caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.slider-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.slider-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.slider-buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  flex-wrap: wrap;
}

.slider-form-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  color: #000;
}

@media (max-width: 991px) {
  .slider-img {
    height: 100vh;
  }

  .slider-caption {
    position: absolute;
    inset: 0;
    padding: 20px;
    align-items: flex-start;
  }

  .slider-caption .container > .row {
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }

  .slider-content {
    text-align: center;
    margin-top: 40px;
  }

  .slider-buttons {
    justify-content: center;
  }

  .slider-form-wrapper {
    margin: 0;
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  }
}

@media (max-width: 576px) {
  .slider-content h1 {
    font-size: 1.8rem;
  }

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

  .slider-form-wrapper {
    padding: 20px;
    border-radius: 14px;
  }
  .my-custom {
    margin-top: 180px !important;
  }
}

.slider-form-wrapper .border-label {
  position: relative;
}

.slider-form-wrapper .border-label .form-control {
  border-radius: 12px;
  border: 1.5px solid #ccc;
  padding: 14px 14px;
  font-size: 15px;
  background: transparent;
}

.slider-form-wrapper .border-label label {
  position: absolute;
  top: 0;
  left: 12px;
  transform: translateY(-50%);
  background: #fff;
  padding: 0 6px;
  font-size: 13px;
  color: #000;
  pointer-events: none;
  transition: all 0.2s ease;
}

.slider-form-wrapper .border-label .form-control:focus {
  border: 3px solid var(--primary);
  box-shadow: none;
}

.slider-form-wrapper .border-label .form-control:focus + label {
  color: var(--primary);
}

.slider-form-wrapper
  .border-label
  .form-control:not(:placeholder-shown)
  + label {
  color: #000;
}

.slider-form-wrapper .border-label .form-control:focus + label {
  color: var(--primary);
}

.slider-form-wrapper select.form-control {
  padding-top: 16px;
}

.svgtruely {
  height: 30px !important;
  width: 30px !important;
}

/* Services */
.unique-header-hpm {
  padding-top: 3rem;
}

.unique-section-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 18px;
}

.hpm-sidebar-services {
  padding: 20px;
  border-radius: 8px;
  border-left: 5px solid var(--primary);
  margin-bottom: 20px;
}

.hpm-sidebar-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary);
  text-transform: uppercase;
}

.hpm-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hpm-sidebar-list li {
  margin-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.hpm-img-fluid {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hpm-advantage-item {
  background: #fff;
  padding: 15px;
  border-left: 4px solid var(--primary);
  border-right: 1px solid #eee;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Footer */
.footer-main {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #e33c3c 45%,
    #fd5555 100%
  );
}

.footer-title {
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-list,
.footer-contact {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-list li a,
.footer-contact li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.footer-list li a:hover,
.footer-contact li a:hover {
  color: var(--secondary);
  transform: translateX(5px);
}

.footer-contact i {
  margin-right: 8px;
}

.footer-social {
  color: #fff;
  font-size: 20px;
  transition: transform 0.2s ease;
}

.footer-social:hover {
  transform: translateY(-3px);
  color: var(--secondary);
  transform: scale(1.3) !important;
}

.footer-divider {
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  margin: 30px 0;
}
/* fab button */
.fab-container {
  pointer-events: auto;
  animation: bounce 1.8s ease-in-out infinite;
}

.fab-container:hover {
  animation-play-state: paused;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}

@media (max-width: 576px) {
  .fab-container {
    left: 50%;
    transform: translateX(-50%);
  }
  .breadcrumb {
    font-size: 12px !important;
  }
}

.service-iconns {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  margin-bottom: 1.5rem;
}

.hovereffect {
  transition: transform 0.2s ease-in-out;
}
.hovereffect:hover {
  transform: scale(1.1);
}

.stick {
  top: 110px !important;
}

/* blog sidebar */
.nx-blog-sidebar {
  position: sticky;
  top: 90px;
}

.nx-widget {
  background: #ffffff;
  padding: 26px;
  border-radius: 22px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
  margin-bottom: 28px;
  transition: 0.35s;
}

.nx-widget:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.09);
}

.nx-widget-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
}

.nx-widget-title::after {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--primary);
  position: absolute;
  left: 0;
  bottom: -6px;
  border-radius: 10px;
}

.nx-recent-post {
  display: flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 10px;
  border-radius: 14px;
  transition: 0.25s;
}

.nx-recent-post:hover {
  background: #f7f9fc;
  transform: translateX(6px);
}

.nx-post-img img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 12px;
}

.nx-post-info h6 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.4;
  transition: 0.25s;
}

.nx-recent-post:hover h6 {
  color: var(--primary);
}

.nx-post-date {
  font-size: 13px;
  color: #7a8594;
}

.nx-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nx-social-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--primary);
  font-size: 20px;
  transition: 0.3s;
  text-decoration: none;
}

.nx-social-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
}

/* blog widget */
.qrx-soft-panel {
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 26px;
  border-radius: 26px;
  text-decoration: none;
  background: #f9fafc;
  transition: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Floating feel */
.qrx-soft-panel:hover {
  transform: translateY(-12px);
  background: #ffffff;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.04);
}

/* IMAGE */
.qrx-soft-image-wrap {
  width: 180px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
}

.qrx-soft-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

/* slow zoom */
.qrx-soft-panel:hover .qrx-soft-image {
  transform: scale(1.02);
}

/* TEXT */
.qrx-soft-title {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin-bottom: 6px;
}

.qrx-soft-desc {
  color: #5f6b7a;
  line-height: 1.7;
}

/* animated divider */
.qrx-soft-line {
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 10px;
  margin: 14px 0;
  transition: 0.4s;
}

.qrx-soft-panel:hover .qrx-soft-line {
  width: 70px;
}

/* CTA */
.qrx-soft-link {
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.3px;
}

/* MOBILE */
@media (max-width: 768px) {
  .qrx-soft-panel {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .qrx-soft-image-wrap {
    width: 100%;
    height: 200px;
  }
}
