/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.4.4
	Stable tag: 3.4.4
	Requires at least: 6.0
	Tested up to: 6.8
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/
/*****header****/
/* ==========================
   Header Custom CSS
   Scoped to .site_header
========================== */

/* Main header wrapper */

.site_header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
  background: linear-gradient(to bottom right, #0f172a, #1e3a8a, #312e81);
}

/* Inner container */
.site_header .container {max-width: 1280px;
    margin: 0 auto;
    padding: 15px;

}

/* Flex wrapper */
.site_header .flex {
  display: flex;
  align-items: center;      /* items-center */
  justify-content: space-between; /* justify-between */
}

/* Logo / title */
.site_header .text-2xl {
  font-size: 1.5rem;     /* text-2xl */
  line-height: 2rem;
}

.site_header .font-bold {
  font-weight: 700;
}

.site_header .cursor-pointer {
  cursor: pointer;
}

/* Logo image max width */
.site_header img {
  max-width: 200px;
}

/* Default text colors for fallback logo */
.site_header .text-white {
  color: #fff;
}

.site_header .text-green-400 {
  color: #4ade80; /* Tailwind green-400 */
}
body {
    font-family: "Poppins", sans-serif;
    font-size: 0.875rem;
}
.book-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}
.book-thumbnail img:hover { transform: scale(1.05); }
.book-content { font-size: 1.125rem; line-height: 1.8; color: #E2E8F0; }
.book-meta { margin-top: 2rem; padding: 1.25rem 1.5rem; background: rgba(30,41,59,0.6); border-radius: 0.75rem; border: 1px solid rgba(148,163,184,0.2); }
.book-meta p { font-size: 1rem; color: #CBD5E1; margin-bottom: 0.5rem; }
.book-meta strong { color: #34D399; }

/***** header menu responsive ******/
.header_site_menu ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}
.header_site_menu ul li a {
    color: #FFF;
    font-weight: 600;
    white-space: nowrap;
    font-size: 14px;
}
.header_site_menu ul li a:hover {
    color:#02B655;
}

/* Logo responsive scaling */
.site_logo a{
    display: flex;
}
.site_logo img {
    max-width: 200px;
    height: auto;
}
/*****dropdown*******/
.header_site_menu ul li {
  position: relative;
}
.header_site_menu ul.sub-menu {
  display: none;
}
.header_site_menu ul li:hover > .sub-menu {
  display: block;
  position: absolute;
  width:auto;
  top:24px;
}
.header_site_menu .sub-menu li a {
  padding: 10px;
  display: block;
  background-color: #10d27a;
  color: #FFF;
}
.header_site_menu .sub-menu li a:hover {
  background-color: #FFF;
  color: #10d27a;
}
span.submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    height: 42px;
    background: #FFF;
    width: 35px;
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
}
/**only desktop**/
@media screen and (min-width: 768px) {
  /* Style menu links */
  .header_site_menu .main-navigation li.menu-item-has-children > a {
    position: relative;
    display: inline-block;
    padding-right: 20px; /* space for arrow */
    color: #FFF;
    text-decoration: none;
    font-weight: 500;
  }

  /* Greater-than arrow using borders */
  .header_site_menu .main-navigation li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    top:44%;
    right:5px;
    width: 8px;  /* arrow width */
    height: 8px; /* arrow height */
    border-right: 2px solid #fff;  /* right line of > */
    border-bottom: 2px solid #fff; /* bottom line of > */
    transform: translateY(-50%) rotate(45deg); /* create > shape */
    transition: transform 0.3s;
  }

  /* Rotate arrow down when submenu is open or on hover */
  .header_site_menu .main-navigation li.menu-item-has-children:hover > a::after,
  .header_site_menu .main-navigation li.menu-item-has-children:focus-within > a::after {
    transform: translateY(-50%) rotate(225deg);
    top: 52%;
  }
}
@media (max-width: 768px) {
    .site_logo img {
        max-width: 150px;
    }
    .header_site_menu ul {
        gap: 10px;
        font-size: 0.9rem;
    }
    .header_site_menu ul li:hover > .sub-menu{
      position: relative;
      top: 0;
    }
    .header_site_menu ul li:hover > .sub-menu{
      display: none;
    }
}
    /* ===========================
   HAMBURGER MENU STYLES
   =========================== */
.header_site_menu .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  width: 30px;
  height:25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 999;
  padding: 0;
  position: relative;
}

.header_site_menu .menu-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
}

.header_site_menu .main-navigation {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header_site_menu .main-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.header_site_menu .main-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}
.header_site_menu .main-navigation li.menu-item-has-children > a{
  font-weight: 600;
}
/* New styles for the 'cross' icon when the menu is open */
.header_site_menu .menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.header_site_menu .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.header_site_menu .menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

/* ===========================
   RESPONSIVE STYLES
   =========================== */
@media (max-width: 768px) {
  /* Initially hide the menu on mobile */
  .header_site_menu .main-navigation {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top:72px;
    left: 0;
    width: 100%;
    background-color: #10243c;  /* Background color for the dropdown */
    z-index: 998;
  }
  .header_site_menu .main-menu{
    flex-direction: column;
    gap: 0;
  }
  .header_site_menu .main-menu li a{
    padding: 10px 25px;
    display: block;
  }
  /* Show the menu when toggle is active */
  .header_site_menu .main-menu.open {
    display: flex;
  }

  /* Show hamburger icon */
  .header_site_menu .menu-toggle {
    display: flex;
  }
}
/* ==========================
   Footer Custom CSS
   Scoped to .site_footer
========================== */

/* Main footer wrapper */
.site_footer {
  background-color: #0f172a; /* bg-slate-900 */
  padding-top: 3rem;        /* py-12 = 48px */
  padding-bottom: 3rem;
  padding-left: 1.5rem;     /* px-6 = 24px */
  padding-right: 1.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.5); /* border-slate-700/50 */
}

