/* =====================================================
   ELISTAR GROUP — MAIN DESIGN SYSTEM
   www.elistargroup.com
   ===================================================== */

/* ==== GOOGLE FONTS ==== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==== CSS CUSTOM PROPERTIES ==== */
:root {
  /* Brand Colors */
  --clr-primary: #1a2472;
  --clr-primary-lt: #2a3490;
  --clr-primary-dk: #0f1650;
  --clr-accent: #2ea84f;
  --clr-accent-lt: #3dbe61;
  --clr-accent-dk: #1e8f38;
  --clr-sky: #1a8fd1;
  --clr-gold: #f0a500;

  /* Concern Colors */
  --clr-green-city: #2ea84f;
  --clr-rupo: #e53935;
  --clr-mega-town: #43a047;
  --clr-lifestyle: #1565c0;
  --clr-agro: #558b2f;
  --clr-food: #0288d1;

  /* Neutrals */
  --clr-white: #ffffff;
  --clr-light: #f7f9ff;
  --clr-muted: #edf1fb;
  --clr-border: #dde3f4;
  --clr-text: #111827;
  --clr-text-muted: #6b7280;
  --clr-dark: #0a0f2c;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.5rem;
  --fs-4xl: 3.5rem;
  --fs-hero: clamp(2.5rem, 5vw, 5rem);

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 0.75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 5rem;
  --sp-4xl: 7rem;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(26, 36, 114, 0.07);
  --sh-sm: 0 2px 8px rgba(26, 36, 114, 0.10);
  --sh-md: 0 6px 24px rgba(26, 36, 114, 0.13);
  --sh-lg: 0 16px 48px rgba(26, 36, 114, 0.18);
  --sh-xl: 0 30px 80px rgba(26, 36, 114, 0.24);
  --sh-glow: 0 0 30px rgba(46, 168, 79, 0.35);

  /* Transitions */
  --tr-fast: 0.18s ease;
  --tr-base: 0.3s ease;
  --tr-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1280px;
  --container-pad: 1.5rem;

  /* Nav height */
  --nav-h: 80px;
}

/* ==== RESET ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

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

/* ==== TYPOGRAPHY ==== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-primary);
}

h1 {
  font-size: var(--fs-4xl);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: var(--fs-xl);
}

h5 {
  font-size: var(--fs-lg);
}

h6 {
  font-size: var(--fs-md);
}

p {
  color: var(--clr-text-muted);
  line-height: 1.75;
}

/* ==== LAYOUT ==== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-3xl);
}

.section--lg {
  padding-block: var(--sp-4xl);
}

.section--sm {
  padding-block: var(--sp-2xl);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-xl);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.align-center {
  align-items: center;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--sp-sm);
}

.gap-md {
  gap: var(--sp-md);
}

.gap-lg {
  gap: var(--sp-lg);
}

.gap-xl {
  gap: var(--sp-xl);
}

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

.text-white {
  color: var(--clr-white);
}

.text-primary {
  color: var(--clr-primary);
}

.text-accent {
  color: var(--clr-accent);
}

.text-muted {
  color: var(--clr-text-muted);
}

/* ==== SECTION HEADERS ==== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--sp-md);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 3px;
  background: var(--clr-accent);
  border-radius: var(--r-full);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--clr-primary);
  margin-bottom: var(--sp-md);
}

.section-title span {
  color: var(--clr-accent);
}

.section-sub {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--sp-2xl);
}

/* ==== BUTTONS ==== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: all var(--tr-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(26, 36, 114, 0.35);
}

.btn-primary:hover {
  background: var(--clr-primary-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 36, 114, 0.45);
}

.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(46, 168, 79, 0.35);
}

.btn-accent:hover {
  background: var(--clr-accent-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(46, 168, 79, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}

.btn-outline-primary:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-md);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
}

/* ==== BADGE / TAG ==== */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

.badge-primary {
  background: #e0e7ff;
  color: var(--clr-primary);
}

/* ==== CARDS ==== */
.card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: all var(--tr-base);
  border: 1px solid var(--clr-border);
}

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

.card-body {
  padding: var(--sp-xl);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ==== GLASS CARD ==== */
.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-lg);
}

/* ==== DIVIDER ==== */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-sky));
  border-radius: var(--r-full);
  margin-bottom: var(--sp-lg);
}

.divider-center {
  margin-inline: auto;
}

