/*
Theme Name: Gau Sampada Sarkshan Trust
Theme URI: https://gausampadasarakshantrust.com
Author: Vishwajeet Guru
Author URI: http://vishwajeetguru.xyz/
Description: A custom theme for Gau Sampada Sarkshan Trust, Khakata — a non-profit dedicated to cow shelter, rescue, and veterinary care. Features multilingual support (EN/HI/MR), responsive layout, and a nature-inspired design.
Version: 2.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: gsst
*/

/* Poppins - Latin */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/Poppins/Poppins-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Poppins/Poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Poppins/Poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Poppins/Poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Poppins/Poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Poppins/Poppins-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Poppins - Devanagari */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/Poppins/Poppins-300-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Poppins/Poppins-400-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Poppins/Poppins-500-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Poppins/Poppins-600-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Poppins/Poppins-700-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Poppins/Poppins-800-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
/* Mukta - Latin */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/Mukta/Mukta-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Mukta/Mukta-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Mukta/Mukta-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Mukta/Mukta-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Mukta/Mukta-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Mukta/Mukta-800-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Mukta - Devanagari */
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/Mukta/Mukta-300-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/Mukta/Mukta-400-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/Mukta/Mukta-500-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/Mukta/Mukta-600-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/Mukta/Mukta-700-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
@font-face { font-family: 'Mukta'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/Mukta/Mukta-800-devanagari.woff2') format('woff2'); unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09; }
/* Inter - Latin (variable font, one file covers 300-800) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('fonts/Inter/Inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font-base: 'Poppins', sans-serif;
  --font-alt: 'Mukta', sans-serif;
  --font-header: 'Inter', sans-serif;

  --primary: #5A8F2C;
  --primary-hover: #4B7725;
  --primary-active: #3F6B1E;
  --secondary: #6B4423;
  --secondary-hover: #5A381D;
  --accent: #E5A329;
  --accent-light: #F4C96B;
  --heading: #1F2937;
  --text: #4B5563;
  --text-light: #6B7280;
  --text-white: #FFFFFF;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F5ED;
  --bg-card: #FFFFFF;
  --bg-footer: #4A2E18;
  --border: #E5E7EB;
  --border-hover: #5A8F2C;
  --success: #22C55E;
  --warning: #F59E0B;
  --error: #DC2626;
  --info: #0EA5E9;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.05);
  --shadow-md: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --gradient-primary: linear-gradient(135deg, #5A8F2C, #78B042);
  --gradient-primary-hover: linear-gradient(135deg, #4B7725, #5A8F2C);
  --gradient-hero: linear-gradient(135deg, #F8F5ED 0%, #FFFFFF 50%, #F3F8EC 100%);
  --gradient-donation: linear-gradient(135deg, #5A8F2C, #3F6B1E);
  --primary-50: #f3f8ec;
  --primary-100: #dcedc8;
  --primary-200: #c5e1a5;
  --primary-300: #aed581;
  --primary-400: #9ccc65;
  --primary-500: var(--primary);
  --primary-600: var(--primary-hover);
  --primary-700: var(--primary-active);
  --primary-800: #2b5413;
  --primary-900: #1b380a;
  --nature-50: var(--bg-secondary);
  --nature-100: #eae4d5;
  --nature-200: #d9d0c2;
  --nature-300: #c8bdaf;
  --nature-400: #b7a99d;
  --nature-500: var(--secondary);
  --nature-600: var(--secondary-hover);
  --nature-700: var(--bg-footer);
  --nature-800: #3d2814;
  --gray-50: #fcfbf9;
  --gray-100: #f8f5ed;
  --gray-200: #e8e4d9;
  --gray-300: #d5cfc1;
  --gray-400: #b0a794;
  --gray-500: #8b806d;
  --gray-600: #685d4c;
  --gray-700: #493f31;
  --gray-800: #2c251d;
  --gray-900: #1d1813;
  --shadow-soft: var(--shadow-sm);
  --shadow-medium: var(--shadow-md);
  --shadow-large: var(--shadow-lg);
  --border-radius-lg: var(--radius-sm);
  --border-radius-xl: var(--radius-md);
  --border-radius-2xl: var(--radius-lg);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background-color: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
}

body.lang-en { font-family: "Poppins", sans-serif; }
body.lang-mr, body.lang-hi { font-family: "Mukta", sans-serif; }

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

@media (max-width: 991.98px) {
  .container { padding: 0 2rem; }
}

.row { display: flex; flex-wrap: wrap; margin: 0 -1rem; }
.row.gy-4 > [class*="col-"] { padding-top: 1.5rem; }
.row.gy-5 > [class*="col-"] { padding-top: 3rem; }
[class*="col-"] { padding: 0 1rem; flex: 0 0 auto; width: 100%; }
.col-lg-6 { width: 50%; }
.col-lg-5 { width: 41.6667%; }
.col-lg-7 { width: 58.3333%; }
.col-lg-4 { width: 33.3333%; }
.col-lg-3 { width: 25%; }
.col-md-6 { width: 50%; }
.col-md-3 { width: 25%; }
.col-md-12 { width: 100%; }
.col-sm-6 { width: 50%; }
.g-4 > [class*="col-"] { padding: 0 0.75rem; }

.text-start { text-align: left; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-muted { color: var(--text-light); }
.text-white-50 { color: rgba(255,255,255,0.65); }
.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.small { font-size: 0.875rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.d-flex { display: flex; }
.d-block { display: block; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.h-100 { height: 100%; }
.w-100 { width: 100%; }
.p-4 { padding: 1.5rem; }
.px-4 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-3 { padding-top: 1rem; padding-bottom: 1rem; }
.pe-lg-4 { padding-right: 1.5rem; }
.ps-lg-5 { padding-left: 3rem; }
.border-0 { border: none; }
.text-decoration-none { text-decoration: none; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 1rem; }
.d-grid { display: grid; }
.me-2 { margin-right: 0.5rem; }
.me-3 { margin-right: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.pe-3 { padding-right: 1rem; }
.pt-3 { padding-top: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.border-bottom { border-bottom: 1px solid var(--gray-100); }
.border-light { border-color: var(--gray-100) !important; }
.lead { font-size: 1.2rem; font-weight: 300; }
.img-fluid { max-width: 100%; height: auto; }
.rounded-4 { border-radius: 1rem; }

/* ===== HEADER ===== */
.landing-layout {
  overflow-x: hidden;
  background: var(--gray-50);
}

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.landing-navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.3s ease-in-out;
  padding: 0.8rem 0;
}

