/* ==========================================================================
         PREMIUM COMPACT DIVINE HEADER STYLES (Ultra-Clean, Luxury & Responsive)
         ========================================================================== */

      /* 1. Header Top (Golden Yellow, Slim & Compact) */
      .header-layout5 .header-top {
        background: #ffd54f !important;
        background-color: #ffd54f !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid rgba(132, 0, 0, 0.15) !important;
        margin-bottom: 0 !important;
      }
      .header-layout5 .header-top .header-links ul {
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
        list-style: none !important;
      }
      .header-layout5 .header-top .header-links li {
        font-size: 12.5px !important;
        color: #5a0000 !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
      }
      .header-layout5 .header-top .header-links li a {
        color: #5a0000 !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: color 0.25s ease !important;
      }
      .header-layout5 .header-top .header-links li a:hover {
        color: #840000 !important;
        text-decoration: underline !important;
      }
      .header-layout5 .header-top .header-links li i {
        color: #840000 !important;
        font-size: 12.5px !important;
      }

      /* Social icons in header top */
      .header-layout5 .header-social {
        display: inline-flex !important;
        align-items: center !important;
        gap: 12px !important;
      }
      .header-layout5 .header-social .social-title {
        font-size: 12px !important;
        color: #5a0000 !important;
        font-weight: 700 !important;
        letter-spacing: 0.3px !important;
      }
      .header-layout5 .header-social a {
        color: #5a0000 !important;
        font-size: 13.5px !important;
        transition: all 0.25s ease !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .header-layout5 .header-social a:hover {
        color: #840000 !important;
        transform: translateY(-1px) !important;
      }

      /* Circular Red Devotee Profile Icon Button (Desktop & Mobile) */
      .header-layout5 .main-menu > ul > li.menu-item-profile {
        display: inline-flex !important;
        align-items: center !important;
        margin-left: 8px !important;
        position: relative !important;
      }
      .header-profile-btn,
      .header-layout5 .main-menu > ul > li.menu-item-profile > a,
      .header-layout5 .header-mobile-actions .header-profile-btn {
        background: radial-gradient(circle at top, #88141d 0%, #600a10 65%, #46060b 100%) !important;
        background-color: #600a10 !important;
        color: #ffffff !important;
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 50% !important;
        font-size: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid #ffd700 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
        transition: all 0.25s ease !important;
        text-decoration: none !important;
        cursor: pointer !important;
        line-height: 1 !important;
        box-sizing: border-box !important;
        position: relative !important;
        z-index: 10 !important;
        flex-shrink: 0 !important;
        overflow: hidden !important;
        vertical-align: middle !important;
      }
      .header-profile-btn svg,
      .header-profile-btn i,
      .header-layout5 .main-menu > ul > li.menu-item-profile > a svg,
      .header-layout5 .main-menu > ul > li.menu-item-profile > a i,
      .header-layout5 .header-mobile-actions .header-profile-btn svg,
      .header-layout5 .header-mobile-actions .header-profile-btn i {
        color: #ffffff !important;
        fill: #ffffff !important;
        font-size: 18px !important;
        width: 18px !important;
        height: 18px !important;
        line-height: 1 !important;
        display: block !important;
        margin: auto !important;
        padding: 0 !important;
        font-family: "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
        font-weight: 900 !important;
        font-style: normal !important;
        transition: color 0.25s ease, fill 0.25s ease !important;
      }
      .header-layout5 .main-menu > ul > li.menu-item-profile > a:before,
      .header-layout5 .main-menu > ul > li.menu-item-profile > a::before,
      .header-layout5 .main-menu > ul > li.menu-item-profile > a:after,
      .header-layout5 .main-menu > ul > li.menu-item-profile > a::after,
      .header-profile-btn:before,
      .header-profile-btn::before,
      .header-profile-btn:after,
      .header-profile-btn::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
        height: 0 !important;
      }
      .header-profile-btn:hover {
        background: radial-gradient(circle at top, #a81c24 0%, #88141d 65%, #600a10 100%) !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
        transform: translateY(-1.5px) scale(1.06) !important;
        box-shadow: 0 4px 14px rgba(255, 215, 0, 0.45) !important;
      }
      .header-profile-btn:hover svg,
      .header-profile-btn:hover i {
        color: #ffd700 !important;
        fill: #ffd700 !important;
      }

      /* Devotee Profile Dropdown Menu */
      .header-layout5 .main-menu > ul > li.menu-item-profile {
        position: relative !important;
      }
      .devotee-profile-dropdown {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: -10px !important;
        left: auto !important;
        min-width: 220px !important;
        background: #ffffff !important;
        border: 1.5px solid #d4af37 !important;
        border-radius: 12px !important;
        box-shadow: 0 12px 36px rgba(132, 0, 0, 0.22) !important;
        padding: 0 0 6px 0 !important;
        margin: 0 !important;
        list-style: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(12px) !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 99999 !important;
        text-align: left !important;
      }
      .devotee-profile-dropdown::before {
        content: '' !important;
        position: absolute !important;
        top: -7px !important;
        right: 22px !important;
        width: 12px !important;
        height: 12px !important;
        background: #faf6f0 !important;
        border-left: 1.5px solid #d4af37 !important;
        border-top: 1.5px solid #d4af37 !important;
        transform: rotate(45deg) !important;
        z-index: 100 !important;
      }
      .header-layout5 .main-menu > ul > li.menu-item-profile:hover .devotee-profile-dropdown,
      .header-layout5 .main-menu > ul > li.menu-item-profile.dropdown-open .devotee-profile-dropdown {
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
      }
      .devotee-dropdown-header {
        padding: 12px 16px 10px !important;
        border-bottom: 1px solid #f1e4d0 !important;
        text-align: left !important;
        background: #faf6f0 !important;
        border-radius: 10px 10px 0 0 !important;
      }
      .devotee-dropdown-header .om-title {
        font-size: 10.5px !important;
        font-weight: 800 !important;
        color: #840000 !important;
        letter-spacing: 0.6px !important;
        text-transform: uppercase !important;
        display: block !important;
        margin-bottom: 3px !important;
      }
      .devotee-dropdown-header .mobile-badge {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #1f2937 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
      }
      .devotee-dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 16px !important;
        color: #374151 !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        line-height: 1.4 !important;
      }
      .devotee-dropdown-item:hover {
        background: #fdf5e6 !important;
        color: #840000 !important;
        padding-left: 20px !important;
      }
      .devotee-dropdown-item.item-logout {
        color: #b91c1c !important;
        border-top: 1px solid #f3f4f6 !important;
        margin-top: 4px !important;
      }
      .devotee-dropdown-item.item-logout:hover {
        background: #fef2f2 !important;
        color: #991b1b !important;
      }

      /* Devotee Global Login Modal (Popup) */
      .hr-devotee-modal .modal-dialog {
        max-width: 780px !important;
        width: 95% !important;
      }
      .hr-devotee-modal .modal-content {
        border-radius: 20px !important;
        border: none !important;
        overflow: hidden !important;
        box-shadow: 0 25px 60px rgba(0,0,0,0.35) !important;
      }
      .hr-devotee-modal .hr-ver-left-panel {
        background: linear-gradient(135deg, #600000 0%, #8c1c13 100%) !important;
        color: #ffffff !important;
        padding: 40px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        position: relative !important;
      }
      .hr-devotee-modal .hr-ver-title {
        color: #fbbf24 !important;
        font-family: 'Playfair Display', serif !important;
        font-weight: 800 !important;
        font-size: 1.35rem !important;
        margin-bottom: 12px !important;
        line-height: 1.3 !important;
      }
      .hr-devotee-modal .hr-ver-room-type {
        display: inline-block !important;
        background: rgba(255,255,255,0.15) !important;
        backdrop-filter: blur(5px) !important;
        color: #ffffff !important;
        padding: 6px 16px !important;
        border-radius: 20px !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        margin-bottom: 18px !important;
      }
      .hr-devotee-modal .hr-ver-details p {
        font-size: 0.92rem !important;
        color: #f1f5f9 !important;
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
      }
      .hr-devotee-modal .hr-ver-right-panel {
        padding: 40px 30px !important;
        background: #ffffff !important;
        position: relative !important;
      }
      .hr-devotee-modal .hr-ver-close {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        background: transparent !important;
        border: none !important;
        font-size: 1.3rem !important;
        color: #94a3b8 !important;
        cursor: pointer !important;
        transition: color 0.2s ease !important;
      }
      .hr-devotee-modal .hr-ver-close:hover {
        color: #840000 !important;
      }
      .hr-devotee-modal .hr-ver-label {
        font-weight: 700 !important;
        color: #0f172a !important;
        font-size: 0.92rem !important;
        margin-bottom: 8px !important;
        display: block !important;
      }
      .hr-devotee-modal .hr-ver-input {
        height: 48px !important;
        border-radius: 10px !important;
        border: 1px solid #cbd5e1 !important;
        padding: 10px 16px !important;
        font-weight: 600 !important;
        font-size: 1rem !important;
      }
      .hr-devotee-modal .hr-ver-input:focus {
        border-color: #8c1c13 !important;
        box-shadow: 0 0 0 3px rgba(140, 28, 19, 0.15) !important;
      }
      .hr-devotee-modal .hr-ver-btn-otp {
        background: #8c1c13 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        padding: 0 20px !important;
        border: none !important;
      }
      .hr-devotee-modal .hr-ver-btn-otp:hover {
        background: #600000 !important;
        color: #ffffff !important;
      }
      .hr-devotee-modal .hr-ver-btn-next {
        width: 100% !important;
        height: 48px !important;
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 1.05rem !important;
        border-radius: 10px !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3) !important;
        transition: all 0.3s ease !important;
      }
      .hr-devotee-modal .hr-ver-btn-next:hover {
        background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
        color: #ffffff !important;
      }
      .hr-devotee-modal .hr-ver-btn-next.btn-send-otp-state {
        background: linear-gradient(135deg, #840000 0%, #5e0000 100%) !important;
        border: 1.5px solid #ffd700 !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(132, 0, 0, 0.35) !important;
      }
      .hr-devotee-modal .hr-ver-btn-next.btn-send-otp-state:hover {
        background: linear-gradient(135deg, #9b0b14 0%, #73060c 100%) !important;
        border-color: #ffffff !important;
        color: #ffd54f !important;
        box-shadow: 0 6px 20px rgba(132, 0, 0, 0.5) !important;
        transform: translateY(-1px) !important;
      }
      .hr-devotee-modal .hr-ver-btn-next.btn-verify-state {
        background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
        border: 1.5px solid #86efac !important;
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35) !important;
      }
      .hr-devotee-modal .hr-ver-btn-next.btn-verify-state:hover {
        background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
        box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5) !important;
        transform: translateY(-1px) !important;
      }
      .hr-devotee-modal .hr-ver-otp-text {
        font-size: 0.8rem !important;
        color: #64748b !important;
        text-align: center !important;
        line-height: 1.4 !important;
        margin-top: 10px !important;
      }

      /* ==========================================================================
         2. MAIN NAVBAR AREA (.menu-area) - Red Background with Ornate Pattern
         ========================================================================== */
      .header-layout5 .menu-area {
        position: relative !important;
        background-color: #840000 !important;
        background-image: url(/assets/img/bg/pattern_bg_2.png) !important;
        background-repeat: repeat !important;
        background-position: center !important;
        background-size: auto !important;
        border-bottom: 2.5px solid #d4af37 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18) !important;
        padding: 0 !important;
        z-index: 99 !important;
      }

      /* Container & Row: ensure row never wraps and has fluid padding on laptops */
      .header-layout5 .menu-area .container {
        position: relative !important;
        z-index: 3 !important;
      }
      .header-layout5 .menu-area .row {
        flex-wrap: nowrap !important;
      }

      /* Base Logo Shape (White Slanted Background) */
      .header-layout5 .logo-shape {
        display: block !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        background-color: #ffffff !important;
        -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%) !important;
        clip-path: polygon(0 0, 100% 0%, calc(100% - 32px) 100%, 0% 100%) !important;
        z-index: 1 !important;
        transition: width 0.3s ease !important;
      }

      /* Logo Shape Desktop (>= 1400px) */
      @media (min-width: 1400px) {
        .header-layout5 .logo-shape {
          width: calc((100vw - 1320px) / 2 + 450px) !important;
          min-width: 440px !important;
        }
      }

      /* Logo Shape & Container for Laptops / MacBook Air (1200px - 1399px) */
      @media (min-width: 1200px) and (max-width: 1399px) {
        .header-layout5 .menu-area .container {
          max-width: 100% !important;
          padding-left: clamp(16px, 2.5vw, 32px) !important;
          padding-right: clamp(16px, 2.5vw, 32px) !important;
        }
        .header-layout5 .logo-shape {
          width: clamp(370px, 31vw, 420px) !important;
          min-width: 360px !important;
        }
      }

      /* Logo Shape & Container for Small Laptops / Tablets Landscape (992px - 1199px) */
      @media (min-width: 992px) and (max-width: 1199px) {
        .header-layout5 .menu-area .container {
          max-width: 100% !important;
          padding-left: clamp(12px, 2vw, 24px) !important;
          padding-right: clamp(12px, 2vw, 24px) !important;
        }
        .header-layout5 .logo-shape {
          width: clamp(330px, 33vw, 360px) !important;
          min-width: 315px !important;
          max-width: 42% !important;
        }
      }

      /* Logo Shape on Mobile & Tablet (< 992px) - NEVER expand beyond (100% - 64px) */
      @media (max-width: 991px) {
        .header-layout5 .logo-shape {
          width: calc(100% - 64px) !important;
          min-width: 0 !important;
          max-width: calc(100% - 64px) !important;
          -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 24px) 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0%, calc(100% - 24px) 100%, 0% 100%) !important;
        }
      }
      @media (max-width: 420px) {
        .header-layout5 .logo-shape {
          width: calc(100% - 54px) !important;
          min-width: 0 !important;
          max-width: calc(100% - 54px) !important;
          -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 18px) 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0%, calc(100% - 18px) 100%, 0% 100%) !important;
        }
      }

      /* ==========================================================================
         STICKY HEADER ON SCROLL (.sticky-wrapper.sticky)
         ========================================================================== */
      .sticky-wrapper.sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        animation: stickyAni 0.35s ease-in-out !important;
      }
      .sticky-wrapper.sticky .header-layout5 .menu-area,
      .sticky-wrapper.sticky .menu-area {
        background-color: #840000 !important;
        background-image: url(/assets/img/bg/pattern_bg_2.png) !important;
        border-bottom: 2.5px solid #d4af37 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.32) !important;
        padding: 0 !important;
      }

      /* Sticky Logo Shape: Desktop (>= 1400px) */
      @media (min-width: 1400px) {
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: calc((100vw - 1320px) / 2 + 420px) !important;
          min-width: 400px !important;
        }
      }

      /* Sticky Logo Shape: Laptops / MacBook Air (1200px - 1399px) */
      @media (min-width: 1200px) and (max-width: 1399px) {
        .sticky-wrapper.sticky .header-layout5 .menu-area .container {
          max-width: 100% !important;
          padding-left: clamp(16px, 2.5vw, 32px) !important;
          padding-right: clamp(16px, 2.5vw, 32px) !important;
        }
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: clamp(360px, 30vw, 400px) !important;
          min-width: 350px !important;
        }
      }

      /* Sticky Logo Shape: Small Laptops (992px - 1199px) */
      @media (min-width: 992px) and (max-width: 1199px) {
        .sticky-wrapper.sticky .header-layout5 .menu-area .container {
          max-width: 100% !important;
          padding-left: clamp(12px, 2vw, 24px) !important;
          padding-right: clamp(12px, 2vw, 24px) !important;
        }
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: clamp(320px, 31vw, 350px) !important;
          min-width: 305px !important;
          max-width: 42% !important;
        }
      }

      /* CRITICAL FIX: Sticky Logo Shape on Mobile & Tablet (< 992px) */
      /* Must strictly stay within (100% - 64px) so it NEVER covers the toggle button or overflows screen */
      @media (max-width: 991px) {
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: calc(100% - 64px) !important;
          min-width: 0 !important;
          max-width: calc(100% - 64px) !important;
          -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 24px) 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0%, calc(100% - 24px) 100%, 0% 100%) !important;
        }
      }
      @media (max-width: 420px) {
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: calc(100% - 54px) !important;
          min-width: 0 !important;
          max-width: calc(100% - 54px) !important;
          -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 18px) 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0%, calc(100% - 18px) 100%, 0% 100%) !important;
        }
      }

      /* ==========================================================================
         LOGO SIZING & PRESENTATION
         ========================================================================== */
      .header-layout5 .header-logo {
        position: relative !important;
        z-index: 5 !important;
        padding: 6px 0 !important;
        display: flex !important;
        align-items: center !important;
      }
      .header-layout5 .header-logo img {
        max-height: 42px !important;
        width: auto !important;
        object-fit: contain !important;
        transition: all 0.3s ease !important;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12)) !important;
      }

      /* Logo scaling on MacBook Air & Laptops (1200px - 1399px) */
      @media (min-width: 1200px) and (max-width: 1399px) {
        .header-layout5 .header-logo img {
          max-height: 36px !important;
        }
        .sticky-wrapper.sticky .header-layout5 .header-logo img {
          max-height: 34px !important;
        }
      }

      /* Logo scaling on Small Laptops (992px - 1199px) */
      @media (min-width: 992px) and (max-width: 1199px) {
        .header-layout5 .header-logo img {
          max-height: 32px !important;
        }
        .sticky-wrapper.sticky .header-layout5 .header-logo img {
          max-height: 30px !important;
        }
      }

      /* Logo scaling on Mobile & Tablet (< 992px) */
      @media (max-width: 991px) {
        .header-layout5 .header-logo,
        .sticky-wrapper.sticky .header-layout5 .header-logo {
          padding: 4px 0 !important;
        }
        .header-layout5 .header-logo img,
        .sticky-wrapper.sticky .header-layout5 .header-logo img {
          max-height: 35px !important;
          max-width: calc(100vw - 90px) !important;
          width: auto !important;
          object-fit: contain !important;
          margin: 0 !important;
        }
      }
      @media (max-width: 420px) {
        .header-layout5 .header-logo img,
        .sticky-wrapper.sticky .header-layout5 .header-logo img {
          max-height: 29px !important;
          max-width: calc(100vw - 75px) !important;
        }
      }

      /* ==========================================================================
         3. MAIN MENU NAVIGATION LINKS (Desktop & Laptop >= 992px)
         ========================================================================== */
      @media (min-width: 992px) {
        .header-layout5 .main-menu {
          display: inline-block !important;
          position: relative !important;
          z-index: 5 !important;
        }
        .header-layout5 .th-menu-toggle {
          display: none !important;
        }
        .header-layout5 .main-menu > ul {
          margin: 0 !important;
          padding: 0 !important;
          display: flex !important;
          align-items: center !important;
          gap: 4px !important;
          list-style: none !important;
          flex-wrap: nowrap !important;
        }
        .header-layout5 .main-menu > ul > li {
          display: inline-block !important;
          position: relative !important;
          white-space: nowrap !important;
        }
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile) > a {
          display: inline-flex !important;
          align-items: center !important;
          font-size: 13.8px !important;
          font-weight: 600 !important;
          color: #ffffff !important;
          padding: 16px 11px !important;
          white-space: nowrap !important;
          letter-spacing: 0.25px !important;
          transition: all 0.25s ease !important;
          position: relative !important;
          text-decoration: none !important;
        }
        .header-layout5 .main-menu > ul > li > a:hover,
        .header-layout5 .main-menu > ul > li.active > a {
          color: #ffd54f !important;
        }

        /* Gold Underline Indicator on Active & Hover using ::before */
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile) > a:before,
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile) > a::before {
          content: '' !important;
          display: block !important;
          position: absolute !important;
          bottom: 6px !important;
          left: 10px !important;
          right: 10px !important;
          width: auto !important;
          height: 2px !important;
          background-color: #ffd54f !important;
          border-radius: 2px !important;
          transform: scaleX(0) !important;
          transform-origin: center !important;
          transition: transform 0.25s ease !important;
          z-index: 2 !important;
        }
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile):hover > a:before,
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile).active > a:before,
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile):hover > a::before,
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile).active > a::before {
          transform: scaleX(1) !important;
        }

        /* Regular Menu Items: Disable ::after completely */
        .header-layout5 .main-menu > ul > li:not(.menu-item-has-children) > a:after,
        .header-layout5 .main-menu > ul > li:not(.menu-item-has-children) > a::after {
          display: none !important;
          content: none !important;
        }

        /* Dropdown Chevron Icon on Menu Items with Children */
        .header-layout5 .main-menu > ul > li.menu-item-has-children > a:after,
        .header-layout5 .main-menu > ul > li.menu-item-has-children > a::after {
          content: "\f078" !important;
          display: inline-block !important;
          position: relative !important;
          font-family: var(--icon-font, "Font Awesome 6 Pro", "Font Awesome 5 Free", "FontAwesome") !important;
          margin-left: 5px !important;
          font-size: 11px !important;
          color: #ffffff !important;
          transition: transform 0.3s ease, color 0.25s ease !important;
        }
        .header-layout5 .main-menu > ul > li.menu-item-has-children:hover > a:after,
        .header-layout5 .main-menu > ul > li.menu-item-has-children:hover > a::after {
          transform: rotate(180deg) !important;
          color: #ffd54f !important;
        }
        
        /* Submenu Dropdown Styling */
        .header-layout5 .main-menu ul.sub-menu {
          background: #ffffff !important;
          border-radius: 12px !important;
          border: 1px solid #fae4be !important;
          box-shadow: 0 10px 30px rgba(132, 0, 0, 0.14) !important;
          padding: 8px 0 !important;
          min-width: 210px !important;
          top: 100% !important;
        }
        .header-layout5 .main-menu ul.sub-menu li {
          display: block !important;
          padding: 0 !important;
        }
        .header-layout5 .main-menu ul.sub-menu li a {
          color: #374151 !important;
          font-size: 13.5px !important;
          font-weight: 600 !important;
          padding: 8px 20px !important;
          display: block !important;
          transition: all 0.2s ease !important;
          text-decoration: none !important;
        }
        .header-layout5 .main-menu ul.sub-menu li a:hover {
          background: #fdf6e7 !important;
          color: #840000 !important;
          padding-left: 24px !important;
        }
      }

      /* MacBook Air & Standard Laptops (1200px - 1399px) Navigation Tuning */
      @media (min-width: 1200px) and (max-width: 1399px) {
        .header-layout5 .main-menu > ul {
          gap: 2px !important;
        }
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile) > a {
          font-size: 13px !important;
          padding: 15px 8px !important;
          letter-spacing: 0.1px !important;
        }
        .header-layout5 .main-menu > ul > li.menu-item-profile {
          margin-left: 4px !important;
        }
        .header-profile-btn {
          width: 33px !important;
          height: 33px !important;
          min-width: 33px !important;
          font-size: 15px !important;
        }
      }

      /* Small Laptops & Sub-notebooks (992px - 1199px) Navigation Tuning */
      @media (min-width: 992px) and (max-width: 1199px) {
        .header-layout5 .main-menu > ul {
          gap: 1px !important;
        }
        .header-layout5 .main-menu > ul > li:not(.menu-item-profile) > a {
          font-size: 12.2px !important;
          padding: 14px 6px !important;
          letter-spacing: 0 !important;
        }
        .header-layout5 .main-menu > ul > li.menu-item-profile {
          margin-left: 3px !important;
        }
        .header-profile-btn {
          width: 31px !important;
          height: 31px !important;
          min-width: 31px !important;
          font-size: 14px !important;
        }
      }

      /* ==========================================================================
         MOBILE ACTIONS (PROFILE BUTTON + HAMBURGER TOGGLE) (< 992px)
         ========================================================================== */
      @media (max-width: 991px) {
        .header-layout5 .menu-area {
          padding: 6px 0 !important;
        }
        .header-layout5 .menu-area .container {
          max-width: 100% !important;
          padding-left: 12px !important;
          padding-right: 12px !important;
        }
        .header-layout5 .main-menu {
          display: none !important;
        }
        .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: calc(100% - 96px) !important;
          min-width: 0 !important;
          max-width: calc(100% - 96px) !important;
          -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 20px) 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0%, calc(100% - 20px) 100%, 0% 100%) !important;
        }
        .header-layout5 .header-logo img,
        .sticky-wrapper.sticky .header-layout5 .header-logo img {
          max-height: 32px !important;
          max-width: calc(100vw - 120px) !important;
          width: auto !important;
          object-fit: contain !important;
          margin: 0 !important;
        }
        .header-layout5 .header-mobile-actions,
        .sticky-wrapper.sticky .header-layout5 .header-mobile-actions {
          position: relative !important;
          z-index: 10 !important;
          display: inline-flex !important;
          align-items: center !important;
          gap: 8px !important;
        }
        .header-layout5 .header-mobile-actions .header-profile-btn,
        .sticky-wrapper.sticky .header-layout5 .header-mobile-actions .header-profile-btn,
        .header-profile-btn-mobile,
        #headerMobileDevoteeProfileBtn,
        #headerMobileDevoteeProfileBtnAuto {
          display: none !important;
        }
        .header-layout5 .th-menu-toggle,
        .sticky-wrapper.sticky .header-layout5 .th-menu-toggle {
          position: relative !important;
          z-index: 10 !important;
          display: inline-flex !important;
          align-items: center !important;
          justify-content: center !important;
          background: rgba(255, 255, 255, 0.15) !important;
          border: 1.5px solid #ffd54f !important;
          border-radius: 8px !important;
          width: 38px !important;
          height: 38px !important;
          min-width: 38px !important;
          padding: 0 !important;
          margin: 0 !important;
          color: #ffd54f !important;
          cursor: pointer !important;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
          transition: all 0.25s ease !important;
        }
        .header-layout5 .th-menu-toggle:hover,
        .sticky-wrapper.sticky .header-layout5 .th-menu-toggle:hover {
          background: rgba(255, 255, 255, 0.28) !important;
          border-color: #ffffff !important;
          color: #ffffff !important;
        }
        .header-layout5 .th-menu-toggle i,
        .sticky-wrapper.sticky .header-layout5 .th-menu-toggle i {
          color: #ffd54f !important;
          font-size: 19px !important;
          line-height: 1 !important;
          display: inline-block !important;
        }
      }
      @media (max-width: 420px) {
        .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .header-layout5 .logo-shape,
        .sticky-wrapper.sticky .logo-shape {
          width: calc(100% - 84px) !important;
          min-width: 0 !important;
          max-width: calc(100% - 84px) !important;
          -webkit-clip-path: polygon(0 0, 100% 0%, calc(100% - 16px) 100%, 0% 100%) !important;
          clip-path: polygon(0 0, 100% 0%, calc(100% - 16px) 100%, 0% 100%) !important;
        }
        .header-layout5 .header-logo img,
        .sticky-wrapper.sticky .header-layout5 .header-logo img {
          max-height: 28px !important;
          max-width: calc(100vw - 105px) !important;
        }
        .header-layout5 .header-mobile-actions {
          gap: 6px !important;
        }
        .header-layout5 .header-mobile-actions .header-profile-btn,
        .sticky-wrapper.sticky .header-layout5 .header-mobile-actions .header-profile-btn {
          display: none !important;
        }
        .header-layout5 .th-menu-toggle,
        .sticky-wrapper.sticky .header-layout5 .th-menu-toggle {
          width: 34px !important;
          height: 34px !important;
          min-width: 34px !important;
        }
        .header-layout5 .th-menu-toggle i,
        .sticky-wrapper.sticky .header-layout5 .th-menu-toggle i {
          font-size: 17px !important;
        }
      }
