body {
  padding-top: 155px; /* Offset for fixed Flasher (35px) + header (~80px) + spacing */
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Ensure all elements use border-box */
*,
*:before,
*:after {
  box-sizing: inherit;
}
/* Header */
header.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 50px 5px 30px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 35px; /* Offset below Flasher */
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100; /* Below Flasher but above other content */
  transition: all 0.3s ease;
}
.Flasher {
  background-color: #1a1a1a;
  color: yellow;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1300; /* Above header and menu */
}
.blink {
  animation: blinker 2.0s linear infinite;
  color: yellow;
  font-family: sans-serif;
}
@keyframes blinker {
  50% {
    opacity: 0;
  }
}
.logo {
  text-align: center;
}
.logo img {
  max-width: 200px;
  height: auto;
}
.header-center {
  text-align: center;
  flex-grow: 1;
  max-width: 300px;
}
.header-center a {
  text-decoration: none;
  color: inherit;
}
.header-center h1 {
  margin: 0;
  font-size: 38px;
  color: #333;
  letter-spacing: 2px;
}
.header-center p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #555555;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
  flex-shrink: 0;
}
.search-bar {
  order: -1;
  margin-right: auto;
}
.search-bar input {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  width: 200px;
}
.register-login a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}
.register-login a:hover {
  text-decoration: underline;
}
.hamburger {
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}
.menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 40px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  width: 250px;
  z-index: 1200;
}
.menu.active {
  display: block;
  z-index: 1200;
}
.menu-section {
  padding: 15px;
  border-bottom: 1px solid #eee;
}
.menu-section:last-child {
  border-bottom: none;
}
.menu-section h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #007bff;
}
.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-section li {
  margin: 10px 0;
}
.menu-section li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.menu-section li a:hover {
  color: #007bff;
}

/* Optional styling for header on scroll */
.header.sticky-header {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Ensure all header elements remain visible */
.header.sticky-header .logo,
.header.sticky-header .search-bar,
.header.sticky-header .register-login {
  display: flex;
}

/* Updated to maintain original two-row layout for header-center text */
.header.sticky-header .header-center {
  display: block; /* Keep as block to stack h1 and p vertically */
  text-align: center;
}
.header.sticky-header .header-center h1 {
  font-size: 30px;
  letter-spacing: 2px;
  margin: 0;
}
.header.sticky-header .header-center p {
  font-size: 12px;
  margin: 2px 0 0;
}
.header.sticky-header .hamburger {
  font-size: 24px;
}

/* Updated Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 370px;
  background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),
    url("images/Franchise-Hub-Client-Logos/Website_Hero_Section_Sixteen_July.jpg")
      no-repeat center/cover;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  justify-content: center;
  /* text-align: left; */
}
.banner-text {
  margin-bottom: 20px;
  margin-left: 58%;
  color: #fff;
  max-width: 50%;
  /* right: 0; */
 
}
.banner-text h1 {
  font-size: 46px;
  color: black;
  font-weight: bold;
  margin: 0 auto;
  line-height: 1.2;
}
.banner-text p {
  font-size: 16px;
  margin: 0;
  line-height: 1.4;
}
.tabs {
  display: flex;
  gap: 15px;
}
.tab {
  position: relative;
}
.tab-button {
  padding: 8px 20px;
  background: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, color 0.3s;
}
.tab-button.active {
  background: #007bff;
  color: #fff;
}
.tab-button:hover {
  background: #f1f1f1;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 1;
}
.tab:hover .dropdown-content {
  display: block;
}

/* Updated Tab Filters Section */
.tab-content {
  display: none;
  padding: 15px 20px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}
.tab-content.active {
  display: block;
}
.filters {
  display: flex;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.filter {
  flex: 1;
  padding: 10px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.filter h3 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #333;
}
.filter select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 13px;
  background: #fafafa;
  cursor: pointer;
}

/* Registration & Ask Experts Section */
.registration-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background: #fff;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.registration-options {
  flex: 2;
  display: flex;
  gap: 20px;
}
.registration-box {
  flex: 1;
  align-content: center;
  padding: 20px;
  bottom: 50%;
  text-align: center;
  background: #f1f1f1;
  border-radius: 10px;
  transition: transform 0.3s, background 0.3s;
}
.registration-box:hover {
  transform: scale(1.05);
  background: #007bff;
  color: #fff;
}
.registration-box h2 {
  margin: 0 0 10px;
}
.registration-box p {
  margin: 0 0 20px;
  font-size: 14px;
}
.registration-box a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  padding: 10px 20px;
  border: 2px solid #007bff;
  border-radius: 5px;
  display: inline-block;
}
.registration-box:hover a {
  border-color: #fff;
}
.ask-experts {
  flex: 1;
  padding: 25px;
  background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%);
  color: #fff;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ask-experts:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
