/* =========================================
   ADMISSION PAGE EXTRAS (FOR style1.css THEME)
   - News Ticker
   - Admission Form
   ========================================= */

/* ================================
   1. NEWS TICKER (UPDATES BAR)
   ================================ */
.news-ticker {
  background-color: #fff8e1;
  border-bottom: 1px solid rgba(255, 193, 7, 0.6);
  height: 35px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 5;
  font-family: "Poppins", system-ui, sans-serif;
}

.ticker-label {
  background-color: #FFC107;
  color: #1A237E;
  font-size: 12px;
  font-weight: 700;
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.08);
}

.ticker-content {
  white-space: nowrap;
  display: inline-block;
  animation: tickerMove 20s linear infinite;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  padding-left: 100%;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* ================================
   2. ADMISSION FORM LAYOUT
   ================================ */

.form-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px;
  background:
    linear-gradient(
      rgba(33, 150, 243, 0.15),
      rgba(233, 30, 99, 0.2)
    ),
    url("admission.JPG");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ================================
   MOBILE VIEW (FIXED – NO BLANK SPACE)
   ================================ */
@media (max-width: 768px) {
  .form-section {
    background-attachment: scroll;
    background-image:
      linear-gradient(
        rgba(33, 150, 243, 0.12),
        rgba(233, 30, 99, 0.15)
      ),
      url("admission.JP");
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-color: #0c2a63;

    padding: 20px 10px; /* 🔥 blank space removed */
  }

  .form-container {
    padding: 15px 12px;
    width: 85%;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
  }

  .form-container h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  input,
  select,
  textarea {
    padding: 8px 12px 8px 35px;
    font-size: 13px;
  }

  .btn-submit {
    padding: 10px;
    font-size: 14px;
    margin-top: 5px;
  }
}

/* ================================
   3. FORM CARD
   ================================ */

.form-container {
  background: #ffffff;
  padding: 28px 20px;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(33, 150, 243, 0.18);
  border-top: 4px solid #FFC107;
  animation: slideUp 0.6s ease-out;
  font-family: "Poppins", system-ui, sans-serif;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-container h2 {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #1A237E;
}

/* ================================
   4. FORM FIELDS
   ================================ */

.form-group {
  position: relative;
  margin-bottom: 18px;
}

.form-group i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa6c0;
  font-size: 14px;
}

.form-group.textarea-group i {
  top: 18px;
  transform: none;
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 14px 11px 38px;
  border-radius: 10px;
  border: 1px solid #dde3f0;
  background-color: #f5f7fb;
  font-size: 15px;
  color: #1A237E;
  transition: all 0.25s ease;
  outline: none;
  resize: vertical;
  appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: #9aa6c0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #2196F3;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.12);
}

/* Select arrow */
.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFC107;
  font-size: 12px;
  pointer-events: none;
}

/* Honeypot */
.website-check-field {
  display: none !important;
}

/* ================================
   5. SUBMIT BUTTON
   ================================ */

.btn-submit {
  width: 100%;
  padding: 13px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(
    270deg,
    #2196F3,
    #E91E63,
    #FFC107,
    #FF9800,
    #2196F3
  );
  background-size: 400% 400%;
  animation: gradientSlide 4s ease infinite;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(233, 30, 99, 0.4);
}

.btn-submit:disabled {
  background: #9e9e9e;
  cursor: not-allowed;
  box-shadow: none;
}

/* ================================
   6. FEE STRUCTURE DOWNLOAD
   ================================ */

.download-btn {
  display: none;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px dashed #2196F3;
  background: rgba(33, 150, 243, 0.04);
  font-size: 13px;
  color: #1A237E;
  text-decoration: none;
}

.download-btn.visible {
  display: block;
}


/* ================================
   TABLET VIEW (768px - 1024px)
   ================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .news-ticker {
    height: 40px;
  }

  .ticker-label {
    font-size: 13px;
    padding: 0 20px;
  }

  .ticker-content {
    font-size: 14px;
    animation-duration: 18s;
  }

  .form-section {
    padding: 50px 30px;
    min-height: 100vh;
  }

  .form-container {
    max-width: 520px;
    padding: 35px 30px;
    border-radius: 20px;
  }

  .form-container h2 {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .form-group {
    margin-bottom: 18px;
  }

  input,
  select,
  textarea {
    padding: 13px 16px 13px 42px;
    font-size: 15px;
  }

  .btn-submit {
    padding: 14px;
    font-size: 16px;
    margin-top: 10px;
  }
}

/* ================================
   LAPTOP VIEW (1024px - 1440px)
   ================================ */
