


/* ------------HERO----------- -- */

  .hap-hero {
    background: linear-gradient(135deg, var(--dark-blue), var(--blue-color));
    color: var(--white-color);
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    position: relative;
    overflow: hidden;
  }
    .hap-hero .hap-orb {
      position: absolute; inset: auto -60px -60px auto; width: 320px; height: 320px;
      background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), rgba(255,255,255,0));
      filter: blur(2px);
      border-radius: 50%;
      animation: hap-float 6s ease-in-out infinite;
      pointer-events: none;
    }
    @keyframes hap-float { 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-10px)} }
  .hap-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--light-color);
    color: #000;
    padding: .1rem .9rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    font-weight: 500;
    font-family: var(--bodyFonts);
    box-shadow: var(--ring);
  }

  .hap-hero-cta .btn {
    border-radius: 14px;
    padding: .9rem 1.2rem;
    font-weight: 600;
  }

  .hap-hero-cta .btn-primary {
    background: var(--white-color);
    color: var(--dark-blue);
    border-color: #0f1e7a;
  }

  .hap-hero-cta .btn-outline-light {
    border-width: 2px;
  }

  /* PROFILE */
  .hap-card {
    background: #fff;
    border: 0;
    border-radius: 20px;
    ;
  }

  .hap-card .hap-card-title {
    font-weight: 700;
    color: var(--dark-blue);
  }


  .hap-ps-card {
    border-radius: 18px;
    background: var(--light-color);
    padding: 1.25rem;
    height: 100%;
    border: 1px solid #c7cff7ff;
  }

  .hap-ps-card h6 {
    font-weight: 700;
    color: var(--black-color);
  }

  .hap-tag {
    display: inline-block;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: var(--sky-blue);
    color: #2a2f55;
    font-size: .8rem;
    font-weight: 600;
  }

  .hap-ps-card {
    font-weight: 600;
  }


  /* ------------HERO end----------- -- */


  /* -------------------Accountant Profile Section--------------*/
  .accountant-profile-section {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
  }

  .accountant-profile-section::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px;
    height: 180px;
    background: var(--sky-blue);
    opacity: 0.2;
    border-radius: 50%;
  }

  .accountant-profile-section::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: var(--orange-color);
    opacity: 0.15;
    border-radius: 50%;
  }

  .aps-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-blue);
    position: relative;
    display: block;
    text-align: center;
    max-width: 100%;
  }

  .aps-title::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--orange-color);
    border-radius: 2px;
  }

  .aps-subtitle,
  .subtitle {
    font-size: 1rem;
    color: var(--blue-color);
  }

  .aps-card {
    background: var(--white-color);
    border: 1px solid var(--sky-blue);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }

  .aps-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }

  .aps-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--blue-color);
    border-left: 4px solid var(--orange-color);
    padding-left: 10px;
  }

  .aps-list {
    padding-left: 1.2rem;
    margin: 0;
    list-style: none;
  }

  .aps-list li {
    margin-bottom: 10px;
    color: var(--black-color);
    font-size: 0.95rem;
    position: relative;
    padding-left: 22px;
  }

  .aps-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--orange-color);
    font-weight: bold;
  }

    /* -------------------Accountant Profile Section end--------------*/

    
  /* ----------Scoped only for this section ---------------*/
  .hap-solutions {
    background: var(--light-color);
    position: relative;
    overflow: hidden;
  }

  .hap-solutions .hap-section-title {
    font-weight: 700;
    color: var(--dark-blue);
  }

  .hap-solutions .hap-subtitle {
    color: var(--blue-color);
    font-size: 1.1rem;
  }

  .hap-hex-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2rem;
    justify-items: center;
  }

  .hap-hex {
    width: 230px;
    aspect-ratio: 1 / 1.15;
    background: var(--white-color);
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
  }

  .hap-hex:hover {
    background: var(--blue-color);
    transform: translateY(-8px);
    color: var(--white-color);
  }

  .hap-hex-inner {
    text-align: center;
  }

  .hap-hexx {
    background-color: var(--blue-color) !important;
  }

  .hap-hexx p,
  .hap-hexx h6 {
    color: white !important;
  }

  .hap-hex h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    transition: 0.3s;
  }

  .hap-hex:hover h6,
  .hap-hex:hover p {
    color: var(--white-color);
  }

  .hap-hex p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--black-color);
  }

  .hap-hex span {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange-color);
  }

  .hap-hex:hover span {
    color: var(--sky-blue);
  }
  /* ----------Scoped only for this section end---------------*/

  
  /*-------------hours plans pricing------------  */
  .hap-plan-box {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    background: var(--light-color);
    transition: transform .3s ease, box-shadow .3s ease;
  }

  .hap-plan-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  }

  /* Featured (Middle Plan) */
  .hap-featured {
    border: 2px solid var(--orangeColor);
    position: relative;
    transform: scale(1.05);
    z-index: 1;
  }

  .hap-featured:hover {
    transform: scale(1.08);
  }

  /* Header */
  .hap-plan-header {
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .hap-plan-header h5 {
    margin: 0;
    font-weight: 700;
  }

  .hap-pill {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: .5rem;
    background: var(--orange-color);
    color: #fff;
  }

  /* List */
  .hap-plan-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
  }

  .hap-plan-list li {
    margin: .5rem 0;
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
  }

  .hap-plan-list li::before {
    content: "✔";
    color: var(--dark-blue);
    font-weight: bold;
    position: absolute;
    left: 0;
  }

  .hap-pricing .btn {
    background-color: var(--orange-color);
    color: var(--white-color);
    border: none;
  }

  /*-------------hours plans pricing end------------  */

  
  /*-------- platform we use softwares--------------- */
  .hap-platforms {
    background-color: var(--light-color);
  }

  .hap-section-title {
    font-weight: 700;
    color: var(--dark-blue);
  }

  .hap-subtitle {
    color: #4e4e4e;
    font-size: 16px;
  }

  .hap-tool-card {
    background: #fff;
    border: 1px solid #e2e6f5;
    border-radius: 16px;
    padding: 15px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .hap-tool-card i {
    font-size: 28px;
    color: #3F51B5;
    margin-bottom: 10px;
  }

  .hap-tool-card span {
    font-weight: 500;
    color: #00042e;
    font-size: 15px;
  }

  .hap-tool-card:hover {
    transform: translateY(-6px);
    border-color: #3F51B5;
    box-shadow: 0 6px 15px rgba(63, 81, 181, 0.15);
  }
  /*-------- platform we use softwares end--------------- */

  /*--------- infographic our Optimized Procedure---------------- */
  .infographic-timeline {
    position: relative;
    background: var(--light-color);
    padding: 70px 0;
    overflow-x: auto;
  }

  .timeline-horizontal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    gap: 80px;
    padding: 60px 0;
    min-width: 900px;
  }

  .timeline-horizontal::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #3F51B5, #5e75f5);
    box-shadow: 0 0 15px rgba(63, 81, 181, 0.4);
    transform: translateY(-50%);
    z-index: 0;
  }

  .timeline-item {
    position: relative;
    flex: 0 0 auto;
    width: 150px;
  }

  .timeline-item.up {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 40px;
  }

  .timeline-item.down {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
  }

  .timeline-item .circle {
    width: 55px;
    height: 55px;
    background: #3F51B5;
    color: #fff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(63, 81, 181, 0.4);
    animation: pulse 2s infinite;
    z-index: 2;
  }

  .timeline-item .content {
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: inline-block;
    max-width: 200px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .timeline-item .content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(63, 81, 181, 0.2);
  }

  .timeline-item h5 {
    margin-bottom: 6px;
    font-weight: 600;
    color: #0f1e7a;
  }

  .timeline-item p {
    margin: 0;
    color: #4e4e4e;
    font-size: 15px;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(63, 81, 181, 0.5);
    }

    70% {
      box-shadow: 0 0 0 15px rgba(63, 81, 181, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(63, 81, 181, 0);
    }
  }

  @media (max-width: 768px) {
    .timeline-horizontal {
      flex-direction: column;
      min-width: auto;
      gap: 40px;
    }

    .timeline-horizontal::before {
      width: 6px;
      height: 100%;
      left: 8px;
      top: 0;
      transform: none;
    }

    .timeline-item {
      margin-top: 0 !important;
      margin-bottom: 0 !important;
      width: 100%;
    }

    .timeline-item.up,
    .timeline-item.down {
      flex-direction: row;
      align-items: center;
      text-align: left;
    }

    .timeline-item .content {
      max-width: calc(100% - 70px);
    }
  }

  /*--------- infographic our Optimized Procedure end---------------- */


  /* --------------SECURITY & COMPLIANCE------------- */
  .hap-security {
    background: var(--dark-blue);
    color: #cfd6ff;
    border-radius: 26px;
  }

  .hap-security h3,
  .hap-security h5 {
    color: #fff;
    font-weight: 700;
  }

  .hap-feature-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 16px;
    transition: 0.3s ease;
    text-align: left;
  }

  .hap-feature-box:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
  }

  .hap-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #3F51B5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 10px;
    font-size: 20px;
  }

  .hap-process {
    background: #fff;
    color: #333;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .hap-step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3F51B5;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 14px;
  }

  .hap-muted {
    color: #6c757d;
    font-size: 15px;
  }
 /* --------------SECURITY & COMPLIANCE END------------- */

