/* ========================================================================= */
/* Surya Promoters - Pure CSS3 Stylesheet                                    */
/* Preserves exact design, colors, typography, animations & responsiveness   */
/* ========================================================================= */

:root {
  --font-jakarta: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-inter: 'Inter', system-ui, -apple-system, sans-serif;
  --font-space-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-sans: var(--font-jakarta), var(--font-inter), system-ui, -apple-system, sans-serif;
  --font-display: var(--font-jakarta), system-ui, -apple-system, sans-serif;
  --font-mono: var(--font-space-mono), ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-script: 'Kaushan Script', cursive, sans-serif;

  --bg-primary: #ffffff;
  --bg-canvas: #FAF8F3;
  --bg-secondary: #f8f5ef;
  --bg-beige: #f0eadf;
  --text-primary: #292b27;
  --text-secondary: #77766f;
  --gold: #c6a15b;
  --border: #eae5dc;

  --surya-forest: #072B1A;
  --surya-forest-dark: #041B10;
  --surya-forest-light: #0C452B;
  --surya-deep: #06351F;
  --surya-emerald: #0E5934;
  --surya-header-green: #173D2B;
  --surya-gold: #D9A52E;
  --surya-gold-bright: #E5A922;
  --surya-gold-yellow: #EAB308;
  --surya-ivory: #FAF8F2;
  --surya-champagne: #F1E4C3;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: #FAF8F3;
  color: #0A0D12;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

body.page-white {
  background-color: #FFFFFF;
  color: #171B18;
}

body.modal-open {
  overflow: hidden !important;
}

html.modal-open {
  overflow: hidden !important;
}

::selection {
  background: #EAB308;
  color: #0A0D12;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1ede4;
}

::-webkit-scrollbar-thumb {
  background: #d4caa8;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b5a87e;
}

/* Typography helpers */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-script { font-family: var(--font-script); }
.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ========================================================================= */
/* Animations                                                                */
/* ========================================================================= */

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

.animate-fadeIn {
  animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlowZoom {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.045) translate3d(-0.4%, -0.4%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}

.animate-heroSlowZoom {
  animation: heroSlowZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}

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

.animate-heroBadgeFadeUp {
  animation: heroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards;
}

.animate-heroFadeUp {
  animation: heroFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

.animate-heroSubtitleFadeUp {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}

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

.animate-card-1 { animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.06s backwards; }
.animate-card-2 { animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.12s backwards; }
.animate-card-3 { animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.18s backwards; }
.animate-card-4 { animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.24s backwards; }
.animate-card-5 { animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.30s backwards; }
.animate-card-6 { animation: cardSlideUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.36s backwards; }

@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.animate-pulse {
  animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pingDot {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-ping {
  animation: pingDot 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Clean Interactive Card Reset */
.clean-interactive-card,
.clean-interactive-card:hover,
.clean-interactive-card:active,
.clean-interactive-card:focus,
.clean-interactive-card:focus-visible,
.clean-interactive-card:focus-within {
  outline: none !important;
  text-decoration: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  backface-visibility: hidden;
  transform: translateZ(0);
}

button:focus,
button:focus-visible,
button:active {
  outline: none;
}

/* ========================================================================= */
/* APP SHELL LAYOUT (index.html)                                             */
/* ========================================================================= */

.app-shell {
  min-height: 100vh;
  background-color: #FAF8F3;
  color: #0A0D12;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Fixed Left Sidebar (Desktop/Tablet md+) */
.app-sidebar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 14rem; /* 224px */
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  background: linear-gradient(to bottom, #052617, #083822, #041D12);
  color: #ffffff;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.875rem 0.875rem;
  user-select: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border-right: 1px solid #0A3D25;
}

@media (min-width: 768px) {
  .app-shell { flex-direction: row; }
  .app-sidebar { display: flex; }
}

@media (min-width: 1024px) {
  .app-sidebar {
    width: 16rem; /* 256px */
    padding: 1.125rem 0.875rem;
  }
}

.sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

@media (min-width: 1024px) {
  .sidebar-top { gap: 1rem; }
}

.sidebar-brand-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 0.5rem 0.25rem;
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: inherit;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand-lockup-row {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.brand-s-emblem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  margin-right: -0.25rem;
}

@media (min-width: 640px) {
  .brand-s-emblem { width: 2rem; height: 2rem; }
}
@media (min-width: 1024px) {
  .brand-s-emblem { width: 2.25rem; height: 2.25rem; }
}

.brand-s-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-urya {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #D9A52E;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (min-width: 640px) {
  .brand-urya { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  .brand-urya { font-size: 1.5625rem; }
}
@media (min-width: 1280px) {
  .brand-urya { font-size: 1.6875rem; }
}

.brand-promoters {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: #F1E4C3;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 0.375rem;
  text-align: center;
  padding-left: 0.25rem;
}

@media (min-width: 640px) { .brand-promoters { font-size: 0.75rem; } }
@media (min-width: 1024px) { .brand-promoters { font-size: 0.8125rem; } }
@media (min-width: 1280px) { .brand-promoters { font-size: 0.875rem; } }

.brand-estd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.brand-estd-line {
  height: 1px;
  width: 1.375rem;
  background-color: rgba(217, 165, 46, 0.4);
}

.brand-estd-text {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(241, 228, 195, 0.8);
  white-space: nowrap;
}

@media (min-width: 1024px) { .brand-estd-text { font-size: 10px; } }
@media (min-width: 1280px) { .brand-estd-text { font-size: 11px; } }

/* Sidebar Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding-top: 0.25rem;
}

.sidebar-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  text-align: left;
  border: none;
  background: transparent;
  color: #D8E6DE;
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-nav-btn:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.sidebar-nav-btn:active {
  transform: scale(0.98);
}

.sidebar-nav-btn.active {
  background: linear-gradient(to right, #F5B731, #EAB308, #D98E14);
  color: #0A1C12;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(234, 179, 8, 0.4);
}

.sidebar-nav-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease-out;
}

.sidebar-nav-btn:hover svg {
  transform: scale(1.1);
}

.sidebar-nav-btn.active svg {
  color: #0A1C12;
}

.sidebar-bottom {
  margin-top: auto;
  padding-top: 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-skyline {
  position: relative;
  width: 90%;
  height: 92px;
  overflow: hidden;
  opacity: 0.95;
  pointer-events: none;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .sidebar-skyline { height: 105px; }
}

.sidebar-skyline img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom;
}

.sidebar-contact-card {
  padding: 0.625rem;
  border-radius: 1rem;
  background: rgba(9, 45, 27, 0.95);
  border: 1px solid rgba(226, 183, 85, 0.4);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
}

.sidebar-contact-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #051F12;
  border: 1px solid rgba(226, 183, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E5A922;
  transition: transform 0.2s ease;
}

.sidebar-contact-link:hover .sidebar-contact-icon {
  transform: scale(1.06);
}

.sidebar-contact-label {
  font-size: 10px;
  color: #A3C2B0;
  font-weight: 500;
  line-height: 1.25;
}

.sidebar-contact-phone {
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

/* ========================================================================= */
/* RIGHT MAIN CANVAS & TOP HEADER                                            */
/* ========================================================================= */

.app-canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background-color: #FAF8F3;
  position: relative;
  min-height: 100vh;
}

.app-canvas.tab-inner {
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .app-canvas { margin-left: 14rem; }
}
@media (min-width: 1024px) {
  .app-canvas { margin-left: 16rem; }
}

.app-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  user-select: none;
  z-index: 40;
}

.app-header.is-home {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 0.625rem 0.625rem 0.25rem;
}

@media (min-width: 640px) {
  .app-header.is-home { padding: 0.75rem 1.25rem 0.25rem; gap: 0.75rem; }
}
@media (min-width: 1024px) {
  .app-header.is-home { padding: 0.75rem 1.75rem 0.25rem; gap: 1rem; }
}

.app-header.is-inner {
  position: sticky;
  top: 0;
  background: linear-gradient(to right, #052617, #083822, #041D12);
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid #0A3D25;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .app-header.is-inner { padding: 0.875rem 1.5rem; gap: 0.75rem; }
}
@media (min-width: 1024px) {
  .app-header.is-inner { padding: 0.875rem 2rem; gap: 1rem; }
}

.header-left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-menu-toggle {
  padding: 0.375rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(217, 165, 46, 0.4);
  background: rgba(6, 53, 31, 0.85);
  color: #D9A52E;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .mobile-menu-toggle { padding: 0.5rem; }
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

.mobile-menu-toggle:hover {
  background: #06351F;
  transform: scale(1.05);
}

.madurai-badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  height: 2.375rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 169, 34, 0.5);
  font-size: 0.75rem;
  font-weight: 700;
  color: #0A2617;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .madurai-badge { display: flex; }
}

.madurai-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #E5A922;
  box-shadow: 0 0 6px rgba(229, 169, 34, 0.6);
}

/* Search Pill */
.search-container {
  flex: 1;
  min-width: 90px;
  max-width: 36rem;
  position: relative;
  display: flex;
  align-items: center;
}

.search-submit-btn {
  position: absolute;
  left: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #06351F;
  color: #ffffff;
  border: 1px solid rgba(229, 169, 34, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .search-submit-btn {
    left: 0.375rem;
    width: 1.75rem;
    height: 1.75rem;
  }
}

.search-submit-btn:hover {
  background: #0E5934;
  transform: translateY(-50%) scale(1.05);
}

.search-input {
  width: 100%;
  height: 2rem;
  padding-left: 2rem;
  padding-right: 0.875rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 500;
  color: #262626;
  border-radius: 9999px;
  border: 1px solid rgba(229, 229, 229, 0.9);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .search-input {
    height: 2.25rem;
    padding-left: 2.5rem;
    padding-right: 1rem;
    font-size: 0.75rem;
  }
}

@media (min-width: 768px) {
  .search-input { font-size: 0.875rem; }
}

.search-input.has-value {
  padding-right: 2rem;
}

.search-input:focus {
  outline: none;
  border-color: #E5A922;
  box-shadow: 0 0 0 2px rgba(229, 169, 34, 0.2);
}

.search-clear-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #e5e5e5;
  color: #525252;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.15s ease;
}

.search-clear-btn:hover {
  background: #d4d4d4;
  transform: translateY(-50%) scale(1.05);
}

/* Autocomplete Dropdown */
.search-dropdown {
  position: absolute;
  top: 100%;
  margin-top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw - 24px);
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(229, 229, 229, 0.95);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 50;
  max-height: 380px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .search-dropdown {
    width: 100%;
    left: 0;
    transform: none;
  }
}

.search-dropdown-header {
  padding: 0.5rem 0.875rem;
  background: #FAF8F3;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 700;
  color: #737373;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-dropdown-list {
  overflow-y: auto;
  max-height: 280px;
}

.search-dropdown-item {
  padding: 0.625rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  border-bottom: 1px solid #f5f5f5;
  color: #262626;
  transition: background-color 0.15s ease;
}

.search-dropdown-item:hover,
.search-dropdown-item.highlighted {
  background: #F3F8F5;
  color: #06351F;
  border-left: 3px solid #06351F;
}

.search-dropdown-thumb {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
  border: 1px solid rgba(229, 229, 229, 0.7);
}

.search-dropdown-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-highlight {
  background: #FEF08A;
  color: #06351F;
  font-weight: 900;
  border-radius: 2px;
  padding: 0 2px;
}

.search-dropdown-footer {
  width: 100%;
  padding: 0.5rem 0.875rem;
  background: #F8FAF9;
  border: none;
  border-top: 1px solid #f5f5f5;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: #06351F;
  cursor: pointer;
}

.search-dropdown-footer:hover {
  background: #EBF3EF;
}

/* Header Right Controls */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-right { gap: 0.5rem; }
}

.iaf-seal {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(250, 245, 232, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 165, 46, 0.5);
  color: #705820;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
  .iaf-seal { display: flex; }
}

.lang-toggle-btn {
  height: 2rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0 0.625rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #e5e5e5;
  color: #0A1C12;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .lang-toggle-btn {
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.75rem;
  }
}

.lang-toggle-btn:hover {
  border-color: rgba(229, 169, 34, 0.5);
}

.header-phone-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: #051F12;
  border: 1px solid rgba(229, 169, 34, 0.6);
  color: #E5A922;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .header-phone-btn { width: 2.25rem; height: 2.25rem; }
}

.header-phone-btn:hover {
  border-color: #E5A922;
  background: #08301D;
  transform: scale(1.05);
}

/* ========================================================================= */
/* MAIN CONTENT CANVAS                                                       */
/* ========================================================================= */

.app-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.app-main.tab-inner {
  display: block;
  padding: 0.875rem;
  padding-bottom: 2rem;
  background: #ffffff;
}

@media (min-width: 640px) {
  .app-main.tab-inner { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .app-main.tab-inner { padding: 2rem; }
}

/* ========================================================================= */
/* HOME HERO BANNER                                                          */
/* ========================================================================= */

.home-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 2.5rem;
  min-height: 320px;
}

@media (min-width: 640px) {
  .home-hero { padding: 4rem 1.5rem 3rem; min-height: 350px; }
}
@media (min-width: 768px) {
  .home-hero { padding: 5rem 1.5rem 3.5rem; min-height: 380px; }
}
@media (min-width: 1024px) {
  .home-hero { padding: 5.5rem 2.5rem 4rem; min-height: 410px; }
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  transform: translateZ(0);
}

.home-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-top-fade {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(4, 29, 18, 0.25) 0%, transparent 100%);
  pointer-events: none;
}

