/* 
 * Smart Seba - Minimal Clean Design
 * Inspired by assunnahfoundation.org - Clean, readable, professional
 */

/* Oswald is loaded via <link> in master.blade.php (async, non-blocking).
   The @import was removed because CSS @import blocks the stylesheet's own download
   until Google Fonts responds, creating a render-blocking waterfall. */

/* Local Bornomala Font */
@font-face {
  font-family: 'Bornomala';
  src: url('../fonts/Bornomala-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Bornomala';
  src: url('../fonts/Bornomala-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --primary-color: #16a34a;
  --primary-hover: #15803d;
  --secondary-color: #0891b2;
  --success-color: #10b981;
  --danger-color: #dc2626;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-lighter: #f1f5f9;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-md: 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
}

/* Typography */
body {
  font-family: 'Oswald', 'Bornomala', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--bg-white);
   /*background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 15px, rgba(1, 1, 1, 0.01) 15px, rgba(1, 1, 1, 0.01) 30px),
    repeating-linear-gradient(-45deg, transparent, transparent 15px, rgba(1, 1, 1, 0.01) 15px, rgba(1, 1, 1, 0.01) 30px); */
  font-size: 16px;
}

body.bn {
  font-family: 'Bornomala', 'Oswald', sans-serif;
}

/* Bangla text font consistency - Apply to ALL elements */
body.bn,
body.bn *,
body.bn h1,
body.bn h2,
body.bn h3,
body.bn h4,
body.bn h5,
body.bn h6,
body.bn p,
body.bn a,
body.bn button,
body.bn span,
body.bn div,
body.bn input,
body.bn textarea,
body.bn label,
body.bn .section-title,
body.bn .category-item h3,
body.bn .category-item p,
body.bn nav a,
body.bn .btn,
body.bn .hero h1,
body.bn .hero p,
body.bn .logo-text {
  font-family: 'Bornomala', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Form Elements */
input,
textarea,
select {
  background: var(--bg-white) !important;
  color: var(--text-dark) !important;
  /* border: 1px solid var(--border-color) !important; */
}

input::placeholder,
textarea::placeholder {
  color: var(--text-light) !important;
}

input:focus,
textarea:focus,
select:focus {
  background: var(--bg-white) !important;
  border-color: var(--primary-color) !important;
  outline: none !important;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 1.5rem; */
}

/* Header Styles */
header.main-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  padding: 0 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-container nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 0;
}

.logo-text {
  font-family: 'Bornomala', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: color 0.2s;
  font-size: 0.9rem;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.2s;
}

nav a:hover .nav-icon,
nav a.active .nav-icon {
  opacity: 1;
}

nav a:hover {
  color: var(--text-dark);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.lang-switcher button,
.lang-switcher a.lang-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  text-decoration: none;
}

.lang-switcher button.active,
.lang-switcher a.lang-btn.active {
  color: #ffffff;
  font-weight: 600;
  background: var(--primary-color);
  border-radius: 0.25rem;
  padding: 0.35rem 0.65rem;
}

.lang-switcher button:hover,
.lang-switcher a.lang-btn:hover {
  color: var(--text-dark);
}

.lang-divider {
  color: var(--border-color);
}

.profile-btn,
.donate-btn,
.login-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
}

.profile-btn {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.profile-btn:hover {
  background: var(--bg-light);
}

.login-btn {
  background: var(--primary-color);
  color: white;
}

.login-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.donate-btn {
  background: var(--primary-color);
  color: white;
}

.donate-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

/* Mobile Menu Components - Hidden on Desktop */
.mobile-menu-header,
.mobile-menu-footer,
.mobile-logo,
.mobile-logo-text,
.mobile-logo-subtitle,
.mobile-menu-close,
.mobile-lang-switcher,
.mobile-lang-btn,
.mobile-user-section,
.mobile-user-btn {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  background-image: url('data:image/svg+xml,%3Csvg width="300" height="600" xmlns="http://www.w3.org/2000/svg"%3E%3Cpattern id="pattern" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"%3E%3Cpath d="M30 0L60 30L30 60L0 30Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/%3E%3C/pattern%3E%3Crect width="300" height="600" fill="url(%23pattern)"/%3E%3C/svg%3E');
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 800px;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #ffffff;
  font-family: 'Bornomala', sans-serif;
}

.hero p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: #ffffff;
  line-height: 1.6;
  font-family: 'Bornomala', sans-serif;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-outline {
  background: #0f172a;
  color: #ffffff;
  border: 2px solid #0f172a;
}

.btn-hero-outline:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Hero Split Layout (Homepage) */
.hero.hero--split {
  background: radial-gradient(1200px 500px at 15% 15%, rgba(22, 163, 74, 0.12), transparent 60%),
              radial-gradient(900px 450px at 85% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
              #fdf4e7;
  color: var(--text-dark);
  min-height: 520px;
}

.hero.hero--split .container {
  max-width: 1320px;
  padding: 0 2rem;
}

.hero.hero--split::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.4;
  pointer-events: none;
}

.hero.hero--split .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero.hero--split .hero-copy {
  position: relative;
  z-index: 1;
}

.hero.hero--split .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #f97316;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.1rem;
}

.hero.hero--split h1 {
  color: #0f172a;
  font-size: 2.8rem;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero.hero--split h1 span {
  color: #f97316;
  display: block;
  margin-top: 0.35rem;
}

.hero.hero--split p {
  color: #475569;
  font-size: 1rem;
  max-width: 520px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-transform: uppercase;
}

.hero-stat-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #64748b;
}

