body{
  font-family: "Inter",sans-serif;
  background: #f6f6f6;
  margin: 0;
  padding: 0;
}
.hero-section{
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  background-image: url("/Images/test-img.png");
  background-size: cover;
  background-position: center;
  min-height: 70vh;
  position: relative;
}
.hero-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  --webkit-backdrop-filter:blur(15px);
  z-index: 0;
}
.hero-section-div{
  margin: 0;
  padding: 0;
  z-index: 1;
  position:relative;
  justify-content: center;
  align-content: center;
  width: 80vh;
  padding: 1.5em;
  vertical-align: middle;
  flex-wrap: wrap;
}
.hero-header-wrapper{
  margin-bottom: 1.5em;
}
.hero-section-header{
  font-weight: 700;
  font-size: 3.5rem;
  text-align: center;
  color: white;
}
.hero-section-subheader{
  font-weight: 400;
  font-size: 20px;
  color: lightgrey;
  text-align: center;
}
.course-cards-section{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem 3rem;
  background: linear-gradient(180deg, #e8ebf0 0%, #dde1e8 100%);
}
.course-heading{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  line-height: 1.2;
  text-align: center;
}
.course-heading-wrapper{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.course-heading-icon{
  font-size: 3em;
  color: #743dbb;
  text-align: center;
  margin: 0;
  padding: 0;
  margin-top: 1em;
  padding-right: 0.5em;
}
.course-section-subheading{
  color: grey;
  width: 80vh;
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 1em;
}
.course-section-heading{
  font-weight: 700;
  text-align: center;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.courses-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0 2rem;
  justify-content: center;
  justify-items: center;
  align-items: stretch;
}

/* wrapper handles the glow border */
.course-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  border-radius: 2em;
  z-index: 0;
  aspect-ratio: 1/1.1;
}
.course-card-wrapper::before,
.course-card-wrapper::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  background: linear-gradient(
    45deg,
    #FD7E87, #FEB95A, #743dbb,
    #FD7E87, #FEB95A, #743dbb,
    #FD7E87, #FEB95A, #743dbb
  );
  background-size: 400%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: gradient-border 10s linear infinite;
}
.course-card-wrapper::after {
  filter: blur(20px);
}
.course-card-wrapper:hover::before,
.course-card-wrapper:hover::after {
  opacity: 1;
  transition: opacity 0.4s ease;
}
.course-card-wrapper:not(:hover)::before,
.course-card-wrapper:not(:hover)::after {
  opacity: 0;
  transition: opacity 0.15s ease;
}
@keyframes gradient-border {
  0%   { background-position: 0 0; }
  50%  { background-position: 300% 0; }
  100% { background-position: 0 0; }
}

.course-card{
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 420px;
  max-width: 300px;
  height: 100%;
  margin: 0;
  padding: 2.5em;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 2em;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(116, 61, 187, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.course-card:hover{
  transform: translateY(-6px);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.05),
    0 14px 28px rgba(0, 0, 0, 0.1),
    0 28px 56px rgba(0, 0, 0, 0.09),
    0 0 0 1px rgba(116, 61, 187, 0.08),
    0 12px 32px rgba(116, 61, 187, 0.12);
}
.course-logo{
  height: 120px;
  width: 120px;
  object-fit: contain;
}
.course-card .course-heading{
  display: block;
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.5em;
}
.course-card-heading-wrapper{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.course-card-btn-wrapper{
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.course-card-logo-wrapper{
  padding: 1.5em;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course-sub-heading{
  color:grey;
  text-align: center;
  margin-bottom: 1.5em;
}
.course-contact-us-btn{
  background-color: #ffffff;
  color:#743dbb;
  padding: 0.8em;
  font-size: 1.0em;
  font-weight: 700;
  border-radius: 1.5em;
  border-color: #743dbb;
  border-style: solid;
  border-width: 0.2em;
}
.course-contact-us-btn:hover{
  color: white;
  background-color: #743dbb;
  box-shadow: 0 1em 5em 0.1em rgba(80, 43, 139, 0.5);
  transform: translateY(-5px);
  transition: color 50ms ease-in, background-color 0.5s ease;
  transition: transform 0.2s ease-in-out;
}