/* ==========================================================
   TOPBAR COMPONENT
========================================================== */

.ms-topbar {
  background: var(--ms-bg-light);
  color: var(--text-light);
  font-size: 14px;
  padding: 6px 0;
}

/* Item */
.ms-topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ms-topbar-item i {
  color: var(--ms-primary);
  font-size: 18px;
}

.ms-topbar-item span,
.ms-topbar-item a {
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
}

.ms-topbar-item a:hover {
  color: var(--ms-primary);
}

/* ==========================================================
   SOCIAL
========================================================== */

.ms-topbar-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.ms-topbar-social a {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.ms-topbar-social a:hover {
  background: var(--ms-primary);
  transform: translateY(-2px);
}

/* ==========================================================
   NAVBAR COMPONENT
   MultisoftIT Design System
========================================================== */

.ms-navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--ms-bg-light);
  /* backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); */
  border-bottom: 2px solid var(--ms-primary);
  transition: var(--ms-transition);
  box-shadow: 0 4px 12px rgba(37, 248, 5, 0.08);
}

/* Logo */
.ms-navbar-brand img {
  height: 50px;
  width: auto;
}

/* ==========================================================
   NAV LINKS
========================================================== */

.ms-nav-link {
  position: relative;
  font-weight: 500;
  color: var(--ms-secondary);
  padding: 10px 14px;
  transition: var(--ms-transition);
}

.ms-nav-link:hover,
.ms-nav-link.active {
  color: var(--ms-primary);
}

/* Underline Animation */
.ms-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: var(--ms-primary);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.ms-nav-link:hover::after,
.ms-nav-link.active::after {
  width: 60%;
}

/* ==========================================================
   CTA BUTTON
========================================================== */

.ms-navbar-cta .ms-btn-primary {
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.25);
  transition: var(--ms-transition);
}

.ms-navbar-cta .ms-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(99, 102, 241, 0.35);
}

/* ==========================================================
   TOGGLER
========================================================== */

.ms-navbar-toggler {
  background: var(--light);
  border: none;
}

.ms-navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================================
   SCROLLED STATE
========================================================== */

/* .ms-navbar.scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
} */

/* ================= HERO COMPACT ================= */
/* ==========================================================
   Custom Hero Compact (MultisoftIT Theme Based)
========================================================== */

.hero-compact {
  /* padding: 120px 0; */
  background: linear-gradient(135deg,
      rgba(10, 242, 37, 0.08),
      rgba(24, 42, 201, 0.08));
  position: relative;
  overflow: hidden;
}

/* Decorative Glow Shapes */
.hero-compact::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle,
      rgba(242, 141, 10, 0.25),
      transparent 70%);
  top: -150px;
  right: -150px;
  z-index: 0;
}

.hero-compact::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle,
      rgba(24, 42, 201, 0.25),
      transparent 70%);
  bottom: -120px;
  left: -120px;
  z-index: 0;
}

.hero-compact .container {
  position: relative;
  z-index: 2;
}

/* Badge */
.hero-badge {
  display: inline-block;
  background: var(--ms-primary);
  color: #ffffff;
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 50px;
  font-weight: 500;
  margin-bottom: 20px;
  box-shadow: var(--ms-shadow-sm);
}

/* Title */
.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ms-text-dark);
}

.hero-title span {
  color: var(--ms-primary-dark);
  position: relative;
}

/* Underline highlight */
.hero-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 8px;
  background: rgba(242, 153, 10, 0.3);
  z-index: -1;
  border-radius: 4px;
}

/* Description */
.hero-desc {
  font-size: 18px;
  color: var(--ms-text-muted);
  margin-bottom: 30px;
  max-width: 500px;
}

/* Button override to match theme */
.hero-btn {
  background: var(--ms-primary);
  color: #ffffff;
  padding: 10px 26px;
  border-radius: var(--ms-radius-md);
  font-weight: 500;
  box-shadow: var(--ms-shadow-sm);
  transition: var(--ms-transition);
}

