/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --dark:       #33131E;
  --green-mid:  #5C2436;
  --teal:       #C08552;
  --teal-light: #F7EEE6;
  --light:      #FAF6F4;
  --white:      #FFFFFF;
  --text:       #2A1720;
  --success:    #1a7f37;
  --dark-rgb:       51,19,30;
  --mid-rgb:        92,36,54;
  --teal-rgb:       192,133,82;
  --teal-light-rgb: 247,238,230;
  --font-head:  'Playfair Display', serif;
  --font-body:  'Inter', sans-serif;
  /* Unique background images per section */
  --bg-hero:        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
  --bg-stats:       url('https://images.unsplash.com/photo-1444653614773-995cb1ef9efa?w=1920&q=80');
  --bg-why:         url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
  --bg-cta:         url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=1920&q=80');
  --bg-page-about:  url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=1920&q=80');
  --bg-page-svc:    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920&q=80');
  --bg-page-contact:url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&q=80');
  --bg-page-ind:    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1920&q=80');
  --bg-page-why:    url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1920&q=80');
  --bg-dark-svc:    url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
  --bg-dark:    url('https://images.unsplash.com/photo-1560472355-536de3962603?w=1920&q=80');
  --bg-page:    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920&q=80');

  /* Fluid type scale */
  --text-xs:   clamp(0.75rem, 1.5vw, 0.8rem);
  --text-sm:   clamp(0.85rem, 1.8vw, 0.9rem);
  --text-base: clamp(0.95rem, 2vw, 1rem);
  --text-lg:   clamp(1rem, 2.2vw, 1.125rem);
  --text-xl:   clamp(1.1rem, 2.5vw, 1.25rem);
  --text-2xl:  clamp(1.3rem, 3vw, 1.5rem);
  --text-3xl:  clamp(1.6rem, 3.5vw, 2rem);
  --text-4xl:  clamp(2rem, 4vw, 2.5rem);
  --text-5xl:  clamp(2.4rem, 5vw, 3.2rem);
  --text-hero: clamp(2.8rem, 6vw, 4.5rem);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

/* Ensure fixed navbar does not overlay page content */
body { padding-top: 80px; }

h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-5xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-4xl);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.25;
}

h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1.3;
}

h5 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.35;
}

a { text-decoration: none; }

/* Accessible focus ring for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.bg-dark-green {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.95) 0%, rgba(var(--mid-rgb),0.90) 100%),
    var(--bg-why) center/cover no-repeat;
}

.bg-green-mid   { background-color: var(--green-mid); }
.bg-teal-light  { background-color: var(--teal-light); }
.bg-light-green { background-color: var(--light); }
.text-teal      { color: var(--teal) !important; }
.text-dark-green{ color: var(--dark); }

.section-pad    { padding: 70px 0; }
.section-pad-sm { padding: 50px 0; }
.section-pad-lg { padding: 100px 0; }

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 12px;
}

.letter-spacing-3 { letter-spacing: 3px; }

.section-title {
  font-size: var(--text-4xl);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}

.section-title .highlight {
  color: var(--teal);
}

.divider-teal {
  width: 50px;
  height: 3px;
  background: var(--teal);
  border: none;
  margin: 0 0 24px 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-teal {
  background-color: var(--teal);
  color: var(--dark);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  border: 2px solid var(--teal);
  border-radius: 6px;
  padding: 12px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-teal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.btn-teal:hover::after {
  transform: translateX(0);
}

.btn-teal:hover {
  background-color: transparent;
  color: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--teal-rgb),0.3);
}

.btn-outline-teal {
  background-color: transparent;
  color: var(--teal);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.5px;
  border: 2px solid var(--teal);
  border-radius: 6px;
  padding: 12px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-outline-teal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}

.btn-outline-teal > * {
  position: relative;
  z-index: 1;
}

.btn-outline-teal:hover::after {
  transform: translateX(0);
}

.btn-outline-teal:hover {
  background-color: var(--teal);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--teal-rgb),0.3);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: var(--green-mid);
  padding: 0.5rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  z-index: 1050;
}

#mainNav.scrolled {
  background: var(--green-mid);
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.brand-text {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.brand-amp {
  color: var(--teal);
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: block;
  line-height: 1;
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  position: relative;
  transition: color 0.3s;
}

#mainNav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--teal);
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
  transform: scaleX(1);
}

.about-brand-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 60px rgba(0,0,0,0.18);
}

.about-brand-card .brand-text {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 0.95;
}

.about-brand-card .brand-amp {
  color: var(--teal);
}

.about-brand-card .brand-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 0.35rem;
}

.dropdown-menu.dropdown-menu-dark {
  background: var(--dark);
  border: 1px solid rgba(var(--teal-rgb),0.2);
  border-radius: 6px;
  padding: 8px 0;
  min-width: 260px;
}

.dropdown-menu.dropdown-menu-dark .dropdown-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  padding: 9px 20px;
  transition: all 0.2s;
}

.dropdown-menu.dropdown-menu-dark .dropdown-item:hover {
  background: rgba(var(--teal-rgb),0.1);
  color: var(--teal);
  padding-left: 26px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.92) 0%, rgba(var(--mid-rgb),0.85) 100%),
    var(--bg-hero) center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--teal-rgb),0.12) 0%, transparent 70%);
  animation: pulse-glow 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--mid-rgb),0.3) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes pulse-glow {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1;   }
}

.hero-title {
  font-size: var(--text-hero);
  color: var(--white);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-title .highlight {
  color: var(--teal);
  /* display: block; */
}

.hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  line-height: 1.8;
  max-width: 520px;
  letter-spacing: 0.01em;
}

.hero-badge {
  display: inline-block;
  background: rgba(var(--teal-rgb),0.15);
  border: 1px solid rgba(var(--teal-rgb),0.3);
  color: var(--teal);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-graphic {
  position: relative;
  z-index: 2;
}

/* Glassmorphism hero cards */
.hero-card-float {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--teal-rgb),0.25);
  border-radius: 16px;
  padding: 22px 26px;
  color: var(--white);
  margin-bottom: 16px;
  animation: float 4s ease-in-out infinite alternate;
  transition: all 0.3s ease;
}

.hero-card-float:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(var(--teal-rgb),0.5);
  animation-play-state: paused;
}

.hero-card-float:nth-child(2) { animation-delay: 1s; }
.hero-card-float:nth-child(3) { animation-delay: 2s; }

@keyframes float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-section {
  background:
    linear-gradient(135deg, rgba(var(--mid-rgb),0.93) 0%, rgba(var(--dark-rgb),0.95) 100%),
    var(--bg-stats) center/cover no-repeat;
  background-attachment: local, fixed;
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
  background: rgba(var(--teal-rgb),0.06);
  border-radius: 12px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 8px;
  display: block;
  font-weight: 500;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid rgba(var(--teal-rgb),0.12);
  border-radius: 16px;
  padding: 36px 30px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

/* Top gradient border on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(var(--dark-rgb),0.15);
  border-color: rgba(var(--teal-rgb),0.3);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 56px; height: 56px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: all 0.35s;
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
}

.service-card h5 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.service-card p {
  font-size: var(--text-sm);
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card .learn-more {
  color: var(--teal);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: gap 0.2s;
}

.service-card .learn-more:hover { text-decoration: underline; }

/* ============================================================
   WHY A&Y SECTION
   ============================================================ */
.why-item {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.why-icon {
  width: 50px; height: 50px;
  background: rgba(var(--teal-rgb),0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.why-item:hover .why-icon {
  background: rgba(var(--teal-rgb),0.2);
  transform: scale(1.08);
}

.why-item h5 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
}

.why-item p {
  font-size: var(--text-sm);
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   CLIENT TYPE CARDS
   ============================================================ */
.client-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(var(--dark-rgb),0.12);
  border-color: rgba(var(--teal-rgb),0.2);
}

.client-card i {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 16px;
  display: block;
}

.client-card h5 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: 8px;
}

.client-card p {
  font-size: var(--text-sm);
  color: #6b7280;
  margin: 0;
}

/* ============================================================
   SOFTWARE LOGOS STRIP
   ============================================================ */
.logos-section {
  /* background: var(--light); */
  padding: 50px 0;
}

.logo-item {
  height: 52px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(var(--teal-rgb),0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.3rem;
  margin: 0 auto 12px;
  transition: all 0.3s;
}
.logo-item:hover { background: var(--teal); color: white; }
/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background:
    linear-gradient(135deg, rgba(var(--teal-light-rgb),0.96) 0%, rgba(255,255,255,0.92) 100%),
    var(--bg-cta) center/cover no-repeat;
  background-attachment: local, fixed;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(var(--teal-rgb),0.08);
  pointer-events: none;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    var(--bg-page) center/cover no-repeat;
  padding: 140px 0 80px;
  min-height: 40vh;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
}

.breadcrumb-item a { color: rgba(255,255,255,0.6); }
.breadcrumb-item.active { color: var(--teal); }
.breadcrumb-divider { color: rgba(255,255,255,0.4); }

/* ============================================================
   CREDENTIALS BAR — Glassmorphism
   ============================================================ */
.section-pad-sm.bg-dark-green .credential-item,
.section-pad-sm.bg-dark-green .py-3 {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--teal-rgb),0.15);
  border-radius: 12px;
  padding: 20px 12px !important;
  transition: all 0.3s ease;
}

