/* Section base */
.welcome4-section-area {
  position: relative;
  padding: 10px 0 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;

}
.welcome4-images-area {
  padding-top: 40px;
  margin-bottom: -6px; /* pull image flush to section bottom */
}

/* Remove the broken overlay */
.welcome4-section-area::before {
  display: none;
}

/* Animation circle — centered behind all content */
.welcome4-section-area > .elementors-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;        /* behind content */
  width: 80%;
  max-width: 900px;
  pointer-events: none;
}

.welcome4-section-area > .elementors-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0.6;      /* subtle so it doesn't overpower content */
}

/* Container and content ABOVE animation */
.welcome4-section-area .container {
  position: relative;
  z-index: 2;
}

/* Text colors for dark background */
.welcome4-section-area .welcome4-header.heading5 h1 {
  color: #ffffff;
}

.welcome4-section-area .welcome4-header p {
  color: rgba(255, 255, 255, 0.85);
}

.welcome4-section-area::after {
  display: none;
}

.welcome4-section-area .welcome4-header.heading5 .badge-span {
    font-family: "Figtree", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #eef0f1;
    line-height: 16px;
    display: inline-block;
    background: rgba(94, 93, 93, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.4s ease-in-out;
}
.welcome4-section-area .header-btn6 {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Right side image */
.welcome4-images-area .main-img img:first-child {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ==========================================
   HEADER BASE
========================================== */
.header-area.homepage4 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
}

/* Procol-style blur background */
.header-area.homepage4 .header-blur-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Inner row */
.header-area.homepage4 .header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  gap: 16px;
}

/* ==========================================
   LOGO
========================================== */
.header-area.homepage4 .site-logo {
  flex-shrink: 0;
}

.header-area.homepage4 .site-logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* ==========================================
   DESKTOP NAV
========================================== */
.header-area.homepage4 .desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  margin-left: 24px;
}

.header-area.homepage4 .desktop-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.header-area.homepage4 .desktop-nav ul li {
  position: relative;
}

.header-area.homepage4 .desktop-nav ul li > a {
  font-family: "Figtree", sans-serif !important;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a !important;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.2s ease;
  cursor: pointer;
  line-height: 64px;
  text-decoration: none;
}

.header-area.homepage4 .desktop-nav ul li > a i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.header-area.homepage4 .desktop-nav ul li:hover > a {
  color: #4782A2 !important;
}

.header-area.homepage4 .desktop-nav ul li:hover > a i {
  transform: rotate(180deg);
}

/* Desktop Dropdown */
.header-area.homepage4 .desktop-nav ul li .dropdown-padding {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 8px;
  width: auto;
  min-width: 160px;
  max-width: 280px;
  z-index: 99999;
  flex-direction: column;
  animation: dropFadeIn 0.2s ease forwards;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.header-area.homepage4 .desktop-nav ul li:hover .dropdown-padding {
  display: flex;
}

.header-area.homepage4 .desktop-nav .dropdown-padding li {
  display: block !important;
  width: 100%;
}

.header-area.homepage4 .desktop-nav .dropdown-padding li a {
  display: block !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #1a1a1a !important;
  padding: 9px 12px !important;
  border-radius: 6px;
  white-space: nowrap;
  line-height: 1.4 !important;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-area.homepage4 .desktop-nav .product-dropdown li a {
  white-space: normal;
  min-width: 240px;
}

.header-area.homepage4 .desktop-nav .dropdown-padding li a:hover {
  color: #4782A2;
  background: rgba(20, 89, 225, 0.05);
  padding-left: 18px !important;
}

.header-area.homepage4 .desktop-nav .dropdown-padding li a i {
  display: none;
}

/* Scrollable product dropdown */
.header-area.homepage4 .desktop-nav .product-dropdown {
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: none;
}

.header-area.homepage4 .desktop-nav .product-dropdown::-webkit-scrollbar {
  display: none;
}

/* ==========================================
   HEADER ACTIONS
========================================== */
.header-area.homepage4 .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Phone full text — desktop only */
.header-area.homepage4 .header-phone {
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,0.2);
  transition: all 0.2s ease;
}

.header-area.homepage4 .header-phone:hover {
  background: rgba(0,0,0,0.04);
}

/* Phone icon only — tablet */
.header-area.homepage4 .header-phone-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.2);
  color: #1a1a1a;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-area.homepage4 .header-phone-icon:hover {
  background: rgba(0,0,0,0.05);
}

