.section-wrapper {
  position: relative;
  --max-width: 1110px;
  --padding: 1.25rem;
  width: min(var(--max-width), 100% - var(--padding)*2);
  margin-inline: auto;
}

html {
  scroll-behavior: smooth;
}

@layer utilities {
  .font-bebas-neue {
    font-family: 'Bebas Neue', sans-serif;
  }

  .font-inter-tight {
    font-family: 'Inter Tight', sans-serif;
  }

  .font-noto-sans {
    font-family: 'Noto Sans', sans-serif;
  }

  .font-lato {
    font-family: 'Lato', sans-serif;
  }

  .font-sora {
    font-family: 'Sora', sans-serif;
  }

  .font-playpen {
    font-family: 'Playpen Sans', sans-serif;
  }
}

/* Marquee Slider Styles */
#marquee-slider {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.marquee-inner {
  display: flex;
  gap: 20px;
  animation: marquee 20s linear infinite;
}

#marquee-slider .marquee-inner .marquee-item {
  position: relative;
  display: inline-flex;
}

#marquee-slider .marquee-inner .marquee-item::before {
  content: "";
  width: 16px;
  height: 16px;
  background: #47BEA7;
  border-radius: 50%;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

#marquee-slider .marquee-item span {
  margin-left: 20px;
  display: inline-block;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: inline-block;
  padding: 15px 25px;
}

/* End of Marquee Slider Styles */

/*Team member card hover effect*/
.team-image {
  border-top-left-radius: clamp(24px, 5vw, 80px);
  border-top-right-radius: clamp(16px, 3vw, 24px);
  border-bottom-right-radius: clamp(24px, 5vw, 80px);
  border-bottom-left-radius: clamp(16px, 3vw, 24px);

  transition: border-radius 0.3s ease-in-out;
}

.team-image:hover {
  border-radius: clamp(16px, 3vw, 24px);
}

/*End of Team member card hover effect*/

/* Slick slider height fix */
.slick-h-fix,
.slick-h-fix .slick-list,
.slick-h-fix .slick-track,
.slick-h-fix .slick-slide {

  min-height: 450px !important;
  height: auto !important;
  overflow: hidden;
}

/* End of Slick slider height fix */

/* Resource card effect */
.resouce-card {
  box-shadow: 0px 0px 4px 0px #13151540;
}

.article-overlay {
  background: linear-gradient(180deg, rgba(115, 115, 115, 0.32) 79.82%, rgba(19, 21, 21, 0.48) 100%);
}

.mask-container {
  width: clamp(60px, 8vw, 150px);
  height: clamp(60px, 8vw, 150px);

  mask-image: url("/asset/image/Mask group.png");
  -webkit-mask-image: url("/asset/image/Mask group.png");

  mask-size: cover;
  -webkit-mask-size: cover;

  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;

  mask-position: center;
  -webkit-mask-position: center;

  display: inline-flex;
}


.mask-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mvg-card {
  box-shadow: 0px 0px 4px 0px #13151540;
}

/*publication page slider*/
.v-marquee {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}

.marquee-div {
  transform: rotate(-6deg);
}

@media (max-width: 640px) {
  .v-marquee {
    max-height: 400px;
  }
}

.v-track {
  animation: marquee-up 18s linear infinite;
}

/* direction */
.v-down .v-track {
  animation: marquee-down 18s linear infinite;
}

/* cards */
.v-card {
  height: 200px;
  border-radius: 20px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  overflow: hidden;
}

@media (max-width: 640px) {
  .v-card {
    height: 150px;
  }
}

/* animations */
@keyframes marquee-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes marquee-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

/* pause on hover */
.v-marquee:hover .v-track {
  animation-play-state: paused;
}

.initiative-slider .card {
  padding: 12px;
}