.hero-panel {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hero-panel-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f97316;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-panel-list {
  display: grid;
  gap: 0.9rem;
}

.hero-panel-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #f8fafc;
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.hero-panel-item:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.hero-panel-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-panel-title {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-panel-subtitle {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

.hero-panel-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
}

.hero-panel-arrow {
  font-size: 1.1rem;
  color: #94a3b8;
}

/* Buttons */
.btn {
  padding: 0.4rem 2rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--bg-light);
  border-color: var(--text-light);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Card Styles */
.card {
  background: var(--bg-white);
  border-radius: 0.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--text-light);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

/* Section Styles */
section {
  padding: 2rem 0;
}

section:nth-child(even) {
  background: var(--bg-light);
}

section h2 {
  text-align: left;
  margin-bottom: 3rem;
}

/* Category Cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.category-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.category-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Category Cards - New Design */
.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.category-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.category-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.category-item .category-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.category-item h3 {
  font-size: 1.1rem;
  margin: 0.75rem 0;
  color: #1a202c;
  font-family: 'Bornomala', sans-serif;
}

.category-item p {
  color: #6b7280;
  line-height: 1.6;
  font-size: 0.95rem;
  font-family: 'Bornomala', sans-serif;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--bg-white);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.breadcrumb ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb ul li:not(:last-child)::after {
  content: "›";
  color: var(--text-light);
}

.breadcrumb ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
}

.breadcrumb ul li a:hover {
  color: var(--text-dark);
}

.breadcrumb ul li:last-child {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.875rem;
}

/* Footer */
footer {
  background: #1a202c;
  color: #e2e8f0;
  padding: 5rem 0 1.5rem;
  border-top: none;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}

.footer-section p,
.footer-section ul li {
  color: #cbd5e0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: #ffffff;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 0.375rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #a0aec0;
  font-size: 0.875rem;
}

/* Mobile Footer Navigation */
nav.mobile-footer-nav {
  display: flex !important;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  justify-content: center;
  z-index: 1001;
  padding: 0.25rem 0.1rem 0;
  pointer-events: auto;
  background: #ffffff !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12) !important;
  transform: none !important;
  overflow: visible !important;
}

.mobile-footer-nav-inner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border-radius: 0;
  padding: 0.2rem 0.4rem;
  box-shadow: none;
  border: none;
  width: 100%;
  max-width: none;
}

.mobile-footer-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 600;
  min-width: 48px;
  transition: color 0.2s, transform 0.2s;
}

.mobile-footer-link.is-center {
  transform: translateY(-12px);
  color: #0f172a;
}

.mobile-footer-link.is-center.active,
.mobile-footer-link.is-center:hover {
  transform: translateY(-12px);
  color: #0f172a;
}

.mobile-footer-link.is-center .mobile-footer-icon {
  width: 44px;
  height: 44px;
  background: #f97316;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

.mobile-footer-link.is-center .mobile-footer-text {
  font-size: 0.7rem;
  color: #0f172a;
}

.mobile-footer-icon {
  width: 30px;
  height: 30px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: inherit;
  transition: background 0.2s, color 0.2s;
}

.mobile-footer-link.active,
.mobile-footer-link:hover {
  color: #f97316;
  transform: translateY(-2px);
}

.mobile-footer-link.active .mobile-footer-icon,
.mobile-footer-link:hover .mobile-footer-icon {
  background: transparent;
  color: #f97316;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.75);
  transition: opacity .3s, visibility .3s,
              transform .35s cubic-bezier(.34,1.56,.64,1),
              box-shadow .2s;
  box-shadow: 0 4px 16px rgba(22,163,74,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 0;
  overflow: visible;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #15803d, #166534);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(22,163,74,.55);
}

.back-to-top:active {
  transform: scale(.92);
  box-shadow: 0 2px 10px rgba(22,163,74,.35);
}

/* Progress ring SVG */
.btt-ring-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%) rotate(-90deg);
  pointer-events: none;
}

.btt-ring-track {
  fill: none;
  stroke: rgba(255,255,255,.2);
  stroke-width: 2.2;
}

.btt-ring-bar {
  fill: none;
  stroke: rgba(255,255,255,.92);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 119.4;
  stroke-dashoffset: 119.4;
  transition: stroke-dashoffset .12s linear;
}

/* Arrow icon */
.btt-icon {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
}

/* Testimonials */
.testimonial {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-dark);
  font-style: normal;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* New Testimonial Card Styles */
.testimonial-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.testimonial-rating {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  font-family: Georgia, serif;
}

