
body {
  caret-color: transparent;
}
input, textarea {
  caret-color: auto;
}
/* MAIN FOOTER WRAPPER */
/* MAIN BACKGROUND FIX */
.pkp_structure_footer_wrapper {
  background-image: url('http://localhost/ijner/public/site/footer.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔥 IMPORTANT for iPhone */
  min-width: 100%;
  height: auto;
  /* aspect-ratio: 16 / 9;  */
}
.dev-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #2E2E2E; /* footer dark ho to white rakho */
    margin-top: 10px;
    font-size: 12px;
}

.dev-logo {
    height: 35px;
    transition: 0.4s ease;
    
    /* 3D effect */
    transform: perspective(500px) rotateX(10deg) rotateY(-10deg);
    /* box-shadow: 0 10px 20px rgba(0,0,0,0.4); */
    border-radius: 6px;
}

/* Hover pe animation 🔥 */
.dev-logo:hover {
    transform: perspective(500px) rotateX(0deg) rotateY(0deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

/* 🔥 iOS SAFARI FIX */
@supports (-webkit-touch-callout: none) {
  .pkp_structure_footer_wrapper {
    background-attachment: scroll; /* fixed हटाओ */
    background-size: cover;

  }
}

/* OVERLAY FIX */
 .pkp_structure_footer_wrapper {
    background: linear-gradient(150deg, #2F5D7C, #F4EFE6);
     animation: headerGradient 12s ease-in-out infinite;
}
@keyframes headerGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* CONTENT ABOVE */
.pkp_structure_footer {
  position: relative;
  z-index: 1;
}
.pkp_structure_footer_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* adjust opacity */
  z-index: -1;
}

/* GRID LAYOUT */
.pkp_footer_content .footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD STYLE */
.pkp_footer_content .footer-box {
  /* background: linear-gradient(180deg, rgba(47,93,124,0.9), rgba(244,239,230,0.9)); */
  padding: 25px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  /* box-shadow:
    inset 0 0 10px rgba(255,255,255,0.1),
    0 10px 25px rgba(0,0,0,0.6); */
  transition: 0.4s;
  /* display: flex; */
  flex-direction: column;
  justify-content: space-between;
   animation: headerGradients 12s ease-in-out infinite;
}
@keyframes headerGradients {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* HOVER 3D EFFECT */
.pkp_footer_content .footer-box:hover {
  transform: translateY(-1px) scale(1.01);
}

/* HEADINGS */
.pkp_footer_content .footer-box h3 {
  margin-bottom: 15px;
  color: #070707;
}

/* LINKS */
.pkp_footer_content .footer-box ul {
  list-style: none;
}
.pkp_footer_content .footer-box ul li {
  margin: 8px 0;
}
.pkp_footer_content .footer-box ul li a {
  color: #2E2E2E;
  text-decoration: none;
  transition: 0.3s;
}
.pkp_footer_content .footer-box ul li a:hover {
  color: #2E2E2E;
  padding-left: 6px;
}

/* SOCIAL ICONS */
.pkp_footer_content .social-icons {
  display: flex;
  gap: 12px;
}
.pkp_footer_content .social-icons a {
  width: 40px;
  height: 40px;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg,#1e293b,#020617);
  /* box-shadow: 4px 4px 10px #000, -4px -4px 10px #1e293b; */
  color: #2E2E2E;
  transition: 0.3s;
}
.pkp_footer_content .social-icons a:hover {
  transform: scale(1.2) rotate(10deg);
  background: #38bdf8;
  color: #122c72;
}

/* BOTTOM */
.pkp_footer_content .footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #2E2E2E;
}

/* REMOVE DEFAULT OJS STYLE CLUTTER */
.pkp_structure_footer {
  background: transparent !important;
}
.pkp_brand_footer {
  margin-top: 30px;
  text-align: center;
}

/* RESPONSIVE */

/* Laptop */
@media(max-width:1024px){
  .pkp_footer_content .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
 /* ul {
    right: 39px;
    position: relative;
} */
/* Mobile */
@media(max-width:600px){

  ul {
    right: 39px;
    position: relative;
}
  .pkp_footer_content .footer-container {
    grid-template-columns: 1fr;
  }

  /* Order change */
  .pkp_footer_content .footer-box:nth-child(3){order:2;}
  .pkp_footer_content .footer-box:nth-child(1){order:1;}
  .pkp_footer_content .footer-box:nth-child(2){order:3;}
  .pkp_footer_content .footer-box:nth-child(4){order:4;}
}

/* 🔥 STOP HORIZONTAL SCROLL */
html, body {
  overflow-x: hidden;
}

/* CONTAINER SAFE WIDTH */
.pkp_footer_content .footer-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 10px; /* important */
  box-sizing: border-box;
}

/* FIX CARD OVERFLOW */
.pkp_footer_content .footer-box {
  width: 100%;
  overflow: hidden;
}

/* TEXT BREAK FIX */
.pkp_footer_content p,
.pkp_footer_content a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* MOBILE EXTRA SAFE FIX */
@media(max-width:600px){
  .pkp_structure_footer_wrapper {
    padding-left: 10px;
    padding-right: 10px;
  }

  .pkp_footer_content .footer-container {
    gap: 15px;
  }
}

/* 🔥 REMOVE EXTRA HEIGHT */
.footer {
  padding: 30px 15px 10px !important; /* पहले ज्यादा था */
}

/* GRID GAP कम करो */
.pkp_footer_content .footer-container {
  gap: 15px !important;
}

/* CARD HEIGHT AUTO */
.pkp_footer_content .footer-box {
  padding: 15px !important;
  min-height: auto !important;
}

/* TEXT SPACING CONTROL */
.pkp_footer_content .footer-box h3 {
  margin-bottom: 8px !important;
  font-size: 16px;
}

.pkp_footer_content .footer-box p,
.pkp_footer_content .footer-box li {
  margin: 4px 0;
  font-size: 13px;
}

/* SOCIAL ICON SIZE छोटा */
.pkp_footer_content .social-icons a {
  width: 32px;
  height: 32px;
  font-size: 12px;
}

/* BOTTOM SPACE कम */
.pkp_footer_content .footer-bottom {
  margin-top: 15px !important;
  padding-top: 10px !important;
  font-size: 12px;
}

/* MOBILE EXTRA COMPACT */
@media(max-width:600px){
  .footer {
    padding: 20px 10px 5px !important;
  }

  .pkp_footer_content .footer-container {
    gap: 10px !important;
  }

  .pkp_footer_content .footer-box {
    padding: 12px !important;
  }
}

.pkp_brand_footer {
    padding: 2.143rem;
    position: absolute;
    display: none;
}
.pkp_footer_content {
    padding: 0rem;
    /* text-align: -webkit-center; */
}
 

/* Header */





/* ===== FULL WIDTH HEADER ===== */
.pkp_structure_head {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #1F2F3A;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 999;
   background: linear-gradient(150deg, rgba(47,93,124,0.9), rgba(244,239,230,0.9));
 
  background-size: 300% 300%;
  animation: headerGradient 12s ease-in-out infinite;
}
 
@keyframes headerGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ===== HEADER INNER ===== */
.pkp_head_wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* ===== LOGO ===== */
.pkp_site_name img {
  max-height: 80px;
  width: auto;
  transition: 0.3s ease;
}

.pkp_site_name img:hover {
  transform: scale(1.05);
}

/* ===== NAVBAR ===== */
.pkp_site_nav_menu {
  width: 100%;
}

.pkp_navigation_primary_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1F2F3A;
}

/* ===== NAV LINKS ===== */
.pkp_navigation_primary li a {
  color: #fff !important;
  font-size: 16px;
  padding: 10px 15px;
  font-weight: 500;
  transition: 0.3s ease;
  border-radius: 8px;
}

.pkp_navigation_primary li a:hover {
  background: #1F2F3A;
  transform: translateY(-2px);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
  background: #1F2F3A;
  border-radius: 10px;
  padding: 10px 0;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.dropdown-menu li a {
  color: #2F5D7C !important;
  padding: 10px 20px;
}

.dropdown-menu li a:hover {
  background: #1F2F3A;
  color:#fff;
}

/* ===== SEARCH ICON ===== */
.pkp_search {
  /* color: #fff !important; */
  padding: 8px 12px;
  border-radius: 8px;
  transition: 0.3s;
}

/* .pkp_search:hover { */
  /* background: rgba(255,255,255,0.2); */
/* } */

/* ===== USER MENU (3D BUTTON) ===== */
.pkp_navigation_user_wrapper a {
  background: linear-gradient(145deg, #ffffff, #dfe6ed);
  padding: 8px 15px;
  border-radius: 10px;
  color: #333 !important;
  font-weight: 500;
  /* box-shadow: 5px 5px #c5ccd3, -5px -5px 10px #ffffff; */
  transition: 0.3s;
}

.pkp_navigation_user_wrapper a:hover {
  transform: translateY(-2px);
  box-shadow: inset 2px 2px 5px #c5ccd3, inset -2px -2px 5px #ffffff;
}

/* ===== MOBILE MENU BUTTON (3D) ===== */
.pkp_site_nav_toggle {
  background: linear-gradient(145deg, #ffffff, #dfe6ed);
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  /* box-shadow: 4px 4px 8px #c5ccd3, -4px -4px 8px #ffffff; */
  cursor: pointer;
  transition: 0.3s;
}

.pkp_site_nav_toggle:hover {
  transform: scale(1.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {

  .pkp_head_wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .pkp_navigation_primary_wrapper {
    flex-direction: column;
    width: 100%;
  }

  .pkp_navigation_primary {
    flex-direction: column;
    width: 100%;
  }

  .pkp_navigation_primary li {
    width: 100%;
  }

  .pkp_navigation_primary li a {
    display: block;
    width: 100%;
  }

  .pkp_navigation_user_wrapper {
    width: 100%;
    margin-top: 10px;
  }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 990px) {


    /* about dropdown */
 .pkp_navigation_primary li ul {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(5px);
    padding: 0;
    margin: 0;
  }

  /* ===== ONLY ABOUT (text-based target) ===== */
  .pkp_navigation_primary li > a[href="#"]:hover + ul,
  .pkp_navigation_primary li > a[href="#"]:focus + ul,
  .pkp_navigation_primary li > a[href="#"] + ul:hover {

    max-height: 500px;
    opacity: 1;
    visibility: visible;

    margin-top: 8px;
    padding: 10px 0;

    background: #2F4F7C(255,255,255,0.98);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);

    transform: translateY(0);
  }

  /* ===== DROPDOWN ITEMS ===== */
  .pkp_navigation_primary li ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #fff !important;
  }


 li.profile > a {
    display: block;
    width: 100%;
    padding: 12px 15px;
    background: #2F4F7C;
    color: #fff !important;
  }

  /* Dropdown full width + niche open */
  li.profile > ul {
    position: static;        /* 🔥 sabse important */
    width: 100%;
    display: none;
    border-radius: 0;
    box-shadow: none;
    background: #2F4F7C;
  }

  /* Hover (desktop jaisa feel) */
  li.profile:hover > ul {
    display: block;
  }

  /* Items full width */
  li.profile > ul li a {
    padding: 12px 15px;
    /* border-top: 1px solid #eee; */
  }
  .pkp_site_name img {
    max-height: 45px;
  }

  .pkp_navigation_primary li a {
    font-size: 14px;
    padding: 8px 10px;
  }
  .pkp_site_nav_menu a:hover, .pkp_site_nav_menu a:focus {
    color: #fff;
    text-decoration: none;
}
}

#pkpDropdown1{
    background-color: #2F4F7C;
}


/* ===== LOGO WRAPPER ===== */
.pkp_site_name {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== LOGO IMAGE ===== */
.pkp_site_name img {
  max-height: 60px;
  width: auto;
  border-radius: 12px;

  /* modern glass + depth */
  /* background: rgba(255,255,255,0.2); */
  /* padding: 5px; */

  /* box-shadow: 
    0 4px 10px rgba(0,0,0,0.15),
    inset 0 0 5px rgba(255,255,255,0.3);

  transition: 0.3s ease; */
}

/* hover effect */
.pkp_site_name img:hover {
  transform: scale(1.08) rotate(-2deg);
}

/* ===== TEXT ADD WITH CSS ===== */
.pkp_site_name::after {
  content: "The Cartograph: An International Interdisciplinary Journal of Literature, Sustainability, and Culture (TCIIJLSC)";
  
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.6px;

  /* gradient text */
  /* background: linear-gradient(145deg, #ffffff, #dbe9ff); */
  /* -webkit-background-clip: text; */
  -webkit-text-fill-color: transparent;

  /* 3D depth effect */
  text-shadow:
    1px 1px 0 #0a1a31,
    2px 2px 0 #0a172a;
    /* 3px 3px 5px rgba(0,0,0,0.25), */
    /* 0 0 10px rgba(255,255,255,0.4); */

  /* glass feel */
  padding: 5px 10px;
  border-radius: 8px;

  transition: 0.3s ease;
}

/* hover animation */
.pkp_site_name:hover::after {
  transform: translateY(-2px) scale(1.02);

  text-shadow:
    2px 2px 0 #b8c6db,
    4px 4px 0 #a3b1c6,
    6px 6px 10px rgba(0,0,0,0.3),
    /* 0 0 15px rgba(255,255,255,0.6); */
}
nav.pkp_site_nav_menu {
    border-radius: 18px;
}

.has_site_logo .pkp_site_name, .has_site_logo .pkp_navigation_primary_wrapper {
    width: auto;
    border-radius: 17px;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 990px) {
    
  .pkp_site_name::after {
    font-size: 16px;
  }
  .pkp_site_name .is_img img {
    display: block;
    max-height: 50px;
    max-width: 100%;
    width: auto;
    height: auto;
}

  .pkp_site_name img {
   max-height: 65px;  
     width: auto;
  }

    .pkp_site_name::after {
    display: none;
    content: "";
  }

  .pkp_site_name_wrapper {
    width: 100%;
    display: flex;
    justify-content: center; /* 🔥 center */
    align-items: center;
  }

  .pkp_site_name {
    display: flex;
    justify-content: center; /* 🔥 center */
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .pkp_site_name a {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 190px;
        padding: 10px;
        border-radius:20px;
    }
}

/* ===== ONLY ijirisi_admin dropdown ===== */
li.profile > a#pkpDropdown1 {
  background: #2F5D7C;
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hover effect */
li.profile > a#pkpDropdown1:hover {
  background: #1F2F3A;
}

/* Dropdown menu */
li.profile > ul.dropdown-menu {
  border-radius: 10px;
  padding: 8px 0;
  border: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  width: 109%;
}

/* Dropdown items */
li.profile > ul.dropdown-menu li.profile a {
  padding: 10px 18px;
  color: #333;
  transition: all 0.3s ease;
}

/* Hover item */
li.profile > ul.dropdown-menu li.profile a:hover {
  background: #6fb3d2;
  color: #2F4F7C;
}

/* Task count badge */
li.profile .task_count {
  background: #D4A017;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 10px;
}
 

/* Sidebar */

/* SIDEBAR BASE */
.pkp_structure_sidebar {
  padding: 20px;
}

/* CARD STYLE (SOFT MODERN) */
.pkp_block {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
  border: 1px solid #e6ecf2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* SOFT HOVER (NO ROTATION) */
.pkp_block:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* TITLE */
.pkp_block .title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a2a44;
  border-left: 4px solid #4facfe;
  padding-left: 10px;
}

/* LIST */
.pkp_block ul {
  list-style: none;
  padding: 0;
}

.pkp_block ul li {
  margin-bottom: 8px;
}

/* LINKS (FIXED BLINK ISSUE) */
.pkp_block ul li a {
  text-decoration: none;
  color: #444;
  font-size: 14.5px;
  display: block; /* important: inline-block hata diya */
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* SMOOTH HOVER */
.pkp_block ul li a:hover {
  background: #f0f6ff;
  color: #0077ff;
}

/* ICON STYLE */
.block_web_feed ul {
  display: flex;
  gap: 10px;
}

.block_web_feed img {
  width: 30px;
  height: 30px;
  transition: transform 0.25s ease;
}

/* SIMPLE HOVER (NO FLIP) */
.block_web_feed img:hover {
  transform: scale(1.1);
}

/* RESPONSIVE */

/* TABLET */
@media (max-width: 992px) {
  .pkp_structure_sidebar {
    padding: 15px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .pkp_structure_sidebar {
    width: 100%;
  }

  .pkp_block {
    padding: 15px;
  }

  .block_web_feed ul {
    justify-content: center;
  }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .pkp_block .title {
    font-size: 15.5px;
  }

  .pkp_block ul li a {
    font-size: 13.5px;
  }
}