/* =========================================================
   DESKTOP & LAPTOP ONLY: PREMIUM DYNAMIC HEADER 
   (Triggers strictly on 1025px+ to keep mobile/tablets stock)
   ========================================================= */
@media (min-width: 1025px) {
    /* DEFAULT VIEW: SLIM & TRANSPARENT */
    header,
    .zs-header,
    .zh-header,
    .theme-header {
        position: fixed !important;
        top: 0px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        max-width: 100% !important;
        z-index: 999999 !important;
        background: transparent !important;
        backdrop-filter: blur(0px) !important;
        -webkit-backdrop-filter: blur(0px) !important;
        border: 1px solid transparent !important;
        box-shadow: none !important;
        border-radius: 0px !important;
        padding: 10px 40px !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    /* SCROLLED VIEW (MORPH TO PREMIUM GLASS CAPSULE) */
    body.scrolled-header header,
    body.scrolled-header .zs-header,
    body.scrolled-header .zh-header,
    body.scrolled-header .theme-header {
        top: 14px !important;
        width: 94% !important;
        max-width: 1600px !important;
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 24px !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05) !important;
        padding: 6px 28px !important;
    }

    body.scrolled-header header:hover,
    body.scrolled-header .zs-header:hover,
    body.scrolled-header .zh-header:hover {
        background: rgba(255, 255, 255, 0.75) !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.09) !important;
    }

    /* DYNAMIC LOGO SCALING */
    header img,
    .zs-header img,
    .zh-header img,
    .theme-logo-parent img,
    .theme-branding-info img {
        max-height: 65px !important;
        width: auto !important;
        object-fit: contain !important;
        margin-right: 26px !important;
        border: 2px solid #111111 !important;
        border-radius: 14px !important;
        padding: 6px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
        transition: all 0.4s ease !important;
    }

    body.scrolled-header header img,
    body.scrolled-header .zs-header img,
    body.scrolled-header .zh-header img,
    body.scrolled-header .theme-logo-parent img,
    body.scrolled-header .theme-branding-info img {
        max-height: 52px !important;
        padding: 4px !important;
        border-radius: 10px !important;
    }

    header img:hover,
    .zs-header img:hover,
    .zh-header img:hover,
    .theme-logo-parent img:hover,
    .theme-branding-info img:hover {
        border-color: #1A5C2A !important;
        box-shadow: 0 8px 22px rgba(0,0,0,0.12) !important;
    }

    /* STRIP WHITE BACKGROUNDS FROM INNER WRAPPERS ON LAPTOP VIEW */
    header *, .zs-header *, .zh-header *, .theme-header *,
    header .zpcontainer, .zs-header .zpcontainer, .zh-header .zpcontainer,
    .theme-navigation-and-icons, .theme-menu-area, .theme-menu, .theme-menu ul {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    .zs-menu ul,
    .zh-menu ul,
    header ul {
        display: flex !important;
        align-items: center !important;
        gap: 34px !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* MENU LINKS & HOVER ANIMS */
    header ul li a,
    header ul li a *,
    .zs-menu ul li a,
    .zs-menu ul li a *,
    .zh-menu ul li a,
    .zh-menu ul li a *,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a * {
        position: relative !important;
        display: inline-block !important;
        color: #0D2E1F !important;
        text-shadow: 
            -1px -1px 0 #FFFFFF,  
             1px -1px 0 #FFFFFF,
            -1px  1px 0 #FFFFFF,
             1px  1px 0 #FFFFFF,
             1px  2px 2px rgba(0, 0, 0, 0.2) !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        text-decoration: none !important;
        padding: 4px 0 !important;
        line-height: 1.2 !important;
        transition: color 0.3s ease, text-shadow 0.3s ease !important;
    }

    header ul li a:hover,
    header ul li a:hover *,
    .zs-menu ul li a:hover,
    .zs-menu ul li a:hover *,
    .zh-menu ul li a:hover,
    .zh-menu ul li a:hover *,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a:hover,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a:hover * {
        color: #FFB800 !important;
        text-shadow: 1px 1px 0px #FFFFFF !important;
    }

    /* SCROLLED LINK INVERSION */
    body.scrolled-header header ul li a,
    body.scrolled-header header ul li a *,
    body.scrolled-header .zs-menu ul li a,
    body.scrolled-header .zs-menu ul li a *,
    body.scrolled-header .zh-menu ul li a,
    body.scrolled-header .zh-menu ul li a *,
    body.scrolled-header .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a,
    body.scrolled-header .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a * {
        color: #111111 !important;
        text-shadow: none !important;
    }

    body.scrolled-header header ul li a:hover,
    body.scrolled-header header ul li a:hover *,
    body.scrolled-header .zs-menu ul li a:hover,
    body.scrolled-header .zs-menu ul li a:hover *,
    body.scrolled-header .zh-menu ul li a:hover,
    body.scrolled-header .zh-menu ul li a:hover *,
    body.scrolled-header .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a:hover,
    body.scrolled-header .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a:hover * {
        color: #1A5C2A !important;
    }

    /* UNDERLINE ACCENT */
    header ul li a::after,
    .zs-menu ul li a::after,
    .zh-menu ul li a::after,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a::after {
        content: "" !important;
        position: absolute !important;
        left: 0 !important;
        bottom: -2px !important;
        width: 100% !important;
        height: 3px !important;
        border-radius: 30px !important;
        background: linear-gradient(90deg, #FFB800, #F4A916) !important;
        transform: scaleX(0) !important;
        transform-origin: left !important;
        transition: transform 0.3s ease !important;
    }

    header ul li a:hover::after,
    .zs-menu ul li a:hover::after,
    .zh-menu ul li a:hover::after,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li > a:hover::after {
        transform: scaleX(1) !important;
    }

    /* ACTIVE ASSIGNMENTS */
    .current-menu-item a,
    .current-menu-item a *,
    .active a,
    .active a *,
    .zs-active a,
    .zs-active a *,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li.theme-menu-selected > a,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li.theme-menu-selected > a * {
        color: #FFB800 !important;
        text-shadow: 1px 1px 0px #FFFFFF !important;
    }

    body.scrolled-header .current-menu-item a,
    body.scrolled-header .current-menu-item a *,
    body.scrolled-header .active a,
    body.scrolled-header .active a *,
    body.scrolled-header .zs-active a,
    body.scrolled-header .zs-active a *,
    body.scrolled-header .theme-navigation-and-icons .theme-menu-area .theme-menu ul li.theme-menu-selected > a,
    body.scrolled-header .theme-navigation-and-icons .theme-menu-area .theme-menu ul li.theme-menu-selected > a * {
        color: #1A5C2A !important;
        text-shadow: none !important;
    }

    .current-menu-item a::after,
    .active a::after,
    .zs-active a::after,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li.theme-menu-selected > a::after {
        transform: scaleX(1) !important;
    }

    /* HIDE TOP BAR - DESKTOP ONLY */
    .theme-header-topbar,
    .theme-topbar-not-in-header-05,
    [data-theme-topbar="zptheme-topbar"] {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* REMOVE NAVIGATION BACKGROUND CORE CLASHES - DESKTOP ONLY */
    .current-menu-item, .active, .zs-active,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li,
    .theme-navigation-and-icons .theme-menu-area .theme-menu ul li.theme-menu-selected {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
}

/* =========================================================
   HARDCODED MOBILE VIEW RESET: PURE UNCONDITIONAL WHITE BG 
   (Fallback engine backup for maximum priority depth)
   ========================================================= */
@media (max-width: 1024px) {
    [data-zp-menu-container], [data-zp-menu-container] *,
    [data-zs-nav-menu], [data-zs-nav-menu] *,
    .theme-menu-pop, .theme-menu-pop *,
    .zs-menu-responsive, .zs-menu-responsive *,
    .zh-mobile-menu, .zh-mobile-menu *,
    .theme-navigation-and-icons, .theme-navigation-and-icons *,
    .theme-menu-area, .theme-menu-area *,
    .theme-menu-container, .theme-menu-container *,
    .zs-menu-responsive-container, .zs-menu-responsive-container *,
    header, header *, .zs-header, .zs-header *, .zh-header, .zh-header *, .theme-header, .theme-header *,
    [data-header-container], [data-header-container] *,
    div[id*="menu"], div[id*="menu"] *, div[id*="nav"], div[id*="nav"] *,
    div[class*="menu"], div[class*="menu"] *, div[class*="nav"], div[class*="nav"] *,
    nav, nav *, aside, aside *, ul, ul *, li, li * {
        background: #ffffff !important;
        background-color: #ffffff !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }

    .zs-menu-responsive ul li a, .zh-mobile-menu ul li a, [data-zp-menu-container] ul li a,
    header ul li a, .theme-menu-area ul li a, nav ul li a, span[class*="menu"], a[class*="menu"],
    .theme-menu-pop a, span, a, p, h1, h2, h3, h4 {
        color: #111111 !important;
        text-shadow: none !important;
    }

    span[class*="icon"], i[class*="icon"], span[class*="burger"], div[class*="burger"],
    span[class*="close"], div[class*="close"], .theme-menu-trigger, .theme-menu-trigger * {
        color: #111111 !important;
        fill: #111111 !important;
    }
}

/* =========================================================
   GLOBAL RESET RULES (Maintains clean styling canvas)
   ========================================================= */
body {
    padding-top: 0px !important;
    background: #ffffff !important;
}

html, body, .site-container, .theme-container, .theme-main-container, .zs-body, .theme-content-area, .theme-content, [data-zs-display-mode], [data-header-container], .theme-content-container, .theme-section, .zs-section {
    background: #ffffff !important;
}

.theme-overlay, .theme-banner-overlay, .theme-color-overlay {
    background: transparent !important;
}

footer, .theme-footer, .zs-footer {
    background-color: #ffffff !important;
}

/* =========================================================
   KISAN SHAKTI - CUSTOM FORM STYLING
   ========================================================= */
.zpform-container {
  background: #FDFBF7 !important; 
  border-radius: 20px !important;
  padding: 50px 40px !important;
  box-shadow: none !important; 
  border: 2px solid #1A5C2A !important; 
  max-width: 800px !important;
  margin: 40px auto !important;
}

.zpform-container .zpheading {
  font-family: 'Montserrat', sans-serif !important;
  color: #0D2E1F !important; 
  font-size: 32px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 30px !important;
  border-bottom: 2px solid #FFB800 !important; 
  padding-bottom: 12px !important;
  display: inline-block !important;
}

.zpform-container .zpform-outer {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important; 
}

.zpform-container label, 
.zpform-container .zpform-label {
  font-family: 'Montserrat', sans-serif !important;
  color: #121212 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.zpform-container label span,
.zpform-container .zpform-label span {
  color: #D32F2F !important;
  margin-left: 4px !important;
}

.zpform-container input[type="text"],
.zpform-container input[type="email"],
.zpform-container input[type="tel"],
.zpform-container select,
.zpform-container textarea {
  width: 100% !important;
  font-family: 'Montserrat', sans-serif !important;
  background: #FFFFFF !important;
  color: #121212 !important;
  border: 1.5px solid #D5CFC7 !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
  outline: none !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.zpform-container textarea {
  min-height: 120px !important;
  resize: vertical !important;
}

.zpform-container input:focus,
.zpform-container select:focus,
.zpform-container textarea:focus {
  border-color: #1A5C2A !important; 
  box-shadow: 0 0 0 4px rgba(26, 92, 42, 0.12) !important;
  background: #FFFFFF !important;
}

.zpform-container input[type="submit"],
.zpform-container button[type="submit"],
.zpform-container .zpform-btn-submit,
.zpform-container input[type="reset"],
.zpform-container button[type="reset"] {
  font-family: 'Montserrat', sans-serif !important;
  padding: 14px 36px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 100px !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  outline: none !important;
}

.zpform-container input[type="submit"],
.zpform-container button[type="submit"],
.zpform-container .zpform-btn-submit {
  background: #FFB800 !important; 
  color: #121212 !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.25) !important;
  margin-right: 12px !important;
}

.zpform-container input[type="submit"]:hover,
.zpform-container button[type="submit"]:hover {
  background: #1A5C2A !important; 
  color: #FFFFFF !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(26, 92, 42, 0.3) !important;
}

.zpform-container input[type="reset"],
.zpform-container button[type="reset"] {
  background: transparent !important;
  color: #666460 !important;
  border: 1px solid #D5CFC7 !important;
}

.zpform-container input[type="reset"]:hover,
.zpform-container button[type="reset"]:hover {
  background: #EAE8E4 !important;
  color: #121212 !important;
  border-color: #A8A6A1 !important;
}

/* =========================================================
   FORM MOBILE RESPONSIVENESS ONLY
   ========================================================= */
@media (max-width: 768px) {
  .zpform-container {
    padding: 30px 20px !important;
    margin: 20px 15px !important;
  }
  
  .zpform-container .zpheading {
    font-size: 26px !important;
  }
  
  .zpform-container input[type="submit"],
  .zpform-container button[type="submit"],
  .zpform-container input[type="reset"],
  .zpform-container button[type="reset"] {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
  }
}