.testimonial-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.testimonial-avatar {
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-author-info .testimonial-author {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0;
}

.testimonial-author-info .testimonial-role {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0.25rem 0 0 0;
}

/* Shop Filters */
.shop-filters {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
}

.filters-inline {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.filter-group select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-white);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-group select:hover {
  border-color: var(--primary);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

/* Price Slider Styles */
.filter-group-slider {
  grid-column: span 1;
}

.price-slider-container {
  position: relative;
  padding-top: 0.5rem;
}

.price-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 100%);
  outline: none;
  opacity: 0.9;
  transition: opacity 0.2s;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.price-slider:first-of-type {
  background: var(--border-color);
  position: relative;
  pointer-events: all;
}

.price-slider:last-of-type {
  background: transparent;
  pointer-events: all;
}

.price-slider:hover {
  opacity: 1;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.price-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.price-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.price-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.price-slider-values {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-light);
  border-radius: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.price-separator {
  color: var(--text-light);
  font-weight: 400;
}

#price-min-value,
#price-max-value {
  font-size: 1rem;
}

/* Responsive Filters */
@media (max-width: 992px) {
  .filters-inline {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .filter-group-slider {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .filters-inline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .filter-group-slider {
    grid-column: span 1;
  }
  
  .shop-filters {
    padding: 1.5rem;
  }
}

/* Forms */
form {
  /* max-width: 600px; */
  margin: 0 auto;
}

/* Auth card form overrides the global max-width */
.auth-card form {
  max-width: 100%;
  margin: 0;
}
label:has([type=checkbox],[type=radio]){
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  font-family: inherit;
  height: 40px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-new {
  background: var(--primary-color);
  color: white;
}

.badge-hot {
  background: var(--danger-color);
  color: white;
}

.badge-sale {
  background: var(--secondary-color);
  color: white;
}

/* Pricing Tables */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.2s;
}

.pricing-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.pricing-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pricing-period {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Alert/Notice */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.alert-info {
  background: #dbeafe;
  border-color: #3b82f6;
  color: #1e40af;
}

.alert-success {
  background: #d1fae5;
  border-color: var(--success-color);
  color: #065f46;
}

.alert-warning {
  background: #fef3c7;
  border-color: #f59e0b;
  color: #92400e;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-light {
  color: var(--text-light);
}

.text-dark {
  color: var(--text-dark);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.contact-section {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.contact-section h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #1a202c;
  font-family: 'Bornomala', sans-serif;
  font-weight: 700;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: 'Bornomala', sans-serif;
  font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
  font-family: 'Bornomala', sans-serif;
  font-weight: 600;
}

.contact-info-item p {
  color: #6b7280;
  margin: 0.25rem 0;
  font-family: 'Bornomala', sans-serif;
}

.contact-info-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-category-item {
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  color: #1a202c;
  font-family: 'Bornomala', sans-serif;
  transition: all 0.2s;
  display: block;
}

.faq-category-item:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateX(4px);
}

.faq-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.faq-detail h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1a202c;
  font-family: 'Bornomala', sans-serif;
}

.faq-detail p {
  color: #6b7280;
  line-height: 1.6;
  font-family: 'Bornomala', sans-serif;
}

/* Responsive Design */
/* Extra Small Mobile Devices (up to 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  header.main-header {
    padding: 0.5rem 0;
  }
  
  .header-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .lang-switcher {
    font-size: 0.7rem;
  }
  
  .lang-switcher .lang-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.7rem;
  }

  .lang-btn {
    padding: 0.25rem 0.4rem;
    font-size: 0.7rem;
  }
  
  .user-icon-btn {
    width: 32px;
    height: 32px;
  }
  
  .user-icon-btn svg {
    width: 16px;
    height: 16px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
}

/* Tablets and Small Screens (481px - 768px) */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
    padding-bottom: 72px;
  }
  
  html {
    overflow-x: hidden;
  }
  
  /* Header Responsive */
  header.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0.5rem 0;
  }

  .header-container {
    position: relative;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }

  .logo {
    flex: 1;
    order: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 3;
    font-size: 1.75rem;
    padding: 0.5rem;
    color: var(--text-dark);
    background: var(--bg-light);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  
  .mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: white;
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95);
  }
  
  nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    max-height: 100vh;
    background: white;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
  }
  
  nav.active {
    display: flex;
    transform: translateX(0);
  }
  
  /* Backdrop overlay */
  nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: 280px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  nav.active::before {
    opacity: 1;
    pointer-events: auto;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 1.25rem 1.25rem; */
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-color);
    color: white;
    flex-shrink: 0;
  }
  
  .mobile-logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
  }

  .mobile-logo img {
   
    height: 40px;
    object-fit: contain;
    margin-bottom: 0.35rem;
    border-radius: 0;
  }
  
  .mobile-logo-text {
    font-family: 'Bornomala', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    line-height: 1.2;
  }
  
  .mobile-logo-subtitle {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.15rem;
  }
  
  .mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: background 0.2s;
  }
  
  .mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .menu-links {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    flex: 1;
    margin: 0;
    list-style: none;
  }
  
  .menu-links li {
    width: 100%;
    text-align: left !important;
    display: block;
    padding: 8px 15px !important;
  }
  
  .menu-links li a {
    padding: 0.625rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    transition: all 0.2s;
    text-align: left !important;
    width: 100%;
    color: var(--text-dark);
    text-decoration: none;
    border-left: 3px solid transparent;
  }
  
  .menu-links li a::before {
    display: none;
  }
  .menu-links li a .nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
  }
  .menu-links li a:hover .nav-icon,
  .menu-links li a.active .nav-icon {
    color: var(--primary-color);
  }
  
  .menu-links li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
  }
  
  .menu-links li a.active {
    background: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
  }
  
  .mobile-menu-footer {
    display: block;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
    flex-shrink: 0;
  }
  
  .mobile-lang-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
  }
  
  .mobile-lang-btn {
    padding: 0.625rem;
    border: 2px solid var(--border-color);
    border-radius: 0.375rem;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s;
    background: white;
    font-size: 0.875rem;
  }
  
  .mobile-lang-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
  }
  
  .mobile-lang-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
  }
  
  .mobile-user-section {
    margin-top: 1rem;
  }
  
  .mobile-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: #FCD34D;
    color: #1F2937;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
    font-size: 0.9rem;
  }
  
  .mobile-user-btn:hover {
    background: #FBB040;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 211, 77, 0.4);
  }
  
  .mobile-user-btn svg {
    flex-shrink: 0;
  }

  .header-right {
    order: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  
  .lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
  }

  .lang-switcher .lang-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }

  .lang-divider {
    margin: 0 0.1rem;
  }

  .user-icon-btn {
    width: 36px;
    height: 36px;
  }

  .user-icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .donate-btn,
  .profile-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .hero {
    min-height: 500px;
    padding: 4rem 0;
  }

  .hero.hero--split {
    min-height: auto;
    padding: 4rem 0 3rem;
  }

  .hero.hero--split .hero-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero.hero--split h1 {
    font-size: 2.1rem;
  }

  .hero.hero--split p {
    font-size: 0.95rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .hero-panel {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  }

  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-pattern {
    width: 150px;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .category-grid,
  .product-grid,
  .footer-content,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .back-to-top {
    bottom: 5.5rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  footer {
    padding-bottom: 4.5rem;
  }

  .mobile-footer-nav {
    z-index: 1001;
  }

  .mobile-footer-nav-inner {
    width: 100%;
    max-width: 520px;
    justify-content: space-between;
  }

  .mobile-footer-link {
    flex: 1;
  }
}

@media (min-width: 769px) {
  nav.mobile-footer-nav {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .grid-4,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3,
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================
   NEW COMPONENT STYLES
   ========================================== */

/* User Icon Button */
.user-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-dark);
  transition: all 0.2s;
  border: 1px solid var(--border-color);
}

.user-icon-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Product Card Styles */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.badge-new {
  background: var(--primary-color);
}

.badge-hot {
  background: var(--danger-color);
}

.product-info {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-rating {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.rating-text {
  color: var(--text-light);
  margin-left: 5px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-old {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.price-discount {
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-order-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 20px;
  background: #25D366;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-order-now:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Software Card Styles */
.software-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.software-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.software-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.software-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.software-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.software-card:hover .software-img {
  transform: scale(1.05);
}

.software-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.software-info h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-dark);
}

.software-info p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
}

.software-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color);
}

.btn-software-view {
  display: block;
  width: 100%;
  padding: 14px 20px;
  background: var(--primary-color);
  color: white;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-software-view:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Blog Card Styles */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.blog-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card-link:focus {
  box-shadow: 0 0 0 3px var(--primary-color, #16a34a);
  z-index: 2;
}
.blog-card-link:active {
  transform: scale(0.98);
}
}

.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.16);
  border-color: var(--primary-color, #16a34a);
}

.blog-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-read-more:hover {
  color: var(--primary-hover);
}

/* Blog Page Styles */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  color: #757575;
}

.page-header h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.blog-listing {
  padding: 4rem 0;
}

.blog-search {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.blog-search input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
}

.blog-search button {
  padding: 12px 30px;
  white-space: nowrap;
}

.blog-grid-full {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.blog-post-full {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.blog-post-full .blog-img-wrapper {
  width: 100%;
  height: 400px;
}

.blog-content-full {
  padding: 2rem;
}

.blog-content-full h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  text-align: left;
}

.blog-content-full p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Blog Card Grid (4 columns) */
.blog-grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
}

.blog-card-item {
  background: var(--bg-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.blog-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.blog-card-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-date {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8rem;
}

.blog-card-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.blog-read-more:hover {
  color: var(--primary-hover);
  transform: translateX(5px);
}

@media (max-width: 1200px) {
  .blog-grid-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .blog-grid-cards {
    grid-template-columns: 1fr;
  }
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 3rem;
}

.pagination-btn {
  padding: 12px 18px;
  border: 2px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1rem;
  min-width: 50px;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(22, 163, 74, 0.2);
}

.pagination-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--bg-light);
  color: var(--text-light);
}

/* Notice Page Styles */
.notice-listing {
  padding: 4rem 0;
}

.notice-grid {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.notice-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.notice-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.notice-icon {
  font-size: 3rem;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-lighter);
  border-radius: 12px;
}

.notice-content {
  flex: 1;
}

.notice-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.notice-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
}

