/*********************************************************
   FONT + BASE
**********************************************************/
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: #fff;
}

/*********************************************************
   PREMIUM FLOATING HEADER WRAPPER
**********************************************************/
.header-wrapper {
  width: 90%;
  margin: 22px auto 0 auto;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;

  transition: 
    width 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.header-wrapper.scrolled {
  width: 100%;
  margin: 0;
  left: 0;
  transform: none;
}

/*********************************************************
   HEADER DESIGN — GLASS PREMIUM
**********************************************************/
.custom-header {
  width: 100%;
  height: 78px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(230,230,230,0.7);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);

  display: flex;
  align-items: center;
  transition: all 0.35s ease;
}

.header-wrapper.scrolled .custom-header {
  height: 66px;
  border-radius: 0;
  border: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

/*********************************************************
   HEADER INNER
**********************************************************/
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

/*********************************************************
   LOGO BOX
**********************************************************/
/* Remove old logo-box completely */
.logo-box {
  display: none !important;
}

/* New Logo Styling */
.header-logo-img {
  height: 54px;       /* adjust smaller or bigger */
  width: 54px;
  object-fit: cover;
  border-radius: 10%; /* circular logo */
  margin-left: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18); /* premium soft shadow */
  transition: 0.25s ease;
}

.header-logo-img:hover {
  transform: scale(1.05);
}

/*********************************************************
   DESKTOP MENU (CENTERED)
**********************************************************/
.header-menu {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  height: 40px;
  align-items: center;
}

.header-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 50px;
  white-space: nowrap;
}

.header-menu a {
  font-size: 13px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  position: relative;
  transition: 0.25s ease;
}

.header-menu a:hover {
  color: #006aff;
}

.header-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #006aff;
  transition: width 0.3s ease;
}

.header-menu a:hover::after {
  width: 100%;
}

/* Desktop menu icons */
.header-menu a i {
  margin-right: 6px;
  font-size: 14px;
  color: #003989;
  transition: 0.25s ease;
}

.header-menu a:hover i {
  color: #0051d4;
}

/*********************************************************
   GRID MENU BUTTON
**********************************************************/
.grid-menu {
  height: 56px;
  width: 56px;
  background: #ffffffcc;
  border: 1px solid #e4e4e4;
  border-radius: 14px;

  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 6px;
  padding: 10px;

  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

.grid-menu:hover {
  background: #ffffff;
  scale: 1.06;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.grid-menu .sq {
  width: 12px;
  height: 12px;
  background: #0072ff;
  border-radius: 4px;
  transition: 0.25s ease;
}

.grid-menu:hover .sq {
  background: #0059cc;
  transform: scale(1.1);
}

/*********************************************************
   FIXED SPACER BELOW HEADER
**********************************************************/
.header-spacer {
  height: 120px;
}

.header-wrapper.scrolled + .header-spacer {
  height: 75px;
}

/*********************************************************
   OVERLAY FOR SLIDER
**********************************************************/
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9000;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/*********************************************************
   PREMIUM RIGHT-SIDE DRAWER
**********************************************************/
.side-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;

  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);

  box-shadow: -6px 0 28px rgba(0,0,0,0.12);
  border-left: 1px solid rgba(230,230,230,0.7);

  transition: right 0.40s cubic-bezier(0.22,1,0.36,1);
  z-index: 99999;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
}

.side-drawer.open {
  right: 0;
}

/*********************************************************
   DRAWER HEADER
**********************************************************/
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(220,220,220,0.5);
}

.drawer-logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;

  background: #ffffff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.drawer-logo {
  height: 58px;
}

.drawer-close {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  font-size: 18px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.drawer-close:hover {
  background: #f4f4f4;
  transform: scale(1.08);
}

/*********************************************************
   DRAWER CONTENT
**********************************************************/
.drawer-body {
  margin-top: 22px;
  padding-right: 10px;
  overflow-y: auto;
}

/*****************************************************
   MOBILE DRAWER MENU (SUPER CLEAN & MODERN)
*****************************************************/
.drawer-nav {
  display: flex;
  flex-direction: column;
  margin: 0 0 22px 0;
  padding: 0;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: #222;

  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;

  transition: 0.20s ease;
}

.drawer-nav a i {
  font-size: 17px;
  color: #003989;
  width: 22px;
  text-align: center;
}

.drawer-nav a:hover {
  color: #006aff;
  padding-left: 8px;
}

/*********************************************************
   PILLS + TITLES
**********************************************************/
.drawer-pill {
  display: inline-block;
  padding: 6px 14px;
  background: #eef5ff;
  color: #0059cc;
  font-size: 12px;
  font-weight: 600;
  border-radius: 30px;
  margin-bottom: 14px;
}

.drawer-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.drawer-text {
  font-size: 14px;
  color: #444;
  line-height: 1.55;
  margin-bottom: 22px;
}

/*********************************************************
   READ MORE BUTTON
**********************************************************/
.drawer-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;

  background: #eef5ff;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  color: #0059cc;
  font-weight: 600;

  border: 1px solid #dbe7ff;
  transition: 0.25s ease;

  margin-bottom: 24px;
}

.drawer-btn:hover {
  background: #dbe8ff;
  transform: translateX(4px);
}

/*********************************************************
   CONTACT SECTION
**********************************************************/
.drawer-section-title {
  font-size: 20px;
  font-weight: 650;
  margin: 12px 0 18px;
  color: #111;
}

.drawer-phone-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-phone-list li {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 14px;
  background: #f5f7ff;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e9ecff;
}

.phone-icon {
  height: 38px;
  width: 38px;
  background: #eef2ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0059cc;
  font-size: 16px;
}

.phone-detail {
  display: flex;
  flex-direction: column;
}

.phone-label {
  font-size: 12px;
  color: #666;
}

.phone-number {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/*********************************************************
   RESPONSIVE
**********************************************************/
@media (max-width: 992px) {
  .header-menu {
    display: none;
  }

  .drawer-nav {
    display: flex !important;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .side-drawer {
    width: 82vw;
    right: -82vw;
  }
}

/* Hide drawer nav on desktop */
@media (min-width: 993px) {
  .drawer-nav {
    display: none !important;
  }
}



/* DESKTOP LOGIN BUTTON – PREMIUM */
.desktop-login-btn {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  background: #2563eb;
  background: linear-gradient(135deg, #011d58, #070267);
  color: #ffffff;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: 0.3px;

  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: 0.25s ease;
}

.desktop-login-btn:hover {
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* MOBILE LOGIN BUTTON – CLEAN + SOFT RADIUS */
.drawer-login-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 22px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;

  background: linear-gradient(135deg, #011d58, #070267);
  color: #fff;
  border-radius: 14px;
  text-decoration: none;

  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
  transition: 0.3s ease;
}

.drawer-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
}

/* HIDING RULES */
@media (max-width: 992px) {
  .desktop-login-btn {
    display: none;
  }

  .grid-menu .sq {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #011d58, #070267);
    border-radius: 4px;
    transition: 0.25s ease;
  }
}

@media (min-width: 993px) {
  .grid-menu {
    display: none;
  }
}