.section-pad-sm.bg-dark-green .credential-item:hover,
.section-pad-sm.bg-dark-green .py-3:hover {
  background: rgba(var(--teal-rgb),0.1);
  border-color: rgba(var(--teal-rgb),0.3);
}

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-detail-icon {
  width: 80px; height: 80px;
  background: var(--teal-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 2rem;
  margin-bottom: 24px;
}

.key-area-card {
  border: 1px solid rgba(var(--teal-rgb),0.25);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  background: var(--white);
  transition: all 0.3s;
}

.key-area-card:hover {
  border-color: var(--teal);
  background: var(--teal-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(var(--teal-rgb),0.12);
}

.key-area-card i {
  font-size: 1.6rem;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
  transition: color 0.3s;
}
.key-area-card:hover i {
  color: var(--white);
}

.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: var(--text-base);
  color: var(--text);
  border-bottom: 1px solid #f0f0f0;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 40px;
  box-shadow: 0 10px 50px rgba(var(--dark-rgb),0.08);
}

.form-control, .form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: border-color 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(var(--teal-rgb),0.15);
  outline: 2px solid var(--teal);
  outline-offset: 0;
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
/* .bg-dark-green applied on footer provides gradient + background image */

.footer-heading {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-links { padding: 0; list-style: none; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: var(--text-sm);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal); }

/* ============================================================
   ALERT MESSAGES (contact form feedback)
   ============================================================ */
.alert-success-custom {
  background: rgba(var(--teal-rgb),0.1);
  border: 1px solid var(--teal);
  color: var(--dark);
  border-radius: 8px;
  padding: 16px 20px;
}

.alert-error-custom {
  background: rgba(239,68,68,0.1);
  border: 1px solid #ef4444;
  color: #b91c1c;
  border-radius: 8px;
  padding: 16px 20px;
}

/* ============================================================
   RESPONSIVE OVERRIDES — LG (max 1199px)
   ============================================================ */
@media (max-width: 1199px) {
  :root {
    --text-hero: clamp(2.4rem, 5vw, 3.5rem);
    --text-5xl:  clamp(2rem, 4.5vw, 2.8rem);
  }
}

/* ============================================================
   RESPONSIVE OVERRIDES — MD (max 991px)
   ============================================================ */
@media (max-width: 991px) {
  :root {
    --text-hero: clamp(2rem, 5vw, 2.8rem);
    --text-5xl:  clamp(1.8rem, 4vw, 2.4rem);
    --text-4xl:  clamp(1.6rem, 3.5vw, 2rem);
  }

  body { font-size: clamp(0.9rem, 2vw, 1rem); }

  /* Reduced top padding on smaller screens to match compact navbar */
  body { padding-top: 64px; }

  .hero-section { min-height: auto; padding: 120px 0 60px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; }
  .stat-item:last-child { border-bottom: none; }
  #mainNav .nav-link::after { display: none; }
  #mainNav { background: var(--green-mid); padding: 12px 0; }
  .contact-form-wrap { padding: 32px 24px; }
}

/* ============================================================
   RESPONSIVE OVERRIDES — SM / XS (max 575px)
   ============================================================ */
@media (max-width: 575px) {
  :root {
    --text-hero: clamp(1.8rem, 7vw, 2.4rem);
    --text-5xl:  clamp(1.6rem, 5vw, 2rem);
    --text-4xl:  clamp(1.4rem, 4.5vw, 1.8rem);
    --text-3xl:  clamp(1.2rem, 4vw, 1.5rem);
  }

  .section-pad    { padding: 44px 0; }
  .section-pad-sm { padding: 30px 0; }
  .stat-number    { font-size: 2.2rem; }
  .cta-section    { padding: 70px 0; }
  .page-hero      { padding: 110px 0 60px; }
  .contact-form-wrap { padding: 28px 20px; }
}

/* iOS / mobile: disable fixed background-attachment (broken on Safari) */
@media (max-width: 991px) {
  .stats-section,
  .cta-section {
    background-attachment: scroll;
  }
}

/* ============================================================
   SERVICE PAGE HERO ENHANCEMENTS
   ============================================================ */
.service-hero-icon {
  width: 70px; height: 70px;
  background: rgba(var(--teal-rgb),0.15);
  border: 1px solid rgba(var(--teal-rgb),0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.8rem;
  backdrop-filter: blur(8px);
}

.hero-stat-box {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--teal-rgb),0.2);
  border-radius: 16px;
  padding: 28px 24px;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-stat-item:last-child { border-bottom: none; }

/* ============================================================
   SERVICE VISUAL BOX
   ============================================================ */
.service-visual-box {
  position: relative;
  width: 100%;
  height: 320px;
  background: var(--white);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--light);
  border: 1px solid rgba(var(--teal-rgb),0.12);
  box-shadow: 0 8px 30px rgba(var(--dark-rgb),0.06);
}