.home-hero-bottom-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3.5rem;
  background: linear-gradient(to bottom, transparent 0%, rgba(250, 248, 243, 0.35) 40%, rgba(250, 248, 243, 0.85) 85%, #FAF8F3 100%);
  pointer-events: none;
}

.home-hero-content {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  padding: 0 0.75rem;
}

.home-hero-radial {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 114%;
  max-width: 48rem;
  height: 130%;
  pointer-events: none;
  z-index: -1;
  border-radius: 9999px;
  background: radial-gradient(ellipse 62% 52% at 50% 48%, rgba(2, 20, 12, 0.78) 0%, rgba(3, 25, 16, 0.65) 28%, rgba(4, 29, 18, 0.42) 52%, rgba(4, 29, 18, 0.14) 75%, transparent 100%);
  filter: blur(18px);
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: rgba(5, 38, 23, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(229, 169, 34, 0.6);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
  margin-bottom: 0.875rem;
}

@media (min-width: 640px) {
  .hero-badge-pill { padding: 0.5rem 1.125rem; margin-bottom: 1rem; }
}

.hero-badge-pill span {
  font-size: 11px;
  font-weight: 700;
  color: #F1E4C3;
  letter-spacing: 0.025em;
}

@media (min-width: 640px) { .hero-badge-pill span { font-size: 0.75rem; } }
@media (min-width: 768px) { .hero-badge-pill span { font-size: 13px; } }

.hero-title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title-glow {
  position: absolute;
  inset: -1rem -2rem;
  pointer-events: none;
  z-index: -1;
  border-radius: 9999px;
  background: radial-gradient(ellipse 55% 55% at 50% 50%, rgba(2, 18, 11, 0.48) 0%, rgba(3, 24, 15, 0.22) 60%, transparent 100%);
  filter: blur(12px);
}

.hero-h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  color: #D9A52E;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  text-shadow: 0 2px 10px rgba(2, 18, 11, 0.9), 0 4px 20px rgba(1, 14, 8, 0.65);
}