/* Inner container */
.site_footer .container {
  max-width: 56rem; /* max-w-4xl = 896px */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Logo/title wrapper */
.site_footer .text-3xl {
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem; 
}

.site_footer .font-bold {
  font-weight: 700;
}

.site_footer .mb-6 {
  margin-bottom: 1.5rem;
}

/* Logo image */
.site_footer img {
  max-width: 200px;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Default text colors for fallback text logo */
.site_footer .text-white {
  color: #ffffff;
}

.site_footer .text-green-400 {
  color: #4ade80; /* Tailwind green-400 */
}

/* Info text */
.site_footer .text-slate-300 {
  color: #cbd5e1;
}

.site_footer .mb-8 {
  margin-bottom: 2rem; /* 32px */
}

.site_footer .leading-relaxed {
  line-height: 1.625; /* relaxed line-height */
}

/* Footer links */
.site_footer .footer_links {
  display: flex;
  justify-content: center;
  gap: 2rem; /* space-x-8 */
  color: #94a3b8; /* text-slate-400 */
  margin-bottom: 2rem;
}

.site_footer .footer_links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site_footer .footer_links a:hover {
  color: #f1f5f9; /* lighter hover */
}

/* Bottom line text */
.site_footer .text-sm {
  font-size: 0.875rem; /* 14px */
}

.site_footer .text-slate-400 {
  color: #94a3b8;
}
.site_footer .sub-menu{
  display: none;
}
.tag_line {
  font-size: 15px;
  font-weight: bold;
  color: #FFF;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}
.ft_quick_links ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0 0 25px;
  list-style: none;
  padding: 0;
}
.ft_quick_links ul li a {
  color: #FFF;
  font-size: 16px;
}
.ft_quick_links ul li a:hover {
  color: #02B656;
}
.ft_social .social-icons {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 0;
    margin: 20px 0;
}

.ft_social .social-icons li {
    display: inline-block;
}

.ft_social .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
}

.ft_social .social-icons a:hover {
    background: #16a34a; /* green hover */
    color: #fff;
    transform: scale(1.1);
}

/*******************custom css***********************/
.page_wrapper{
	max-width: 1280px !important;
	margin: 0 auto;
	padding:0 10px;
}
.site_container h1 {
  font-size: 35px;
  color: #FFF;
  margin-bottom: 30px;
  font-weight: bold;
}
.site_container h1,.site_container h2,.site_container h3,
.site_container h4,.site_container h5,.site_container h6,
.site_container span,.site_container th,.site_container td ,.site_container li{
	color: #FFF;
}
.site_container p {
  color: #FFF;
  font-size: 18px;
  line-height: 30px;
}
.site_header img , .site_footer img{
	max-width: 200px;
}
.site_page {
  display: flex;
  max-width: 1280px;
  flex-wrap: nowrap;
  gap: 25px;
}
.site_sidebar{
	color: #FFF;
}
.site_page .site_sidebar , .site_page .site_content{
	flex: auto;
}
/***sidebar***/
.site_sidebar{
	background-color: rgb(30 41 59 / 0.6);
	padding: 20px;
	max-width: 250px;
	width: 100%;
	border:1px solid rgb(51 65 85 / 0.5);
	border-radius: 16px;
}
.site_sidebar h3 {
    font-size: 25px;
    font-weight: bold;
    margin: 0 0 20px;
}
.site_sidebar ul.product_list_widget li img{
	width: 100%;
}
body .site_sidebar ul.product_list_widget li a{
	display: flex;
	flex-direction: column-reverse;
	gap: 5px;
}
body .site_sidebar ul.product_list_widget li a:hover{
	color: #4ade80;
}
/* ==========================
   Custom Button Style
   Scoped to .site_bt
   ========================== */
.site_container button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid #334155; /* slate-600 */
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0aa573, #059669);
    color: #fff;
    text-align: center;
    text-decoration: none;
}

/* Hover Effect */
.site_container button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    border-color: rgba(34, 197, 94, 0.6); /* green-400/60 */
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}

/* Active (clicked) */
.site_container button:active,
.site_container button.active {
    background: linear-gradient(135deg, #047857, #065f46);
    border-color: #22c55e; /* green-500 */
    transform: scale(0.96);
}

/* Disabled State */
.site_container button:disabled {
    background: #334155; /* slate-700 */
    border-color: #475569;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/*****givewp form******/
.site_container{
	background-color: #FFF !important;
}
.site_container .givewp-campaign-stats-block span , .givewp-campaign-goal__container-item span , .givewp-campaign-goal__container-item strong {
  color: #FFF;
}
.site_container .givewp-campaign-stats-block strong , .site_content .givewp-campaign-stats-block h2{
  color: #FFF;
}
.site_container .wp-block-givewp-campaign-goal {
  display: none;
}
.site_container .wp-block-group {
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
.site_container .givewp-campaign-donations-block h2,
.site_container .givewp-campaign-donors-block h2 {
  color: #FFF;
}
/*****shop page****//* ================================
   Shop Page Styling (Blue Theme)
   ================================ */

/* Page background */
.site_container{
  background: linear-gradient(to bottom right, #0f172a, #1e3a8a);
  min-height: 100vh;
  padding: 2rem 1rem;
}

/* ===============================
   Shop Page Custom CSS
   Only affects .site_container.woocommerce-shop
=================================*//* ===============================
   Shop Page Custom CSS (Flat CSS)
   Scoped to .site_container
=================================*/

/* Product Grid */
.site_container ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 2rem !important;
  list-style: none;
  margin: 2rem 0 !important;
  padding: 0;
}

.site_container ul.products li.product {
  background: #0f172a; /* dark navy card */
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  position: relative;
  color: #f1f5f9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.site_container ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
}

/* Product Image */
.site_container ul.products li.product img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Sale Badge */
.site_container span.onsale {
  background: #facc15 !important;
  color: #1e293b !important;
  font-weight: bold;
  font-size: 0.8rem;
  border-radius: 50%;
  padding: 0.4rem 0.6rem;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

/* Product Title */
.site_container .woocommerce-loop-product__title {
  font-size: 1rem !important;
  font-weight: 600;
  color: #fff;
  margin: 0.5rem 0;
  min-height: 40px; /* keeps alignment */
}

/* Price */
.site_container .price {
  font-size: 0.95rem;
  font-weight: 600;
  color: #22c55e !important;
  margin: 0.5rem 0 1rem;
  display: block;
}

/* Buttons */
.site_container .woocommerce a.button,
.site_container .woocommerce ul.products li.product .button {
  display: inline-block;
  background: #3b82f6;
  color: #fff !important;
  padding: 0.6rem 1rem !important;
  border-radius: 6px;
  font-weight: 600;
  text-transform: capitalize;
  transition: background 0.2s ease;
}

.site_container .woocommerce a.button:hover,
.site_container .woocommerce ul.products li.product .button:hover {
  background: #2563eb;
}

/* Sorting Dropdown */
.site_container .woocommerce-ordering select {
  background: #1e293b;
  color: #f1f5f9;
  border: 1px solid #334155;
  padding: 0.5rem;
  border-radius: 6px;
}

/* Result Count */
.site_container .woocommerce-result-count {
  color: #cbd5e1;
  margin: 1rem 0;
}

/* Breadcrumb */
.site_container .woocommerce-breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.site_container .woocommerce-breadcrumb a {
  color: #60a5fa;
}
.site_container .products.columns-4,
.site_container .woocommerce.columns-4{
	width: 100% !important;
}
.site_container .products.columns-4::before {
  content: none !important;
}

#main {
  max-width: 100% !important;
}
/***************product single page***************/

/* ==========================
   WooCommerce Single Product Page
   Scoped to .site_container
   ========================== */


/* -------- Breadcrumb -------- */
.site_container .woocommerce-breadcrumb {
    font-size: 14px;
    margin-bottom: 25px;
    color: #94a3b8; /* slate-400 */
}
.site_container .woocommerce-breadcrumb a {
    color: #60a5fa; /* blue-400 */
    text-decoration: none;
    transition: color 0.2s ease;
}
.site_container .woocommerce-breadcrumb a:hover {
    color: #3b82f6; /* blue-500 */
}

/* -------- Product Layout -------- */
.site_container .product {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* -------- Gallery -------- */
.site_container .woocommerce-product-gallery {
    flex: 1 1 50%;
    position: relative;
}
.site_container .woocommerce-product-gallery img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
}

/* Sale Badge */
.site_container .product .onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #facc15; /* yellow-400 */
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 6px;
    z-index: 10;
}

/* Gallery Thumbnails */
.site_container .flex-control-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
}
.site_container .flex-control-thumbs img {
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.site_container .flex-control-thumbs img:hover,
.site_container .flex-control-thumbs img.flex-active {
    border-color: #3b82f6; /* blue-500 */
}

/* -------- Summary -------- */
.site_container .summary {
    flex: 1 1 45%;
    color: #e2e8f0;
}

/* Product Title */
.site_container .summary .product_title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #f8fafc; /* slate-50 */
}

/* Price */
.site_container .summary .price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #22c55e; /* green-500 */
}
.site_container .summary .price del {
    color: #94a3b8; /* slate-400 */
    margin-right: 8px;
}

