/* ================= TOP RUNNING ENROLL BANNER ================= */
.top-running-banner {
    width: 100%;
    background: linear-gradient(90deg, #ff6a00, #ff3d00);
    overflow: hidden;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* Moving Track */
.banner-track {
    display: flex;
    width: max-content;
    animation: bannerScroll 14s linear infinite;
}

/* Single Item */
.banner-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px;
    white-space: nowrap;
}

/* Text */
.banner-item span {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    font-family: "Poppins", Arial, sans-serif;
}

/* Enroll Button */
.enroll-btn {
    background: #ffffff;
    color:white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.05);
}
/*enroll button-2*/
.enroll-btn2 {
    display: grid;
    align-items: center;
    text-align: center;
    background:orangered;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.enroll-btn2:hover {
  
    background: #000;
    color:white;
    transform: scale(1.05);
}

/* Animation */
@keyframes bannerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Animation */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ================= COMMON SECTION ================= */
section {
    padding: 80px 6%;
    font-family: "Poppins", Arial, sans-serif;
    background: #f2f6fb;
}

/* ================= HEADING ================= */
.heading {
    max-width: 600px;
    /* 👈 box ki width yahan control */
    margin: 0 auto 60px;
    /* center + bottom gap */

    background: bisque;
    padding: 20px;

    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.heading h2 {
    display: grid;
    align-items: center;
    gap: 20px;
    font-size: 36px;
    font-weight: 700;
    color: #111;

}

/* ================= image-robot================= */
/* ================= COMPANIES ================= */
.robot-image {
    display: flex;
    gap: 20px;              /* images ke beech gap */
    justify-content: center;
    align-items: center;
    padding: 20px;
    flex-wrap: wrap;        /* small screen pe next line */
}

.robot-image img {
    width: 800px;           /* image size */
    height: auto;
    object-fit: contain;
}




/*enroll button -------------------*/

.enroll-btn {
    background: #ff4d00;
    color: #fff;

    padding: 14px 36px;
    /* 🔥 size increase */
    font-size: 18px;
    /* 🔥 text large */
    font-weight: 600;

    border-radius: 40px;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.enroll-btn:hover {
    background: #e84300;
    transform: scale(1.05);
    /* 🔥 hover pe thoda bada */
}


/* NAV STRIP */
.navbar {
  background-color: #e0e0e0;   /* strip color */
  height: 40px;
  display: flex;
  justify-content: flex-end;   /* 👉 right side */
  align-items: center;
  padding-right: 40px;
  gap: 30px;

  position: sticky;   /* 🔥 add */
  top: 0;             /* 🔥 add */
  z-index: 9999;      /* 🔥 add */
}

/* Nav links */
.navbar a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 16px;
}

.navbar a:hover {
  color: red;
}



/* ================= WHY CHOOSE SECTION ================= */
.why-choose {
  position: relative; 

}

/* Dark Overlay */
.why-choose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: gray;

}

/* Content above overlay */
.why-choose > * {
  position: relative;
  z-index: 1;
}

/* Mobile Fix */
@media (max-width: 768px) {
  .why-choose {
    min-height: auto;
    padding: 60px 15px;
    background-position: top center;
  }
}

/* ================= back image ================= */
.bg-wrapper {
    width: 100%;
    height: 1000px;          /* background height */
    overflow: hidden;
    background: fixed;
}

/* Image behaving like background */
.bg-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* background jaisa effect */
    object-position: center;
}

/* ================= GRID ================= */
.blocks {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
}

/* ================= CARD ================= */
.block {
  background: #f9fbff;
  padding: 30px 25px;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.block:hover {
  transform: translateY(-8px);
}

/* ================= TEXT ================= */
.block h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0b3c5d;
  border-bottom: 2px solid #0b3c5d;
  padding-bottom: 8px;
}

.block p {
  font-size: 15px;
  color: #444;
}