.hero-logo-emblem {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 1px;
}

.hero-logo-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(2, 18, 11, 0.85)) drop-shadow(0 4px 16px rgba(1, 14, 8, 0.55));
}

.hero-heading-text {
  font-size: 19px;
  letter-spacing: 0.06em;
}

@media (min-width: 375px) and (max-width: 639px) {
  .hero-logo-emblem { width: 26px; height: 26px; }
  .hero-heading-text { font-size: 21.5px; letter-spacing: 0.08em; }
}

@media (min-width: 640px) {
  .hero-logo-emblem { width: 37px; height: 37px; margin-right: -6px; }
  .hero-heading-text { font-size: 30px; letter-spacing: 0.1em; }
}

@media (min-width: 768px) {
  .hero-logo-emblem { width: 44px; height: 44px; }
  .hero-heading-text { font-size: 35.5px; }
}

@media (min-width: 1024px) {
  .hero-logo-emblem { width: 53px; height: 53px; }
  .hero-heading-text { font-size: 43px; }
}

@media (min-width: 1280px) {
  .hero-logo-emblem { width: 57px; height: 57px; }
  .hero-heading-text { font-size: 46.5px; }
}

@media (min-width: 1536px) {
  .hero-logo-emblem { width: 62px; height: 62px; }
  .hero-heading-text { font-size: 50px; }
}

.hero-tamil-text {
  font-size: 19.5px;
  font-weight: 900;
  letter-spacing: 0.025em;
  margin-left: 0.5rem;
}

@media (min-width: 640px) { .hero-tamil-text { font-size: 28px; margin-left: 0.75rem; } }
@media (min-width: 768px) { .hero-tamil-text { font-size: 33.5px; } }
@media (min-width: 1024px) { .hero-tamil-text { font-size: 41px; } }
@media (min-width: 1280px) { .hero-tamil-text { font-size: 45px; } }

.hero-subtitle {
  margin-top: 0.25rem;
  font-size: 13px;
  font-weight: 500;
  color: #FFF0C2;
  letter-spacing: 0.025em;
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.5;
  text-shadow: 0 1px 4px rgba(3, 24, 15, 0.9), 0 2px 10px rgba(4, 29, 18, 0.65);
}

@media (min-width: 640px) { .hero-subtitle { font-size: 15px; } }
@media (min-width: 768px) { .hero-subtitle { font-size: 17px; } }
@media (min-width: 1024px) { .hero-subtitle { font-size: 18px; } }

/* Green & Gold Divider */
.hero-divider-wrap {
  position: relative;
  z-index: 20;
  padding: 0.375rem 0.875rem 0;
  pointer-events: none;
}

@media (min-width: 640px) { .hero-divider-wrap { padding: 0.5rem 1.5rem 0; } }
@media (min-width: 1024px) { .hero-divider-wrap { padding: 0.5rem 2rem 0; } }

.hero-divider-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}

.divider-green {
  width: 100%;
  height: 1.5px;
  background: linear-gradient(to right, transparent, #0E5934, transparent);
  border-radius: 9999px;
  opacity: 0.85;
}

.divider-gold {
  width: 85%;
  height: 1.5px;
  background: linear-gradient(to right, transparent, #E5A922, transparent);
  border-radius: 9999px;
  box-shadow: 0 0 8px rgba(229, 169, 34, 0.4);
}

@media (min-width: 640px) { .divider-gold { width: 75%; } }

/* ========================================================================= */
/* 6 MAIN NAVIGATION CARDS                                                   */
/* ========================================================================= */

.cards-outer-section {
  position: relative;
  z-index: 20;
  padding: 0.375rem 0.875rem 1rem;
}

@media (min-width: 640px) { .cards-outer-section { padding: 0.5rem 1.5rem 1.5rem; } }
@media (min-width: 1024px) { .cards-outer-section { padding: 0.5rem 2rem 1.5rem; } }

.cards-hub-box {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  border: 1px solid #EBE4D5;
  box-shadow: 0 8px 30px rgba(10, 40, 20, 0.05);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) { .cards-hub-box { padding: 0.625rem; } }
@media (min-width: 1024px) { .cards-hub-box { border-radius: 22px; padding: 0.75rem; } }

.cards-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.125rem 0.25rem;
}

@media (min-width: 640px) { .cards-hub-header { padding-bottom: 0.375rem; } }

.cards-hub-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cards-hub-accent {
  width: 0.375rem;
  height: 0.875rem;
  border-radius: 9999px;
  background: #0E5934;
}

@media (min-width: 640px) { .cards-hub-accent { height: 1.125rem; } }

.cards-hub-title {
  font-size: 0.75rem;
  font-weight: 900;
  color: #0A2617;
  letter-spacing: -0.015em;
}

@media (min-width: 640px) { .cards-hub-title { font-size: 0.875rem; } }
@media (min-width: 1024px) { .cards-hub-title { font-size: 15px; } }

.cards-hub-motto {
  font-family: var(--font-script);
  font-size: 0.75rem;
  color: #BD8D1C;
  font-weight: 700;
  letter-spacing: 0.025em;
  user-select: none;
}

@media (min-width: 640px) { .cards-hub-motto { font-size: 0.875rem; } }
@media (min-width: 1024px) { .cards-hub-motto { font-size: 15px; } }

.six-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.375rem;
}

