/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e7e5ec;
}

h2, h3 {
    color: #333;
}

p {
    font-size: 16px;
    color: #383838;
}

.heading {
    text-align: center;
    font-size: 36px;
    color: #141414;
}

/* Banner Section */
.img1 {
    position: relative;
    text-align: center;
    height: 200px;
}

.img1 img.back {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.img1 .heading {
    position: absolute;
    top: 100px;
    left: 30%;
    right: 30%;
    color: #000000;
    font-size: 40px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

/* Container and Layout */
.web .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px;
    background-color: #fff;
    gap: 20px;
    width: 100%;
}

.left-side {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    background-color: #fff;
}

.left-side img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.right-side {
    flex: 1.5;
    padding-left: 20px;
    min-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.details h4 {
    font-size: 24px;
    margin: 20px 0 10px;
    color: #0ea2bd;
    display: flex;
    align-items: center;
}

.details h4 i {
    margin-right: 10px;
}

.details p {
    margin-bottom: 20px;
    font-size: 18px;
}

.details button {
    background-color: #0ea2bd;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 3);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: box-shadow cubic-bezier(0.23, 1, 0.320, 1);
}

.details button a {
    color: #efedf3;
}

.details button:hover {
    background-color: #03172c;
}

/* Syllabus Section */
.syllabus {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1100px;
}

.syllabus h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.syllabus h3 {
    font-size: 24px;
    color: #0ea2bd;
    margin-bottom: 20px;
}

.syllabus-section {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow cubic-bezier(0.23, 1, 0.320, 1);
}

.syllabus-section:hover {
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.1);
}

.syllabus-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-size: 18px;
    color: #555;
}

.syllabus-list li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    position: relative;
    left: 15px;
}

.syllabus-list li:last-child {
    border-bottom: none;
}

.syllabus-list li:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .heading {
        font-size: 28px;
    }

    .img1 .heading {
        font-size: 32px;
        top: 80px;
    }

    .web .container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .left-side, .right-side {
        width: 100%;
        padding: 15px;
    }

    .right-side {
        padding-left: 0;
    }

    .syllabus h2 {
        font-size: 28px;
    }

    .syllabus h3 {
        font-size: 22px;
    }
}

@media screen and (max-width: 480px) {
    .heading {
        font-size: 24px;
    }

    .img1 .heading {
        font-size: 28px;
        top: 70px;
    }

    .details h4 {
        font-size: 20px;
    }

    .details p {
        font-size: 16px;
    }

    .details button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .syllabus h2 {
        font-size: 24px;
    }

    .syllabus h3 {
        font-size: 20px;
    }
}
@media screen and (max-width: 768px) {
  .img1 img.back {
      text-indent: -9999px; /* Hides file name */
      clip-path: inset(100%); /* Alternative way to hide */
  }
}
@media screen and (max-width: 768px) {
  .img1 .heading {
      font-size: 24px; /* Reduce font size */
      top: 70%; /* Adjust position */
      left: 10%;
      right: 10%;
      transform: translateY(-50%);
      text-align: center;
  }
}
.img1 img.back {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

@media screen and (max-width: 768px) {
  .details {
      padding: 15px;
      text-align: left; /* Align text properly */
  }

  .details p {
      font-size: 14px;
      line-height: 1.6; /* Better readability */
  }

  .details h4 {
      font-size: 16px;
      margin-bottom: 5px;
  }
}
