/*
Theme Name: Umar Creation
Author: Umar Creation
Version: 2.4
*/

.uc2-site {
  --uc-green: #087a45;
  --uc-green-dark: #03472a;
  --uc-green-light: #e8f7ef;

  --uc-orange: #f28c28;
  --uc-orange-dark: #c96308;

  --uc-black: #0b1110;
  --uc-black-light: #15221d;

  --uc-white: #ffffff;
  --uc-bg: #f4f8f5; 

  --uc-border: #d2e4db;
  --uc-text: #1a2722;
  --uc-muted: #5e7269;

  --uc-radius: 12px;

  width: 100%;
  color: var(--uc-text);
  font-family: 'Inter', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  background-color: var(--uc-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.uc2-site *,
.uc2-site *::before,
.uc2-site *::after {
  box-sizing: border-box;
}

.uc2-site a {
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.uc2-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Standardized Section Spacing */
.uc2-section {
  padding: 38px 0;
}

.uc2-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}

.uc2-section-title small {
  color: var(--uc-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  display: block;
}

.uc2-section-title h2 {
  margin: 4px 0 0;
  color: var(--uc-black);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.uc2-view-all {
  color: var(--uc-green) !important;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.uc2-view-all:hover {
  color: var(--uc-green-dark) !important;
  transform: translateX(4px);
}

/* ================= FLASH & ANIMATIONS ================= */
.uc2-flash-box {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.uc2-flash-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  z-index: 5;
  transition: none;
}

.uc2-flash-box:hover::before {
  animation: uc2Shine 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes uc2Shine {
  0% { left: -75%; }
  100% { left: 125%; }
}

.uc2-shine-btn {
  position: relative;
  overflow: hidden;
}

.uc2-shine-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transition: left 0.6s ease;
}

.uc2-shine-btn:hover::after {
  left: 100%;
}

/* ================= TOP BAR ================= */
.uc2-topbar {
  background: #060b09;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
}

.uc2-topbar-inner {
  min-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.uc2-topbar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.uc2-topbar-contact a {
  color: #aebcb6 !important;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.uc2-topbar-contact a i {
  color: var(--uc-orange);
}

.uc2-topbar-contact a:hover {
  color: #ffffff !important;
}

.uc2-topbar-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.uc2-topbar-socials a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #dce5e1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s ease;
}

.uc2-topbar-socials a:hover,
.f-soc:hover {
  transform: translateY(-3px) scale(1.05);
  color: #ffffff !important;
}

.sm40:hover { background: #00bcd4 !important; }
.fb:hover { background: #1877f2 !important; }
.yt:hover { background: #ff0000 !important; }
.tw:hover { background: #000000 !important; border-color: #555 !important; }
.insta:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important; }
.tg:hover { background: #0088cc !important; }

/* ================= HEADER & LOGO ================= */
.uc2-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 17, 16, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
}

.uc2-header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.uc2-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.uc2-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.uc2-logo:hover .uc2-logo-img {
  transform: scale(1.03);
}

.uc2-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.uc2-nav a {
  padding: 7px 12px;
  color: #c4d1cc !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.uc2-nav a i {
  font-size: 13px;
  color: #798d84;
  transition: color 0.2s ease, transform 0.2s ease;
}

.uc2-nav a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
}

.uc2-nav a:hover i {
  color: var(--uc-orange);
  transform: translateY(-1px);
}

.uc2-nav a.active {
  color: #ffffff !important;
  background: rgba(8, 122, 69, 0.35);
  border: 1px solid rgba(8, 122, 69, 0.5);
}

.uc2-nav a.active i {
  color: var(--uc-orange);
}

.uc2-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.uc2-contact-btn {
  padding: 8px 16px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--uc-green), #065e35);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(8, 122, 69, 0.3);
  transition: all 0.3s ease;
}

.uc2-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8, 122, 69, 0.45);
}

.uc2-cart {
  position: relative;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 14px;
}

.uc2-cart:hover {
  background: rgba(255,255,255,0.12);
}

.uc2-cart b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--uc-orange);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  border: 2px solid #0b1110;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(242, 140, 40, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(242, 140, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 140, 40, 0); }
}

.uc2-menu-btn {
  display: none;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.uc2-mobile-menu {
  display: none;
  padding: 12px 20px;
  background: #0b1110;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.uc2-mobile-menu.open {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.uc2-mobile-menu a {
  padding: 10px 12px;
  color: #dce5e1 !important;
  background: #121c18;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ================= HERO ================= */
.uc2-hero {
  padding: 55px 0 60px;
  background:
    radial-gradient(circle at 10% 20%, rgba(8,122,69,0.25), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(242,140,40,0.18), transparent 40%),
    linear-gradient(135deg, #060d0a, #0b1713 60%, #0f1a16);
  text-align: center;
}

.uc2-hero-content {
  max-width: 780px;
}

.uc2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  color: #d1eadc;
  background: rgba(8,122,69,0.22);
  border: 1px solid rgba(8,122,69,0.45);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--uc-orange);
  box-shadow: 0 0 10px var(--uc-orange);
}

.uc2-hero h1 {
  margin: 18px 0 14px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.uc2-hero h1 em {
  font-style: normal;
  color: var(--uc-orange);
}

.uc2-hero p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #aebcb6;
  font-size: 14px;
  line-height: 1.6;
}

.uc2-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.uc2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.3s ease;
}

.uc2-btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--uc-green), #065e35);
  box-shadow: 0 4px 14px rgba(8, 122, 69, 0.35);
}