.landing-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.landing-navbar .container { display: flex; flex-wrap: wrap; align-items: center; }

.landing-navbar-brand {
  font-weight: 800;
  color: var(--gray-900) !important;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 52px);
  margin-right: 0.5rem;
  text-decoration: none;
  cursor: pointer;
}

.landing-navbar-logo { display: block; width: 200px; max-width: 100%; height: auto; object-fit: contain; }

.landing-navbar-toggler {
  flex-shrink: 0;
  margin-left: auto;
  border: 1px solid var(--gray-300);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: none;
}

.landing-navbar-toggler:hover { border-color: var(--primary); background: var(--primary-50); }

.landing-navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(90, 143, 44, 0.2); }

.landing-navbar .navbar-collapse { display: flex !important; flex-grow: 1; align-items: center; }

.landing-navbar .nav { display: flex; margin: auto; list-style: none; padding: 0; gap: 0.25rem; }

.landing-nav-link {
  color: var(--gray-600) !important;
  font-weight: 550;
  padding: 0.5rem 1.1rem !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  margin: 0 0.15rem;
  text-decoration: none;
  cursor: pointer;
}

.landing-nav-link:hover { color: var(--primary-600) !important; background-color: var(--primary-50); }

.landing-navbar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; width: auto; }

/* Icon sizing */
.icon-14 { font-size: 14px; }
.icon-16 { font-size: 16px; }
.icon-18 { font-size: 18px; }
.icon-20 { font-size: 20px; }
.icon-22 { font-size: 22px; }
.icon-24 { font-size: 24px; }
.icon-28 { font-size: 28px; }
.icon-32 { font-size: 32px; }

/* Logged-in header layout: logo left · nav center · actions right */
body.logged-in .landing-navbar .container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
body.logged-in .landing-navbar-brand {
  flex: 0 0 auto;
  max-width: none;
  margin-right: 0;
}
body.logged-in .gsst-dashboard-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}
body.logged-in .gsst-header-right {
  margin-left: auto;
  flex-shrink: 0;
}

body.logged-in .gsst-logout-btn {
  margin-left: 0.5rem;
}

body.logged-in .landing-footer {
  display: none;
}