.initiative-slider img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 1024px) {
  .initiative-slider img {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .initiative-slider img {
    height: 280px;
  }
}

.logo-marquee-slider {
  display: flex;
  gap: 5rem;
  animation: logo-scroll 20s linear infinite;
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-marquee-slider-reverse {
  display: flex;
  gap: 5rem;
  animation: logo-scroll 20s linear infinite reverse;
}

.bg-white-blur {
  background: rgba(255, 255, 255, 0.6);
  /* white tint */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  /* Safari support */
}

.about-us-slider .slick-slide {
  height: auto !important;
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  animation: spin-slow 15s linear infinite;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 9999;
  transition: all 400ms ease-in-out;
}

.app-header.sticky-header {
  backdrop-filter: blur(6px);
  background-color: white;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.app-header .section-wrapper {
  padding-block: 30px;
  transition: all 400ms ease-in-out;
}

.app-header.sticky-header .section-wrapper {
  padding-block: 0;
}

.app-header.sticky-header .section-wrapper .header-logo {
  width: 100px !important;
  height: 80px !important;
}

.app-header.sticky-header .section-wrapper nav {
  background-color: transparent;
  border: none;
  border-radius: 0;
}

.primary-navigation {
  padding: 16px;
}

.app-header.sticky-header .primary-navigation {
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.nav-item {
  font-size: clamp(0.875rem, 0.5955rem + 0.4367vw, 1.125rem);
  font-weight: bolder;
  text-transform: camelcase;
}

.nav-item button {
  font-size: clamp(0.875rem, 0.5955rem + 0.4367vw, 1.125rem);
  font-weight: bold;
}

.nav-item a {
  text-decoration: none;
  color: inherit;
}

/* ==================== HAMBURGER BUTTON ==================== */
.hamburger i {
  transition: transform 0.3s ease;
}

.nav-items.active+.hamburger i {
  transform: rotate(90deg);
}

.dropdown-menu li {
  padding-block: 10px;
}

@media (max-width: 1026px) {
  .app-header:has(.primary-navigation nav.nav-active) {
    height: 100%;
  }

  .app-header.sticky-header {
    backdrop-filter: blur(6px);
    background-color: rgba(255, 255, 255, 0.9);
  }

  .app-header .section-wrapper {
    max-width: 100%;
    width: 100%;
    padding-block: 0;
  }

  .app-header.sticky-header .section-wrapper {
    padding-block: 0;
  }

  .primary-navigation {
    border-radius: 0;
    border: none;
    padding-inline: 0;
  }

  .primary-navigation nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-200%);
    opacity: 0;
    background-color: white !important;
    z-index: 10;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-radius: 0;
    border: none;
    overflow-y: scroll;
  }

  .primary-navigation nav.nav-active {
    transform: translateY(0);
    opacity: 1;
  }

  .primary-navigation nav .nav-items {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding-top: 100px;
  }

  .nav-item {
    padding-block: 20px;
    padding-left: 20px;
    border-bottom: 1px solid #e2e2e2;
  }

  .nav-item button {
    justify-content: space-between;
    padding-right: 20px;
    padding-block: 0;
    padding-left: 0;
  }

  .nav-item button,
  .nav-item {
    font-size: 18px;
    width: 100%;
  }

  .dropdown-menu {
    transition: all 300ms ease-in-out;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-menu.open {
    max-height: 500px;
    opacity: 100;
    opacity: 1;
    visibility: visible;
    padding-top: 20px;
  }

  .dropdown-menu li:not(:last-child) {
    padding-block: 20px;
    border-bottom: 1px solid #e2e2e2;
  }

  .dropdown-menu li:last-child {
    padding-top: 20px;
  }
}

.nav-shadow {
  box-shadow: 0px 0px 4px 0px #13151540;
}

.animate-card {
  box-shadow: 0px 0px 4px 0px #00000040;
}

@keyframes wind-left {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-12px);
  }
}

@keyframes wind-right {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(5px);
  }
}

.wind-left {
  animation: wind-left 9s ease-in-out infinite;
}

.wind-right {
  animation: wind-right 9s ease-in-out infinite;
}

.team-progress {
  width: 100%;
  height: 8px;
  background: #e5e5e5;
  overflow: hidden;
  margin-top: 20px;
  border-radius: 58px;
  position: relative;
}

.team-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: #36265f;
  border-radius: 58px;
  transition: transform 0.4s ease;
}

/* home page initative slider css */

.home-initiative-slider .slick-list {
  padding: 0 5% 0 0;
}

.home-initiative-slider .slick-arrow i {
  font-size: 20px;
  color: #000000;
}

.home-initiative-slider .slick-arrow {
  top: auto;
  bottom: -40px;
  left: auto;
  right: 0;
  cursor: pointer;
  z-index: 99;
}

.home-initiative-slider .slick-prev {
  right: 30px;
}