.notice-date {
  color: var(--text-light);
}

.notice-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.notice-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.empty-icon {
  margin: 0 auto 2rem;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-empty h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.notice-empty p {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Active Nav Link */
nav a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive Updates */
@media (max-width: 768px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .software-grid {
    grid-template-columns: 1fr;
  }

  .software-img-wrapper {
    height: 200px;
  }

  .product-img-wrapper {
    height: 220px;
  }

  .blog-img-wrapper {
    height: 180px;
  }

  .blog-post-full .blog-img-wrapper {
    height: 250px;
  }

  .notice-item {
    flex-direction: column;
    text-align: center;
  }

  .notice-icon {
    margin: 0 auto;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .blog-search {
    flex-direction: column;
  }

  .blog-search button {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Homepage Section Header Styles - Force Horizontal Layout */
section .container .section-header,
.container .section-header,
.section-header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 2rem !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  gap: 1rem !important;
}

section .container .section-header h2,
section .container .section-header span,
.container .section-header h2,
.container .section-header span,
.section-header h2,
.section-header span {
  margin: 0 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  flex: 0 1 auto !important;
  display: inline-block !important;
  width: auto !important;
  color: var(--text-dark) !important;
  line-height: 1.3 !important;
}

/* Service Detail Pages */
.service-detail-page {
  background: #ffffff;
}

.service-detail-hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: radial-gradient(1200px 500px at 15% 15%, rgba(22, 163, 74, 0.12), transparent 60%),
              radial-gradient(900px 450px at 85% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
              #fdf4e7;
  overflow: hidden;
}

.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.service-detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}

.service-hero-copy h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #f97316;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.2rem;
}

.service-hero-sub {
  color: #475569;
  font-size: 1rem;
  max-width: 560px;
}

.service-hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.service-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-hero-btn.primary {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
}

.service-hero-btn.primary:hover {
  transform: translateY(-2px);
}

.service-hero-btn.ghost {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.15);
}

.service-hero-btn.ghost:hover {
  transform: translateY(-2px);
}

.service-hero-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

.service-hero-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 1rem;
}