.hero-btn:hover {
  background: var(--ms-primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--ms-shadow-md);
}

/* Illustration */
.hero-illustration-wrap img {
  max-width: 100%;
  animation: msFloat 5s ease-in-out infinite;
}

/* Floating Animation */
@keyframes msFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero-compact {
    text-align: center;
    padding: 80px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-desc {
    margin: 0 auto 25px;
  }
}

/* ================= COURSES ================= */

.ms-course-card {
  background: #ffffff;
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow-sm);
  transition: var(--ms-transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Hover */
.ms-course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ms-shadow-md);
}

/* Shine */
.ms-course-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: var(--ms-transition);
}

.ms-course-card:hover .ms-course-card__shine {
  opacity: 1;
  animation: shine 3s infinite;
}

/* Content */
.ms-course-card__content {
  padding: var(--ms-space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--ms-space-sm);
  height: 100%;
  z-index: 2;
}

/* Badge */
.ms-course-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--ms-success);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* Image */
.ms-course-card__image {
  height: 160px;
  border-radius: var(--ms-radius-md);
  overflow: hidden;
}

.ms-course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ms-transition);
}

.ms-course-card:hover .ms-course-card__image img {
  transform: scale(1.05);
}

/* Text */
.ms-course-card__title {
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.ms-course-card__description {
  font-size: 14px;
  color: var(--ms-text-muted);
  margin: 0;
}

/* Footer */
.ms-course-card__footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ms-course-card__button {
  width: 32px;
  height: 32px;
  background: var(--ms-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--ms-transition);
}

.ms-course-card__button:hover {
  background: var(--ms-primary-dark);
}

/* ========================================
   ANIMATED GRADIENT BORDER (PREMIUM)
======================================== */

.ms-course-card {
  position: relative;
  border-radius: var(--ms-radius-lg);
  background: #ffffff;
  overflow: hidden;
  z-index: 1;
}

/* Gradient Border Layer */
.ms-course-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  /* border thickness */
  border-radius: inherit;
  background: linear-gradient(270deg,
      var(--ms-primary),
      var(--ms-primary-dark),
      var(--ms-primary),
      var(--ms-primary-dark));
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  animation: gradientMove 6s linear infinite;
}

/* Inner white layer */
.ms-course-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #ffffff;
  border-radius: inherit;
  z-index: -1;
}

/* Activate on Hover */
.ms-course-card:hover::before {
  opacity: 1;
}

/* Animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 400% 50%;
  }
}


/* =================== Winner section ================== */
.winners-section {
  padding: 80px 0;
  background: var(--light);
}

.section-title {
  text-align: center;
  font-weight: 700;
  margin-bottom: 50px;
}

/* ==========================================
   MS WINNER CARD COMPONENT
========================================== */

.ms-winner-card {
  position: relative;
  background: #ffffff;
  height: 300px;
  border-radius: var(--ms-radius-lg);
  padding: var(--ms-space-lg);
  text-align: center;
  box-shadow: var(--ms-shadow-sm);
  transition: var(--ms-transition);
  overflow: hidden;
  z-index: 1;
}

/* ---------- Animated Gradient Border ---------- */

/* .ms-winner-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    270deg,
    var(--ms-primary),
    var(--ms-primary-dark),
    var(--ms-primary),
    var(--ms-primary-dark)
  );
  background-size: 400% 400%;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: msGradientMove 6s linear infinite;
  z-index: -1;
}

.ms-winner-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #ffffff;
  border-radius: inherit;
  z-index: -1;
} */

/* Hover Effects */
.ms-winner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ms-shadow-md);
}

/* .ms-winner-card:hover::before {
  opacity: 1;
} */

/* ==========================================
   IMAGE
========================================== */

.ms-winner-card__image {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--ms-space-md);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--ms-primary);
  transition: var(--ms-transition);
}

