
 .heroImg.ad{
  background-image: url("../image/dolvic-building.jpg");
}
.admission{
    display: flex;
    justify-content: space-between;
    margin: 30px 15px;
    padding: 15px;
    width: inherit;
}
.admission div:nth-child(1){
    width: 70%;
    padding: 20px 15px;
}
.admission div.form{
    width: 350px;
    background-color: inherit;
}
.admission div.form .download,
.admission div.form .regCenters{
    box-shadow: 0 0 2px purple;
    background-color: white;  
    width: 100%;
    margin-bottom: 30px;
    padding: 20px 15px;
}

/*
.tab {
    overflow: hidden;
    background-color: #cacaca69;
  }

  .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 0;
    border-right: 1px solid rgba(100, 41, 97, 0.329);
    padding: 15px 30px;
    transition: 0.3s;
    margin-right: 2px;
    transition: all .7s ease;
  }

  .tab button:hover {
    background-color: rgb(100, 41, 97);
    color: white;
  }

  .tab button.active {
    background-color: rgb(100, 41, 97);
    color: white;
  }

  .tabcontent {
    display: none;
    padding: 40px 12px 20px;
    border: 1px solid #ccc;
    border-top: none;
    animation: fadeEffect 1s; 
  }

  @keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
  }
  .collapsible {
    background-color:  rgba(71, 20, 65, 0.671);
    color: rgb(223, 223, 223);
    cursor: pointer;
    padding: 10px 18px;
    width: 100%;
    border: none;
    border-radius: 0;
    text-align: left;
    outline: none;
    font-size: 17px;
    font-weight: 450;
    border-bottom: 1px solid rgb(226, 198, 226);
  }
  div.detail {
    padding: 0 18px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    transition: max-height 0.2s ease-out;
}
.detail h5{
  padding: 20px 0 0px;
}

.collapsible:after {
    content: '\02795'; 
    font-size: 13px;
    color: white;
    float: right;
    margin-left: 5px;
  }

  .collapsible.active:after {
    content: '\2796'; 
  }
.detail ul li i{
  color:rgb(167, 39, 147);
} */

section {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: auto;
}
section h2 {
  color: #bd1b87;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
  font-weight: 580;
}
.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

/* Exam Info */
.exam-info span {
  font-size: 1.0rem;
  margin-bottom: 0.5rem;
}

/* School Fees Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
table th, table td {
  border: 1px solid #ccc;
  padding: 0.6rem;
  text-align: center;
}
table th {
  background: #2c3e50;
  color: #fff;
}
table tr:nth-child(even) { background: #f2f2f2; }


.pdf-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

}

.pdf-container{
  width: 100%;
  height: 400px; /* adjust height */
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

/* Hide scrollbars in WebKit browsers */
.pdf-container::-webkit-scrollbar {
  display: none;
}

.pdf-container embed {
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;   /* hides scrollbars */
  background-color: white;
}

/* .pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
} */

/* Download Button */
.download-btn {
  text-align: center;
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: #bd1b87;
  color: #fff;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
}
.download-btn:hover {
  background: #c92da2;
  color: #fff;
}

  header h1 { 
    font-size: 1.5rem; 
  }
  table th, 
  table td { 
    font-size: 1.0rem;
  }


@media only screen and (max-width: 840px) {

  .pdf-container {
    height: 400px;
  }
  header h1 { font-size: 1.5rem; }
  section h2 { font-size: 1.5rem; }
  table th, table td { font-size: 0.7rem;}
}

@media only screen and (max-width: 500px) {

  header h1 { font-size: 1.5rem; }
  section h2 { font-size: 1.1rem; }
  table th, table td { font-size: 0.8rem;}

  .admission{
    flex-direction: column;
    align-items: space-between;
    margin: 30px 5px;
    padding: 5px;
    width: inherit;
  }
  .admission p.heading{
    text-align: center;
    margin-bottom: 20px;
  }
  .admission p.md-text{
    text-align: center;
    line-height: 2em;
  }
  .admissionPageImg{
      height: 200px;
  }
  .admission div:nth-child(1){
      width: 100%;
      background-color: white;
      padding: 10px 5px;
  }
  .admission div.form{
    margin-top: 30px;
      width:100%;
      background-color: inherit;
  }
  #info h3{
    text-align: center;
    margin-top: 10px;
  }
  .detail h6{
    text-align: center;
  }
  .tab button{
    padding: 7px 10px;
    font-size: 13px;
  } 
  .tabcontent{
    padding: 20px 5px 10px;
  }
  .tabcontent ul li{
    text-align: left;
    line-height: 2em;
    margin-left: -30px;
  }
  .collapsible{
    padding: 7px 8px;
    font-size: 14px;
  }
  .regCenters p:nth-child(2){
    text-align: left;
    font-weight: 300;
  }
}