body.logged-in .chat-widget {
  display: none;
}

.gsst-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.gsst-welcome-text {
  color: var(--gray-600);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.notification-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--gray-600);
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  transition: all 0.2s ease;
}

.notification-bell:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #dc2626;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.gsst-notif-wrapper {
  position: relative;
}

.gsst-notif-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
  z-index: 1050;
  display: none;
  overflow: hidden;
}

.gsst-notif-dropdown.open {
  display: block;
  animation: notifSlide 0.2s ease-out;
}

@keyframes notifSlide {
  0% { opacity: 0; transform: translateY(-10px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.gsst-notif-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
  filter: drop-shadow(0 -2px 4px rgba(0,0,0,0.1));
}

.gsst-notif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  font-weight: 700;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  font-size: 0.95rem;
}

.gsst-notif-clear {
  background: none;
  border: none;
  color: var(--primary-600);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.gsst-notif-clear:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

.gsst-notif-body {
  max-height: 320px;
  overflow-y: auto;
}

.gsst-notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: all 0.2s;
}

.gsst-notif-item:hover {
  background: var(--gray-50);
}

.gsst-notif-item:last-child {
  border-bottom: none;
}

.gsst-notif-item.unread {
  background: linear-gradient(90deg, var(--primary-50), rgba(90,143,44,0.03));
  border-left: 4px solid var(--primary-500);
}

.gsst-notif-item-content {
  flex: 1;
  min-width: 0;
}

.gsst-notif-item-title {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.gsst-notif-item-msg {
  color: var(--gray-600);
  font-size: 0.8rem;
  line-height: 1.4;
}

.gsst-notif-item-time {
  color: var(--gray-500);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.gsst-notif-empty {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--gray-500);
}

.gsst-notif-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.gsst-notif-empty-text {
  font-size: 0.9rem;
  font-weight: 500;
}

body.logged-in .landing-section > .container {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.gsst-dashboard-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.gsst-dashboard-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--gray-600);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.gsst-dashboard-nav-link:hover {
  color: var(--primary-600);
  background-color: var(--primary-50);
}

.gsst-dashboard-nav-link svg,
.gsst-dashboard-nav-link .dash-nav-icon-cow {
  flex-shrink: 0;
  line-height: 1;
}

.gsst-dashboard-nav-link .dash-nav-icon-cow {
  font-size: 16px;
}

/* Buttons */
.gsst-btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  border: none;
  border-radius: var(--border-radius-lg);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(90, 143, 44, 0.3);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}

.gsst-btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(90, 143, 44, 0.4);
}

.btn-outline-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 12px;
  font-size: 1.05rem;
  border: 2px solid var(--gray-300);
  color: var(--gray-700);
  background: white;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-50);
}

/* Language Selector */
.language-selector { position: relative; display: inline-block; }

.language-selector > button {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 0.95rem;
}

.language-selector > button:hover { background: var(--primary-50); border-color: var(--primary-300); color: var(--primary-600); }

.language-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 100%;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--gray-700);
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-size: 0.95rem;
  font-family: inherit;
}

.language-option:hover { background: var(--primary-50); color: var(--primary-700); }
.language-option.active { background: var(--primary-100); color: var(--primary-800); font-weight: 600; }

/* ===== HERO ===== */
.landing-hero {
  background: radial-gradient(circle at 80% 20%, var(--primary-50) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, var(--nature-50) 0%, transparent 40%),
              linear-gradient(135deg, #ffffff 0%, var(--gray-50) 100%);
  padding: 8rem 0 5rem;
  overflow: hidden;
  position: relative;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--nature-500), var(--primary-500));
}

.landing-hero-badge {
  background: var(--nature-100);
  color: var(--nature-700);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 10px rgba(132, 204, 22, 0.1);
  border: 1px solid rgba(132, 204, 22, 0.2);
}

.landing-hero-title {
  font-weight: 800;
  font-size: 3.25rem;
  line-height: 1.25;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.landing-hero-title span:last-child {
  background: linear-gradient(135deg, var(--nature-600), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-hero-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.landing-hero-img-card {
  background: white;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-large);
  border: 1px solid var(--gray-100);
  padding: 1rem;
  transform: rotate(2deg);
  transition: all 0.4s ease;
}

.landing-hero-img-card:hover { transform: rotate(0deg) scale(1.02); }

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 3rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== SECTIONS ===== */
.landing-section { padding: 6rem 0; position: relative; }
.landing-section.alt-bg { background-color: var(--gray-100); }

.landing-section-title-wrapper { margin-bottom: 4rem; }

.landing-section-title {
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--gray-900);
  position: relative;
  display: inline-block;
}

.landing-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--nature-500), var(--primary-500));
}