.ms-winner-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ms-transition);
}

.ms-winner-card:hover .ms-winner-card__image {
  transform: scale(1.05);
}

/* ==========================================
   TEXT
========================================== */

.ms-winner-card__name {
  font-weight: 600;
  font-family: var(--ms-font-heading);
  color: var(--ms-text-dark);
  margin-bottom: 6px;
}

.ms-winner-card__role {
  font-size: 14px;
  color: var(--ms-text-muted);
}

.ms-winner-card__role span {
  display: block;
  font-weight: 500;
  color: var(--ms-text-dark);
  margin-top: 4px;
}

/* ==========================================
   ANIMATION
========================================== */

@keyframes msGradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ==========================================
   MS ABOUT SECTION
========================================== */

.ms-about-section {
  padding: var(--ms-space-xxl) 0;
  background: var(--ms-bg-light);
}

/* Section Title */
.ms-section-title {
  font-family: var(--ms-font-heading);
  font-weight: 600;
  font-size: 2.2rem;
  color: var(--ms-text-dark);
  position: relative;
  display: inline-block;
}

.ms-section-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background: var(--ms-primary);
  display: block;
  margin: 12px auto 0;
  border-radius: 4px;
}

/* ==========================================
   IMAGE
========================================== */

.ms-about__image {
  position: relative;
  display: inline-block;
  border-radius: var(--ms-radius-lg);
  overflow: hidden;
  box-shadow: var(--ms-shadow-md);
  transition: var(--ms-transition);
}

.ms-about__image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.ms-about__image:hover {
  transform: translateY(-8px);
}

/* ==========================================
   CONTENT
========================================== */

.ms-about__content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ms-text-muted);
}

.ms-about__content strong {
  font-size: 1.2rem;
  color: var(--ms-text-dark);
}

/* ================= Hiring Section ================= */
/* ================= Slider Logic Only ================= */

.slider {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #ffffff;
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scroll-left 35s linear infinite;
}

.slider:hover .slide-track {
  animation-play-state: paused;
}

.slide {
  width: 220px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  max-height: 80px;
  object-fit: contain;
  transition: var(--ms-transition);
}

/* Infinite scroll */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .slide {
    width: 160px;
    height: 140px;
  }

  .slide-track {
    animation-duration: 20s;
  }
}





/* ================= RECOGNITION SECTION ================= */

.recognition-card {
  overflow: hidden;
  padding: 0;
}

.recognition-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--ms-transition);
}

.recognition-card:hover img {
  transform: scale(1.08);
}

.ms-card img {
  transition: var(--ms-transition);
}

.ms-card:hover img {
  transform: scale(1.05);
}

/* ================= FOOTER ================= */

.footer-area {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #cbd5f5;
  font-size: 14px;
}

.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo */
.footer-logo img {
  max-width: 180px;
  transition: transform 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
}

/* Text */
.footer-desc {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Widget title */
.footer-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
}

/* Footer list */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 10px;
}

.footer-list a {
  color: #cbd5f5;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-list a i {
  font-size: 14px;
  color: #6366f1;
}

.footer-list a:hover {
  color: var(--ms-primary);
  transform: translateX(4px);
}

/* Support box */
.footer-call-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 14px;
  border-radius: 12px;
}

.footer-call-content i {
  font-size: 28px;
  color: var(--ms-primary);
}

.footer-call-content h5 {
  font-size: 14px;
  margin: 0;
  color: #ffffff;
  font-weight: 600;
}

.footer-call-content a {
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

/* Newsletter */
.newsletter-form {
  position: relative;
}

.newsletter-form input {
  background: #020617;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 30px;
  padding: 10px 44px 10px 16px;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: linear-gradient(45deg, var(--ms-primary), #6366f1);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Social */
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 50%;
  margin-right: 8px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: var(--ms-primary);
  transform: translateY(-4px);
}

/* Copyright */
.copy-right-area {
  padding: 16px 0;
  color: #94a3b8;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-widget {
    text-align: center;
  }

  .footer-call-content {
    justify-content: center;
  }

  .newsletter-form {
    max-width: 300px;
    margin: auto;
  }
}



/* ============CONTACT PAGE ======================*/
.page-hero {
  background-image: url(../img/bg1.jpg);
}

.page-hero .container {
  position: relative;
  z-index: 10;
  color: var(--font-heading);
}

.page-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  opacity: .7;
  background: #2120208d;
  z-index: 1;
}

