/* Default Reset */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --headingclr: #05264E;
  --textclr: #4F5E64;
  --btnclr: #D87A1C;
  --earthred: #B64A2E;
  --accentcolor: #E6B45C;
  --darkbrown: #55251e;
  --darkbase: #121212;
  --hoverbtn: #B64A2E;
  --primary: #D87A1C;
  --white: #ffffff;
  --lightthemebg: #fff0e1;
  --light-2: #f5f5f5;
  --black: #000;
  --dark-3: #6d6d6d;
  --gray-4: #e0e0e0;
  --themefont: "Plus Jakarta Sans", sans-serif;

}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--themefont) !important;
  /* background-color: #f8f9fa; */
  background-color: #f2f3f6 !important;
  color: #222;
  line-height: 1.5;
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl {
  max-width: 1240px;
}

/* Remove list bullets */
ul,
ol {
  list-style: none;
  padding-left: 0px;
}

/* Remove underline from links */
a {
  text-decoration: none;
  color: inherit;
}

.main-logo {
  color: #05264E;
  font-weight: 1000;
  padding-left: 20px;
}

@media screen and (max-width:550px) {
  .main-logo {
    padding-left: 0px !important;
  }
}

/* Image responsive */
img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* Buttons reset */
button {
  border: none;
  background: none;
  cursor: pointer;
}

.seccpadd {
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
}

/* ===== Buttons Css ===== */
.primary-btn {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-2);
}

.active.primary-btn,
.primary-btn:hover,
.primary-btn:focus {
  background: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-4);
}

.deactive.primary-btn {
  background: var(--gray-4);
  color: var(--dark-3);
  pointer-events: none;
}

.primary-btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.active.primary-btn-outline,
.primary-btn-outline:hover,
.primary-btn-outline:focus {
  background: var(--primary-dark);
  color: var(--white);
}

.deactive.primary-btn-outline {
  color: var(--dark-3);
  border-color: var(--gray-4);
  pointer-events: none;
}

/*===========================
  NAVBAR css 
===========================*/
.navbar-toggler:focus {
  box-shadow: none;
}

.mb-100 {
  margin-bottom: 100px;
}

/*===== NAVBAR ONE =====*/
.navbar-one {
  background: var(--white);
  padding: .5rem 10px;
  border-radius: 8px;
  border: 1.4px solid #E2E8F0;
  margin-top: 1rem;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one {
    padding: 20px 10px;
  }
}

.navbar-one .navbar {
  position: relative;
  padding: 0;
}