/* ==========================================================================
   BULLETPROOF INPUT-GROUP FOR DEVOTEE & VERIFICATION POPUPS
   (Works consistently across booking-room, booking-time, booking-process, etc.)
   ========================================================================== */
.hr-devotee-modal .input-group,
.hr-ver-modal-container .input-group,
#devoteeGlobalLoginModal .input-group,
#hrVerificationModal .input-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  margin-bottom: 0 !important;
  position: relative !important;
}

.hr-devotee-modal .input-group > .input-group-text,
.hr-ver-modal-container .input-group > .input-group-text,
#devoteeGlobalLoginModal .input-group > .input-group-text,
#hrVerificationModal .input-group > .input-group-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: 48px !important;
  background-color: #faf6f0 !important;
  color: #840000 !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  padding: 0 14px !important;
  border: 1.5px solid #d4af37 !important;
  border-right: none !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.hr-devotee-modal .input-group > .form-control,
.hr-devotee-modal .input-group > .hr-ver-input,
.hr-ver-modal-container .input-group > .form-control,
.hr-ver-modal-container .input-group > .hr-ver-input,
#devoteeGlobalLoginModal .input-group > .form-control,
#devoteeGlobalLoginModal .input-group > .hr-ver-input,
#hrVerificationModal .input-group > .form-control,
#hrVerificationModal .input-group > .hr-ver-input {
  display: block !important;
  flex: 1 1 auto !important;
  width: 1% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 10px 16px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border: 1.5px solid #d4af37 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
}

