/* GENERAL RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #09075e;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  height: 80px;
}
/* --- Courses Section --- */
.courses {
  padding: 60px 20px;  
  text-align: center;
}
#courses h2 {
  font-size: 32px;  
  padding: 0 20px;
  color:rgb(86, 85, 85);
}
#courses p{
  font-size: 18px;
  padding: 0 20px;
  color: gray;
  
}
.course-grid {
  display: flex;
  flex-wrap: wrap;  
  gap: 20px;  
}
.course-card {
  flex-grow: 1;
  width: 400px;
  background: rgb(226, 231, 240);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.course-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #333;
}
.course-card p {
  font-size: 15px;
  margin-bottom: 15px;
  color: #565656;
}
.course-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.course-card a {
  display: inline-block;
  padding: 10px 20px;
  background: #121212;
  color: rgb(249, 246, 246);
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}
.course-card a:hover {
  background: #ffaa00;
}
.learn-btn{
  float: right;
}
@keyframes textGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.text-animate {
  background: linear-gradient(270deg, #ff6a00, #ee0979, #43cea2, #185a9d);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradient 3s linear infinite;
}


