@media screen and (max-width: 1200px) {
  .logo {
    width: 18%;
  }

  .nav ul li {
    font-size: 1.1rem;
  }

  .card {
    margin: 0 4rem;
  }

  .card-head {
    font-size: 1.3rem;
    margin-top: 1rem;
  }
}

@media screen and (max-width: 1000px) {
  .logo {
    width: 22%;
  }

  .nav ul li {
    font-size: 1rem;
  }

  .main-heading {
    font-size: 4.6rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-btn {
    font-size: 1rem;
  }

  .card {
    margin: 0 3rem;
  }

  .card-head {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .card-date {
    font-size: 0.9rem;
  }

  .card-link {
    font-size: 0.9rem;
  }

  .footer-box {
    margin: 0 2rem;
  }

  .logo-2 {
    width: 20%;
  }

  .social-icon {
    font-size: 2rem;
    margin-right: 2rem;
  }
}

@media screen and (max-width: 890px) {
  .logo {
    width: 24%;
  }

  .nav__section {
    margin: 0.5rem 2.5rem;
  }

  .nav ul li {
    font-size: 1rem;
  }

  .hero__section {
    margin-top: 7rem;
  }

  .main-heading {
    font-size: 4.2rem;
    line-height: 4.6rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-btn {
    font-size: 1rem;
  }

  .card {
    margin: 0 1.5rem;
  }

  .card-head {
    font-size: 1.2rem;
    margin-top: 1rem;
  }

  .collection__section {
    margin-top: 8rem;
    padding-bottom: 15rem;
  }

  .coll-heading {
    font-size: 3rem;
    margin-bottom: 6rem;
  }

  .card-date {
    font-size: 0.9rem;
  }

  .card-link {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 780px) {
  .logo {
    width: 26%;
  }

  .nav__section {
    margin: 0.5rem 1.5rem;
  }

  .main-heading {
    font-size: 3.8rem;
    line-height: 4.6rem;
  }

  .hero-description {
    font-size: 2rem;
    line-height: 1.2rem;
  }

  .hero-btn {
    font-size: 0.8rem;
  }

  .hero-btn {
    padding: 0.6rem 2.2rem;
  }

  .collection__section {
    margin-top: 6rem;
    padding-bottom: 12rem;
  }

  .coll-heading {
    font-size: 2.5rem;
    margin-bottom: 6rem;
  }

  .main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .card {
    margin: 0 4rem;
  }

 
}

@media screen and (max-width: 650px) {
  .nav__section {
    display: block;
  }

  .logo {
    width: 26%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .nav__section {
    margin: 0.5rem 1.5rem;
  }

  .nav ul {
    justify-content: center;
  }

  .main-heading {
    font-size: 3.2rem;
    line-height: 4rem;
  }

  .hero-description {
    font-size: 1.5rem;
    line-height: 1.3rem;
  }

  .hero-btn {
    font-size: 0.75rem;
  }

  .hero-btn {
    padding: 0.6rem 2.2rem;
  }

  .main-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 4rem;
  }

  .collection__section {
    margin-top: 5rem;
    padding-bottom: 10rem;
  }

  .coll-heading {
    font-size: 2.4rem;
    margin-bottom: 5.5rem;
  }

  .card {
    margin: 0 2rem;
  }
  
  .footer-box {
    margin: 0 1rem;
  }

  .logo-2 {
    width: 30%;
  }

  .social-icon {
    font-size: 1.6rem;
    margin-right: 1.5rem;
  }

 
}

@media screen and (max-width: 600px) {
  .logo {
    width: 30%;
  }

  .nav__section {
    margin: 0.5rem 1.8rem;
  }

  .nav ul li {
    font-size: 0.8rem;
  }

  .main-heading {
    font-size: 2.8rem;
    line-height: 3.5rem;
  }

  .hero-description {
    font-size: 0.8rem;
    line-height: 1.3rem;
  }

  .hero-btn {
    font-size: 0.8rem;
  }

  .hero-btn {
    padding: 0.55rem 2rem;
  }

  .main-card {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .card {
    margin: 0 5rem;
  }

  .card-head {
    font-size: 1.8rem;
    margin-top: 1.6rem;
  }

  .card-date {
    margin-top: 0.5rem;
    font-size: 1rem;
  }

  .card-link {
    font-size: 1rem;
  }

  .footer-box {
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    margin: 0 1rem;
  }

  .logo-2 {
    width: 35%;
  }

  .social-icon {
    font-size: 1.6rem;
    margin-right: 1.5rem;
  }

  .copyright {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 490px) {
  .logo {
    width: 36%;
  }

  .nav__section {
    margin: 0.5rem 1.5rem;
  }

  .nav ul li {
    font-size: 0.9rem;
    margin-right: 3rem;
  }

  .hero__section {
    margin-top: 7rem;
  }

  .main-heading {
    font-size: 2.3rem;
    line-height: 3rem;
    margin-bottom: 2rem;
  }

  .hero-description {
    font-size: 0.7rem;
    line-height: 1.2rem;
  }

  .hero-btn {
    font-size: 0.7rem;
  }

  .hero-btn {
    padding: 0.55rem 2rem;
  }

  .main-card {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 4rem;
  }

  .collection__section {
    margin-top: 5rem;
    padding-bottom: 10rem;
  }

  .coll-heading {
    font-size: 2.2rem;
    margin-bottom: 5.5rem;
  }

  .card {
    margin: 0 4rem;
  }

  .card-head {
    font-size: 1.5rem;
    margin-top: 1.6rem;
  }

  .card-date {
    margin-top: 0.4rem;
    font-size: 0.95rem;
  }

  .card-link {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 420px) {
  .card {
    margin: 0 3rem;
  }

  .hero-description {
    font-size: 0.65rem;
  }

  .card-head {
    font-size: 1.4rem;
    margin-top: 1.6rem;
  }

  .card-date {
    margin-top: 0.4rem;
    font-size: 0.9rem;
  }

  .card-link {
    font-size: 0.9rem;
  }

  .footer-box {
    margin: 0 1rem;
  }

  .logo-2 {
    width: 50%;
  }

  .social {
    align-items: center;
    margin-left: 1rem;
  }

  .social-icon {
    font-size: 1.6rem;
    margin-right: 1.5rem;
  }

  .copyright {
    font-size: 0.6rem;
  }
}

@media screen and (max-width: 370px) {
  .logo {
    width: 45%;
  }

  .nav__section {
    margin: 0.5rem 1.2rem;
  }

  .nav ul li {
    font-size: 0.9rem;
    margin-right: 2.8rem;
  }

  .main-heading {
    font-size: 2.1rem;
    line-height: 2.9rem;
    margin-bottom: 2rem;
  }

  .hero-description {
    font-size: 0.65rem;
    line-height: 1.2rem;
  }

  .hero-btn {
    font-size: 0.7rem;
  }

  .hero-btn {
    padding: 0.55rem 2rem;
  }

  .card {
    margin: 0 1.6rem;
  }

  .card-head {
    font-size: 1.4rem;
    margin-top: 1.6rem;
  }

  .card-date {
    margin-top: 0.4rem;
    font-size: 0.9rem;
  }

  .collection__section {
    margin-top: 3.2rem;
    padding-bottom: 8rem;
  }

  .coll-heading {
    font-size: 2rem;
    margin-bottom: 5.5rem;
  }

  .card-link {
    font-size: 0.9rem;
  }

  .logo-2 {
    width: 55%;
  }

  .social {
    align-items: center;
    margin-left: 0.8rem;
  }

  .social-icon {
    font-size: 1.4rem;
    margin-right: 1.5rem;
  }
}