.hr-devotee-modal .input-group > .form-control:focus,
.hr-devotee-modal .input-group > .hr-ver-input:focus,
.hr-ver-modal-container .input-group > .form-control:focus,
.hr-ver-modal-container .input-group > .hr-ver-input:focus,
#devoteeGlobalLoginModal .input-group > .form-control:focus,
#devoteeGlobalLoginModal .input-group > .hr-ver-input:focus,
#hrVerificationModal .input-group > .form-control:focus,
#hrVerificationModal .input-group > .hr-ver-input:focus {
  border-color: #840000 !important;
  box-shadow: 0 0 0 3px rgba(132, 0, 0, 0.15) !important;
  z-index: 3 !important;
}


/* ==========================================================================
   PERFECT UNIFIED INPUT-GROUP FOR ALL PAGES AND MODALS
   (Ensures 100% consistent look on booking-room, booking-time, booking-process, etc.)
   ========================================================================== */
.hr-devotee-modal .input-group,
.hr-ver-modal-container .input-group,
#devoteeGlobalLoginModal .input-group,
#hrVerificationModal .input-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  position: relative !important;
}

.hr-devotee-modal .input-group > .input-group-text,
.hr-ver-modal-container .input-group > .input-group-text,
#devoteeGlobalLoginModal .input-group > .input-group-text,
#hrVerificationModal .input-group > .input-group-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: 48px !important;
  background-color: #faf6f0 !important;
  color: #840000 !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  padding: 0 16px !important;
  border: 1.5px solid #d4af37 !important;
  border-right: none !important;
  border-top-left-radius: 10px !important;
  border-bottom-left-radius: 10px !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
}

