/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600&display=swap');

/* Body font (for paragraphs, general text) */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  /* Dark grey for better readability */
}

/* Headings font */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

h1 {
  font-weight: 700;
  /* Bold */
}

.heading {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 3rem;
}

.subheading {
  font-size: 1rem;
}

@media (max-width:768px) {
  .heading {
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 1.5rem;
  }

  .subheading {
    font-size: 0.6rem;
  }
}

p {
  font-weight: 400;
  /* Normal */
}

a {
  text-decoration: none;
  color: black;
}

/* navbar styling */

/* Navbar Styling */

#mainNavbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* logo left, hamburger right */
}

#mainNavbar {
  /* position: relative;   ensures z-index takes effect */
  z-index: 9999 !important;
}
.navbar-custom {
  background: #fff !important;
}

.navbar-custom .nav-link {
  font-size: 1rem;
  font-weight: 400;
  color: #000 !important;
  transition: background 0.3s ease, color 0.3s ease;
  text-align: center;
}

.navbar-custom .nav-link:hover {
  color: purple !important;
}

.navbar-brand img {
  max-width: 140px;
  /* limit logo size on small screens */
  height: auto;
}

/* Hamburger alignment */
.navbar-toggler {
  margin-left: auto;
}

/* Side Panel */
.sidepanel {
  position: fixed;
  top: 0;
  right: -250px;
  height: 100%;
  width: 250px;
  background: #fff;
  color: #000;
  transition: right 0.4s ease;
  z-index: 1050;
  padding-top: 70px;
}

.sidepanel.open {
  right: 0;
}

.sidepanel a {
  display: block;
  padding: 12px 20px;
  color: #000;
  text-decoration: none;
  font-size: 1.1rem;
}

.sidepanel a:hover {
  color: purple;
}

/* Close Button */
.sidepanel .close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.8rem;
  color: #000;
  cursor: pointer;
}

/* Hamburger / Cross Animation */
.hamburger {
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.3s ease;
  color: #000;
  display: inline-block;
}

/* cross effect */
.hamburger.open {
  transform: rotate(90deg);
}

/* Mobile logo bigger */
@media (max-width: 768px) {
  .logo-img {
    max-height: 80px;
  }
}


/* slidr */
/* ===== CAROUSEL ===== */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* 0.4 = 40% black/gray opacity */
  z-index: 1;
}

/* Ensure text content stays above overlay */
.carousel-item .carousel-box {
  position: relative;
  z-index: 2;
}

.carousel-item {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.carousel-box h1{
  font-size: 3rem;
}
@media(max-width:768px) {
  .carousel-item {
    height: 50vh;
  }
}

.carousel-item .carousel-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  /* optional for responsiveness */
}



/* Replace with your actual image paths */
.bg-img-1 {
  background-image: url('/images/slider-1.webp');
}

.bg-img-2 {
  background-image: url('/images/slider-2.webp');
}

.bg-img-3 {
  background-image: url('/images/slider-1.webp');
}

/* Carousel content box */
/* Section */
.custom-slider-section {
  background-color: #dddbdb;
  padding: 60px 0;
  font-family: 'Poppins', sans-serif;
}

.heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.subheading {
  text-align: center;
  font-size: 1rem;
  color: #666;
  margin-bottom: 40px;
}

/* Wrapper */
.slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Card */
.slider-card {
  flex: 0 0 33.33%;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slider-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.slider-card img {
  width: 100%;
  height: auto;
  /* natural height maintain */
  max-height: 280px;
  /* desktop pe thoda limit */
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 15px;
}

.card-content h6 {
  background-color: #000;
  color: white;
  font-weight: 400;
  padding: 4px 10px;
  font-size: 0.9rem;
  display: inline-block;
  border-radius: 4px;
}

.card-content h5 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  font-weight: 600;
}

.card-content .small-text {
  font-size: 0.9rem;
  color: #777;
}

/* Dots */
.slider-dots {
  text-align: center;
  margin-top: 25px;
}

.slider-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dots .dot.active {
  background-color: #333;
}

/* Responsive */
@media (max-width: 991px) {
  .slider-card {
    flex: 0 0 50%;
  }
}

