@media (max-width: 1200px) {
  .all-top {
    display: none;
  }

  .nav-center,
  .nav-right {
    display: none;
  }
  #bars {
    cursor: pointer;
    display: block;
  }
  #sidebar {
    width: 25%;
    display: block;
  }
  .all-hero video {
    height: unset;
  }
}

@media (max-width: 1060px) {
  .about-content,
  .payment-content {
    display: grid;
    align-items: center;
    grid-template-areas: "about-right" "about-left";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }
  .about-left,
  .donate-left,
  .payment-left {
    grid-area: about-left;
    width: 100%;
  }
  .about-right,
  .donate-right,
  .payment-right {
    grid-area: about-right;
    width: 100%;
  }
  .about-left img {
    animation: unset;
  }
  .partner-content {
    display: grid;
    grid-template-columns: repeat(1fr);
  }
  .partner-left,
  .partner-right {
    width: 100%;
  }
  .partner-right img {
    animation: unset;
  }
  /* .volunteer-card {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    } */
  .footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  #sidebar {
    width: 35%;
    display: block;
  }
  .partner-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media (max-width: 1000px) {
  .contact-content {
    display: block;
  }
  .contact-left {
    width: 100%;
    margin-bottom: 30px;
  }
  .contact-right {
    width: 100%;
  }
  .register-left {
    display: none;
  }
  .register-right {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-left h1 {
    font-size: 40px;
  }
  /* .hero-content {
        top: 80px;
    } */
  #sidebar {
    width: 35%;
    display: block;
  }
}
@media (max-width: 750px) {
  .hero-left h1 {
    font-size: 40px;
  }
  /* .hero-content {
        top: 50px;
    } */
}

@media (max-width: 700px) {
  /* .volunteer-card {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    } */
  .remove-mobile {
    display: none;
  }
  .testimonial-section {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem;
  }

  .testimonial-image {
    width: 120px;
    height: 120px;
  }

  .testimonial-content {
    margin-top: 1rem;
  }
  .footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .volunteer-items img {
    object-fit: unset;
    height: auto;
  }
  .volunteer-items-1 {
    padding: 70px;
  }
}

@media (max-width: 660px) {
  .hero-left h1 {
    font-size: 30px;
  }
  .hero-left {
    width: 90%;
  }
  #sidebar {
    width: 45%;
    display: block;
  }
  .register-right {
    width: 100%;
    height: 100vh;
    padding: 60px 0;
    background-color: transparent;
  }
  .register-right-content {
    background-color: var(--secondary);
    padding: 40px;
    border-radius: 15px;
  }
  .all-register {
    background-color: #f0f0f0;
  }
}

@media (max-width: 540px) {
  .first-img,
  .first-1-img,
  .first-2-img,
  .first-3-img {
    width: 230px;
  }
  .hero-left h1 span {
    font-size: 30px;
    display: unset;
  }
  /* .hero-content {
        top: 30px;
    } */
  .hero-left {
    width: 100%;
  }
  .all-hero video {
    height: 40vh;
  }
  .partner-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }
}

@media (max-width: 500px) {
  .hero-cta {
    display: block;
  }
  .hero-cta :nth-child(1) {
    margin-bottom: 15px;
  }
  .main-btn-4, .main-btn-1{
    width: 100%;
  }
  .contact-right video {
    width: 100%;
    height: auto;
  }
  .carousel-container {
    height: 350px;
  }
  .first-img,
  .first-1-img,
  .first-2-img,
  .first-3-img {
    width: 210px;
  }
  .payment-right {
    padding: 0;
  }
  .payment-left {
    display: none;
  }
  .payment-right h2 {
    font-size: 30px;
  }
  .register-right-content {
    background-color: var(--secondary);
    padding: 20px;
    border-radius: 15px;
  }
  .nav-left img {
    width: 60px;
  }
  .footer-left p span {
    display: unset;
  }
  .footer-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  #sidebar {
    width: 65%;
    display: block;
  }
  .hero-left p span {
    display: unset;
  }
  .medic-item i {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 13px;
    font-size: 1rem;
    border-radius: 100%;
  }
  .about-right h1,
  .donate-right h1,
  .testimonial-header h1 {
    font-size: 30px;
  }
  .medic-title h5 span {
    font-size: 15px;
    line-height: unset;
  }
  .vtu-items h2 {
    font-size: 30px;
  }
  .foot-date h5 span {
    display: block;
    justify-items: center;
  }
  .foot-date h5 span:nth-child(1) {
    margin-bottom: 5px;
  }
  .hero-left h1 span {
    font-size: 35px;
  }
  .donate-ceo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  .donate-ceo-title h5 {
    color: var(--text);
    font-size: 19px;
  }
  .donate-ceo-title label {
    color: var(--primary);
    font-size: 13px;
    font-weight: bold;
  }
  .image-background {
    padding: 35px 0;
  }
  .image-background-content h2 {
    font-size: 40px;
  }
  .all-text {
    height: 70px;
  }
  .move-text {
    height: 100%;
    gap: 15px;
  }
  .move-text h1 {
    font-size: 20px;
  }
}

@media (max-width: 460px) {
  .first-img,
  .first-1-img,
  .first-2-img,
  .first-3-img {
    width: 200px;
  }
}
@media (max-width: 420px) {
  .first-img,
  .first-1-img,
  .first-2-img,
  .first-3-img {
    width: 180px;
  }
  .all-hero {
    padding: 50px 0;
  }
}

@media (max-width: 400px) {
  /* .hero-content {
        top: 30px;
    } */
  .hero-left {
    width: 95%;
  }
  .all-hero video {
    height: 50vh;
  }
  #sidebar {
    width: 65%;
    display: block;
  }
  .testimonial-header p span {
    display: unset;
  }
}
@media (max-width: 380px) {
  .first-img,
  .first-1-img,
  .first-2-img,
  .first-3-img {
    width: 170px;
  }
}
@media (max-width: 360px) {
  /* .hero-content {
        top: 30px;
    } */
  .all-hero video {
    height: 60vh;
  }
  #sidebar {
    width: 80%;
    display: block;
  }
  .first-img,
  .first-1-img,
  .first-2-img,
  .first-3-img {
    width: 160px;
  }
}
@media (max-width: 340px) {
  .about-left {
    display: none;
  }
}
