/* ==TOPBAR== */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 10px;
/*     display:none; */
	  height: 125px;
  }
	.navbar {
        position: fixed;
        top: 125px;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
    }
	.right-section {
    gap: 14px !important;
		margin-left: 0px !important;
	}
	#popmake-435 {
		width: 85%;
		left: 23px !important;
	}
}

/* ==navbar== */
@media screen and (max-width: 1180px) {
  .main-menu {
    position: absolute;
    top: 80px;
	  height: 100vh;
    left: 0;
    width: 100%;
    background-color: black;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    transform: translateX(-105%);
    transition: transform 0.5s ease-in-out;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
	
	.main-menu li a {
		color: white;
	}

  .main-menu.show {
    transform: translateX(0);
  }

  .main-menu li {
    margin: 10px 0;
	padding: 20px;
  }

  .menu-btn {
    display: block;
    /* Ensures the button is visible */
  }

}

/* ===misllenious ==*/
@media screen and (max-width:767px) {
	.inner-blog .img-fluid {
		display:none;
	}
	.misconception {
		 background-image: none;
	}
}
@media screen and (max-width:768px) {
	.hero {
		height: 90vh;
	}
  .resales-btn button {
    margin: 10px 0;
  }

  .inner-heading h1,
  .terms-heading h1 {
    font-size: 25px;
    text-transform: capitalize;
	  width:100%;
  }
	.terms-heading h1 {
		left: 50% !important;
	}

  /* ===home=== */
  .swiper-slide h1 {
    font-size: 40px;
    width: 100%;
  }

  .swiper-slide p {
    width: 100%;
  }

  .buy-sell-content p {
    width: 100%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .why-franchise,
  .buy-sell-franchise,
  .sold-things,
  .trusted-brokers,
  .franchise-success,
  .we-do,
  .empower-owner,
  .turn-exits,
  .cash-flow,
  .evaluate-franchise,
  .sell-franchise,
  .common-seller-changes,
  .real-estate,
  .commercial-property,
  .get-in-touch,
  .search-section,
  .inner-conditions, .inner-blog{
    padding: 50px 10px;
  }
	.trusted-brokers{
		margin-top:50px;
	}
  .search-franchise,
  .comparison-section,
.resale-result {
    padding: 0px 10px 50px;
  }

  .sold-card-title {
    font-size: 18px;
  }

  .franchise-resale-list {
    padding: 50px 20px 0px;
  }

  .resale,
  .map {
    padding-bottom: 50px;
  }

  /* ===buyers== */
  .comparison-grid {
    display: flex;
    flex-direction: column;
  }



  .row-label {
    background-color: #FFBA00;
    color: white;
    padding: 14px 16px;
    font-weight: bold;
    border-top: 1px solid #ffd2d2;
  }

  .cell {
    background-color: #fff;
    padding: 14px 16px;
    border-top: 1px solid #ffd2d2;
  }

  .cell::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    color: #000000;
    display: block;
    margin-bottom: 4px;
  }

  .comparison-heading {
    display: none;
  }

  .comparison-section::before {
    right: 0;
  }

  /* ===blog=== */

  .blog {
    padding: 50px 20px;
  }

  .blog-content p {
    width: 100%;
  }

  .post-content h2 {
    font-size: 20px;
  }

  .side-post {
    flex-direction: column;
    align-items: flex-start;
  }

  .side-post img {
    width: 100%;
    height: auto;
  }

  .side-post-text h4 {
    font-size: 14px;
  }

  .read-more {
    padding: 8px 16px;
    font-size: 14px;
  }
	.footer .col-xl-4 {
		    padding-bottom: 30px;
    font-family: 'Poppins';
	}
	.contact-info {
		margin-bottom: 20px;
	}
	.privacy,
	.terms {
		aspect-ratio: 17 / 7;
        margin-top: 80px;
        height: auto !important;
		width: 100%;
	}
/* 	===innerpage about=== */
	.about, 
	.franchisor,
	.buyer,
	.sellers,
	.contact-us-page {
	aspect-ratio: 17 / 7;
        margin-top: 80px;
        height: auto !important;
	}
	}
	
}




@media screen and (min-width: 769px) and (max-width: 1199px) {
  .sold-card {
    flex: 0 0 calc(33.333% - 16px);
  }
}


@media screen and (min-width: 481px) and (max-width: 768px) {
  .sold-card {
    flex: 0 0 calc(50% - 10px);
  }
}


@media screen and (max-width: 480px) {
  .sold-card {
    flex: 0 0 100%;
  }
}

/* contact us page */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* franchise-sale */

@media (max-width: 991px) {
  .franchise-sale-card {
    flex: 0 0 calc(33.333% - 16px);
  }

}

@media (max-width: 768px) {
  .franchise-sale-card {
    flex: 0 0 calc(100%);
  }
}