/* ================= COURSE LIST ================= */
.course-list {
  list-style: none;
  padding: 0;
}

.course-list li {
  background: #fff;
  padding: 14px;
  margin-bottom: 10px;
  border-left: 4px solid #0b3c5d;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.course-list li strong {
  color: #0b3c5d;
}


/* ================= FOOTER ================= */
footer {
    background: #0b2c4d;
    color: #fff;
    padding: 30px 8%;
    text-align: center;
    font-size: 14px;
}
/* ===== POPUP ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* above header */
    overflow-y: auto; /* allows scrolling on small screens */
    padding: 20px; /* spacing on mobile */
}


/* ===== POPUP BOX ===== */
.popup-box {
    width: 900px;
    max-width: 100%;
    background: #fff;
    border-radius: 15px;
    display: flex;
    flex-wrap: wrap; /* for stacking on small screens */
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: fadeIn 0.4s ease-in-out;
}

/* LEFT SIDE IMAGE */
.popup-left {
    width: 45%;
    min-width: 250px; /* minimum width for mobile */
}

.popup-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT SIDE FORM */
.popup-right {
    width: 55%;
    min-width: 250px;
    padding: 30px;
    position: relative;
}

/* INPUTS & FORM */
.popup-right input,
.popup-right select,
.popup-right textarea,
.popup-right input[list] {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.phone-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.checkbox {
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

/* SUBMIT BUTTON */
button.glow-btn {
    background: linear-gradient(90deg,#ff6a00,#ff3d00);
    color: #fff;
    border: none;
    padding: 14px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    box-shadow: 0 0 10px #ff6a00, 0 0 20px #ff3d00, 0 0 40px #ff6a00;
    transition: 0.3s;
}

button.glow-btn:hover {
    box-shadow: 0 0 20px #ff6a00, 0 0 40px #ff3d00, 0 0 60px #ff6a00;
    transform: translateY(-2px);
}

/* CLOSE BUTTON */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 40px;
    cursor: pointer;
    color: #333;
}

/* FADE-IN ANIMATION */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}



/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 1024px) {
  /* Robot images stack and resize */
  .robot-image img {
    width: 100%;
   max-width: 100%;
    height: auto;
  }

  /* Heading adjustments */
  .heading {
    padding: 20px 20px;
    max-width: 90%;
  }

  .heading h2 {
    font-size: 28px;
  }

  /* Navbar wrap and center on smaller screens */
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px;
    gap: 15px;
  }

  .navbar a {
    font-size: 14px;
  }

  /* Top banner items wrap */
  .banner-item {
    padding: 0 20px;
    gap: 10px;
  }

  .banner-item span {
    font-size: 14px;
  }

  .enroll-btn, .enroll-btn2 {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Blocks grid 2 columns for tablet */
  .blocks {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }

  /* Why choose section padding */
  .why-choose {
    padding: 40px 15px;
  }

  /* Footer map height smaller */
  footer iframe {
    height: 180px;
  }
}

@media (max-width: 768px) {
  /* Robot images smaller for mobile */
  .robot-image img {
    max-width: 100%;
  }

  .heading h2 {
    font-size: 24px;
  }

  /* Banner font smaller */
  .banner-item span {
    font-size: 12px;
  }

  .enroll-btn, .enroll-btn2 {
    font-size: 12px;
    padding: 8px 16px;
  }

  /* Blocks single column on small screens */
  .blocks {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer text smaller */
  footer p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  /* All fonts and buttons smaller */
  .heading h2 {
    font-size: 20px;
  }

  .enroll-btn, .enroll-btn2 {
    font-size: 12px;
    padding: 6px 12px;
  }

  .navbar a {
    font-size: 12px;
  }

  /* Reduce banner padding */
  .banner-item {
    padding: 0 10px;
    gap: 5px;
  }

  .banner-item span {
    font-size: 11px;
  }

  /* Footer iframe mobile friendly */
  footer iframe {
    height: 150px;
  }
}

