/* style.css */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  /* font-size: 1.3rem; */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: #6c6a74;
  text-align: left;
  /* background-color: #f1f1f1; */
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.hero-section {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

.statistics {
  background-color: #003366;
}

.footer {
  background-color: #002244;
}

.card h6 {
  margin-top: 10px;
  font-weight: bold;
}

/* navbar css start */
.navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
  font-weight: 500;
}

@media (max-width: 767px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

.logo {
  width: 270px;
}

.btn-custom {
  background-color: #012169;
  color: #fff;
  border: none;
}

.btn-custom:hover,
.btn-custom:focus {
  background-color: #af1000;
  color: #fff;
}


/* ==================== */

/* Welcome Banner Styling */
.welcome-banner {
  background: linear-gradient(to right, #012169, #a50f00);
  overflow: hidden;
  padding: 10px 0;
  color: white;
  font-weight: bold;
  position: relative;
  white-space: nowrap;
}

/* Outer wrapper for control */
.scrolling-wrapper {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 15s linear infinite;
}

/* Text inside the animation */
.scrolling-text {
  display: inline-block;
  font-size: 1rem;
  padding-right: 100%;
  /* Ensures continuous space */
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* Sliding welcome banner end */

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

/* Logo responsiveness */
@media (min-width: 300px) and (max-width: 374px) {
  .logo {
    width: 203px;
  }
}

/* Navbar hover effect */

.navbar-nav .nav-link {
  transition: color 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: red;
}

.navbar-nav .nav-link::after {
  content: '';
  height: 2px;
  background: red;
  width: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Carousel image */
.carousel-item img {
  height: 85vh;
  object-fit: cover;
}

/* Responsive carousel styles */
@media (max-width: 768px) {
  .carousel-caption {
    position: absolute;
    bottom: 10%;
    left: 5%;
    right: 5%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.4);
    /* subtle dark background */
    border-radius: 8px;
  }

  .carousel-caption h5 {
    font-size: 1rem;
    font-weight: 600;
  }

  .carousel-caption p {
    font-size: 0.85rem;
    margin-bottom: 0;
  }

  .carousel-item img {
    height: 60vh;
    object-fit: cover;
  }
}

@media (max-width: 576px) {
  .carousel-item img {
    height: 55vh;
    object-fit: cover;
  }
}


/* Popup modal form */
.modal-content {
  border-radius: 10px;
  padding: 20px;
}

.form-control:focus {
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* navbar end */

/* About Us section start  */

.hero-section {
  padding: 80px 0;
  background: #ffffff;
}

.title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #002147;
}

.description {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.learn-more-btn {
  background: #d21f3c;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.learn-more-btn:hover {
  background-color: #a4182f;
  transform: scale(1.05);
}

.image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.image-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  border: 3px solid #d21f3c;
}

/* Highlighted section */
.highlight-section {
  position: relative;
  margin-top: 40px;
  border-radius: 16px;
}

.highlight-section img {
  border-radius: 16px;
}

.info-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  padding: 20px 24px;
  border-radius: 12px;
  max-width: 400px;
  z-index: 10;
  border-left: 4px solid #0d6efd;
  transition: all 0.3s ease-in-out;
}

.school-logo {
  width: 50px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .info-box {
    position: static;
    margin-top: 20px;
  }

  .title {
    font-size: 2rem;
  }

  .description {
    font-size: 1rem;
  }
}

/* Overlay Card Style */
.overlay-card {
  position: absolute;
  top: 20px;
  left: -320px;
  width: 260px;
  background-color: #ffffff;
  border-left: 4px solid #d21f3c;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.6s ease;
  z-index: 5;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.image-box:hover .overlay-card {
  left: 20px;
  opacity: 1;
}

/* Overlay Content */
.overlay-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002147;
  margin-top: 10px;
}

.overlay-text {
  font-size: 0.95rem;
  color: #333;
  margin-top: 6px;
}

.overlay-icon {
  width: 40px;
  height: auto;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .overlay-card {
    position: static;
    opacity: 1;
    margin-top: 20px;
    left: 0;
    width: 100%;
  }
}

/* Overlay Card Style */
.overlay-card {
  position: absolute;
  top: 20px;
  left: -320px;
  width: 260px;
  background-color: #ffffff;
  border-left: 4px solid #d21f3c;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.6s ease;
  z-index: 5;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.image-box:hover .overlay-card {
  left: 20px;
  opacity: 1;
}

/* Overlay Content */
.overlay-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #002147;
  margin-top: 10px;
}

.overlay-text {
  font-size: 0.95rem;
  color: #333;
  margin-top: 6px;
}

.overlay-icon {
  width: 40px;
  height: auto;
}

/* Responsive Styling */
@media (max-width: 991.98px) {
  .overlay-card {
    width: 100%;
    position: static;
    opacity: 1;
    margin-top: 15px;
    border-left: 4px solid #d21f3c;
    display: block;
    box-shadow: none;
    transform: none;
  }

  .image-box:hover .overlay-card {
    left: 0;
    opacity: 1;
  }

  .overlay-icon {
    width: 112px;
  }

  .overlay-title {
    font-size: 1rem;
  }

  .overlay-text {
    font-size: 0.9rem;
  }
}

/* About Us section end  */

/* why choose us start */


.choose-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #012169;
  position: relative;
  display: inline-block;
}

.heading-underline {
  width: 60px;
  height: 4px;
  background-color: #012169;
  border-radius: 2px;
  margin-top: 12px;
  animation: underlinePulse 2s ease-in-out infinite;
}

@keyframes underlinePulse {

  0%,
  100% {
    width: 60px;
    background-color: #012169;
  }

  50% {
    width: 90px;
    background-color: #0056b3;
  }
}

@media (max-width: 768px) {
  .choose-heading {
    font-size: 1.75rem;
  }

  .heading-underline {
    width: 40px;
    height: 3px;
  }
}

.choose-heading {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 1s ease forwards;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.why-choose-us {
  padding: 60px 15px;
}

.choose-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #012169;
  position: relative;
}

.heading-underline {
  width: 60px;
  height: 4px;
  background-color: #012169;
  margin-top: 10px;
  border-radius: 2px;
  animation: underlinePulse 2s infinite ease-in-out;
}

@keyframes underlinePulse {

  0%,
  100% {
    width: 60px;
  }

  50% {
    width: 90px;
  }
}

.choose-box,
.choose-box * {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.choose-box {
  background: #fff;
  border-left: 6px solid #012169;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
  user-select: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.choose-box:hover {
  transform: scale(1.03);
  background-color: #eaf1ff;
}

.choose-box i {
  font-size: 28px;
  color: #012169;
  margin-right: 15px;
  width: 40px;
  text-align: center;
  transition: transform 0.5s ease-in-out;
}

.choose-box:hover i:first-child {
  transform: rotate(360deg);
}

.choose-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #012169;
  flex-grow: 1;
  cursor: pointer;
}

.choose-arrow {
  color: #888;
  font-size: 14px;
  margin-left: 10px;
}

.details-box {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(20px);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

.details-box.active {
  opacity: 1;
  transform: translateY(0);
  z-index: 1;
}

.details-box h5 {
  font-weight: bold;
  color: #012169;
  margin-bottom: 12px;
}

.details-box p {
  color: #333;
  line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 768px) {
  .why-choose-us {
    padding: 30px 10px;
  }

  .details-box {
    position: relative;
    margin-top: 20px;
    padding: 20px;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    margin-top: 20%;
  }

  .choose-box {
    padding: 14px 16px;
    flex-direction: row;
    justify-content: flex-start;
  }

  .choose-title {
    font-size: 0.95rem;
  }

  .details-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .details-box {
    min-width: 100%;
    scroll-snap-align: start;
    flex: 0 0 100%;
  }
}

/* why choose us end */


/* logo slider start */
.partners-section {
  background-color: rgba(0, 0, 0, 0.08);
}

.partner-container {
  overflow: hidden;
  width: 100%;
}

.partner-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.partner-slide-track {
  display: flex;
  animation: scroll 7s linear infinite;
  gap: 20px;
  width: max-content;
}

.partner-slide {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  height: 150px;
}

.partner-slide img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  border-radius: 10px;
  border: 2px solid white;
  cursor: pointer;
}



@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .partner-slide {
    width: 150px;
    height: 100px;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-content-logo {
  max-width: 50%;
  max-height: 50%;
  border: 3px solid #fff;
  border-radius: 10px;
  cursor: zoom-out;
}


/* logo slider end */


/* courses card start */

/* Flip card core styling */
.programs-section {
  background-color: #f8f9fa;
  margin-bottom: 5rem;
  /* prevent merging */
}

.card img {
  height: 180px;
  object-fit: cover;
}

.card h6 {
  font-size: 0.95rem;
  line-height: 1.4;
}

.badge {
  font-size: 0.75rem;
}

/* Hover effect for card images */
.programs-section .card img {
  transition: transform 0.5s ease;
}

.programs-section .card:hover img {
  transform: scale(1.05);
}

/* Animated lightning border */
.programs-section .card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.programs-section .card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(45deg, #ff00cc, #3333ff, #00ffcc, #ffcc00, #ff00cc);
  background-size: 400% 400%;
  animation: borderRun 5s linear infinite;
  z-index: -1;
  border-radius: 1.25rem;
  /* Match your rounded-4 */
  filter: blur(2px);
}

.programs-section .card::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  background: #ffffff;
  border-radius: 1.25rem;
  /* Match your rounded-4 */
  z-index: -1;
}

/* Border animation keyframes */
@keyframes borderRun {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}



/* courses card end */

/* countdown section  start */
.highlights-section {
  background: #002a5c url('assests/img/statistics-section-bg.png') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.highlight-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.icon img {
  display: inline-block;
}

.highlight-card {
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: #fff;
  border: 2px solid #002c6a;
  /* Match your brand color */
  padding: 12px;
  border-radius: 50%;
}

.icon-circle {
  width: 70px;
  height: 70px;
  background-color: white;
  border: 2px solid #002c6a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.highlight-card {
  margin-top: 40px;
  /* To make space for the icon overlap */
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

/* countdown section  end */

/* testimonial start */


.testimonial-section {
  background: linear-gradient(to right, #004e92, #000428);
  background-image: url('assests/images/blue-paperboard-texture.jpg');
  background-size: cover;
  background-repeat: repeat;
  color: white;
}

.section-title {
  color: white;
}

.testimonial-card {
  padding: 2rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}




/* testimonial end */

/* top us button start */
#topBtn {
  display: none;
  position: fixed;
  bottom: 100px;
  /* Positioned above WhatsApp */
  right: 30px;
  z-index: 1000;
  background-color: #012169;
  /* Brand blue */
  color: white;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#topBtn:hover {
  background-color: #af1000;
  /* Brand red on hover */
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* top us button end */

/* WhatsApp floating button start */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  /* Moved to bottom right corner */
  right: 30px;
  width: 60px;
  /* Slightly larger for better visibility */
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 1001;
  /* Above Top Button */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 28px;
  }

  #topBtn {
    display: none !important;
  }
}

/* WhatsApp floating button end */

/* Upcoming Batches Section start */
.upcoming-section {
  padding: 60px 15px;
  background-color: #f8f9fa;
  text-align: center;
}

.upcoming-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color: #012169;
}

