/* ==============================================
   GLOBAL STYLES & RESETS
   ============================================== */

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F5F7F8;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 160px;
}

img {
  image-rendering: optimizeQuality;
  -ms-interpolation-mode: bicubic;
}

/* ==============================================
   NAVIGATION
   ============================================== */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
  background: transparent;
  padding: 0 1rem;
  transition: all 0.4s ease;
  transform: translateZ(0);
  will-change: background-color, box-shadow;
}

.navbar.sticky {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar.sticky ~ main {
  padding-top: 30px;
}

.navbar-brand img {
  height: 160px;
  transition: height 0.4s ease;
  image-rendering: optimizeSpeed;
}

.navbar.sticky .navbar-brand img {
  height: 130px;
}

.navbar-nav {
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 600;
  padding: 6px 12px;
  color: #333 !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2e3192 !important;
}

.btn-login {
  background-color: #2e3192;
  color: white;
  padding: 6px 14px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.btn-login:hover {
  background-color: #1f236e;
  color: #ffc107;
}

/* Offcanvas Menu */
.offcanvas.offcanvas-end {
  height: 100vh;
}

.offcanvas-header {
  border-bottom: 1px solid #ddd;
}

.offcanvas-body {
  overflow-y: auto;
  max-height: calc(100vh - 56px);
}

.offcanvas-body .nav-link {
  display: block;
  padding: 10px 0;
  font-weight: 500;
}

.offcanvas-body .btn-login {
  width: 100%;
  margin-top: 20px;
}

/* ==============================================
   MAIN CONTENT
   ============================================== */

main {
  flex: 1;
  width: 100%;
}

/* ==============================================
   HERO SECTION
   ============================================== */

#hero-section {
  position: relative;
  height: 100vh;
  background-color: #f5f7f8;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 90px;
  contain: layout style paint;
}

.diagonal-bg {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  z-index: 0;
  transform: translateZ(0);
}

.diagonal-bg svg {
  height: 100%;
  width: 100%;
  transform: scaleX(-1) translateZ(0);
}

.background-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  contain: layout;
}

.background-decor img {
  position: absolute;
  width: 100px;
  opacity: 0.12;
  transform: translateZ(0);
  will-change: transform;
}

@keyframes zoom {
  0%, 100% {
    transform: scale(1) translateZ(0);
  }
  50% {
    transform: scale(1.15) translateZ(0);
  }
}

.img1 {
  top: 5%;
  left: 5%;
  animation: zoom 6s ease-in-out infinite;
  animation-delay: 0s;
}

.img2 {
  top: 20%;
  right: 10%;
}

.img3 {
  bottom: 10%;
  left: 8%;
  animation: zoom 6s ease-in-out infinite;
  animation-delay: 0.6s;
}

.img4 {
  bottom: 15%;
  right: 5%;
}

.img5 {
  top: 40%;
  left: 45%;
  animation: zoom 6s ease-in-out infinite;
  animation-delay: 1.2s;
}
.text-md-start{
  margin-bottom: 150px;
}

.student-image {
  width: 360px;
  height: 360px;
  border: 10px solid #7c3aed;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.4s ease;
  transform: translateZ(0);
  will-change: transform;
  margin-bottom: 200px;
}

.student-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  image-rendering: optimizeQuality;
}

.hero-subtext {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  cursor: default;
  transition: color 0.3s ease;
}

.hero-subtext:hover {
  color: #2e3192 !important;
}

/* ==============================================
   BENEFITS SECTION
   ============================================== */

.benefits-section {
  position: relative;
  padding: 80px 20px;
  z-index: 1;
  background-image: url('/static/image/Homebg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  contain: layout style;
}

.benefits-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
  transform: translateZ(0);
}

.benefits-section .container {
  position: relative;
  z-index: 2;
}

.benefits-section .section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 60px;
  color: #ffffff;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: linear-gradient(135deg, rgba(46, 49, 146, 0.1), rgba(255, 255, 255, 0));
  transform: rotate(15deg) translateZ(0);
  transition: all 0.5s ease;
  z-index: 0;
}

