/* responsive design for tablet */

@media (max-width: 770px) {
  html {
    font-size: calc(clamp(12px, 1.85vw, 14px) * var(--font-scale));
  }
}

@media (max-width: 1280.98px) {
  .nav-container {
    padding: 16px 40px;
  }

  .nav-links li a {
    font-size: 16px;
  }
}

@media (max-width: 1080px) {
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  /* Navigation */
  .nav {
    border: none;
  }

  .nav-container {
    width: 100%;
    height: 83px;
    display: flex;
    align-items: center;
  }

  .logo-icon {
    width: auto; /* 100px */
  }
}

@media (min-width: 1080px) {
  .mobile-sidebar {
    display: none;
  }
}

@media (max-width: 740px) {
  .contact-btn {
    display: none;
  }
  .nav-allty {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
  }
  .nav-btn {
    gap: 12px;
  }
  .toolbar {
    display: none;
  }
}

@media (min-width: 740px) {
  .allty-sidebar {
    display: none;
  }
}

/* Accessibility sidebar responsive */
@media (max-width: 740px) {
  .allty-sidebar {
    width: 294px;
    height: 323px;
  }

  .allty-sidebar .accessibility-btns {
    gap: 18px;
  }

  .allty-sidebar .txt-style-change-btn {
    gap: 18px;
  }

  .allty-sidebar .btn.yellow,
  .allty-sidebar .btn.cyan,
  .allty-sidebar .btn.orange {
    width: 30px;
    height: 30px;
    padding: 0;
  }

  .allty-sidebar .skip-link {
    gap: 3px;
  }

  .allty-sidebar .skip-link a {
    font-size: 18px;
  }
}

@media (max-width: 700px) {
  .nav-container {
    padding: 15px 24px;
  }
  .logo-icon img {
    max-width: 100%;
    width: 100%;
    height: auto;
    min-width: 101px;
  }
}

@media (max-width: 425px) {
  .nav-container {
    justify-content: space-between;
    gap: clamp(60px, 34vw, 180px);
  }
  .nav-container a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .mobile-sidebar {
    width: 85%;
  }
}

@media (max-width: 324px) {
  .nav-container {
    gap: unset;
  }
}

/*hero section */
@media (max-width: 1280.98px) {
  .wrapper-container {
    padding: 40px 50px;
  }
}

