@media (min-width: 319px) and (max-width: 884px) {
  /* =========================== start  general style ============================= */
  html,
  body {
    overflow-x: hidden;
  }
  .container {
    width: 92%;
    margin: auto;
  }
  /* =========================== end  general style ============================= */
  /* =========================== start  navbar style ============================= */

  .navbar {
    width: 94%;
    left: 3%;
  }
  .navbar-logo {
    margin: 0;
  }

  .navbar-links,
  .navbar-button {
    display: none;
  }

  .menu-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  .menu-open {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    z-index: 1002;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.72);
    z-index: 998;
    cursor: pointer;
  }

  .menu-close {
    position: fixed;
    top: 18px;
    right: 16px;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #000;
    background-color: #fff;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    z-index: 1001;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 130vh;
    padding: 68px 18px 20px;
    background-color: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s;
  }

  .navbar-links::before {
    content: "MENU";
    position: absolute;
    top: 20px;
    left: 18px;
    right: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #000;
    color: #000;
    font-size: 25px;
    font-weight: 900;
  }

  .navbar-links .NB-star {
    display: none;
  }

  .navbar-links .nb-link {
    width: 100%;
  }

  .navbar-links .nb-link a {
    display: block;
    padding: 20px 0;
    color: #000;
    font-size: 18px;
    font-weight: 900;
  }
  .nb-link:hover a {
    color: #f97200;
  }
  .navbar-button {
    position: fixed;
    top: 320px;
    right: 14px;
    width: 45%;
    height: 38px;
    display: none;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: #ffd15c;
    color: #000;
    font-size: 14px;
    font-weight: 900;
    z-index: 1000;
    box-shadow: 4px 4px 0 #000;
  }

  .menu-toggle:checked ~ .menu-overlay {
    display: block;
  }

  .menu-toggle:checked ~ .menu-close {
    display: flex;
  }

  .menu-toggle:checked ~ .navbar-links {
    transform: translateX(0);
  }

  .menu-toggle:checked ~ .navbar-button {
    display: flex;
  }

  .menu-toggle:checked ~ .menu-open {
    display: none;
    transition: 0.2;
  }
  /* =========================== end  navbar style ============================= */
  /* =========================== start  hero section  style ============================= */

  .hero-parent {
    display: grid;
    grid-template-columns: 100%;
  }
  .hero-left-h1 {
    font-size: 60px;
  }
  .hero-p {
    width: 100%;
    padding: 10px;
    margin-block: 30px;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    background-color: #ffffff;
    box-shadow: 5px 5px 0 1px black;
    border-radius: 0;
    position: relative;
    z-index: 2;
  }
  .right-hero-image {
    width: 95%;
    margin: 50px auto 0;
    height: 350px;
    position: relative;
  }
  .right-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid black;
    border-radius: 0;
    box-shadow: 5px 5px 0 1px black;
    transition: 0.2s;
    transform: rotate(0deg);
  }
  .right-hero-image:hover img {
    transform: translate(-2px, -2px);
  }
  .right-hero-overlay {
    top: -20px;
    right: -15px;
    padding: 10px 15px;
    background-color: #fb2c36;
    box-shadow: 3px 3px 0 1px black;
    transform: rotate(10deg);
    border-radius: 0;
    color: #ffffff;
  }
  .left-hero-button {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    gap: 4%;
  }
  .dark-btn,
  .white-btn {
    padding: 15px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 21px;
    z-index: 2;
  }
  .white-btn {
    background-color: #ffffff;
    color: black;
  }
  /* =========================== end  hero section  style ============================= */
  /* =========================== start   section ( two )  style ============================= */
  .section-2 {
    margin-bottom: 50px;
  }
  .section2-content {
    display: grid;
    grid-template-columns: 100%;
  }
  .card-parent,
  .content-card-users {
    display: block;
  }
  .section2-p {
    display: none;
  }
  .card {
    padding: 20px;
  }
  .image-card {
    width: 35%;
    margin-bottom: 24px;
    margin-right: 5%;
    border: var(--thin-border);
  }
  .content-card {
    width: 100%;
  }
  .section2-h2 {
    font-size: 42px;
    font-weight: 900;
    line-height: 42px;
  }
  .content-card-p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 26px;
  }
  /* =========================== end   section ( two ) style ============================= */

  /* =========================== start   section ( three ) style ============================= */
  .section-3-heading::after {
    content: "";
    position: absolute;
    top: -40px;
    right: 20px;
    width: 130px;
    height: 130px;
    background-color: rgba(0, 0, 0, 0.1);
    transform: rotate(140deg);
  }
  .line {
    width: 30%;
    height: 8px;
    background-color: black;
    margin: auto;
    transform: rotate(1deg);
  }
  .section3-cards-parent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .child-data {
    width: 100%;
    margin: auto;
    text-align: center;
  }
  /* =========================== end   section ( three ) style ============================= */

  /* =========================== start   section ( four ) style ============================= */
  .section-4-parent {
    display: grid;
    grid-template-columns: 100%;
    justify-content: flex-start;
  }
  .section-4h1 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 48px;
    margin-bottom: 16px;
  }
  .section-4p {
    font-size: 16px;
    font-weight: 600;
    line-height: 25px;
    margin-bottom: 16px;
    color: #525252;
  }
  .line-section4 {
    width: 30%;
    height: 8px;
    background-color: black;
    margin: auto;
    transform: rotate(-1deg);
  }
  .section-4-left-p {
    font-size: 1rem;
  }
  .section-4-left-btn {
    padding: 20px 38px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 24px;
    background-color: black;
    box-shadow: var(--main-box-shadow);
    color: #fff;
    margin-block: 48px;
    transition: 0.2s;
  }
  .section-4-right-data-p {
    font-size: 1rem;
    font-weight: 600;
    line-height: 26px;
  }
  .section-4-right {
    padding: 30px;
    box-shadow: var(--main-box-shadow);
  }
  /* =========================== end   section ( four ) style ============================= */

  /* =========================== start   section ( footer ) style ============================= */
  .footer {
    background-color: black;
    color: #fff;
  }
  .footer-parent-1 {
    display: grid;
    grid-template-areas:
      " area1 "
      " area2 "
      " area3 ";
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 4px solid white;
  }
  .footer-child-1 {
    grid-area: area1;
  }
  .footer-child-2 {
    grid-area: area2;
  }
  .footer-child-3 {
    grid-area: area3;
  }
  .footer-child input {
    width: 99%;
    margin-inline: 0.5%;
    outline: none;
    border: 1px solid white;
  }

  .footer-2-left {
    margin-bottom: 20px;
    width: 100%;
  }
 
  .footer-2-right-data {
    display: block;
    text-align: center;
    width: 100%;
  }
  .footer-2-right-data a{
font-size: 0.75rem;
}
.footer-2-right-data > *:not(:last-child){
  margin-right: 20px;
}
  .footer-parent-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .footer-2-left {
    margin-bottom: 20px;
  }

  
  .footer-2-right-data > *:not(:last-child) {
    margin-right: 20px;
  }
  /* =========================== end   section ( footer ) style ============================= */
}
@media (min-width: 884px) and (max-width: 1200px) {
  .footer-parent-1 {
    display: grid;
    grid-template-areas:
      " area1 area1 area1 area1 "
      " area2 area2 area3 area3";
    gap: 48px;
  }
  .footer-child input {
    width: 99%;
    margin-inline: 0.5%;
    outline: none;
    border: 2px solid white;
  }
  .footer-parent-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .footer-2-left {
    margin-bottom: 20px;
  }

  .footer-2-left {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  .footer-2-right-data > *:not(:last-child) {
    margin-right: 20px;
  }
  .left-hero-button{
    width: 70%;
justify-content: flex-start; }
  .dark-btn,
  .white-btn {
    width: 40%;
    padding: 15px;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.5625rem;
    z-index: 2;
  }
  .white-btn {
    background-color: #ffffff;
    color: black;
  }
}