.benefit-card:hover {
  transform: translateY(-10px) translateZ(0);
}

.benefit-card i.icon {
  position: relative;
  font-size: 40px;
  margin-bottom: 20px;
  z-index: 1;
  transition: transform 0.3s ease;
  transform: translateZ(0);
}

.benefit-card:hover i.icon {
  transform: scale(1.2) rotate(5deg) translateZ(0);
}

.benefit-card h5 {
  position: relative;
  font-size: 1.2rem;
  font-weight: 700;
  color: #2e3192;
  margin-bottom: 10px;
  z-index: 1;
}

.benefit-card p {
  position: relative;
  font-size: 0.95rem;
  color: #333;
  z-index: 1;
}

/* ==============================================
   ROLE MODULES SECTION
   ============================================== */

.role-modules-section {
  background-color: #f5f5ff;
  contain: layout style;
}

.role-modules-section .section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 60px;
  color: #2e3192;
}

.role-card {
  height: 100%;
  background: #f9f9fb;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  cursor: default;
  transition: transform 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.role-card:hover {
  transform: translateY(-8px) translateZ(0);
}

.role-card i.icon {
  font-size: 40px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  transform: translateZ(0);
}

.role-card:hover i.icon {
  transform: scale(1.2) rotate(4deg) translateZ(0);
}

.role-card h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #2e3192;
}

.role-card p {
  color: #555;
  font-size: 0.95rem;
}

/* ==============================================
   CORE FEATURES SECTION
   ============================================== */

.core-features-section {
  position: relative;
  background-color: #eef1f6;
  padding: 100px 20px;
  overflow: hidden;
  z-index: 1;
  contain: layout style;
}

.core-features-section .section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #2e3192;
  margin-bottom: 60px;
}

.features-bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout;
}

.features-bg-decor .blob {
  position: absolute;
  width: 300px;
  height: auto;
  opacity: 0.08;
  z-index: 0;
  transform: translateZ(0);
}

.features-bg-decor .top-right {
  top: -50px;
  right: -50px;
}

.features-bg-decor .bottom-left {
  bottom: -50px;
  left: -50px;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: 0 20px;
}

.timeline::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  background-color: #2e3192;
  transform: translateX(-50%) translateZ(0);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 30px 20px;
  transform: translateZ(0);
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #2e3192;
  border: 4px solid white;
  z-index: 3;
  transform: translateZ(0);
}

.timeline-item.left::before {
  right: -13px;
}

.timeline-item.right::before {
  left: -13px;
}

.timeline-item .content {
  position: relative;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  z-index: 2;
  transform: translateZ(0);
  will-change: transform;
}

.timeline-item .icon {
  font-size: 30px;
  color: #2e3192;
  margin-bottom: 10px;
}

.timeline-item h4 {
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 0.95rem;
  color: #555;
}

/* ==============================================
   DASHBOARD TABS
   ============================================== */

.dashboard-tabs .nav-link {
  border-radius: 50px;
  font-weight: 600;
  background-color: #e0e7ff;
  color: #2e3192;
  margin-right: 10px;
  transition: all 0.3s ease;
  transform: translateZ(0);
}

.dashboard-tabs .nav-link.active {
  background-color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.floating-box {
  animation: float 3s ease-in-out infinite;
  transform: translateZ(0);
  will-change: transform;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateZ(0);
  }
  50% {
    transform: translateY(-10px) translateZ(0);
  }
}

/* ==============================================
   REPORTS SECTION
   ============================================== */

.reports-section {
  position: relative;
  background-color: #fff;
  padding: 100px 20px;
  z-index: 1;
  contain: layout style;
}

.reports-section .section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #2e3192;
  margin-bottom: 10px;
}