.service-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.service-hero-list li {
  background: #f8fafc;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  color: #0f172a;
  font-weight: 600;
}

.service-detail-section {
  padding: 4rem 0 3.5rem;
  background: #ffffff;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.9fr);
  gap: 2rem;
}

.service-detail-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  margin-bottom: 1.5rem;
}

.service-detail-card h2,
.service-detail-card h3 {
  margin-top: 0;
  text-align: left;
  margin-bottom: 0.9rem;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.service-detail-list li {
  padding: 0.6rem 0.9rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  color: #475569;
}

.service-step-list {
  display: grid;
  gap: 1rem;
}

.service-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.service-step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.12);
  color: #f97316;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-detail-cta {
  padding: 3.5rem 0 4rem;
  background: #0f172a;
  color: #ffffff;
  text-align: center;
}

.service-detail-cta h2 {
  color: #ffffff;
  text-align: center;
}

.service-detail-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 640px;
  margin: 0.5rem auto 1.5rem;
}

.service-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-detail-cta .service-hero-btn.ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.service-detail-cta .service-hero-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .service-detail-hero-inner {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .service-detail-hero {
    padding: 4rem 0 3rem;
  }

  .service-hero-copy h1 {
    font-size: 2rem;
  }
}

section .container .section-header p,
.container .section-header p,
.section-header p {
  display: none !important;
}

section .container .btn-view-all,
.container .btn-view-all,
.btn-view-all {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 0.3rem 1rem !important;
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  transition: all 0.3s !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.btn-view-all:hover {
  background: var(--primary-color) !important;
  color: white !important;
}

/* Compact Card Styles for Homepage */
.product-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-img-wrapper {
  height: 200px;
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-desc {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.product-rating {
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-price {
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.3rem;
}

.price-old {
  font-size: 0.95rem;
}

.price-discount {
  padding: 3px 8px;
  font-size: 0.75rem;
}

.btn-order-now {
  padding: 0.35rem 0.9rem;
  font-size: 0.875rem;
  margin-top: auto;
}

/* Blog Grid */
.blog-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}



.blog-content p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.blog-meta {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
}

.blog-read-more {
  font-size: 0.85rem;
  margin-top: auto;
}

/* ==========================================
   RESPONSIVE DESIGN - HOMEPAGE SECTIONS
   ========================================== */

/* Desktop Large (>1200px) - Default 4 columns */
@media (min-width: 1201px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Desktop Medium (1025px - 1200px) - 4 columns with smaller gap */
@media (min-width: 1025px) and (max-width: 1200px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

/* Tablet Landscape (769px - 1024px) - 3 columns */
@media (min-width: 769px) and (max-width: 1024px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  
  .section-header h2,
  .section-header span {
    font-size: 1.35rem !important;
  }
  
  .btn-view-all {
    font-size: 0.8rem !important;
    padding: 0.45rem 0.9rem !important;
  }
}

/* Tablet Portrait (577px - 768px) - 2 columns */
@media (min-width: 577px) and (max-width: 768px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .section-header h2,
  .section-header span {
    font-size: 1.25rem !important;
  }
  
  .btn-view-all {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
    margin-left: 0 !important;
  }
  
  .product-img-wrapper,
  .blog-img-wrapper {
    height: 180px;
  }
}

/* Mobile Large (481px - 576px) - 2 columns */
@media (min-width: 481px) and (max-width: 576px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1.25rem !important;
  }
  
  .section-header h2,
  .section-header span {
    font-size: 1.15rem !important;
  }
  
  .btn-view-all {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
    margin-left: 0 !important;
  }
  
  .product-img-wrapper,
  .blog-img-wrapper {
    height: 160px;
  }
  
  .product-title,
  .blog-content h3 {
    font-size: 0.95rem;
  }
  
  .product-desc,
  .blog-content p {
    font-size: 0.8rem;
  }
}

/* Mobile Medium & Small (<480px) - 1 column */
@media (max-width: 480px) {
  .product-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .section-header h2,
  .section-header span {
    font-size: 1.1rem !important;
  }
  
  .btn-view-all {
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
    margin-left: 0 !important;
  }
  
  .product-img-wrapper,
  .blog-img-wrapper {
    height: 200px;
  }
  
  .product-title,
  .blog-content h3 {
    font-size: 1rem;
  }
  
  .product-desc,
  .blog-content p {
    font-size: 0.85rem;
  }
  
  .btn-order-now {
    width: 100%;
    text-align: center;
  }
}
/* ==========================================
   BLOG DETAIL PAGE STYLES
   ========================================== */

/* Breadcrumb Section */
.blog-breadcrumb {
  background: #f8f9fa;
  padding: 1rem 0;
  border-bottom: 1px solid #e9ecef;
}

.breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.breadcrumb-links a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb-links .separator {
  color: #6c757d;
}

.breadcrumb-links .current {
  color: #495057;
  font-weight: 500;
}

/* Blog Detail Page Layout */
.blog-detail-page {
  padding: 3rem 0;
  background: #fff;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2.5rem;
  align-items: start;
}

/* Main Content */
.blog-main-content {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.blog-detail-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
  margin-bottom: 2rem;
  border-radius: 12px;
}

.blog-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.blog-detail-image:hover img {
  transform: scale(1.05);
}

/* Blog Header */
.blog-detail-header {
  margin-bottom: 2rem;
}

.blog-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.blog-detail-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 2px solid #f1f3f5;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #6c757d;
}

.meta-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.category-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-weight: 600;
}

.category-badge svg {
  color: white;
}

/* Blog Excerpt */
.blog-detail-excerpt {
  background: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #495057;
  border-radius: 6px;
  font-style: italic;
}

/* Blog Content */
.blog-detail-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2.5rem;
}

.blog-detail-content h1,
.blog-detail-content h2,
.blog-detail-content h3,
.blog-detail-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.blog-detail-content h1 { font-size: 1.875rem; }
.blog-detail-content h2 { font-size: 1.625rem; }
.blog-detail-content h3 { font-size: 1.375rem; }
.blog-detail-content h4 { font-size: 1.125rem; }

.blog-detail-content p {
  margin-bottom: 1.25rem;
}

.blog-detail-content ul,
.blog-detail-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.blog-detail-content li {
  margin-bottom: 0.5rem;
}

.blog-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.blog-detail-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6c757d;
}

