/* ================= NOTES SECTION ================= */
body {
    font-family: Arial, sans-serif;
    background: url("course.jpg")no-repeat center/cover;
    color: white;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.notes-section {
    padding: 30px 35px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;

}

.note-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;  /* image crop nahi hogi */
  margin-bottom: 15px;
}

.h1{
    text-align: center;
    margin-top: 165px;
    font-size: 42px;
    background-color: rgba(0, 0, 0, 0.466);
}
.h2{
    text-align: center;
    margin-top: 50px;
    font-size: 50px;
    background-color: rgba(0, 0, 0, 0.466);
}
.h3{
    text-align: center;
    margin-top: 50px;
    font-size: 50px;
    background-color: rgba(0, 0, 0, 0.466);
}


.note-card {
    width: 18%;
    height: 250px;
    margin: 15px;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
    transition: transform 0.5s, background 0.4s;
    background: rgba(0, 0, 0, 0.436);
    padding: 20px;
    border-radius: 10px;
    color: rgb(255, 255, 255);
}

.note-card:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 0, 0.2); /* subtle yellow hover */
    color: rgb(255, 255, 255);
}
.note-card h3 {
    flex-grow: 1;
    margin: 0;
}

.note-card a {
    text-decoration: none;
    font-weight: bold;
    color: rgb(0, 0, 0);
    padding: 5px 10px;
    border: 1px solid yellow;
    background-color: yellow;
    border-radius: 5px;
    transition: 0.3s;
}

.note-card a:hover {
    background: black;
    color: yellow;
}

.note-card h3{
    font-size: 20px;

}

.notes-section2 {
    padding: 30px 35px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}
.notes-section3 {
    padding: 30px 35px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}