.ask-experts h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ask-experts form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ask-experts .radio-group {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.ask-experts .radio-group label {
  font-size: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}
.ask-experts .radio-group label:hover {
  color: #e0f7ff;
}
.ask-experts input[type="radio"] {
  margin-right: 8px;
  accent-color: #fff;
}
.ask-experts input[type="email"],
.ask-experts input[type="tel"] {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  transition: box-shadow 0.3s ease;
}
.ask-experts input[type="email"]:focus,
.ask-experts input[type="tel"]:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}
.ask-experts input[type="email"]::placeholder,
.ask-experts input[type="tel"]::placeholder {
  color: #666;
  opacity: 0.8;
}
.ask-experts button {
  padding: 12px;
  background: #ffffff;
  color: #007bff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
}
.ask-experts button:hover {
  background: #e6f0ff;
  transform: scale(1.05);
}
.footer .ask-experts {
  background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
  padding: 20px;
}
.footer .ask-experts h2 {
  color: #fff;
  font-size: 20px;
}
.footer .ask-experts input[type="email"],
.footer .ask-experts input[type="tel"] {
  background: rgba(255, 255, 255, 0.9);
}
.footer .ask-experts button {
  background: #fff;
  color: #2c3e50;
}
.footer .ask-experts button:hover {
  background: #e6f0ff;
}

/* Franchise/Business/Dealership/Sale/Startups/Opportunities Sections */
.franchises-section,
.business-opportunities,
.dealership-opportunities,
.business-for-sale,
.startups-section,
.franchise-opportunities {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}
.franchises-grid,
.business-grid,
.dealership-grid,
.sale-grid,
.startups-grid,
.franchise-opp-grid {
  display: flex;
  overflow: hidden;
  gap: 20px;
  margin: 0 auto;
  position: relative;
}
.business-track {
  display: flex;
  animation: scrollCards 20s linear infinite;
  width: max-content;
}
.business-card {
  flex: 0 0 25%; /* 4 cards visible at a time */
  box-sizing: border-box;
  padding: 1rem;
  transition: transform 0.3s ease-in-out;
}
.business-track.animate {
  animation-play-state: running;
}
@keyframes scrollCards {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.business-grid:hover .business-track {
  animation-play-state: paused;
}
.franchise-card,
.dealership-card,
.sale-card,
.startup-card,
.franchise-opp-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s;
}
.franchise-card:hover,
.business-card:hover,
.dealership-card:hover,
.sale-card:hover,
.startup-card:hover,
.franchise-opp-card:hover {
  transform: scale(1.03);
}
.franchise-card img,
.business-card img,
.dealership-card img,
.sale-card img,
.startup-card img,
.franchise-opp-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background-color: #1a1a1a;
}
.franchise-card-content,
.business-card-content,
.dealership-card-content,
.sale-card-content,
.startup-card-content,
.franchise-opp-card-content {
  padding: 15px;
}
.franchise-card h3,
.business-card h3,
.dealership-card h3,
.sale-card h3,
.startup-card h3,
.franchise-opp-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.franchise-card p,
.business-card p,
.dealership-card p,
.sale-card p,
.startup-card p,
.franchise-opp-card p {
  margin: 0 0 15px;
  font-size: 14px;
  color: #666;
}
.franchise-card a,
.business-card a,
.dealership-card a,
.sale-card a,
.startup-card a,
.franchise-opp-card a {
  display: inline-block;
  padding: 8px 15px;
  background: rgb(0 58 102);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  transition: background 0.3s;
}
.franchise-card a:hover,
.business-card a:hover,
.dealership-card a:hover,
.sale-card a:hover,
.startup-card a:hover,
.franchise-opp-card a:hover {
  background: #0056b3;
}

