/*
Theme Name: Nhorjyo Phowbe
Theme URI: https://nhorjyophowbe.org.np
Author: Mama Group
Author URI: https://mamagroup.net
Description: A Bootstrap-based portfolio and blog theme
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: portfolio, blog, bootstrap, responsive
*/

/* ====================
BASE STYLES
======================== */
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;500;600;700&display=swap');

a {
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

/* Body defaults */
body {
  font-family: 'Mukta', 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #212529;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==================
   HEADER 
===================== */
:root {
  --brand-deep: #152F53;
  /* text/nav base */
  --accent: #f3e017;
  /* Member button bg */
  --accent-text: #021152;
  /* Member button text */
  --underline: #f06525;
  /* nav hover underline */
}

/* Top bar */
.top-header {
  font-size: 14px;
  border-bottom: 1px solid #ddd;
}

.top-header h6 {
  font-size: 15px;
  margin-bottom: 5px;
}

.top-header p {
  margin-bottom: 3px;
}

/* Bottom header shell + sticky behavior */
.bottom-header {
  position: relative;
  width: 100%;
  transition: all .3s ease-in-out;
  z-index: 1000;
  background: #fff;
}

.bottom-header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
  background-color: #fff;
}

/* optional: prevent layout jump when sticky
   body.has-sticky { padding-top: 64px; } */

/* Row behavior on narrow screens (keep items in a single line) */
@media (max-width: 767.98px) {
  .bottom-header .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
}

/* ===============
   NAVIGATION
=================== */
.custom-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  text-align: left;
}

.custom-menu .menu-item a {
  flex-wrap: nowrap;
  font-size: 1.3rem;
  /* a bit smaller for tighter headers */
  font-weight: 600;
  color: var(--brand-deep);
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 5px 10px;
  transition: all .25s ease-in-out;
}

.custom-menu .menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: var(--underline);
  transition: width .25s ease-in-out;
}

.custom-menu .menu-item a:hover::after,
.custom-menu .menu-item a.current-menu-item::after {
  width: 100%;
}

.custom-menu .menu-item a:hover,
.custom-menu .menu-item a.current-menu-item {
  color: var(--underline);
}

/* Collapse area center align on mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
  }

  .custom-menu {
    flex-direction: column;
    gap: 6px;
  }

  .custom-menu .menu-item a {
    font-size: 1rem;
  }
}

/* =================
   MEMBER BUTTON
====================*/
.member-btn-col {
  display: flex;
  align-items: center;
  justify-content: end;
}

/* Desktop ≥992px: 20% */
@media (min-width: 992px) {
  .member-btn-col {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Tablet/Mobile <992px: 30% */
@media (max-width: 991.98px) {
  .member-btn-col {
    flex: 0 0 30%;
    max-width: 30%;
  }
}

/* Button look */
.member-btn {
  background: var(--accent);
  color: var(--accent-text) !important;
  border-radius: 12px;
  font-weight: 700;
  padding: .5rem .75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  /* touch target */
  white-space: nowrap;
  /* single line */
  overflow: hidden;
  text-overflow: ellipsis;
  /* contain */
}

.member-btn i {
  margin-right: .25rem;
}

/* Very small phones: icon-only to avoid spill */
@media (max-width: 360px) {
  .member-btn-text {
    display: none;
  }

  .member-btn i {
    margin-right: 0 !important;
  }
}

/* =============
   UTIL
=================*/
/* Optional: nicer focus for keyboard users */
.custom-menu .menu-item a:focus,
.member-btn:focus {
  outline: 2px solid var(--underline);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ===========================
   CONTACT FORM : CONTACT US
=========================== */
/* Contact Form 7 - Custom Styles */
.wpcf7-form label {
  font-weight: 600;
  color: black;
  display: block;
  margin-bottom: 5px;
}

.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
}

.wpcf7-form textarea {
  resize: none;
}

.wpcf7-submit {
  background-color: #f06525;
  color: white;
  padding: 10px;
  border: none;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.wpcf7-submit:hover {
  background-color: #0056b3;
}

.wpcf7-form br {
  display: none;
}

/* ==================
  HOME: HERO SECTION
======================*/
@media (max-width: 576px) {
  #home-hero {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: 70vh;
    background-position: 50% 30%;
  }
}

@media (min-width: 577px) {
  #home-hero {
    min-height: 75vh;
    background-position: center;
  }
}


.btn-contact:hover {
  background-color: #230000 !important;
  border-color: #230000 !important;
  color: #fff !important;
}

.btn-member:hover {
  background-color: #0F0101 !important;
  color: #fff !important;
}

/* =================
   SINGLE BLOG PAGE
==================== */
/* Social Share Sticky (Desktop & Tablet) */
.social-share {
  position: fixed;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

/* Social Share Section (Mobile) - Placed at the End */
.social-share-mobile {
  position: sticky;
  bottom: 0;
  left: 12px;
  width: 100%;
  padding: 15px 0;
  text-align: center;
  z-index: 999;
}

/* Social Icon Buttons */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 18px;
  color: white;
  transition: all 0.3s ease-in-out;
}

/* Individual Colors */
.facebook {
  background: #1877F2;
}

.messenger {
  background: #0084FF;
}

.viber {
  background: #7C4DFF;
}

.whatsapp {
  background: #25D366;
}

.telegram {
  background: #0088CC;
}

.email {
  background: #D44638;
}

/* Hover Effect */
.social-icon:hover {
  opacity: 0.8;
  transform: scale(1.1);
}

/* Mobile Visibility */
@media (max-width: 768px) {
  .social-share {
    display: none;
    /* Hide Desktop Sticky Share */
  }

  .social-share-mobile {
    display: flex;
  }
}


/* =============
  FOOTER
================= */
footer a.link-light:hover {
  color: #FFE900 !important;
}

.border-white-10 {
  border-color: rgba(255, 255, 255, .1) !important;
}

.footer-menu .menu-item a {
  color: #f8f9fa;
  text-decoration: none;
  padding: 0;
}

.footer-menu .menu-item a:hover {
  color: #FFE900;
}