@media (max-width: 575px) {
  .slider-card {
    flex: 0 0 100%;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .slider-card img {
    height: 260px;
    /* bada */
  }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991px) {
  .slider-card img {
    height: 220px;
    /* medium */
  }
}

/* Mobile */
@media (max-width: 575px) {
  .slider-card img {
    height: 200px;
    /* chhota */
  }
}


/* featurd box */
.feature-box {
  border: 1px solid #e3e3e3;
  padding: 10px;
  /* Increased padding for larger boxes */
  border-radius: 10px;
  background-color: #f1f1f1;
  transition: all 0.3s ease;
  height: 100%;
  cursor: pointer;
}

.feature-box:hover {
  background-color: #adafb1;
}

.feature-box h4,
.vision-box-head {
  font-size: 1rem;
  color: #343a40;
}

.feature-box p,
.vision-box-para {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.feature-box i {
  color: #007bff;
}

.text-center {
  text-align: center;
}

.mb-5 {
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .feature-box {
    margin-bottom: 20px;
  }
}


.vision-box {
  background-color: #ededf5;
  border-left: 4px solid #323333;
  padding: 5px;
  border-radius: 10px;
}

.banner-img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}

.bg-box {
  background-size: cover;
  background-position: center;
  height: 500px;
  /* yahan height increase ki gayi */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  padding: 20px;
  border-radius: 10px;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 8px;
}

/* apply now section */
.left-image {
  background: url('/images/apllynow.webp') no-repeat center center;
  background-size: cover;
  min-height: 80vh;
  /* pura screen height */
}

.form-box {
  background: #fff;
  padding: 40px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

/* faq section */

.faq-question {
  cursor: pointer;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #555;
  padding-left: 5px;
}

.faq-answer.open {
  padding: 10px 0;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

/* footer */
footer {
  background: #d9e4e7;
  padding-top: 5%;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 20px;
}

footer p,
footer a {
  color: #000;
  font-size: 14px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: #1c1c1c;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  /* margin-top: 30px; */
  font-size: 14px;
}

form .form-control,
form .form-select {
  margin-bottom: 15px;
  /* gap between inputs */
  padding: 12px;
  /* thoda bada input feel */
}

form button {
  margin-top: 10px;
  /* button se gap */
}


/* ======= Force navbar above sidepanel ======= */
/* Make navbar form its own stacking context and sit on top */




/* Modal background overlay */
   #formPopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Changed from 80vh to full height */
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#formPopup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  background-color: white; /* 🔥 Black background */
  padding: 30px;
  border-radius: 15px;
  width: 100%;
  max-width: 80%;
  height: 80vh;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease forwards;
  position: relative;
  color: black; /* 🔥 White text */
  scroll-behavior: smooth;
}

.popup-box input,
.popup-box select,
.popup-box textarea {
  font-size: 1.1rem; /* 🔥 Bigger text */
  padding: 12px 15px; /* 🔥 Larger input box */
  border-radius: 8px;
  border: 1px solid #ccc;
}

.popup-box input::placeholder,
.popup-box textarea::placeholder {
  color: #aaa; /* Light gray placeholder */
}

.popup-box label,
.popup-box h2 {
  font-size: 1.1rem; /* 🔥 Bigger labels and headings */
  color: black;       /* White text */
}
.popup-box h5 {
  font-size: 1.5rem; /* 🔥 Bigger labels and headings */
  color: black;
}

.popup-box .form-check-label {
  color: #fff;
  font-size: 1rem;
}

.popup-box .form-check-input {
  margin-right: 5px;
  transform: scale(1.2); /* Slightly bigger radio buttons */
}

.close-btn {
  color: #fff; /* 🔥 Close button white for contrast */
}
select {
  position: relative;
  z-index: 9999; /* very high so it appears above modal */
}



@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 768px) {
  .popup-box {
    margin: 0 20px;
    padding: 20px;
  }
}

/* style for about  */

.about-section h2 {
  font-size: 1.8rem;
  line-height: 1.3;
}
.custom-img {
  height: 400px;   /* apni requirement ke hisaab se */
  object-fit: cover;  /* image ko crop karke fit karega */
  width: 100%;
}
.about-section p {
  color: #444;
  line-height: 1.6;
}
.about-section img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}
.about-section img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.franchise-section {
      padding: 60px 0;
    }
    .franchise-content h2 {
      font-size: 2.2rem;
      font-weight: 700;
      margin-bottom: 20px;
      color: #222;
    }
    .franchise-content p {
      color: #555;
      line-height: 1.7;
      margin-bottom: 20px;
    }
    .franchise-list {
      list-style: none;
      padding: 0;
    }
    .franchise-list li {
      margin-bottom: 15px;
      font-size: 1rem;
      color: #333;
      padding-left: 35px;
      position: relative;
    }
    .franchise-list li::before {
      content: counter(item) ".";
      counter-increment: item;
      position: absolute;
      left: 0;
      font-weight: 700;
    }
    .franchise-img img {
      border-radius: 12px;
      box-shadow: 0px 6px 20px rgba(0,0,0,0.1);
      width: 100%;
      max-height: 400px;  
      object-fit: cover;  
    }
    /* Optional: alternate background color */
    .alt-bg {
      background: #f8f9fa;
    }