@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400;1,9..40,500;1,9..40,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --primary: #1e293b;
  --primary-light: #334155;
  --primary-dark: #0f172a;
  --secondary: #c9953f;
  --secondary-light: #dbb05c;
  --secondary-dark: #a87a2e;
  --accent: #f0e6cc;
  --accent-light: #faf6ee;
  --text: #1a1a2e;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --bg: #ffffff;
  --bg-alt: #f8f9fc;
  --bg-dark: #0a1628;
  --bg-section: #f5f3ef;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
  --glass-strong: rgba(255,255,255,0.12);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 25px 50px -12px rgba(0,0,0,0.15);
  --shadow-xl: 0 40px 80px -20px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(201, 149, 63, 0.15);
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --container: 1280px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  display: inline-block;
  margin-bottom: 16px;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(201, 149, 63, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 149, 63, 0.4);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
  position: relative;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
  border-radius: 50px;
}

.btn-outline:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 149, 63, 0.3);
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-white {
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  backdrop-filter: blur(20px);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  background: #fff;
}

/* === PREMIUM HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(1.8);
  padding: 12px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.site-header.scrolled .header-logo {
  height: 48px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.header-logo {
  max-width: 300px;
  height: 60px;
  display: flex;
  align-items: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.header-logo img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.logo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  border-radius: 12px;
  flex-shrink: 0;
}

.header-brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.header-firm-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  transition: var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 450px;
}

.header-firm-sub {
  font-size: 14px;
  color: var(--secondary);
  letter-spacing: 1.5px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 450px;
}

/* High visibility contrast before scrolling */
.site-header:not(.scrolled) .header-firm-name {
  color: var(--heading-color, #ffffff);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.site-header:not(.scrolled) .header-firm-sub {
  color: #ffd88f; /* Bright yellow-gold for high visibility */
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.site-header:not(.scrolled) .mobile-toggle span {
  background: #ffffff;
}

.site-header:not(.scrolled) .header-social a {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.site-header:not(.scrolled) .header-social a:hover {
  background: var(--secondary);
  color: #ffffff;
  border-color: transparent;
}

@media (max-width: 640px) {
  .header-firm-name {
    font-size: 16px;
    max-width: 200px;
  }
  .header-firm-sub {
    font-size: 10px;
    max-width: 200px;
  }
  .header-inner {
    gap: 12px;
  }
  .header-left {
    gap: 8px;
  }
  .header-logo {
    max-width: 180px;
    height: 44px;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--secondary-light);
  font-size: 15px;
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.1);
}

.site-header.scrolled .header-social a {
  background: var(--bg-alt);
  color: var(--text-light);
  border-color: transparent;
}

.header-social a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 149, 63, 0.3);
}

.header-social a.disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.15);
}

.site-header.scrolled .header-social a.disabled {
  background: rgba(0,0,0,0.02);
  border-color: rgba(0,0,0,0.06);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }
}

/* === NAVIGATION === */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding-top: 100px;
  transition: var(--transition);
}

.site-nav.scrolled {
  padding-top: 76px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(24px) saturate(1.8);
  border-radius: 16px;
  padding: 0 16px;
  margin: 0 auto;
  max-width: var(--container);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.5);
  min-height: 52px;
}

.site-nav.scrolled .nav-inner {
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.04);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
  background: rgba(201, 149, 63, 0.06);
}

.nav-link .dropdown-icon {
  font-size: 10px;
  transition: var(--transition-fast);
}

@media (min-width: 1025px) {
  .nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
  }

  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    border: 1px solid rgba(0,0,0,0.04);
  }

  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(8px);
  }
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}

.nav-dropdown a:hover {
  background: rgba(201, 149, 63, 0.08);
  color: var(--secondary);
  padding-left: 22px;
}

/* === MENU BACKDROP === */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 997;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(4px);
}

.menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* === MOBILE DRAWER MENU === */
.mobile-menu {
  display: none; /* Hide on desktop by default */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  z-index: 999;
  padding: 100px 24px 40px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0) !important;
}