/* Short Description */
.site_container .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #cbd5e1; /* slate-300 */
}

/* -------- Variations / Form -------- */
.site_container .variations_form.cart {
    margin-bottom: 20px;
}

.site_container .variations label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
    color: #fff; 
}

.site_container .variations select {
    border: 1px solid #334155; /* slate-700 */
    background:#0f172a !important; /* slate-900 */
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 15px;
    color: #f8fafc;
    width: 100%;
    transition: all 0.2s ease;
}
.site_container .variations select:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

/* Quantity + Add to Cart */
.site_container .quantity input.qty {
    width: 60px;
    padding:5px 10px;
    border: 1px solid #334155;
    border-radius: 6px;
    text-align: center;
    font-size: 15px;
    margin-right: 10px;
    background: #fff;
    color: #000;
}
.site_container .single_add_to_cart_button {
    background: #6d28d9; /* purple-700 */
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    font-size: 15px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: background 0.2s ease;
}
.site_container .single_add_to_cart_button:hover {
    background: #5b21b6; /* purple-800 */
}

/* Meta (SKU, Categories) */
.site_container .product_meta {
    font-size: 14px;
    margin-top: 15px;
    color: #94a3b8;
}
.site_container .product_meta a {
    color:#06996b; /* red-500 */
    text-decoration: none;
}
.site_container .product_meta a:hover {
    text-decoration: underline;
}
.site_container .variations td.value {
  display: flex;
  align-items: center;
  background-color: transparent;
}
.site_container .variations .label {
  max-width: max-content;
  background-color: transparent;
}
.site_container .variations .reset_variations{
	visibility: visible !important;
	color: #FFF;
	font-size: 16px;
	font-weight: bold;
}
.site_container .variations tr {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #1d2d58;
}
.site_container .variations tr th,.variations tr td{
	flex: auto;
}
/* Remove arrows from input type number - All Browsers */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield;      /* Modern standard */
}

.site_container button.single_add_to_cart_button,
.site_container a.wc-block-components-button {
    display: inline-block !important;
    padding: 10px 20px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border: 1px solid #334155 !important; /* slate-600 */
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #0aa573, #059669) !important;
    color: #fff !important;
    text-align: center !important;
    text-decoration: none !important;
}

/* Hover Effect */
.site_container button.single_add_to_cart_button:hover,
.site_container a.wc-block-components-button {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border-color: rgba(34, 197, 94, 0.6) !important; /* green-400/60 */
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4) !important;
}