.contact-section {
  background: var(--light);
}

.contact-card,
.info-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  height: 100%;
  min-height: 520px;
  /* adjust as needed */
}


.form-control,
.input-group-text {
  border-radius: 12px;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .15);
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.info-item i {
  font-size: 1.8rem;
  color: var(--secondary);
}

.info-item h5 {
  margin-bottom: .25rem;
  font-weight: 600;
}

.info-item p,
.info-item a {
  margin: 0;
  color: #6c757d;
  text-decoration: none;
}

.info-item a:hover {
  color: var(--secondary);
}


/* =================================
LOGIN PAGE
================================= */

.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg,
      var(--ms-primary),
      var(--ms-primary-dark));
}

.login-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--ms-radius-lg);
  box-shadow: var(--ms-shadow-lg);
}

.login-card h3 {
  font-family: var(--ms-font-heading);
}

.login-illustration {
  max-width: 90%;
}

.ms-input {
  border-radius: var(--ms-radius-sm);
  padding: 12px 15px;
}

.ms-input:focus {
  border-color: var(--ms-primary);
}

.login-card a {
  font-size: 14px;
}

.home-link {
  color: var(--ms-primary);
  text-decoration: none;
}

.home-link {
  color: var(--ms-primary);
  text-decoration: none;
}

.home-link:hover {
  color: var(--ms-primary-dark);
}



/* ================= Admission FORM CONTAINER ================= */

.admission_page {
  background: #fff;
  padding: 40px;
  border-radius: var(--ms-radius);
  box-shadow: var(--ms-shadow);
}

/* Form Heading */
.form-title {
  text-align: center;
  color: var(--ms-primary);
  font-weight: 700;
  margin-bottom: 30px;
}

/* Section Titles */
.section-title {
  background: var(--ms-primary);
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  margin: 30px 0 20px;
}

/* Inputs */
.form-control {
  border-radius: 6px;
  padding: 10px;
}

.form-control:focus {
  border-color: var(--ms-primary);
  box-shadow: 0 0 0 2px rgba(240, 104, 26, 0.2);
}


/* =================================== */
/* NOTICE CONTAINER */
.announcement-bar {
  background: var(--ms-primary);
  color: #fff;
  position: sticky;
  top: calc(var(--navbar-height, 90px));
  /* navbar height */
  z-index: 999;
  border-radius: 0;
}

.notice-scroll {
  white-space: nowrap;
  display: inline-block;
  animation: noticeMove 30s linear infinite;
}

.notice-scroll span {
  margin-right: 80px;
}

.notice-scroll:hover {
  animation-play-state: paused;
}

@keyframes noticeMove {
  from {
    transform: translateX(100%)
  }

  to {
    transform: translateX(-100%)
  }
}


        /* NOTICE CONTAINER */

        .notice-container {
            max-width: 900px;
            margin: 40px auto;
            background: #fff;
            padding: 30px;
            border-radius: var(--ms-radius);
            box-shadow: var(--ms-shadow);
        }

        .notice-title {
            text-align: center;
            color: var(--ms-primary);
            margin-bottom: 30px;
        }

        /* NOTICE CARD */

        .notice {
            border-left: 5px solid var(--ms-primary);
            background: #fafafa;
            padding: 15px 20px;
            margin-bottom: 15px;
            border-radius: 6px;
        }

        .notice-date {
            font-size: 13px;
            color: gray;
        }

        .notice-text {
            font-weight: 500;
        }