/* Trending Videos Section */
.videos-section {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.video-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}
.video-card:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.video-card iframe {
  width: 100%;
  height: 200px;
  border: none;
}
.video-card-content {
  padding: 15px;
}
.video-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}
.video-card p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Testimonial Section */
.testimonial-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #007bff, #00d4ff);
  color: #fff;
  text-align: center;
}
.testimonial-section h2 {
  margin-bottom: 40px;
  font-size: 32px;
}
.testimonials-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  padding: 20px;
  border-radius: 15px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-10px);
}
.testimonial-card p {
  font-style: italic;
  margin: 0 0 15px;
  font-size: 16px;
}
.testimonial-card h4 {
  margin: 0;
  font-size: 14px;
  color: #007bff;
}

/* About Us Section */
.about-us-section {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-us-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}
.about-us-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}
.about-us-content p {
  margin: 0 0 20px;
}
.about-us-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://via.placeholder.com/1200x300?text=Decorative+Pattern")
    no-repeat center/cover;
  opacity: 0.1;
  z-index: 0;
}
.about-us-content {
  position: relative;
  z-index: 1;
}

/* Existing Sections */
.featured-listings {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
}
.listing-card {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}
.listing-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}
.search-results {
  padding: 40px 20px;
  background: #f1f1f1;
}
.results-list {
  max-width: 1200px;
  margin: 20px auto;
}
.result-item {
  padding: 15px;
  border-bottom: 1px solid #ddd;
}
.cta-section {
  padding: 30px 20px;
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.cta-section:hover {
  transform: scale(1.02);
}
.cta-section h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cta-section p {
  margin: 0 0 15px;
  font-size: 16px;
  font-style: italic;
  opacity: 0.9;
}
.cta-section .cta-button {
  padding: 12px 30px;
  background: #fff;
  color: #e63946;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.cta-section .cta-button:hover {
  background: #f4f4f4;
  transform: scale(1.05);
}

/* Footer Section */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding-bottom: 10px;
  padding-top: 40px;
}
.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0;
}
.footer-intro,
.footer-map,
.footer-links,
.footer-social {
  min-width: 0;
  flex: 1;
  padding: 15px;
  box-sizing: border-box;
}
.footer-intro {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.footer-intro h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: #007bff;
}
.footer-intro p {
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
  color: #fff;
}
.footer-map h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #007bff;
}
.footer-map iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.footer-links h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #007bff;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 8px 0;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #007bff;
}
.footer-social {
  text-align: left;
}
.footer-social h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #007bff;
}
.social-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}
.social-icons a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}
.social-icons a:hover {
  color: #007bff;
  transform: scale(1.2);
}
.footer-contact p {
  font-size: 13px;
  color: #fff;
  margin: 6px 0;
  line-height: 1.5;
}
.footer-contact a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-contact a:hover {
  color: #007bff;
}
.footer-bottom {
  text-align: center;
  padding-top: 10px;
  border-top: 1px solid #333;
  margin-top: 10px;
  font-size: 13px;
  color: #aaa;
}

