.drsidebar-main {
  border-radius: 20px;
  background: #224fa3;
  box-shadow: 0 4px 32px rgba(34, 79, 163, 0.18);
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  padding: 24px 12px 25px 12px;
}

.drsidebar-profile {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 3px solid #fff;
}

.drsidebar-profile-img {
  width: 100%;
  background: #fff;
  border: 5px solid #ffffff;
  border-radius: 15px;
  margin: 0 auto 14px auto;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  overflow: hidden;

  img {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
}

.doc-dt {
  background-color: #fff;
  padding: 15px 12px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.drsidebar-profile-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #224fa3;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 2px solid #224fa361;
  letter-spacing: 0.01em;
}

.drsidebar-profile-title {
  font-size: 1rem;
  font-weight: 500;
  color: #224fa3;
}

.drsidebar-profile-role {
  font-size: 0.97rem;
  color: #224fa3;
}

.doc-ser-list,
.doc-contact-dt {
  margin-bottom: 20px;
  border-bottom: 3px solid #fff;
}

.drsidebar-section-title {
  background: rgba(255, 255, 255, 1);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: #224fa3;
  text-align: center;
}

.drsidebar-servlist {
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.drsidebar-servitem a {
  background: rgba(255, 255, 255, 1);
  display: block;
  margin-bottom: 3px;
  padding: 9px 12px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: #224fa3;
  border: 2px solid #fff;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 1px 3px rgba(34, 79, 163, 0.08);
}

.drsidebar-servitem a:hover {
  background: #224fa3;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(34, 79, 163, 0.15);
}

.drsidebar-contact-details {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  border-radius: 10px;
  font-size: 0.94rem;
  padding: 13px 14px;
  margin-bottom: 17px;
  word-break: break-all;
}

.drsidebar-contact-details a {
  color: #fff;
  text-decoration: underline;
}

.drsidebar-inqform {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  padding: 10px 12px;
}

.drsidebar-form-label {
  color: #fff;
  font-weight: 500;
  font-size: 0.96rem;
}

.drsidebar-form-control {
  background: #f0f4ff;
  border: 1px solid #dfe6fa;
  color: #224fa3;
  border-radius: 7px;
  margin-bottom: 8px;
  font-size: 16px;
  padding: 10px 12px;
}

textarea.drsidebar-form-control {
  background: #f0f4ff;
  border: 1px solid #dfe6fa;
  color: #224fa3;
  border-radius: 7px;
  margin-bottom: 8px;
  font-size: 16px;
  padding: 10px 12px;
  min-height: 90px;
}

.drsidebar-form-control:focus {
  border-color: #224fa3;
  box-shadow: 0 0 0 2px #224fa347;
}

.drsidebar-form-check-label {
  color: #fff;
  font-size: 0.93rem;
}

.drsidebar-btn-submit {
  background: #224fa3;
  color: #fff;
  border: 2px solid #fff;
  font-weight: 500;
  padding: 10px 20px 12px;
  letter-spacing: 0.01em;
  border-radius: 7px;
  margin-top: 4px;
  box-shadow: 0 2px 4px rgba(34, 79, 163, 0.11);
}

.drsidebar-btn-submit:hover {
  background: #fff;
  color: #224fa3;
  border-color: #224fa3;
}

@media (max-width: 410px) {
  .drsidebar-main {
    max-width: 100vw;
    padding: 15px 12px 18px 12px;
    border-radius: 10px;
  }

  .drsidebar-section-title,
  .drsidebar-servlist,
  .drsidebar-contact-details,
  .drsidebar-inqform {
    margin: 0;
    padding: 12px 0px !important;
  }
}

.doc-servi-details {
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .doc-servi-details {
    padding: 0;
    box-shadow: none;
  }
}

.servi-img img {
  border-radius: 15px;
  background-color: #fff;
  padding: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  aspect-ratio: 16/8;
  margin-bottom: 10px;
  object-fit: cover;
}

.servi-text {
  h2,
  h3,
  h4 {
    color: #224fa3;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #224fa396;
  }

  p {
    color: #444;
    line-height: 25px;
    margin-bottom: 10px;
  }

  ul,
  ol {
    padding-left: 25px;
    li {
      color: #444;
      line-height: 25px;
      margin-bottom: 7px;
    }
  }
}

/* .contact sidebar */

.contact-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  z-index: 999;
}

.contact-sidebar .sidebar-btn {
  width: 50px;
  height: 200px;
  margin-bottom: 15px;
  border: none;
  color: #fff;
  font-size: 1.2em;
  font-family: Arial, sans-serif;
  font-weight: 500;
  text-align: center;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.2s;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.contact-sidebar .sidebar-btn .vertical-text {
  transform: rotate(-90deg);
  /* Rotates the text to read from bottom to top on the right side */
  white-space: nowrap;
  position: relative;
  display: block;
}

.contact-sidebar .sidebar-btn:active,
.contact-sidebar .sidebar-btn:focus {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.17);
  outline: none;
}

.contact-sidebar .book-appointment {
  /* background: #ea5ba8; */
  border: 2px solid #5907bd;
}

.contact-sidebar .book-appointment::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #5907bd;
  transition: all 0.3s ease;
}

