.container {
            max-width: 1500px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Header Section */
        .header-section {
            padding: 4rem 0 2rem;
            text-align: center;
        }
        .header-title {
            font-size: 2.5rem;
            font-weight: 800;
            color: #ffffff;
            margin-bottom: 0.5rem;
            background: linear-gradient(to right, #e51adb, #e51adb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .header-subtitle {
            font-size: 1rem;
            color: #e51adb;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Stats Section */
        .stats-section {
            display: flex;
            gap: 4rem;
            margin-top: 2rem;
            justify-content:center;
        }
        .stat-item {
            background-color: #fff;
            padding: 1.5rem;
            border-radius: 0.75rem;
            text-align: center;
            border: 1px solid #2d2e3d;
            width: -webkit-fill-available;
        }
        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            color: #000;
            margin-bottom: 0.25rem;
        }
        .stat-text {
            font-size: 0.875rem;
            color: #000;
        }

       .course-section {
  /*padding: 60px;*/
  /*max-width: 1200px;*/
  margin: auto;
  /*margin-top:20px;*/
}

/* Search + Filter Bar */
.search-filter {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.search-filter input {
  flex: 1;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #1e293b;
  color: #fff;
}

.search-filter button {
  background: #1e293b;
  color: #fff;
  border: 1px solid #444;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
}

.search-filter button:hover {
  background: #334155;
}

/* Style for the mega menu container */
.mega-menu-dropdown {
  display: none;
  position: absolute;
  background: #111a2b;
  padding: 20px;
  border: 1px solid #333;
  border-radius: 8px;
  margin-top: 10px;
  z-index: 1000;
  width: 650px; /* New: Increased width for columns */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* New: Add a subtle shadow */
}

.mega-menu-dropdown.active {
  display: block;
}

/* Flexbox container for the columns */
.mega-menu-content {
  display: flex;
  justify-content: space-between; 
  gap: 30px; 
}

/* Style for each column */
.mega-menu-column {
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}


.mega-menu-dropdown h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #fff;
  white-space: nowrap; 
}

.mega-menu-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px;
  margin: 3px 0;
  background: #1e2a3a;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s ease;
}

.mega-menu-dropdown button:hover {
  background: #3a4b66;
}

/* Course list grid */
.course-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom:30px;
}

.course-card {
  background: #1a2235;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 320px;   /* keeps cards small */
  margin: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* lighter shadow */
  transition: transform 0.2s ease;
  will-change: transform;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.course-card img {
  width: 100%;
  height: auto;   /* keeps original proportion */
  display: block;
}

.card-content {
  padding: 15px;
  text-align: center;
}

.card-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
}


.course-details {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  font-size: 14px;
  color: #ccc;
}

.course-details li {
  font-size: 14px;
  margin-bottom: 6px;
}

.enroll-btn {
  display: block;
  padding: 10px;
  background: #e51adb;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}


.enroll-btn:hover {
  background: #e51adb;
  color:#fff;
}