.landing-section-title.left-align::after { left: 0; transform: none; }

.landing-section-subtitle {
  color: var(--gray-500);
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: 500;
}

/* ===== ABOUT ===== */
.landing-about-feature { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.landing-about-feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nature-100);
  color: var(--nature-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gsst-card {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gsst-card:hover { box-shadow: var(--shadow-medium); transform: translateY(-2px); }

.card-body { padding: 1.5rem; }

.gsst-stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.gsst-stat-icon.primary { background: linear-gradient(135deg, var(--primary-500), var(--primary-600)); color: white; }
.gsst-stat-icon.success { background: linear-gradient(135deg, var(--nature-500), var(--nature-600)); color: white; }
.gsst-stat-icon.info { background: linear-gradient(135deg, var(--secondary), var(--secondary-hover)); color: white; }
.gsst-stat-icon.warning { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }

/* Stat Cards (React-style) */
.gsst-stat-card {
  background: white;
  border-radius: var(--border-radius-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.gsst-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--nature-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gsst-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large);
}
.gsst-stat-card:hover::before {
  opacity: 1;
}

/* ===== SERVICES ===== */
.landing-service-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-soft);
  height: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.landing-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(90, 143, 44, 0.2);
}

.landing-service-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.landing-service-icon.green { background: var(--nature-100); color: var(--nature-600); }
.landing-service-icon.blue { background: var(--primary-100); color: var(--primary-600); }
.landing-service-icon.amber { background: #fef3c7; color: #d97706; }
.landing-service-icon.purple { background: #f3e8ff; color: #9333ea; }

.landing-service-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.landing-service-desc {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ===== STATS ===== */
.landing-stats-bg {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.landing-stats-bg::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(132, 204, 22, 0.1);
  top: -100px;
  right: -50px;
}

.landing-stat-box { text-align: center; }

.landing-stat-val {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, var(--nature-100));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.landing-stat-lbl {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CONTACT ===== */
.landing-contact-info-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.landing-contact-item { display: flex; gap: 1rem; margin-bottom: 2rem; }

.landing-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gsst-form-label { font-weight: 600; margin-bottom: 0.5rem; color: var(--gray-700); font-size: 0.95rem; display: block; }

.gsst-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
  color: var(--gray-800);
}

.gsst-form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(90, 143, 44, 0.2);
}

.gsst-alert-success {
  background: #ecfdf5;
  color: #065f46;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.gsst-text-primary { color: var(--primary) !important; }

.gsst-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: var(--border-radius-lg);
  font-weight: 500;
  font-size: 0.8rem;
  background-color: var(--gray-200) !important;
  color: var(--gray-700) !important;
  border: none;
}
.gsst-badge.success {
  background-color: var(--primary-100) !important;
  color: var(--primary-800) !important;
}
.gsst-badge.warning {
  background-color: #fef3c7 !important;
  color: #92400e !important;
}
.gsst-badge.info {
  background-color: var(--nature-100) !important;
  color: var(--nature-800) !important;
}
.gsst-badge.danger {
  background-color: #fee2e2 !important;
  color: #991b1b !important;
}
.gsst-badge.secondary {
  background-color: var(--gray-200) !important;
  color: var(--gray-700) !important;
}
.gsst-badge.primary {
  background-color: var(--primary-100) !important;
  color: var(--primary-800) !important;
}

/* ===== FOOTER ===== */
.landing-footer {
  background: linear-gradient(135deg, var(--gray-900), #080f1e);
  color: rgba(255, 255, 255, 0.75);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-footer-logo-title {
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-footer-desc { font-size: 0.95rem; line-height: 1.7; }

.landing-footer-title {
  font-weight: 700;
  font-size: 1.15rem;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
}

.landing-footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--nature-500);
}

.landing-footer-links { list-style: none; padding: 0; margin: 0; }

.landing-footer-links li { margin-bottom: 0.8rem; }

.landing-footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
}

.landing-footer-links a:hover { color: var(--nature-500); transform: translateX(3px); }

.landing-footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.landing-footer-social-btn:hover { background: var(--primary-600); color: white; transform: translateY(-3px); }

.landing-footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

/* ===== CHAT WIDGET (matching React ChatWidget.js) ===== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.chat-widget-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(90, 143, 44, 0.35);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: chatFabPulse 2.5s ease-in-out infinite;
}

.chat-widget-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(90, 143, 44, 0.45);
}

.chat-widget-fab--active {
  animation: none;
  background: var(--gray-700);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@keyframes chatFabPulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(90, 143, 44, 0.35);
  }
  50% {
    box-shadow: 0 8px 32px rgba(90, 143, 44, 0.55), 0 0 0 8px rgba(90, 143, 44, 0.12);
  }
}

.chat-widget-popup {
  width: 300px;
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.chat-widget-popup--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-widget-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-50), var(--nature-50));
  border-bottom: 1px solid var(--gray-200);
}

.chat-widget-popup-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
}

.chat-widget-close {
  background: none;
  border: none;
  color: var(--gray-500);
  padding: 0.25rem;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.chat-widget-close:hover {
  background: var(--gray-200);
  color: var(--gray-800);
}

.chat-widget-popup-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-widget-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  color: white;
}

.chat-widget-option:hover {
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.chat-widget-option--whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.chat-widget-option--whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.chat-widget-option--call {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
  box-shadow: 0 4px 14px rgba(107, 68, 35, 0.3);
}

.chat-widget-option--call:hover {
  box-shadow: 0 6px 20px rgba(107, 68, 35, 0.4);
}

@media (max-width: 576px) {
  .chat-widget {
    bottom: 20px;
    right: 20px;
  }
  .chat-widget-fab {
    width: 54px;
    height: 54px;
  }
  .chat-widget-popup {
    width: calc(100vw - 40px);
    max-width: 300px;
  }
}

/* ===== DASHBOARD (matching React design) ===== */
.gsst-page-header {
  background: white;
  border-radius: var(--border-radius-2xl);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gray-100);
}
.gsst-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  padding: 0;
}
.gsst-page-subtitle {
  color: var(--gray-600);
  font-size: 1rem;
  margin: 0;
}
.gsst-dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 0 0 2rem;
}
.gsst-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0;
}
@media (max-width: 960px) {
  .gsst-dashboard-grid { grid-template-columns: 1fr; }
}
.gsst-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}
.gsst-btn-outline-primary {
  border: 2px solid var(--primary) !important;
  color: var(--primary) !important;
  background: transparent !important;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.gsst-btn-outline-primary:hover {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  border-color: var(--primary) !important;
}
.gsst-btn-outline-secondary {
  border: 2px solid var(--secondary) !important;
  color: var(--secondary) !important;
  background: transparent !important;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.gsst-btn-outline-secondary:hover {
  background: var(--secondary) !important;
  color: var(--text-white) !important;
  border-color: var(--secondary) !important;
}

/* ===== LOGGED-IN HEADER FULL WIDTH ===== */
.logged-in .landing-navbar > .container,
.logged-in .landing-navbar .container {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* ===== MODAL ===== */
.gsst-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 1rem;
}
.gsst-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.gsst-modal {
  background: white;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.gsst-modal-overlay.active .gsst-modal {
  transform: scale(1) translateY(0);
}
.gsst-modal-sm { max-width: 480px; }
.gsst-modal-md { max-width: 600px; }
.gsst-modal-lg { max-width: 800px; }
.gsst-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
  background: var(--gray-50);
  flex-shrink: 0;
}
.gsst-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gsst-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1.25rem;
}
.gsst-modal-close:hover { background: var(--gray-100); color: var(--gray-900); }
.gsst-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.gsst-modal > form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.gsst-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
  flex-shrink: 0;
}
.gsst-modal-delete-header { background: #fef2f2; border-bottom-color: #fecaca; }
.gsst-modal-delete-header h3 { color: #dc2626; }

/* Table (matching React style) */
.gsst-table {
  width: 100%;
  border-collapse: collapse;
}
.gsst-table thead th {
  background: var(--gray-50);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--gray-100);
}
.gsst-table tbody td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: middle;
}
.gsst-table tbody tr:hover { background: var(--primary-50); }
.gsst-table tbody tr:last-child td { border-bottom: none; }
.gsst-card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}
.gsst-card-body {
  padding: 1.5rem;
}