.navbar-one .navbar .navbar-toggler .toggler-icon {
  width: 30px;
  height: 2px;
  background-color: var(--headingclr);
  margin: 5px 0;
  display: block;
  position: relative;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.navbar-one .navbar .navbar-toggler.active .toggler-icon:nth-of-type(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 7px;
}

.navbar-one .navbar .navbar-toggler.active .toggler-icon:nth-of-type(2) {
  opacity: 0;
}

.navbar-one .navbar .navbar-toggler.active .toggler-icon:nth-of-type(3) {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  top: -7px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-collapse {
    position: absolute;
    top: 140%;
    left: 0;
    width: 100%;
    background-color: #E2E8F0;
    z-index: 99999;
    padding: 10px 0;
    border-radius: 0 0 5px 5px;
  }
}

.navbar-one .navbar .navbar-nav .nav-item {
  margin: 0 5px;
  position: relative;
}

.navbar-one .navbar .navbar-nav .nav-item.active a {
  color: var(--primary);
  border-bottom: 1.5px solid var(--primary);
}

.navbar-one .navbar .navbar-nav .nav-item a {
  font-size: .865rem;
  line-height: 24px;
  font-weight: 600;
  padding: 10px 15px;
  color: var(--textclr);
  text-transform: capitalize;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 0;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.navbar-one .navbar .navbar-nav .nav-item.mega-parent .mega-menu a {
  padding: 5px 0px;
}

.navbar-one .navbar .navbar-nav .nav-item a::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 100%;
  width: 0%;
  background-color: var(--white);
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.navbar-one .navbar .navbar-nav .nav-item a.active::before {
  opacity: 0.1;
  visibility: visible;
  width: 100%;
}

.navbar-one .navbar .navbar-nav .nav-item a:hover::before {
  opacity: 0.1;
  visibility: visible;
  width: 100%;
}

.navbar-one .navbar .navbar-nav .nav-item a i {
  font-weight: 700;
  padding-left: 8px;
  font-size: 14px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item a {
    padding: 10px 10px;
    display: block;
  }

  .navbar-one .navbar .navbar-nav .nav-item a::before {
    border-radius: 5px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item {
    margin-bottom: 5px;
  }

  .navbar-one .navbar .navbar-nav .nav-item:last-child {
    margin-bottom: 0;
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 260px;
  border: 1px solid #E0E6F7;
  background-color: var(--white);
  box-shadow: var(--shadow-4);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  z-index: 99;
  padding: 10px;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    right: auto;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
    -webkit-transition: all none ease-out 0s;
    -moz-transition: all none ease-out 0s;
    -ms-transition: all none ease-out 0s;
    -o-transition: all none ease-out 0s;
    transition: all none ease-out 0s;
    box-shadow: none;
    text-align: left;
    border-top: 0;
    height: 0;
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu.collapse:not(.show) {
  height: auto;
  display: block;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu.collapse:not(.show) {
    height: 0;
    display: none;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu.show {
    height: auto;
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li {
  position: relative;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li a {
    border-radius: 5px !important;
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  font-weight: 500;
  position: relative;
  color: var(--dark);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
  z-index: 5;
  text-transform: capitalize;
  border-radius: 5px;
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li a::before {
  display: none;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li a:hover {
    background-color: var(--primary-dark);
    color: var(--white);
  }

  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li a i {
    color: var(--primary-dark);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
  }

  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li a:hover i {
    color: var(--white);
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li a i {
  font-size: 14px;
  font-weight: 700;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li a i {
    display: none;
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li a .sub-nav-toggler i {
  display: inline-block;
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
  right: auto;
  left: 100%;
  top: 0;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px),
only screen and (min-width: 1400px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
    margin-left: 10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li .sub-menu {
    padding-left: 30px;
    height: 0;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-menu li .sub-menu.show {
    visibility: visible;
    height: auto;
    position: relative;
  }
}

.navbar-one .navbar .navbar-nav .nav-item .sub-menu li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  height: auto;
}

.navbar-one .navbar .navbar-nav .nav-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  height: auto;
}

@media only screen and (min-width: 768px) and (max-width: 991px),
(max-width: 767px) {
  .navbar-one .navbar .navbar-nav .nav-item .sub-nav-toggler {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 14px;
    font-size: 16px;
    background: none;
    border: 0;
    color: var(--white);
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-one .navbar .navbar-btn {
    position: absolute;
    right: 70px;
    top: 3px;
  }
}

@media (max-width: 767px) {
  .navbar-one .navbar .navbar-btn {
    position: absolute;
    right: 60px;
    top: 3px;
  }
}

.navbar-one .navbar .navbar-btn ul {
  display: flex;
}

.navbar-one .navbar .navbar-btn ul li {
  display: inline-block;
  margin-right: 0px;
}

.navbar-one .navbar .navbar-btn ul li a {
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0;
  font-size: .875rem;
  padding: 5px 15px;
}

.navbar-one .navbar .navbar-btn ul li a.primary-btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.navbar-one .navbar .navbar-btn ul li a.primary-btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.navbar-one .navbar .navbar-btn ul li a.primary-btn {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.navbar-one .navbar .navbar-btn ul li a.primary-btn:hover {
  background-color: transparent;
  color: var(--primary);
}

/* ===== MEGA MENU ===== */
.mega-parent {
  position: static !important;
}

.mega-parent .mega-menu {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: var(--white);
  border: 1px solid #E0E6F7;
  padding: 25px 30px;
  box-shadow: var(--shadow-4);
  display: none;
  z-index: 99;
  border-radius: 6px;
}



.mega-menu a {
  display: block;
  padding: 4px 0;
  color: #555;
  font-size: 14px;
  text-decoration: none;
}

.mega-menu a:hover {
  color: var(--primary);
}

/* SHOW ON HOVER (DESKTOP) */
@media (min-width: 992px) {
  .mega-parent:hover .mega-menu {
    display: block;
  }
}

/* MOBILE VERSION → NORMAL COLLAPSE MENU */
@media (max-width: 991px) {
  .mega-menu {
    position: relative !important;
    width: 100% !important;
    padding: 15px !important;
    display: none;
    border: none;
    box-shadow: none;
  }

  .mega-parent.open .mega-menu {
    display: block;
  }
}


/* Header End */

/* Footer start */
.footer-one {
  background-color: var(--light-2);
}

.footer-one .footer-logo {
  margin-top: 30px;
}

.footer-one .footer-widget {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .footer-one .footer-widget {
    padding-top: 40px;
    padding-bottom: 70px;
  }
}

@media (max-width: 767px) {
  .footer-one .footer-widget {
    padding-top: 20px;
    padding-bottom: 50px;
  }
}

.footer-one .footer-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
  color: var(--black);
  position: relative;
}

.footer-one .footer-app-store {
  padding-top: 22px;
}

.footer-one .footer-app-store .download-title {
  font-size: 15px;
  display: block;
  margin-bottom: 15px;
  font-weight: 500;
  color: var(--dark-1);
}

.footer-one .footer-app-store li {
  display: inline-block;
  margin-right: 8px;
}

.footer-one .footer-app-store li img {
  max-width: 140px;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .footer-one .footer-app-store li {
    margin-right: 6px;
  }
}

.footer-one .footer-app-store li:last-child {
  margin-right: 0;
}

@media (max-width: 767px) {
  .footer-one .footer-app-store li {
    width: 120px;
    display: block;
    margin-bottom: 10px;
  }

  .footer-one .footer-app-store li:last-child {
    margin: 0;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .footer-one .footer-app-store li {
    width: auto;
  }
}

.footer-one .footer-app-store li a {
  -webkit-transition: all 0.2s ease-out 0s;
  -moz-transition: all 0.2s ease-out 0s;
  -ms-transition: all 0.2s ease-out 0s;
  -o-transition: all 0.2s ease-out 0s;
  transition: all 0.2s ease-out 0s;
}

.footer-one .footer-app-store li a:hover {
  box-shadow: var(--shadow-4);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
  transform: translateY(-4px);
}

.footer-one .f-about {
  margin-top: 30;
}

.footer-one .f-about .text {
  margin-top: 20px;
  font-size: .875rem;
  line-height: 28px;
  color: var(--textclr);
}

@media only screen and (min-width: 1200px) and (max-width: 1399px),
only screen and (min-width: 1400px) {
  .footer-one .f-about {
    /* padding-right: 200px; */
  }
}

.footer-one .footer-link {
  margin-top: 30px;
}

.footer-one .footer-link ul {
  margin-top: 8px;
}

.footer-one .footer-link ul a {
  font-size: .875rem;
  line-height: 24px;
  color: var(--dark-3);
  margin-top: 16px;
  font-weight: 400;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.footer-one .footer-link ul li {
  padding-top: 10px;
}

@media (max-width: 767px) {
  .footer-one .footer-link ul a {
    margin-top: 12px;
  }
}

.footer-one .footer-link ul a:hover {
  color: var(--primary);
}

.footer-one .footer-contact {
  margin-top: 30px;
}

.footer-one .footer-contact ul {
  margin-top: 24px;
}

.footer-one .footer-contact ul li {
  display: block;
  margin-top: 15px;
  position: relative;
  padding-left: 0px;
  color: var(--dark-3);
  font-size: .875rem;
}

.footer-one .footer-contact ul li:first-child {
  margin: 0;
}

.footer-one .footer-contact ul li i {
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 4px;
}

.footer-one .footer-copyright {
  border-top: 1px solid var(--gray-4);
}

.footer-one .copyright {
  padding-bottom: 5px;
  padding-top: 5px;
  /* border-top: 1px solid var(--dark-3); */
}

.footer-one .copyright .text {
  color: var(--dark-3);
  margin-top: 10px;
  font-size: .875rem
}

.footer-one .social {
  margin-top: 10px;
}

.footer-one .social li {
  display: inline-block;
  margin-right: 15px;
}

.footer-one .social li:last-child {
  margin-right: 0;
}

.footer-one .social li a {
  font-size: 18px;
  color: var(--dark-3);
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.footer-one .social li a:hover {
  color: var(--primary);
}

.herosection {
  padding-top: 1rem;
  padding-bottom: 1.875rem;
}

.hero-image {
  /* background-image: url(../images/bg-banner.png); */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  position: relative;
}


.hero-img {
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease-in-out;
}

.hero-img>img {
  width: 100%;
  border-radius: 50% !important;
  height: 100%;
  object-fit: cover;
}

.central {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  /* transform: translate(-50%, -50%); */
  z-index: 10;
  animation: floatCenter 8s ease-in-out infinite alternate;
}

.herosec-img1,
.herosec-img2,
.herosec-img3,
.herosec-img4,
.herosec-img5,
.herosec-img6 {
  position: absolute;
  display: block;
  /* if they're <img> elements */
  object-fit: contain;
  border-radius: 50% !important;
  z-index: 15;
  pointer-events: none;
  /* optional so they don't block clicks */
}

.herosec-img1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 10%;
}

.herosec-img2 {
  width: 100px;
  height: 100px;
  top: 5%;
  right: 15%;
}

.herosec-img3 {
  width: 120px;
  height: 120px;
  bottom: 10%;
  left: 5%;
}

.herosec-img4 {
  width: 100px;
  height: 100px;
  bottom: 5%;
  right: 15%;
}

.herosec-img5 {
  width: 100px;
  height: 100px;
  top: 25%;
  left: 5%;
}

.herosec-img6 {
  width: 120px;
  height: 120px;
  bottom: 35%;
  right: 6%;
}

.pages {
  margin-top: 10px;
}


@keyframes floatCenter {
  0% {
    transform: translate(-50%, -50%) translateY(0) rotate(0deg);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-18px) rotate(-2deg);
  }

  100% {
    transform: translate(-50%, -50%) translateY(0) rotate(0deg);
  }
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

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

  100% {
    transform: translateY(0);
  }
}

@keyframes floatLeftRight {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(25px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes floatDiagonal1 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(20px, -20px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes floatDiagonal2 {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-25px, 15px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes wobbleSoft {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  33% {
    transform: rotate(2deg) translate(10px, -10px);
  }

  66% {
    transform: rotate(-2deg) translate(-10px, 10px);
  }

  100% {
    transform: rotate(0deg) translate(0, 0);
  }
}

@keyframes circleFloat {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(20px, 0);
  }

  50% {
    transform: translate(20px, 20px);
  }

  75% {
    transform: translate(0, 20px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes bounceFloat {
  0% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-18px);
  }

  60% {
    transform: translateY(8px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes tiltSwing {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(4deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.herosec-img1 {
  animation: floatLeftRight 22s ease-in-out infinite;
  animation-delay: 0.4s;
}

.herosec-img2 {
  animation: floatUpDown 18s ease-in-out infinite;
  animation-delay: 1s;
}

.herosec-img3 {
  animation: floatDiagonal1 20s ease-in-out infinite alternate;
  animation-delay: 0.6s;
}

.herosec-img4 {
  animation: floatDiagonal2 15s ease-in-out infinite alternate;
  animation-delay: 1.4s;
}

.herosec-img5 {
  animation: wobbleSoft 25s ease-in-out infinite;
  animation-delay: 0.2s;
  transform-origin: center center;
}

.herosec-img6 {
  animation: circleFloat 30s linear infinite;
  animation-delay: 0s;
}

h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  color: #05264E;
}

h1 {
  color: var(--headingclr);
  font-size: 3rem;
  line-height: 60px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: normal;
  font-weight: 800;
}

.hero-content p {
  font-size: 1rem;
  color: #4F5E64;
}

.search-btn:hover {
  background-color: #05264E !important;
  cursor: pointer;
}

.main-btn {
  background-color: var(--btnclr);
  color: var(--white);
  line-height: 26px;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 14px;
}

.dark-btn {
  padding: 18px 25px;
  background: #05264E;
  color: #ffffff;
  border-radius: 4px;
}

.dark-btn i {
  margin-left: 0.5rem;
  /* space between text and icon */
}

.white-head {
  color: #fff !important;
}

.main-btn:hover {
  background-color: #05264E;
  transform: translateY(-2px);
  transition: 0.2s;
}

.dark-clr i {
  margin-left: 5px;
}

.dark-clr {
  background-color: #05264E;
}

.dark-clr:hover {
  background-color: #000;
  transform: translateY(-2px);
  transition: 0.2s;
}

/* .subcat-slide{
  max-width: 220px;
} */
/* Counter Cards */
.counter-card {
  text-align: center;
}

.counter-no {
  font-weight: 800;
  font-size: 56px;
  color: var(--btnclr);
}

.counter-k {
  font-weight: 800;
  font-size: 56px;
  color: var(--btnclr);
}

.counter-text {
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 22px;
  color: var(--textclr);
}

.marketplace-section {
  background-color: var(--btnclr);
  color: #fff;
  padding: 6rem 0;
  position: relative;
}

.text-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: 1rem;
  color: #e0e6ff;
  margin-bottom: 2rem;
}

.btn-explore {
  background-color: #000;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-explore:hover {
  background-color: #333;
  color: #fff;
}

.job-card {
  border-radius: 12px;
  overflow: hidden;
  height: 255px;
  max-width: 250px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.job-card .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.job-card:hover .card-img {
  transform: scale(1.05);
}

.job-card .card-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: url(../images/bg-catogries.png ) repeat-x center bottom;
  color: #fff;
}

.job-card .card-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.job-card .card-text {
  font-size: 0.9rem;
  color: #e0e0e0;
}

.marketplace-section .swiper-button-prev,
.marketplace-section .swiper-button-next {
  position: absolute;
  top: -2rem;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  border-radius: 50%;
  background-color: #fff;
  color: var(--btnclr);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  z-index: 10;
  transition: 0.3s ease;
}

.marketplace-section .swiper-button-prev {
  right: 60px;
  left: auto;
}

.marketplace-section .swiper-button-next {
  right: 10px;
  left: auto;
}

.marketplace-section .swiper-button-prev:hover,
.marketplace-section .swiper-button-next:hover {
  background-color: #eee;
  color: var(--btnclr);
}

.marketplace-section .swiper-button-prev::after,
.marketplace-section .swiper-button-next::after {
  content: none !important;
}


.marketplace-section .row:first-child {
  position: relative;
  height: 0;
}

.category-slider-inner {
  margin-top: 30px;
}

.profile-sec {
  background-color: #EFF2FB;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

.profile-sec-img img {
  border-radius: 16px;
}

.profile-txt p,
.main-txt {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: #66789C;
  padding-top: 10px;
  padding-bottom: 10px;
}

.profile-txt h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  padding-top: 10px;

  line-height: 45px;
  color: var(--headingclr);
}

.profile-txt span {
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  padding-top: 20px;
  line-height: 26px;
  color: var(--btnclr);
}

.custom-flex {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

@media screen and (max-width:980px) {
  .custom-flex {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.heading-sec {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.heading-sec h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
}

.heading-sec p {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  color: #66789C;
}

.allProfile .nav-tabs li button {
  padding: 10px 10px;
}

.nav-tabs li button {
  display: inline-block;
  margin: 0px 5px;
  box-shadow: 0px 2px 4px -5px rgb(10, 42, 105) !important;
  align-items: center;
  padding: 13px 17px;
  width: auto;
  background: #ffffff !important;
  border: 1px solid #E0E6F7 !important;
  border-radius: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  line-height: 18px;
  color: #3C65F5 !important;
  text-align: left;
  margin-bottom: 10px;
}

.nav-tabs li button:hover,
.nav-tabs li button.active {
  color: #3C65F5 !important;
  background-color: #fff !important;
  border-color: #3C65F5 !important;
  box-shadow: 0px 2px 4px -5px rgb(10, 42, 105) !important;
}

.nav-tabs {
  margin-top: 20px;
  --bs-nav-tabs-border-width: #fff !important;
}

.nav-tabs button img {
  vertical-align: sub;
  width: auto;
  height: 18px;
  margin: 0px 6px 0px 0px;
}

.profile-cards-area {
  padding-top: 20px;
}

.profile-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.profile-card-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.profile-img-wrapper {
  position: relative;
  margin-right: 16px;
  flex-shrink: 0;
}

.profile-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.online-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background-color: #1aff4f;
  /* Green */
  border-radius: 50%;
  border: 2px solid #fff;
}

.offline-dot {
  background-color: #6c757d;
  /* Gray */
}

.profile-name {
  font-size: 1rem;
  /* Reduced size slightly */
  font-weight: 600;
  color: #212529;
  margin-bottom: 2px;
}

.profile-title {
  font-size: 0.7rem;
  color: #6c757d;
  margin-bottom: 8px;
}

.profile-rating {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.profile-rating .fa-star {
  color: #ffc107;
  font-size: 0.8rem;
}

.profile-rating span {
  color: #6c757d;
  margin-left: 8px;
}

.profile-description {
  display: flex;
  align-items: flex-start;
  color: #4F5E64;
  font-weight: 500 !important;
  font-size: 12px !important;
  line-height: 18px !important;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.profile-description-pipe {
  color: #ced4da;
  margin-right: 12px;
  font-weight: 100;
  font-size: 1.5rem;
  line-height: 1.2;
}

.profile-description p {
  margin-bottom: 0;
}

.profile-skills {
  margin-bottom: 1rem;
}

.skill-pill {
  display: inline-block;
  text-decoration: none;
  color: #05264E;
  padding: 6px 12px;
  color: #66789C;
  margin: 2px;
  border-radius: 5px;
  color: #3C65F5;
  min-width: 42px;
  font-size: 12px;
  line-height: 18px;
  background-color: rgba(81, 146, 255, 0.12);
}

.profile-footer {
  margin-top: auto;
  /* Pushes footer to the bottom */
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #495057;
}

.profile-footer .info-item {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
}

.subcat-slide p {
  font-weight: 500 !important;
  font-size: 12px !important;
  color: #4F5E64;
  line-height: 18px !important;
}

.subcat-slide h5 {
  font-size: 16px;
  line-height: 26px;
  color: var(--headingclr);
  margin-bottom: 3px;
}

.text-info-right {
  padding-top: 10px;
  padding-left: 10px;
}

.columnslide .text-info-right {
  width: 100%;
  text-align: left;
}

.columnslide .subcat-img {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: start;
}

.columnslide {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: start;
  justify-content: start;
  flex-direction: column;
}

.subcat-slide {
  border: 1px solid rgba(6, 18, 36, 0.1);
  padding: 15px;
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  border-radius: 12px;
  margin-bottom: 15px;
  background-color: #ffffff;
  flex-wrap: wrap;
}

.profile-footer .info-item i {
  margin-right: 8px;
  color: #adb5bd;
}

.profile-price {
  font-weight: 600;
}

.profile-card-slider {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 50px !important;
}

.swiper-slide {
  height: auto;
}

.swiper-pagination-bullet-active {
  background-color: #0d6efd;
}

.swiper-pagination {
  padding-top: 20px;
}

.subcategories-slider {
  padding-top: 40px;
}

.talent-prev-btn,
.talent-next-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.talent-prev-btn:hover,
.talent-next-btn:hover {
  background: #f2f2f2;
}

.talent-prev-btn i,
.talent-next-btn i {
  font-size: 16px;
  color: #333;
}

.talent-prev-btn {
  left: 0px;
}

.talent-next-btn {
  right: 0px;
}

.jobsearch {
  background-color: #fff;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}



.job-sec-img img {
  width: 100%;
}

.job-txt {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.job-txt h2 {
  font-weight: 700;
  font-size: 38px;
  line-height: 48px;
  color: var(--headingclr);
}

.job-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.job-icon {
  width: 16px;
  height: 16px;
  margin-top: 6px;
}

.job-item h5 {
  font-size: 20px;
  font-weight: 600;
}

.job-item p {
  margin-top: 5px;
  color: #66789c;
  line-height: 25px;
}

@media (max-width: 768px) {
  .job-txt {
    text-align: left;
  }

  .job-item {
    align-items: center;
  }
}

.pages {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #4F5E64;
}

.profile-form-wrapper {
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.158);
}

.tag-input {
  display: flex;
  flex-wrap: wrap;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  cursor: text;
}

.tag {
  background-color: #0d6efd;
  color: #fff;
  padding: 5px 10px;
  border-radius: 15px;
  margin-right: 7px;
  margin-bottom: 7px;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.tag i {
  margin-left: 6px;
  cursor: pointer;
}

.tag-input input {
  border: none;
  outline: none;
  flex: 1;
  padding: 5px;
  min-width: 150px;
}

.form-section-title {
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.form-heading {
  color: var(--headingclr);
  font-weight: 700;
  font-size: 36px;
  line-height: 45px;
}

form label {
  color: var(--headingclr);
}

.profile-form-wrapper {
  background-color: #fafbff;
}

.profile-form {
  padding-top: 20px;
}

.form-text {
  color: var(--primary);
}

.profile-heading {
  padding-top: 20px;
  background-color: #0d6dfd27;
}

.nav-pills .nav-link {
  cursor: pointer;
  font-weight: 500;
  color: #555;
}

.nav-pills .nav-link.active {
  background-color: #0d6efd;
}

input,
select,
textarea {
  border-radius: 6px !important;
}

.preview-img {
  max-width: 150px;
  max-height: 150px;
  margin-top: 10px;
  display: block;
  border-radius: 8px;
}

.job-item p {
  margin-bottom: 0 !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5em 0.75em;
  font-size: 0.9em;
}

.btn-close {
  margin-left: 0.5em;
}

.section-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin-bottom: 30px;
}

#typewriter {
  font-size: 3rem;
  font-weight: bold;
  color: var(--headingclr);
  border-right: 2px solid var(--headingclr);
  /* cursor effect */
  white-space: nowrap;
  overflow: hidden;
  animation: blink 0.7s infinite;
}

@keyframes blink {

  0%,
  50%,
  100% {
    border-color: var(--headingclr);
  }

  25%,
  75% {
    border-color: transparent;
  }
}

.practice_details {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 80vh;
  padding: 20px;
}

.custom-mar {
  margin: 0 !important;
  padding: 0 !important;
}

.button-padd {
  margin-right: 15px;
}

.family-heading-card {
  padding: 10px 0;
  margin-left: 0px !important;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.custom-sidenav {
  background: var(--headingclr);
  height: 100%;
  min-height: 80vh;
  border-radius: 0px 12px 0 0;
  padding: 25px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

@media screen and (max-width:575px) {
  .custom-sidenav {
    flex-direction: row !important;
    min-height: 100%;
    border-radius: 12px;
    padding: 5px 10px;
  }

  .custom-sidenav-menu {
    display: flex;
    flex-direction: row;
  }
}

.custom-sidenav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.custom-sidenav-link {
  width: 100%;
  padding: 16px 10px;
  margin: 0;
  color: #c9d8e8;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.3s ease;
  position: relative;
}

.custom-sidenav-icon {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 14px;
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-sidenav-icon i {
  font-size: 18px;
}

.custom-sidenav-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.custom-sidenav-link:hover .custom-sidenav-icon {
  background: rgba(255, 255, 255, 0.15);
}

.custom-sidenav-active {
  color: #fff;
}

.custom-sidenav-active .custom-sidenav-icon {
  background: var(--btnclr);
  box-shadow: 0 4px 12px rgba(0, 162, 216, 0.4);
}

.custom-sidenav-menu a {
  text-decoration: none;
}

.profile-main {
  overflow-x: hidden;
  /* padding-top: 30px; */
}

.profile-image-showcase img {
  max-width: 240px;
}

.profile-image-showcase {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

a {
  text-decoration: none !important;
}

.profile-right {
  max-height: 45px !important;
}

.profile-job_card {
  border-radius: 6px;
  border: 1px solid #E0E6F7;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  background: #F8FAFF;
  padding: 1.5rem 1rem;
}

.job-logo-profile {
  width: 120px;
  padding-right: 10px;
}

@media screen and (max-width:780px) {
  #type {
    color: #05264E;

    font-size: 24px;
    line-height: 24px !important;

    border-right: 2px solid black !important;
    /* cursor color */

  }

  #type-above {
    font-size: 26px;
    line-height: 26px !important;
  }

  @keyframes typing {

    0%,
    10% {
      width: 0;
    }

    90%,
    100% {
      width: 100% !important;
    }
  }
}

#type-above {
  color: #05264E;
  font-size: 38px;
  line-height: 38px !important;
}

#type {
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;

  font-size: clamp(20px, 5vw, 32px);
  /* responsive text */
  color: #05264E;

  border-right: 3px solid #05264E;
  animation: typing 3s steps(20, end) infinite,
    blink-caret 0.7s step-end infinite;
}

@media (max-width: 480px) {
  #type {
    font-size: 16px;
    border-right: 2px solid #05264E;
    animation-duration: 2.5s;
  }

  @keyframes typing {

    0%,
    10% {
      width: 0;
    }

    90%,
    100% {
      width: 100% !important;
    }
  }

  @keyframes blink-caret {
    90% {
      border-color: transparent;
    }
  }

}

.mega-menu .internal-links a:hover {
  color: var(--primary) !important;

}

.profile-card.family-card {
  position: relative;
  background: #ffffff;
  border-radius: 14px;
  padding: 50px 20px 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card.family-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Roof Shape */
.house-roof {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-bottom: 30px solid #4f46e5;
}

/* Card Body */
.profile-card-body i {
  font-size: 32px;
  color: #0747b3;
  margin-bottom: 15px;
}

.profile-card-body h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.profile-card-body p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
}

.internal-links h6 {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 15px;
}

.navbar-nav li a:hover {
  color: var(--primary) !important;

}

@keyframes typing {

  0%,
  10% {
    width: 0;
  }

  90%,
  100% {
    width: 70%;
  }
}

@keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}

.card-counter {
  box-shadow: 2px 2px 10px #DADADA;
  margin: 5px;
  padding: 20px 20px;
  background-color: #fff;
  height: 160px;
  border-radius: 8px;
  transition: .3s linear all;
}

.card-counter:hover {
  box-shadow: 4px 4px 20px #DADADA;
  transition: .3s linear all;
}

.card-counter.primary {
  background-color: #007bff;
  color: #FFF;
}

.card-counter.danger {
  background-color: #ef5350;
  color: #FFF;
}

.card-counter.success {
  background-color: #66bb6a;
  color: #FFF;
}

.card-counter.info {
  background-color: #26c6da;
  color: #FFF;
}

.card-counter i {
  font-size: 5em;
  opacity: 0.2;
}

.card-counter .count-numbers {
  position: absolute;
  right: 35px;
  top: 20px;
  font-size: 32px;
  display: block;
}

.card-counter .count-name {
  position: absolute;
  right: 35px;
  top: 65px;
  font-style: italic;
  text-transform: capitalize;
  /* opacity: 0.5; */
  color: #fff;
  display: block;
  font-size: 18px;
}

/* Wrapper */
.enquiry-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
}

/* Labels */
.enquiry-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  font-size: 14px;
}

/* Input Container */
.input-items {
  position: relative;
  display: flex;
  align-items: center;
}

.input-items.default input,
.input-items.default textarea,
.input-items.default select {
  width: 100%;
  padding: 10px 40px 10px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
}

.input-items.default textarea {
  min-height: 120px;
  resize: vertical;
}

/* Icons inside input */
.input-items.default i {
  position: absolute;
  right: 14px;
  color: #777;
  font-size: 15px;
}

/* Input Focus Effect */
.input-items.default input:focus,
.input-items.default textarea:focus,
.input-items.default select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 6px rgba(13, 110, 253, 0.2);
}

/* Dropdown Select */
.input-items.default select {
  appearance: none;
  background-color: #fff;
  cursor: pointer;
}

/* Button Styling */



/* Text Styles */
.text-muted {
  color: #777 !important;
}

.rounded-buttons {
  margin-top: 10px;
}

/* Small Heading */
.enquiry-form p.fs-6 {
  margin-bottom: 0px;
}

/* Shadow */
.shadow-sm {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.enquiry-head p {
  font-size: 14px;
  color: #222;
}

.enquiry-head h2 {
  color: #05264E;
}

.enquiry-head {
  padding-bottom: 20px;
}

.enquiry-type {
  padding-top: 2px;
}

.enquiry-table {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(5, 38, 78, 0.10);
  overflow-x: auto;
}

/* Table Wrapper Mobile Scroll */
@media screen and (max-width: 780px) {
  .enquiry-table {
    overflow-x: scroll;
  }
}

.custom-enquiry-table {
  width: 100%;
  border-collapse: collapse;
}

/* Table Head */
.custom-enquiry-table th {
  background: #05264E;
  color: #fff;
  padding: 14px;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.4px;
}

/* Table Rows */
.custom-enquiry-table td {
  padding: 14px;
  color: #05264E;
  border-bottom: 1px solid rgba(5, 38, 78, 0.15);
  font-size: 14px;
}

/* 🌟 Odd row subtle blue shadow */
.custom-enquiry-table tr:nth-child(odd) {
  background: #f7faff;
  box-shadow: inset 0 0 6px rgba(13, 110, 253, 0.15);
}

/* Hover on rows */
.custom-enquiry-table tr:hover {
  background: rgba(13, 110, 253, 0.08);
  transition: 0.3s ease-in-out;
}

/* Description truncate */
.truncate {
  max-width: 260px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Eye button */
.view-btn {
  background: #0d6efd;
  color: white;
  border: none;
  padding: 7px 12px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.2s ease-in-out;
}

.social-links {
  display: flex;
  flex-direction: column;
}

.social-links a {
  color: #007bff
}

.social-links a:hover {
  color: var(--headingclr)
}

.view-btn:hover {
  background: #0747b3;
  transform: scale(1.05);
}

/* =====================
       MODAL DESIGN
   ===================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 38, 78, 0.45);
  display: none;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* show modal */
.modal-overlay.active {
  display: flex;
  visibility: visible;
}

/* Modal Box */
.modal-box {
  background: white;
  width: 90%;
  max-width: 550px;
  padding: 20px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  border-top: 5px solid #0d6efd;
  animation: popup 0.3s ease-out;
}

/* Animation */
@keyframes popup {
  from {
    transform: scale(0.85);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Modal heading */
.modal-box h3 {
  color: #05264E;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}

/* Modal text */
.modal-box p {
  color: #05264E;
  font-size: 15px;
  line-height: 1.6;
  padding: 8px 0;
}

/* Close button */
.close-btn {
  background-color: #05264E;
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  margin-top: 15px;
  transition: 0.2s ease-in-out;
}

.close-btn:hover {
  background-color: #0d6efd;
  transform: scale(1.05);
}

.main-logo-footer {
  font-size: 32px !important;
  color: #05264E;
  font-weight: 1000;
}


/* Dashboard css start  */
.admin-header {
  height: 70px;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0px;
  right: 0;
  z-index: 1000;
  transition: left 0.3s ease;
  border-bottom: 1px solid #d8dae0;
}

/* Sidebar collapsed */
.admin-header.collapsed {
  left: 80px;
}

/* Mobile */
@media(max-width:768px) {
  .admin-header {
    left: 0;
    height: 80px;
  }

}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.toggle-btn {
  cursor: pointer;
  font-size: 20px;
}

.header-right {
  position: relative;
}

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.profile-trigger img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.profile-trigger i {
  font-size: 12px;
}

.dropdown-menu {
  position: absolute;
  left: initial !important;
  right: 0 !important;
  top: 55px;
  background: #fff;
  color: #111;
  width: 180px;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  display: none;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
}

.dropdown-menu .logout {
  color: #dc2626;
}

.profile-dropdown.active .dropdown-menu {
  display: block;
}


.toggle-btn {
  font-size: 20px;
  cursor: pointer;
  margin-right: 20px;
}

/* ===== Layout ===== */
.wrapper {
  display: flex;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 260px;
  background: linear-gradient(88deg, #55251e, #121212);
  min-height: 100vh;
  padding-top: 75px;
  padding-left: 8px;
  padding-right: 8px;
  position: fixed;
  left: 0;
  transition: 0.3s;
  z-index: 99;
  border-right: 2px solid var(--btnclr);
}

.sidebar.collapsed {
  width: 80px
}

.sidebar ul {
  list-style: none
}

.sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 5px;
}

aside.sidebar.collapsed ul li a {
  justify-content: center;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  color: #fff;
}

.sidebar.collapsed span {
  display: none
}

/* ===== Content ===== */
.content {
  margin-left: 260px;
  padding: 90px 25px 25px;
  /* width: 100%; */
  transition: 0.3s;
}

.content.collapsed {
  margin-left: 80px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

/* ===== Mobile ===== */
@media(max-width:768px) {
  .sidebar {
    left: -260px;
    z-index: 9999;
  }

  .sidebar.show {
    left: 0;
  }

  .content,
  .content.collapsed {
    margin-left: 0;
  }
}

.cardsone {
  background-color: var(--white);
  /* background-image: url(../images/bgtheme-4.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat; */
  padding: 22px 24px;
  border: 1px solid var(--btnclr);
  border-radius: 8px;
  position: relative;
}

.cardsone h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

img.bgtheme-img {
  width: 250px;
  position: absolute;
  right: 0px;
  top: 0px;
  border-radius: 8px;
}

.dash-logo {
  width: 70px;
  padding: 0px !important;
}

.dash-logo:hover {
  background-color: transparent !important;
}

.sidebar-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 2001;
}

/* Mobile */
@media(max-width:768px) {
  .sidebar {
    z-index: 2000;
    padding-top: 50px;
  }

  .sidebar-close {
    display: block;
    /* only mobile */
  }
}

.toggle-btn {
  font-size: 22px;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: var(--white);
}

/* When sidebar collapsed */
.sidebar.collapsed .toggle-btn {
  transform: rotate(180deg);
  /* right arrow */
}

.desktop-toggle {
  position: absolute;
  bottom: 10px;
  right: 5px;
}

.sidebar.collapsed .desktop-toggle {
  position: absolute;
  bottom: 10px;
  right: 12px;
}

.dashicon {
  /* position: absolute;
  right: -10px;
  top: -8px; */
  color: var(--btnclr);
  font-size: 20px;
  background: #ffffff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  padding: .75rem;
  border-radius: 10px;
  box-shadow: 0 0 2px #e5e9ec;
  border-bottom: 1px solid #eeeeee;

}

.dashcard .fa-arrow-right {
  color: var(--btnclr);
  background: #ffffff;
  -webkit-border-radius: 100vmax;
  -moz-border-radius: 100vmax;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 0 2px #e5e9ec;
  border-bottom: 1px solid #eeeeee;
  transition: 0.3s;

}

.dashcard:hover .fa-arrow-right {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  color: #fff;
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Dashboard css end */

/* plans crads css start */
.plans-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
}

.plans-card h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-3);
}

.plans-card .plans-box {
  margin-top: 2rem;
}

.plans-card .plans-box .plans-small-cards {
  background-color: var(--lightthemebg);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #f4c89c;
}

.plans-card .plans-box .plans-small-cards h3 {
  font-size: 1.25rem;
  font-weight: 500;
}

.plans-btn {
  background-color: var(--white);
  border: 1.5px solid var(--btnclr);
  color: var(--btnclr);
  border-radius: 8px;
  text-align: center;
  width: 100%;
  padding: 8px 5px;
}

.plans-btn:hover {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  border: 1.5px solid var(--btnclr);
  color: var(--white);
  border-radius: 8px;
  text-align: center;
  width: 100%;
  padding: 8px 5px;
}

.plans-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  /* background: #f5f9ff; */
  background-color: #fffbf7;
  padding: 0px;
  border-radius: 100vmax;
  border: 1px solid #ffdfbf;
}

.tab-btn {
  padding: 15px 60px;
  border: none;
  border-radius: 100vmax;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.5s ease-in-out;
  color: #002450;
}

@media(max-width:767px) {
  .tab-btn {
    padding: 10px 8px;
    border: none;
    border-radius: 100vmax;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.5s ease-in-out;
    color: #002450;
  }

  .cardsone {
    background-color: var(--white);
    padding: 22px 10px;
    border: 1px solid var(--btnclr);
    border-radius: 8px;
    position: relative;
  }

  .plans-tabs {
    border: 1px solid #ffdfbf;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
}

.tab-btn.active {
  /* background: var(--btnclr); */
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  color: #fff;
}

.tab-btn span {
  font-size: 12px;
  margin-left: 5px;
}

.plans-wrapper {
  display: none;
}

.plans-wrapper.active {
  display: block;
}

.plan-card {
  background: #fffbf7;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  height: 100%;
  border: 1px solid #ffdfbf;
}

.plan-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.price {
  font-size: 32px;
  font-weight: 700;
  margin: 15px 0;
}

.price span {
  font-size: 14px;
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.plan-features li {
  margin-bottom: 10px;
  font-size: 14px;
}

.plan-card.popular {
  border: 1px solid #ffdfbf;
  ;
}

.badge {
  position: absolute;
  top: 12px;
  right: 15px;
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
}

.user-name h3 {
  margin-bottom: 1rem !important;
  font-size: 20px !important;
  line-height: 32px;
  font-weight: 700 !important;
}

.subscriptions-box .subscriptions-active {
  background-color: #00686E;
  padding: .5rem .5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.subscriptions-box .subscriptions-active p {
  color: var(--white);
  margin-bottom: 0px;
  font-size: .875rem;
  font-weight: 400;
}

.subscriptions-box .subscriptions-expire {
  background-color: #DE524C;
  padding: .5rem .5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.subscriptions-box .subscriptions-expire p {
  color: var(--white);
  margin-bottom: 0px;
  font-size: .875rem;
  font-weight: 400;
}

/* plans cards css end */

/* Settings css stsrt */
.two-factor-box p {
  font-size: .813rem;
  font-weight: 400;
  color: var(--dark-3);
}

.two-factor-box p strong {
  color: var(--btnclr);
}

.form-check-input:checked {
  background-color: var(--btnclr);
  border-color: var(--btnclr);
}

.form-check-input:focus {
  border-color: var(--btnclr);
  outline: 0;
  box-shadow: none;
}

.modern-switch {
  position: relative;
  width: 52px;
  height: 28px;
  display: inline-block;
}

.modern-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  inset: 0;
  background: #e5e7eb;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.switch-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Active State */
.modern-switch input:checked+.switch-slider {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
}

.modern-switch input:checked+.switch-slider::before {
  transform: translateX(24px);
}

/* Hover effect */
.modern-switch:hover .switch-slider {
  box-shadow: 0 0 0 6px rgba(216, 122, 28, 0.15);
}

/* Settings css ends */

/* User add css start */
.user-list-page {
  position: relative;
}

.user-list-page .card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  padding: 0px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.user-list-page table {
  white-space: nowrap;
}

.user-list-page table thead {
  background: linear-gradient(88deg, #55251e, #121212) !important;
  color: var(--white);
}

.user-list-page table th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 10px 18px;
  border-bottom: 1px solid #e5e7eb;
  background: transparent !important;
  color: var(--white);
}

.user-list-page table td {
  font-size: 14px;
  color: #374151;
  padding: 5px 18px;
  border-bottom: 1px solid #f1f5f9;
}

.user-list-page table tbody tr {
  transition: all 0.25s ease;
}

.user-list-page table tbody tr:hover {
  background: #f9fafb;
}

.user-list-page .btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.user-list-page .btn i {
  font-size: 12px;
}

.user-list-page .btn-outline-primary {
  border-color: #c7d2fe;
  color: #4338ca;
}

.user-list-page .btn-outline-primary:hover {
  background: #4338ca;
  color: #ffffff;
}

.user-list-page .btn-outline-danger {
  border-color: #fecaca;
  color: #b91c1c;
}

.user-list-page .btn-outline-danger:hover {
  background: #b91c1c;
  color: #ffffff;
}

#deleteModal .modal-dialog {
  max-width: 420px;
}

#deleteModal .modal-content {
  border-radius: 8px;
  border: none;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* Header */
#deleteModal .modal-header {
  border-bottom: none;
  padding: 24px 24px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#deleteModal .modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #991b1b;
}

#deleteModal .modal-title i {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  padding: 10px;
  border-radius: 12px;
  font-size: 16px;
}

/* Body */
#deleteModal .modal-body {
  padding: 12px 24px 20px;
  font-size: 15px;
  color: #374151;
  line-height: 1.6;
}

#deleteModal .modal-body strong {
  color: #111827;
}

#deleteModal .modal-body small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

/* Footer */
#deleteModal .modal-footer {
  border-top: none;
  padding: 18px 24px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Cancel button */
#deleteModal .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
}

#deleteModal .btn-secondary:hover {
  background: #e5e7eb;
}

/* Delete button */
#deleteModal .btn-danger {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  border: none;
  border-radius: 8px;
  padding: 8px 22px;
  /* box-shadow: 0 8px 20px rgba(216, 122, 28, 0.35); */
  transition: 0.3s;
}

#deleteModal .btn-danger:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Smooth animation */
#deleteModal.fade .modal-dialog {
  transform: scale(0.95);
  transition: transform 0.25s ease-out;
}

#deleteModal.show .modal-dialog {
  transform: scale(1);
}

.mmtheme-btn {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  /* box-shadow: 0 8px 20px rgba(216, 122, 28, 0.35); */
  color: var(--white);
}

.mmtheme-btn:hover {
  opacity: 0.95;
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  border: none;
  color: var(--white);
  transform: translateY(-1px) !important;
}

.modern-user-form {
  padding: 20px 0;
}

/* Card */
.modern-form-card {
  overflow: hidden;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  padding: 15px;
}

.modern-form-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.modern-form-header span {
  font-size: 13px;
  opacity: 0.9;
}

/* Form body */
.modern-form-card form {
  padding: 15px 0px
}

/* Floating field */
.floating-field {
  position: relative;
}

.floating-field input,
.floating-field select {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 2px solid #e5e7eb;
  padding: 0 48px;
  font-size: 14px;
  background: #fff;
  outline: none;
}

.floating-field label {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #9ca3af;
  pointer-events: none;
  transition: 0.25s;
  background: #fff;
  padding: 0 6px;
}

/* Icon */
.floating-field i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.floating-field i.fa-solid.fa-eye {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  left: inherit;
}

.floating-field i.fa-solid.fa-eye-slash {
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  left: inherit;
}

/* Floating effect */
.floating-field input:focus+label,
.floating-field input:not(:placeholder-shown)+label,
.floating-field select:focus+label,
.floating-field select.has-value+label {
  top: 0;
  font-size: 11px;
  color: #D87A1C;
}

/* Autofill fix */
.floating-field input:-webkit-autofill+label {
  top: 0;
  font-size: 11px;
  color: #D87A1C;
}

.select-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  /* arrow space */
}

/* wrapper */
.select-field {
  position: relative;
}

/* left icon */
.select-field .field-icon {
  position: absolute;
  right: auto;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
}

/* custom arrow */
.select-field .select-arrow {
  position: absolute;
  right: 45px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999;
  font-size: 15px;
  left: inherit;
}

/* padding for text */
.select-field select {
  padding-left: 42px;
}

/* focus / filled state */
/* .select-field select:focus,
.select-field select:not([value=""]) {
  border-color: #D87A1C;
} */

/* Focus */
.floating-field input:focus,
.floating-field select:focus {
  border-color: #D87A1C;
}

/* Password eye */
.password-field .eye {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #9ca3af;
}

/* Button */
.modern-btn {
  background: linear-gradient(90deg, #D87A1C, #B64A2E);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 38px;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.modern-btn:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* Mobile */
@media(max-width:768px) {
  .modern-form-card form {
    padding: 0px;
  }

  .modern-btn {
    width: 100%;
  }
}

/* User add css end */

/* Manage tree css start */
.create-profile-box {
  border: 1.5px dashed var(--btnclr);
  display: grid;
  padding: 2rem;
  justify-content: center;
  border-radius: 8px;
}

.create-profile-box img {
  width: 100px;
  margin: 0 auto;
}

.cp-form-box {
  display: none;
  position: relative;
  animation: flashSlideIn 0.6s ease forwards;
}

.add-person-form-box {
  opacity: 0;
  transform: translateY(25px);
}

.add-person-form-box.show {
  animation: formFlashIn 0.45s ease forwards;
}

@keyframes formFlashIn {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* table initial hidden state */
.user-list-page {
  opacity: 1;
  transform: translateY(0);
}

/* jab table show hogi */
.user-list-page.show {
  animation: tableFadeIn 0.4s ease forwards;
}

@keyframes tableFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* animation */
@keyframes flashSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* close icon */
.close-form {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #444;
  z-index: 10;
}

.close-form:hover {
  color: #d00;
}

/* smooth hide */
.fade-out {
  animation: fadeOut 0.4s ease forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.life-event-select {
  position: relative;
}

/* floating label */
.life-event-select>label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #999;
  background: #fff;
  padding: 0 6px;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 5;
}

/* float condition */
.life-event-select.has-value>label,
.life-event-select:focus-within>label {
  top: -8px;
  font-size: 12px;
  color: #333;
}

/* hidden control input */
.life-event-select .floating-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* select box */
.life-event-select .select-box {
  border: 1px solid #ccc;
  border-radius: 8px;
  height: 52px;
  padding: 10px 38px 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: #fff;
}

/* placeholder */
.life-event-select .placeholder {
  color: #aaa;
  font-size: 14px;
  background: transparent;
}

/* arrow */
.life-event-select .arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 13px;
}

/* tags */
.life-event-select .selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.life-event-select .tag {
  background: #d7791d;
  padding: 3px 7px;
  border-radius: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
}

.life-event-select .tag span {
  margin-left: 6px;
  cursor: pointer;
  color: var(--white);
  font-weight: bold;
  height: 20px;
}

/* dropdown */
.life-event-select .options {
  position: absolute;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 6px;
  display: none;
  z-index: 20;
}

.life-event-select .option {
  padding: 10px 14px;
  cursor: pointer;
}

.life-event-select .option:hover {
  background: #f5f5f5;
}

/* ===== REMOVE ANY DEFAULT / THEME ARROW ===== */

.life-event-select .arrow {
  display: none !important;
}

/* remove pseudo-element arrows */
.life-event-select::after,
.life-event-select::before,
.life-event-select .select-box::after,
.life-event-select .select-box::before {
  content: none !important;
  display: none !important;
}

/* remove background dropdown icon (bootstrap/theme) */
.life-event-select .select-box {
  background-image: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  padding-right: 14px !important;
}

.profile-image-upload {
  margin-top: 0px;
}

.upload-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.upload-box {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  color: #666;
}

.upload-box i {
  font-size: 28px;
  margin-bottom: 8px;
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.image-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* profile selected */
.image-card.active {
  border-color: var(--btnclr);
}

.profile-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: var(--btnclr);
  color: #fff;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 6px;
}

/* remove */
.remove-img {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  text-align: center;
  line-height: 18px;
  font-size: 14px;
  cursor: pointer;
}

/* Manage tree css end */
div:where(.swal2-container) h2:where(.swal2-title) {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: var(--swal2-title-padding);
  color: inherit;
  font-size: 18px !important;
  font-weight: 600;
  text-align: center;
  text-transform: none;
  overflow-wrap: break-word;
  cursor: initial;
}

/* ======================================================
   THEME VARIABLES (COLOR CONTROL)
====================================================== */
:root {
  --tree-bg: #eef3ff;
  --tree-line: #0d6efd;

  --card-bg: #ffffff;
  --card-border: #0d6efd;

  --image-border: #0d6efd;
  --name-color: #0d6efd;

  --relation-bg: rgba(13, 110, 253, .15);
  --relation-text: #0d6efd;
}

/* ======================================================
   TREE BACKGROUND
====================================================== */
.treebg {
  background: var(--tree-bg);
  border-radius: 16px;
  padding: 18px;
  transition: background .25s ease;
}

/* ======================================================
   SCROLL WRAPPER
====================================================== */
.tree-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 30px;
}

.tree-wrapper::-webkit-scrollbar {
  height: 8px;
}

.tree-wrapper::-webkit-scrollbar-thumb {
  background: #c7c7ff;
  border-radius: 10px;
}

/* ======================================================
   TREE STRUCTURE
====================================================== */
.tree {
  min-width: 900px;
}

.tree ul {
  padding-top: 25px;
  position: relative;
  display: flex;
  justify-content: start;
  margin-bottom: 10px;
}

.tree li {
  list-style: none;
  text-align: center;
  position: relative;
  padding: 25px 10px 0;
}

/* ======================================================
   ALL TREE LINES (NO CONFLICT)
====================================================== */


/* Remove extra lines */
/* ======================================================
   TREE STRUCTURE
====================================================== */

.tree ul {
  padding: revert;
  margin: revert;
  padding-top: 25px;
  position: relative;
  display: flex;
  justify-content: start;
  margin-bottom: 10px;
}

.tree li {
  list-style: none;
  text-align: center;
  position: relative;
  padding: 25px 10px 0;
}

/* ======================================================
   HORIZONTAL LINES (SIBLINGS)
   → ONLY WHEN PARENT EXISTS
====================================================== */

.tree ul.has-parent>li::before,
.tree ul.has-parent>li::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60%;
  height: 25px;
  border-top: 2px solid var(--tree-line);
}

.tree ul.has-parent>li::before {
  right: 60%;
}

.tree ul.has-parent>li::after {
  left: 40%;
}

/* ======================================================
   REMOVE UNWANTED HORIZONTAL LINES
====================================================== */

/* only child → no line */
.tree ul.has-parent>li:only-child::before,
.tree ul.has-parent>li:only-child::after {
  display: none;
}

/* first & last fix */
.tree ul.has-parent>li:first-child::before {
  border: none;
}

.tree ul.has-parent>li:last-child::after {
  border: none;
}

/* root (no parent) */
.firstoftree::before,
.firstoftree::after {
  display: none;
}

/* ===== CONNECTING LINES ===== */
.tree li::before,
.tree li::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60%;
  height: 25px;
  border-top: 2px solid var(--tree-line);
}

.tree li::before {
  right: 60%;
}

.tree li::after {
  left: 40%;
  border-left: 2px solid var(--tree-line) !important;
  /* border-image: linear-gradient(to bottom, #6f42c1, #0d6efd) 1 !important; */
}

.tree li:only-child::before,
.tree li:only-child::after {
  display: none;
}

.tree li:first-child::before {
  border: none;
}

.tree li:last-child::after {
  border: none;
}

.firstoftree:last-child::before {
  border: none;
}

.firstoftree:last-child::after {
  border: none;
}

.firstoftree:only-child::before,
.firstoftree:only-child::after {
  display: none;
}


/* ======================================================
   VERTICAL LINE (PARENT → CHILDREN)
====================================================== */

.tree ul.has-parent::before {
  content: '';
  position: absolute;
  top: -18px;
  left: 50%;
  height: 45px;
  border-left: 2px solid var(--tree-line);
  transform: translateX(-50%);
}

/* ======================================================
   COUPLE CONNECTOR
====================================================== */

.couple {
  display: flex;
  gap: 15px;
  justify-content: center;
  position: relative;
}

/* couple horizontal connector */
.couple::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 20px;
  border-top: 2px solid var(--tree-line);
  transform: translateX(-50%);
}

/* couple → children vertical */
.couple+ul.has-parent::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  height: 20px;
  border-left: 2px solid var(--tree-line);
  transform: translateX(-50%);
}

/* ======================================================
   COUPLE CONNECTOR
====================================================== */
.couple {
  display: flex;
  gap: 15px;
  justify-content: center;
  position: relative;
}

.couple::after {
  content: '';
  position: absolute;
  bottom: 8px;
  width: 0px;
  height: 20px;
  border-left: 2px solid var(--tree-line);
  transform: rotate(90deg);
}

/* ======================================================
   PERSON CARD
====================================================== */
.person {
  background: var(--card-bg);
  width: 125px;
  padding: 14px 12px 16px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
  transition: .25s;
  position: relative;
  z-index: 99;
}

.person:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .12);
}

/* ======================================================
   PERSON IMAGE
====================================================== */
.person img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  padding: 4px;
  margin: 0 auto;
  background: #fff;
  border: 3px solid var(--image-border);
}

/* ======================================================
   PERSON NAME
====================================================== */
.person h6 {
  margin: 10px 0 4px;
  font-weight: 600;
  font-size: 12px;
  color: var(--name-color);
}

/* ======================================================
   RELATION BADGE
====================================================== */
.relation {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 600;
  background: var(--relation-bg);
  color: var(--relation-text);
}

/* ======================================================
   COLOR PICKER
====================================================== */
.theme-color-change-box p {
  margin-bottom: 6px;
  font-size: 14px;
}

.color-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ct-color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #ddd;
}

.ct-color.active {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .2);
}

.ct-picker {
  width: 38px;
  height: 38px;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}

/* Picker wrapper */
.picker-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
}

/* Small color picker */
.ct-picker {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  cursor: pointer;
  border: 2px solid #ddd;
}

/* Picker text */
.picker-box span {
  margin-top: 4px;
  color: #555;
  line-height: 1;
  position: absolute;
  bottom: -15px;
}

/* ======================================================
   MOBILE
====================================================== */
@media(max-width:768px) {
  .tree {
    min-width: 1100px;
  }
}

.cardcanva {
  background-color: var(--white);
  /* border: 0px solid #f7f7f7; */
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0px 0px 0px 0.5px #404f6d0f, 0px 2px 4px 0px #182c5923, 0px 6px 12px 0px #182c5912;
}

.cardcanva .cardcanva-items {
  display: flex;
  /* grid-template-columns: repeat(6, 1fr); */
  align-items: baseline;
  overflow-x: auto;
  white-space: nowrap;
  justify-content: start;
}

@media (max-width:991px) {
  .cardcanva .cardcanva-items {
    padding-bottom: 10px;
  }

}

.cardcanva .cardcanva-items .cradcanva-item {
  /* width: 100%; */
  padding: 2px 10px;
  text-align: center;
  border-right: 2px solid #39466024;
}

.cardcanva .cardcanva-items .cradcanva-item button {
  color: var(--black);
  font-size: .75rem;
  font-weight: 600;
}

.cardcanva .cardcanva-items .cradcanva-item .ct-color {
  width: 25px;
  height: 25px;
}

.tree-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 0px;
  padding: 0px 10px;
}

.tree-controls button {
  width: 20px;
  /* height: 20px; */
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--black);
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.tree-controls button:hover {
  opacity: 0.85;
}

/* Pan feel */
.tree-wrapper {
  cursor: grab;
}

.tree-wrapper:active {
  cursor: grabbing;
}

.tree-controls span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  background: transparent;
  border-radius: 8px;
  color: #000;
}

.zoom-card {
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  padding: 0px 3px 1px;
  align-items: baseline;
}

.tree-background {
  padding: 15px 10px;
}

.tree-lines {
  padding: 15px 10px;
}

.person-card {
  padding: 15px 10px;
}

.image-border {
  padding: 15px 10px;
}

.name-text {
  padding: 15px 10px;
}

.relation-badge {
  padding: 15px 10px;
}

.dn_1 {
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.dn_1.show {
  max-height: 500px;
  /* enough height */
  opacity: 1;
}