body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #2a3b61, #0f1f33);
   color: #111827;
    padding-top: 90px;
}
body::before{
content:"";
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background: linear-gradient(to right, #1e293b, #0f172a);
z-index:-1;
}
/* ===============================
   NAVBAR FIXED (FINAL)
================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 11vh;
     background: linear-gradient(to right, #2a3b61, #0f1f33);
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        backdrop-filter: blur(10px);

}
#header-list a {
    position: relative;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    font-size: 13px;
}

#header-list a:not(.bg-blue-600)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 1px;
    background-color: #628ce7;
    transition: width 0.3s ease;
}

#header-list a:hover::after {
    width: 100%;
}
 
/* ===============================
   HOVER EFFECTS
================================= */

.box,
.feature-card,
.course-item,
.logo-box {
    transition: all 0.3s ease;
    cursor: pointer;
}


/* ===============================
   LOGO BOX
================================= */

.logo-box {
    width: 40px;
    height: 40px;
    background-color: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 6px;
    font-size: 20px;
}

/* ===============================
   PORTAL TITLE
================================= */

.portal-title {
    font-weight: 600;
    font-size: 10px;
    color: #1e3a8a;
}

/* ===============================
   MAIN HEADING
================================= */

.main-heading {
    font-size: 50px;
    font-weight: 800;
    color: #041b5a;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

/* ===============================
   MOVING TEXT (Fixed Width Loop)
================================= */

@keyframes moveText {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===============================
   DIVIDER
================================= */

.divider {
    width: 100px;
    height: 4px;
    background-color: #2563eb;
    margin: 0 auto 30px auto;
    border: none;
}

/* ===============================
   SEARCH BOX
================================= */

.search-box {
    position: relative;
    max-width: 500px;
    margin: auto;
}

.search-input {
    width: 100%;
    padding: 14px 40px;
    border-radius: 50px;
    border: 1px solid #ccc;
    outline: none;
     background: linear-gradient(to right, #2a3b61, #0f1f33);
    font-size: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
      color: #fff;
}

.search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}
.search-input::placeholder {
  color: #fff;
}

.light-mode .search-input::placeholder {
  color: black;
}
/* search icon inside input */
.search-icon {
    position: absolute;
    left: 15px;
    top: 19px;
    color: white;
}
.light-mode .search-icon{
    color: black;
}

/* ===============================
   COURSE DROPDOWN
================================= */

.course-dropdown {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
      background: linear-gradient(to right, #2a3b61, #0f1f33);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    padding: 6px 0;
}


.course-dropdown .box {
    padding: 0;
}

.course-dropdown .dropdown-title {
    display: none;
}

.course-dropdown .course-item {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 15px;
    color: #fff;
    border-radius: 0;
    transition: background 0.15s ease;
}
.course-dropdown .course-item:hover {
      background: linear-gradient(to right, #2a3b61, #206cc9);
}

/* ===============================
         (NAVBAR)
================================= */



/* ===============================
   FEATURE SECTION
================================= */

.features-section {
    max-width: 900px;
    margin: auto;
    padding: 50px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    position: relative;
    transition: all 0.3s ease;
    min-height: 110px;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
 
.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: linear-gradient(145deg, #1e3a8a, #0f172a);
    box-shadow: 
        0 12px 30px rgba(59, 130, 246, 0.25),
        0 0 10px rgba(59, 130, 246, 0.15);
}

/* ICON */
.feature-icon {
    font-size: 24px;
    color: #a855f7;  /* 🔥 Premium violet */
    margin-top: 3px;
}

/* TEXT */
.feature-card h4 {
    color: #e2e8f0;
    font-size: 16px;
    font-weight: 600;
}

.feature-card p {
    color: #94a3b8;
    font-size: 14px;
}
 
/* Review Popup */
.review-popup {
  display: none;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.4);
}

/* Popup box */
.popup-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  position: relative;
}
.features-section h3{
    color: #fff;
}
.features-section p{
    color: #fff;
}
/* Star Rating */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}

.star {
  cursor: pointer;
  font-size: 2.5rem;
  color: #ccc;
  transition: all 0.3s;
}

.star.selected,
.star.hover {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.4);
  filter: drop-shadow(0 0 5px rgba(236,72,153,0.7));
}

/* Review Slider Container */
.review-slider {
    overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.review-track {
    display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLoop 20s linear infinite;
}

/* Review Card */
.review-card {
  min-width: 300px;
  max-width: 350px;
  margin: 0 15px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  word-wrap: break-word;
  word-break: break-word;
  font-size: 1.1rem;
  line-height: 1.5;
}
@keyframes scrollLoop {
  0% {
    transform: translateX(0%); /* start from right */
  }
  100% {
    transform: translateX(-100%); /* move to left */
  }
}

@media (max-width: 900px) {
    
.review-track {
    display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollLoop 20s linear infinite;
}
  @keyframes scrollLoop {
  0% {
    transform: translateX(0%); /* start from right */
  }
  100% {
    transform: translateX(-100%); /* move to left */
  }
}
}
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* Delete Button */
.review-card button.delete-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgb(199, 198, 198);
  color: #fff;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Bounce Animation */
@keyframes bounceIn {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

/*mission part */



.mission-section h3 {
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission-section p {
  line-height: 1.6;
  font-weight: 500;
}

.mission-section .inline-block {
  transition: transform 0.3s, box-shadow 0.3s;
}

.mission-section .inline-block:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

.footer {
    text-align: center;
    background: #f3f4f6;
    padding: 50px 20px;
}

.free-badge {
    background: #dcfce7;
    color: #15803d;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.footer h4 {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: #9ca3af;
}

.footer p {
    font-size: 22px;
    color: #1e3a8a;
    font-style: italic;
    font-weight: 500;
}

/* ===============================
   ANIMATIONS
================================= */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#changingText {
    transition: opacity 0.5s ease-in-out;
}

.footer{
background:#f7f7f7;
padding:50px 80px;
font-family:Arial;
}

.footer-container{
display:flex;
justify-content:space-between;
}

.footer-col{
width:30%;
}

.footer-col h3{
margin-bottom:15px;
}

.footer-col ul a{
list-style: none;
padding:0;
}

.footer-col ul li{
margin:8px 0;
}

.footer-col ul li a{
text-decoration:none;
color:#333;
}

.footer-col ul li a:hover{
color:#0077ff;
}

.logo{
color:#0a192f;
}


.copyright{
font-size:12px;
margin-top:25px;
}


/* Mobile all code */
/* Footer code */

/* ===============================
   RESPONSIVE MENU
================================= */

#menuBtn {
    display: none;
}

@media (max-width: 1024px) {
     .navbar {
        padding: 15px;
    }

    body {
        padding-top: 80px;
    }

    #menuBtn {
        display: block;
        color: #fff;
    }
   #header-list a {
    font-weight: 600;
    font-size: 15px;
}

    #header-list {
        display: none;
    }
}



