/* ================= TUTORIALS SECTION ================= */
body {
    font-family: Arial, sans-serif;
    background: url("course.avif") no-repeat center/cover;
    color: white;
    margin: 0;
    padding: 0;
}

h1{
    text-align: center;
    margin-top: 150px;
    font-size: 35px;
}

.tutorials-section {
  display: flex;
  text-align: center;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 50px;
  width: 100%;
}

.tutorials-section h2 {
    margin-bottom: 30px;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
}

.tutorial-card {
    width: 20%;
    height: 300px;
    margin: 15px ;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    transition: transform 0.2s, background 0.2s;
    background: rgba(0, 0, 0, 0.418);
    padding: 20px;
    border-radius: 10px;
    color: rgb(255, 255, 255);
    backdrop-filter: 
    blur(2.5px);
}

.tutorial-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;  /* image crop nahi hogi */
  margin-bottom: 15px;
}

.tutorial-card p {
    font-size: 14px;
    color: rgb(179, 179, 179);
    line-height: 1.5;
}


.tutorial-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 0, 0.2);
}

.tutorial-card h3 {
    margin: 0 0 10px 0;
}

.tutorial-card a {
    text-decoration: none;
    font-weight: bold;
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    background-color: yellow;
    border-radius: 5px;
    transition: 0.3s;
}

.tutorial-card a:hover {
    background: rgb(0, 0, 0);
    color: yellow;
}