/* Responsive Design */
@media (max-width: 1024px){
  .banner-text h1 {
    font-size: 35px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  body {
    padding-top: 115px; /* Adjusted for Flasher (55px) + compact header */
  }
  .franchises-grid,
  .business-grid,
  .dealership-grid,
  .sale-grid,
  .startups-grid,
  .franchise-opp-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    flex-direction: column;
    align-items: center;
  }
 
  header.header {
    flex-wrap: wrap;
    padding: 10px 20px;
    top: 55px; /* Maintain offset below Flasher */
  }
  .Flasher {
    height: 55px; /* Increased height to accommodate padding */
    padding: 10px 0; /* Added top and bottom padding for better visibility */
  }
  .logo img {
    max-width: 150px; /* Reduced logo size for small screens */
    height: auto;
  }
  .header-center {
    order: 1;
    width: 100%;
    margin: 10px 0;
    display: none; /* Hide header-center by default on mobile */
  }
  .header.sticky-header .header-center {
    display: block; /* Show header-center when sticky */
  }
  .search-bar input {
    width: 150px;
  }
  .filters {
    flex-direction: column;
    gap: 10px;
  }
  .banner {
    height: 300px; /* Reduced height for better fit on mobile */
    margin-top: 0; /* Remove top margin to minimize gap */
    padding-top: 0; /* Remove top padding */
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),
      url("images/Franchise-Hub-Client-Logos/Website_Hero_Section_Sixteen_July.jpg")
        center;
    margin: 0 auto;    
    background-size: cover; /* Ensure image covers the section */
    background-position: center; /* Center the image */
  }
  .banner-text h1 {
    font-size: 25px;
    margin: 0 auto;
    padding: 10%;
  }
  .banner-text p {
    font-size: 14px;
  }
  .tabs {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }
  .tab-button {
    width: 80%;
    max-width: 200px;
    margin: 0 auto;
  }
  .registration-section {
    flex-direction: column;
    padding: 20px;
  }
  .registration-options {
    flex-direction: column;
    gap: 15px;
  }
  .header-right {
    flex-wrap: wrap;
    justify-content: center;
  }
  .search-bar {
    margin-right: 0;
    width: 100%;
  }
  .search-bar input {
    width: 100%;
  }
  .menu {
    right: 20px;
    width: 200px;
  }
  .cta-section {
    padding: 20px 15px;
  }
  .cta-section h2 {
    font-size: 24px;
  }
  .cta-section p {
    font-size: 14px;
  }
  .cta-section .cta-button {
    padding: 10px 25px;
    font-size: 14px;
  }
  /* Mobile-specific sticky header styles */
  .header.sticky-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }
  .header.sticky-header .logo,
  .header.sticky-header .search-bar,
  .header.sticky-header .register-login {
    display: none;
  }
  .header.sticky-header .header-center {
    flex-grow: 1;
    text-align: center;
    margin: 0;
    width: auto;
    max-width: none;
  }
  .header.sticky-header .header-center h1 {
    font-size: 20px;
    letter-spacing: 3px;
    line-height: 1.2;
  }
  .header.sticky-header .header-center p {
    font-size: 12px;
    line-height: 1.2;
  }
  .header.sticky-header .header-right {
    flex: 0 0 auto;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
  }
  .header.sticky-header .hamburger {
    font-size: 20px;
    padding: 5px;
  }
  /* Optimized footer for mobile */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-intro,
  .footer-map,
  .footer-links,
  .footer-social {
    padding: 15px;
    margin-bottom: 10px;
    width: 100%;
  }
  .footer-map iframe {
    height: 150px;
  }
  .footer-bottom {
    padding: 15px 0;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 135px; /* Adjusted for Flasher (55px) + compact header */
  }
 
  .franchises-grid,
  .business-grid,
  .dealership-grid,
  .sale-grid,
  .startups-grid,
  .franchise-opp-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }
  .top-bar ul {
    flex-direction: column;
    gap: 10px;
  }
  .header-right {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .search-bar input {
    width: 100%;
  }
  .banner {
    height: 250px; /* Further reduced for very small screens */
     background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.0)),
    url("images/Franchise-Hub-Client-Logos/Website_Hero_Section_Mobile_Sixteen_July.jpeg") no-repeat center center;
  background-size: contain;
  margin: 35px 10px;
  }
  .banner-text {
    font-size: 20px;
    display: none;
    max-width: 50%;
  }
  .banner-text h1 {
    font-size: 20px;
  }
  .banner-text p {
    font-size: 12px;
  }
  .tabs {
    flex-direction: column;
    gap: 8px;
  }
  .tab-button {
    font-size: 12px;
    padding: 6px 15px;
  }
  .filter h3 {
    font-size: 12px;
  }
  .filter select {
    font-size: 12px;
  }
  .menu {
    right: 15px;
    width: 180px;
  }
  .cta-section {
    padding: 15px 10px;
  }
  .cta-section h2 {
    font-size: 20px;
  }
  .cta-section p {
    font-size: 12px;
  }
  .cta-section .cta-button {
    padding: 8px 20px;
    font-size: 12px;
  }
  .footer-map iframe {
    height: 120px;
  }
  .footer-container {
    padding: 0 5px;
  }
  .ask-experts {
    padding: 15px;
  }
  .ask-experts h2 {
    font-size: 18px;
  }
  .ask-experts button {
    font-size: 14px;
    padding: 10px;
  }
}

@media (max-width: 1000px) {
  .footer-container {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .footer-intro,
  .footer-map,
  .footer-links,
  .footer-social {
    width: 100%;
    padding: 10px;
  }
  .ask-experts {
    padding: 20px;
  }
  .ask-experts h2 {
    font-size: 20px;
  }
  .ask-experts .radio-group {
    flex-direction: column;
    gap: 15px;
  }
}

.vision-mission-goal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.vmg-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.vmg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.vmg-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #2c3e50;
}
.vmg-card p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}
@media (max-width: 768px) {
  .vision-mission-goal {
    grid-template-columns: 1fr;
  }
}