/* Light mode dark mode */

body.light-mode {
  background: #ffffff;
}
body.light-mode::before {
  display: none;
}
.light-mode .navbar {
  background: #ffffff;
  color: black;
}
.light-mode #header-list a{
    color: black;
}

/* Review section */
.light-mode .review-section {
  background: #f9fafb;
   color: black;
}

/* Feature cards */
.light-mode .feature-card {
  background: #ffffff;
  color: #111827;
}

/* Inputs */
.light-mode input,
.light-mode textarea {
  background: #ffffff;
  color: #111827;
}

.feature-section-text h3 {
    color: #f1f5f9;   
}

.feature-section-text p {
    color: #94a3b8;   
}
.light-mode #menuBtn {
    color: black;
}
.light-mode .feature-section-text h3{
    color: black;
}
.light-mode .feature-section-text p{
    color: black;
}
#sunIcon {
    color: black;
}
#moonIcon{
    color: white;
}

/* Mobile bar bottom line styling */
.nav-link {
  position: relative;
  display: inline-block; 
  width: fit-content;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, #60a5fa, #a78bfa);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}


/* ===== COUNTER SECTION ===== */
.counters {
    padding: 60px 20px;
    background: linear-gradient(135deg, #2563eb, #1e3a8a);
    color: #fff;
    text-align: center;
}

/* Grid Layout */
.counters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 100%;
    margin: auto;
}

/* Individual Counter */
.counter {
    position: relative;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Hover effect */
.counter:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Number */
.counter h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Label */
.counter h3 {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* Divider line */
.counter:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 50px;
    background: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 900px) {
    .counters {
        grid-template-columns: repeat(2, 1fr);
    }

    .counter::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .counters {
        grid-template-columns: 1fr;
    }

    .counter h1 {
        font-size: 32px;
    }
}



