@font-face {
  font-family: "caros-light";
  src: url(../fonts/caros/Caros-Light.otf) format("truetype");
}
@font-face {
  font-family: "caros-bold";
  src: url(../fonts/caros/Caros-Bold.otf) format("truetype");
}
:root {
  --heading-font: "caros-bold";
  --heading-font-weight: bolder;
  --heading-letter-spacing: -2px;
  --sub-heading-letter-spacing: -1px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  background-image: url("../images/bg/Images.png");
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "caros-light";
}

.digitize-me-hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* border: 3px solid blue; */
}
.digitize-me-hero-container {
  /* border: 3px solid red; */
  width: 97%;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.digitize-me-hero-row1 {
  /* border: 3px solid green; */
  align-items: center;
  margin: 0;
  padding: 0;
  margin-top: 10%;
}
.digitize-me-hero-text {
  padding: 0;
}
.digitize-me-hero-row1 h1 {
  font-size: 3rem;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: 1;
}
.digitize-me-hero-row1 p {
  font-size: 1rem;
  line-height: 1;
  margin-top: 30px;
}
.red-text {
  color: #ff4d4d;
}
.digitize-me-hero-btn {
  /* border: 1px solid blue; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
  border: none;
}
.digitize-me-hero-btn button {
  position: relative;
  height: 45px;
  width: 160px;
  border-radius: 50px;
  border: 1px solid black;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  background: black;
  color: white;
  padding-right: 30px;
  border: none;
}

/* Pseudo-element for the gradient background */
.digitize-me-hero-btn button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(241, 88, 82, 1) 10%,
    rgba(229, 65, 102, 1) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 50px;
  border: none;
}

/* Show the gradient on hover */
.digitize-me-hero-btn button:hover::before {
  opacity: 1;
  border: none !important;
  border: none;
}

.digitize-me-hero-btn button {
  position: relative;
  display: block;
  border: none;
}

.digitize-me-hero-btn button::after {
  content: "\2197";
  position: absolute;
  bottom: 0;
  right: 1;
  color: #ff4d4d;
  margin-left: 10px;
  font-size: 16px;
  transition: transform 0.3s ease-out;
  z-index: 3;
  font-size: 30px;
}
.digitize-me-hero-btn button:hover::after {
  color: white;
}

.digitize-me-hero-row2 {
  /* border: 3px solid yellow; */
  margin: 0;
}

.digitize-me-hero-card {
  /* border: 3px solid purple; */
  padding: 20px 100px 20px 0px;
  border-radius: 10px;
  position: relative;
}
.digitize-me-hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 95%;
  background-color: black;
  z-index: 1;
}
.digitize-me-hero-card h4 {
  font-size: 1.5rem;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--sub-heading-letter-spacing);
  margin-bottom: 20px;
  color: #ff4d4d;
}
.digitize-me-hero-card p {
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 20px;
}

.digitize-me-hero-card-btn {
  display: flex;
  /* justify-content: center; */
  margin-top: 30px;
  position: relative;
  display: inline-block;
}

.digitize-me-hero-card-btn button {
  position: relative;
  height: 45px;
  width: 200px;
  border-radius: 50px;
  border: 1px solid black;
  background: white;
  color: black;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.5s ease, background-color 0.5s ease;
  z-index: 0;
  padding-right: 30px;
}

/* Gradient background layer */
.digitize-me-hero-card-btn button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(241, 88, 82, 1) 10%,
    rgba(229, 65, 102, 1) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
  border-radius: 50px;
}

/* Arrow icon */
.digitize-me-hero-card-btn button::after {
  content: "\2197";
  position: absolute;
  margin-left: 10px;
  top: 0;
  color: #ff4d4d;
  font-size: 30px;
  transition: color 0.5s ease;
  z-index: 2;
  font-weight: lighter;
}

/* Hover effects */
.digitize-me-hero-card-btn button:hover {
  color: white;
  /* border: 1px solid transparent; */
}

.digitize-me-hero-card-btn button:hover::before {
  opacity: 1; /* Smoothly fade in gradient */
}

.digitize-me-hero-card-btn button:hover::after {
  color: white;
}

/* ===================== Laptops (1200px – 1399px) ===================== */
@media (max-width: 1399px) {
  .digitize-me-hero-row1 h1 {
    font-size: 3rem;
  }

  .digitize-me-hero-row1 p {
    font-size: 1rem;
  }

  .digitize-me-hero-card {
    padding: 20px 60px 20px 0;
  }
}

