* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  scrollbar-width: none;
}
::-webkit-scrollbar {
  width: 10px; /* width of the scrollbar */
}
::-webkit-scrollbar-track {
  background: #ffffff; /* color of the track */
}

::-webkit-scrollbar-thumb {
  background: rgb(97, 180, 205);
}
.container {
  width: 96%;
  background: #fff;
  padding: 30px 0 30px 0;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
}

.back-wrapper {
  display: flex;
  padding: 30px 0 0 0;
}

.back-img {
  width: 31px;
  height: 31px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: url("images/Specialised/BackIcon.png");
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

/* Upper Heading of cards  */

.heading-wrapper h2 {
  display: flex;
  height: 70px;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  color: #000;
  font-family: "Azo Sans Med";
  font-size: 35px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.other-database h2 {
  margin-top: 60px;
}

.specialised-database {
	Margin-top: 15px;
}

.cards-wrapper {
  display: grid;
  gap: 20px;
  /*grid-template-columns: 1fr 1fr 1fr 1fr;*/
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

/* Added overlay using a pseudo-element */
.cards-wrapper .card::before,
.academic-resources::before,
.sub-accordion-card::before {
  content: ''; /* Creates an empty pseudo-element*/
  position: absolute; /* Positions the overlay absolutely within the card */
  top: 0; /* Aligns the overlay to the top of the card */
  left: 0; /* Aligns the overlay to the left of the card */
  right: 0; /* Aligns the overlay to the right of the card */
  bottom: 0; /* Aligns the overlay to the bottom of the card */
  background-color: rgba(0, 0, 139, 0.1); /* 128, 128, 128Gray with 50% opacity */
  z-index: 1; /* Ensures the overlay is above the background but below the text */
}

/* Cards */

.text_decoration {
  width: 94%;
  height: 100%;
  margin-left: 10px;
  margin-right: auto;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  position: relative; /* Position text above the overlay */
  z-index: 2; /* Ensures text is above the overlay */
}

/*.academic-resources {
  width: 100%;
  height: 378px;
  flex-shrink: 0;
  border-radius: 10px;
  background: url("images/Home/Databases/Database.png");
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 33px 15px 33px 33px;
}*/

.academic-resources h3 {
  height: 98%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Med";
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.academic-resources p {
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Reg";
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-top: 8px;
  padding-right: 40px;
}

.card {
  position: relative;
  width: 100%;
  height: 378px;
  flex-shrink: 0;
  border-radius: 10px;
  background: url("images/Home/Databases/Database.png");
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 33px 15px 33px 33px;
  overflow: hidden;
}

.card-change {
  background: url("images/Specialised/Database.png");
}

.card h3 {
  height: 98%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Med";
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.card p {
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Reg";
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  margin-top: 8px;
  padding-right: 40px;
}

.mg-tp {
  margin-top: 63px;
}

.art .cards-wrapper .card h3 {
  font-size: 35px;
}


/*17-06-2025*/
.accordion-header {
  width: 100%;
  cursor: pointer;
  height: 100%;
  /*height: 358px;*/
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 33px 15px 33px 30px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  transition: 0.25s ease-in;
  background-position: center;
  
}

.accordion-header h3 {
  height: 98%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-shrink: 0;
  color: #fff;
  font-family: "Azo Sans Med";
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

.accordion-full-content h1 {
  color: #000;
  font-family: "Azo Sans Med";
  font-size: 32px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  height: 170px;
}

.accordion-card{
  background: url("images/Home/Databases/Bsbi\ Catalogue.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.sub-accordion-section {
  background: url('images/Home/Databases/Sub_menu.png') no-repeat center center;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  height: 358px;
}


.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-full-content {
  display: none;
  width: 100%;
  background-color: #fff;
  /*padding: 30px;*/
  box-sizing: border-box;
}

.accordion-full-content.active {
  display: block;
}

.sub-accordion-full-content {
  display: none;
  width: 100%;
  background-color: #fff;
  /*padding: 30px;*/
  box-sizing: border-box;
}

.sub-accordion-full-content.active {
  display: block;
}

.accordion-section.active .accordion-content {
  display: block;
  max-height: 2000px; /* large enough to show content */
}

.accordion-subheader {
  width: 100%;
  cursor: pointer;
  height: 358px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 33px 15px 33px 33px;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  transition: 0.25s ease-in;
  background-position: center;
}

.accordion-subcontent {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/*#accordion-content-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 30px;
}*/


.accordion-subsection.active .accordion-subcontent {
  max-height: 2000px; /* adjust as needed */
}

.accordion-section {
  width: 100%;
  height: 358px;
  background: url('images/Home/Databases/Database.png') no-repeat center center;
  background-size: cover;
  border-radius: 10px;
  overflow: hidden;
}

.research-methods {
  width: 100%;
  height: 358px;
  background-color: rgba(203, 219, 41);
  border-radius: 10px;
  overflow: hidden;
}

.ecomonics-and-business-administration {
  width: 100%;
  height: 358px;
  background-color: rgba(207, 59, 63);
  border-radius: 10px;
  overflow: hidden;
}

.cs-and-informatics {
  width: 100%;
  height: 358px;
  background-color: rgba(42, 123, 126);
  border-radius: 10px;
  overflow: hidden;
}

.creative-arts {
  width: 100%;
  height: 358px;
  background-color: rgba(193, 113, 37);
  border-radius: 10px;
  overflow: hidden;
}

/*.sub-accordion-card {
  background: url('images/Home/Databases/Bsbi\ Catalogue.png') no-repeat center center;
  background-size: cover;
  padding-top: 0px;
  margin-top: 20px;
}*/

/* Optional hover effect */
.accordion-section:hover {
  transition: 0.25s ease-in;
  filter: brightness(1.05);
}

/*.accordion-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}*/
.accordion-header, .accordion-content {
  position: relative;
  z-index: 1;
}


}

.grid-wrapper{
  width: 100%;
}



.accordion-grid-wrapper {
  width: 100%;
  display: grid;
  gap: 20px;
  /*grid-template-columns: 1fr 1fr 1fr;*/
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.accordion-sub-grid-wrapper {
  width: 100%;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}


.accordion-content.full-width {
  grid-column: 1 / -1; /* span entire row */
  width: 100%;
}


/* Media Queries */

@media (max-width: 1600px) {
  .cards-wrapper {
    display: grid;
    gap: 20px;
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
	
  .accordion-grid-wrapper {
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}

@media (max-width: 1370px) {
	
  .cards-wrapper .card::before {
    background-color: rgba(39, 106, 183, 0.2); /* Increase opacity */
  }
	
  .card {
    height: 350px;
  }

  .card h3 {
    font-size: 34px;
  }

  .card p {
    padding-right: 20px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 30px;
  }
}

@media (max-width: 1100px) {
  .cards-wrapper {
    grid-template-columns: 1fr 1fr;
  }
	
  .cards-wrapper .card::before {
    background-color: rgba(39, 106, 183, 0.3); /* Increase opacity */
  }
}

@media (max-width: 900px) {
  .card {
    padding-left: 18px;
  }
  .card p {
    padding-right: 0;
    font-size: 17px;
  }

  .card h3 {
    font-size: 30px;
  }
	
  .card {
    height: 250px;
  }

	
	.academic-resources {
    height: 250px;
	}
	
  .academic-resources h3 {
    font-size: 30px;
}
	
  .academic-resources p {
    font-size: 17px;
  }
	
 .accordion-section {
	width: 99.5%;
	height: 250px;
	}
	
  .accordion-header h3 {
	font-size: 30px;
	}

  .art .cards-wrapper .card h3 {
    font-size: 27px;
  }

  .heading-wrapper h2 {
    font-size: 32px;
  }
	
  .accordion-grid-wrapper {
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    /*grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));*/
  }
	
  .accordion-sub-grid-wrapper {
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
	
  .sub-accordion-section {
	width: 99.5%;
	height: 200px;
	}	
	
  .accordion-subheader {
	height: 200px;
	}

  .cards-wrapper .card::before {
    background-color: rgba(39, 106, 183, 0.4); /* Increase opacity */
  }
}

@media only screen and (min-width: 780px) and (max-width: 900px) {
	
  .accordion-sub-grid-wrapper {
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
	
}

@media (max-width: 800px) {
  .art .cards-wrapper .card h3 {
    font-size: 25px;
  }
	
  .accordion-header h3 {
    font-size: 25px;
  }
}

@media (max-width: 710px) {

	.cards-wrapper {
    grid-template-columns: 1fr;
  }
	
  
  .card {
    height: 200px;
	padding-bottom: 15px;
  }

	
	.academic-resources {
    height: 200px;
	}
	
  .academic-resources h3 {
    font-size: 30px;
}
	
  .academic-resources p {
    font-size: 16px;
  }
	
 .accordion-section {
	width: 99.5%;
	height: 200px;
	}
	
  .accordion-header h3 {
    font-size: 20px;
  }
	
  .accordion-full-content h1 {
    color: #000;
    font-family: "Azo Sans Med";
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    height: 180px;
  }
	
  .cards-wrapper .card::before {
    background-color: rgba(39, 106, 183, 0.5); /* Increase opacity */
  }
}

@media (max-width: 550px) {
	
  .accordion-header h3 {
    font-size: 16px;
  }
	
  .accordion-sub-grid-wrapper {
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
	
  .heading-wrapper h2 {
    font-size: 26px;
  }

}

@media only screen and (min-width: 521px) and (max-width: 550px) {
	
  .accordion-subheader {
    padding: 33px 15px 33px 15px;		
  }

@media (max-width: 415px) {

  .card {
    padding-left: 12px;
    padding-right: 12px;
  }

  .heading-wrapper h2 {
    font-size: 26px;
  }

  .card h3 {
    font-size: 26px;
  }

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

 .sub-accordion-section {
	width: 99.5%;
	height: 200px;
	}
	
 .accordion-full-content h1 {
    font-size: 26px;	
	}
	
  .accordion-header {
    padding: 33px 15px 33px 10px;
	}
	
  .accordion-subheader {
	  height: 200px;
	  padding: 33px 15px 33px 10px;
	}
}

@media (max-width: 395px) {
	
  .card {
    padding-left: 8px;
    padding-right: 8px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 22px;
  }

  .card h3,
  .heading-wrapper h2 {
    font-size: 22px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 15px;
  }
	
	
  .accordion-section {
		width: 100%;
	}

  .sub-accordion-section {
		width: 100%;
	}
	
 .accordion-full-content h1 {
    font-size: 22px;	
	}
	
  .accordion-header {
    padding: 33px 15px 33px 10px;
	}
	
  .accordion-subheader {
	  padding: 33px 15px 33px 10px;
	}
}

@media (max-width: 385px) {
	

  .card {
    padding-left: 8px;
    padding-right: 8px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 22px;
  }

  .card h3,
  .heading-wrapper h2 {
    font-size: 22px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 15px;
  }
	
	.accordion-section {
		width: 100%;
	}

	.sub-accordion-section {
		width: 100%;
	}
	
  .accordion-header {
    padding: 33px 15px 33px 10px;
	}
	
  /*.accordion-sub-grid-wrapper {
    width: 100%;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }*/
	
  .accordion-subheader {
	  padding: 33px 15px 33px 10px;
	}
}

@media (max-width: 377px) {

  .card {
    padding-left: 8px;
    padding-right: 8px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 22px;
  }

  .card h3,
  .heading-wrapper h2 {
    font-size: 22px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 15px;
  }
	
  .accordion-section {
	width: 100%;
  }

  .sub-accordion-section {
	width: 100%;
  }

  .accordion-full-content h1 {
    font-size: 22px;	
  }
	
  .accordion-header {
    padding: 33px 15px 33px 10px;
  }
	
  .accordion-subheader {	
	  padding: 33px 15px 33px 10px; 
	}
}

@media (max-width: 361px) {
	

  .card {
    padding-left: 8px;
    padding-right: 8px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 22px;
  }

  .card h3,
  .heading-wrapper h2 {
    font-size: 22px;
  }

  .art .cards-wrapper .card h3 {
    font-size: 20px;
  }

  .card p {
    font-size: 15px;
  }
	
  .accordion-section {
	width: 100%;
	}
	

  .sub-accordion-section {
		width: 100%;
	}
	
  .accordion-full-content h1 {
    font-size: 22px;	
	}
	
  .accordion-header {
    padding: 33px 15px 33px 10px;
	}
	
  .accordion-header h3 {
	font-size: 18px;
	}
	
	
	.accordion-subheader {
		padding: 33px 15px 33px 10px;
	}
	
}