
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

    /* Apply Raleway font to entire page */
    body {
      font-family: 'Raleway', sans-serif;
    }


  a {
    text-decoration: none;
    color: inherit;
  }

  h2 {
    color: #000000;
  }

  .form-container {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.95);
    padding: 2rem;
    border-radius: 10px;
    max-width: 450px; 
    width: 100%;
    /*box-shadow: 0 8px 20px rgba(0,0,0,0.2);*/
  }

  .form-container h2,
  .form-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #015198;
  }

  .form-group {
    margin-bottom: 0.8rem;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
  }

  .form-group input{
    width: 95%;
    margin-bottom: -16px;
    padding: 5px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

.form-control{
    width: 95%;
    /*margin-bottom: -5px;*/
    padding: 5px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
  }
 
  .form-group select {
    width: 100%;
    padding: 5px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

  .form-group select:disabled {
    background: #f2f2f2;
  }

  button[type="submit"] {
    width: 80%;
    background: #015198;
    color: white;
    padding: 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  button[type="submit"]:hover {
    background: #013d73;
  }

  #successPopup {
    display: none;
    opacity: 0;
    position: fixed;
    top: 30%; left: 50%;
    transform: translate(-50%, -50%);
    background: #015198;
    color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 1.2rem;
    text-align: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
  }

  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .form-card {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
    width: 65%;
  }

  /* Reusable section/card/grid */
  .section {
    padding: 2rem;
    max-width: 1200px;
    margin: auto;
  }

  .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .card {
    flex: 1 1 250px;
    border: 1px solid #ddd;
    padding: 1rem;
    background: #fafafa;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

  .testimonial {
    border-left: 4px solid #004080;
    margin: 1rem 0;
    padding: 1rem;
    background: #f9f9f9;
  }

  form {
    max-width: 500px;
    margin: 2rem auto;
  }

  form input, form textarea {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
  }

  form button {
    background: #004080;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
  }

  /* Image Carousel */
  .carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    height: 300px;
    margin-bottom: 2rem;
  }

  .carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .carousel-images img {
    width: 100%;
    object-fit: cover;
  }

  /* FAQ Section */
  .faq {
    margin-top: 2rem;
  }

  .faq-item {
    border-bottom: 1px solid #ccc;
  }

  .faq-question {
    background: #f2f2f2;
    padding: 1rem;
    cursor: pointer;
  }

  .faq-answer {
    display: none;
    padding: 1rem;
    background: #fff;
  }

  footer {
    text-align: center;
    padding: 0.3rem;
    background: #eee;
  }

  #franchise-tabs button {
    padding: 0.5rem 1rem;
    border: none;
    background: #004080;
    color: white;
    cursor: pointer;
  }

  #franchise-tabs button:hover {
    background: #005bbb;
  }

  .tab-content {
    border: 1px solid #ccc;
    padding: 1rem;
    background: #f9f9f9;
  }

  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem;
  }

  .card-grid .card {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 10px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
  }

  .card-grid .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 15px rgba(0, 64, 128, 0.2);
    background-color: #ffffff;
    border-color: #cce0ff;
  }

  .card-grid .card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .card-grid .icon {
    font-size: 2rem;
    color: #004080;
    margin-bottom: 0.8rem;
  }

  /* Responsive Cards */
  @media (max-width: 992px) {
    .card-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 576px) {
    .card-grid {
      grid-template-columns: 1fr;
    }

    .carousel {
      height: 200px;
    }

    .testimonial-card {
     flex-direction: column;
      text-align: center;
    }

    .testimonial-img {
      margin: 0 0 1rem 0;
    }
  }

  /* Testimonials */
  .testimonial-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    touch-action: pan-y;
  }

  .testimonial-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 50px;
  }

  .testimonial-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 2.5rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
  }

  .testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1rem;
    animation: flipIn 1s forwards;
  }

  .testimonial-text {
    flex: 1;
    font-size: 1rem;
    color: #333;
  }

  .testimonial-text strong {
    display: block;
    margin-top: 0.5rem;
    color: #015198;
  }

  .testimonial-nav,
  .testimonial-dots {
    text-align: center;
    margin-top: 1rem;
  }

  .testimonial-nav button {
    background: #015198;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 5px;
  }

  .testimonial-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }

  .testimonial-dots .active {
    background: #015198;
  }

  @keyframes flipIn {
    from { transform: rotateY(180deg); }
    to { transform: rotateY(0deg); }
  }
.card-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

@media (min-width: 769px) {
  .carousel-banner {
    position: relative;
    height: 80vh;
    width: 100%;
    background: url('asset/Franchise_Landing_Page.jpg') no-repeat center center/contain;
    background-size: cover;  /* ✅ Ensures full image is visible */
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 2rem 0;*/
  }



.carousel-banner .left-icon {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  max-width: 400px;
  height: auto;
  display: block;
}


.mobile-icon {
  display: none;
}
}



/* ✅ Mobile-specific styles */
@media (max-width: 768px) {
    
    .mobile-icon {
        /*margin-top: 10px;*/
    display: block;
    width: 400px;
    height: auto;
    margin: 0 auto 1rem auto; /* center horizontally and add bottom space */
  }
  

.carousel-banner {
    height: auto; /* ✅ Let content determine height */
    /*padding-top: 3rem;*/
    flex-direction: column;
    background: url('asset/Franchisee_Landing_Page_mobile.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
  }
  
  .form-container {
    position: static; /* ✅ Let it flow naturally */
    transform: none;
    margin-top: 1rem;
  }
  .carousel-banner .left-icon {
    display: none;
  }

  .carousel-banner .mobile-icon {
    display: block;
  }
}

.card-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 0.8rem;
}

.mobile-icon {
  display: block;
  width: 120px;
  max-width: 40%;
  height: auto;
  margin: 0 auto 1rem auto;
}