.batch-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.batch-card:hover {
  transform: translateY(-5px);
}

.batch-card img {
  width: 100%;
  height: auto;
  display: block;
}

.badge-location {
  position: absolute;
  top: 10px;
  right: 10px;
  background: crimson;
  color: white;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
}

.batch-content {
  padding: 15px;
  position: relative;
}

.date-label {
  display: inline-block;
  background: #eaf1ff;
  color: #003366;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 5px;
}

.batch-content {
  text-align: left;
  padding: 20px 15px;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.date-label {
  display: inline-block;
  padding: 5px 10px;
  background-color: #f2f5f8;
  color: #0a3b6f;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  margin-bottom: 10px;
}

.course-level {
  font-weight: 700;
  font-size: 1.4rem;
  color: #0a3b6f;
  margin-top: 10px;
  margin-bottom: 4px;
}

.course-title {
  font-size: 1.5rem;
  font-weight: 700;
  font-size: 1.4srem;
  color: #0d1b5e;
  margin-bottom: 6px;
}


.course-description {
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.4;
  margin-top: 8px;
}


.btn-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  border-top: 1px solid #eee;
}

.btn-enroll,
.btn-learn {
  flex: 1;
  padding: 10px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn-enroll {
  background: #002c6a;
  color: white;
}

.btn-learn {
  background: #d50000;
  color: white;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.popup h6 {
  margin-top: 0;
  color: #0d1b5e;
  font-weight: 300;
  font-weight: bold;
}

@media (max-width: 480px) {
  #popup-content {
    width: 95%;
    max-width: 90%;
    padding: 15px;
  }

  .popup h6 {
    margin-top: 0;
    color: #0d1b5e;
    font-weight: 300;
    font-weight: bold;
  }
}

.popup p {
  font-size: 0.95rem;
  color: #333;
  font-weight: 300;
}

.popup form input,
.popup form textarea {
  width: 100%;
  padding: 10px;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.popup .close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #d50000;
}


/* Upcoming Batches Section End */

/* global Section start */
.bg-upcoming {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

/* global Section end */

.footer-section {
  background: #ffffff url(assests/img/footer-bg.png) no-repeat right top;
  background-size: cover;
  color: #fff;
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #f8c471 !important;
}

.footer-section h5 {
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
}

@media (max-width: 768px) {
  .footer-section {
    text-align: center;
    background-position: center top;
  }

  .footer-section .row>div {
    margin-bottom: 30px;
  }

  .footer-section img {
    margin: 0 auto;
  }
}

/* auto popup end */

.custom-modal {
  max-width: 480px;
  width: 90%;
  border-radius: 16px;
  overflow: hidden;
  margin: auto;
  max-height: 95vh;
  display: flex;
  flex-direction: column;
}

.modal-body-custom {
  overflow-y: auto;
  flex: 1;
  padding: 0 1.5rem 1rem 1.5rem;
}

.btn-blue {
  background-color: #004aad;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-blue:hover {
  background-color: #00327a;
}

@media (max-width: 576px) {
  .custom-modal {
    max-width: 95%;
    margin: 1rem;
    border-radius: 12px;
  }

  .modal-body-custom {
    padding: 0 1rem 1rem 1rem;
  }
}

body.modal-open {
  overflow: hidden !important;
}

/* auto popup end */

/* Custom Modal Styling - Redesign */
/* Premium Split Modal Styling (Ref: Popupsmart) */
.custom-modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.3);
  max-width: 750px !important;
  width: 100% !important;
  background: #fff;
  margin: 0 auto;
  min-height: 480px !important;
  position: relative;
}

