.search-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background-color: #f8faff; 
    height: 100vh;
}

.search-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 40px;
}

.search-title {
    font-size: 36px;
    color: #2e3a59; 
    margin-bottom: 10px;
}

.search-subtitle {
    font-size: 18px;
    color: #6c757d; 
    margin-bottom: 20px;
}

.search-form {
    display: flex;
    align-items: center;
}

.search-input {
    padding: 10px 15px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    color: #495057;
    box-shadow: none;
}

.search-input::placeholder {
    color: #adb5bd; 
    font-style: italic;
}

.search-button {
    background-color: #007bff; 
    border: none;
    border-radius: 0 4px 4px 0; 
    padding: 0 20px; 
    height: 45px; 
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.search-button i {
    font-size: 18px;
}

.search-image {
    width: 25%;
    height: auto;
  	border-radius: 100%;
  	border: 3px solid #007bff;
}

.icon-circle {
    border-radius: 50%;
    padding: 10px;
    width: 30px;
    text-align: center;
}

.icon-circle.crown {
    background-color: #c8102e; 
    color: #ffffff;
}

.icon-circle.calculator {
    background-color: #3498db; 
    color: #ffffff;
}

.icon-circle.mug-hot {
    background-color: #4c0013; 
    color: #ffffff;
}

.icon-circle.cheese {
    background-color: #f9e02e; 
    color: #ffffff;
}

.icon-circle.wheat-awn {
    background-color: #df9b1d; 
    color: #ffffff;
}

.icon-circle.guitar {
    background-color: #bb0a1e; 
    color: #ffffff;
}

.icon-circle.dna {
    background-color: #ee6369; 
    color: #ffffff;
}

.icon-circle.atom {
    background-color: #0000ff; 
    color: #ffffff;
}

.icon-circle.comments {
    background-color: #f1dd99; 
    color: #ffffff;
}

.icon-circle.landmark {
    background-color: #e74c3c; 
    color: #ffffff;
}

.icon-circle.monument {
    background-color: #b54405; 
    color: #ffffff;
}

.icon-circle.volcano {
    background-color: #a83232;
    color: #ffffff;
}

.icon-circle.masks-theater {
    background-color: #6f42c1;
    color: #ffffff;
}

.icon-circle.brain {
    background-color: #c88d94; 
    color: #ffffff;
}

.icon-circle.flask-vial {
    background-color: #28a745; 
    color: #ffffff;
}

.icon-circle.book-quran {
    background-color: #009000; 
    color: #ffffff;
}

.icon-circle.book-bible {
    background-color: #a52a2a; 
    color: #ffffff;
}

.icon-circle.place-of-worship {
    background-color: #cc9900; 
    color: #ffffff;
}

.icon-circle.spider {
    background-color: #000000; 
    color: #ffffff;
}

.icon-circle.palette {
    background-color: #fc9601; 
    color: #ffffff;
}

.icon-circle.pencil {
  background-color: #00ffff;
  color: #ffffff;
}

.icon-circle.futbol {
  background-color: #007bff;
  color: #ffffff;
}

.icon-circle.info {
  background-color: #ffc107;
  color: #ffffff;
}

.icon-circle.music {
  background-color: #fd7e14;
  color: #ffffff;
}

.icon-circle.mountain {
  background-color: #8b4513;
  color: #ffffff;
}

.icon-circle.book-open {
  background-color: #d2b48c;
  color: #ffffff;
}

.icon-circle.mask-theater {
  background-color: #6f42c1;
  color: #ffffff;
}

.icon-circle.clapperboard {
  background-color: #495057;
  color: #ffffff;
}

.icon-circle.scale-balanced {
  background-color: #ffc107;
  color: #ffffff;
}

.icon-circle.comments-dollar {
  background-color: #28a745;
  color: #ffffff;
}

.icon-circle.money-bill-trend-up {
  background-color: #28a745;
  color: #ffffff;
}

.icon-circle.rectangle-ad {
  background-color: #dc3545;
  color: #ffffff;
}

.icon-circle.scroll {
  background-color: #d4af37;
  color: #ffffff;
}

.icon-circle.network-wired {
  background-color: #007bff;
  color: #ffffff;
}

.icon-circle.gear {
  background-color: #b87333;
  color: #ffffff;
}

.icon-circle.microchip {
  background-color: #39ff14;
  color: #ffffff;
}

.icon-circle.bowl-food {
  background-color: #2ecc71;
  color: #ffffff;
}

.fa-solid {
    font-size: 24px; 
    margin: 0; 
}

.icon {
    font-size: 24px;
    color: #ffffff;
    border: 2px solid #0060df;
    padding: 15px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 25px;
    height: 25px;
}

.subjects-page .subject-heading {
    text-align: left;
    margin-left: 22px;
    padding-left: 0;
    width: 100%;
	font-weight: bold;
    color: #2b354f!important;
}

.subject {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 20px; 
 	text-decoration: none;
}

.subject-name {
    font-size: 14px; 
    font-weight: bold;
    color: #333;
    margin-top: 5px; 
  	text-align: left;
}

.subject {
    flex: 0 0 20%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    margin: 10px;
    padding: 30px 10px;
    height: 50px;
    background-color: white;
    border: 2px solid #e7e7e7;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.subject:last-child {
    border-bottom: none; 
}

.btn.active {
    background-color: blue;
    color: white;
}

.btn.inactive {
    background-color: transparent;
    color: blue;
}

.sidebar {
   position: static;
   top: 0;
   left: 0;
   background-color: #f8f9fa;
   padding: 20px;
   box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
   display: flex;
   flex-direction: column;
}

.sidebar button {
   margin-bottom: 10px;
}

.sidebar .subject-heading {
    text-align: left;
    margin-left: 20px;
    padding-left: 0;
    width: 100%;
    font-weight: bold;
    color: #2b354f !important;
}

section {
   padding: 20px;
}

.unavailable-subject-wrapper {
   position: relative;
   text-align: center;
}

.unavailable-label {
   position: absolute;
   top: -20px;
   left: 50%;
   transform: translateX(-50%);
   background-color: #ffc107;
   color: #000;
   font-size: 0.8rem;
   padding: 2px 6px;
   border-radius: 4px;
   z-index: 1;
}

.subject.unavailable {
   pointer-events: none;
   opacity: 0.5;
   background-color: #f8f9fa;
   border: 1px dashed #ccc;
}

@media (max-width: 1200px) { 
  	h2 {
      font-size: 21px !important;
  	}

    .subject-name {
        font-size: 10px; 
        text-align: left; 
    }

    .subject {
        gap: 10px; 
        padding: 20px 5px; 
    }
}

@media (max-width: 768px) {
    .col-6, .col-md-3 {
        flex: 0 0 auto !important;
      	width: 50% !important;
    }
}

@media (max-width: 1200px) {
    .search-image {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto; /* Center the image */
    }

    .container-fluid {
        overflow: hidden; /* Prevent content overflow */
    }

    .row {
        align-items: center; /* Ensure content aligns vertically */
        overflow: hidden;
    }

    .d-flex {
        flex-wrap: wrap;
        justify-content: center;
    }

    body {
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}