/* Active (clicked) */
.site_container button.single_add_to_cart_button:active,
.site_container button.single_add_to_cart_button.active,
.site_container a.wc-block-components-button.active {
    background: linear-gradient(135deg, #047857, #065f46) !important;
    border-color: #22c55e !important; /* green-500 */
    transform: scale(0.96) !important;
}

/* Disabled State */
.site_container button.single_add_to_cart_button:disabled,
.site_container a.wc-block-components-button.disabled {
    background: #334155 !important; /* slate-700 */
    border-color: #475569 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}
/* -------- Responsive -------- */
@media (max-width: 1024px) {
    .site_container .product {
        flex-direction: column;
    }
    .site_container .woocommerce-product-gallery,
    .site_container .summary {
        flex: 1 1 100%;
    }
}

/*************cart page****************/
.site_container .wc-block-cart-item__wrap a{
	color: #FFF;
	font-size: 16px;
}
.site_container .wc-block-cart-item__wrap a:hover{
	color: #22c55e;
	text-decoration: none;
}
.site_container .wc-block-components-product-badge,
.site_container .wc-block-components-product-metadata{
	font-size: 15px;
}
.site_container .wc-block-cart .wc-block-cart__totals-title,
.site_container .wc-block-components-totals-coupon .wc-block-components-panel__button,
.site_container .wc-block-components-checkout-return-to-cart-button{
	color: #FFF;
}
.site_container .wc-block-components-express-payment-continue-rule.wc-block-components-express-payment-continue-rule--cart {
    color: #FFF;
}
.wc-block-grid__product-onsale span {
    color: #000;
}
.single_page ul li.wc-block-grid__product{
  line-height: normal;
  list-style: none;
}
.single_page .alignwide {
    margin-inline: 0;
}
.single_page ul.wc-block-grid__products{
  padding: 0;
}
.wc-block-grid__product-title , 
.wc-block-grid__product .wc-block-grid__product-link,
.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link{
  color: #FFF;
  text-decoration: none;
}
/****checkout page*****/
.wc-block-components-express-payment__content #gamipress-wc-partial-payments,
.wc-block-components-checkout-step__content #gamipress-wc-partial-payments,
.wc-block-checkout__actions.wp-block-woocommerce-checkout-actions-block #gamipress-wc-partial-payments {
  display: none;
}
.site_container .wc-block-checkout__sidebar .wc-block-components-product-name,
.site_container .wc-block-components-express-payment-continue-rule {
    color: #FFF;
}
.site_container .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted{
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255);
}
.site_container .message__messaging, .message__messaging .message__headline span, 
.site_container .message__messaging .message__sub-headline span, 
.site_container .message__messaging .message__disclaimer span{
  color: #FFF;
}
.site_container .wc-block-components-express-payment-continue-rule:after, 
.site_container .wc-block-components-express-payment-continue-rule:before{
  border-bottom: 1px solid #FFF;
}
/******Event page********/
.site_container .tribe-events .tribe-events-calendar-month__day-date-daynum,
.site_container .tribe-common a:not(.tribe-common-anchor--unstyle),
.site_container .tribe-events .tribe-events-calendar-month__calendar-event-datetime,
.site_container .single-tribe_events .tribe-common-a11y-visual-hide, 
.site_container .tribe-common .tribe-common-a11y-visual-hide
{
  color: #FFF;
}
.site_container .tribe-common-c-btn-border-small.tribe-events-c-top-bar__today-button.tribe-common-a11y-hidden {
  color: #000 !important;
}
.site_container .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-messages__message {
  color: #FFF;
}
.tribe-common .tribe-common-c-svgicon {
  color: red;
}
.site_container p.tribe-events-back a {
  color: #FFF;
}
.site_container .tribe-events-single-section-title {
  color: #FFF;
}
.site_container .tribe_events dd, 
.site_container .tribe_events dl, 
.site_container .tribe_events dt, 
.site_container .tribe_events li, 
.site_container .tribe_events ol,
.site_container .tribe_events ul{
  color: #FFF;
}
.site_container .tribe-events-event-url a {
  color: #04b656;
}
.site_container .tribe-events-gmap {
  color: #04b656;
}
.site_container .tribe-events-sub-nav li a {
  color: #FFF !important;
}

.site_container .givewp-donation-form-modal__open span {
  color: #0B72D9;
}
.site_container .givewp-donation-form-modal__open:hover span {
  color: #fff;
}

.site_container .wp-block-column.is-vertically-aligned-stretch.is-layout-flow.wp-block-column-is-layout-flow .givewp-donation-form-modal__open span {
  color: #FFF;
}


/*Registration form*/

.um-field-label label {
    font-size: 15px !important;
    line-height: 22px !important;
    font-weight: 600;
    color: #fff;
}

