/* Modal Background */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    position: relative;
    width: 60%; /* Adjusted size */
    max-width: 450px; /* Limit maximum width */
    max-height: 70vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    overflow: auto;
    margin-top: 4% !important; 
}

.close {
    position: absolute;
    top: 8px; 
    right: 10px; 
    font-size: 40px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
        padding: 15px;
        margin-top: 10%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 10px;
        margin-top: 15%; 
    }
}

.modal-image, .modal-video {
    width: 80%; 
}

.modal-image {
    height: auto; 
    max-height: 70vh; 
    overflow: auto; 
}

.modal-video {
    height: 70vh; 
    max-height: 70vh; 
    object-fit: contain; 
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
        padding: 15px;
        margin-top: 5%; 
        text-align: justify;
    }

    .close {
        font-size: 28px; 
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 10px;
        margin-top: 10%; 
        text-align: justify;
    }

    .close {
        font-size: 24px;
    }
}

.lqd-section.blog-list {
    padding: 60px 0;
}

.blog-item {
    box-sizing: border-box;  
    padding: 15px;
    text-align: center;
    margin: 10px;
    border: 1px solid #ddd; 
    border-radius: 5px; 
    background-color: #fff; 
    width: calc(33.333% - 20px); 
}

.blog-image {
    width: 100%; 
    height: auto; 
    display: block;
    border-radius: 5px; 
    object-fit: cover; 
}

.blog-content {
    margin-top: 10px;
}

.blog-title {
    font-size: 16px; 
    line-height: 1.4;
    margin: 0;
    word-wrap: break-word; 
}

@media (max-width: 992px) { 
    .blog-item {
        width: calc(50% - 20px); 
    }
}

@media (max-width: 768px) { 
    .blog-item {
        width: calc(100% - 20px); 
        padding: 10px; 
    }

    .blog-title {
        font-size: 14px;
    }
}

@media (max-width: 480px) { 
    .blog-item {
        padding: 5px; 
    }

    .blog-title {
        font-size: 12px; 
    }
}
/*footer*/
.ld-fancy-heading .heading-container {
    display: flex;  
    align-items: center;
    justify-content: center; 
    white-space: nowrap;  
    text-align: center;
  }
  
  .ld-fancy-heading .switch-text, 
  .ld-fancy-heading .collab-text, 
  .ld-fancy-heading .lqd-highlight-txt {
    font-size: 46px; 
    color: #FFFFFF;
  }
  
  .ld-fancy-heading .collab-text {
    margin-left: 8px;
  }
  
  @media (max-width: 991px) {
    .ld-fancy-heading .heading-container {
      flex-direction: column; 
      align-items: center; 
    }
  
    .ld-fancy-heading .switch-text, 
    .ld-fancy-heading .collab-text, 
    .ld-fancy-heading .lqd-highlight-txt {
      font-size: 32px; 
    }
    
    .ld-fancy-heading .btn {
      display: block;
      margin: 20px auto; 
      text-align: center; 
      width: fit-content; 
    }
  }
  
  @media (max-width: 768px) {
    .ld-fancy-heading .switch-text, 
    .ld-fancy-heading .collab-text, 
    .ld-fancy-heading .lqd-highlight-txt {
      font-size: 28px; 
    }
  }
  
  @media (max-width: 480px) {
    .ld-fancy-heading .switch-text, 
    .ld-fancy-heading .collab-text, 
    .ld-fancy-heading .lqd-highlight-txt {
      font-size: 22px; 
    }
  }
  
  @media (max-width: 250px) {
    .ld-fancy-heading .switch-text, 
    .ld-fancy-heading .collab-text, 
    .ld-fancy-heading .lqd-highlight-txt {
      font-size: 16px; 
    }
  }
  
  .ld-fancy-heading .btn {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 20px auto; 
  }