/* CTA Button */
.header-area.homepage4 .header-cta {
  background: #4782A2;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: "Figtree", sans-serif;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-area.homepage4 .header-cta:hover {
  background: #4782A2;
}

/* Hamburger — hidden on desktop */
.header-area.homepage4 .hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.header-area.homepage4 .hamburger-btn:hover {
  background: rgba(0,0,0,0.05);
}

.header-area.homepage4 .hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hamburger → X */
.header-area.homepage4 .hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-area.homepage4 .hamburger-btn.open span:nth-child(2) {
  opacity: 0; transform: scaleX(0);
}
.header-area.homepage4 .hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   DRAWER OVERLAY
========================================== */
.header-area.homepage4 .drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.header-area.homepage4 .drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ==========================================
   MOBILE DRAWER
========================================== */
.header-area.homepage4 .mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: #ffffff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.12);
}

.header-area.homepage4 .mobile-drawer.open {
  transform: translateX(0);
}

.header-area.homepage4 .mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Drawer top */
.header-area.homepage4 .drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.header-area.homepage4 .drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,0.12);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #1a1a1a;
  transition: all 0.2s ease;
}

.header-area.homepage4 .drawer-close:hover {
  background: rgba(0,0,0,0.05);
}

/* Drawer nav */
.header-area.homepage4 .drawer-nav {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}

.header-area.homepage4 .drawer-nav::-webkit-scrollbar {
  display: none;
}