/******Homepage banner*******/
/* Custom CSS for additional styling */
  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Progress bar styling */
  .progress-bar {
    /*background: linear-gradient(90deg, #10b981 0%, #059669 100%);
          */
    height: 100%;
    border-radius: inherit;
    transition: width 0.3s ease;
  }

  .progress-container {
    background-color: #374151;
    height: 12px;
    border-radius: 9999px;
    overflow: hidden;
  }

  /* Campaign card hover effects */
  .campaign-card {
    transition: all 0.3s ease;
  }

  .campaign-card:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.1);
  }

  .campaign-card img {
    transition: transform 0.5s ease;
  }

  .campaign-card:hover img {
    transform: scale(1.1);
  }

  .campaign-card .camp_desc a,
  .campaign-card .supporter_no a,
  .campaign-card .impact_no a {
    color: #10b981;
  }

  .campaign-card .camp_desc a:hover,
  .campaign-card .supporter_no a:hover,
  .campaign-card .impact_no a:hover {
    color: #FFF;
  }

  /* Button animations */
  .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    transition: all 0.3s ease;
  }

  .btn-primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);
  }

  /* Modal animations */
  .modal-enter {
    animation: modalEnter 0.3s ease-out;
  }

  @keyframes modalEnter {
    from {
      opacity: 0;
      transform: scale(0.9);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  /* Filter button active state */
  .filter-btn.active {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border-color: transparent !important;
  }

  /* Amount button selected state */
  .amount-btn.selected {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border-color: #10b981 !important;
  }

  /* Payment button selected state */
  .payment-btn.selected {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: white !important;
    border-color: #10b981 !important;
  }

  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Header backdrop blur effect */
  .header-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(71, 85, 105, 0.5);
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #1e293b;
  }

  ::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
  }

  /* Loading animation */
  .loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  /* Responsive adjustments */
  @media (max-width: 768px) {
    .text-6xl {
      font-size: 3rem;
    }

    .text-8xl {
      font-size: 4rem;
    }

    .text-5xl {
      font-size: 2.5rem;
    }
  }

  /* Animation delays for staggered effects */
  .animate-delay-100 {
    animation-delay: 100ms;
  }

  .animate-delay-200 {
    animation-delay: 200ms;
  }

  .animate-delay-300 {
    animation-delay: 300ms;
  }

  .animate-delay-400 {
    animation-delay: 400ms;
  }

  .animate-delay-500 {
    animation-delay: 500ms;
  }

  /***********custom css************/
  .banner_content h1 {
    font-size: 4rem;
    /* 64px */
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: center;
  }

  @media (min-width: 768px) {
    .banner_content h1 {
      font-size: 55px;
      /* 96px */
    }
  }

  .banner_content h1 span {
    color: #34D399;
    /* Tailwind's green-400 */
    position: relative;
    display: inline-block;
    z-index: 1;
  }

  .banner_content p {
    font-size: 18px;
    color: #CBD5E1;
    /* Tailwind's slate-300 */
    margin-bottom: 2rem;
    max-width: 500px;
    text-align: center;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
  }



  .banner_content p span {
    color: #34D399;
    font-weight: 600;
  }

  .mission_content>p {
    font-size: 1.25rem;
    /* 20px */
    color: #E2E8F0;
    /* Tailwind's slate-200 */
    line-height: 1.8;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
  }



  .mission_content>p>span {
    color: #34D399;
    /* Tailwind green-400 */
    font-weight: 600;
  }

  .mission_box_content h3 {
    font-size: 1.75rem;
    /* 28px */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
  }

  @media (min-width: 768px) {
    .mission_box_content h3 {
      font-size: 2rem;
      /* 32px */
    }
  }

  .mission_box_content p {
    font-size: 1.125rem;
    /* 18px */
    color: #E2E8F0;
    /* Tailwind's slate-200 */
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }

  .right_menu button {
    border: none;
  }

  .banner_section {
    position: relative;
  }

  .banner_section:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: black;
    opacity: 0.5;
    content: '';
    width: 100%;
    height: 100%;
  }

  .campaigns_content h2 {
    font-size: 30px;
    word-break: unset;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
    text-align: center;
  }

  .campaigns_content p {
    font-size: 1.25rem;
    /* 20px */
    color: #CBD5E1;
    /* Tailwind slate-300 */
    line-height: 1.8;
    max-width: 60ch;
    text-align: center;
    margin: 0 auto;
  }

  .footer_links p {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer_links a {
    color: #94a3b8;
    /* Slate-400 */
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer_links a:hover {
    color: #4ade80;
    /* Green-400 */
  }


  .card-overlay {
    position: absolute;
    inset: 0;
    /* covers the whole card */
    background: rgba(0, 0, 0, 0.2);
    /* transparent dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* hidden by default */
    transition: opacity 0.4s ease;
    pointer-events: none;
    /* don't block clicks */
  }

  .card-overlay i {
    font-size: 5rem;
    /* large icon */
    color: rgba(255, 255, 255, 0.3);
    /* transparent white */
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  }

  .campaign-card:hover .card-overlay {
    opacity: 1;
    /* show on hover */
  }



  @media (min-width: 768px) {
    .campaigns_content h2 {
      font-size: 3.5rem;
      /* 56px */
      word-break: break-all;
    }
  }



  @media (min-width: 768px) {
    .campaigns_content p {
      font-size: 1.375rem;
      /* 22px */
    }
  }

  #header button:hover {
    background: transparent;
  }

  button {
    border: none;
  }
.banner_three_bts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.banner_three_bts a {
  margin: 0;
}
.banner_three_bts a:hover{
  color: #FFF;
}
.three_values{
  text-align: center;
}

/****how it works section*****/
.tc-process-wrapper {
    max-width:1200px;
    margin: 4rem auto;
    font-family: 'Poppins', sans-serif;
    padding: 2rem;
}
.tc-process-wrapper {
  --primary: #39d97a;
  --bg-dark: #1b263b;
  --card-bg: #2a354b;
  --text-light: #f1f1f1;
}

.tc-process-wrapper h2 {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 8px rgba(57, 217, 122, 0.4);
}

.tc-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.tc-process-wrapper p {
  margin: 10px 0;
  font-size: 15px;
  font-weight: normal;
}

.tc-step {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  color: var(--text-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tc-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(57, 217, 122, 0.3);
}

.tc-step-number {
  background: var(--primary);
  color: #000;
  font-size: 1.4rem;
  font-weight: 700;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 10px rgba(57, 217, 122, 0.5);
}

.tc-step-text {
  font-size: 1.05rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .tc-process-steps {
    grid-template-columns: 1fr;
  }

  .tc-process-wrapper h2 {
    font-size: 2rem;
  }
}


/***************tc-campaigns-wrapper*****************/
.tc-campaigns-wrapper {
      --highlight-color: #39d97a;
      --background-gradient: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
      background: var(--background-gradient);
      max-width: 1140px;
      margin: 3rem auto;
      font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      padding: 3rem 3rem 4rem;
      border-radius: 12px;
      color: #e0e6f1;
      box-shadow: 0 12px 24px rgb(0 0 0 / 0.4);
    }

    .tc-campaigns-wrapper h1,
    .tc-campaigns-wrapper h2 {
      font-weight: 700;
      margin-bottom: 1rem;
      text-align: center;
      color: #fff;
      text-shadow:
        0 0 6px rgba(57, 217, 122, 0.6),
        0 0 12px rgba(57, 217, 122, 0.4);
      letter-spacing: 0.04em;
    }

    .tc-campaigns-wrapper h1 {
      font-size: 3rem;
      margin-bottom: 1.5rem;
      color: #36cf76;
      text-shadow: none;
    }

    .tc-campaigns-wrapper h2 {
      font-size: 2.25rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
      color: var(--highlight-color);
      text-shadow: none;
    }

    .tc-campaigns-wrapper p {
      font-size: 1.15rem;
      line-height: 1.7;
      margin-bottom: 1.25rem;
      color: #d1d9f2cc;
    }

    .tc-campaigns-wrapper .highlight {
      color: var(--highlight-color);
      font-weight: 600;
    }

    .tc-campaigns-wrapper ul {
      list-style: none;
      padding-left: 0;
      margin: 1rem auto 2rem;
      max-width: 100%;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1rem;
    }

    .tc-campaigns-wrapper ul li {
      background: linear-gradient(135deg, #283845, #1f2a38);
      padding: 1.2rem 1.75rem;
      border-radius: 10px;
      box-shadow:
        inset 0 0 8px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.4);
      color: var(--highlight-color);
      font-weight: 600;
      font-size: 1.1rem;
      border: 1.5px solid #415a77;
      transition: background 0.25s ease, box-shadow 0.3s ease, transform 0.25s ease;
    }

    .tc-campaigns-wrapper ul li:hover {
      background: linear-gradient(135deg, #3f4e61, #59747c);
      box-shadow:
        0 8px 18px rgba(57, 217, 122, 0.6),
        inset 0 0 14px rgba(57, 217, 122, 0.7);
      color: #e0f7df;
      border-color: var(--highlight-color);
      transform: translateY(-5px);
    }

    @media (max-width: 900px) {
      .tc-campaigns-wrapper h1 {
        font-size: 2.4rem;
      }

      .tc-campaigns-wrapper h2 {
        font-size: 1.8rem;
      }

      .tc-campaigns-wrapper p {
        font-size: 1.05rem;
      }

      .tc-campaigns-wrapper ul li {
        font-size: 1rem;
        padding: 1rem 1.25rem;
      }
    }

    @media (max-width: 500px) {
      .tc-campaigns-wrapper {
        padding: 2rem 1rem 3rem;
      }

      .tc-campaigns-wrapper h1 {
        font-size: 1.9rem;
      }

      .tc-campaigns-wrapper h2 {
        font-size: 1.4rem;
      }
    }

/****************custom-hero-section******************/

.custom-hero-section {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .custom-hero-section picture,
  .custom-hero-section img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-text-block {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-text-block p {
    color: #ffffff;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .hero-text-block strong {
    font-weight: bold;
  }

  @media (max-width: 768px) {
    .hero-text-block p {
      font-size: 16px;
    }
  }

  /***********campaign single page*************/
  .prog_bar_single {
    margin: 25px 0 0 0;
  }
  .prog_bar_single.space-y-3.col-span-2 span {
    color: #4ade80;
  }
  .image-frame img {
    object-fit: contain;
  }

/***pro givewp**/
#about .give-p2p-campaign-header-block , #about .give-p2p-campaign-donations-overview-block {
  max-width: 100%;
  margin: 0 auto;
}
.give-p2p-team-leaderboard-block.align h2 {
  color: #FFF;
}

/***Home page***/ 
@media (max-width: 768px) {
.banner_content h1 {
  font-size: 35px;
}
.banner_three_bts {
  flex-direction: column;
}
.ft_quick_links ul{
  flex-direction: row;
  flex-wrap: wrap;
}
}

/**Single.php**/
/********singlepage css**********/
.single_page ul {
  padding: 0 35px;
  margin: 0 0 20px;
  list-style: disc;
}
.single_page ul li {
  font-size: 18px;
  line-height: 35px;
  margin: 0;
  padding: 0;
  font-weight: normal;
  color: #FFF;
}
.single_page .post-tags a {
  color: #02B655;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: normal;
}
.single_page .post-tags a:hover {
  color: #FFF;
  text-decoration: none;
}
.comments-area a {
  color: #02B655;
  font-size: 14px;
  margin: 0;
  padding: 0;
  line-height: normal;
}
.comments-area a:hover {
  color: #FFF;
  text-decoration: none;
}
.comment-respond #submit {
  border: 1px solid #02B655;
  color: #02B655;
  font-size: 15px;
  font-weight: bold;
  line-height: normal;
}
.comment-respond #submit:hover {
  color: #FFF;
  border: 1px solid #FFF;
  background: transparent;
}
/*******transparency-content********/
.transparency-block {
    margin: 60px auto;
    padding: 50px 25px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 20px;
    text-align: center;
    max-width:1140px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.transparency-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.6);
}

.transparency-heading {
    font-size: 2.2rem;
    color: #22c55e;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.transparency-text {
    color: #e2e8f0;
    margin-bottom: 25px;
    font-size: 1.15rem;
    line-height: 1.6;
}

.transparency-btn {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(90deg, #22c55e, #3b82f6);
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.transparency-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .transparency-block { padding: 40px 20px; margin: 40px 15px; }
    .transparency-heading { font-size: 1.8rem; }
    .transparency-text { font-size: 1rem; }
    .transparency-btn { padding: 14px 28px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .transparency-block { padding: 30px 15px; margin: 30px 10px; }
    .transparency-heading { font-size: 1.5rem; }
    .transparency-text { font-size: 0.95rem; }
    .transparency-btn { padding: 12px 24px; font-size: 0.95rem; }
}
.transparency-content p {
    color: #FFF;
    margin: 0 0 25px;
}


/** Reward coin**/
#coin-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#coin-toggle {
  background-color: #0FD78F;
  color: white;
  padding: 12px 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-align: center;
  font-size: 20px;
  transition: background 0.3s ease;
}
#coin-toggle:hover {
  background-color: #0AC478;
}
#coin-panel {
  width: 280px;
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  bottom: 60px;
  left: 0;
  transform: translateX(-120%);
  transition: transform 0.4s ease;
}
#coin-widget.active #coin-panel {
  transform: translateX(0);
}
.coin-content {
  padding: 18px 20px;
  text-align: center;
}
.coin-content h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}
.coin-count {
  font-size: 28px;
  font-weight: bold;
  color: #0FD78F;
  margin-bottom: 10px;
}
.coin-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}
.store-btn {
  display: inline-block;
  background: #0FD78F;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.store-btn:hover {
  background: #0AC478;
}