/* Loading spinner */
.gsst-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 3rem;
  color: var(--gray-500);
}
.gsst-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ANIMATIONS ===== */
.fade-in { animation: fadeIn 0.6s ease-in-out; }
.slide-up { animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1); }

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .landing-navbar { padding: 0.7rem 0; }
  .landing-navbar-toggler { display: block; }

  .landing-navbar .navbar-collapse {
    width: 100%;
    margin-top: 0.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 0 1rem;
    border: 1px solid var(--gray-200);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, opacity 0.25s ease, padding 0.25s ease;
    box-sizing: content-box;
  }
  .landing-navbar .navbar-collapse.show {
    max-height: 600px;
    opacity: 1;
    padding: 1rem;
  }

  .landing-navbar .nav { flex-direction: column; margin: 0.5rem 0; gap: 0.25rem; width: 100%; }
  .landing-nav-link { padding: 0.7rem 1rem !important; text-align: center; }
  .landing-navbar-actions { width: 100%; margin-top: 0.75rem; gap: 0.5rem; }
  .landing-navbar-actions .gsst-btn-primary { width: 100%; justify-content: center; }

  body.logged-in .landing-navbar .container {
    flex-direction: column;
    align-items: stretch;
  }
  body.logged-in .landing-navbar-brand {
    align-self: center;
  }
  .gsst-dashboard-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .gsst-dashboard-nav-link {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
  }

  body.logged-in .gsst-logout-btn {
    margin-left: 0;
  }

  body.logged-in .gsst-header-right {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  body.logged-in .gsst-welcome-text {
    display: none;
  }

  .language-selector { width: 100%; }
  .language-selector > button {
    width: 100%;
    justify-content: space-between;
    background: var(--gray-50);
    border-radius: 10px;
    padding: 0.6rem 1rem;
  }
  .language-dropdown {
    width: auto;
    min-width: 100%;
    left: 0;
    right: auto;
  }
  .language-option {
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
  }

  [class*="col-lg-"] { width: 100%; }
  .col-md-6 { width: 50%; }
  .pe-lg-4 { padding-right: 0; }
  .ps-lg-5 { padding-left: 0; }
  .landing-hero { padding-top: 7rem; text-align: center; }
  .landing-hero-title { font-size: 2.5rem; }
  .landing-hero-img-card { transform: none; margin-top: 3rem; }
  .landing-section { padding: 4rem 0; }
  .landing-footer { padding: 3rem 0 1.5rem; text-align: center; }
  .landing-footer .d-flex { justify-content: center; }
  .landing-footer .text-start { text-align: center !important; }
  .landing-footer-title::after { left: 50%; transform: translateX(-50%); }
  .landing-footer-social-btn { margin: 0 0.375rem; }
  .landing-footer-logo-title img { max-width: 160px; }
  .landing-footer-links li.d-flex { justify-content: center; }
}