.uc2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 122, 69, 0.5);
}

.uc2-btn-outline {
  color: #ffffff !important;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
}

.uc2-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.uc2-search {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 4px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.uc2-search:focus-within {
  border-color: var(--uc-orange);
  box-shadow: 0 0 12px rgba(242, 140, 40, 0.25);
}

.uc2-search .search-icon {
  color: #83928c;
  font-size: 14px;
  padding-left: 14px;
}

.uc2-search input {
  flex: 1;
  height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  padding: 0 10px;
  font-size: 13px;
}

.uc2-search input::placeholder {
  color: #7d8f87;
}

.uc2-search button {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  color: #ffffff;
  background: var(--uc-orange);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.uc2-search button:hover {
  background: var(--uc-orange-dark);
}

/* ================= CATEGORIES ================= */
.uc2-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.uc2-category-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-radius: var(--uc-radius);
  color: var(--uc-text) !important;
  border: 1px solid var(--uc-border);
  background: white;
}

.green-card { background: #eaf8f0; border-color: #bce3cb; }
.orange-card { background: #fdf3e7; border-color: #f7d6b3; }
.blue-card { background: #eef6fc; border-color: #badcf5; }
.purple-card { background: #f5f0f9; border-color: #dccae8; }

.uc2-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}

.uc2-card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 16px;
  background: #ffffff;
  color: var(--uc-black);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.uc2-category-card:hover .uc2-card-icon {
  transform: scale(1.1);
}

.uc2-card-text {
  flex: 1;
}

.uc2-category-card h3 {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 700;
}

.uc2-category-card p {
  margin: 0;
  color: var(--uc-muted);
  font-size: 11px;
}

.uc2-category-card .arrow {
  color: #8b9b94;
  font-size: 13px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.uc2-category-card:hover .arrow {
  transform: translateX(4px);
  color: var(--uc-black);
}

/* ================= TOOLS ================= */
.uc2-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.uc2-tool-card {
  padding: 18px;
  border-radius: var(--uc-radius);
  color: var(--uc-text) !important;
  border: 1px solid var(--uc-border);
  display: flex;
  flex-direction: column;
}

.green-tool { background: #eaf8f0; border-color: #c0e5ce; }
.orange-tool { background: #fdf3e7; border-color: #f6d8b8; }
.blue-tool { background: #eef6fc; border-color: #becef0; }
.purple-tool { background: #f6f0fa; border-color: #dec8ed; }
.teal-tool { background: #e6f7f7; border-color: #b5e6e6; }
.pink-tool { background: #fcf0f4; border-color: #f3c7d7; }

.uc2-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}

.uc2-tool-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.uc2-tool-card:hover .uc2-tool-icon {
  transform: scale(1.1) rotate(5deg);
}

.green-tool .uc2-tool-icon { background: #087a45; }
.orange-tool .uc2-tool-icon { background: #f28c28; }
.blue-tool .uc2-tool-icon { background: #2563eb; }
.purple-tool .uc2-tool-icon { background: #7c3aed; }
.teal-tool .uc2-tool-icon { background: #0d9488; }
.pink-tool .uc2-tool-icon { background: #db2777; }

.uc2-tool-card h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.uc2-tool-card p {
  margin: 0 0 14px;
  color: var(--uc-muted);
  font-size: 12px;
  line-height: 1.4;
  flex: 1;
}

.tool-link {
  color: var(--uc-black);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.uc2-tool-card:hover .tool-link {
  gap: 8px;
  color: var(--uc-green-dark);
}

/* ================= PRODUCTS ================= */
.uc2-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.uc2-product {
  overflow: hidden;
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.uc2-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.uc2-product-image {
  position: relative;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-bg-1 { background: linear-gradient(135deg, #09120f, #143d2d); }
.p-bg-2 { background: linear-gradient(135deg, #111111, #4a280e); }
.p-bg-3 { background: linear-gradient(135deg, #07150f, #093d2c); }

.product-placeholder {
  color: rgba(255,255,255,0.15);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 3px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.uc2-product:hover .product-placeholder {
  transform: scale(1.08);
  color: rgba(255,255,255,0.25);
}

.uc2-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  color: #ffffff;
  background: var(--uc-orange);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.uc2-product-badge.free {
  background: var(--uc-green);
}

.uc2-product-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.uc2-product-content small {
  color: var(--uc-orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.uc2-product-content h3 {
  margin: 4px 0 6px;
  font-size: 15px;
  font-weight: 700;
}

.uc2-product-content p {
  margin: 0 0 15px;
  color: var(--uc-muted);
  font-size: 12px;
  line-height: 1.4;
  flex: 1;
}

.uc2-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #edf4f0;
}

.uc2-product-bottom strong {
  color: var(--uc-green);
  font-size: 16px;
  font-weight: 800;
}

.uc2-buy {
  padding: 7px 16px;
  color: #ffffff !important;
  background: var(--uc-black);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.uc2-buy:hover {
  background: var(--uc-green);
  transform: translateY(-1px);
}

/* ================= SERVICE & DUAL CARDS ================= */
.uc2-service {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(120deg, #07110d, #0d3828);
}

.uc2-service-content small {
  color: var(--uc-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.uc2-service-content h2 {
  margin: 4px 0 8px;
  font-size: 24px;
  font-weight: 700;
}

.uc2-service-content p {
  color: #b4c5be;
  font-size: 13px;
  margin: 0 0 18px;
  max-width: 500px;
}

.uc2-service-stat {
  display: flex;
  gap: 20px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-box strong {
  display: block;
  color: var(--uc-orange);
  font-size: 18px;
  font-weight: 800;
}

.stat-box span {
  color: #a6b6b0;
  font-size: 10px;
  text-transform: uppercase;
}

.uc2-flex-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.uc2-ad-inner,
.uc2-update-inner {
  padding: 24px;
  border-radius: var(--uc-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.uc2-ad-inner {
  border: 1px dashed #d6b88d;
  background: #fffdf9;
}

.uc2-ad-label {
  display: inline-block;
  background: #fdf3e7;
  color: var(--uc-orange-dark);
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.uc2-ad-inner h2,
.uc2-update-inner h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.uc2-ad-inner p,
.uc2-update-inner p {
  margin: 0;
  color: var(--uc-muted);
  font-size: 12px;
}

.uc2-ad-button {
  padding: 8px 16px;
  color: #ffffff !important;
  background: var(--uc-black);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.uc2-ad-button:hover {
  background: var(--uc-orange);
}

.uc2-update-inner {
  border: 1px solid var(--uc-border);
  background: #ffffff;
}

.uc2-update-inner small {
  color: var(--uc-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

/* ================= FOOTER ================= */
.uc2-footer {
  background: var(--uc-black);
  color: #ffffff;
  padding: 48px 0 20px;
  margin-top: 25px;
  border-top: 3px solid var(--uc-green);
}

.uc2-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 35px;
  margin-bottom: 35px;
}

.uc2-footer-col {
  display: flex;
  flex-direction: column;
}

.uc2-footer-col.brand-col .uc2-logo {
  margin-bottom: 14px;
}

.brand-desc {
  color: #8fa099;
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 18px;
}

.uc2-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uc2-footer-contact-list a {
  color: #c0cecb !important;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.uc2-footer-contact-list a i {
  color: var(--uc-orange);
  width: 14px;
}

.uc2-footer-contact-list a:hover {
  color: #ffffff !important;
}

.uc2-footer-col h3 {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.uc2-footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  background: var(--uc-green);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #8fa099 !important;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a i {
  font-size: 9px;
  color: #55665f;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  color: var(--uc-orange) !important;
  transform: translateX(4px);
}

.footer-links a:hover i {
  color: var(--uc-orange);
}

.uc2-footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.f-soc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: #b0c0ba !important;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.f-soc i {
  width: 16px;
  text-align: center;
  font-size: 12px;
}

.uc2-footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6a7b75;
  font-size: 11px;
  flex-wrap: wrap;
  gap: 12px;
}

.uc2-footer-bottom p {
  margin: 0;
}

.footer-bottom-tag span {
  color: #8fa099;
}

/* ================= TOOLS PAGE & TABS STYLING ================= */
.uc2-tool-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 25px;
  background: #ffffff;
  padding: 10px;
  border-radius: var(--uc-radius);
  border: 1px solid var(--uc-border);
}

.uc2-tab-btn {
  padding: 8px 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--uc-muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.uc2-tab-btn:hover {
  color: var(--uc-black);
  background: var(--uc-bg);
}

.uc2-tab-btn.active {
  background: var(--uc-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(8, 122, 69, 0.25);
}

.uc2-tab-content {
  display: none;
}

.uc2-tab-content.active {
  display: block;
  animation: uc2FadeIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes uc2FadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .uc2-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .uc2-category-grid { grid-template-columns: repeat(2, 1fr); }
  .uc2-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .uc2-products-grid { grid-template-columns: repeat(2, 1fr); }
  .uc2-flex-cards { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .uc2-topbar-inner {
    justify-content: center;
    text-align: center;
  }
  .uc2-nav { display: none; }
  .uc2-menu-btn { display: flex; align-items: center; justify-content: center; }
  .uc2-service {
    flex-direction: column;
    align-items: flex-start;
  }
  .uc2-service-stat {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .uc2-category-grid,
  .uc2-tools-grid,
  .uc2-products-grid {
    grid-template-columns: 1fr;
  }
  .uc2-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .uc2-topbar-contact {
    justify-content: center;
    font-size: 11px;
  }
  .uc2-ad-inner,
  .uc2-update-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .uc2-footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .uc2-tool-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px;
  }
  .uc2-tab-btn {
    padding: 6px 14px;
    font-size: 12px;
  }
}
/* ==========================================================================
   UMAR CREATION CUSTOM OVERRIDES & LAYOUT FIXES (Do Not Delete Original CSS)
   ========================================================================== */

/* 1. Global Layout & Screen Margins Fix */
.uc2-container, 
.site-main, 
.entry-content,
.page-template-default main {
  max-width: 1280px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

.uc2-section {
  padding: 40px 0;
}

/* 2. Dark Mode Support */
body.dark-mode {
  background-color: #090e0c !important;
  color: #e1e9e5 !important;
}

body.dark-mode .uc2-card,
body.dark-mode .site-header,
body.dark-mode .uc2-tool-tabs {
  background-color: #121a17 !important;
  border-color: #23352e !important;
  color: #e1e9e5 !important;
}

body.dark-mode a {
  color: #aebcb6 !important;
}

/* 3. Hero Section Canvas Animation Alignment */
.uc2-hero {
  position: relative;
  padding: 50px 0;
  background: #08110d;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.uc2-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

/* 4. Tab System for 20+ Tools Page */
.uc2-tool-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  background: #ffffff;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #d2e4db;
}

.uc2-tab-btn {
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: #5e7269;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
}

.uc2-tab-btn.active {
  background: #087a45;
  color: #fff !important;
}

.uc2-tab-content { display: none; }
.uc2-tab-content.active { display: block; }

/* 5. Custom Grid & Card Layout */
.uc2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.uc2-card {
  background: #ffffff;
  border: 1px solid #d2e4db;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* 6. Custom Buttons & Header Adjustments */
.uc2-btn {
  padding: 10px 18px;
  border-radius: 6px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.uc2-btn-primary { background: #087a45; color: #fff !important; }
.uc2-btn-orange { background: #f28c28; color: #fff !important; }

.dark-toggle-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
}

/* ==========================================================================
   FINAL STABILITY FIXES
   ========================================================================== */

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #f4f8f5;
  overflow-x: hidden;
}

.uc2-site {
  min-height: 100vh;
}

.uc2-mobile-menu a {
  text-decoration: none !important;
}

.admin-bar .uc2-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .uc2-header {
    top: 46px;
  }
}

@media (max-width: 850px) {
  .uc2-header-inner {
    height: 64px;
  }

  .uc2-nav {
    display: none !important;
  }

  .uc2-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .uc2-header-actions {
    margin-left: auto;
  }

  .uc2-contact-btn {
    display: none;
  }
}


/* =========================================================
   CART BADGE INTEGRATION
   Existing Premium Download Queue is the cart source.
========================================================= */
.uc2-cart {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  font-size: 17px;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.uc2-cart:hover {
  color: #ffffff !important;
  background: rgba(8,122,69,.35);
  border-color: #087a45;
  box-shadow: 0 0 12px rgba(8,122,69,.28);
  transform: translateY(-1px);
}
.uc2-cart b,
.uc2-cart-count {
  position: absolute;
  top: -6px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--uc-orange, #f28c28);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid #0b1110;
  animation: none;
}
.uc2-cart:hover b,
.uc2-cart:hover .uc2-cart-count {
  box-shadow: 0 0 0 3px rgba(242,140,40,.18);
}
@media (max-width: 850px) {
  .uc2-cart { width: 38px; height: 38px; flex-basis: 38px; }
}
// কাস্টমার রেজিস্ট্রেশন প্রসেস হ্যান্ডলার
function uc_customer_register_handler() {
    if (!isset($_POST['uc_reg_security']) || !wp_verify_nonce($_POST['uc_reg_security'], 'uc_reg_nonce')) {
        wp_die('সিকিউরিটি ভেরিফিকেশন ব্যর্থ হয়েছে!');
    }

    $username = sanitize_user($_POST['uc_reg_user']);
    $email = sanitize_email($_POST['uc_reg_email']);
    $password = $_POST['uc_reg_pass'];

    if (username_exists($username) || email_exists($email)) {
        wp_die('এই ইউজারনেম অথবা ইমেইল দিয়ে ইতিমধ্যে অ্যাকাউন্ট রয়েছে।');
    }

    $user_id = wp_create_user($username, $password, $email);

    if (is_wp_error($user_id)) {
        wp_die($user_id->get_error_message());
    }

    $dashboard_url = get_permalink(get_page_by_path('dashboard')); 
    wp_safe_redirect(add_query_arg('register', 'success', $dashboard_url));
    exit;
}
add_action('admin_post_uc_customer_register', 'uc_customer_register_handler');
add_action('admin_post_nopriv_uc_customer_register', 'uc_customer_register_handler');
/* Custom Font Size Increase */
body, p, span, a, li, input, button {
    font-size: 20px !important;
}