/* ===========================
   POPUP OVERLAY & CONTAINER Comment Popup
   =========================== */
#comment-popup.popup{
  display:none; /* your JS controls visibility */
  position: fixed; inset: 0;
  backdrop-filter: blur(4px);
  background: radial-gradient(1200px 800px at 60% -10%, rgba(34,197,94,.08), transparent 55%),
              rgba(3,10,19,.72);
  z-index: 9999;

  /* Center the popup */
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hide the body scroll behind the popup */
}

#comment-popup .popup-content{
  width: min(680px, calc(100% - 32px));
  max-height:80vh;              /* Limit height to viewport */
  overflow-y: auto;              /* Enable vertical scroll inside the popup content */
  padding: clamp(18px, 3.2vw, 28px);
  border-radius: 16px;
  background: linear-gradient(180deg, #10243c, #0b1a2c);
  color: #e7f1ff;
  box-shadow: 0 20px 40px rgba(0,0,0,.45), 0 2px 10px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  animation: uc-pop-in .22s ease-out both;
  overflow-x: hidden;            /* Prevent horizontal scroll */
}

@keyframes uc-pop-in{
  from{ transform: translateY(8px) scale(.98); opacity: 0 }
  to  { transform: translateY(0)   scale(1);   opacity: 1 }
}

/* Close button */
#comment-popup .close-btn{
  position:absolute; top:10px; right:10px;
  width: 36px; height: 36px; line-height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: #9fb4c9;
  font-size: 18px; cursor: pointer;
  transition: transform .1s ease, background .15s ease, color .15s ease;
}
#comment-popup .close-btn:hover{ background: rgba(255,255,255,.08); color: #e7f1ff; transform: scale(1.04) }
#comment-popup .close-btn:active{ transform: scale(.98) }

/* ===========================
   CUSTOM SCROLLBAR (for popup only)
   =========================== */
#comment-popup .popup-content::-webkit-scrollbar {
  width: 8px;  /* Adjust width */
}

#comment-popup .popup-content::-webkit-scrollbar-thumb {
  background-color: #22c55e; /* Green accent */
  border-radius: 10px; /* Rounded edges */
  border: 2px solid #0b1a2c; /* Dark border for better visibility */
}

#comment-popup .popup-content::-webkit-scrollbar-thumb:hover {
  background-color: #16a34a; /* Darker green on hover */
}

#comment-popup .popup-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
  border-radius: 10px;
}