.mobile-menu .nav-list {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.mobile-menu .nav-link {
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  justify-content: space-between;
  text-transform: uppercase;
}

.mobile-menu .nav-dropdown {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 0 8px 16px !important;
  display: none;
}

.mobile-menu .nav-item.open .nav-dropdown {
  display: block !important;
}

.mobile-menu .nav-item.open .dropdown-icon {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  .site-nav .nav-list {
    display: none;
  }
  .site-nav {
    padding-top: 0;
    position: static;
  }
  .nav-inner {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
}

/* === BANNER SECTION === */
.banner-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary);
}

.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.05) 50%, rgba(15, 23, 42, 0.2) 100%);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 160px 24px 80px;
  width: 100%;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--heading-color, #ffffff);
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 650px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.banner-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.banner-cta:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,149,63,0.3);
}

@media (max-width: 768px) {
  .banner-section {
    min-height: 400px;
  }
  .banner-content {
    padding-top: 140px;
    padding-bottom: 60px;
  }
}

/* === MARQUEE BAR === */
.marquee-bar {
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  position: relative;
  z-index: 1;
}

.marquee-bar marquee {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.marquee-bar strong {
  color: var(--secondary-light);
}

/* === ABOUT SECTION === */
.about-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.3;
}

.about-experience {
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-experience .number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--secondary);
  display: block;
}

.about-experience .label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
}

.about-content .section-title {
  font-size: clamp(28px, 3.5vw, 44px);
}

.about-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
}

.about-feature .icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 149, 63, 0.1);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 16px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-experience {
    left: 20px;
    bottom: 20px;
  }
}

/* === SERVICES SECTION === */
.services-section {
  background: var(--bg-alt);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  z-index: 3;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 149, 63, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-image-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-img {
  transform: scale(1.1) translateY(-4px);
}

.service-icon-floating {
  position: absolute;
  top: 156px; /* Position exactly on the border seam (180px - 24px) */
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-sm);
  z-index: 5;
  transition: var(--transition);
}