.contact-sidebar .book-appointment:hover::before {
  width: 0;
}

.contact-sidebar .book-appointment:hover .vertical-text {
  color: #5907bd;
}

.contact-sidebar .seek-opinion {
  background: #fff;
  border: 2px solid #183f8c;
}

.contact-sidebar .seek-opinion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #183f8c;
  transition: all 0.3s ease;
}

.contact-sidebar .seek-opinion:hover::before {
  width: 0;
}

.contact-sidebar .seek-opinion:hover .vertical-text {
  color: #183f8c;
}

/* faq */

.faq-container {
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(34, 79, 163, 0.1);
  overflow: hidden;
}

.faq-header {
  background: linear-gradient(135deg, #224fa3 0%, #3a64b8 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
    repeat;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.faq-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.faq-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
}

.faq-content {
  padding: 30px;
}

.faq-category {
  margin-bottom: 25px;
}

.category-title {
  color: #224fa3;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #224fa3;
  display: inline-block;
}

.faq-item {
  border: 1px solid #e1e8f0;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(34, 79, 163, 0.1);
  transform: translateY(-2px);
}

.faq-question {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #e8f2ff 100%);
}

.faq-question.active {
  background: linear-gradient(135deg, #224fa3 0%, #3a64b8 100%);
  color: white;
}

.question-text {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: #224fa3;
  min-width: 20px;
}

.faq-question.active .faq-icon {
  transform: rotate(180deg);
  color: white;
}

.faq-answer {
  display: none;
  padding: 25px;
  background: white;
  border-top: 1px solid #e1e8f0;
  line-height: 1.7;
  color: #333;
}

.faq-answer.active {
  display: block;
  animation: slideDown 0.3s ease;
}

.faq-answer small a {
  color: #224fa3;
  text-decoration: underline !important;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .faq-header h1 {
    font-size: 2rem;
  }

  .faq-content {
    padding: 20px 0;
  }

  .question-text {
    font-size: 1rem;
  }

  .faq-question {
    padding: 12px;
  }

  .faq-answer {
    padding: 12px;
    ul {
      padding-left: 20px;
    }
  }
}

/* contact us  */

.custom-contact-hero {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.custom-hero-title-section {
  text-align: center;
  margin-bottom: 30px;
}

.custom-main-title {
  font-size: 4rem;
  font-weight: 900;
  color: #224fa3;
  margin: 0 0 20px 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.custom-main-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #224fa3 30%, rgba(255, 255, 255, 0.5));
  border-radius: 2px;
}

.custom-contact-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 35px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  position: relative;
}

.custom-contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #224fa3, #5907bd, #224fa3);
  background-size: 200% 100%;
}

.custom-form-section {
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(248, 249, 250, 1) 100%
  );
}

.custom-info-section {
  padding: 30px;
  background: linear-gradient(135deg, #224fa3 40%, #5907bd 100%);
  color: white;
  height: 100%;
  position: relative;
}

.custom-info-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 80px 80px;
  opacity: 0.3;
}

