.top-menu{position: relative;}
.desktoplogo .content { -webkit-filter: none; filter: none;}
.mainMenu ul.toggle li{background: #1E1E1E;}

#overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh !important;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

 @media only screen and (min-width: 1440px) {
    .nav-container {
        height: 15dvh;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0px !important;
        width: 101%;
        max-width: 104%;
        background-color: black;
    }

        .nav-logo {
        display: flex;
        align-items: center;
        color: var(--navbar-text);
    }
}


.faculty-read-more-btn {
  position: absolute;
  bottom: 10px;
  left: 19%; /* slightly left of center */
  transform: translateX(-50%);
  padding: 0px 19px;
  border-radius: 19px;
  background: #4D4E39;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.89rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Mobile view (small screens) */
@media (max-width: 767px) {
  .faculty-read-more-btn {
    left: 19%;             /* center on mobile */
    padding: 0px 10px;     /* slightly bigger tap area */
    font-size: 0.85rem;    /* bigger text on mobile */
    color: #4D4E39;
    background: white;
    top: 6%;
    margin-top: 15px;      /* space above the button */
  }

    .rwd-table td:before {
    content: attr(data-th) " " !important;
    font-weight: bold;
    display: inline-block;
    color: #000;
    padding-right: 15px;
}
.rwd-table th {
    display: block !important;
}

    .aca-overlay-text h1 {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
        line-height: 1.3;
        margin-bottom: 3rem !important;
    }

    .card-body p {
    font-size: 1rem !important;
    text-align: left;
}
.accordion-body p {
    color: black;
    text-align: left;
}

@media (max-width: 768px) {
    html body .subhead-left-place {
        font-size: 2.5rem !important;
        font-weight: bold !important;
        text-align: center !important;
        padding-left: 0 !important;
        margin-top: 1rem;
    }
}
}


/* ✅ Tablets / iPads (portrait + landscape) */
@media screen and (min-width: 767px) and (max-width: 1024px) {
  .aca-img {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
  }

  .aca-bgimg {
    display: block !important;
    width: 100% !important;
  }

  .aca-overlay-text {
    position: absolute !important; 
    top: 65% !important;      /* ⬅️ Push text further down */
    left: 1% !important;     /* ⬅️ Align towards the left */
    transform: translate(0, -50%) !important; /* No centering on X, only Y */
    color: white !important;
    text-align: left !important;   /* Keep text left-aligned */
    padding: 1rem 1.5rem !important;
    border-radius: 10px !important;
    max-width: 80% !important;
    white-space: normal !important; 
    z-index: 2 !important;
  }

  .aca-overlay-text h1 {
    margin: 0 !important;
    font-size: 2.4rem !important; /* balanced size for tablets */
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.3 !important;
  }

  .unique-testimonial-container {
    height: 460px !important;
  }

}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .unique-testimonial-container {
    flex-direction: column !important;   /* Stack image and content */
    height: auto !important;             /* Allow dynamic height */
    margin: 20px !important;
  }

  .unique-testimonial-image-wrapper {
    height: 250px !important;            /* Fix image height for mobile */
  }


  .unique-testimonial-content {
    padding: 20px !important;
    text-align: center !important;       /* Center align for better readability */
  }

  .unique-testimonial-content h2 {
    font-size: 24px !important;          
  }

  .unique-testimonial-content h3 {
    font-size: 18px !important;
  }

  .unique-testimonial-content p {
    font-size: 14px !important;
  }

  .read-more-btn {
    width: 100% !important;              
    padding: 12px !important;
    font-size: 14px !important;
  }

  .unique-nav {
    font-size: 18px !important;          
    padding: 8px !important;
  }

.aca-overlay-text h1 {
    margin-left: 2rem !important;
}

.modal-custom-details-popup .head .name .Fa-list li {
    font-size: 13px !important;
    padding-bottom: 5px;
}


.modal-custom-details-popup .head h2 {
    border-bottom: 1px solid #000;
    font-size: 20px;
    font-weight: 600;
    padding: 18px 0px 10px 0;
    background: none;
    color: var(--color-black);
    text-align: left;
}
.Fa-list li {
  display: flex;
  gap: 8px; /* space between label and value */
}

.Fa-list li span {
  font-weight: bold;
  min-width: 120px; /* adjust width for alignment */
  flex-shrink: 0;
}
}

/* Extra small screens (like < 480px) */
@media (max-width: 480px) {
  .unique-testimonial-container {
    margin: 10px !important;
  }

  .unique-testimonial-image-wrapper {
    height: 200px !important;
  }

  .unique-testimonial-content h2 {
    font-size: 20px !important;
  }

  .unique-testimonial-content h3 {
    font-size: 16px !important;
  }

  .unique-testimonial-content p {
    font-size: 13px !important;
  }
}

.announcement-bar{
    display: none !important;
}