/* ==== ICON BOXES ==== */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  font-size: 1.75rem;
  flex-shrink: 0;
}

.icon-box-sm {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  font-size: 1.25rem;
}

.icon-box-primary {
  background: #e8eaff;
  color: var(--clr-primary);
}

.icon-box-accent {
  background: #d4f5e2;
  color: var(--clr-accent);
}

.icon-box-sky {
  background: #daeeff;
  color: var(--clr-sky);
}

.icon-box-gold {
  background: #fff3d0;
  color: var(--clr-gold);
}

/* ==== STATS COUNTER ==== */
.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--sp-xs);
}

/* ==== FORM ELEMENTS ==== */
.form-group {
  margin-bottom: var(--sp-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: var(--sp-xs);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1.125rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--r-md);
  font-size: var(--fs-base);
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(26, 36, 114, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

/* ==== BREADCRUMB ==== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-lg);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--tr-fast);
}

.breadcrumb a:hover {
  color: var(--clr-accent-lt);
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* ==== OVERLAY UTILS ==== */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 15, 44, 0.85) 0%, rgba(26, 36, 114, 0.5) 100%);
}

.overlay-light {
  background: linear-gradient(180deg, rgba(10, 15, 44, 0.4) 0%, rgba(10, 15, 44, 0.8) 100%);
}

/* ==== BACKGROUND HELPERS ==== */
.bg-primary {
  background-color: var(--clr-primary);
}

.bg-accent {
  background-color: var(--clr-accent);
}

.bg-dark {
  background-color: var(--clr-dark);
}

.bg-light {
  background-color: var(--clr-light);
}

.bg-muted {
  background-color: var(--clr-muted);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-primary) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--clr-accent-dk) 0%, var(--clr-accent) 100%);
}

/* ==== SHAPES / DECORATIONS ==== */
.shape-dots {
  position: absolute;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* ==== TICKER / MARQUEE ==== */
.ticker-wrapper {
  background: var(--clr-primary);
  overflow: hidden;
  padding: 0.6rem 0;
}

.ticker-label {
  background: var(--clr-accent);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  padding: 0.25rem 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.85);
}

.ticker-item::before {
  content: '◆';
  color: var(--clr-accent);
  font-size: 0.5rem;
}

/* ==== PROGRESS BAR ==== */
.progress-bar {
  height: 8px;
  background: var(--clr-muted);
  border-radius: var(--r-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-accent));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==== TESTIMONIAL ==== */
.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  box-shadow: var(--sh-md);
  border: 1px solid var(--clr-border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 6rem;
  font-family: serif;
  color: var(--clr-accent);
  opacity: 0.15;
  position: absolute;
  top: -1rem;
  left: var(--sp-xl);
  line-height: 1;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--clr-accent);
}

.testimonial-rating {
  color: var(--clr-gold);
  font-size: var(--fs-sm);
}

/* ==== TAB SYSTEM ==== */
.tab-nav {
  display: flex;
  gap: var(--sp-sm);
  border-bottom: 2px solid var(--clr-border);
  margin-bottom: var(--sp-2xl);
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--clr-primary);
}

.tab-btn.active {
  color: var(--clr-primary);
  border-bottom-color: var(--clr-primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ==== ACCORDION ==== */
.accordion-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-sm);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: background var(--tr-fast);
  text-align: left;
}

.accordion-header:hover {
  background: var(--clr-light);
}

.accordion-header.active {
  background: var(--clr-muted);
  color: var(--clr-primary);
}

.accordion-icon {
  transition: transform var(--tr-base);
  font-size: 1.2rem;
}

.accordion-header.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-base);
}

.accordion-body-inner {
  padding: var(--sp-lg) var(--sp-xl);
  color: var(--clr-text-muted);
}

/* =====================
   NAVIGATION
   ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all var(--tr-base);
  background: var(--clr-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.navbar.transparent {
  background: var(--clr-white);
}

.navbar.scrolled {
  background: var(--clr-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-inline: var(--container-pad);
  max-width: var(--container-max);
  margin-inline: auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 1;
  /* Allow it to shrink to prevent pushing hamburger off-screen */
  min-width: 0;
  /* Let flexbox shrink it properly */
}

.navbar-logo img {
  height: 60px;
  width: auto;
  max-width: 100%;
  /* Prevent horizontal overflow */
  object-fit: contain;
}