.service-visual-box.has-image i,
.service-visual-box.has-image .service-visual-glow {
  display: none;
}

.service-visual-box i {
  font-size: 8rem;
  color: var(--teal);
  opacity: 0.25;
  position: relative;
  z-index: 2;
}

.service-visual-glow {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  /* background: radial-gradient(circle, rgba(var(--teal-rgb),0.3) 0%, transparent 70%); */
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

/* ============================================================
   SERVICE SHOWCASE PAGE
   ============================================================ */
.service-showcase-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('../img/services.jpg') center/cover no-repeat;
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}

.service-showcase-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(var(--dark-rgb),0.08);
  border: 1px solid rgba(var(--teal-rgb),0.16);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(var(--dark-rgb),0.12);
}

.service-showcase-visual {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--dark);
  background-blend-mode: multiply, normal;
  color: var(--white);
}

.service-showcase-visual i {
  font-size: 4.2rem;
}

.service-showcase-body {
  padding: 24px 22px 26px;
}

.service-showcase-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.service-showcase-text {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-showcase-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.service-showcase-link:hover {
  color: var(--green-mid);
}

/* ============================================================
   PROCESS CARDS
   ============================================================ */
.process-card {
  background: var(--white);
  border: 1px solid rgba(var(--teal-rgb),0.12);
  border-radius: 16px;
  padding: 36px 28px;
  height: 100%;
  transition: all 0.35s ease;
  position: relative;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(var(--dark-rgb),0.1);
  border-color: rgba(var(--teal-rgb),0.3);
}

.process-number {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--teal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.process-card h5 {
  font-size: var(--text-xl, 1.1rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

/* ============================================================
   GLASS CARDS (for dark sections)
   ============================================================ */
.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--teal-rgb),0.2);
  border-radius: 12px;
  transition: all 0.3s;
}

.glass-card:hover {
  background: rgba(var(--teal-rgb),0.12);
  border-color: rgba(var(--teal-rgb),0.4);
}

/* ============================================================
   ADVANTAGE CARDS
   ============================================================ */
.advantage-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(var(--teal-rgb),0.15);
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(var(--dark-rgb),0.12);
  border-color: rgba(var(--teal-rgb),0.35);
}