.custom-section-header {
  font-size: 2.5rem;
  font-weight: 700;
  color: #224fa3;
  margin: 0 0 20px 0;
  position: relative;
}

.custom-section-header-white {
  color: #ffffff;
}

.custom-form-group {
  margin-bottom: 20px;
  position: relative;
}

.custom-form-label {
  font-size: 14px;
  font-weight: 600;
  color: #224fa3;
  margin: 0 0 8px 0;
  display: block;
}

.custom-form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #ffffff;
  color: #333;
  outline: none;
  font-family: "Poppins", sans-serif;
}

.custom-form-input:focus {
  border-color: #224fa3;
  box-shadow: 0 0 0 4px rgba(34, 79, 163, 0.1);
  transform: translateY(-2px);
}

.custom-form-input::placeholder {
  color: #999;
  font-weight: 300;
}

.custom-form-textarea {
  min-height: 110px;
  resize: vertical;
  font-family: "Poppins", sans-serif;
}

.custom-submit-button {
  background: linear-gradient(135deg, #224fa3 0%, #5907bd 100%);
  border: none;
  border-radius: 15px;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(34, 79, 163, 0.3);
  width: 100%;
  font-family: "Poppins", sans-serif;
}

.custom-submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.custom-submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(34, 79, 163, 0.4);
}

.custom-submit-button:hover::before {
  left: 100%;
}

.custom-submit-button:active {
  transform: translateY(-1px);
}

.custom-info-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

.custom-info-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.custom-info-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  margin: 0 15px 0 0;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.custom-info-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.custom-info-content {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.custom-social-links {
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.custom-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  margin: 0 12px 12px 0;
  font-size: 22px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.custom-social-link:hover {
  background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.9));
  color: #224fa3;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
  text-decoration: none;
}

@media (max-width: 768px) {
  .custom-form-section,
  .custom-info-section {
    padding: 30px 12px;
  }

  .custom-main-title {
    font-size: 2rem;
  }

  .custom-section-header {
    font-size: 2rem;
  }

  .custom-info-icon {
    width: 55px;
    height: 55px;
    font-size: 20px;
    margin-right: 10px;
  }

  .custom-social-links {
    margin-top: 30px;
  }

  .custom-contact-card {
    border-radius: 15px;
  }

  .custom-contact-hero {
    padding: 40px 0;
  }
}

/* about us  */

.doctor-about-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
}

.doctor-section-title {
  color: #224fa3;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.doctor-section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #9733c4;
  position: absolute;
  bottom: -10px;
  left: 0;
}

.doctor-info-card {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border-left: 4px solid #224fa3;
  transition: transform 0.3s ease;
}

.doctor-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.doctor-publication-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 3px solid #9733c4;
}

.doctor-publication-title {
  color: #224fa3;
  font-weight: 600;
  margin-bottom: 10px;
}

.doctor-journal-info {
  color: #666;
  font-style: italic;
  margin-bottom: 8px;
}

.doctor-authors {
  color: #2c3e50;
  font-weight: 500;
}

.doctor-text-muted {
  color: #333;
}

@media (max-width: 768px) {
  .doctor-info-card {
    padding: 10px 0;
    box-shadow: none;
    margin: 0;
    border: none;
  }

  .doctor-publication-item {
    padding: 10px 0;
    border: none;
    background-color: #fff;
    border-bottom: 3px solid #9733c4;
    border-top: 3px solid #9733c4;
  }
}

/* blog */

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  /* height: 220px; */
}

.blog-image {
  width: 100%;
  /* height: 100%; */
  aspect-ratio: 5/4;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #224fa3;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.blog-body {
  padding: 20px;
}

.blog-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  line-height: 30px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-text {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 20px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-btn {
  font-size: 1.25rem;
  padding: 10px 25px;
  border-radius: 50px;
  color: #224fa3;
  border: 1px solid #224fa3;
  margin: 0;
}

.blog-btn:hover {
  background-color: #224fa3;
  color: #fff;
}