@media (max-width: 767px) {
  .col-sm-6 { width: 50%; }
  .col-md-6 { width: 100%; }
  .col-md-3 { width: 50%; }
  .landing-hero-title { font-size: 2rem; }
  .landing-hero { padding: 6rem 0 3rem; }
  .landing-stat-val { font-size: 2.5rem; }
  .landing-footer-bottom { text-align: center; justify-content: center; }
  .landing-contact-info-card { padding: 1.5rem; }
  .landing-contact-info-card .text-muted.small,
  .landing-contact-info-card a { word-break: break-word; overflow-wrap: break-word; }
  .landing-footer-links li.d-flex { justify-content: center; text-align: center; }
}

@media (max-width: 576px) {
  .landing-navbar-logo { width: 160px; }
  .landing-navbar { padding: 0.6rem 0; }
  .col-sm-6 { width: 100%; }
  .col-md-3 { width: 50%; }
  .container { padding: 0 1rem; }
  .landing-contact-info-card { padding: 1.25rem; }
  .landing-contact-info-card .text-muted.small,
  .landing-contact-info-card a { word-break: break-word; overflow-wrap: break-word; }
}

/* ===== CUSTOM LOGIN PAGE (matching React Login.js design) ===== */
body.login {
  background: var(--gradient-hero);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  position: relative;
}

body.login::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

body.login #login {
  width: 100%;
  max-width: 420px;
  padding: 3rem 2.5rem;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  animation: fadeIn 0.6s ease-in-out;
}

body.login #login h1 {
  text-align: center;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

