:root {
  --primary-blue: #004aad;
  --text-dark: #000000;
  --text-light: #666666;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --light-bg: #f5faff;
  --gradient-bg: linear-gradient(180deg, #e6f2fe 40%, #ffffff 100%);
  --price-bg: #f6f5f8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: var(--text-dark);
  /* font-size: 18px; */
}
li {
  list-style: none;
}
.logo img {
  width: 160px;
  height: 40px;
}

.header {
  padding: 10px 20px;
  background: var(--bg-white);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
}
.nav-links .nav-item {
  color: var(--text-dark);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  margin-inline: 20px;
  font-weight: 500;
}

.nav-links .nav-item:hover {
  color: var(--primary-blue); /* Change to your brand color */
}

.nav-links .nav-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-links .nav-item:hover::after {
  width: 100%;
}
.language-selector {
  position: relative;
}

.language-dropdown {
  position: absolute;
  top: 110%;
  right: -20px;
  background-color: var(--bg-white);
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border: 1px solid #e0e0e0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 1000;
  min-width: 120px;
  animation: fadeIn 0.2s ease-in-out;
}

.language-dropdown li {
  padding: 0;
}

.language-dropdown li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-light);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  border-radius: 0.4rem;
}

.language-dropdown li a:hover {
  background-color: var(--light-bg);
  color: var(--primary-blue);
}

.language-selector:hover .language-dropdown {
  display: block;
}

/* Dropdown arrow styling (optional) */
.dropdown-arrow {
  margin-left: 6px;
  font-size: 0.75em;
  vertical-align: middle;
}

/* Optional: fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-btn {
  background: var(--primary-blue);
  color: var(--text-white);
  padding: 8px 30px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-weight: 500;
}

.divider {
  height: 6px;
  background: linear-gradient(90deg, transparent, #004aad, transparent);
  width: 100%;
  position: fixed;
  top: 80px;
  right: 0;
  left: 0;
  z-index: 8;
}

/* Hero Section */

.hero-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-top: 8rem;
  background: var(--gradient-bg);
}

.hero-text {
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* background-color: red; */
}

.main-heading {
  font-size: 65px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

.blue-text {
  color: var(--primary-blue);
  text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.3);
}

.dark-text {
  color: #333;
}

.subtitle {
  color: var(--text-light);
  font-size: 14px;
}

.demo-btn {
  background-color: var(--primary-blue);
  color: var(--text-white);
  border: none;
  border-radius: 30px;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-align: center;
  width: 360px;
}

.demo-btn:hover {
  background-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(65, 105, 255, 0.4);
}

.diagram-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 15px;
}

.growth-box {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 0px 10px rgba(0, 0, 0, 0.1);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 680px;
  z-index: 5;
}

.tag {
  background: #e2e8f0;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.left-svg {
  width: 530px;
}

.right-svg {
  right: 50px;
  width: 530px;
  transform: scaleX(-1);
}

.avatar-group {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid white;
  position: relative;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.2);
}

.left-avatar1 {
  position: absolute;
  left: 50px;
  top: -130px;
  background-image: url("https://i.pravatar.cc/40?img=1");
  z-index: 20;
}

.left-avatar2 {
  position: absolute;
  left: 10px;
  top: -25px;
  background-image: url("https://i.pravatar.cc/40?img=2");
  z-index: 20;
}

.left-avatar3 {
  position: absolute;
  top: 75px;
  left: 40px;
  background-image: url("https://i.pravatar.cc/40?img=3");
  z-index: 20;
}

.right-avatar1 {
  position: absolute;
  right: 50px;
  top: -130px;
  background-image: url("https://i.pravatar.cc/40?img=4");
}

.right-avatar2 {
  position: absolute;
  right: 10px;
  top: -25px;
  background-image: url("https://i.pravatar.cc/40?img=5");
}

.right-avatar3 {
  position: absolute;
  top: 75px;
  right: 40px;
  background-image: url("https://i.pravatar.cc/40?img=6");
}

/* CRM Design Section */

.heading {
  font-size: 2.5rem;
  font-weight: 500;
  color: #222;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.sub-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 4rem;
  color: #555;
  line-height: 1.6;
}