.hr-devotee-modal .input-group > .form-control,
.hr-devotee-modal .input-group > .hr-ver-input,
.hr-devotee-modal .input-group > input,
.hr-ver-modal-container .input-group > .form-control,
.hr-ver-modal-container .input-group > .hr-ver-input,
.hr-ver-modal-container .input-group > input,
#devoteeGlobalLoginModal .input-group > .form-control,
#devoteeGlobalLoginModal .input-group > .hr-ver-input,
#devoteeGlobalLoginModal .input-group > input,
#hrVerificationModal .input-group > .form-control,
#hrVerificationModal .input-group > .hr-ver-input,
#hrVerificationModal .input-group > input {
  display: block !important;
  flex: 1 1 auto !important;
  width: 1% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: normal !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 10px 16px !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  border: 1.5px solid #d4af37 !important;
  border-left: 1px solid #cbd5e1 !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-top-right-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.hr-devotee-modal .input-group > .form-control:focus,
.hr-devotee-modal .input-group > .hr-ver-input:focus,
.hr-ver-modal-container .input-group > .form-control:focus,
.hr-ver-modal-container .input-group > .hr-ver-input:focus,
#devoteeGlobalLoginModal .input-group > .form-control:focus,
#devoteeGlobalLoginModal .input-group > .hr-ver-input:focus,
#hrVerificationModal .input-group > .form-control:focus,
#hrVerificationModal .input-group > .hr-ver-input:focus {
  border-color: #840000 !important;
  box-shadow: 0 0 0 3px rgba(132, 0, 0, 0.15) !important;
  z-index: 3 !important;
}


      .header-profile-btn svg,
      .header-profile-btn svg path,
      .header-profile-btn svg circle,
      .header-profile-btn i {
        pointer-events: none !important;
      }

      /* Devotee Profile Dropdown (Strict Vertical Stacking: Row 1 = Profile, Row 2 = Logout) */
      .devotee-dropdown-header {
        display: none !important;
      }
      .devotee-profile-dropdown {
        display: flex !important;
        flex-direction: column !important;
        min-width: 180px !important;
        padding: 6px 0 !important;
        border-radius: 10px !important;
        list-style: none !important;
        white-space: nowrap !important;
      }
      .devotee-profile-dropdown > li,
      .main-menu ul .devotee-profile-dropdown li,
      .header-layout5 .main-menu > ul > li.menu-item-profile .devotee-profile-dropdown li,
      .header-layout5 .main-menu > ul > li.menu-item-profile .devotee-profile-dropdown > li {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
        clear: both !important;
        text-align: left !important;
      }
      .devotee-dropdown-item {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 11px 18px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #374151 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
        line-height: 1.4 !important;
      }
      .devotee-dropdown-item:hover {
        background: #fdf5e6 !important;
        color: #840000 !important;
        padding-left: 22px !important;
      }
      .devotee-profile-dropdown > li:first-child .devotee-dropdown-item {
        border-top-left-radius: 8px !important;
        border-top-right-radius: 8px !important;
      }
      .devotee-dropdown-item.item-logout {
        border-top: 1px solid #f1e4d0 !important;
        color: #b91c1c !important;
        border-bottom-left-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
        margin-top: 2px !important;
      }
      .devotee-dropdown-item.item-logout:hover {
        background: #fef2f2 !important;
        color: #991b1b !important;
      }