body.login #login h1 a {
  background-image: url('assets/img/Logo-GSST-rect.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 70px;
  display: block;
  margin: 0 auto;
  pointer-events: none;
}

body.login #loginform {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

body.login #loginform p {
  margin: 0 0 1.5rem 0;
}

body.login #loginform label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

body.login .input,
body.login input[type="text"],
body.login input[type="password"] {
  width: 100%;
  height: 50px;
  padding: 0.75rem 1rem;
  padding-left: 45px;
  font-size: 0.95rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  background: white;
  font-family: inherit;
  color: var(--gray-800);
  margin: 0;
  box-shadow: none;
}

body.login .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(90, 143, 44, 0.2);
  outline: none;
}

body.login .login-input-wrapper {
  position: relative;
}

body.login .login-input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: var(--gray-500);
  z-index: 10;
  display: flex;
  align-items: center;
  pointer-events: none;
}

body.login .login-password-toggle {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.2s;
}

body.login .login-password-toggle:hover {
  color: var(--gray-700);
}

body.login .forgetmenot {
  display: none;
}

body.login .submit {
  margin-top: 0 !important;
}

body.login #wp-submit {
  width: 100%;
  height: 50px;
  padding: 0 1.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px 0 rgba(90, 143, 44, 0.3);
  float: none;
  text-shadow: none;
}

body.login #wp-submit:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(90, 143, 44, 0.4);
}

body.login #wp-submit:active {
  transform: translateY(0);
}

body.login #nav {
  display: none;
}

body.login #backtoblog {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0;
  font-size: 0;
}

body.login #backtoblog a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  background: none;
  border: none;
}

body.login #backtoblog a::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23685d4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

body.login #backtoblog a:hover {
  color: var(--primary-600);
  background-color: var(--primary-50);
}

body.login #backtoblog a:hover::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234B7725' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E");
}

body.login .message,
body.login #login_error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 0 0 1.5rem 0;
  font-size: 0.9rem;
  box-shadow: none;
  border-left: none;
}

body.login .message {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

body.login #login_error {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}

body.login .message a,
body.login #login_error a {
  color: inherit;
  text-decoration: underline;
}

/* Hide WordPress login noise */
body.login .wp-hide-pw {
  display: none;
}

body.login .login .button.wp-hide-pw {
  display: none;
}

body.login .privacy-policy-page-link {
  display: none;
}

body.login .language-switcher {
  display: none;
}

/* Login loading state */
body.login.submitting #wp-submit {
  opacity: 0.7;
  cursor: not-allowed;
}

body.login.submitting #wp-submit .gsst-login-spinner {
  display: inline-block;
}

.gsst-login-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: loginSpin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes loginSpin {
  to { transform: rotate(360deg); }
}

/* Inter font for login page */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/Inter/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== CUSTOM SELECT DROPDOWN ===== */
.gsst-custom-select {
  position: relative;
  width: 100%;
}
.gsst-custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 1rem;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-align: left;
  gap: 0.5rem;
  min-height: 46px;
}
.gsst-custom-select-trigger:hover {
  border-color: var(--gray-300);
}
.gsst-custom-select.open .gsst-custom-select-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(90, 143, 44, 0.12);
}
.gsst-custom-select-trigger svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--gray-400);
}
.gsst-custom-select.open .gsst-custom-select-trigger svg {
  transform: rotate(180deg);
}
.gsst-custom-select-trigger .gsst-custom-select-placeholder {
  color: var(--gray-400);
}
.gsst-custom-select-text {
  color: var(--gray-800);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gsst-custom-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.gsst-custom-select.open .gsst-custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.gsst-custom-select-option {
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--gray-700);
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--gray-100);
}
.gsst-custom-select-option:last-child {
  border-bottom: none;
}
.gsst-custom-select-option:hover {
  background: var(--primary-50);
  color: var(--primary-700);
}
.gsst-custom-select-option.selected {
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 600;
}
.gsst-custom-select-option[data-value=""]:hover {
  background: var(--gray-50);
  color: var(--gray-500);
}

/* Login responsive */
@media (max-width: 480px) {
  body.login #login {
    padding: 2rem 1.5rem;
    box-shadow: none;
    border: none;
    background: transparent;
  }

  body.login {
    padding: 0;
    background: white;
  }

  body.login #backtoblog a {
    font-size: 0.85rem;
  }
}
