/* Premium Liquid Light UI - style_unique.css */
:root {
  --primary-color: #064E3B; /* Deep Green */
  --secondary-color: #047857; /* Lighter Green */
  --accent-color: #D97706; /* Amber */
  --dark-color: #022C22; /* Slate dark equivalent */
  --light-bg: #F8FAFC;
  --text-main: #334155;
  --gradient-bg: linear-gradient(120deg, #F8FAFC 0%, #F0FDF4 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(240,253,244,0.95));
  --shadow-sm: 0 4px 6px -1px rgba(6, 78, 59, 0.1), 0 2px 4px -1px rgba(6, 78, 59, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(6, 78, 59, 0.15), 0 4px 6px -2px rgba(6, 78, 59, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(6, 78, 59, 0.2);
}

body {
  background: #fbfdff url('https://www.transparenttextures.com/patterns/clean-textile.png');
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);
  margin: 0; padding: 0;
}

header.main-header, .header-top {
  background: #ffffff !important;
  color: var(--dark-color) !important;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--primary-color);
}
.village-name {
  color: #1a1a1a !important;
}
.lgd-code { color: #555 !important; }

.nav-links a, .top-links a, .header-contact a {
  color: #444 !important;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.nav-links a:hover, .nav-item.active {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}
.nav-links a::after {
  content: ''; position: absolute; width: 0; height: 3px;
  bottom: -6px; left: 0; background-color: var(--primary-color);
  transition: width 0.3s ease; border-radius: 2px;
}
.nav-links a:hover::after, .nav-item.active::after { width: 100%; }

/* Hero Section */
.hero-section {
  background: var(--gradient-bg) !important;
  color: #000 !important;
  padding: 85px 30px;
  border-radius: 0 0 40px 40px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-wrap: wrap; gap: 50px;
  align-items: center; justify-content: center;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--primary-color);
}

.hero-section::before {
  content: ''; position: absolute; top:0; left:0; width: 100%; height: 100%;
  background: url('https://www.transparenttextures.com/patterns/axiom-pattern.png') repeat;
  opacity: 0.05; pointer-events: none;
}

.hero-content {
  flex: 1 1 380px;
  max-width: 650px;
  z-index: 2;
}

.hero-title {
  font-size: 3.2em; font-weight: 900; margin-bottom: 15px;
  color: #050505 !important; text-shadow: none !important;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-size: 1.3em; color: #222 !important; text-shadow: none !important;
  font-weight: 600; margin-bottom: 30px;
  border-left: 5px solid var(--primary-color);
  padding-left: 15px;
}

.hero-info-badges {
  display: flex; flex-direction: column; gap: 12px; margin-bottom: 35px;
}
.hero-info-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.8);
  padding: 12px 18px; border-radius: 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0,0,0,0.05);
}
.hero-info-icon { font-size: 1.4em; }
.hero-info-text, .hero-info-item strong {
  color: #000 !important; font-weight: 700 !important; font-size: 1.05em;
  text-shadow: none !important;
}

/* Enhancing standard sections */
h2.page-title, .section-header-compact h2, .section-header h2 {
  font-size: 2.2em; font-weight: 800; color: var(--dark-color);
  text-align: center; margin-bottom: 40px;
}

/* Cards */
.leader-card, .member-card, .feature-card, .alert-card, .scheme-card {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
  border: 1px solid rgba(0,0,0,0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.leader-card:hover, .member-card:hover, .feature-card:hover, .scheme-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.leader-card img, .member-card img {
  border-radius: 50% !important;
  width: 150px !important; height: 150px !important;
  object-fit: cover !important;
  margin: 30px auto 15px auto;
  border: 5px solid white;
  padding: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  display: block !important; opacity: 1 !important;
  transition: transform 0.5s ease;
}
.leader-card:hover img, .member-card:hover img {
  transform: scale(1.08) rotate(2deg);
}

.member-card h3 {
  color: var(--dark-color); font-size: 1.25em; font-weight: 700;
  margin-top: 10px;
}
.member-card p {
  color: var(--secondary-color); font-weight: 600;
  text-transform: uppercase; font-size: 0.9em; letter-spacing: 1px;
}

/* Inline Pop Table */
.chulwad-pop-table-wrap {
  background: #fff;
  border-radius: 25px; padding: 40px 30px;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--primary-color);
  margin-top: 20px;
}
.chulwad-pop-header {
  display: flex; justify-content: space-between;
  margin-bottom: 30px; padding: 15px 25px;
  background: var(--light-bg); border-radius: 15px; font-weight: bold;
  color: var(--primary-color);
}
.chulwad-pop-inline-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  align-items: stretch !important;
}
.chulwad-stat-cell {
  background: #fff; border: 1px solid #f1f5f9; border-radius: 20px;
  padding: 25px 15px; text-align: center; flex: 1 !important;
  box-shadow: var(--shadow-sm); transition: 0.3s;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.chulwad-stat-cell:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }

.chulwad-stat-divider {
  width: 2px; background: #eee; margin: 10px 0;
}

/* Buttons */
.btn-primary, .btn-secondary {
  border: none !important; border-radius: 50px;
  padding: 15px 35px; font-weight: 700; font-size: 1.05em;
  text-transform: uppercase; letter-spacing: 1px;
  transition: all 0.3s ease; box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.btn-primary {
  background: var(--primary-color) !important; color: #fff !important;
}
.btn-primary:hover {
  background: #e68a00 !important; transform: translateY(-4px); box-shadow: 0 12px 20px rgba(247, 160, 26, 0.3);
}

.btn-secondary {
  background: var(--dark-color) !important; color: #fff !important;
}
.btn-secondary:hover {
  background: #000 !important; transform: translateY(-4px); box-shadow: 0 12px 20px rgba(0,0,0,0.2);
}

/* Grids */
.alerts-grid, .features-section, .home-members-section, .members-page-wrapper {
  max-width: 1250px; margin: 0 auto;
}
.members-grid-home, .members-grid {
  display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  gap: 30px !important; padding: 20px;
}

/* Footer */
footer {
  background: var(--dark-color) !important;
  color: #d1d5db !important;
  padding: 70px 20px 30px; margin-top: 80px;
  border-top: 8px solid var(--primary-color);
}
footer h3 {
  color: #fff; border-bottom: 2px solid var(--primary-color);
  padding-bottom: 12px; margin-bottom: 25px; font-size: 1.4em;
}

@media (max-width: 768px) {
  .hero-section { padding: 60px 20px; text-align: center; }
  .hero-title { font-size: 2.2em; }
  .hero-info-badges { align-items: stretch; }
  .chulwad-pop-inline-row { 
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .chulwad-stat-cell {
    flex: 0 0 calc(50% - 15px) !important;
    margin-bottom: 15px;
  }
  .chulwad-stat-divider { display: none; }
}
