@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
  color: white;
  overflow-x: hidden;
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65); /* increased from 0.4 to 0.65 */
  backdrop-filter: blur(6px);
  z-index: -1;
}


/* Navbar */
.header {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  z-index: 100;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo i {
  font-size: 28px;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 30px;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links a i {
  font-size: 20px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: #00e6e6;
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover {
  color: #00e6e6;
  transform: scale(1.05);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover {
  color: #00e6e6;
  transform: scale(1.1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* === Courses Section ============================================================= */
.course-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 100px;
  justify-items: center;
  align-items: stretch;
}

.course-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: transparent;
  border-radius: 15px;
  backdrop-filter: blur(20px);
  color: white;
  box-shadow: 0 0 12px rgba(0, 230, 230, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  min-height: 350px;
  width: 100%;
  max-width: 350px;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 14px rgba(0,230,230,0.4);
}

.course-card h2 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 20px;
}

.card-content {
  margin-top: auto;
}
.course-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;  /* shows full image without cropping */
  border-radius: 20px;
  margin-bottom: 10px;
  background-color: transparent; 
  backdrop-filter: blur(20px);/* optional: fills empty space around image */
}


/* === Buttons === */
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45%;
  height: 40px;
  background: transparent;
  color: #00e6e6;
  font-weight: 600;
  border: 2px solid #00e6e6;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  line-height: 36px;
  transition: color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Glow hover background animation */
.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: #00e6e6;
  opacity: 0;
  z-index: -1;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.btn:hover {
  color: white;
  box-shadow: 0 0 8px #00e6e6, 0 0 16px #00e6e6;
}

.btn:hover::before {
  opacity: 0.15;
}

.btn-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  gap: 10px;
}

.btn-group .btn {
  flex: 1;
  font-size: 14px;
  padding: 10px 0;
}