/* ===================== Medium desktops / Large tablets (992px – 1199px) ===================== */
@media (max-width: 1199px) {
  .digitize-me-hero-section {
    height: auto;
    padding: 2rem 0;
  }

  .digitize-me-hero-row1 {
    flex-direction: row;
    text-align: left;
  }

  .digitize-me-hero-row1 h1 {
    font-size: 2.5rem;
  }

  .digitize-me-hero-row1 p {
    font-size: 0.95rem;
  }

  .digitize-me-hero-card {
    padding: 20px 30px 20px 0;
  }
}

/* ===================== Tablets (768px – 991px) ===================== */
@media (max-width: 991px) {
  .digitize-me-hero-section {
    height: auto;
    padding: 2rem 0;
  }

  .digitize-me-hero-row1 {
    flex-direction: column;
    text-align: center;
  }

  .digitize-me-hero-row1 h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .digitize-me-hero-row1 p {
    font-size: 0.9rem;
    margin-top: 20px;
  }

  .digitize-me-hero-btn {
    justify-content: center;
    margin-top: 30px;
  }

  .digitize-me-hero-card {
    text-align: center;
    padding: 20px;
  }

  .digitize-me-hero-card::before {
    width: 100%;
  }
}

/* ===================== Mobiles (576px – 767px) ===================== */
@media (max-width: 767px) {
  .digitize-me-hero-row1 h1 {
    font-size: 1.9rem;
    margin-top: 5%;
  }

  .digitize-me-hero-row1 p {
    font-size: 0.85rem;
  }

  .digitize-me-hero-btn button {
    width: 140px;
    font-size: 0.85rem;
  }

  .digitize-me-hero-row2 {
    flex-direction: column;
    gap: 20px;
  }

  .digitize-me-hero-card {
    padding: 20px;
  }

  .digitize-me-hero-card h4 {
    font-size: 1.3rem;
  }

  .digitize-me-hero-card p {
    font-size: 0.85rem;
  }
}

/* ===================== Extra small phones (<576px) ===================== */
@media (max-width: 575px) {
  .digitize-me-hero-row1 h1 {
    font-size: 1.6rem;
    margin-top: 10%;
  }

  .digitize-me-hero-row1 p {
    font-size: 0.8rem;
  }

  .digitize-me-hero-btn {
    flex-direction: column;
    gap: 12px;
  }

  .digitize-me-hero-btn button {
    width: 100%;
    max-width: 220px;
    font-size: 0.8rem;
  }

  .digitize-me-hero-row2 {
    flex-direction: column;
    align-items: center;
  }

  .digitize-me-hero-card {
    padding: 15px;
    text-align: center;
  }

  .digitize-me-hero-card h4 {
    font-size: 1.2rem;
  }

  .digitize-me-hero-card p {
    font-size: 0.8rem;
  }

  .digitize-me-hero-card-btn button {
    width: 100%;
    max-width: 220px;
    font-size: 0.8rem;
    padding-left: 20px;
    padding-right: 50px;
  }
}

/*=========================================================================
===========================================================================
=========================SECOND SECTION==========================================
*/

.dms-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.dms-wrapper {
  width: 97%;
}
.cards-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-direction: column;
}
.card-row1 {
  width: 90%;
}
.card-row2 {
  width: 80%;
}

/* Adjusted for left alignment */
.section-title {
  font-size: 2.5rem; /* Large font size for main title */
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: 1;
  color: #212529; /* Dark text color */
  margin-bottom: 10px;
  text-align: left; /* Ensure left alignment */
  margin-top: 5%;
}
.section-title span.red-text {
  color: #ff4d4d; /* Red color for 'Customization' */
}

/* Adjusted for left alignment */
.section-subtitle {
  font-size: 1.8rem; /* Size for "It Is Made Easy" */
  font-weight: 600;
  color: #212529;
  margin-bottom: 30px;
  text-align: left; /* Ensure left alignment */
}

/* Adjusted for left alignment */
.section-desc {
  font-size: 1rem;
  color: #495057; /* Grey text */
  line-height: 1;
  max-width: 800px; /* Constrain width as in screenshot */
  margin-bottom: 60px; /* Space before feature blocks */
  text-align: left; /* Ensure left alignment */
}

/* Feature Blocks */
.feature-block {
  text-align: center;
  margin-bottom: 40px; /* Space between feature blocks and counters */
}