@media (min-width: 640px) { .six-cards-grid { gap: 0.5rem; } }
@media (min-width: 768px) { .six-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .six-cards-grid { gap: 0.625rem; } }
@media (min-width: 1280px) { .six-cards-grid { gap: 0.75rem; } }

.nav-feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 92px;
  padding: 0.5rem 0.75rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  border-style: solid;
  border-width: 1px;
}

@media (min-width: 640px) { .nav-feature-card { height: 100px; padding: 0.625rem 1rem; } }
@media (min-width: 768px) { .nav-feature-card { height: 86px; } }
@media (min-width: 1024px) { .nav-feature-card { height: 94px; border-radius: 20px; padding: 0.625rem 1.125rem; } }
@media (min-width: 1280px) { .nav-feature-card { height: 102px; } }
@media (min-width: 1536px) { .nav-feature-card { height: 112px; } }

.nav-feature-card:hover {
  transform: translateY(-4px);
}

.nav-feature-card:active {
  transform: translateY(0);
}

.nav-card-bg-img {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  overflow: hidden;
  border-top-right-radius: 17px;
  border-bottom-right-radius: 17px;
  pointer-events: none;
}

@media (min-width: 640px) { .nav-card-bg-img { width: 36%; } }
@media (min-width: 1024px) { .nav-card-bg-img { width: 38%; border-top-right-radius: 19px; border-bottom-right-radius: 19px; } }
@media (min-width: 1280px) { .nav-card-bg-img { width: 40%; } }

.nav-card-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease-out;
}

.nav-feature-card:hover .nav-card-bg-img img {
  transform: scale(1.08);
}

.nav-card-bg-fade {
  position: absolute;
  inset: 0;
}

.nav-card-left {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  z-index: 10;
  min-width: 0;
  max-width: 65%;
}

@media (min-width: 640px) { .nav-card-left { gap: 0.75rem; max-width: 64%; } }
@media (min-width: 1024px) { .nav-card-left { gap: 0.875rem; max-width: 64%; } }

.nav-card-icon-circle {
  position: relative;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease-out;
  overflow: hidden;
}

@media (min-width: 640px) { .nav-card-icon-circle { width: 2.5rem; height: 2.5rem; } }
@media (min-width: 1024px) { .nav-card-icon-circle { width: 2.75rem; height: 2.75rem; } }
@media (min-width: 1280px) { .nav-card-icon-circle { width: 3rem; height: 3rem; } }

.nav-feature-card:hover .nav-card-icon-circle {
  transform: scale(1.1);
}

.nav-card-icon-circle svg {
  width: 1.125rem;
  height: 1.125rem;
}

@media (min-width: 640px) { .nav-card-icon-circle svg { width: 1.25rem; height: 1.25rem; } }
@media (min-width: 1280px) { .nav-card-icon-circle svg { width: 1.5rem; height: 1.5rem; } }

.nav-card-title {
  font-weight: 900;
  font-size: 12.5px;
  color: #0D2317;
  line-height: 1.25;
  transition: color 0.2s ease;
}

@media (min-width: 640px) { .nav-card-title { font-size: 13.5px; } }
@media (min-width: 768px) { .nav-card-title { font-size: 12.5px; } }
@media (min-width: 1024px) { .nav-card-title { font-size: 14px; } }
@media (min-width: 1280px) { .nav-card-title { font-size: 15px; } }

.nav-card-desc {
  font-size: 10px;
  color: #4A5750;
  font-weight: 600;
  margin-top: 2px;
  line-height: 1.35;
}

@media (min-width: 640px) { .nav-card-desc { font-size: 11px; } }
@media (min-width: 768px) { .nav-card-desc { font-size: 10px; } }
@media (min-width: 1024px) { .nav-card-desc { font-size: 11px; } }
@media (min-width: 1280px) { .nav-card-desc { font-size: 12px; } }