#comment-popup .popup-content::-webkit-scrollbar-track:hover {
  background: rgba(255, 255, 255, 0.12); /* Darker track on hover */
}

/* Firefox (optional) */
#comment-popup .popup-content {
  scrollbar-width: thin; /* Thin scrollbar */
  scrollbar-color: #22c55e rgba(0, 0, 0, 0.4); /* Green thumb with black track */
}

/* ===========================
   COMMENT FORM WRAPPER
   =========================== */
#popup-comment-form{ color: #e7f1ff }
#popup-comment-form p{ margin: 0 0 18px }
#popup-comment-form .required{ color: #f59e0b }

/* Headings */
#popup-comment-form .comment-respond{ margin: 0 }
#popup-comment-form .comment-reply-title{
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: #e7f1ff;
}
#popup-comment-form .comment-reply-title small a{
  font-weight: 500; color: #9fb4c9;
}
#popup-comment-form .comment-reply-title small a:hover{ color: #e7f1ff }

/* Logged-in / notes line */
#popup-comment-form .logged-in-as,
#popup-comment-form .comment-notes{
  color: #9fb4c9;
  font-size: .92rem;
}
#popup-comment-form .logged-in-as a{
  color: #e7f1ff; text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.15);
}
#popup-comment-form .logged-in-as a:hover{ color: #22c55e }

/* Inputs & Textarea */
#popup-comment-form input[type="text"],
#popup-comment-form input[type="email"],
#popup-comment-form input[type="url"],
#popup-comment-form textarea{
  width: 100%;
  background: rgba(255,255,255,.04);
  color: #e7f1ff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  outline: none;
  transition: box-shadow .12s ease, border-color .12s ease, background .12s ease;
}
#popup-comment-form textarea{
  min-height: 120px;
  resize: vertical;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
}
#popup-comment-form input::placeholder,
#popup-comment-form textarea::placeholder{ color: rgba(231,241,255,.45) }

#popup-comment-form input:focus,
#popup-comment-form textarea:focus{
  border-color: rgba(34,197,94,.55);
  box-shadow: 0 0 0 3px rgba(34,197,94,.35), 0 0 0 1px rgba(34,197,94,.6) inset;
  background: rgba(255,255,255,.05);
}

/* Field rows (name/email if visible) */
#popup-comment-form .comment-form-author,
#popup-comment-form .comment-form-email,
#popup-comment-form .comment-form-url{
  display: grid;
}

/* Error/help text */
#popup-comment-form .form-allowed-tags,
#popup-comment-form .comment-awaiting-moderation{
  font-size: .9rem; color: #9fb4c9;
}
#popup-comment-form .uc-error{ color: #ef4444 }

/* Submit button */
#popup-comment-form .form-submit{
  margin-top: 6px;
  display: flex; align-items: center; gap: 12px;
}
#popup-comment-form .form-submit #submit,
#popup-comment-form .form-submit input[type="submit"]{
  appearance: none;
  border: 0;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #052e16;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(22,163,74,.35), inset 0 0 0 1px rgba(255,255,255,.2);
  transition: transform .06s ease, filter .15s ease, box-shadow .15s ease;
}
#popup-comment-form .form-submit #submit:hover{
  filter: brightness(1.02);
  box-shadow: 0 10px 22px rgba(22,163,74,.45), inset 0 0 0 1px rgba(255,255,255,.25);
}
#popup-comment-form .form-submit #submit:active{ transform: translateY(1px) }

/* Links inside popup form */
#popup-comment-form a{ color: #22c55e }
#popup-comment-form a:hover{ color: #34d399 }

#popup-comment-form label{
  color: #e7f1ff;
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

/* Divider */
#popup-comment-form .uc-divider{
  height: 1px; background: rgba(255,255,255,.08);
  margin: 12px 0 16px;
  border-radius: 1px;
}

/* Responsive tweaks */
@media (max-width: 520px){
  #comment-popup .popup-content{
    padding: 16px 14px;
    border-radius: 14px;
    max-height: 85vh;
  }
  #popup-comment-form .form-submit{
    flex-direction: column; align-items: stretch;
  }
  #popup-comment-form .form-submit #submit{
    width: 100%;
  }
}

/* Trigger button */
.open-comment-popup{
  display: inline-flex; align-items: center; gap: 8px;
  padding:0;
  border-radius: none;
  background:none;
  color: #FFF;
  border:none;
  font-weight: 700;
  cursor: pointer;
  transition:none;
  font-size: 15px;
}
.open-comment-popup:hover{ background:none;color: #22c55e; }
.open-comment-popup:active{ transform: translateY(1px) }

/* Cookies consent checkbox row */
.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.soc_links{
    display: flex;
    align-items: center;
    gap: 15px;
}
.soc_links .share_bt {
  color: #FFF;
  background: none;
  font-weight: bold;
  font-size: 15px;
}
.soc_links .share_bt:hover{
    color: #22c55e;
    background-color: none;
}
.soc_links > div, .soc_links button {
  flex: 1;
}
/* Popup overlay */
.comment-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}
/* Popup content */
.popup-content {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  margin: 80px auto;
  border-radius: 8px;
  position: relative;
}
/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/******.custom-registration-form*******/
/* Popup overlay */
.registration-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3,10,19,.72);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Popup content */
.registration-popup-content {
    background: linear-gradient(180deg, #10243c, #0b1a2c);
    color: #e7f1ff;
    padding:40px;
    border-radius: 16px;
    max-width:500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,.45);
    position: relative;
}

/* Close button */
.registration-popup-content .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: red;
}
.registration-popup-content .close-btn:hover {
    background: rgba(255,255,255,.08);
    color: #e7f1ff;
}

/* Form inputs */
#ajax-registration-form input[type="text"],
#ajax-registration-form input[type="email"],
#ajax-registration-form input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: unset;
    border: 1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color: #e7f1ff;
}
/* Remove autofill white background */
#ajax-registration-form input:-webkit-autofill,
#ajax-registration-form input:-webkit-autofill:hover,
#ajax-registration-form input:-webkit-autofill:focus,
#ajax-registration-form input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0d1b2a inset !important; /* match your dark background */
    -webkit-text-fill-color: #fff !important; /* text color */
    transition: background-color 5000s ease-in-out 0s;
    border-radius: unset;
    border: 1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color: #e7f1ff;
}

/* For Firefox */
#ajax-registration-form input:autofill {
    box-shadow: 0 0 0 1000px #0d1b2a inset !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: unset;
    border: 1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color: #e7f1ff;
}

