@media (max-width: 575.98px) {

  .hero-section {
    height: 320px;
  }

  .hero-content {
    margin-top: 120px;
    padding: 0 16px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 14px;
  }

  .hero-breadcrumb {
    font-size: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-breadcrumb img {
    width: 12px;
    height: 12px;
  }

  /* Photo Gallery Section */
  .birds-tabs {
    gap: 10px;
    justify-content: flex-start;
    margin-top: 10px;
    /* margin-left: -30px; */
  }

  .birds-tabs .nav-link {
    font-size: 14px;
  }

  /* Divider */
  .birds-divider {
    margin-left: -250px;
    margin-top: 10px;
    justify-content: flex-start;
    gap: 23px;
  }

  .birds-divider .line {
    width: 60px;
  }

  .birds-divider .line.active {
    height: 2px;
  }

  /* Photo grid */
  .photo-grid {
    margin-top: 0;
  }

  /* All cards stack cleanly */
  .bird-card.big,
  .bird-card.wide,
  .bird-card.long,
  .bird-card.small-one,
  .bird-card.small-two,
  .bird-card.small-three,
  .bird-card.small-four {
    height: 260px;
    min-height: unset;
    /*margin-top: 0;*/
  }

  .bird-overlay {
    padding: 16px;
  }

  .bird-overlay h4 {
    font-size: 18px;
  }

  .bird-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 0;
  }

  .bird-meta p {
    font-size: 12px;
  }

  .bird-meta .read-more {
    font-size: 14px;
  }

  /* Pop Up */
  .modal-dialog {
    margin: 10px;
  }

  .modal-img img {
    height: 260px;
  }

  /* Arrows */
  .modal-arrow {
    width: 36px;
    height: 36px;
    top: 50%;
  }

  .modal-arrow.left {
    left: 10px;
  }

  .modal-arrow.right {
    right: 10px;
  }

  /* Info overlay */
  .modal-info {
    margin-top: -60px;
    padding: 16px;
  }

  .modal-info h2 {
    font-size: 22px;
  }

  /* Meta row stacks */
  .meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .meta-left {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .view-details,
  #viewLessBtn {
    margin-right: 0;
    font-size: 14px;
  }

  /* Full view */
  .full-view {
    padding: 16px;
  }

  .details-grid {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  /* View less position */
  #fullView:not(.d-none) #viewLessBtn {
    position: static;
    margin-top: 30px;
  }
  
  
}



@media (min-width: 576px) and (max-width: 767.98px) {

  .hero-section {
    height: 380px;
  }

  .hero-content {
    margin-top: 150px;
    padding: 0 24px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-breadcrumb {
    font-size: 13px;
    gap: 10px;
  }

  /* Photo Gallery Section */
  .birds-tabs {
    gap: 30px;
    justify-content: center;
  }

  .birds-tabs .nav-link {
    font-size: 15px;
  }

  .birds-divider {
    margin-left: 0;
    justify-content: center;
    gap: 10px;
  }

  .birds-divider .line {
    width: 80px;
  }

  /* Pop Up */
  .modal-img img {
    height: 320px;
    width: 100%;
  }

  .modal-info {
    margin-top: -80px;
    padding: 20px;
  }

  .modal-info h2 {
    font-size: 26px;
  }

  .meta-left {
    font-size: 15px;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
    font-size: 15px;
  }

  #fullView:not(.d-none) #viewLessBtn {
    position: static;
    margin-top: 20px;
  }
  


}


@media (min-width: 768px) and (max-width: 991.98px) {

  .hero-section {
    height: 420px;
  }

  .hero-content {
    margin-top: 170px;
  }

  .hero-subtitle {
    font-size: 22px;
  }

  .hero-title {
    font-size: 60px;
  }

  .hero-breadcrumb {
    font-size: 14px;
  }

  /* Photo Gallery Section */
  .birds-tabs {
    gap: 40px;
  }

  .birds-tabs .nav-link {
    font-size: 16px;
  }

  .birds-divider {
    margin-left: -120px;
    gap: 12px;
  }

  .birds-divider .line {
    width: 95px;
  }

  /* Photo Grid */
  .bird-overlay {
    padding: 24px;
  }

  .bird-overlay h4 {
    font-size: 22px;
  }

  /* Pop Up */
  .modal-img img {
    height: 420px;
  }

  .modal-info {
    margin-top: -120px;
    padding: 24px;
  }

  .modal-info h2 {
    font-size: 32px;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #fullView:not(.d-none) #viewLessBtn {
    top: -80px;
  }

}


@media (min-width: 992px) and (max-width: 1199.98px) {

  .hero-section {
    height: 460px;
  }

  .hero-content {
    margin-top: 190px;
  }

  .hero-subtitle {
    font-size: 26px;
  }

  .hero-title {
    font-size: 70px;
  }

  /* Photo Gallery Section */
  .birds-tabs {
    gap: 45px;
  }

  .birds-divider {
    margin-left: -240px;
  }

  .birds-divider .line {
    width: 105px;
  }

  /* Photo Grid */
  .bird-card.big {
    min-height: 420px;
  }

  .bird-card.wide,
  .bird-card.long {
    height: 360px;
  }

  .bird-overlay h4 {
    font-size: 23px;
  }

  /* Pop Up */
  .modal-img img {
    height: 500px;
  }

  .modal-info h2 {
    font-size: 36px;
  }

  .details-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (min-width: 1200px) and (max-width: 1399.98px) {

  .hero-section {
    height: 500px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-title {
    font-size: 76px;
  }

  /* Photo Gallery Section */
  .birds-divider {
    margin-left: -320px;
  }

  .birds-divider .line {
    width: 111px;
  }

  /* Photo Grid */
   .bird-card.big {
    min-height: 430px;
  }

  .bird-card.wide,
  .bird-card.long {
    height: 370px;
  }

  /* Pop Up */
  .modal-img img {
    height: 550px;
  }

  .modal-info h2 {
    font-size: 38px;
  }

}

@media (min-width: 1400px) {

  .hero-section {
    height: 520px;
  }

  .hero-subtitle {
    font-size: 30px;
  }

  .hero-title {
    font-size: 80px;
  }

  /* Photo Gallery Section */
  .birds-tabs {
    gap: 45px;
  }

  .birds-divider {
    margin-left: -376px;
  }

  .birds-divider .line {
    width: 111px;
  }

  /* Pop Up */
  .modal-img img {
    height: 580px;
  }

  .modal-info h2 {
    font-size: 40px;
  }
  
}