.feature-icon-wrapper {
  width: 95px;
  height: 95px;
  border: 2px solid black;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrapper img {
  width: 40px;
  height: 40px;
  color: #495057; /* Grey color for icons */
}

.feature-title {
  font-size: 1rem;
  font-family: "caros-light";
  color: #212529;
  margin-bottom: 50px;
}

.feature-description-small {
  font-size: 0.95rem;
  color: #6c757d; /* Lighter grey for description */
  line-height: 1;
}

/* Counter Blocks */
.counter-block {
  background-color: #f8f8f8; /* Very light grey background */
  border-radius: 0.75rem; /* Slightly more rounded than features */
  padding: 30px 20px; /* Keep existing padding */
  text-align: center; /* Changed to left alignment */
  height: 100%; /* Ensure equal height in a row */
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Removed align-items: center; for left alignment */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03); /* Very subtle shadow */
}

.counter-number-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6c757d; /* Grey color for "/01" etc. */
  margin-bottom: 10px;
}

.counter-value {
  font-size: 3.5rem; /* Slightly larger font size for numbers */
  font-weight: 800; /* Extra bold */
  color: #ff4d4d; /* Red color for numbers */
  line-height: 1;
  margin-bottom: 10px;
}

.counter-label-bottom {
  font-size: 1rem;
  font-weight: 500;
  color: #212529; /* Dark text for labels */
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  /* Tablet and smaller */
  .section-title {
    font-size: 2rem;
    text-align: center; /* Center on smaller screens */
  }
  .section-subtitle {
    font-size: 1.5rem;
    text-align: center; /* Center on smaller screens */
  }
  .section-description {
    margin-bottom: 40px;
    text-align: center; /* Center on smaller screens */
    margin-left: auto; /* Re-add auto margins for centering */
    margin-right: auto;
  }
  .feature-block {
    margin-bottom: 30px;
  }
  .feature-title {
    font-size: 1.3rem;
  }
  .counter-block {
    padding: 25px 15px;
    margin-bottom: 20px; /* Space between stacked counters */
    text-align: left; /* Keep left aligned on tablet as well */
  }
  .counter-value {
    font-size: 2.8rem; /* Adjusted for tablet */
  }
}

@media (max-width: 767.98px) {
  /* Mobile */
  .section-title {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 1.2rem;
  }
  .section-description {
    margin-bottom: 30px;
    max-width: 100%;
  }
  .feature-block {
    margin-bottom: 25px;
  }
  .feature-title {
    font-size: 1.2rem;
  }
  .feature-description-small {
    font-size: 0.9rem;
  }
  .counter-block {
    padding: 20px 10px;
    margin-bottom: 15px;
    text-align: left; /* Keep left aligned on mobile as well */
  }
  .counter-value {
    font-size: 2.2rem; /* Adjusted for mobile */
  }
  .counter-label-bottom {
    font-size: 0.9rem;
  }
}

/*=========================================================================
===========================================================================
=========================THIRD SECTION==========================================
*/ /* ===================== BASE STYLES ===================== */
.plans-section {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 50px 0;
  box-sizing: border-box;
}

.plans-wrapper {
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.plans-row-1 {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.plans-title {
  font-size: 2.5rem;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: 1;
  color: #333;
}

.plans-title .red-text {
  color: #e64a4a;
}

/* ===== Switch Styles ===== */
.switch-container {
  display: flex;
  border: 2px solid #e64a4a;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 500px;
  margin-top: 20px;
}

.switch-option {
  flex: 1;
  padding: 10px 10px;
  cursor: pointer;
  font-size: 16px;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  color: #333;
  transition: color 0.4s ease;
  text-align: center;
  user-select: none;
  z-index: 1;
}

.switch-option.active {
  color: #fff;
}

.switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #ff6b6b 10%, #ff4d4d 100%);
  border-radius: 30px;
  transition: transform 0.4s ease;
  z-index: 0;
}

.switch-container.individuals .switch-slider {
  transform: translateX(0);
}

.switch-container.businesses .switch-slider {
  transform: translateX(100%);
}

/* ===== Plan Cards Layout ===== */
.plans-row-container {
  position: relative;
  width: 100%;
  min-height: 600px;
}

.plans-row-2 {
  /* position: absolute; */
  /* top: 0;
  left: 0; */
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  /* opacity: 0; */
  /* transform: translateY(20px); */
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.plans-row-2.active {
  opacity: 1;
  /* transform: translateY(0); */
  pointer-events: all;
}

.plan-card {
  flex: 1;
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: none;
  /* min-width: 250px; */
}

.plan-property {
  flex: 1;
  background-color: #f3f3f3;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: none;
  /* min-width: 250px; */
}

.plan-property .card-description {
  font-size: 16px;
  font-weight: 500;
  opacity: 1;
}

.plan-property .card-content {
  justify-content: center;
}

.card-content {
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 15px;
}

.plan-type {
  background: black;
  color: white;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.plan-title {
  font-size: 2rem;
  margin: 0;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--sub-heading-letter-spacing);
}

.plan-price {
  font-size: 4rem;
  margin: 10px 0;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--sub-heading-letter-spacing);
}

.plan-users {
  color: #e64a4a;
  /* opacity: 0.5; */
  font-size: 1.5rem;
}

.card-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.card-btns button {
  position: relative;
  width: 160px;
  height: 45px;
  border-radius: 50px;
  border: 1px solid #ff4d4d;
  background: #f3f3f3;
  color: black;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
}

.card-btns button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f15852 10%, #e54166 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 50px;
  z-index: -1;
}