.custom-modal-dialog {
  max-width: 750px !important;
  width: 750px !important;
  margin: 1.75rem auto;
}

.modal-split-container {
  display: flex;
  width: 100%;
  min-height: 480px;
  background: #fff;
}

.modal-sidebar-image {
  flex: 0 0 40%;
  /* Slightly wider for better landscape framing */
  background-image: url('assests/about-us/popup-image.png');
  background-size: cover;
  background-position: center 15%;
  /* Focus on heads and caps */
  position: relative;
  border-right: 1px solid #f1f5f9;
}

.modal-form-container {
  flex: 0 0 60%;
  padding: 20px 25px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
}



.btn-close-custom {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  padding: 8px;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-close-custom:hover {
  background-color: #fff;
  transform: rotate(90deg);
}

#autoPopupModal h5 {
  color: #2c3e50;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

/* Premium Input Fields */
#enquiryModal .form-control {
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #495057;
  background-color: #f8fafc;
  transition: all 0.3s ease;
  box-shadow: none;
}

#autoPopupModal .form-control:focus {
  background-color: #fff;
  border-color: #0047AB;
  box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.08);
  transform: translateY(-1px);
}

#enquiryModal .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #64748b;
  letter-spacing: 0.3px;
}

/* Custom Radio & Checkbox Styling */
.form-check-input {
  width: 1.2em;
  height: 1.2em;
  margin-top: 0.15em;
  border: 2px solid #cbd5e1;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-check-input:checked {
  background-color: #0047AB;
  border-color: #0047AB;
  transform: scale(1.1);
}