.navbar-logo-text,
.navbar-logo-sub {
  display: none;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 1rem;
  height: var(--nav-h);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-primary);
  transition: color var(--tr-fast);
  white-space: nowrap;
}

.navbar.transparent .nav-link {
  color: var(--clr-white);
}

.navbar.transparent .nav-link:hover,
.nav-link:hover,
.nav-link.active {
  color: var(--clr-accent);
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--tr-fast);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 220px;
  background: var(--clr-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--tr-base);
  overflow: hidden;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--tr-fast);
}

.dropdown-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--clr-white);
  padding-left: 1.5rem;
}

.dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 640px;
  background: var(--clr-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: var(--sp-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr-base);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
}

.mega-link {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--r-md);
  transition: all var(--tr-fast);
  border: 1px solid transparent;
}

.mega-link:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

.mega-link-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.mega-link-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mega-link-name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-white);
  display: block;
}

.mega-link-cat {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  display: block;
}

/* Nav CTA Button */
.nav-cta {
  padding: 0.5rem 1.375rem;
  background: var(--clr-accent);
  color: var(--clr-white) !important;
  border-radius: var(--r-full);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 700;
  height: auto !important;
  transition: all var(--tr-base);
}

.nav-cta:hover {
  background: var(--clr-accent-lt);
  transform: translateY(-1px);
  box-shadow: var(--sh-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px 0 8px 8px;
  /* Extra padding for easy touch */
  flex-shrink: 0;
  /* Keep hamburger intact */
  z-index: 1050;
  /* Ensure it stays above everything */
  position: relative;
  /* Add positioning to use z-index */
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--clr-primary);
  border-radius: 3px;
  transition: all var(--tr-base);
}

.navbar.transparent .hamburger span {
  background: var(--clr-white);
  /* White lines on transparent header */
}

.hamburger.open span {
  background: var(--clr-primary);
  /* Dark lines when menu is open */
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--clr-white);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  transform: translateY(-110%);
  transition: transform var(--tr-slow);
  z-index: 999;
  padding: var(--sp-xl) var(--container-pad) var(--sp-2xl);
  border-top: 1px solid var(--clr-border);
  box-shadow: 0 10px 30px rgba(26, 36, 114, 0.1);
}

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

.mobile-nav-item {
  border-bottom: 1px solid var(--clr-border);
  padding-block: var(--sp-sm);
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--clr-primary);
  padding-block: var(--sp-xs);
  transition: color var(--tr-fast);
}

.mobile-nav-link:hover {
  color: var(--clr-accent);
}

.mobile-sub-menu {
  padding-left: var(--sp-md);
  margin-top: var(--sp-sm);
  display: none;
}

.mobile-sub-menu.open {
  display: block;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.5rem 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--tr-fast);
}

.mobile-sub-link:hover {
  color: var(--clr-primary);
}

.mobile-actions {
  margin-top: var(--sp-xl);
  display: flex;
  gap: var(--sp-md);
}

/* =====================
   PAGE HERO (inner pages)
   ===================== */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--clr-primary-dk) 0%, var(--clr-primary) 60%, #1a5075 100%);
  padding-top: var(--nav-h);
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(46, 168, 79, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(26, 143, 209, 0.15) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--clr-white);
  font-weight: 800;
  margin-bottom: var(--sp-sm);
}