.home-initiative-slider .slick-prev:before,
.home-initiative-slider .slick-next:before {
  display: none;
}

.slider-progress {
  width: 85%;
  height: 8px;
  background: #e5e7eb;
  /* light gray */
  position: relative;
  overflow: hidden;
  border-radius: 52px;
  margin-top: 20px;
  margin-left: 10px;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 52px;
  width: 0%;
  background: #36265f;
  /* your brand color */
  transition: transform 0.4s ease, width 0.4s ease;
}

#all-articles-grid #tabs li.active>a>p {
  background-color: #36265F;
  color: #ffffff;
  border-color: #36265F;
}

#see-all-flex #tabs li.active>a {
  border: 1.5px solid #36265F;
  color: #36265F;
  border-radius: 12px;
}


/* contactus style */
/* General wrapper */
.custom-contact-form {
  font-family: 'Lato', sans-serif !important;
}

/* Labels */
.custom-contact-form label {
  display: block !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  margin-bottom: 16px !important;
}

/* Input + Textarea inside CF7 spans */
.custom-contact-form .wpcf7-form-control-wrap input,
.custom-contact-form .wpcf7-form-control-wrap textarea {
  width: 100% !important;
  border: 1px solid #D9D9D9 !important;
  padding: 12px !important;
  border-radius: 12px !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  font-family: 'Lato', sans-serif !important;
  background: #fff !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Textarea specific height */
.custom-contact-form .wpcf7-form-control-wrap textarea {
  height: 343px !important;
  resize: none !important;
}

/* Placeholder styling */
.custom-contact-form .wpcf7-form-control-wrap input::placeholder,
.custom-contact-form .wpcf7-form-control-wrap textarea::placeholder {
  font-size: 18px !important;
  font-family: 'Lato', sans-serif !important;
  color: #999 !important;
}

/* Focus border */
.custom-contact-form .wpcf7-form-control-wrap input:focus,
.custom-contact-form .wpcf7-form-control-wrap textarea:focus {
  border-color: #333333 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Spacing */
.custom-contact-form .mb-4 {
  margin-bottom: 16px !important;
}

.custom-contact-form .mb-6 {
  margin-bottom: 24px !important;
}

/* Submit button */
.custom-contact-form button.wpcf7-submit {
  width: 100% !important;
  /* full width */
  padding: 12px 0 !important;
  /* py-3 */
  border-radius: 0.5rem !important;
  /* rounded-lg */
  background-color: #47BEA7 !important;
  /* bg-[#47BEA7] */
  color: #fff !important;
  /* text-white */
  font-family: 'Noto Sans', sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border: none !important;
  font-size: 16px !important;
  transition: background-color 0.3s ease !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  /* space between text and icon */
}

/* Hover effect */
.custom-contact-form button.wpcf7-submit:hover {
  background-color: #0d9488 !important;
  /* Tailwind-teal-600 */
}

/* Remove CF7 spinner */
.custom-contact-form .wpcf7-spinner {
  display: none !important;
}



/* single page css */
.post-content p {
  color: #6F7775;
  font-size: 1.125rem;
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  margin-bottom: 0.75rem;
  padding-bottom: 5px;
}

.post-content h1 {
  color: #36265F;
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.post-content h2 {
  color: #36265F;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 600;
}

.post-content ul {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.post-content ol {
  list-style-type: decimal;
  list-style-position: inside;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.post-content li {
  font-family: 'Lato', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #131515;
  margin-bottom: 0.75rem;
}

.post-content blockquote {
  position: relative;
  padding: 1.25rem;
  border-top: 2px solid #36265F;
  border-left: 2px solid #36265F;
  left: 2.5rem;
  margin-bottom: 2.5rem;
  margin-right: 2.5rem;
}

.post-content blockquote p {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #131515;
}

.post-content blockquote {
  position: relative;
  padding: 1.25rem;
  border-top: 2px solid #36265F;
  border-left: 2px solid #36265F;
  margin-left: 2.5rem;
  margin-bottom: 2.5rem;
  margin-right: 2.5rem;
}

.post-content blockquote::before {
  content: ' ';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 48px;
  height: 48px;
  background-color: white;
  background-image: url('http://localhost/NPI/wp-content/themes/NPI/assets/image/exclamation.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  display: block;
  z-index: 10;
}