.blog-detail-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.blog-detail-content a:hover {
  color: var(--primary-dark);
}

.blog-detail-content code {
  background: #f1f3f5;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.blog-detail-content pre {
  background: #282c34;
  color: #abb2bf;
  padding: 1.25rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-detail-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Tags Section */
.blog-detail-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.tags-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

.tag-item {
  background: white;
  color: var(--primary-color);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.875rem;
  border: 1px solid var(--primary-color);
  transition: all 0.3s;
  cursor: pointer;
}

.tag-item:hover {
  background: var(--primary-color);
  color: white;
}

/* Share Section */
.blog-detail-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.share-label {
  font-weight: 600;
  color: #495057;
  font-size: 0.95rem;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  text-decoration: none;
}

.share-btn.facebook {
  background: #1877f2;
  color: white;
}

.share-btn.facebook:hover {
  background: #0d65d9;
  transform: translateY(-2px);
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.twitter:hover {
  background: #0c8dd7;
  transform: translateY(-2px);
}

.share-btn.linkedin {
  background: #0077b5;
  color: white;
}

.share-btn.linkedin:hover {
  background: #005e8d;
  transform: translateY(-2px);
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #1eb855;
  transform: translateY(-2px);
}

/* Sidebar */
.blog-detail-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-post {
  display: flex;
  gap: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid transparent;
}

.related-post:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.related-post-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.related-post-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.related-post-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-post-date {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Back to Blog Button */
.btn-back-blog {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-back-blog:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* ==========================================
   RESPONSIVE - BLOG DETAIL PAGE
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .blog-detail-layout {
    grid-template-columns: 1fr 280px;
    gap: 2rem;
  }
  
  .blog-detail-image {
    height: 380px;
  }
  
  .blog-detail-title {
    font-size: 1.75rem;
  }
  
  .sidebar-card {
    padding: 1.25rem;
  }
}

@media (max-width: 768px) {
  .blog-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blog-detail-page {
    padding: 2rem 0;
  }
  
  .blog-detail-image {
    height: 300px;
    margin-bottom: 1.5rem;
  }
  
  .blog-detail-title {
    font-size: 1.5rem;
  }
  
  .blog-detail-meta {
    gap: 0.75rem;
  }
  
  .meta-item {
    font-size: 0.8rem;
  }
  
  .blog-detail-excerpt {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  .blog-detail-content {
    font-size: 0.95rem;
  }
  
  .blog-detail-sidebar {
    position: static;
  }
  
  .related-post {
    flex-direction: column;
  }
  
  .related-post-thumb {
    width: 100%;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .blog-breadcrumb {
    padding: 0.75rem 0;
  }
  
  .breadcrumb-links {
    font-size: 0.8rem;
  }
  
  .blog-detail-page {
    padding: 1.5rem 0;
  }
  
  .blog-detail-image {
    height: 220px;
    margin-bottom: 1.25rem;
  }
  
  .blog-detail-title {
    font-size: 1.35rem;
  }
  
  .blog-detail-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .blog-detail-excerpt {
    padding: 1rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .blog-detail-content h1 { font-size: 1.5rem; }
  .blog-detail-content h2 { font-size: 1.35rem; }
  .blog-detail-content h3 { font-size: 1.2rem; }
  .blog-detail-content h4 { font-size: 1.05rem; }
  
  .blog-detail-tags,
  .blog-detail-share {
    padding: 1rem;
  }
  
  .share-buttons {
    gap: 0.5rem;
  }
  
  .share-btn {
    width: 36px;
    height: 36px;
  }
  
  .sidebar-card {
    padding: 1rem;
  }
  
  .related-post-thumb {
    height: 180px;
  }
}

/* ===== AUTH PAGES (Login, Register, Forgot Password) ===== */
.auth-section {
  min-height: calc(100vh - 320px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
}

.auth-container {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.auth-card {
  background: var(--bg-white);
  border-radius: 0.75rem;
  padding: 2rem 2.25rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-header h1 {
  font-size: 1.35rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.auth-header p {
  color: var(--text-light);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.5;
}

.auth-card .form-group {
  margin-bottom: 0.9rem;
}

.auth-card input[type="text"],
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="tel"] {
  font-size: 0.85rem;
  padding: 0.6rem 0.875rem;
}

.auth-card .error-message {
  color: var(--danger-color);
  font-size: 0.78rem;
  margin-top: 0.3rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-light);
  cursor: pointer;
}

.remember-me label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.remember-me input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 3px !important;
  background: var(--bg-white) !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
}

.auth-card .forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.82rem;
}

.auth-card .forgot-password:hover {
  text-decoration: underline;
}

.btn-auth {
  width: 100%;
  padding: 0.62rem 1rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn-auth:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(22, 163, 74, 0.25);
}

.auth-card .divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1rem 0;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.8rem;
}

.auth-card .divider::before,
.auth-card .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.auth-link {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
}

.auth-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-link a:hover {
  text-decoration: underline;
}

.auth-back-link {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.82rem;
}

.auth-back-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-back-link a:hover {
  text-decoration: underline;
}

.auth-status-message {
  background: #d1e7dd;
  color: #0f5132;
  padding: 0.6rem 0.875rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  border: 1px solid #badbcc;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem 1.25rem;
  }
}

/* FAQ and policy pages */
.faq-page {
  background: #f8fafc;
  min-height: 80vh;
}

.faq-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #16a34a 100%);
  padding: 2rem 0 1.8rem;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0, transparent 20px, rgba(255,255,255,.015) 20px, rgba(255,255,255,.015) 21px);
  pointer-events: none;
}

.faq-hero .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.faq-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(22,163,74,.2);
  border: 1px solid rgba(74,222,128,.4);
  color: #86efac;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.faq-hero-badge svg {
  width: 13px;
  height: 13px;
}

.faq-hero h1 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.faq-hero-sub {
  font-size: 0.83rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

.faq-hero-search-wrap {
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  border-radius: 14px;
  padding: 1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 220px;
}

.faq-hero-search-wrap svg {
  color: rgba(255,255,255,.4);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.faq-hero-search-wrap span {
  font-size: 0.8rem;
  color: rgba(255,255,255,.45);
}

.policy-hero-box {
  align-items: flex-start;
}

.policy-hero-box .policy-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,.7);
}

/* Layout */
.faq-layout {
  padding: 1.6rem 0 3rem;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
}

/* Category Tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

.faq-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.9rem;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
  border: 1.5px solid var(--border-color);
  color: var(--text-light);
  background: #fff;
  cursor: pointer;
  transition: all 0.18s;
}

.faq-tab:hover {
  border-color: #16a34a;
  color: #16a34a;
}

.faq-tab.active {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}

.faq-tab svg {
  width: 13px;
  height: 13px;
}

/* Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.faq-item {
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: #16a34a;
  box-shadow: 0 2px 12px rgba(22,163,74,.1);
}

.faq-item-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.faq-item-btn:hover {
  background: #f8fafc;
}

.faq-item.open .faq-item-btn {
  background: #f0fdf4;
}

.faq-item-q {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  flex: 1;
}

.faq-item.open .faq-item-q {
  color: #16a34a;
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: transform 0.25s;
  border-radius: 50%;
  background: #f1f5f9;
  padding: 2px;
  box-sizing: content-box;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: #dcfce7;
  color: #16a34a;
}

.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-item-body {
  max-height: 600px;
}

.faq-item-ans {
  padding: 0.1rem 1.2rem 1.1rem;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.75;
  border-top: 1px solid #f0fdf4;
}

/* Sidebar */
.faq-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-sidebar-card {
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem;
}

.faq-sidebar-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.faq-sidebar-title svg {
  width: 15px;
  height: 15px;
  color: #16a34a;
}

.faq-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.faq-ql {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.78rem;
  padding: 0.4rem 0.5rem;
  border-radius: 7px;
  transition: all 0.15s;
}

.faq-ql:hover {
  background: #f0fdf4;
  color: #16a34a;
}

.faq-ql svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #16a34a;
}

