/* =========================
   SECTION BASE
========================= */
.dr1057aboutdoctorbrief {
  padding: 80px 20px;
  background: radial-gradient(circle at top left, #020617, #0f172a);
  color: #fff;
  position: relative;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

/* Background glow */
.dr1057aboutdoctorbrief::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #00c6ff, #7f00ff);
  filter: blur(150px);
  opacity: 0.25;
  top: -150px;
  left: -150px;
  z-index: 0;
}

/* Container */
.dr1057aboutdoctorbrief-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* =========================
   IMAGE SECTION
========================= */
.dr1057aboutdoctorbrief-image {
  flex: 1;
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateX(-60px);
}

/* Glow behind image */
.image-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #00c6ff, transparent);
  filter: blur(80px);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.5;
}

/* Frame */
.dr1057aboutdoctorbrief-image-frame {
  position: relative;
  display: inline-block;
  padding: 6px;
  border-radius: 22px;
  background: linear-gradient(135deg, #d4af37, #f5d76e, #b8860b);
  box-shadow: 0 0 25px rgba(212,175,55,0.4);
}

/* Image */
.dr1057aboutdoctorbrief-image-frame img {
  display: block;
  border-radius: 18px;
  width: 100%;
  max-width: 380px;
  position: relative;
  z-index: 2;
}

/* Stars */
.dr1057aboutdoctorbrief-stars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 18px;
  pointer-events: none;
  z-index: 3;
}

.dr1057aboutdoctorbrief-star {
  position: absolute;
  top: -10px;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 8px white, 0 0 12px #ffd700;
  animation: dr1057fall linear infinite;
}

@keyframes dr1057fall {
  0% { transform: translateY(-10px); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(500px) translateX(30px); opacity: 0; }
}

/* Shine */
.dr1057aboutdoctorbrief-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0.25;
  animation: dr1057shine 3s infinite;
}

@keyframes dr1057shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* =========================
   CONTENT SECTION
========================= */
.dr1057aboutdoctorbrief-content {
  flex: 1.2;
  opacity: 0;
  transform: translateX(60px);
}

.dr1057aboutdoctorbrief-content h2 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #00c6ff, #7f00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Prevent name breaking */
.no-break {
  white-space: nowrap;
}

.dr1057aboutdoctorbrief-content h4 {
  margin-top: 10px;
  opacity: 0.8;
}

.dr1057aboutdoctorbrief-content .intro {
  margin: 20px 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* Highlights */
.dr1057aboutdoctorbrief-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.highlight-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border-radius: 14px;
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 10px;
  align-items: center;
  transition: 0.3s;
}

.highlight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,198,255,0.4);
}

/* Details */
.dr1057aboutdoctorbrief-details h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

.dr1057aboutdoctorbrief-details ul {
  padding-left: 20px;
  opacity: 0.9;
}

.dr1057aboutdoctorbrief-details p {
  opacity: 0.85;
  line-height: 1.6;
}

/* =========================
   CTA BUTTONS (UPDATED)
========================= */
.dr1057aboutdoctorbrief-cta {
  margin-top: 25px;
}

/* Shared */
.btn-primary,
.btn-secondary,
.pdf-link {
  padding: 12px 20px;
  margin-right: 10px;
  margin-top: 10px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
}

/* Primary */
.btn-primary {
  background: linear-gradient(90deg, #00c6ff, #7f00ff);
  color: #fff;
  border: none;
}

/* Secondary */
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}

/* PDF button */
.pdf-link {
  background: linear-gradient(90deg, #ffd700, #ffb300);
  color: #0f172a;
  box-shadow: 0 4px 15px rgba(255, 183, 0, 0.3);
}

/* Hover */
.btn-primary:hover,
.btn-secondary:hover,
.pdf-link:hover {
  transform: scale(1.05);
}

/* =========================
   PDF MODAL
========================= */
.pdf-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
}

.pdf-modal-content {
  width: 90%;
  height: 90%;
  margin: 3% auto;
  position: relative;
}

.pdf-modal iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.close-pdf {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

/* =========================
   ANIMATION STATE
========================= */
.dr1057aboutdoctorbrief.active .dr1057aboutdoctorbrief-image {
  opacity: 1;
  transform: translateX(0);
  transition: 1s;
}

.dr1057aboutdoctorbrief.active .dr1057aboutdoctorbrief-content {
  opacity: 1;
  transform: translateX(0);
  transition: 1s 0.2s;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

  .dr1057aboutdoctorbrief-container {
    flex-direction: column;
    text-align: center;
  }

  .dr1057aboutdoctorbrief-content h2 {
    font-size: 2rem;
  }

  .dr1057aboutdoctorbrief-highlights {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary,
  .pdf-link {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .dr1057aboutdoctorbrief {
    padding: 60px 15px;
  }

  .dr1057aboutdoctorbrief-content h2 {
    font-size: 1.8rem;
  }

  .btn-primary,
  .btn-secondary,
  .pdf-link {
    width: 100%;
    text-align: center;
  }
}