.page-hero-subtitle {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--clr-white);
  color: var(--clr-text-muted);
  padding-top: var(--sp-3xl);
  border-top: 1px solid var(--clr-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.footer-logo img {
  height: 60px;
  width: auto;
  max-width: none;
}

.footer-logo-text,
.footer-logo-sub {
  display: none;
}

.footer-desc {
  font-size: var(--fs-sm);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
  color: var(--clr-text-muted);
}

.footer-socials {
  display: flex;
  gap: var(--sp-sm);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  transition: all var(--tr-base);
  font-size: 1rem;
}

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

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--sp-lg);
  position: relative;
  padding-bottom: var(--sp-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: var(--r-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-link {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.footer-link::before {
  content: '→';
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.footer-link:hover {
  color: var(--clr-accent);
  padding-left: var(--sp-xs);
}

.footer-link:hover::before {
  opacity: 1;
}

.footer-concern-link {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: all var(--tr-fast);
  margin-bottom: var(--sp-sm);
}

.footer-concern-link:hover {
  color: var(--clr-primary);
}

.footer-concern-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-address {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
  transition: color var(--tr-fast);
}

.footer-contact-item:hover {
  color: var(--clr-accent);
}

.footer-map-mini {
  width: 100%;
  height: 130px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  margin-top: var(--sp-md);
}

.footer-map-mini iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(10%);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-block: var(--sp-lg);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.footer-copy span {
  color: var(--clr-primary);
  font-weight: 700;
}

.footer-legal {
  display: flex;
  gap: var(--sp-lg);
}

.footer-legal a {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  transition: color var(--tr-fast);
}

.footer-legal a:hover {
  color: var(--clr-accent);
}

/* =====================
   FLOATING CTAs
   ===================== */
.float-ctas {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  z-index: 900;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-lg);
  transition: all var(--tr-base);
  font-size: 1.4rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-whatsapp {
  background: #25d366;
  color: var(--clr-white);
}

.float-call {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.float-top {
  background: var(--clr-accent);
  color: var(--clr-white);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(10px);
}

.float-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.float-tooltip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--clr-dark);
  color: var(--clr-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--tr-fast);
  pointer-events: none;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* =====================
   PHOTO GALLERY
   ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 44, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  font-size: 1.3rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

/* =====================
   CONCERN HERO (shared)
   ===================== */
.concern-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--sp-3xl);
  overflow: hidden;
}

.concern-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}

.concern-hero:hover .concern-hero-bg {
  transform: scale(1.04);
}

.concern-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 44, 0.2) 0%, rgba(10, 15, 44, 0.85) 100%);
}

.concern-hero-content {
  position: relative;
  z-index: 2;
}

.concern-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-md);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-full);
  padding: 0.4rem 1.25rem 0.4rem 0.5rem;
  margin-bottom: var(--sp-lg);
}

.concern-brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.concern-brand-text {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-white);
}

.concern-hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--sp-lg);
}

.concern-hero-desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.78);
  max-width: 600px;
  margin-bottom: var(--sp-xl);
}

/* =====================
   CONCERN FEATURES GRID
   ===================== */
.feature-card {
  padding: var(--sp-xl);
  border-radius: var(--r-lg);
  border: 1px solid var(--clr-border);
  background: var(--clr-white);
  transition: all var(--tr-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

/* =====================
   BACK-TO-PARENT LINK
   ===================== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--clr-accent-lt);
  margin-bottom: var(--sp-lg);
  transition: gap var(--tr-fast);
}

.back-link:hover {
  gap: var(--sp-sm);
}

/* =====================
   RESPONSIVE BREAKPOINTS
   ===================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }

  .nav-menu {
    display: none;
  }

  .navbar-inner {
    padding-inline: 1.25rem;
  }

  .hamburger {
    display: flex;
    padding-right: 8px;
  }
  
  .navbar-logo img {
    transform: translateX(4px);
  }

  /* Force solid white navbar and dark hamburger lines on mobile */
  .navbar,
  .navbar.transparent {
    background: var(--clr-white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  }

  .navbar .hamburger span,
  .navbar.transparent .hamburger span {
    background: var(--clr-primary) !important;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .mega-menu {
    width: 95vw;
    left: 0;
    transform: none;
  }

  .section {
    padding-block: var(--sp-2xl);
  }

  .section--lg {
    padding-block: var(--sp-3xl);
  }

  h2 {
    font-size: var(--fs-2xl);
  }

  h3 {
    font-size: var(--fs-xl);
  }

  .float-ctas {
    bottom: 1rem;
    right: 1rem;
  }

  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

  h1 {
    font-size: var(--fs-2xl);
  }

  .btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: var(--fs-base);
  }
}

/* ==== UTILITY — HIDE/SHOW ==== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.mt-sm {
  margin-top: var(--sp-sm);
}

.mt-md {
  margin-top: var(--sp-md);
}

.mt-lg {
  margin-top: var(--sp-lg);
}

.mt-xl {
  margin-top: var(--sp-xl);
}

.mb-sm {
  margin-bottom: var(--sp-sm);
}

.mb-md {
  margin-bottom: var(--sp-md);
}

.mb-lg {
  margin-bottom: var(--sp-lg);
}

.mb-xl {
  margin-bottom: var(--sp-xl);
}

.w-full {
  width: 100%;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}