.header-area.homepage4 .drawer-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.header-area.homepage4 .drawer-nav > ul > li {
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Drawer links */
.header-area.homepage4 .drawer-nav > ul > li > a {
  display: block;
  padding: 15px 20px;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-area.homepage4 .drawer-nav > ul > li > a:hover {
  color: #4782A2;
  background: rgba(20,89,225,0.03);
}

/* Drawer accordion buttons */
.header-area.homepage4 .drawer-has-dropdown > button {
  width: 100%;
  background: none;
  border: none;
  padding: 15px 20px;
  font-family: "Figtree", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.header-area.homepage4 .drawer-has-dropdown > button:hover {
  color: #4782A2;
  background: rgba(20,89,225,0.03);
}

.header-area.homepage4 .drawer-has-dropdown > button i {
  font-size: 12px;
  transition: transform 0.3s ease;
  color: #666;
  flex-shrink: 0;
}

.header-area.homepage4 .drawer-has-dropdown > button.open i {
  transform: rotate(180deg);
  color: #4782A2;
}

.header-area.homepage4 .drawer-has-dropdown > button.open {
  color: #4782A2;
}

/* Drawer sub-menu */
.header-area.homepage4 .drawer-has-dropdown > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #f8f9fb;
}

.header-area.homepage4 .drawer-has-dropdown > ul.open {
  max-height: 500px;
}

.header-area.homepage4 .drawer-has-dropdown > ul li a {
  display: block;
  padding: 11px 20px 11px 34px;
  font-family: "Figtree", sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.header-area.homepage4 .drawer-has-dropdown > ul li:last-child a {
  border-bottom: none;
}

.header-area.homepage4 .drawer-has-dropdown > ul li a:hover {
  color: #4782A2;
  padding-left: 40px;
  background: rgba(20,89,225,0.04);
}

/* Drawer footer */
.header-area.homepage4 .drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  background: #fff;
}

.header-area.homepage4 .drawer-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Figtree", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 11px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,0,0,0.15);
  transition: all 0.2s ease;
}

.header-area.homepage4 .drawer-phone:hover {
  background: rgba(0,0,0,0.03);
}

.header-area.homepage4 .drawer-demo-btn {
  width: 100%;
  background:linear-gradient(135deg,#4782A2,#6FBAD9);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-family: "Figtree", sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.header-area.homepage4 .drawer-demo-btn:hover {
  background:linear-gradient(135deg,#4782A2,#6FBAD9);
}

/* Body scroll lock */
body.drawer-open {
  overflow: hidden !important;
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */

/* Large desktop — full layout */
@media (min-width: 1200px) {
  .header-area.homepage4 .header-inner { padding: 0 48px; }
  .header-area.homepage4 .desktop-nav { display: flex; }
  .header-area.homepage4 .hamburger-btn { display: none; }
  .header-area.homepage4 .desktop-only { display: flex; }
  .header-area.homepage4 .tablet-only { display: none; }
}

/* Medium desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .header-area.homepage4 .header-inner { padding: 0 28px; gap: 10px; }
  .header-area.homepage4 .desktop-nav { display: flex; margin-left: 12px; }
  .header-area.homepage4 .desktop-nav ul li > a { padding: 0 8px; font-size: 13px; }
  .header-area.homepage4 .hamburger-btn { display: none; }
  .header-area.homepage4 .desktop-only { display: flex; }
  .header-area.homepage4 .tablet-only { display: none; }
  .header-area.homepage4 .header-cta { padding: 9px 14px; font-size: 13px; }
}

/* Tablet — hide full nav, show hamburger + phone icon */
@media (min-width: 768px) and (max-width: 991px) {
  .header-area.homepage4 .header-inner { padding: 0 24px; }
  .header-area.homepage4 .desktop-nav { display: none; }
  .header-area.homepage4 .hamburger-btn { display: flex; }
  .header-area.homepage4 .desktop-only { display: none !important; }
  .header-area.homepage4 .tablet-only { display: flex !important; }
  .header-area.homepage4 .header-cta { padding: 9px 14px; font-size: 13px; }
  .welcome4-section-area { padding-top: 68px !important; }
}

/* Mobile */
@media (max-width: 767px) {
  .header-area.homepage4 .header-inner { padding: 0 16px; height: 58px; }
  .header-area.homepage4 .desktop-nav { display: none; }
  .header-area.homepage4 .hamburger-btn { display: flex; }
  .header-area.homepage4 .desktop-only { display: none !important; }
  .header-area.homepage4 .tablet-only { display: none !important; }
  .header-area.homepage4 .site-logo img { height: 30px; }
  /* Hide text on CTA, show shorter version */
  .header-area.homepage4 .header-cta {
    padding: 8px 12px;
    font-size: 12px;
  }
  .welcome4-section-area { padding-top: 62px !important; }
}

/* Small mobile */
@media (max-width: 400px) {
  .header-area.homepage4 .header-cta { display: none; }
  .header-area.homepage4 .hamburger-btn { width: 38px; height: 38px; }
}

/* ==========================================
   HERO SECTION MOBILE RESPONSIVE
========================================== */

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
  .welcome4-section-area {
    padding-top: 68px !important;
    padding-bottom: 40px !important;
  }

  .welcome4-section-area .row {
    align-items: center;
  }

  .welcome4-section-area .col-lg-6:first-child {
    margin-bottom: 30px;
  }

  .welcome4-section-area .welcome4-images-area {
    padding-top: 0 !important;
    margin-top: 20px;
  }

  .welcome4-section-area .welcome4-images-area .main-img img:first-child {
    max-height: 380px;
    object-fit: contain;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .welcome4-section-area {
    padding-top: 62px !important;
    padding-bottom: 30px !important;
  }
.welcome4-section-area .welcome4-header.heading5 {
    margin-top: 30px;
}
  /* Left content */
  .welcome4-section-area .welcome4-header.heading5 h1 {
    font-size: 26px !important;
    line-height: 36px !important;
  }

  .welcome4-section-area .welcome4-header p {
    font-size: 14px !important;
    line-height: 22px !important;
  }

  /* Badge */
  .welcome4-section-area .welcome4-header.heading5 .badge-span {
    font-size: 13px !important;
    padding: 6px 12px !important;
  }

  /* Buttons row — stack neatly */
  .welcome4-section-area .btn-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Book a Demo button */
  .welcome4-section-area .btn-area .all-btn {
    width: 100% !important;
    text-align: center !important;
  }

  /* Watch Product Overview link */
  .welcome4-section-area .btn-area .header-btn6 {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  /* Space utilities */
  .welcome4-section-area .space32 {
    height: 20px !important;
  }

  .welcome4-section-area .space20 {
    height: 12px !important;
  }

  .welcome4-section-area .space16 {
    height: 10px !important;
  }

  /* Right side image — reduce gap */
  .welcome4-section-area .welcome4-images-area {
    padding-top: 24px !important;
    margin-top: 0 !important;
  }

  .welcome4-section-area .welcome4-images-area .main-img {
    max-height: none !important;
  }

  .welcome4-section-area .welcome4-images-area .main-img img:first-child {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
  }

  /* Animation element hidden on mobile */
  .welcome4-section-area > .elementors-img {
    display: none !important;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .welcome4-section-area .welcome4-header.heading5 h1 {
    font-size: 22px !important;
    line-height: 32px !important;
  }

  .welcome4-section-area .welcome4-images-area .main-img img:first-child {
    max-height: 320px !important;
  }

  .welcome4-section-area .welcome4-images-area {
    padding-top: 16px !important;
  }
}