/* Submit button */
#ajax-registration-form input[type="submit"] {
    width: 100%;
    padding: 12px 0;
    border-radius: 50px;
    border: none;
    background: linear-gradient(to right, #28C77B, #20A56D);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: normal;
    font-size: 18px;
}

#ajax-registration-form input[type="submit"]:hover {
    background: linear-gradient(to right, #20A56D, #1e8d5e);
}
.user_popup {
    line-height: 0;
    display: none;
}
.registration-popup-content label {
  line-height: normal;
  margin: 0 0 5px;
  color: #FFF;
  font-size: 15px;
  padding: 0;
}
#registration-message {
    margin: 0 0 15px;
    display: block;
}
/* Messages */
.registration-success { color: #28C77B; font-weight: 600; margin-bottom: 10px;font-size: 15px;
    line-height: normal;padding: 0; }
.registration-error { color: #ff4d4d; font-weight: 600; margin-bottom: 10px; font-size: 15px;
    line-height: normal;padding: 0;}

/* Responsive */
@media(max-width:480px){
    .registration-popup-content {
        padding: 16px;
        width: 90%;
    }
}



/*******/
.was-flyout {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  width: 320px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  padding: 18px 18px 20px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.was-flyout__title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #222;
  text-align: center;
}
.was-flyout__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  text-align: center;
}
.was-flyout__btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  background: #10d27a;
  color: #fff;
  text-decoration: none;
  transition: transform .05s ease, box-shadow .2s ease, background-color .2s ease;
  box-shadow: 0 6px 14px rgba(16,210,122,.35);
  line-height: normal;
}
.was-flyout__btn:hover { background:#0ec271; }
.was-flyout__btn:active { transform: translateY(1px); }

.was-flyout__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #889096;
  font-size: 18px; line-height: 28px;
}
.was-flyout__close:hover { color:#555; }
button.was-flyout__close {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      color: red;
      background: none;
      cursor: pointer;
  }

@media (max-width: 768px) {
  .was-flyout {
    top: auto;
    bottom: 16px;
    transform: none;
    left: 12px;
    right: 12px;
    width: auto;
  }
}

/*********dashboard*********/
.um-form #um_account_submit_reward_tab {
  display: none;
}
.donation-lock-msg{
  text-align: center;
}
.donation-lock-msg a {
  color: #01b453;
}
.site_container .um-account-name a,
.site_container .um-account-main div.um-account-heading,
.um-account-main label,
.site_container .um-profile.um .um-name a,
.site_container .um-meta span a,
.site_container .um-profile-note span,
.site_container .um-profile-note span a:hover,
.site_container .um-item-link a,
.site_container .um-item-link i,
.site_container .um-profile-note i{
  color: #FFF;
}
.site_container .um-account-name a:hover,
.site_container .um-profile.um .um-name a:hover,
.site_container .um-meta span a:hover,
.site_container .um-profile-note span a,
.site_container .um-item-link a:hover{
  color: #01b453;
}
.um-account-main a{
  text-decoration: none;
}
.um-field-radio-state i,
.um-field-radio-option{
  color: #FFF !important;
}

/********/
@media (max-width: 768px) {
  .site_container .alignwide {
      margin-inline: -20px;
  }
  .site_container .give-p2p-team-leaderboard-block header > h2 {
      color: #FFF;
  }
}


 /* Container for all team boxes Team Box in profile team_fd_box */
.team_fd_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 20px;
    margin: 20px;
}

/* Each individual fundraiser box */
.fundraiser-box {
    background-color: #ffffff;
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.fundraiser-box h2 {
    font-size: 1.5em;
    color: #2d3e1f; /* Green color */
    margin-bottom: 10px;
}

.fundraiser-box p {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
}
.um-account-main .fundraiser-box p{
    margin: 20px 0 !important;
}
.fundraiser-box .donate-button {
    display: inline-block;
    padding:8px 15px;
    font-size: 1.2em;
    background-color:#28c77b; /* Green button */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
}

.fundraiser-box .donate-button:hover {
    background-color: #218838;
    transition: background-color 0.3s;
}

/* Limit to show only 4 items initially */
.team_fd_box .fundraiser-box:nth-child(n+5) {
    display: none;
}

/* Button to load more boxes */
.load-more {
    grid-column: span 2; /* Span across both columns */
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

.load-more:hover {
    background-color: #0056b3;
}

#um_account_submit_team_tab{
  display: none;
}

/* ============================
   Impact Stories Section
   ============================ */

.impact-stories-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f6f7fb;
  color: #111;
  width: 100%;
}

/* Header */
.impact-stories-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  color: #0f62fe;
}

.impact-stories-header p {
  font-size: 14px;
  color: #555;
  margin-top: 6px;
  margin-bottom: 15px;
}

/* Scroll container */
.impact-stories-container {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.impact-stories-container::-webkit-scrollbar {
  height: 6px;
}
.impact-stories-container::-webkit-scrollbar-thumb {
  background-color: rgba(15, 98, 254, 0.4);
  border-radius: 4px;
}

/* Story Card */
.impact-story-card {
  flex: 0 0 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
}

/* Thumbnail */
.impact-story-thumb {
  height: 150px;
  background: #e9eef8;
  overflow: hidden;
}

.impact-story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Content */
.impact-story-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.impact-story-tag {
  font-size: 12px;
  color: #0f62fe;
  font-weight: 600;
  text-transform: uppercase;
}

.impact-story-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.impact-story-excerpt {
  font-size: 13px;
  color: #555;
}

.impact-story-btn {
  margin-top: auto;
  background: #0f62fe;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.impact-story-btn:hover {
  background: #0843a8;
}

/* No stories message */
.impact-no-stories {
  color: #555;
  font-size: 14px;
  margin-top: 10px;
}


/* Responsive design - Single column on smaller screens */
@media screen and (max-width: 768px) {
    .team_fd_box {
        grid-template-columns: 1fr; /* One column */
    }

    .team_fd_box .fundraiser-box:nth-child(n+5) {
        display: block;
    }

    /****product single page******/
    .site_container ul.products li.product{
      width: 100% !important;
    }
    .site_container .product{
      gap: 10px;
      align-items: center;
    }
    .site_container .wp-block-woocommerce-cart.alignwide,
    .site_container .wp-block-woocommerce-checkout.alignwide.wc-block-checkout{
      margin-inline: 0;
    }
    .site_container .wc-block-cart .wc-block-cart__submit-container--sticky{
      position: relative;
    }
}