.form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.1);
  border-color: #0047AB;
}

.form-check-label {
  cursor: pointer;
  color: #475569;
  font-weight: 500;
  font-size: 0.75rem;
}

/* Button Styling */
#enquiryModal .btn-primary {
  background: linear-gradient(135deg, #0047AB 0%, #003380 100%);
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 71, 171, 0.3);
  transition: all 0.3s ease;
}

#autoPopupModal .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 71, 171, 0.4);
  filter: brightness(1.1);
}

#autoPopupModal .btn-primary:active {
  transform: translateY(0);
}

/* Helper Text */
.form-text {
  font-size: 0.75rem;
  color: #94a3b8 !important;
}

/* Fix phone field styling */
.iti {
  width: 100% !important;
}

.iti__flag-container {
  z-index: 5;
}

.iti__country-list {
  z-index: 2000 !important;
  /* Ensure it's above the modal */
  min-width: 60px !important;
  width: 60px !important;
}

.iti__country-name,
.iti__dial-code {
  display: none !important;
}

.iti__selected-dial-code {
  display: none !important;
}

#modalPhone {
  height: 38px;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  width: 100% !important;
  font-size: 0.8rem;
  padding-left: 50px !important;
  /* Restore padding for flag only */
}

#modalPhone:focus {
  background-color: #fff;
  border-color: #0047AB;
  box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.1);
  outline: none;
}