.service-card:hover .service-icon-floating {
  transform: translateY(-5px) rotate(360deg);
  background: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-card-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.service-link:hover {
  gap: 12px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* === STATS SECTION === */
.stats-section {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: rgba(201, 149, 63, 0.2);
  background: rgba(255,255,255,0.02);
}

.stat-icon {
  font-size: 28px;
  color: var(--secondary-light);
  margin-bottom: 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === WHY CHOOSE US === */
.why-section {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.why-card {
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.why-card:hover {
  border-color: rgba(201, 149, 63, 0.2);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(201, 149, 63, 0.3);
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.why-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* === TEAM SECTION === */
.team-section {
  background: var(--bg-alt);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.team-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

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

.team-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-info {
  padding: 20px 20px 24px;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.team-role {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* === CLIENTS SECTION === */
.clients-section {
  background: var(--bg);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 60px;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-height: 100px;
}

.client-logo:hover {
  border-color: rgba(201, 149, 63, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.client-logo img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: var(--transition);
}

.client-logo:hover img {
  filter: grayscale(0) opacity(1);
}

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

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

/* === NEWS SECTION === */
.news-section {
  background: var(--bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.news-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

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

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.news-card:hover .news-image {
  transform: scale(1.05);
}

.news-body {
  padding: 24px;
}

.news-date {
  font-size: 12px;
  color: var(--secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.news-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  gap: 12px;
}

@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* === UPDATES SECTION (full-width news & notifications) === */
.updates-section {
  background: var(--bg-alt);
}

.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.update-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.update-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 149, 63, 0.12);
}

.update-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--secondary);
}

.update-header i {
  font-size: 26px;
  color: var(--secondary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,149,63,0.08);
  border-radius: 12px;
}

.update-header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.update-scroll {
  position: relative;
}

.update-scroll marquee {
  width: 100%;
  display: block;
}

.update-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0 4px;
}

.update-link {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  margin: 4px 0;
  transition: var(--transition-fast);
  line-height: 1.5;
}

.update-link:hover {
  background: rgba(201,149,63,0.08);
  color: var(--secondary);
  padding-left: 18px;
}

@media (max-width: 768px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }
}

/* === CTA SECTION === */
.cta-section {
  padding: 120px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 149, 63, 0.06) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.cta-text {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === CONTACT SECTION === */
.contact-section {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 149, 63, 0.1);
  border-radius: 50%;
  color: var(--secondary);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary);
}

.contact-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* === FOOTER === */
.site-footer {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  transition: var(--transition-fast);
  border: 1px solid rgba(255,255,255,0.06);
}

.footer-social a:hover {
  background: var(--secondary);
  color: #fff;
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-social a.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.06);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--secondary-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact p i {
  color: var(--secondary);
  margin-top: 3px;
  width: 16px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

.footer-copy a {
  color: var(--secondary-light);
}

.footer-hit {
  font-size: 13px;
  color: rgba(255,255,255,0.2);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* === SIDEBAR === */
.sidebar-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--secondary);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-list a {
  font-size: 14px;
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: var(--transition-fast);
  display: block;
  line-height: 1.5;
}

.sidebar-list a:hover {
  background: rgba(201, 149, 63, 0.08);
  color: var(--secondary);
  padding-left: 20px;
}

.sidebar-list .date-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 0;
}

/* === PAGE HEADER === */
.page-header {
  padding: 200px 0 100px;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 26, 50, 0.9) 0%, rgba(12, 26, 50, 0.7) 100%);
  z-index: 0;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 400;
  color: var(--heading-color, #ffffff);
  margin-bottom: 12px;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

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

.page-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 8px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.page-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(201,149,63,0.12);
  border: 1px solid rgba(201,149,63,0.2);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.page-breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}

.page-breadcrumb a {
  color: var(--secondary-light);
}

/* === ABOUT INTRO === */
.about-intro {
  background: var(--bg);
  padding-bottom: 60px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-intro-image {
  position: relative;
}

.intro-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.intro-image-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  transition: var(--transition-slow);
}

.intro-image-wrap:hover img {
  transform: scale(1.03);
}

.intro-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.25;
}

.intro-experience-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.intro-exp-number {
  font-family: var(--font-heading);
  font-size: 34px;
  color: var(--secondary);
  display: block;
  font-weight: 400;
  line-height: 1;
}

.intro-exp-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 4px;
}

.about-intro-content .section-title {
  font-size: clamp(28px, 3.5vw, 42px);
}

.about-text-content {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.9;
  margin-top: 8px;
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.about-stat-item {
  text-align: center;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--secondary);
  display: block;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
}

.about-stat-lbl {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .intro-experience-card {
    left: 20px;
    bottom: 20px;
  }
  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* === MISSION / VISION === */
.mv-section {
  background: var(--bg-alt);
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,149,63,0.12);
}

.mv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: rgba(201,149,63,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--secondary);
  transition: var(--transition);
}

.mv-card:hover .mv-icon {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.1);
}

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* === VALUES SECTION === */
.about-values {
  background: var(--bg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid rgba(0,0,0,0.04);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,149,63,0.15);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(201,149,63,0.3);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* === ABOUT TEAM === */
.about-team {
  background: var(--bg-alt);
}

.team-grid-single {
  max-width: 500px;
  margin: 60px auto 0;
}

.team-grid-single .team-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

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

.team-grid-single .team-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.team-grid-single .team-info {
  padding: 28px;
  text-align: center;
}

.team-grid-single .team-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
}

.team-grid-single .team-role {
  font-size: 14px;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-grid-single .team-brief {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
  margin-top: 16px;
}

/* === MAIN CONTENT === */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 60px 0;
}

@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

.main-content-area {
  padding: 40px 0;
}

.content-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
}

.content-card h1 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
}

.content-card .txt {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.9;
}