.card-btns button:hover {
  color: white;
}

.card-btns button:hover::before {
  opacity: 1;
}

.try-for-free {
  color: #ff4d4d;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: pointer;
  font-family: var(--heading-font);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--sub-heading-letter-spacing);
}

.card-description {
  width: 70%;
  opacity: 0.5;
  font-size: 0.9rem;
  min-height: 216px;
  /* margin-top: auto; */
}

.card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: #f3f3f3;
  /* height: 150px; */
  padding: 0;
}

.card-footer ul {
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* gap: 8px; */
  /* font-size: 0.9rem; */
  padding-left: 0;
  /* font-family: var(--heading-font); */
  /* font-weight: var(--heading-font-weight); */
  /* letter-spacing: var(--sub-heading-letter-spacing); */
}

.card-footer ul li{
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 4px;
  min-height: 57px;
  display: flex;
  align-items: center;
  font-family: "caros-light";
  font-size: 1rem;
}

.color-red{
  color: #e64a4a;
  opacity: 1;
}

.plan-card .card-footer ul li{
  justify-content: center;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.btn-contactus {
  position: relative;
  width: 140px;
  height: 40px;
  border-radius: 50px;
  border: 1px solid #ff4d4d;
  background: #f3f3f3;
  color: black;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  overflow: hidden;
  z-index: 0;
}

.btn-contactus::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f15852 10%, #e54166 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 50px;
  z-index: -1;
}

.btn-contactus:hover {
  color: white;
}

.btn-contactus:hover::before {
  opacity: 1;
}

@media (max-width: 1350px) {
  .card-footer ul li{
    font-size: 0.9rem;
  }

  .plan-card .card-footer ul li{
    font-size: 0.8rem;
  }
}

@media (min-width: 991px) and (max-width: 1220px) {
  .card-footer ul li{
    min-height: 67px;
  }
}
/* ===================== DESKTOP (992px – 1199px) ===================== */
@media (min-width: 992px) and (max-width: 1199px) {
  .plans-title {
    font-size: 2.2rem;
  }
  .plan-title {
    font-size: 1.8rem;
  }
  .plan-price {
    font-size: 3.5rem;
  }
  .plans-row-container {
    height: 100%;
  }
}

/* ===================== TABLETS (768px – 991px) ===================== */
@media (max-width: 991px) {
  .plans-row-container {
    position: relative;
    min-height: auto;
  }
  .plans-row-2 {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    opacity: 1;
    transform: none;
    transition: none;
    display: none; /* Hide inactive */
  }
  .plans-row-2.active {
    display: flex; /* Show only active */
  }
  .plan-card, .plan-property{
    width: 100%;
    max-width: 450px;
  }
  .plans-title {
    font-size: 2rem;
  }
  .switch-option {
    flex: 1;
    padding: 8px 20px;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--heading-font);
    font-weight: var(--heading-font-weight);
    color: #333;
    transition: color 0.4s ease;
    text-align: center;
    user-select: none;
    z-index: 1;
  }
}

/* ===================== MOBILE (≤767px) ===================== */
@media (max-width: 767px) {
  .plans-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  .switch-container {
    width: 100%;
  }
  .plan-card {
    max-width: 350px;
    padding: 15px;
  }
  .plan-title {
    font-size: 1.5rem;
  }
  .plan-price {
    font-size: 3rem;
  }
  .card-description {
    width: 90%;
    font-size: 0.85rem;
  }
  .card-footer ul {
    font-size: 0.8rem;
  }
}

.d-footer-bottom {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.d-footer-bottom ul {
  gap: 50px;
  text-decoration: none;
  list-style-type: none;
  padding-left: 0;
}
.d-footer-bottom ul li a {
  color: #f15852;
}
