/*
    Theme Name: ahm
    Theme URI: https://ahm.com/themes/ahm
    Author: Md Rabiul Islam Robin
    Author URI: https://github.com/mdrobiul7001
    Description: 
    Version: 1.0
    Requires at least: 6.8.2
    Tested up to: 6.8.2
    Requires PHP: 8.3.1
    Lincense: 
    License URI:
    Text Domain: ahm
    Tags:
    Domain Path:

    ahm WordPress Theme, (C) 2025 https://ahm.com
*/

/* Contact Form*/

.contact-box input {
  color: #212529;
}

textarea {
  resize: vertical;
  width: 100%;
  outline: none;
  border: none;
  padding: 20px 24px;
  border-radius: 12px;
}

.wpcf7-form-control.wpcf7-submit.has-spinner.theme-btn {
  font-weight: 700;
  background-color: #41f59e;
}

/* Thesis Details page Section */

.thesis-btn {
  margin-top: 25px;
  border: none;
  padding: 10px 25px;
  background-color: #71f0b3;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 400;
  color: #1e1e1e;
  box-shadow: var(--box-shadow);
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: scroll;
  scrollbar-width: none;
}

.popup-box {
  background: #fff;
  padding: 0px 20px;
  padding-top: 30px;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  overflow-y: scroll;
  scrollbar-width: none;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #71f0b3;
  color: #1e1e1e;
  padding: 5px 7px 3px 7px;
  font-size: 14px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.from-title {
  border-bottom: 1.5px solid rgba(102, 102, 102, 0.16);
  margin-bottom: 15px;
}

.t-from-box h4 {
  font-size: 20px;
}

.t-from-box input,
textarea {
  font-size: 14px;
  width: 100%;
  padding: 10px 15px;
  outline: none;
  border: 1px solid #71f0b3;
  border-radius: 8px;
  margin-bottom: 10px;
}

.t-from-box button {
  border: none;
  padding: 8px 25px;
  background-color: #71f0b3;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 400;
  color: #1e1e1e;
  box-shadow: var(--box-shadow);
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  background-color: #71f0b3;
}

.ug-section {
  padding: 50px 0px;
}

/*******************************************
                Courses-Section-css
********************************************/

.ug-courses-gap {
  display: flex;
  gap: 80px;
  flex-direction: column;
}

.ug-courses-wrapper {
  padding: 120px 0px;
}

.ug-courses-heading {
  border-bottom: 1.5px solid rgba(102, 102, 102, 0.16);
}

.ug-courses-heading h1 {
  font-size: 1.75rem;
  color: #1e1e1e;
}

.courses-accordion {
  margin-top: 50px;
}

.accordion-content-wrapper li {
  border-bottom: 1.5px solid rgba(102, 102, 102, 0.16);
}

.accordion-content-wrapper li:last-child {
  border-bottom: none;
}

.accordion {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-item {
  border: none;
}

.accordion-header {
  width: 100%;
  background: #71f0b3;
  color: #2f3032;
  text-align: left;
  padding: 15px 20px;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: #28e98c;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-content .accordion-btn {
  border: none;
  background-color: #dddddd;
  padding: 10px 25px;
  border-radius: 25px;
  color: #2f3032;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.accordion-content p {
  margin: 10px 0;
  max-width: 80%;
  color: #2f3032;
  font-size: 16px;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* তোমার কনটেন্ট অনুযায়ী height বাড়াতে পারো */
  padding: 15px 20px;
}

.accordion-item.active .accordion-header {
  background: #28e98c;
}

.popup-ug-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: scroll;
  scrollbar-width: none;
}

.popup-ug-box {
  background: #fff;
  padding: 24px;
  padding-bottom: 40px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: start; /* horizontal centering of inner content */
  justify-content: flex-start;
  border-radius: 10px;
  position: relative;
  overflow-y: scroll;
  scrollbar-width: none;
}

.close-ug-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #71f0b3;
  color: #1e1e1e;
  padding: 5px 7px 3px 7px;
  font-size: 14px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
}

.t-ug-from-box {
  padding: 30px 24px;
  display: flex;
  max-width: 600px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.t-ug-from-box h3 {
  font-size: 20px;
  color: #2f3032;
  text-align: center;
  line-height: 1.6em;
  font-weight: 600;
}

.t-ug-from-box video {
  margin: 20px auto;
  width: 100%;
  border-radius: 15px;
}

.t-ug-from-box p {
  margin-top: 25px;
  font-size: 16px;
  justify-content: center;
}

.d-btn {
  margin: 0px auto;
}

.d-btn a {
  color: #1c1d20;
}

.d-btn {
  border: none;
  outline: none;
  background-color: #71f0b3;
  padding: 10px 25px;
  border-radius: 15px;
  display: flex;
}

.d-btn:hover {
  background-color: #28e98c;
  transition: 0.3s ease;
}

.d-btn span i {
  margin-left: 5px;
}

@media (min-width: 320px) and (max-width: 600px) {
  .popup-ug-box {
    border-radius: 0px;
    height: 100vh;
    padding: 0px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .ug-courses-gap {
    gap: 60px;
  }
}

/*--           Desing Repeair           --*/

.experience-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.award-section {
  padding: 120px 0px;
}

.courses-wrapper {
  margin-top: 0px;
  padding-bottom: 80px;
}

.gallery-section {
  padding-top: 80px;
  padding-bottom: 120px;
}

.footer-part {
  padding-top: 80px;
}

.bottom-footer {
  border-radius: 75px;
}

.ug-wrapper {
  margin-top: 0px;
}

.ug-section {
  padding: 80px 0px;
}

.MS-thesis-wrapper {
  padding: 80px 0px;
}

.t-d-h {
  padding-bottom: 60px;
}

.pro-thumb img {
  object-fit: cover;
}

.side-social ul li:hover {
  background-color: none;
}

.side-social ul li a {
  font-size: 18px;
  transform: rotate(-45deg);
  color: #1e1e1e;
}

.f-c-content ul li a {
  font-weight: 500;
}

.useful-link ul li a {
  font-weight: 500;
}

.t-title p {
  font-size: 18px;
  text-align: left;
  text-align: justify;
  color: #525252;
  font-style: italic;
}

.hero-social-info {
  top: 380px;
}

.pro-heading h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-heading h3:hover {
  color: #1c1d20;
}

.pro-c {
  color: #1c1d20;
}

.rec-items h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-pagination ul li a {
  color: #1c1d20;
}

.pro-pagination li.active a {
  color: #71f0b3;
  font-weight: 600;
}

@media (min-width: 990px) and (max-width: 1200px) {
  .hero-social-info {
    top: 360px;
  }
}

@media (min-width: 320px) and (max-width: 425px) {
  .gallery-section {
    padding-bottom: 100px;
  }
  .ex-section-title h2 {
    font-size: 70px;
  }
}

@media (min-width: 425px) and (max-width: 768px) {
  .ex-section-title h2 {
    font-size: 5.5rem;
  }
}

@media (min-width: 320px) and (max-width: 768px) {
  .award-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .details-header h2 {
    font-size: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 990px) {
  .f-c-wrapper {
    margin-top: 40px;
  }
}

@media (min-width: 0px) and (max-width: 600px) {
  .b-text {
    padding-top: 0px;
  }
}

@media (min-width: 0px) and (max-width: 992px) {
  .row-portfolio {
    gap: 40px;
  }
}