.faq-contact-cta {
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  color: #fff;
  border: 2px solid #16a34a;
}

.faq-contact-cta h4 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
}

.faq-contact-cta p {
  font-size: 0.73rem;
  opacity: 0.8;
  margin: 0 0 0.9rem;
  line-height: 1.5;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  color: #16a34a;
  padding: 0.5rem 1.1rem;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.faq-contact-btn:hover {
  background: #f0fdf4;
  color: #16a34a;
}

.faq-contact-btn svg {
  width: 13px;
  height: 13px;
}

/* Policy content */
.policy-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.policy-card {
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}

.policy-card h2 {
  text-align: left;
  font-size: 1rem;
  margin: 0 0 0.6rem;
}

.policy-card p,
.policy-card li {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

.policy-card ul {
  padding-left: 1.1rem;
  margin: 0;
}

@media (max-width: 991px) {
  .faq-inner {
    grid-template-columns: 1fr;
  }
  .faq-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .faq-hero .container {
    flex-direction: column;
  }
  .faq-hero-search-wrap {
    width: 100%;
  }
  .faq-sidebar {
    grid-template-columns: 1fr;
  }
}

/* About page */
.about-page .about-page-wrap {
  background: #f8fafc;
}

.about-page .about-hero {
  background: radial-gradient(1200px 500px at 15% 15%, rgba(22, 163, 74, 0.12), transparent 60%),
              radial-gradient(900px 450px at 85% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
              #fdf4e7;
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-page .about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.35;
  pointer-events: none;
}

.about-page .about-hero .container {
  position: relative;
}

.about-page .about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #f97316;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.about-page .about-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.about-page .about-hero h1 span {
  color: #f97316;
}

.about-page .about-hero-sub {
  font-size: 0.95rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

.about-page .about-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-page .hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(22, 163, 74, 0.25);
  transition: transform 0.17s, box-shadow 0.17s;
}

.about-page .hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(22, 163, 74, 0.35);
  color: #fff;
}

.about-page .hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  color: #0f172a;
  text-decoration: none;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.17s, border-color 0.17s, color 0.17s;
}