.advantage-icon {
  width: 56px; height: 56px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
  margin: 0 auto 18px;
  transition: all 0.35s;
}

.advantage-card:hover .advantage-icon {
  background: var(--teal);
  color: var(--white);
}

.advantage-card h6 {
  font-size: var(--text-lg, 1rem);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.advantage-card p {
  font-size: var(--text-sm, 0.88rem);
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   KEY AREA CARD ENHANCED
   ============================================================ */
.key-area-icon {
  width: 52px; height: 52px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
  margin: 0 auto 14px;
  transition: all 0.3s;
}

.key-area-card:hover .key-area-icon {
  background: var(--teal);
  color: var(--white);
}
.key-area-card:hover .key-area-icon i {
  color: var(--white);
}

/* ============================================================
   STANDARDS COVERAGE CARDS (Technical Accounting page)
   ============================================================ */
.std-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(var(--teal-rgb),0.18);
  border-radius: 14px;
  padding: 18px 20px;
  transition: all 0.3s;
  height: 100%;
}
.std-card:hover {
  background: rgba(var(--teal-rgb),0.12);
  border-color: var(--teal);
  transform: translateY(-3px);
}
.std-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(var(--teal-rgb),0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  transition: all 0.3s;
}
.std-card:hover .std-icon {
  background: var(--teal);
  color: var(--white);
}
.std-body { flex: 1; min-width: 0; }
.std-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--white);
  margin-bottom: 4px;
}
.std-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.std-badge {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 20px;
  white-space: nowrap;
}
.std-badge-gaap  { background: rgba(var(--teal-rgb),0.2);  color: var(--teal); }
.std-badge-ifrs  { background: rgba(255,200,80,0.15);  color: #f0c040; }
.std-badge-both  { background: rgba(var(--teal-rgb),0.12);  color: var(--teal); }

/* ============================================================
   PAGE-SPECIFIC HERO BACKGROUNDS (unique per page)
   ============================================================ */
.page-hero.about-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    var(--bg-page-about) center/cover no-repeat;
}
.page-hero.services-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    var(--bg-page-svc) center/cover no-repeat;
}
.page-hero.contact-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    var(--bg-page-contact) center/cover no-repeat;
}
.page-hero.industries-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    var(--bg-page-ind) center/cover no-repeat;
}
.page-hero.why-hero {
  background:
    linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    var(--bg-page-why) center/cover no-repeat;
}
/* Service detail pages — alternating unique images */
.page-hero.svc-accounting {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-reporting {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-technical {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-ipo {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-compliance {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-cfo {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1553484771-371a605b060b?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-erp {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1518186285589-2f7649de83e0?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-audit {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-tax {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920&q=80') center/cover no-repeat;
}
.page-hero.svc-consulting {
  background: linear-gradient(135deg, rgba(var(--dark-rgb),0.93) 0%, rgba(var(--mid-rgb),0.88) 100%),
    url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=1920&q=80') center/cover no-repeat;
}

/* ============================================================
   IMPROVED LIGHT SECTION TYPOGRAPHY
   ============================================================ */
.section-title { color: var(--dark); }
.bg-light-green .section-title,
.bg-teal-light .section-title { color: var(--dark); }
.section-pad p, .section-pad-sm p { color: #374151; }
.text-muted { color: #6B7280 !important; }

/* ============================================================
   CENTERED NAVBAR REFINEMENT
   ============================================================ */
@media (min-width: 992px) {
  #mainNav .navbar-collapse {
    display: flex !important;
    align-items: center;
  }
}
@media (max-width: 991px) {
  #mainNav .btn-teal { margin-top: 12px; width: 100%; text-align: center; }
}

/* ============================================================
   HOME PAGE — PROCESS STEPS
   ============================================================ */
.process-step-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--teal-rgb),0.2);
  border-radius: 16px;
  padding: 32px 24px;
  height: 100%;
  transition: all 0.35s;
  text-align: center;
}
.process-step-card:hover {
  background: rgba(var(--teal-rgb),0.08);
  border-color: rgba(var(--teal-rgb),0.4);
  transform: translateY(-4px);
}
.step-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--teal);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 12px;
}
.step-icon {
  width: 52px; height: 52px;
  background: rgba(var(--teal-rgb),0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.2rem;
  margin: 0 auto 16px;
}
.process-step-card h5 { color: var(--white); font-size: var(--text-xl, 1rem); font-weight: 700; margin-bottom: 10px; }
.process-step-card p { color: rgba(255,255,255,0.55); font-size: var(--text-sm, 0.88rem); line-height: 1.6; margin: 0; }

/* ============================================================
   CREDENTIALS STRIP (home)
   ============================================================ */
.cred-item { padding: 20px 12px; }
.cred-icon {
  width: 52px; height: 52px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(var(--teal-rgb),0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.3rem;
  margin: 0 auto 12px;
  transition: all 0.3s;
}
.cred-item:hover .cred-icon { background: var(--teal); color: white; }
.cred-label { font-weight: 700; font-size: 0.9rem; color: var(--dark); margin-bottom: 4px; }
.cred-sub { font-size: 0.75rem; color: #6b7280; }

/* ============================================================
   TRUST QUOTES
   ============================================================ */
.trust-quote { border-radius: 14px; }
.stars { font-size: 0.8rem; letter-spacing: 2px; }

/* ============================================================
   ABOUT PAGE — STAGE CARDS
   ============================================================ */
.stage-card {
  background: var(--stage-color, var(--teal-light));
  border-radius: 12px;
  padding: 32px 24px;
  height: 100%;
  border: 1px solid rgba(var(--teal-rgb),0.2);
  transition: transform 0.3s;
}
.stage-card:hover { transform: translateY(-4px); }
.stage-icon {
  width: 48px; height: 48px;
  background: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(var(--dark-rgb),0.1);
}
.stage-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */
.client-type-badge {
  display: inline-flex;
  align-items: center;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(var(--teal-rgb),0.3);
}

.mini-feature {
  font-size: 0.88rem;
  color: var(--text);
  padding: 6px 0;
  font-weight: 500;
}

.industry-visual {
  border-radius: 20px;
  padding: 36px 32px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.industry-visual i {
  font-size: 3rem;
  color: var(--teal);
  margin-bottom: 20px;
  opacity: 0.8;
}

.industry-visual p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 8px;
}

.industry-quote-attr {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.sector-card {
  background: var(--white);
  border: 1px solid rgba(var(--teal-rgb),0.12);
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  transition: all 0.35s ease;
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(var(--dark-rgb),0.1);
  border-color: rgba(var(--teal-rgb),0.3);
}

.sector-icon {
  width: 50px; height: 50px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.sector-card:hover .sector-icon {
  background: var(--teal);
  color: var(--white);
}

.sector-card h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.sector-card p {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   WHY A&Y PAGE
   ============================================================ */
.comparison-box {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(var(--dark-rgb),0.1);
  border: 1px solid rgba(var(--teal-rgb),0.15);
}

.comparison-header {
  display: flex;
  background: var(--dark);
}

.comp-col { flex: 1; padding: 14px 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.comp-them { color: rgba(255,255,255,0.5); border-right: 1px solid rgba(255,255,255,0.1); }
.comp-us { color: rgba(255,255,255,0.9); }

.comparison-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
}

.comparison-row:last-child { border-bottom: none; }

.comp-them-val, .comp-us-val {
  flex: 1;
  padding: 14px 20px;
  font-size: 0.85rem;
}

.comp-them-val {
  color: #9ca3af;
  border-right: 1px solid #f0f0f0;
  background: #fafafa;
}

.comp-us-val {
  color: var(--success);
  font-weight: 500;
}

.comp-us-val i {
  color: var(--success);
}

.pillar-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  height: 100%;
  border: 1px solid rgba(var(--teal-rgb),0.12);
  transition: all 0.35s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(var(--dark-rgb),0.12);
  border-color: rgba(var(--teal-rgb),0.3);
}

.pillar-number {
  font-family: var(--font-head);
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--teal);
  opacity: 0.12;
  position: absolute;
  top: 20px; right: 24px;
  line-height: 1;
  letter-spacing: -3px;
}

.pillar-icon {
  width: 56px; height: 56px;
  background: var(--teal-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.pillar-card:hover .pillar-icon {
  background: var(--teal);
  color: var(--white);
}

.pillar-card h4 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.pillar-card p {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   PREMIUM ENHANCEMENTS � Visual Polish & Sophistication
   ============================================================ */

/* Enhanced shadows for depth */
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.shadow-md { box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.shadow-lg { box-shadow: 0 12px 40px rgba(0,0,0,0.16); }
.shadow-xl { box-shadow: 0 20px 60px rgba(0,0,0,0.20); }

/* Premium button styling */
.btn-teal, .btn-outline-teal {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(var(--teal-rgb),0.15);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-teal:active, .btn-outline-teal:active {
  transform: scale(0.98);
}

/* Enhanced service cards */
.service-card {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(var(--teal-rgb),0.08);
  backdrop-filter: blur(4px);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--teal-rgb),0.04) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 16px;
}

/* Enhanced typography */
.section-title {
  position: relative;
  letter-spacing: -0.015em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Premium form styling */
.form-control {
  background: rgba(var(--teal-rgb),0.02);
  transition: all 0.25s ease;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
}

.form-control:hover {
  background: rgba(var(--teal-rgb),0.04);
  border-color: rgba(var(--teal-rgb),0.2);
}

.form-control:focus {
  background: rgba(var(--teal-rgb),0.06);
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px rgba(var(--teal-rgb),0.1), 0 0 0 3px rgba(var(--teal-rgb),0.1);
}

/* Enhanced animations */
@keyframes slide-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fade-in { 
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Premium card hover effects */
.service-card:hover, .advantage-card:hover, .client-card:hover {
  box-shadow: 0 25px 70px rgba(var(--dark-rgb),0.12);
}

/* Enhanced transparency and backgrounds */
.teal-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, var(--green-mid) 100%);
}

.dark-gradient {
  background: linear-gradient(135deg, var(--dark) 0%, var(--green-mid) 100%);
}

/* Premium text selection */
::selection {
  background: var(--teal);
  color: var(--white);
}

/* Link hover effects */
a {
  position: relative;
  transition: color 0.2s ease;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.text-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Premium scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-mid);
}

/* Enhanced icon styling */
[class*="fa-"] {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover [class*="fa-"],
.advantage-card:hover [class*="fa-"],
.client-card:hover [class*="fa-"] {
  transform: scale(1.1) rotate(2deg);
}

/* Premium badge styling */
.badge {
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
}

/* Enhanced footer links */
.footer-links a {
  position: relative;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  border-bottom-color: var(--teal);
  padding-bottom: 4px;
}

/* Premium divider styling */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  margin: 2rem 0;
}

/* Section padding refinements */
.section-pad-lg { padding: 100px 0; }

/* Premium container max-width */
.container-xl { max-width: 1400px; }

/* Enhanced focus states */
button:focus, a:focus {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Premium transitions for all interactive elements */
* {
  transition-property: background-color, border-color, color, fill, stroke, box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.2s;
}

a, button { transition-duration: 0.3s; }

/* Loading state */
[aria-busy="true"] {
  pointer-events: none;
  opacity: 0.6;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