/* Let's Connect Section */
.cta-section {
  padding: 40px 20px;
  background: linear-gradient(135deg, #003a66 0%, #007bff 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.cta-section:hover {
  transform: scale(1.01);
}

.cta-section h2 {
  margin: 0 0 15px;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Ask Experts Container */
.cta-section .ask-experts {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #333;
}

.cta-section .ask-experts h2 {
  font-size: 26px;
  color: #003a66;
  margin-bottom: 10px;
}

.cta-section .ask-experts .form-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Form Styling */
.cta-section .ask-experts form {
  display: grid;
  gap: 15px;
}

.cta-section .ask-experts .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.cta-section .ask-experts .form-group {
  position: relative;
}

.cta-section .ask-experts .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  text-align: left;
}

.cta-section .ask-experts .form-group input,
.cta-section .ask-experts .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: #f9f9f9;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-section .ask-experts .form-group input:focus,
.cta-section .ask-experts .form-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

.cta-section .ask-experts .form-group input::placeholder {
  color: #999;
  opacity: 0.8;
}

.cta-section .ask-experts .form-group select {
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="%23333" d="M7 10l5 5 5-5z"/></svg>') no-repeat right 15px center / 12px;
}

/* Submit Button */
.cta-section .ask-experts button {
  padding: 14px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-section .ask-experts button:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-section {
    padding: 30px 15px;
  }

  .cta-section h2 {
    font-size: 24px;
  }

  .cta-section .ask-experts {
    padding: 20px;
  }

  .cta-section .ask-experts h2 {
    font-size: 22px;
  }

  .cta-section .ask-experts .form-row {
    grid-template-columns: 1fr;
  }

  .cta-section .ask-experts button {
    font-size: 14px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .cta-section h2 {
    font-size: 20px;
  }

  .cta-section .ask-experts h2 {
    font-size: 18px;
  }

  .cta-section .ask-experts .form-description {
    font-size: 12px;
  }

  .cta-section .ask-experts .form-group label {
    font-size: 12px;
  }

  .cta-section .ask-experts .form-group input,
  .cta-section .ask-experts .form-group select {
    padding: 10px;
    font-size: 12px;
  }

  .cta-section .ask-experts button {
    font-size: 12px;
    padding: 10px;
  }
}

/* Footer Social Section */
.footer-social {
  text-align: left;
}

.footer-social h3 {
  font-size: 16px;
  margin: 0 0 12px;
  color: #007bff;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.social-icons a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  color: #007bff;
  transform: scale(1.2);
  background: rgba(255, 255, 255, 0.2);
}

.social-icons .fab {
  font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-social {
    padding: 15px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .social-icons .fab {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .social-icons {
    gap: 8px;
  }

  .social-icons a {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .social-icons .fab {
    font-size: 16px;
  }
}

.franchises-section .franchise-card img {
  width: 100%;
  height: 200px; /* Increased height for better visibility */
  object-fit: contain; /* Ensures the entire image is visible without cropping or stretching */
  object-position: center; /* Centers the image within the container */
   background: #f9f9f9; /*Adds a light background for better contrast if images have transparency */
  padding: 10px; /* Adds padding to prevent images from touching card edges */
  box-sizing: border-box; /* Ensures padding is included in width/height */
}
.img1{
  background: #1a1a1a !important; 
  width: 100%;
  height: 400px; /* Increased height for better visibility */
  object-fit: contain; /* Ensures the entire image is visible without cropping or stretching */
  object-position: center; /* Centers the image within the container */
  padding: 10px; /* Adds padding to prevent images from touching card edges */
  box-sizing: border-box;
}

/* Top Business Opportunities Section Image Fix */
.business-opportunities .business-card img {
  width: 100%;
  height: 200px; /* Increased height for better visibility */
  object-fit: contain; /* Ensures the entire image is visible without cropping or stretching */
  object-position: center; /* Centers the image within the container */
  background: #f9f9f9; Adds a light background for better contrast if images have transparency
  padding: 10px; /* Adds padding to prevent images from touching card edges */
  box-sizing: border-box; /* Ensures padding is included in width/height */
}

/* Responsive Design for Leading Franchises Today Section */
@media (max-width: 768px) {
  section.franchises-section .franchises-grid {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
  }

  section.franchises-section .franchises-grid .franchise-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
}