@media (min-width: 1025px) and (max-width: 1440px) {
  .news-ticker {
    height: 42px;
  }

  .ticker-label {
    font-size: 14px;
    padding: 0 25px;
    letter-spacing: 0.5px;
  }

  .ticker-content {
    font-size: 14px;
    animation-duration: 22s;
  }

  .form-section {
    padding: 60px 40px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .form-container {
    max-width: 550px;
    padding: 40px 38px;
    border-radius: 22px;
    box-shadow: 
      0 10px 40px rgba(33, 150, 243, 0.15),
      0 0 0 1px rgba(255, 193, 7, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .form-container:hover {
    transform: translateY(-5px);
    box-shadow: 
      0 20px 50px rgba(33, 150, 243, 0.2),
      0 0 0 1px rgba(255, 193, 7, 0.2);
  }

  .form-container h2 {
    font-size: 26px;
    margin-bottom: 28px;
    position: relative;
  }

  .form-container h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2196F3, #FFC107);
    border-radius: 2px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group i {
    font-size: 15px;
    left: 16px;
    transition: color 0.3s ease;
  }

  input,
  select,
  textarea {
    padding: 14px 18px 14px 45px;
    font-size: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  input:hover,
  select:hover,
  textarea:hover {
    border-color: #bbdefb;
    background-color: #fafbfd;
  }

  input:focus,
  select:focus,
  textarea:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
  }

  input:focus + i,
  .form-group:focus-within i {
    color: #2196F3;
  }

  .btn-submit {
    padding: 15px 20px;
    font-size: 16px;
    margin-top: 15px;
    letter-spacing: 0.5px;
  }

  .download-btn {
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
  }

  .download-btn:hover {
    background: rgba(33, 150, 243, 0.1);
    border-style: solid;
  }
}

/* ================================
   LARGE DESKTOP VIEW (1440px+)
   ================================ */
@media (min-width: 1441px) {
  .news-ticker {
    height: 45px;
  }

  .ticker-label {
    font-size: 14px;
    padding: 0 30px;
    letter-spacing: 1px;
  }

  .ticker-content {
    font-size: 15px;
    animation-duration: 25s;
  }

  .form-section {
    padding: 80px 60px;
    min-height: 100vh;
  }

  .form-container {
    max-width: 600px;
    padding: 50px 45px;
    border-radius: 24px;
    border-top: 5px solid #FFC107;
  }

  .form-container h2 {
    font-size: 28px;
    margin-bottom: 35px;
  }

  .form-container h2::after {
    width: 80px;
    height: 4px;
    bottom: -12px;
  }

  .form-group {
    margin-bottom: 22px;
  }

  .form-group i {
    font-size: 16px;
    left: 18px;
  }

  input,
  select,
  textarea {
    padding: 16px 20px 16px 50px;
    font-size: 16px;
    border-radius: 14px;
  }

  textarea {
    min-height: 120px;
  }

  .btn-submit {
    padding: 16px 24px;
    font-size: 17px;
    margin-top: 20px;
    letter-spacing: 0.8px;
  }

  .download-btn {
    padding: 14px 18px;
    font-size: 15px;
    margin-top: 12px;
    border-radius: 12px;
  }
}

/* ================================
   ULTRA WIDE SCREENS (1920px+)
   ================================ */
@media (min-width: 1921px) {
  .form-section {
    padding: 100px 80px;
  }

  .form-container {
    max-width: 650px;
    padding: 55px 50px;
  }

  .form-container h2 {
    font-size: 32px;
  }

  input,
  select,
  textarea {
    padding: 18px 22px 18px 55px;
    font-size: 17px;
  }

  .btn-submit {
    padding: 18px 28px;
    font-size: 18px;
  }
}

/* ================================
   EXTRA DESKTOP ENHANCEMENTS
   ================================ */
@media (min-width: 1025px) {
  /* Smooth scrollbar for form */
  .form-container::-webkit-scrollbar {
    width: 6px;
  }

  .form-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .form-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2196F3, #FFC107);
    border-radius: 10px;
  }

  /* Input label animation effect */
  .form-group {
    position: relative;
  }

  /* Focus ring animation */
  input:focus,
  select:focus,
  textarea:focus {
    animation: focusPulse 0.3s ease;
  }

  @keyframes focusPulse {
    0% {
      box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.4);
    }
    100% {
      box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
    }
  }

  /* Button shine effect on hover */
  .btn-submit {
    position: relative;
    overflow: hidden;
  }

  .btn-submit::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent
    );
    transition: left 0.5s ease;
  }

  .btn-submit:hover::before {
    left: 100%;
  }

  /* Icon color change on focus */
  .form-group:focus-within i {
    color: #2196F3;
    transform: translateY(-50%) scale(1.1);
  }

  .form-group.textarea-group:focus-within i {
    transform: scale(1.1);
  }
}
.developer-credit {
  display: flex;
  justify-content: center;   /* center me rakhega */
  align-items: center;       /* vertical alignment perfect */
  gap: 6px;
  font-size: 14px;
  color: #fff;
}

.developer-credit a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.developer-credit img {
  height: 20px;
  width: auto;
}