/* thank you centering */
#thankYouMessage {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
}

/* Modern Mobile Adjustments */
/* Responsive Adjustments */
@media (max-width: 768px) {
  .modal-split-container {
    flex-direction: column;
  }



  .modal-form-container {
    flex: 0 0 100%;
    padding: 25px 20px;
  }

  .custom-modal-content {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
}

/* Card Selection UI */
.selection-card {
  position: relative;
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background-color: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.selection-card:hover {
  background-color: #fff;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.selection-card-input:checked+.selection-card {
  background-color: #f0f7ff;
  border-color: #0047AB;
  box-shadow: 0 0 0 1px #0047AB;
}

.selection-card-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: #495057;
  margin-left: 10px;
  cursor: pointer;
}

.selection-card .form-check-input {
  margin: 0;
  border-width: 1.5px;
}

/* Travel Question Chip Style */
.travel-options {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.travel-chip {
  flex: 1;
  text-align: center;
}

.travel-chip-label {
  display: block;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #fff;
  color: #495057;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.travel-chip-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.travel-chip-input:checked+.travel-chip-label {
  background-color: #0047AB;
  color: #fff;
  border-color: #0047AB;
  box-shadow: 0 4px 10px rgba(0, 71, 171, 0.2);
}

/* Custom Checkbox Indicator in Cards */
.selection-card-input:checked+.selection-card .custom-checkbox-indicator {
  background-color: #0047AB;
  border-color: #0047AB;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
  background-size: cover;
}

/* Responsive Popup Form Styling */
@media (max-width: 991px) {
  .custom-modal-dialog {
    max-width: 90% !important;
    width: 90% !important;
    margin: 1rem auto;
  }

  .custom-modal-content {
    max-width: 100% !important;
  }
}

@media (max-width: 767px) {
  .custom-modal-dialog {
    max-width: 95% !important;
    width: 95% !important;
    margin: 0.5rem auto;
  }

  .modal-split-container {
    flex-direction: column;
    min-height: auto;
  }

  .modal-sidebar-image {
    flex: 0 0 180px;
    /* Show as a header image on mobile */
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .modal-form-container {
    flex: 1 0 auto;
    padding: 20px 20px;
  }

  .custom-modal-content {
    min-height: auto !important;
  }
  

  

 
  /* Adjust Thank You message for mobile height */
  #thankYouMessage,
  #thankYouMessage>div {
    min-height: 400px !important;
    height: auto !important;
  }
}