/* --------------3 profile junior,  senior,  experienced------------- */
.bookkeeping-section {

  padding: 60px 0;
}

.bookkeeping-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.bookkeeping-title {
  font-size: 2.2rem;
  color: var(--dark-blue);
  font-weight: bold;
  text-align: center;
  margin-bottom: 10px;
}

.bookkeeping-subtitle {
  font-size: 1.2rem;
  color: var(--blue-color);
  text-align: center;
  margin-bottom: 40px;
}

/* Scrollable Wrapper */
.bookkeeping-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bookkeeping-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px; /* ensures scrolling if too small */
}

.bookkeeping-table th,
.bookkeeping-table td {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  vertical-align: top;
  font-size: 0.95rem;
  white-space: nowrap; /* keeps content in one line when possible */
}

/* Header Styles */
.bookkeeping-table th {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--white-color);
}
.bookkeeping-table th span {
  display: block;
  font-weight: normal;
  font-size: 0.85rem;
  margin-top: 5px;
}

.bookkeeping-table th:first-child {
  background: var(--dark-blue);
}

.junior { background-color: #3f8efc; }
.senior { background-color: var(--orange-color); }
.experienced { background-color: #0ebc40; }

.bookkeeping-table td:nth-child(2) { background-color: #f0f8ff; } /* light blue */
.bookkeeping-table td:nth-child(3) { background-color: #fff7e6; } /* light orange */
.bookkeeping-table td:nth-child(4) { background-color: #f0fff5; } /* light green */

.bookkeeping-table tr:nth-child(even) td:nth-child(2) { background-color: #e7f3ff; }
.bookkeeping-table tr:nth-child(even) td:nth-child(3) { background-color: #ffefd6; }
.bookkeeping-table tr:nth-child(even) td:nth-child(4) { background-color: #e4fce9; }


.bookkeeping-table td:first-child {
  font-weight: bold;
  background-color: var(--dark-blue);
  color: var(--white-color);
}

.bk-btn {
  background-color: var(--orange-color);
  color: var(--white-color);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
}
.bk-btn:hover {
  background-color: var(--blue-color);
}

/* --------------3 profile junior,  senior,  experienced end------------ */

/* ---------- last cta section ----------- */
  .service-section-modern {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-color), var(--sky-blue));
  }

  .service-section-modern .service-box {
    background: var(--white-color);
    border-radius: 16px;
    padding: 50px 40px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
  }

 .service-section-modern  .service-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--blue-color);
    font-weight: 700;
  }

.service-section-modern   .service-box p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.7;
    color: var(--dark-blue);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

.service-section-modern   .service-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  .service-section-modern .service-btn {
    background: var(--orange-color);
    color: var(--white-color);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
    min-width: 180px;
  }

 .service-section-modern .service-btn:hover {
    background: var(--blue-color);
    transform: translateY(-3px);
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15);
  }

  .service-section-modern .service-btn.secondary {
    background: var(--light-color);
    color: var(--blue-color);
    border: 2px solid var(--blue-color);
  }

  .service-section-modern .service-btn.secondary:hover {
    background: var(--blue-color);
    color: var(--white-color);
  }
  /* ---------- last cta section end----------- */
  
  
/*--------- hero-form------------*/
.trial-section {
background: #0a2a66;
display: flex;
justify-content: center;
align-items: center;
padding: 15px 20px;
border-radius: 20px;
}

.trial-section .free-trial-form {
background: #ffffff;
border-radius: 20px;
padding: 40px 30px;
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
text-align: center;
position: relative;
overflow: hidden;
max-width: 420px;
width: 100%;
}

.trial-section .free-trial-form::before {
content: "";
position: absolute;
width: 200%;
height: 200%;
top: -50%;
left: -50%;
background: linear-gradient(135deg, #3F51B5, #5e75f5);
z-index: 0;
transform: rotate(25deg);
opacity: 0.08;
}

.trial-section .free-trial-form h3 {
font-weight: 700;
font-size: 1.6rem;
color: #00042e;
margin-bottom: 20px;
position: relative;
z-index: 1;
}

.trial-section .free-trial-form .form-control {
border-radius: 12px;
padding: 12px 15px;
margin-bottom: 15px;
border: 1px solid #ddd;
font-size: 15px;
transition: all 0.3s ease;
position: relative;
z-index: 1;
}

.trial-section .free-trial-form .form-control:focus {
border-color: #3F51B5;
box-shadow: 0 0 10px rgba(63, 81, 181, 0.3);
}

.trial-section .free-trial-form .btn-submit {
background: linear-gradient(90deg, #3F51B5, #5e75f5);
border: none;
padding: 14px;
border-radius: 12px;
font-weight: 600;
color: #fff;
width: 100%;
font-size: 16px;
box-shadow: 0 6px 15px rgba(63, 81, 181, 0.4);
transition: all 0.4s ease;
position: relative;
z-index: 1;
}

.trial-section .free-trial-form .btn-submit:hover {
background: linear-gradient(90deg, #5e75f5, #3F51B5);
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(63, 81, 181, 0.6);
}

.hap-hero .trial-section {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.hap-hero .trial-section .free-trial-form {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .hap-hero .trial-section .free-trial-form {
    padding: 28px 22px;
  }
}

/*---------hero-form------------*/