.feature-card {
  flex: 1;
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: none;
  position: relative;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(95deg, #002bff, #6c46cd);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.rotate-border.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(235deg, #002bff, #6c46cd);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.large-card img {
  width: 330px;
  height: 240px;
}

.card-text {
  width: 100%;
  height: 100px;
  padding-top: 1.5rem;
  background: linear-gradient(#ffffff, #d9e1ff);
  position: absolute;
  bottom: 14px;
  right: 0;
  left: 0;
  z-index: -1;
  padding: 0 20px;
}

.feature-title {
  font-weight: 500;
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.feature-description {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

.feature-image {
  display: block;
  margin: 0 auto 1rem;
  height: 120px;
  object-fit: contain;
}
.small-img {
  width: 100%;
  height: 60%;
  margin-top: 40px;
}
.feature-card-bottom {
  position: relative;
  padding-bottom: 3rem;
}

.feature-card-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to top,
    rgba(240, 242, 255, 0.8),
    rgba(255, 255, 255, 0)
  );
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

/* testimony */

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  flex: 0 0 calc(63.333% - 10px);
  min-width: calc(63.333% - 10px);
  margin: 0 10px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  transform: scale(0.9);
  opacity: 0.7;
}

.testimonial.active {
  background-color: var(--primary-blue);
  color: white;
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.testimonial:not(.active) {
  background-color: #e2e2e2;
  color: #333;
}

.testimonial-card {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
  /* background: linear-gradient(to right, #6d5bff, #7e6bff); */
  color: var(--text-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.testimonial-info {
  flex-grow: 1;
}

.testimonial-name h6 {
  font-size: 17px;
  font-weight: 500;
}

.testimonial-position p {
  font-size: 12px;
  opacity: 0.8;
}

.testimonial-stars {
  display: flex;
  color: var(--white);
  font-size: 25px;
}

.star {
  margin-left: 2px;
}

.testimonial-text p {
  margin-top: 17px;
  font-size: 13px;
  line-height: 1.5;
}

.testimonial-image-container {
  min-width: 220px;
  max-height: 220px;
  background-color: #f0f0f0;
}

.testimonial-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  width: 30px;
  border-radius: 5px;
  background-color: #004aad;
}

/* price section */

.price {
  background-color: var(--price-bg);
}

.price-heding {
  background: var(--text-white);
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  color: #6b7280;
  margin-bottom: 20px;
}

.toggle-container {
  display: flex;
  background: #e5e7eb;
  border-radius: 50px;
  padding: 5px;
  width: 450px;
  margin: 0 auto;
}

.toggle-btn {
  flex: 1;
  padding: 10px 40px;
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50px;
  transition: background 0.3s, color 0.3s;
}

.toggle-btn.active {
  background: var(--primary-blue);
  color: var(--text-white);
}

.pricing-card {
  padding: 30px;
  border-radius: 30px;
  text-align: start;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  background-color: #212529;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pricing-card .btn {
  width: 100%;
  background: var(--primary-blue);
  border: none;
}
.premium {
  background: var(--bg-white);
  color: var(--primary-blue);
  outline: none;
  border: none;
  border-radius: 10px;
  font-weight: 600;
}
.discount {
  background: #d0d9ff;
  padding: 5px 15px;
  border-radius: 10px;
  color: var(--primary-blue);
  margin-top: -2px;
}

.faq-section {
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}
.faq-btn {
  background: var(--primary-blue);
  color: var(--text-white);
  outline: none;
  border: none;
}
.support-text h2 {
  font-size: 30px;
  color: #333;
  font-weight: bold;
}

.support-text p {
  color: #555;
  font-size: 1.1rem;
}

.accordion-item {
  box-shadow: 0 0 5px rgb(218, 215, 215);
  border-radius: 10px;
  margin-block: 20px;
  padding: 1rem;
}

.accordion-container .accordion-item.first-of-type-overwrite {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.accordion-container .accordion-item.last-of-type-overwrite {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.accordion-header {
  background-color: #fff;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 40px;
}

.accordion-header h5 {
  margin: 0;
  font-weight: 500;
  border-radius: 20px;
  font-size: 23px;
}

.accordion-body p {
  font-size: 15px;
}

.accordion-icon {
  font-size: 1.5rem;
  color: #3b82f6;
  font-weight: 300;
}

.accordion-body {
  padding: 0.5rem 1rem;
  display: none;
}

.accordion-body.active {
  display: block;
}

.bg-gradient-purple-blue {
  background: linear-gradient(to right, #8a6ed9, #3858ff);
}

.subscription-form {
  /* background-color: red; */
  padding: 10px;
  border: 1px solid black;
  border-radius: 40px;
}

.subscription-form input {
  background: transparent;
  border: none;
  outline: none;
  border-radius: 40px;
}

.subscription-btn {
  width: 340px;
  background: var(--primary-blue);
  color: var(--text-white);
  outline: none;
  border: none;
  border-radius: 40px;
  padding: 14px 20px;
}

/* .rounded-pill-left {
    border-top-left-radius: 50rem !important;
    border-bottom-left-radius: 50rem !important;
} */

footer {
  margin-top: auto;
}

.footer-link {
  text-decoration: none;
  color: #363636;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 14px;
}

.footer-link:hover {
  color: var(--primary-blue); /* Change to the hover color of your choice */
  transform: translateX(10px); /* Slight lift effect */
}
.footer p{
  font-size: 40px;
}
.hamburger-init {
  width: 40px;
  height: 30px;
  position: absolute;
  top: 15px;
  right: 40px;
  cursor: pointer;
  display: none;
  z-index: 1002;
  transition: transform 0.5s ease-in-out;
}

.hamburger-init.active {
  transform: rotate(360deg);
}

.bar {
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.top-bar {
  top: 0;
}

.middle-bar {
  top: 50%;
  transform: translateY(-50%);
}

.bottom-bar {
  bottom: 0;
}

/* Animate bars into X */
.hamburger-init.active .top-bar {
  transform: translateY(12px) rotate(45deg);
}

.hamburger-init.active .middle-bar {
  opacity: 0;
}

.hamburger-init.active .bottom-bar {
  transform: translateY(-12px) rotate(-45deg);
}
.subscription-text{
  width: 500px;
}

/* Animations */

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hamburger-init.spin {
  animation: spin 1s linear infinite;
}

@media (max-width: 1295px) {
  .divider {
    top: 75px;
}
  .nav-links {
    position: absolute;
    transform: translate(800px);
    flex-direction: column;
    background: var(--bg-white);
    right: 10px;
    top: 70px;
    box-shadow: 0 0 20px var(--text-light);
    border-radius: 20px;
    width: 540px;
    height: 90vh;
    padding: 20px 30px;
    overflow-y: scroll;
    transition: 0.5s ease;
  }
  .nav-links::-webkit-scrollbar {
    display: none;
  }
  .nav-links.show {
    transform: translate(0);
  }
  .nav-item {
    font-size: 20px;
    margin-block: 20px;
  }
  .nav-actions {
    position: absolute;
    right: 30px;
    top: 95px;
    transform: translate(400px);
    transition: 0.85s ease;
  }
  .nav-actions.btnshow {
    transform: translate(0);
  }
  #languageDropdown {
    top: -14rem;
    right: 0;
    width: 70%;
    height: 300px;
    overflow-y: scroll;
  }
  #languageDropdown::-webkit-scrollbar-thumb {
    width: 8px;
  }
  .language-dropdown li a {
    font-size: 20px;
  }
  .language-selector:hover .language-dropdown {
    display: block !important;
  }

  .hamburger-init {
    display: block;
  }
  .left-avatar1 {
    left: 41px;
    top: -112px;
  }
  .left-avatar3 {
    top: 53px;
    left: 40px;
  }
  .right-avatar1 {
    right: 41px;
    top: -112px;
  }
  .right-avatar3 {
    top: 53px;
    right: 40px;
  }
  .crm-section{
    overflow-x: hidden;
    overflow-y: hidden;
  }

}
@media (max-width: 1200px) {
  .testimonial-image-container {
    min-width: 220px;
    max-height: 100%;
    background-color: #f0f0f0;
  }
  .testimonial-header {
    flex-direction: column;
  }
  .m-5 {
    margin: 0rem !important;
}
}
@media (max-width: 1088px) {
  .left-svg {
    display: none;
  }
  .right-svg {
    display: none;
  }
  .avatar-group {
    display: none;
  }
  .growth-box {
    width: 690px;
  }
}

@media (max-width: 992px) {
  .small-img {
    height: 280px;
    margin-bottom: 75px;
  }
  .testimonial {
    flex: 0 0 calc(100% - 10px);
    min-width: calc(100% - 10px);
  }
}
@media (max-width: 765px) {
  .heading {
    font-size: 25px;
}
.sub-heading {
  font-size: 14px;
}
  .main-heading {
    font-size: 45px;
  }
  .demo-btn {
    font-size: 16px;
  }
  .demo-btn {
    width: auto;
  }
  .testimonial-card {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  .testimonial-image-container img {
    width: 100%;
    height: 425px;
  }
  .testimonial-content {
    padding: 24px;
    z-index: 20;
    height: 285px;
  }
  .subscription-form {
    padding: 21px;
    border-radius: 0;
    border: none;
    gap: 22px;
  }
  .subscription-form input {
    border-radius: 18px;
    height: 46px;
    border: 1px solid var(--primary-blue);
    font-size: 14px;
  }
  .subscription-btn {
    width: auto;
  }
  .nav-links {
    right: 0px;
    width: 100%;
  }
  .subscription-text{
    width: auto;
  }
  .toggle-container {
    width: auto;
}
.large-card img {
  width: 100%;
  height: 240px;
}
}
