/* =========================
   HEADER BASE
========================= */
.dr1049header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #6b0017, #8d1023, #c62828);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  font-family: 'Poppins', 'Noto Serif Telugu', sans-serif;
}

.dr1049header *,
.dr1049header *::before,
.dr1049header *::after {
  box-sizing: border-box;
}

/* =========================
   LAYOUT
========================= */
.dr1049header .nav-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LOGO
========================= */
.dr1049header .logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dr1049header .logo-icon-wrapper {
  position: relative;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dr1049header .logo-icon-wrapper::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(255, 215, 100, 0.6);
  box-shadow:
    0 0 20px rgba(255, 205, 90, 0.6),
    0 0 40px rgba(255, 150, 50, 0.4);
  animation: rotateAura 10s linear infinite,
             glowPulse 2.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.dr1049header .clinic-logo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff9e6;
  border: 3px solid #FFD966;
  z-index: 1;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.dr1049header .clinic-logo:hover {
  transform: scale(1.06);
  filter: brightness(1.15);
}

/* =========================
   LOGO TEXT
========================= */
.dr1049header .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.dr1049header .logo-text .eng {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffe09c;
  letter-spacing: 0.8px;
  text-shadow: 0 0 4px rgba(255, 225, 150, 0.4);
}

.dr1049header .logo-text .telugu {
  font-size: 1rem;
  color: #fff4d1;
  font-weight: 600;
}

.dr1049header .logo-text .location a {
  font-size: 0.82rem;
  color: #f5d2b3;
  text-decoration: none;
}

.dr1049header .logo-text .location a:hover {
  color: #FFD966;
}

/* =========================
   NAV LINKS
========================= */
.dr1049header nav {
  display: flex;
}

.dr1049header .nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.dr1049header .nav-links a {
  color: #fffce8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.dr1049header .nav-links a:hover {
  color: #FFD966;
}

/* =========================
   INSTAGRAM BUTTON
========================= */
.dr1049header .instagram-link a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.dr1049header .instagram-link a:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  filter: brightness(1.1);
}

/* =========================
   WHATSAPP BUTTON
========================= */
.dr1049header .whatsapp-btn a {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  padding: 8px 16px;
  border-radius: 6px;
  color: #fff !important;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.3s ease;
}

.dr1049header .whatsapp-btn a:hover {
  background: #1da851;
  transform: translateY(-1px);
}

/* =========================
   HAMBURGER
========================= */
.dr1049header .hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.dr1049header .hamburger.active {
  transform: rotate(90deg);
}

/* =========================
   MOBILE NAV
========================= */
@media (max-width: 768px) {

  .dr1049header nav {
    position: fixed;
    top: 90px;
    right: 0;
    width: 260px;
    height: calc(100vh - 90px);
    background: #661623;
    padding: 22px;
    transform: translateX(120%);
    transition: transform 0.45s ease;
    z-index: 9998;
  }

  .dr1049header nav.open {
    transform: translateX(0);
  }

  .dr1049header .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .dr1049header .instagram-link a,
  .dr1049header .whatsapp-btn a {
    width: 100%;
    justify-content: flex-start;
  }

  .dr1049header .hamburger {
    display: block;
  }
}

/* =========================
   ANIMATIONS
========================= */
@keyframes rotateAura {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes glowPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}