.reports-section .section-subtext {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #555;
  font-size: 1rem;
  font-weight: 500;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.report-card {
  position: relative;
  background: #f8f9fb;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.report-card:hover {
  transform: translateY(-8px) translateZ(0);
}

.report-card img {
  height: 80px;
  margin-bottom: 20px;
  image-rendering: optimizeQuality;
}

.report-card h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2e3192;
  margin-bottom: 10px;
}

.report-card p {
  font-size: 0.95rem;
  color: #555;
}

.reports-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-report-demo {
  display: inline-block;
  background-color: #2e3192;
  color: white;
  padding: 12px 26px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease;
  transform: translateZ(0);
  will-change: transform;
}

.btn-report-demo:hover {
  background-color: #1f236e;
}

/* ==============================================
   NOTIFICATIONS SECTION
   ============================================== */

.notifications-section {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa, #e2e6f0);
  padding: 100px 20px;
  overflow: hidden;
  contain: layout style;
}

.notifications-section .section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  color: #2e3192;
  margin-bottom: 10px;
}

.notifications-section .section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 60px;
}

.notification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.notification-card {
  position: relative;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.4s ease;
  transform: translateZ(0);
  will-change: transform;
}

.notification-card:hover {
  transform: translateY(-10px) translateZ(0);
}

.icon-wrapper {
  background: #2e3192;
  color: #fff;
  font-size: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  transform: translateZ(0);
}

.notification-card h5 {
  font-size: 1.2rem;
  color: #2e3192;
  margin-bottom: 10px;
  font-weight: 600;
}

.notification-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ==============================================
   SUCCESS STORIES
   ============================================== */

#success-stories .carousel-item {
  transition: transform 1s ease-in-out;
}

#success-stories img:hover {
  transform: scale(1.05);
  border: 3px solid #2e3192;
  transition: 0.4s ease;
}

/* ==============================================
   FOOTER
   ============================================== */

footer.footer {
  margin-top: auto;
}

.footer-logo {
     height: 100px;
    margin-right: 10px;
    margin-left: -23px;
  
  
}

footer a.text-light:hover i {
  color: #ffc107;
  text-decoration: underline;
}

footer .social-icons a:hover i {
  color: #ffc107;
  transform: scale(1.2) translateZ(0);
  transition: all 0.3s ease;
}

/* ==============================================
   RESPONSIVE MEDIA QUERIES
   ============================================== */

@media (min-width: 992px) {
  .navbar-nav.flex-row {
    gap: 100px;
  }

  .student-image {
    width: 460px;
    height: 460px;
  }

  .btn-login-desktop {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .btn-login-desktop {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .student-image {
    width: 520px;
    height: 520px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 130px;
  }

  .navbar.sticky ~ main {
    padding-top: 20px;
  }

  .navbar-brand img {
    height: 100px;
  }

  .nav-link {
    font-size: 16px;
    padding: 4px 10px;
  }

  h1.fw-bold {
    font-size: 2.5rem !important;
  }

  .hero-subtext {
    font-size: 14px;
  }

  #hero-section .container {
    flex-direction: column;
    text-align: center;
  }

  .student-image {
    width: 280px;
    height: 280px;
    margin-top: 2rem;
  }

  .background-decor img {
    width: 60px;
    opacity: 0.07;
  }

  .diagonal-bg svg {
    height: 60%;
  }

  .benefits-section {
    padding: 60px 10px;
  }

  .benefits-section .section-title,
  .reports-section .section-title {
    font-size: 2rem;
  }

  .benefit-card,
  .report-card {
    padding: 25px 15px;
  }

  footer .col-md-4 {
    text-align: center;
  }

  .footer-logo {
    height: 100px;
    margin-right: 0;
    margin-left: 0;
  }

  .timeline::after {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 30px;
    padding-right: 10px;
    margin-bottom: 40px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item.left::before,
  .timeline-item.right::before {
    left: 0;
  }
  .text-md-start{
    margin-bottom: 80px;
  }
  .student-image {
    margin-bottom: 190px;
  }
}
.carousel-control-prev,
.carousel-control-next {
  display: none;
}
