@media screen and (max-width: 1399px) {
  .footer-top-content {
    padding: 32px;
  }

  .footer-newsletter h2.footer-newsletter-title {
    max-width: 280px;
  }

  .product-image {
    height: auto;
    aspect-ratio: 1.65;
  }

  /* Evaluation success */
  .evaluation-success .text-overlay {
    padding: 40px 50px;
  }

  /* Mentor Detail */

  .mentor-detail-inner {
    gap: 90px;
  }

  .mentor-detail-image::before {
    width: 174px;
    height: 174px;
  }
}

@media screen and (max-width: 1199px) {
  .categories-grid.grid-cols-5 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .event-card {
    flex-direction: column;
  }

  .footer-logo img {
    max-width: 180px;
  }

  .footer-top-content {
    gap: 30px;
  }

  .footer-newsletter h2.footer-newsletter-title {
    max-width: 210px;
    font-size: 24px;
  }

  .user-page-inner {
    gap: 0;
  }

  .evaluation-success .user-page-inner {
    gap: 32px;
  }

  .user-information {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Snp listing page */

  .single-snp {
    width: calc(33% - 11px);
  }

  /* About page */
  .about-section-inner {
    gap: 50px;
  }

  .video-grid-wrapper .video-box::before {
    left: -24px;
    top: -24px;
    width: 170px;
    height: 170px;
  }

  .video-grid-wrapper .video-box:nth-child(2):before {
    right: -24px;
    bottom: -24px;
  }

  /* Mentor Detail */

  .mentor-detail-inner {
    gap: 64px;
  }

  .mentor-detail-image,
  .mentor-detail-content {
    width: 50%;
  }

  .mentor-detail-image {
    padding-bottom: 18px;
    padding-left: 18px;
  }
}

@media screen and (max-width: 991px) {
  body.custom-freshmeetu h1 {
    font-size: 40px;
    line-height: 1.2;
  }

  .hero-slider .swiper-slide {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .main-hero {
    padding: 20px 0;
    background-color: var(--clr-grayBG);
  }

  .template-banner {
    height: 450px;
  }

  .categories-grid.grid-cols-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-newsletter {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .footer-newsletter h2.footer-newsletter-title {
    max-width: 100%;
    text-align: center;
  }

  /* Login/register */

  .user-page-wrapper {
    display: block;
    --clr-user-page-wrapper-space: 12px;
  }

  .user-page-inner {
    flex-direction: column;
  }

  .registration-section {
    max-height: none;
  }

  .login-section,
  .user-card-wrapper {
    padding: 32px 20px;
  }

  .registration-section {
    padding: 0;
  }

  .profile-header {
    flex-direction: column;
    align-items: center;
    padding: 32px 32px 80px;
    gap: 32px;
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
  }

  .user-information {
    text-align: center;
    align-items: center;
    gap: 32px;
  }

  .portfolio-item {
    width: calc(25% - 15px);
  }

  /* Snp listing page */

  .snp-listing {
    gap: 32px 20px;
  }

  .single-snp {
    width: calc(50% - 10px);
  }

  /* Evaluation Pages */

  .evaluation-inner {
    padding: 32px 22px;
    border-radius: 24px;
  }

  .evaluation-page form .fieldset-legend,
  .evaluation-page form fieldset .fieldset-wrapper label {
    font-size: 24px;
    line-height: 1.4;
  }

  .evaluation-success .user-page-inner {
    gap: 0;
  }

  .evaluation-success .left-panel {
    aspect-ratio: 1.5;
  }

  .evaluation-success .right-panel {
    padding: 50px 0 0;
  }

  /* About page */
  .about-section-inner {
    gap: 40px;
    flex-direction: column;
  }

  .platform-grid {
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .platform-grid-image {
    aspect-ratio: 1;
  }

  .vendors-list {
    flex-wrap: wrap;
  }

  .vendors-list .vendor-item {
    flex: none;
    width: calc(25% - 15px);
  }

  .video-grid-wrapper .video-box::before {
    left: -16px;
    top: -16px;
    width: 124px;
    height: 124px;
  }

  .video-grid-wrapper .video-box:nth-child(2):before {
    right: -16px;
    bottom: -16px;
  }

  /* Mentor Detail */

  .mentor-detail-image {
    position: relative;
    top: 0;
  }

  .mentor-detail-inner {
    flex-direction: column;
    gap: 40px;
  }

  .mentor-detail-image,
  .mentor-detail-content {
    width: 100%;
  }

  .mentor-detail-content .mentor-detail-title {
    margin-bottom: 14px;
  }
}

@media screen and (max-width: 767px) {
  .template-banner {
    height: 300px;
  }

  .button-green {
    font-size: 16px;
    line-height: 1;
    padding: 12px 20px;
  }

  body.custom-freshmeetu h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  body.custom-freshmeetu h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  body.custom-freshmeetu h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  body.custom-freshmeetu h4 {
    font-size: 18px;
    line-height: 1.25;
  }

  .heading-inline {
    margin-bottom: 20px;
  }

  .py-100 {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .py-50 {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .pt-50 {
    padding-top: 40px;
  }

  .pb-50 {
    padding-bottom: 40px;
  }

  .logo-fixed {
    top: 20px;
    left: 20px;
  }

  .logo-fixed img {
    max-width: 140px;
  }

  .logo-fixed .logo-line {
    width: 80px;
  }

  .hero-slider .hero-slide-title {
    margin-bottom: 20px;
  }

  .hero-slider .hero-slide-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .grid-cols-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .grid-cols-3 {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .categories-grid.grid-cols-5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .large-grid-item .large-grid-item-content {
    padding: 50px 16px 24px;
  }

  .products-section,
  .events-section {
    padding: 40px 0;
  }

  .categories-section {
    padding-top: 40px;
  }

  .heading-inline {
    margin-bottom: 20px;
    gap: 20px;
  }

  .footer-links {
    margin-block: 32px;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links ul li a {
    font-size: 18px;
    line-height: 1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    padding-block: 20px 25px;
  }

  /* Login/register template */

  /* Form elements */

  .custom-freshmeetu .custom-filter form select {
    background-position: right 16px center;
    padding-right: 45px;
    background-size: 24px;
    font-size: 20px;
    line-height: 1.5;
    padding-block: 16px;
  }

  .login-section,
  .login-section-inner {
    border-radius: 24px;
  }

  .custom-freshmeetu form input[type="text"],
  .custom-freshmeetu form input[type="email"],
  .custom-freshmeetu form input[type="tel"],
  .custom-freshmeetu form input[type="url"],
  .custom-freshmeetu form input[type="number"],
  .custom-freshmeetu form input[type="password"],
  .custom-freshmeetu form input[type="search"],
  .custom-freshmeetu form textarea,
  .custom-freshmeetu form select {
    padding: 14px 16px;
    font-size: 14px;
  }

  .custom-freshmeetu form label,
  .custom-freshmeetu form .fieldset-legend {
    font-size: 14px;
    line-height: 20px;
  }

  .custom-freshmeetu form:not(.footer-newsletter-form) .form-actions .button {
    font-size: 16px;
    line-height: 1;
    padding: 14px 24px;
  }

  .registration-section-inner {
    padding: 32px 0;
  }

  /* User profile */

  .user-profile {
    padding: 50px 0;
  }

  .avatar-inner {
    width: 150px;
  }

  .avatar-edit-button {
    padding: 11px;
    width: 36px;
    height: 36px;
    right: 10px;
  }

  .profile-header {
    padding: 32px 20px 60px;
  }

  .user-information .profile-username {
    font-size: 24px;
    line-height: 1.25;
  }

  .profile-score,
  .profile-tags {
    font-size: 16px;
    line-height: 1.25;
  }

  .profile-main .profile-tags-list {
    font-weight: 600;
    font-size: 16px;
  }

  .profile-main {
    padding: 32px 16px;
  }

  .line-through-title {
    font-size: 24px !important;
    gap: 16px;
    margin-bottom: 20px !important;
  }

  .profile-main-content-inner,
  .profile-main .profile-tags {
    gap: 12px;
  }

  .portfolio-item {
    width: calc(33% - 12px);
  }

  .line-through-title::before,
  .line-through-title::after {
    height: 2px;
  }

  .user-story {
    padding-bottom: 32px;
  }

  .user-story ul {
    gap: 10px;
  }

  .user-story ul li a {
    width: 50px;
    height: 50px;
    border: 2px solid var(--clr-green-500);
    padding: 2px;
  }

  /* Snp listing page */
  .snap-category-page-wrapper {
    padding: 50px 0;
  }

  .page-sub-title {
    font-size: 24px;
    line-height: 1.25;
  }

  .dual-tone-page-title,
  .filter-bar {
    margin-bottom: 32px;
  }

  .single-snp .snp-image {
    aspect-ratio: 1 / 1.2;
  }

  .snp-details {
    padding: 40px 16px;
  }

  /* Evaluation page */
  .evaluation-page form .fieldset-legend,
  .evaluation-page form fieldset .fieldset-wrapper label {
    font-size: 16px;
    line-height: 1.5;
  }

  .evaluation-page form .fieldset-legend {
    margin-bottom: 14px;
  }

  .evaluation-page form fieldset .fieldset-wrapper input[type="checkbox"],
  .evaluation-page form fieldset .fieldset-wrapper input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    margin-top: 4px;
  }

  .evaluation-page form fieldset .fieldset-wrapper .form-item {
    margin-bottom: 8px;
  }

  .custom-freshmeetu .evaluation-page form fieldset {
    margin-bottom: 16px !important;
  }

  .custom-freshmeetu .evaluation-page form .form-actions {
    gap: 16px;
  }

  .evaluation-success .left-panel {
    aspect-ratio: 0.9;
    border-radius: 24px;
  }

  .evaluation-success .text-overlay {
    padding: 32px 20px;
  }

  .evaluation-success .text-overlay p {
    font-size: 18px;
    line-height: 1.5;
  }

  .evaluation-success .right-panel-inner {
    border-radius: 24px;
    padding: 40px 20px;
  }

  .evaluation-success .right-panel-inner .nav {
    gap: 20px;
  }

  .evaluation-success .right-panel-inner .nav .nav-item a {
    font-size: 18px;
    line-height: 1.25;
    padding: 16px 24px;
  }

  /* Evaluation Enter */

  .evaluation-inner-banner {
    aspect-ratio: 16 / 9;
  }

  .evaluation-main-content {
    padding-top: 32px;
  }

  .evaluation-main-content p {
    font-size: 18px !important;
    line-height: 1.4 !important;
  }

  .evaluation-main-content .button-green {
    margin-top: 24px;
    max-width: 200px;
  }

  /* About page */
  .about-section-desc {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .vendors-section {
    padding: 40px 0;
  }

  .vendors-section .vendor-title,
  .service-showcase .service-showcase-title {
    margin-bottom: 32px;
  }

  .vendors-list .vendor-item {
    width: calc(33% - 12px);
  }

  .platform-grid-content {
    padding: 24px 16px;
  }

  .service-showcase .service-box-grid {
    flex-direction: column;
  }

  .service-showcase .service-box {
    padding: 24px 20px;
  }

  .video-grid-wrapper {
    padding: 42px 0;
  }

  .video-grid-inner {
    flex-direction: column;
    gap: 20px;
  }

  .video-grid-wrapper .video-box::before {
    left: -8px;
    top: -8px;
  }

  .video-grid-wrapper .video-box:nth-child(2):before {
    right: -8px;
    bottom: -8px;
  }

  .video-box-inner::before {
    bottom: 16px;
    left: 16px;
  }

  .video-box-inner::after {
    top: 16px;
    right: 16px;
  }

  .video-box-inner:hover::before,
  .video-box-inner:hover::after {
    width: 28px;
    height: 28px;
  }

  section.quick-stats {
    padding: 40px 0;
  }

  .stats-title {
    margin-bottom: 32px;
  }

  /* Video detail */

  .video_content-updated .video_content__meta,
  .video_content-updated p {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  /* Mentor detail */

  .play-button img {
    width: 40px;
  }

  .mentor-detail-image {
    padding-bottom: 14px;
    padding-left: 14px;
  }

  .mentor-detail-image::before {
    width: 120px;
    height: 120px;
  }


}

@media screen and (max-width: 640px) {

  /* Snp listing page */
  .snp-listing {
    gap: 20px;
  }

  .single-snp {
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
  .categories-grid.grid-cols-5 {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .footer-custom-freshmeetu {
    padding-top: 50px;
  }

  footer.footer-custom-freshmeetu::before {
    display: none;
  }

  .footer-top-content {
    padding: 24px 16px;
  }

  .footer-newsletter-form {
    padding: 0;
    gap: 0;
  }

  .footer-newsletter-input {
    padding: 14px 10px !important;
  }

  .footer-newsletter-form button.primary-button {
    font-size: 12px;
  }

  .portfolio-grid {
    gap: 10px;
  }

  .portfolio-item {
    width: calc(50% - 10px);
  }

  /* About page */

  .about-section-right {
    padding: 24px 24px 24px 0;
  }

  .about-section-right::before {
    width: calc(100% - 50px);
  }

  .vendors-list {
    gap: 16px;
  }

  .vendors-list .vendor-item {
    width: calc(50% - 8px);
    padding: 24px 18px;
    aspect-ratio: 1.3;
  }
}