/* ==========================================================================
   Jyoti – compact, responsive header / navbar
   Targets the Elementor header template (post 37):
     5391929a  row 1  -> logo | title + tagline | guru-ji photo
     298b755   row 2  -> menu | WhatsApp | social icons
   Selectors are prefixed so they win over Elementor's per-element CSS.
   ========================================================================== */
:root{
  --jh-max:1240px;
  --jh-pink:#c0428b;
  --jh-purple:#8b1fa9;
  --jh-line:#f0d5e5;
  --jh-soft:#fbf3f8;
}

.ekit-template-content-header{
  position:relative; z-index:100; background:#fff;
  border-bottom:1px solid var(--jh-line);
  box-shadow:0 3px 14px rgba(139,31,169,.07);
}

/* ---------- ROW 1 : brand ---------- */
body .ekit-template-content-header .elementor-37 .elementor-element-5391929a{
  display:grid !important;
  grid-template-columns:104px minmax(0,1fr) 104px;
  align-items:center; gap:16px;
  width:100% !important; max-width:var(--jh-max) !important;
  margin:0 auto !important; padding:10px 24px 6px !important;
  box-sizing:border-box;
}
body .ekit-template-content-header .elementor-37 .elementor-element-316167f9,
body .ekit-template-content-header .elementor-37 .elementor-element-4e5b18de,
body .ekit-template-content-header .elementor-37 .elementor-element-4c2c30ec{
  width:auto !important; min-width:0; max-width:none !important;
  margin:0 !important; padding:0 !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-316167f9{justify-self:start}
body .ekit-template-content-header .elementor-37 .elementor-element-4c2c30ec{justify-self:end}
body .ekit-template-content-header .elementor-37 .elementor-element-101d497e,
body .ekit-template-content-header .elementor-37 .elementor-element-44d4f7e1{margin:0 !important; padding:0 !important; line-height:0}
body .ekit-template-content-header .elementor-37 .elementor-element-101d497e img,
body .ekit-template-content-header .elementor-37 .elementor-element-44d4f7e1 img{
  width:100% !important; max-width:104px; height:auto; display:block;
}
body .ekit-template-content-header .elementor-37 .elementor-element-44d4f7e1 img{border-radius:10px}

body .ekit-template-content-header .elementor-37 .elementor-element-4e5b18de{
  align-items:center; justify-content:center; text-align:center; gap:2px !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-3bc83c3b{display:none !important}
body .ekit-template-content-header .elementor-37 .elementor-element-49d8d250,
body .ekit-template-content-header .elementor-37 .elementor-element-3a438b5b{
  margin:0 !important; padding:0 !important; width:100%; text-align:center !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-49d8d250 .elementor-heading-title{
  font-size:clamp(32px,4vw,46px) !important; line-height:1.15 !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-3a438b5b .elementor-heading-title{
  font-size:clamp(17px,2vw,25px) !important; line-height:1.25 !important;
}

/* ---------- ROW 2 : navigation bar ---------- */
body .ekit-template-content-header .elementor-37 .elementor-element-298b755{
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:center; justify-content:space-between; gap:20px !important;
  width:100% !important; max-width:var(--jh-max) !important;
  margin:0 auto !important; padding:0 24px !important; box-sizing:border-box;
  border-top:1px solid var(--jh-line);
}
body .ekit-template-content-header .elementor-37 .elementor-element-f6cd63f{
  flex:1 1 auto; width:auto !important; min-width:0; max-width:none !important;
  margin:0 !important; padding:0 !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c{width:100% !important; max-width:none !important}
body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c > .elementor-widget-container{
  margin:0 !important; padding:0 !important; box-shadow:none !important;
}

/* WhatsApp + socials group */
body .ekit-template-content-header .elementor-37 .elementor-element-84f5047{
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:center; justify-content:flex-end; gap:14px !important;
  flex:0 0 auto; width:auto !important; min-width:0;
  margin:0 !important; padding:0 !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-209904d,
body .ekit-template-content-header .elementor-37 .elementor-element-da7f372{
  width:auto !important; margin:0 !important; padding:0 !important;
}

/* WhatsApp pill */
body .ekit-template-content-header .elementor-37 .elementor-element-2495668{margin:0 !important}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-wrapper{
  display:flex; align-items:center; gap:8px;
  padding:4px 14px 4px 6px; border-radius:999px;
  background:#f1fbf5; border:1px solid #cdeedb;
  transition:box-shadow .2s, transform .2s;
}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-wrapper:hover{
  box-shadow:0 4px 12px rgba(37,211,102,.28); transform:translateY(-1px);
}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-icon{margin:0 !important; line-height:0}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon{font-size:30px !important}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon svg{width:30px; height:30px}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-content{margin:0}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-title{margin:0 !important; line-height:1.2}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-title a{
  font-size:15px !important; font-weight:600 !important; white-space:nowrap; color:#1c1c1c; text-decoration:none;
}
body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-title a:hover{color:#128c4a}

/* Social icons – five 40px circles: Instagram, Facebook, YouTube, LinkedIn, X */
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28{margin:0 !important; --icon-size:20px}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icons-wrapper{
  display:flex !important; flex-wrap:nowrap; align-items:center; gap:10px; justify-content:flex-end;
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-grid-item{margin:0 !important; width:auto; height:auto; flex:0 0 auto}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon{
  box-sizing:border-box; width:40px !important; height:40px !important; min-width:40px; padding:0 !important; margin:0 !important;
  border-radius:50% !important; font-size:0; overflow:hidden;
  display:flex !important; align-items:center; justify-content:center;
  transition:transform .2s ease, box-shadow .2s ease;
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 a.elementor-social-icon:hover{
  transform:scale(1.1); box-shadow:0 6px 14px rgba(0,0,0,.2);
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon svg{
  width:20px !important; height:20px !important; fill:#fff; border-radius:0; display:block;
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon-facebook{background:#1877f2 !important}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon-youtube{background:#ff0000 !important}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .jyoti-social-instagram{
  background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%) !important;
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .jyoti-social-linkedin{background:#0a66c2 !important}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .jyoti-social-x{background:#000 !important}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 span.jyoti-social{cursor:default}
@media (max-width:480px){
  body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icons-wrapper{gap:6px; justify-content:center}
}

/* ---------- DESKTOP (menu inline) ---------- */
@media (min-width:1025px){
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-menu-container{height:54px !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav{
    justify-content:center; flex-wrap:nowrap; align-items:center;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li > a{
    position:relative; display:flex; align-items:center; height:54px; line-height:1;
    padding:0 12px !important; font-size:15px !important; letter-spacing:.5px !important; white-space:nowrap;
  }
  /* animated underline on hover / current page */
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li > a::after{
    content:""; position:absolute; left:12px; right:12px; bottom:9px; height:2px; border-radius:2px;
    background:linear-gradient(90deg,var(--jh-purple),var(--jh-pink));
    transform:scaleX(0); transform-origin:left; transition:transform .25s ease;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li:hover > a::after,
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li > a:focus-visible::after,
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li.current-menu-item > a::after,
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li.current-menu-ancestor > a::after{
    transform:scaleX(1);
  }
  /* dropdown */
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav .elementskit-submenu-panel{
    padding:8px !important; min-width:290px !important; border-radius:0 0 12px 12px !important;
    border-top:3px solid var(--jh-pink) !important; box-shadow:0 14px 30px rgba(60,20,70,.18) !important;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav .elementskit-submenu-panel > li > a{
    padding:10px 14px !important; font-size:13.5px !important; letter-spacing:.3px !important;
    line-height:1.3; border-radius:8px; white-space:normal;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav .elementskit-submenu-panel > li > a:hover{background:var(--jh-soft)}
}

/* Narrow laptops: drop the number text, keep the icon, tighten the menu */
@media (min-width:1025px) and (max-width:1199px){
  body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-content{display:none}
  body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-wrapper{padding:4px; border:0; background:none}
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li > a{
    padding:0 9px !important; font-size:14px !important; letter-spacing:.3px !important;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li > a::after{left:9px; right:9px}
  body .ekit-template-content-header .elementor-37 .elementor-element-5391929a{grid-template-columns:90px minmax(0,1fr) 90px}
}

/* ---------- TABLET + MOBILE (hamburger) ---------- */
@media (max-width:1024px){
  /* row 1: small logo + title, centred */
  body .ekit-template-content-header .elementor-37 .elementor-element-5391929a{
    display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
    justify-content:center; align-items:center; gap:12px;
    max-width:none !important; padding:10px 16px 6px !important;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-4e5b18de{flex-direction:column !important; flex-wrap:nowrap !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-316167f9{flex:0 0 auto}
  body .ekit-template-content-header .elementor-37 .elementor-element-101d497e{display:block !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-101d497e img{width:60px !important; max-width:60px}
  body .ekit-template-content-header .elementor-37 .elementor-element-4e5b18de{flex:0 1 auto; align-items:flex-start}
  body .ekit-template-content-header .elementor-37 .elementor-element-49d8d250,
  body .ekit-template-content-header .elementor-37 .elementor-element-3a438b5b{text-align:left !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-49d8d250 .elementor-heading-title{font-size:clamp(24px,5.5vw,38px) !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-3a438b5b .elementor-heading-title{font-size:clamp(14px,3vw,19px) !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-4c2c30ec{display:none !important}

  /* row 2: hamburger left, contact + socials right */
  body .ekit-template-content-header .elementor-37 .elementor-element-298b755{
    max-width:none !important; padding:6px 16px !important; gap:10px !important;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-f6cd63f{flex:0 0 auto}
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c{width:auto !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c button.elementskit-menu-hamburger{
    float:none !important; display:flex !important; align-items:center; justify-content:center;
    width:42px !important; height:42px; padding:0 !important; border-radius:12px !important;
  }
  /* these were hidden on tablet/mobile -> show them, compactly */
  body .ekit-template-content-header .elementor-37 .elementor-element-84f5047{display:flex !important; margin-left:auto !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-209904d,
  body .ekit-template-content-header .elementor-37 .elementor-element-da7f372{display:flex !important}

  /* off-canvas panel polish */
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav > li > a{
    font-size:15px !important; padding:12px 18px !important; border-bottom:1px solid #f3e6ee;
  }
  body .ekit-template-content-header .elementor-37 .elementor-element-48dd23c .elementskit-navbar-nav .elementskit-submenu-panel > li > a{
    font-size:13.5px !important; padding:11px 18px 11px 30px !important; white-space:normal;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width:767px){
  body .ekit-template-content-header .elementor-37 .elementor-element-5391929a{gap:10px; padding:8px 12px 4px !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-101d497e img{width:48px !important; max-width:48px}
  body .ekit-template-content-header .elementor-37 .elementor-element-49d8d250 .elementor-heading-title{font-size:clamp(22px,7.4vw,30px) !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-3a438b5b .elementor-heading-title{font-size:clamp(12px,3.9vw,16px) !important}

  body .ekit-template-content-header .elementor-37 .elementor-element-298b755{padding:6px 12px !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-84f5047{gap:8px !important}
  /* WhatsApp: icon only */
  body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-content{display:none}
  body .ekit-template-content-header .elementor-37 .elementor-element-2495668 .elementor-icon-box-wrapper{padding:0; border:0; background:none}
  body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icons-wrapper{gap:6px}
  body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon svg{width:17px !important; height:17px !important}
  body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon{width:34px !important; height:34px !important}
}

/* Very small phones */
@media (max-width:359px){
  body .ekit-template-content-header .elementor-37 .elementor-element-101d497e img{width:40px !important; max-width:40px}
  body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon{width:30px !important; height:30px !important}
}

/* ---------- Trust strip: ONLINE | SAFE | CONFIDENTIAL ---------- */
.ekit-template-content-header .jyoti-trust{
  display:inline-flex; align-items:center; justify-content:center; flex-wrap:nowrap;
  gap:clamp(10px,1.4vw,18px); margin:8px auto 0; padding:7px clamp(16px,2vw,24px);
  background:linear-gradient(90deg,#fdf1f8,#f7eefc); border:1.5px solid var(--jh-line);
  border-radius:999px; box-shadow:0 3px 12px rgba(139,31,169,.10);
  font-family:inherit; font-weight:700; text-transform:uppercase; white-space:nowrap;
  font-size:clamp(14px,1.2vw,17px); letter-spacing:.14em; line-height:1.2;
}
.ekit-template-content-header .jyoti-trust__item{display:inline-flex; align-items:center; gap:8px}
.ekit-template-content-header .jyoti-trust__item > span{
  background:linear-gradient(90deg,var(--jh-pink),var(--jh-purple));
  -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
}
.ekit-template-content-header .jyoti-trust svg{
  width:1.35em; height:1.35em; flex:0 0 auto; fill:none; stroke:var(--jh-purple);
  stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;
}
.ekit-template-content-header .jyoti-trust__sep{color:#d9a9c9; font-weight:500; font-size:1.1em; letter-spacing:0}
@media (max-width:1023px){
  .ekit-template-content-header .jyoti-trust{margin:6px 0 0; align-self:flex-start; letter-spacing:.1em; font-size:clamp(12.5px,1.4vw,15px)}
}
@media (max-width:767px){
  .ekit-template-content-header .jyoti-trust{padding:5px 12px; gap:8px; font-size:clamp(10.5px,3vw,12.5px); letter-spacing:.08em}
  .ekit-template-content-header .jyoti-trust__item{gap:4px}
}

/* Official-looking brand marks: the SVGs carry their own colours/shapes */
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon.jyoti-social{
  background:transparent !important; border-radius:0 !important; overflow:visible; box-shadow:none;
  width:42px !important; height:42px !important; min-width:42px;
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon.jyoti-social svg{
  width:42px !important; height:42px !important; fill:none; filter:drop-shadow(0 2px 4px rgba(0,0,0,.18));
}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 a.elementor-social-icon.jyoti-social:hover{
  transform:translateY(-3px) scale(1.08); box-shadow:none;
}
/* uniform 40px tiles, centred on one line with the WhatsApp pill */
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icons-wrapper{gap:12px; align-items:center}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon.jyoti-social{width:40px !important; height:40px !important; min-width:40px; line-height:0}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .elementor-social-icon.jyoti-social svg{width:40px !important; height:40px !important; margin:0}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .jyoti-social-linkedin svg{width:38px !important; height:38px !important}
body .ekit-template-content-header .elementor-37 .elementor-element-9188d28 .jyoti-social-instagram svg{width:38px !important; height:38px !important}