/* === ANIMATIONS — CLEAN SCROLL REVEALS === */
.reveal,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-stagger {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal {
  transform: translateY(50px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-60px);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(60px);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.85);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-stagger {
  transform: translateY(40px);
}
.reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === PAGE WRAPPER === */
.page-wrapper {
  padding-top: 0;
  overflow-x: hidden;
  width: 100%;
}

/* === INNER PAGE LAYOUT === */
.inner-page {
  background: var(--bg-alt);
  min-height: 60vh;
}

/* === TABLE STYLING === */
.table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

.premium-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.premium-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--primary);
  text-align: left;
}

.premium-table td {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.premium-table tr:last-child td {
  border-bottom: none;
}

.premium-table tr:hover td {
  background: rgba(201, 149, 63, 0.03);
}

/* === FORMS === */
.premium-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.premium-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.premium-form label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.premium-form .form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-fast);
  background: var(--bg);
}

.premium-form .form-control:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 149, 63, 0.1);
}

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

/* === JOB CARD === */
.job-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.04);
  margin-bottom: 20px;
  transition: var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 149, 63, 0.15);
}

.job-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.job-card .job-id {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.job-card .job-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.job-card .job-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.job-card .job-apply:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

/* === ARTICLE LIST === */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-item {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition);
}

.article-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 149, 63, 0.15);
}

.article-item h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.article-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* === PRELOADER === */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-social {
    display: none; /* Hide header social icons on mobile header for clean layout */
  }
  .page-header {
    padding: 130px 0 60px; /* Thinner header area on mobile */
  }
  .modal-card {
    margin: 20px 12px !important;
    padding: 24px 16px !important;
    border-radius: var(--radius-md) !important;
  }
  .main-layout {
    padding: 30px 0;
    gap: 32px;
  }
  .section-padding {
    padding: 60px 0;
  }
  .banner-section {
    min-height: 420px;
  }
  .banner-content {
    padding: 120px 16px 50px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    gap: 32px;
  }
  .content-card {
    padding: 24px 16px;
  }
  .hero-title {
    font-size: 30px;
  }
  .section-title {
    font-size: 26px;
    margin-bottom: 12px;
  }
  .service-card-body {
    padding: 24px 20px;
  }
  .service-image-wrap {
    height: 150px;
  }
  .service-icon-floating {
    top: 126px;
  }
  .header-logo + .header-brand {
    display: flex;
  }
  .intro-image-wrap img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr; /* 1 column stats on mobile to prevent overlapping */
    gap: 16px;
  }
  .stat-item {
    padding: 20px 16px;
  }
  .about-stats-row {
    grid-template-columns: 1fr; /* 1 column about stats on mobile */
    gap: 16px;
  }
  .about-stat-item {
    padding: 12px;
    background: var(--bg-alt);
    border-radius: var(--radius-xs);
  }
  .about-experience {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .intro-experience-card {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
  background: var(--text-lighter);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-light);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.back-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-4px);
}

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.testimonial-card .quote {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .author {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-card .role {
  font-size: 13px;
  color: var(--secondary);
  font-weight: 500;
}

/* === CONTACT CARDS === */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.contact-detail-card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 149, 63, 0.15);
}

.contact-detail-card .contact-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 149, 63, 0.08);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.contact-detail-card:hover .contact-icon {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.05);
}

.contact-detail-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-detail-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
  word-break: break-all;
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* === ADDED FOR MOBILE RESPONSIVENESS AND TABLE SUPPORT === */
.table-responsive {
  display: block !important;
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 1rem !important;
}

.table-responsive table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
}

/* Force CMS/User content elements (images, tables) to stay inside containers on all pages */
.about-text-content img,
.about-text-content table,
.coln img,
.coln table,
.team-brief img,
.team-brief table,
.main img,
.main table,
.editor-content img,
.editor-content table,
.content-card img,
.content-card table,
.main-content-area img,
.main-content-area table {
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
}

/* Stacking experience cards on mobile and tablet to prevent overflow */
@media (max-width: 768px) {
  .intro-experience-card {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    margin-top: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .about-experience {
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    margin-top: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}