@media (max-width: 1024.98px) {
  .wrapper-container {
    padding: 40px 40px;
    padding-right: clamp(6px, 1.6vw, 16px);
    gap: 1px;
  }
  .right-div {
    flex: unset;
    max-width: 421px;
    width: 100%;
  }
  .text-section {
    display: flex;
    gap: 24px;
  }
  .text-section p {
    font-size: clamp(16px, 2.34vw, 1.286rem);
    width: 389px;
  }
  .text-section h1 {
    font-size: 2.714rem;
  }
  .btn-get-started {
    width: 100%;
    max-width: 173px;
    height: 100%;
    max-height: 54px;
  }
  .btn-our-services {
    max-height: 54px;
    height: 100%;
  }

  .left-div {
    max-width: 422px;
    width: 100%;
  }
  .left-div img {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .wrapper-container {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .right-div,
  .left-div {
    max-width: 100%;
    width: 100%;
    align-items: center;
  }

  .left-div {
    justify-content: center;
  }

  .text-section {
    display: flex;
  }

  .text-section h1 {
    text-align: center;
  }

  .text-section p {
    text-align: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    max-width: 100%;
  }

  .btn-get-started,
  .btn-our-services {
    max-width: 100%;
    width: 82.7%;
  }
}

@media (max-width: 700px) {
  .wrapper-container {
    padding: 38px 24px;
  }
}
@media (max-width: 480px) {
  .text-section h1 {
    font-size: clamp(30px, 9.4vw, 2.833rem);
    line-height: 1.238;
  }
  .text-section p {
    line-height: 2.125;
  }
}

@media (max-width: 376px) {
  .text-section {
    gap: 20px;
  }
}

@media (max-width: 301px) {
  .hero-heading-text {
    white-space: unset;
  }
}

/* section-2 -- our story guiding */
@media (max-width: 1280.98px) {
  .section2-wrapper-container {
    padding: 50px 50px;
  }
}

@media (max-width: 1024.98px) {
  .section2-wrapper-container {
    display: flex;
    flex-direction: column;
  }
  .story-guiding-div,
  .main-text-section {
    width: 100%;
  }
  .story-guiding-img {
    margin-right: 0;
  }
}

@media (max-width: 1024.98px) {
  .section2-wrapper-container {
    padding: clamp(36px, 6.5vw, 3.572rem) clamp(24px, 5.2vw, 2.858rem);
    gap: 32px;
  }
  .story-guiding-div,
  .main-text-section {
    max-width: 687px;
  }
  .story-guiding-div {
    display: flex;
    gap: 32px;
  }
  .main-text-section p {
    font-size: 1.286rem;
  }
  .main-text-section {
    display: flex;
    gap: 12px;
  }
  .main-text-section h2 {
    font-size: 2.286rem;
    line-height: 1.313;
  }
  .info-cards {
    gap: 24px;
  }
  .info-card {
    padding: 1.7145rem 2.5715rem;
  }
  .info-content h3 {
    font-size: 1.714rem;
  }
  .info-content p {
    font-size: 1.286rem;
  }
}

@media (max-width: 640px) {
  .main-text-section {
    text-align: center;
  }
  .main-text-section h2 {
    text-align: center;
  }
  .info-card,
  .info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .info-content p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .main-text-section h2 {
    font-size: 2.5rem;
  }
  .info-card {
    padding: 8px 12px;
  }
  .main-text-section p {
    font-size: 1.334rem;
  }
  .info-content p {
    font-size: 1.334rem;
  }
  .story-guiding-img img {
    max-width: 322px;
    width: 100%;
    height: auto;
  }
}

/*section-3 why choose us */
@media (max-width: 1280.98px) {
  .section3-wrapper-container {
    padding: 50px 50px;
  }
}
@media (max-width: 1024.98px) {
  .why-choose-us-cards {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    max-width: 593px;
  }
  .background-vector-img {
    width: 100%;
    top: -20px;
    transform: rotate(-10deg);
  }
  .section3-wrapper-container {
    gap: 32px;
  }
  .why-choose-us-txt {
    gap: 12px;
  }
  .why-choose-us-txt h2 {
    font-size: 2.286rem;
    line-height: 1.313;
  }
  .why-choose-us-txt p {
    font-size: 1.286rem;
  }
  .card-txt {
    gap: 18px;
  }
  .card-txt h3 {
    font-size: 1.429rem;
  }
  .card-txt p {
    font-size: 1.286rem;
  }
  .why-choose-us-card {
    padding: 24px 32px;
  }
}

@media (max-width: 640px) {
  .section3-wrapper-container {
    padding: 36px 24px;
  }
  .background-vector-img {
    display: none;
    pointer-events: none;
  }
  .why-choose-us-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card-txt {
    align-items: center;
    text-align: center;
  }
  .card-txt p {
    text-align: center;
  }
}

@media (max-width: 430px) {
  .section3-wrapper-container {
    gap: 22px;
  }
  .why-choose-us-card {
    padding: 24px 18px;
  }
  .card-txt {
    gap: 12px;
  }
  .card-txt h3 {
    font-size: 1.667rem;
  }
  .card-txt p {
    font-size: 1.334rem;
    line-height: 2.125;
  }
}

/* section-4 our service */
@media (max-width: 1280.98px) {
  .our-srvices-wrapper-container {
    padding: 50px;
  }
}

@media (max-width: 1024.98px) {
  .our-approach-container {
    margin-top: -440px;
    padding-top: 370px;
    padding-bottom: 0;
  }
  .our-srvices-wrapper-container {
    padding: 50px 40px;
  }
  .our-srvices-txt {
    gap: 12px;
  }
  .our-srvices-txt h2 {
    font-size: 2.286rem;
    line-height: 1.313;
  }
  .our-srvices-txt p {
    font-size: 1.286rem;
  }
  .our-services-card {
    display: flex;
    justify-content: space-between;
    padding: 18px 30px;
  }
  .services-card-txt h3 {
    font-size: 1.714rem;
  }
  .services-card-txt p {
    font-size: 1.286rem;
  }
}

@media (max-width: 640px) {
  .our-srvices-wrapper-container {
    gap: 24px;
    padding: 36px 24px;
  }
  .our-services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .services-card-txt {
    text-align: center;
  }
  .services-card-txt p {
    text-align: center;
  }
}

@media (max-width: 426px) {
  .our-approach-container {
    margin-top: -300px;
    padding-top: 250px;
    padding-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .our-services-cards {
    row-gap: 18px;
    column-gap: 0;
  }
  .our-services-card {
    gap: 12px;
    padding: 24px 18px;
  }
  .services-card-txt {
    gap: 12px;
  }
  .services-card-txt h3 {
    line-height: 1.46;
  }
  .services-card-txt p {
    font-size: 1.334rem;
  }
}

/* section-5 our approach */
@media (max-width: 1024.98px) {
  .circles-div {
    display: none;
  }
  .approach-content-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .our-approach-cards {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    align-items: start;
    max-width: 100%;
    gap: 24px 20px;
  }
  .our-approach-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .approach-card-txt {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .approach-card-txt h3 {
    text-align: center;
  }
  .approach-card-txt p {
    text-align: center;
  }
  .approach-content-img {
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .approach-content-img img {
    display: block;
    max-width: 334px;
    height: 201px;
  }
}

@media (max-width: 1024.98px) {
  .our-approach-wrapper-container {
    padding: 50px 40px;
    gap: clamp(12px, 4.16vw, 32px);
  }
  .our-approach-txt h2 {
    font-size: 2.286rem;
    font-weight: 600;
    line-height: 1.313;
  }
  .our-approach-txt p {
    font-size: 1.286rem;
  }
  .approach-card-txt h3 {
    font-size: 1.714rem;
  }
  .approach-card-txt p {
    font-size: 1.286rem;
  }
  .our-approach-card {
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .our-approach-cards {
    display: flex;
    flex-direction: column; /* Force vertical stacking */
    align-items: center; /* Center cards horizontally */
  }

  .our-approach-cards > div {
    width: 100%; /* Make cards take full width of container */
    max-width: 100%; /* Safety to prevent overflow */
  }
  .approach-content-img {
    display: flex;
    flex-direction: column; /* Force vertical stacking */
    align-items: center; /* Center cards horizontally */
  }
  .approach-content-img img {
    /* Make cards take full width of container */
    max-width: 100%; /* Safety to prevent overflow */
  }
  .circles-div {
    display: flex;
  }
}

@media (max-width: 480px) {
  .our-approach-wrapper-container {
    padding: 36px 24px;
  }
  .our-approach-cards {
    gap: 18px;
  }
  .approach-card-txt p {
    font-size: 1.334rem;
  }
  .approach-content-img {
    gap: 18px;
  }
  .circle {
    width: 8px;
    height: 8px;
  }
}

/*scallop div*/
@media (max-width: 1024.98px) {
  .scallop-divider {
    display: none;
    pointer-events: none;
  }
}

/* testimonial section-6*/
@media (max-width: 1280.98px) {
  .testimonial-wrapper-container {
    padding: 50px;
  }
}

@media (max-width: 1024.98px) {
  .testimonial-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 20px;
  }
  .stars {
    margin-bottom: 17px;
  }
  .testimonial-card {
    grid-column: span 2;
    padding: 12px;
    padding-top: 80px;
  }

  .testimonial-card:nth-child(3) {
    margin-top: 40px;
    grid-column: 2 / span 2;
  }
  .testimonial-reviewer-img {
    top: -40px;
    width: 100%;
    max-width: 100px;
    height: auto;
  }
  .rating-text {
    font-size: 1.286rem;
  }
  .testimonial-text,
  .reviewer-role {
    font-size: 1.286rem;
  }
  .reviewer-name {
    font-size: 1.429rem;
  }
  .testimonial-text {
    text-transform: capitalize;
    padding: 0 6px;
    padding-bottom: 8px;
  }
}

@media (max-width: 1024.98px) {
  .testimonial-wrapper-container {
    padding: 50px 40px;
  }
  .testimonial-header-txt h2 {
    font-size: 2.286rem;
    font-weight: 600;
  }
  .testimonial-header-txt p {
    font-size: 1.286rem;
  }
  .divider {
    margin-bottom: 18px;
  }
  .reviewer-name {
    line-height: normal;
  }
}

@media (max-width: 767px) {
  .testimonial-cards {
    display: flex;
    flex-direction: column;
  }
  .testimonial-card {
    padding-top: 70px;
  }
  .testimonial-card:nth-child(2) {
    margin-top: 40px;
  }
  .stars {
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .testimonial-wrapper-container {
    padding: 36px 24px;
  }
}

@media (max-width: 480px) {
  .testimonial-text {
    padding: 0 14px;
    font-size: 1.5rem;
    line-height: 32px;
  }
  .testimonial-card {
    padding: 0;
    padding-bottom: 12px;
    padding-top: 70px;
  }
  .reviewer-name {
    font-size: 20px;
  }
  .reviewer-role {
    font-size: 18px;
  }
  .divider {
    margin-top: 18px;
  }
}
/* section-7 cta section */
@media (max-width: 1024.98px) {
  .cta-section {
    padding: 0 40px;
  }
  .cta-section-wrapper {
    width: 100%;
  }
  .cta-content {
    max-width: 541px;
    gap: 32px;
  }
  .cta-content h2 {
    font-size: 2.286rem;
    font-weight: 600;
  }
  .cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
  .btn-primary,
  .btn-secondary {
    width: 242.5px;
    height: 54px;
  }
}

@media (max-width: 430px) {
  .cta-section-wrapper {
    padding: 24px 20px;
  }
  .cta-circle {
    display: none;
  }
  .cta-actions {
    gap: 12px;
  }
  .cta-content h2 {
    font-size: 30px;
  }
}

@media (max-width: 640px) {
  .cta-section {
    padding: 0 24px;
  }
  .cta-actions {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .btn-primary,
  .btn-secondary {
    margin: 0 auto;
    width: 95%;
    height: auto;
    white-space: unset;
  }
}
/* footer section */
@media (max-width: 1024.98px) {
  .footer-wrapper {
    padding: 50px 40px;
    padding-bottom: 0;
    gap: 32px;
  }

  .footer-top {
    width: 100%;
    gap: 42px;
  }
}

@media (max-width: 1024.98px) {
  .footer-top {
    display: flex;
    flex-direction: column;
  }
  .info p {
    font-size: 1.286rem;
  }
}

@media (max-width: 1024.98px) {
  .info p {
    font-size: 1.286rem;
  }
  .footer-col h3 {
    font-size: 1.715rem;
  }
  .footer-col ul li {
    font-size: 1.286rem;
  }
  .footer-col ul {
    gap: 12px;
  }
  .socials a img {
    display: block;
    max-width: 39px;
    width: 100%;
    height: auto;
  }

  .footer-disclaimer {
    width: 100%;
  }
  .footer-disclaimer h3 {
    font-size: 1.714rem;
  }
}

@media (max-width: 600px) {
  .footer-wrapper {
    padding: 36px 24px;
    padding-bottom: 0;
  }
  .footer-col h3 {
    font-size: 1.834rem;
  }
  .footer-col ul {
    gap: 12px;
  }
  .footer-col ul li {
    font-size: 1.334rem;
  }
  .footer-top {
    gap: 32px;
  }
  .others-info {
    gap: 32px;
  }
}
/*bottom footer section*/
@media (max-width: 924px) {
  .footer-bottom-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 14px 142px;
    gap: 4px;
  }
  .footer-bottom-wrapper p {
    font-size: 1.286rem;
  }
  .footer-divider {
    margin-top: 32px;
  }
}
@media (max-width: 640px) {
  .others-info {
    display: flex;
    flex-direction: column;
  }
  .footer-bottom-wrapper {
    padding: 10px 57px;
  }
}