.about-page .hero-btn-outline:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.about-page .stats-strip {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.about-page .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-page .stat-item {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid #f1f5f9;
}

.about-page .stat-item:last-child {
  border-right: none;
}

.about-page .stat-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  color: #16a34a;
}

.about-page .stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: #16a34a;
  line-height: 1;
  display: block;
}

.about-page .stat-label {
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 0.25rem;
  display: block;
  font-weight: 500;
}

.about-page .about-section {
  padding: 3.5rem 0;
}

.about-page .about-section-alt {
  padding: 3.5rem 0;
  background: #fff;
}

.about-page .about-center {
  text-align: center;
  margin-bottom: 2rem;
}

.about-page .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.28rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.about-page .section-title {
  font-size: clamp(1.2rem, 2.8vw, 1.7rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.about-page .section-sub {
  font-size: 0.88rem;
  color: #64748b;
  max-width: 560px;
  line-height: 1.7;
  margin: 0 0 2rem;
}

.about-page .section-sub-center {
  margin: 0 auto;
}

.about-page .section-sub-tight {
  margin-bottom: 1.5rem;
}

.about-page .mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-page .mv-card {
  padding: 1.8rem;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.about-page .mv-card.mission {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
}

.about-page .mv-card.vision {
  background: linear-gradient(135deg, #052e16, #14532d);
  color: #fff;
}

.about-page .mv-card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.about-page .mv-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.6rem;
}

.about-page .mv-card p {
  font-size: 0.84rem;
  opacity: 0.82;
  line-height: 1.75;
  margin: 0;
}

.about-page .mv-card::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.about-page .services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-page .service-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  border: 1px solid #f1f5f9;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}

.about-page .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-color: #bbf7d0;
}

.about-page .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, #16a34a, #0891b2);
  opacity: 0;
  transition: opacity 0.22s;
}

.about-page .service-card:hover::before {
  opacity: 1;
}

.about-page .service-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}

.about-page .service-card h4 {
  font-size: 0.93rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.4rem;
}

.about-page .service-card p {
  font-size: 0.79rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.about-page .programs-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.about-page .programs-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.about-page .programs-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.about-page .programs-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.7) 0%, transparent 60%);
}

.about-page .programs-img-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  color: #fff;
}

.about-page .programs-img-caption h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
}

.about-page .programs-img-caption p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 0;
}

.about-page .program-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.about-page .program-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  transition: border-color 0.2s, background 0.2s;
}

.about-page .program-item:hover {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.about-page .program-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #16a34a, #0891b2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-page .program-item-body h5 {
  font-size: 0.87rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.15rem;
}

.about-page .program-item-body p {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.about-page .why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-page .why-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.about-page .why-item:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  border-color: #d1fae5;
}

.about-page .why-item-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.about-page .why-item h5 {
  font-size: 0.87rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.2rem;
}

.about-page .why-item p {
  font-size: 0.77rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

.about-page .reg-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #16a34a 100%);
  border-radius: 18px;
  padding: 2.5rem 2rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.about-page .reg-card::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

.about-page .reg-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(22,163,74,.25);
  border: 1px solid rgba(22,163,74,.4);
  color: #86efac;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.about-page .reg-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin: 0 0 0.4rem;
  color: white;
}

.about-page .reg-card p {
  font-size: 0.83rem;
  opacity: 0.8;
  margin: 0;
  line-height: 1.65;
}

.about-page .reg-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.about-page .reg-meta-label {
  font-size: 0.65rem;
  opacity: 0.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

.about-page .reg-meta-value {
  font-size: 0.92rem;
  font-weight: 800;
  color: #86efac;
  display: block;
  margin-top: 0.05rem;
}

.about-page .about-cta {
  background: linear-gradient(135deg, #052e16, #14532d);
  padding: 3rem 0;
  text-align: center;
}

.about-page .about-cta h2 {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 0.5rem;
  text-align: center;
}

.about-page .about-cta p {
  font-size: 0.87rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.about-page .about-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-page .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.17s, box-shadow 0.17s;
}

.about-page .cta-btn-white {
  background: #fff;
  color: #15803d;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}

.about-page .cta-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.22);
  color: #15803d;
}

.about-page .cta-btn-ghost {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
}

.about-page .cta-btn-ghost:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.about-page .icon-green {
  background: #f0fdf4;
  color: #16a34a;
}

.about-page .icon-blue {
  background: #eff6ff;
  color: #2563eb;
}

.about-page .icon-purple {
  background: #fdf4ff;
  color: #9333ea;
}

.about-page .icon-orange {
  background: #fff7ed;
  color: #ea580c;
}

.about-page .icon-teal {
  background: #f0fdfa;
  color: #0891b2;
}

.about-page .icon-red {
  background: #fef2f2;
  color: #dc2626;
}

@media (max-width: 991px) {
  .about-page .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-page .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-page .programs-layout {
    grid-template-columns: 1fr;
  }
  .about-page .programs-img-wrap img {
    height: 240px;
  }
  .about-page .reg-card {
    grid-template-columns: 1fr;
  }
  .about-page .reg-card-meta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .about-page .about-hero {
    padding: 2.5rem 0 2rem;
  }
  .about-page .mv-grid {
    grid-template-columns: 1fr;
  }
  .about-page .services-grid {
    grid-template-columns: 1fr;
  }
  .about-page .why-grid {
    grid-template-columns: 1fr;
  }
  .about-page .about-section,
  .about-page .about-section-alt {
    padding: 2.5rem 0;
  }
}