.nav-card-arrow-wrap {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.nav-card-arrow {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 9999px;
  background: #0E5934;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(14, 89, 52, 0.35);
  transition: all 0.3s ease;
}

@media (min-width: 640px) { .nav-card-arrow { width: 1.75rem; height: 1.75rem; } }
@media (min-width: 1280px) { .nav-card-arrow { width: 2rem; height: 2rem; } }

.nav-feature-card:hover .nav-card-arrow {
  transform: translateX(4px) scale(1.1);
}

/* Individual 6 card color themes */
.card-projects {
  border-color: #E8CCA0;
  background: linear-gradient(to right, #FBF4E6, #F7EBD0, #F0DEC0);
  box-shadow: 0 3px 14px rgba(205, 140, 25, 0.08);
}
.card-projects:hover {
  border-color: #DDA843;
  box-shadow: 0 12px 30px rgba(205, 140, 25, 0.22);
}
.card-projects:hover .nav-card-title { color: #9A6206; }
.card-projects .nav-card-icon-circle {
  background: linear-gradient(to bottom right, #F5B731, #E5A922, #BD7B0C);
  box-shadow: 0 3px 10px rgba(205, 140, 25, 0.25);
}

.card-location {
  border-color: #A8DCB7;
  background: linear-gradient(to right, #EAF7EE, #DCF2E4, #CEEBD7);
  box-shadow: 0 3px 14px rgba(16, 140, 60, 0.08);
}
.card-location:hover {
  border-color: #22C55E;
  box-shadow: 0 12px 30px rgba(16, 140, 60, 0.22);
}
.card-location:hover .nav-card-title { color: #15803D; }
.card-location .nav-card-icon-circle {
  box-shadow: 0 3px 10px rgba(173, 18, 26, 0.3);
}
.card-location .nav-card-arrow {
  background: #15803D;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.35);
}

.card-gallery {
  border-color: #CFB8ED;
  background: linear-gradient(to right, #F5EFFB, #EBE0F7, #DFCFF2);
  box-shadow: 0 3px 14px rgba(147, 51, 234, 0.08);
}
.card-gallery:hover {
  border-color: #A855F7;
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.22);
}
.card-gallery:hover .nav-card-title { color: #7E22CE; }
.card-gallery .nav-card-icon-circle {
  background: linear-gradient(to bottom right, #A855F7, #9333EA, #6B21A8);
  box-shadow: 0 3px 10px rgba(147, 51, 234, 0.25);
}

.card-about {
  border-color: #AFD1B9;
  background: linear-gradient(to right, #EEF5F0, #E0ECE3, #CFE2D4);
  box-shadow: 0 3px 14px rgba(14, 89, 52, 0.08);
}
.card-about:hover {
  border-color: #16A34A;
  box-shadow: 0 12px 30px rgba(14, 89, 52, 0.22);
}
.card-about:hover .nav-card-title { color: #0E5934; }
.card-about .nav-card-icon-circle {
  background: linear-gradient(to bottom right, #16A34A, #0E5934, #083D22);
  box-shadow: 0 3px 10px rgba(14, 89, 52, 0.25);
}

.card-download {
  border-color: #F5BE9B;
  background: linear-gradient(to right, #FDF2E8, #FCE4D4, #F7D4BE);
  box-shadow: 0 3px 14px rgba(234, 88, 12, 0.08);
}
.card-download:hover {
  border-color: #EA580C;
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.22);
}
.card-download:hover .nav-card-title { color: #C2410C; }
.card-download .nav-card-icon-circle {
  background: linear-gradient(to bottom right, #FB923C, #EA580C, #C2410C);
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);
}

.card-contact {
  border-color: #9FD4D3;
  background: linear-gradient(to right, #ECF7F7, #DAEFEF, #C5E5E5);
  box-shadow: 0 3px 14px rgba(13, 148, 136, 0.08);
}
.card-contact:hover {
  border-color: #0D9488;
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.22);
}
.card-contact:hover .nav-card-title { color: #0F766E; }
.card-contact .nav-card-icon-circle {
  background: linear-gradient(to bottom right, #14B8A6, #0D9488, #0F766E);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.25);
}

/* Trust Badges Bar */
.trust-badges-bar {
  padding-top: 0.5rem;
  padding-bottom: 0.125rem;
  user-select: none;
  z-index: 20;
}

@media (min-width: 640px) { .trust-badges-bar { padding-top: 0.625rem; } }
@media (min-width: 1024px) { .trust-badges-bar { padding-top: 0.75rem; } }

.trust-badges-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 10.5px;
  font-weight: 700;
  color: #294233;
}

@media (min-width: 640px) { .trust-badges-flex { gap: 1.5rem; font-size: 0.75rem; } }
@media (min-width: 1024px) { .trust-badges-flex { gap: 2rem; font-size: 12px; } }

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.trust-sep {
  display: none;
  color: #d4d4d4;
}

@media (min-width: 640px) { .trust-sep { display: inline; } }

/* ========================================================================= */
/* COMMON INNER TAB & STANDALONE PAGE COMPONENTS                             */
/* ========================================================================= */

.tab-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.25rem;
}

.back-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  background: #06351F;
  color: #ffffff;
  border: 1px solid #0E5934;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  align-self: flex-start;
}

.back-pill-btn:hover {
  background: #0E5934;
  transform: scale(1.04);
}

.back-pill-btn:active {
  transform: scale(0.95);
}

.back-pill-btn svg {
  width: 1rem;
  height: 1rem;
  color: #D9A52E;
  transition: transform 0.2s ease;
}

.back-pill-btn:hover svg {
  transform: translateX(-3px);
}

.dark-banner-card {
  background: linear-gradient(to right, #06351F, #092B1C, #03210E);
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(217, 165, 46, 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
}

@media (min-width: 640px) { .dark-banner-card { padding: 1.75rem; } }

.banner-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(217, 165, 46, 0.2);
  color: #D9A52E;
  border: 1px solid rgba(217, 165, 46, 0.3);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.banner-heading {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.375rem;
}

@media (min-width: 640px) { .banner-heading { font-size: 1.5rem; } }

.banner-subtext {
  font-size: 0.75rem;
  color: #d4d4d4;
  line-height: 1.6;
  max-width: 42rem;
}

@media (min-width: 640px) { .banner-subtext { font-size: 0.875rem; } }

/* Category Hub & Cards */
.hub-box {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(229, 229, 229, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) { .hub-box { padding: 1.75rem; } }

.categories-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .categories-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.category-hub-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(229, 229, 229, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.category-hub-card:hover {
  border-color: #D9A52E;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.category-hub-top {
  position: relative;
  height: 12rem;
  width: 100%;
  overflow: hidden;
  background: #06351F;
  border-bottom: 1px solid rgba(217, 165, 46, 0.2);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 640px) { .category-hub-top { height: 14rem; } }
@media (min-width: 768px) { .category-hub-top { height: 260px; } }
@media (min-width: 1024px) { .category-hub-top { height: 270px; } }

.category-hub-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  pointer-events: none;
  transition: transform 0.7s ease;
}

.category-hub-card:hover .category-hub-top img {
  transform: scale(1.05);
}

/* Grids */
.grid-cards-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .grid-cards-2 { grid-template-columns: repeat(2, 1fr); } }

.grid-cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) { .grid-cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards-3 { grid-template-columns: repeat(3, 1fr); } }

.grid-cards-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .grid-cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards-4 { grid-template-columns: repeat(4, 1fr); } }

.grid-metrics-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .grid-metrics-4 { grid-template-columns: repeat(4, 1fr); } }

/* Project Card (Home Tab) */
.project-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(229, 229, 229, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
  border-color: rgba(217, 165, 46, 0.7);
}

.project-card-media {
  position: relative;
  height: 15rem;
  width: 100%;
  overflow: hidden;
  background: #171717;
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  pointer-events: none;
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.card-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.85;
}

@media (min-width: 640px) {
  .card-carousel-arrow { opacity: 0; }
  .project-card-media:hover .card-carousel-arrow { opacity: 1; }
}

.card-carousel-arrow:hover {
  background: #D9A52E;
  color: #06351F;
  border-color: #D9A52E;
  transform: translateY(-50%) scale(1.1);
}

.card-carousel-arrow.prev { left: 0.625rem; }
.card-carousel-arrow.next { right: 0.625rem; }

.card-img-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 20;
  padding: 2px 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

/* Pill Buttons */
.btn-forest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: #06351F;
  color: #ffffff;
  border: 1px solid #0E5934;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-forest:hover {
  background: #0E5934;
}

.btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  background: #0E5934;
  color: #ffffff;
  border: 1px solid #0E5934;
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.btn-emerald:hover {
  background: #06351F;
}

/* ========================================================================= */
/* FOOTER & BOTTOM LANDSCAPE                                                 */
/* ========================================================================= */

.site-footer {
  width: 100%;
  background: transparent;
}

.site-footer-inner {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 1rem 6rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #173D2B;
}

@media (min-width: 640px) {
  .site-footer-inner {
    flex-direction: row;
    align-items: center;
    padding: 1rem 7rem 1rem 2rem;
    font-size: 0.875rem;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .site-footer-inner {
    padding: 1rem 8rem 1rem 3rem;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .footer-links { gap: 0.75rem; }
}

.footer-links a:hover {
  color: #0E5934;
  text-decoration: underline;
}

.bottom-landscape {
  position: relative;
  width: 100%;
  height: 1.75rem;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
  margin-top: auto;
  margin-bottom: 3.5rem;
}

@media (min-width: 640px) { .bottom-landscape { height: 1.875rem; } }
@media (min-width: 768px) { .bottom-landscape { margin-bottom: 0; } }
@media (min-width: 1024px) { .bottom-landscape { height: 2.125rem; } }
@media (min-width: 1280px) { .bottom-landscape { height: 2.25rem; } }

.bottom-landscape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.bottom-landscape-fade {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 0.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, #FAF8F3 0%, rgba(250, 248, 243, 0.6) 50%, transparent 100%);
}

/* ========================================================================= */
/* MOBILE BOTTOM DOCK & DRAWER                                               */
/* ========================================================================= */

.mobile-bottom-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(229, 229, 229, 0.9);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
  padding: 0.375rem;
}

@media (min-width: 768px) {
  .mobile-bottom-dock { display: none; }
}

.mobile-dock-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}

.mobile-dock-btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.125rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  color: #737373;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.mobile-dock-btn.active {
  color: #06351F;
  font-weight: 900;
}

.mobile-dock-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #737373;
  transition: all 0.2s ease;
}

.mobile-dock-btn.active .mobile-dock-icon {
  background: #06351F;
  color: #D9A52E;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.mobile-dock-label {
  font-size: 10px;
  font-weight: 600;
  margin-top: 0.25rem;
  line-height: 1;
  text-align: center;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile Slide Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 55;
  width: 18rem;
  max-width: 85vw;
  background: linear-gradient(to bottom, #052617, #083822, #041D12);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.open {
  transform: translateX(0);
}

@media (min-width: 768px) {
  .drawer-backdrop.home-only,
  .mobile-drawer.home-only { display: none; }
}

/* ========================================================================= */
/* FLOATING WHATSAPP BUTTON                                                  */
/* ========================================================================= */

.floating-whatsapp {
  position: fixed;
  bottom: 5rem;
  right: 1rem;
  z-index: 50;
  pointer-events: auto;
}

@media (min-width: 640px) { .floating-whatsapp { right: 1.5rem; } }
@media (min-width: 768px) { .floating-whatsapp { bottom: 1.5rem; right: 1.5rem; } }
@media (min-width: 1024px) { .floating-whatsapp { bottom: 1.75rem; right: 1.75rem; } }

.floating-whatsapp-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 8px 20px rgba(37, 211, 102, 0.45));
}

@media (min-width: 640px) { .floating-whatsapp-link { width: 3.5rem; height: 3.5rem; } }
@media (min-width: 768px) { .floating-whatsapp-link { width: 3.75rem; height: 3.75rem; } }

.floating-whatsapp-link:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 12px 28px rgba(37, 211, 102, 0.7));
}

.floating-whatsapp-link:active {
  transform: scale(0.95);
}

.wa-pulse-badge {
  position: absolute;
  top: 0;
  right: 0;
  width: 0.875rem;
  height: 0.875rem;
  z-index: 20;
  pointer-events: none;
  display: flex;
}

.wa-pulse-ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: #34d399;
  opacity: 0.75;
}

.wa-pulse-dot {
  position: relative;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 9999px;
  background: #10b981;
  border: 2px solid #ffffff;
}

.wa-tooltip {
  display: none;
  position: absolute;
  right: 100%;
  margin-right: 0.75rem;
  top: 50%;
  transform: translateY(-50%) translateX(0.5rem);
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  z-index: 20;
}

@media (min-width: 768px) {
  .wa-tooltip { display: flex; }
  .floating-whatsapp-link:hover .wa-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

.wa-tooltip-bubble {
  background: rgba(10, 38, 23, 0.95);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(229, 169, 34, 0.4);
}

/* ========================================================================= */
/* MODALS & LIGHTBOXES                                                       */
/* ========================================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

@media (min-width: 640px) { .modal-overlay { padding: 1.5rem; } }

.modal-overlay.z-lightbox { z-index: 75; background: rgba(0, 0, 0, 0.92); }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 56rem;
  background: #ffffff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  border: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-close-red {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  z-index: 40;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #dc2626;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(220, 38, 38, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (min-width: 640px) {
  .modal-close-red { top: 1rem; right: 1rem; width: 3rem; height: 3rem; }
}

.modal-close-red:hover {
  background: #b91c1c;
  transform: scale(1.1);
}

.modal-scroll-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overscroll-behavior: contain;
}

@media (min-width: 640px) {
  .modal-scroll-body { padding: 1.75rem; }
}

.modal-hero-box {
  position: relative;
  height: 15rem;
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #171717;
  border: 1px solid #e5e5e5;
}

@media (min-width: 640px) { .modal-hero-box { height: 20rem; } }

.modal-footer-bar {
  padding: 0.875rem;
  border-top: 1px solid #f5f5f5;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .modal-footer-bar {
    flex-direction: row;
    padding: 0.875rem 1.75rem;
  }
}

/* ========================================================================= */
/* STANDALONE PAGES NAVBAR & HEROES                                          */
/* ========================================================================= */

.top-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: linear-gradient(to right, #052617, #083822, #041D12);
  border-bottom: 1px solid #0A3D25;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(16px);
  user-select: none;
}

.top-navbar-inner {
  margin: 0 auto;
  display: flex;
  height: 4rem;
  width: 100%;
  max-width: 1760px;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.875rem;
  gap: 0.625rem;
}

@media (min-width: 640px) {
  .top-navbar-inner { height: 4.5rem; padding: 0 1.5rem; gap: 1rem; }
}
@media (min-width: 1024px) {
  .top-navbar-inner { padding: 0 2rem; gap: 1.5rem; }
}

.top-nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .top-nav-links { display: flex; gap: 0.5rem; }
}

.top-nav-link {
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #D8E6DE;
  transition: all 0.2s ease;
}

@media (min-width: 1280px) {
  .top-nav-link { padding: 0.5rem 0.875rem; font-size: 0.875rem; }
}

.top-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.top-nav-link.active {
  background: linear-gradient(to right, #F5B731, #EAB308, #D98E14);
  color: #0A1C12;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.nav-cta-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: linear-gradient(to right, #F5B731, #EAB308, #D98E14);
  color: #0A1C12;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

@media (min-width: 640px) {
  .nav-cta-btn { display: inline-flex; font-size: 0.875rem; padding: 0.5rem 1rem; }
}

.nav-cta-btn:hover { transform: scale(1.05); }

.hamburger-btn-nav {
  padding: 0.5rem;
  margin-left: -0.25rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  color: #D9A52E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-btn-nav:hover { background: rgba(255, 255, 255, 0.1); }

@media (min-width: 1024px) {
  .hamburger-btn-nav { display: none; }
}

/* Page Containers & Hero */
.page-container {
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

@media (min-width: 640px) { .page-container { padding: 4rem 2.5rem; } }
@media (min-width: 1024px) { .page-container { padding: 4rem 4rem; } }
@media (min-width: 1536px) { .page-container { padding: 4rem 6rem; } }

.page-hero {
  position: relative;
  width: 100%;
  background: #173D2B;
  padding: 3.5rem 1.5rem;
  color: #ffffff;
  overflow: hidden;
}

@media (min-width: 640px) { .page-hero { padding: 5rem 2.5rem; } }
@media (min-width: 1024px) { .page-hero { padding: 5rem 4rem; } }

.page-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  pointer-events: none;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1760px;
  margin: 0 auto;
}

/* Form Elements */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #E8E2D7;
  background: rgba(245, 244, 238, 0.5);
  font-size: 0.875rem;
  color: #171B18;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: #173D2B;
  box-shadow: 0 0 0 2px rgba(23, 61, 43, 0.18);
}

.form-input-sm {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #d4d4d4;
  font-size: 0.75rem;
  font-weight: 500;
  background: #ffffff;
}

.form-input-sm:focus {
  outline: none;
  border-color: #06351F;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Utility classes for inline cards, badges & layout consistency */
.badge-status-sold {
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 900;
  background: #e11d48;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid #fda4af;
}

.badge-status-gold {
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(6, 53, 31, 0.9);
  color: #D9A52E;
  border: 1px solid rgba(217, 165, 46, 0.4);
  backdrop-filter: blur(8px);
}

.badge-2d3d {
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 9px;
  font-weight: 900;
  background: rgba(6, 53, 31, 0.95);
  color: #D9A52E;
  border: 1px solid rgba(217, 165, 46, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.badge-2d3d:hover {
  background: #D9A52E;
  color: #06351F;
  transform: scale(1.05);
}

.toast-banner {
  padding: 1rem;
  border-radius: 1rem;
  background: #06351F;
  color: #D9A52E;
  border: 1px solid rgba(217, 165, 46, 0.4);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
}

.pill-switcher {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.pill-btn {
  padding: 0.375rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid rgba(229, 229, 229, 0.9);
  background: #ffffff;
  color: #06351F;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: #ecfdf5;
}

.pill-btn.active {
  background: #06351F;
  color: #ffffff;
  font-weight: 900;
  border-color: #0E5934;
  box-shadow: 0 0 0 2px #0E5934;
}

.filter-pill {
  padding: 0.5rem 1.125rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

.filter-pill.active {
  background: #C6A66B;
  color: #171B18;
  border-color: #C6A66B;
  transform: scale(1.04);
}

.filter-pill-light {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid #E8E2D7;
  background: #ffffff;
  color: #374151;
  transition: all 0.2s ease;
}

.filter-pill-light:hover {
  background: #F5F4EE;
}

.filter-pill-light.active {
  background: #173D2B;
  color: #ffffff;
  border-color: #173D2B;
}

/* ========================================================================= */
/* ICON SIZES & STANDALONE PAGE LAYOUT GRIDS                                 */
/* ========================================================================= */

.icon-12 { width: 0.75rem; height: 0.75rem; flex-shrink: 0; }
.icon-14 { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.icon-16 { width: 1rem; height: 1rem; flex-shrink: 0; }
.icon-18 { width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.icon-20 { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-24 { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon-28 { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.icon-32 { width: 2rem; height: 2rem; flex-shrink: 0; }

.pd-layout-grid,
.split-12-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .pd-layout-grid {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 3.5rem;
  }
  .split-12-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 3.5rem;
    align-items: center;
  }
  .split-12-grid.flip-5-7 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================================================= */
/* ABOUT COMPANY DEFAULT COMPONENT STYLES (Mobile / Tablet / Desktop Base)   */
/* ========================================================================= */

.about-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.25rem;
}

.about-founder-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
}

.about-founder-photo {
  position: relative;
  width: 13rem;
  height: 13rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #D9A52E;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
}

.about-founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-founder-photo-badge {
  position: absolute;
  bottom: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem;
  border-radius: 0.5rem;
  background: rgba(6, 53, 31, 0.95);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  color: #D9A52E;
  border: 1px solid rgba(217, 165, 46, 0.4);
  text-transform: uppercase;
}

.about-founder-info {
  flex: 1;
  min-width: 260px;
}

.about-founder-title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.375rem;
}

.about-founder-sub {
  font-size: 0.875rem;
  font-weight: 700;
  color: #D9A52E;
  margin-bottom: 0.75rem;
}

.about-founder-bio {
  font-size: 0.875rem;
  color: #d4d4d4;
  line-height: 1.65;
  max-width: 42rem;
}

.about-founder-badges {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #d4d4d4;
}

.about-metric-card {
  padding: 1.25rem;
  text-align: center;
  cursor: default;
}

.about-metric-val {
  font-size: 2rem;
  font-weight: 900;
  display: block;
  line-height: 1.1;
}

.about-metric-label {
  font-size: 0.75rem;
  font-weight: 900;
  color: #06351F;
  margin-top: 0.25rem;
}

.about-metric-sub {
  font-size: 10px;
  color: #a3a3a3;
}

.about-pillars-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 0.75rem;
}

.about-pillar-card {
  background: #FAF8F3;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(229, 229, 229, 0.8);
}

.about-pillar-tag {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  color: #D9A52E;
  display: block;
  margin-bottom: 0.25rem;
}

.about-pillar-title {
  font-weight: 900;
  color: #06351F;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.about-pillar-desc {
  font-size: 11px;
  color: #525252;
  line-height: 1.5;
}

/* ========================================================================= */
/* DESKTOP & LAPTOP VIEWPORT FIT: STORE HOME & ABOUT COMPANY ONLY            */
/* Fits complete page within 100vh without vertical scrolling or clipping    */
/* ========================================================================= */

@media (min-width: 1024px) and (min-height: 600px) {
  /* --- 1. STORE HOME FIT --- */
  .app-canvas.tab-home {
    height: 100vh;
    min-height: 100vh;
  }

  .app-canvas.tab-home .app-main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .app-canvas.tab-home .home-hero-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .app-canvas.tab-home .home-hero {
    flex: 1 1 auto;
    min-height: clamp(190px, 31vh, 360px);
    padding: clamp(2.85rem, 6vh, 4.75rem) 2rem clamp(1.25rem, 2.8vh, 2.75rem);
  }

  .app-canvas.tab-home .hero-badge-pill {
    margin-bottom: clamp(0.45rem, 1.1vh, 1rem);
    padding: 0.35rem 1rem;
  }

  .app-canvas.tab-home .hero-logo-emblem {
    width: clamp(34px, 5vh, 56px);
    height: clamp(34px, 5vh, 56px);
  }

  .app-canvas.tab-home .hero-heading-text {
    font-size: clamp(28px, 4.3vh, 46px);
  }

  .app-canvas.tab-home .hero-tamil-text {
    font-size: clamp(24px, 3.8vh, 42px);
  }

  .app-canvas.tab-home .hero-subtitle {
    font-size: clamp(13px, 1.85vh, 18px);
    margin-top: 0.2rem;
  }

  .app-canvas.tab-home .hero-divider-wrap {
    padding: 0.25rem 2rem 0;
  }

  .app-canvas.tab-home .cards-outer-section {
    padding: clamp(0.35rem, 0.85vh, 0.75rem) 2rem clamp(0.25rem, 0.7vh, 0.65rem);
    flex-shrink: 0;
  }

  .app-canvas.tab-home .cards-hub-box {
    padding: clamp(0.45rem, 1vh, 0.75rem);
  }

  .app-canvas.tab-home .cards-hub-header {
    padding-bottom: clamp(0.25rem, 0.6vh, 0.45rem);
  }

  .app-canvas.tab-home .six-cards-grid {
    gap: clamp(0.375rem, 0.85vh, 0.7rem);
  }

  .app-canvas.tab-home .nav-feature-card {
    height: clamp(64px, 9.5vh, 102px);
    padding: 0.375rem 1rem;
  }

  .app-canvas.tab-home .nav-card-icon-circle {
    width: clamp(2.125rem, 4.4vh, 2.85rem);
    height: clamp(2.125rem, 4.4vh, 2.85rem);
  }

  .app-canvas.tab-home .trust-badges-bar {
    padding-top: clamp(0.3rem, 0.8vh, 0.65rem);
    padding-bottom: 0;
  }

  /* --- 2. ABOUT COMPANY FIT --- */
  .app-canvas.tab-about {
    height: 100vh;
    min-height: 100vh;
  }

  .app-canvas.tab-about .app-header.is-inner {
    padding: clamp(0.4rem, 1vh, 0.75rem) 2rem;
  }

  .app-canvas.tab-about .app-main.tab-inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(0.5rem, 1.35vh, 1.25rem) 2rem;
  }

  .app-canvas.tab-about .about-section {
    flex: 1 1 auto;
    min-height: 0;
    justify-content: space-between;
    gap: clamp(0.45rem, 1.2vh, 1.15rem);
    padding-top: 0;
  }

  .app-canvas.tab-about .back-pill-btn {
    padding: clamp(0.3rem, 0.65vh, 0.45rem) 0.85rem;
  }

  .app-canvas.tab-about .about-founder-card {
    padding: clamp(0.7rem, 1.7vh, 1.5rem) 1.5rem;
    gap: clamp(1rem, 2vw, 1.75rem);
  }

  .app-canvas.tab-about .about-founder-photo {
    width: clamp(7.25rem, 15.5vh, 12.25rem);
    height: clamp(7.25rem, 15.5vh, 12.25rem);
    margin: 0;
  }

  .app-canvas.tab-about .about-founder-title {
    font-size: clamp(1.2rem, 2.5vh, 1.75rem);
    margin-bottom: 0.2rem;
  }

  .app-canvas.tab-about .about-founder-sub {
    font-size: clamp(0.75rem, 1.4vh, 0.875rem);
    margin-bottom: clamp(0.3rem, 0.75vh, 0.65rem);
  }

  .app-canvas.tab-about .about-founder-bio {
    font-size: clamp(0.72rem, 1.4vh, 0.875rem);
    line-height: 1.5;
  }

  .app-canvas.tab-about .about-founder-badges {
    margin-top: clamp(0.4rem, 0.9vh, 0.85rem);
    padding-top: clamp(0.4rem, 0.9vh, 0.85rem);
  }

  .app-canvas.tab-about .grid-metrics-4 {
    gap: clamp(0.625rem, 1.2vw, 1rem);
  }

  .app-canvas.tab-about .about-metric-card {
    padding: clamp(0.5rem, 1.25vh, 1.1rem);
  }

  .app-canvas.tab-about .about-metric-val {
    font-size: clamp(1.35rem, 2.75vh, 2rem);
  }

  .app-canvas.tab-about .about-pillars-box {
    padding: clamp(0.6rem, 1.4vh, 1.25rem);
    gap: clamp(0.45rem, 0.95vh, 0.85rem);
  }

  .app-canvas.tab-about .about-pillars-header {
    padding-bottom: clamp(0.3rem, 0.75vh, 0.65rem);
  }

  .app-canvas.tab-about .grid-cards-4 {
    gap: clamp(0.625rem, 1.2vw, 1rem);
  }

  .app-canvas.tab-about .about-pillar-card {
    padding: clamp(0.55rem, 1.15vh, 0.95rem);
  }

  .app-canvas.tab-about .about-pillar-desc {
    line-height: 1.42;
  }

  /* --- SHARED FOOTER & BOTTOM LANDSCAPE COMPACT FIT FOR HOME & ABOUT --- */
  .app-canvas.tab-home .site-footer-inner,
  .app-canvas.tab-about .site-footer-inner {
    padding: clamp(0.3rem, 0.8vh, 0.7rem) 7.5rem clamp(0.3rem, 0.8vh, 0.7rem) 2rem;
    font-size: 0.75rem;
  }

  .app-canvas.tab-home .bottom-landscape,
  .app-canvas.tab-about .bottom-landscape {
    height: clamp(18px, 2.8vh, 32px);
  }
}


