/* Empact Managed Services - Main Stylesheet */
/* Color Palette: Sophisticated Blues, Golds, and Neutrals */

:root {
  /* Primary Colors - Based on Empact Logo */
  --primary-blue: #1B5E7E;
  --secondary-blue: #2B7A9E;
  --light-blue: #E8F4F8;
  --accent-gold: #F5C842;
  --dark-gold: #E6B800;
  
  /* Neutrals */
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #f1f5f9;
  --medium-gray: #64748b;
  --dark-gray: #334155;
  --charcoal: #1e293b;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--dark-gold) 100%);
  --gradient-hero: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--accent-gold) 100%);
  --gradient-empact: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-gold) 100%);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', var(--font-primary);
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Global responsive media */
img, svg, video, canvas, iframe {
  max-width: 100%;
  height: auto;
}
img { display: block; }

/* Responsive embed utility */
.embed-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.embed-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.container-fluid {
  width: 100%;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
  position: relative;
}

.section-alt {
  background-color: var(--off-white);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
}

.col-2 {
  flex: 0 0 50%;
  padding: 0 15px;
}

.col-3 {
  flex: 0 0 33.333%;
  padding: 0 15px;
}

.col-4 {
  flex: 0 0 25%;
  padding: 0 15px;
}

/* Commonly used but missing */
.col-6 {
  flex: 0 0 50%;
  padding: 0 15px;
}

/* Header and Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(27, 94, 126, 0.2));
}

.logo:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-gray);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  margin: 3px 0;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--gradient-gold);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,0 1000,300 1000,1000 0,700"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 600px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideInUp 1s ease 0.5s forwards;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideInUp 1s ease 0.7s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideInUp 1s ease 0.9s forwards;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27, 94, 126, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.card-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--medium-gray);
  line-height: 1.6;
}

/* Core Services specific layout tweaks */
#core-services .row {
  justify-content: center; /* center the 3 columns within the container */
}

#core-services .col-3 {
  display: flex; /* allow card to align consistently */
}

#core-services .card {
  border-radius: 0; /* square corners */
  aspect-ratio: 1 / 1; /* make the card square */
  width: 100%;
  display: flex;
  flex-direction: column; /* stack content and push button to bottom */
  text-align: center; /* center text inside cards */
}

#core-services .card .card-icon {
  margin-left: auto;
  margin-right: auto; /* center the icon */
}

#core-services .card .mt-3 {
  margin-top: auto; /* push the button block to the bottom of the card */
}

/* Prevent overflow for long text and keep clean layout */
#core-services .card .card-text {
  overflow: hidden;
}

/* Responsive: disable forced square on smaller screens for better readability */
@media (max-width: 992px) {
  #core-services .card {
    aspect-ratio: auto;
    height: auto;
  }
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dot.active {
  background: var(--white);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

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

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-control.error {
  border-color: #ef4444;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Footer */
.footer {
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue), var(--accent-gold));
  opacity: 0.1;
  animation: gradientShift 10s ease-in-out infinite;
}

.footer-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-title {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--light-gray);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes gradientShift {
  0%, 100% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  50% {
    transform: translateX(-50%) translateY(-50%) rotate(180deg);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .col-4 {
    flex: 0 0 50%;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --container-padding: 0 15px;
  }
  
  .container {
    max-width: 540px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    animation: slideDown 0.3s ease;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
  }
  
  .nav-link {
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .row {
    flex-direction: column;
  }
  
  .col,
  .col-2,
  .col-3,
  .col-4,
  .col-6 {
    flex: 1 1 100%;
    margin-bottom: 2rem;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .card {
    margin-bottom: 2rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.875rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

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

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Table responsiveness */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; }

/* Improve specific tables on small screens */
@media (max-width: 576px) {
  .staffing-table { width: 100%; }
  .staffing-table th,
  .staffing-table td { padding: 12px; font-size: 0.95rem; }
}





.card {
  margin-bottom: 25px; /* adjust as needed */
}




/* home page sliding carousel */


/* Hero Carousel Styles */
:root{
  --hero-h: 78vh;
  --hero-min: 520px;
  --fade: 600ms;
}

.hero-carousel{ position: relative; isolation:isolate; }
.hero-carousel .carousel{
  position: relative; height: min(max(var(--hero-h),60vh),92vh);
  min-height: var(--hero-min); overflow:hidden; background:#0b0b0b;
}
.hero-carousel .slides{ position: relative; width:100%; height:100%; }

.hero-carousel .slide{
  position: absolute; inset:0; opacity:0; transform: scale(1.02);
  transition: opacity var(--fade) ease, transform 1200ms ease;
  display:grid; grid-template-rows: 1fr; place-items: stretch;
}
.hero-carousel .slide.is-active{ opacity:1; transform:scale(1); z-index:2; }

.hero-carousel .slide img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover; object-position:center;
}

.hero-carousel .overlay{
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
}

.hero-carousel .container{
  position:relative; z-index:3; height:100%;
  display:grid; align-content:center; padding-inline: clamp(16px,4vw,64px);
}

.hero-content{ max-width:980px; color:#fff; animation: rise 700ms ease both; }
.hero-title{ font-size: clamp(28px,4.2vw,56px); line-height:1.05; margin:0 0 14px; }
.hero-subtitle{ font-size: clamp(16px,1.4vw,20px); line-height:1.6; margin:0 0 28px; color:#e9e9e9; }

.hero-cta .btn{ display:inline-block; padding:12px 20px; border-radius:10px; text-decoration:none; font-weight:600; margin-right:12px; }
.btn-primary{ background:#2563eb; color:#fff; }
.btn-secondary{ background:#ffffff; color:#111; }

.control{
  position:absolute; top:50%; translate:0 -50%;
  background: rgba(0,0,0,.45); color:#fff; border:0; width:44px; height:44px;
  border-radius:999px; font-size:26px; display:grid; place-items:center; cursor:pointer; z-index:5;
}
.control:hover{ background: rgba(0,0,0,.6); }
.control.prev{ left:14px; } .control.next{ right:14px; }

.dots{ position:absolute; left:50%; bottom:18px; translate:-50% 0; display:flex; gap:8px; z-index:5; }
.dots button{ width:10px; height:10px; border-radius:999px; border:0; background:rgba(255,255,255,.5); cursor:pointer; }
.dots button[aria-selected="true"]{ background:#fff; width:22px; }

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

@media (max-width:576px){
  :root{ --hero-min: 460px; }
  .hero-cta .btn{ display:block; margin:10px 0 0; }
}




:root{
  --hero-h: 780px;   /* set to match your new banner height */
  --hero-min: 780px;
  --fade: 600ms;
}



/* counter section background */

.section-alt {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #1e40af 100%);
  /* #3b82f6 is a faint blue tone */
  color: #fff; /* make text white for contrast */
  padding: 60px 0;
}

.section-alt p {
  color: #e5e7eb; /* softer text color */
}





/* footer */


/* ===== Compact, responsive footer ===== */
.footer{
  background:#0b0d12;               /* optional: dark footer */
  color:#cfd3d8;
  font-size: 15px;                  /* smaller base */
  line-height: 1.55;
}

.footer a{ color:#e7e9ee; text-decoration:none; }
.footer a:hover{ color:#fff; text-decoration:underline; }

.footer-content{ padding: 28px 0; } /* reduced padding */
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 10px 0;                  /* slim copyright bar */
  font-size: 13px; color:#aeb4bd;
}

/* Layout: make your .row truly responsive */
.footer .row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;                        /* tight gaps */
}

/* If you must keep col-4, neutralize fixed widths */
.footer .col-4{ width:auto; }

/* Section spacing + titles */
.footer .footer-section{ margin: 0; }
.footer .footer-section p{ margin: 8px 0 0; }
.footer .footer-title{
  font-size: 16px;
  font-weight: 700;
  color:#ffffff;
  margin: 0 0 10px;
}

/* Links list tighter */
.footer .footer-links{ list-style:none; padding:0; margin:0; }
.footer .footer-links li{ margin: 6px 0; }
.footer .footer-links a{ opacity:.9; }
.footer .footer-links a:hover{ opacity:1; }

/* Social icons smaller + inline */
.footer .social-links{
  display:flex; gap:10px; margin-top:12px;
}
.footer .social-link{
  width:34px; height:34px; display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.15);
  border-radius:8px; opacity:.9;
}
.footer .social-link:hover{ opacity:1; border-color:rgba(255,255,255,.3); }

/* Logo smaller for compact look */
.footer img[alt*="Empact"]{ height:48px !important; margin-bottom:10px !important; }

/* Icon + text rows tighter */
.footer .footer-section i{ width:18px; text-align:center; }

/* ===== Breakpoints ===== */
@media (max-width: 992px){
  .footer .row{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-content{ padding: 24px 0; }
}

@media (max-width: 576px){
  .footer .row{ grid-template-columns: 1fr; }
  .footer-content{ padding: 20px 0; }
  .footer .footer-title{ font-size: 15px; }
  .footer{ font-size: 14px; }
  .footer img[alt*="Empact"]{ height:42px !important; }
  .footer .social-links{ gap:8px; }
}



/* what we serve */

.section-alt {
  background-color: #f0f6ff;   /* faint, soft blue */
  color: #111;                 /* dark text for readability */
  padding: 60px 0;
}

.section-alt h2,
.section-alt p {
  color: #1a1a1a;              /* keep headings/text crisp */
}

.section-alt .card {
  background: #ffffff;
  border: 1px solid #e0e6f5;
  border-radius: 10px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-alt .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.section-alt .card-icon {
  font-size: 36px;
  color: #2563eb;              /* accent blue */
  margin-bottom: 12px;
}



/* Remove background from this specific section */
.section-alt {
  background: #ffffff !important;  /* plain white */
  color: #111;                     /* dark text for readability */
  padding: 60px 0;
}




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

        .member-image {
            position: relative;
            width: 220px;
            /* increased size */
            height: 220px;
            /* increased size */
            margin: 0 auto;
            /* center alignment */
            overflow: hidden;
            border-radius: 50%;
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        @media (max-width: 576px) {
          .member-image { width: 160px; height: 160px; }
        }

        .linkedin-btn {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: #0077b5;
            color: #fff;
            border-radius: 50%;
            padding: 10px 12px;
            font-size: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .member-image:hover .linkedin-btn {
            opacity: 1;
        }


        .profile-image {
            position: relative;
            display: inline-block;
        }

        .profile-image img {
            display: block;
            width: 100%;
            height: auto;
        }

        /* Social icons positioned at bottom-center of image */
        .profile-image {
            position: relative;
            display: inline-block;
            overflow: hidden;
        }

        .profile-image img {
            display: block;
            width: 100%;
            height: auto;
            transition: filter 0.3s ease;
        }

        /* Darken image slightly on hover */
        .profile-image:hover img {
            filter: brightness(70%);
        }

        /* Icons hidden by default */
        .social-icons {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.8);
            display: flex;
            gap: 15px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        /* Show icons on hover (centered) */
        .profile-image:hover .social-icons {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1);
        }

        .social-icon i {
            font-size: 24px;
            color: #fff;
            padding: 14px;
            border-radius: 50%;
            transition: transform 0.3s ease, background-color 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* LinkedIn */
        .social-icon.linkedin i {
            background-color: #0a66c2;
        }

        .social-icon.linkedin i:hover {
            background-color: #004182;
            transform: scale(1.2);
        }

        /* Facebook */
        .social-icon.facebook i {
            background-color: #1877f2;
        }

        .social-icon.facebook i:hover {
            background-color: #0e5ab9;
            transform: scale(1.2);
        }

        /* profile text */

        .profile-text {
            max-width: 900px;
            /* optional: keeps content from stretching too wide */
            margin: 0 auto;
            /* centers the block */
        }

        .profile-text p,
        .profile-text .lead {
            text-align: justify;
            line-height: 1.7;
            /* better readability */
            font-size: 16px;
            /* adjust as needed */
        }

        .team-carousel {
            position: relative;
            width: 100%;
        }

        .team-grid {
            display: flex;
            gap: 30px;
            overflow: hidden;
            scroll-behavior: smooth;
        }

        .team-member {
            flex: 0 0 calc(33.333% - 20px);
            text-align: center;
        }

        .member-image img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .team-member {
                flex: 0 0 calc(50% - 20px);
            }
        }

        @media (max-width: 600px) {
            .team-member {
                flex: 0 0 100%;
            }
        }

        /* Ensure images in columns scale on mobile even if inline heights are set */
        @media (max-width: 768px) {
          .col-2 img, .col-3 img, .col-4 img, .col-6 img { height: auto !important; }
        }

        .force-left {
            text-align: left !important;
            margin: 0 !important;
            padding: 0 !important;
            display: block;
        }

        /* Center navbar links on mobile */
@media (max-width: 991px) {
  .navbar-nav {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .navbar-nav .nav-item {
    margin: 6px 0; /* space between items */
  }
}



        
        
   /* Make current grid behave like a horizontal, responsive carousel */
.team-carousel .team-grid{
  display:flex;           /* override any grid styles */
  gap:24px;
  overflow:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 2px;
  scroll-behavior: smooth;
}
.team-carousel .team-member{
  flex: 0 0 33.333%;
  scroll-snap-align:start;
}
@media (max-width: 1024px){
  .team-carousel .team-member{ flex: 0 0 50%; }
}
@media (max-width: 640px){
  .team-carousel .team-member{ flex: 0 0 100%; }
}
/* Hide scrollbars (optional) */
.team-carousel .team-grid::-webkit-scrollbar{ display:none; }
.team-carousel .team-grid{ scrollbar-width:none; }



.staffing-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #e0f7fa, #f1f8e9);
}

.staffing-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 10px;
}

.staffing-section p {
  text-align: center;
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.staffing-table {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.staffing-table th,
.staffing-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.staffing-table th {
  background-color: #004d40;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.staffing-table td:first-child {
  font-weight: bold;
  color: #00796b;
}

.industries-served {
  text-align: center;
  margin-top: 30px;
  font-size: 1em;
}

.industries-served strong {
  color: #004d40;
}




/* Section Background */
.topics-section {
  background: linear-gradient(180deg, #eaf8f0 0%, #f5faf7 100%);
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

/* Container */
.topics-container {
  max-width: 1000px;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
}

/* Title and Subtitle */
.topics-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #1c3b2b;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.topics-subtitle {
  text-align: center;
  font-size: 16px;
  color: #4e5f56;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

/* Table */
.topics-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
}

.topics-table thead tr {
  background-color: #0c4b34;
  color: #fff;
}

.topics-table th {
  text-align: left;
  padding: 14px 16px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.topics-table td {
  padding: 14px 16px;
  font-size: 15px;
  color: #2e3d34;
  line-height: 1.6;
}

.topics-table tr:nth-child(even) {
  background-color: #f6f8f7;
}

.topics-table tr:hover {
  background-color: #e9f3ed;
  transition: 0.3s ease;
}

@media (max-width: 768px) {
  .topics-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}





/* Section Background */
.outcomes-section {
  background: linear-gradient(180deg, #f8fcfa 0%, #f0f7f2 100%);
  padding: 60px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* Row Layout */
.outcomes-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

/* Columns */
.outcome-col {
  flex: 1 1 300px;
  min-width: 280px;
  text-align: left;
}

.outcome-col h2 {
  font-size: 24px;
  color: #0c4b34;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

/* List Styling */
.outcome-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.outcome-col li {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.4;
}

.outcome-col i {
  color: #d4af37; /* Accent gold */
  margin-right: 10px;
  margin-top: 3px;
}

/* CTA Button */
.cta-btn {
  margin-top: 30px;
}

.btn-primary {
  background-color: #0c4b34;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #166146;
}




.footer {
  background: linear-gradient(135deg, #0a192f, #1e3a5f);
  color: #e5e7eb;
  font-family: "Inter", sans-serif;
  padding: 50px 20px 20px;
}

.footer-content .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* Equal spacing */
  gap: 40px;
}

.footer-section {
  flex: 1 1 0; /* All columns take equal width */
  min-width: 250px;
  padding: 0; /* Remove extra padding */
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ff7f27;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #ff7f27;
}

.footer-section i {
  color: #ff7f27;
  margin-right: 8px;
}

.social-links a {
  color: #fff;
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ff7f27;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  padding-top: 15px;
  margin-top: 30px;
}

.footer-bottom .divider {
  height: 1px;
  background: #334155;
  margin-bottom: 10px;
}

.footer-bottom a {
  color: #ff7f27;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.bottom-social {
  margin-top: 10px;
}

.bottom-social a {
  color: #fff;
  margin: 0 8px;
  font-size: 16px;
  transition: color 0.3s ease;
}

.bottom-social a:hover {
  color: #ff7f27;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-content .footer-grid {
    flex-direction: column;
    gap: 25px;
  }
  .footer-section {
    min-width: auto;
  }
}

/* Footer social icons - unified style */
.footer .social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.footer .social-link {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ffffff;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.footer .social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Brand colors (links inherit to icons) */
.footer .social-links a.linkedin { color: #0077B5; }
.footer .social-links a.twitter { color: #1DA1F2; }
.footer .social-links a.facebook { color: #1877F2; }
.footer .social-links a.instagram { color: #E4405F; }
.footer .social-links a.whatsapp { color: #25D366; }

.footer .bottom-social a.whatsapp { color: #25D366; }

/* Show only Instagram icon in footer */
/* Hide all by default */
.footer .social-links .social-link { display: none !important; }
/* Show when marked as instagram OR when it's the last icon (fallback for pages without class) */
.footer .social-links .social-link.instagram,
.footer .social-links .social-link:last-child { display: inline-flex !important; }

/* Center the remaining Instagram icon */
.footer .social-links { justify-content: center; }

/* Instagram icon - original color, simple style */
.footer .social-link.instagram {
  width: 44px;
  height: 44px;
  background: transparent;
  color: #E4405F;
  border-color: currentColor;
  box-shadow: none;
}
.footer .social-link.instagram i { font-size: 20px; }
.footer .social-link.instagram:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}




/* Social links inside main footer section */
.social-links a {
  font-size: 16px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a.linkedin { color: #0077B5; }   /* LinkedIn blue */
.social-links a.twitter { color: #1DA1F2; }    /* Twitter blue */
.social-links a.facebook { color: #1877F2; }   /* Facebook blue */
.social-links a.instagram { color: #C13584; }  /* Instagram gradient pink/purple simplified */

.social-links a:hover {
  opacity: 0.8; /* subtle hover effect */
}

/* Bottom social icons */
.bottom-social a {
  font-size: 16px;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.bottom-social a.linkedin { color: #0077B5; }
.bottom-social a.twitter { color: #1DA1F2; }
.bottom-social a.facebook { color: #1877F2; }
.bottom-social a.instagram { color: #C13584; }

.bottom-social a:hover {
  opacity: 0.8;
}




.footer {
  background: url('path/to/your/image.png') no-repeat center center/cover; /* Set the image URL here */
  color: #fff;
  padding: 30px 0;
  font-family: "Inter", sans-serif;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative; /* Ensure footer content stays on top of background */
  z-index: 2; /* Ensure the content stays above the background */
}

.footer-section {
  flex: 1;
  padding: 10px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
}

.footer p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.footer-title {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s, color 0.3s;
}

.social-link:hover {
  color: #00acee;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
}

.footer-bottom .divider {
  height: 1px;
  background: #333;
  margin-bottom: 10px;
}

.footer-bottom p {
  font-size: 13px;
  color: #aaa;
}

.footer-bottom a {
  color: #00acee;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Overlay to darken the footer and improve text visibility */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: 1; /* Position overlay behind content */
}

/* Reduce extra blank space on small screens */
@media (max-width: 768px) {
  .footer {
    padding: 25px 15px;
  }
  .footer-content {
    flex-direction: column;
  }
  .footer-section {
    flex: none;
    width: 100%;
    margin-bottom: 15px;
  }
}



.footer {
  background: url('https://images.unsplash.com/photo-1583803589136-0fe951be1692') no-repeat center center/cover; /* Subtle background image */
  background-size: cover;
  color: #fff;
  padding: 20px 0; /* Reduced padding to reduce footer size */
  font-family: "Inter", sans-serif;
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusts columns responsively */
  gap: 20px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 15px; /* Reduced margin for tighter spacing */
}

.footer-logo {
  height: 40px;
  margin-bottom: 10px;
  filter: brightness(0) invert(1); /* Keeps the logo visible against the background */
}

.footer p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 6px;
}

.footer-title {
  font-size: 15px;
  margin-bottom: 8px;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 5px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  font-size: 16px;
  transition: transform 0.3s, color 0.3s;
}

/* Social media icons with original brand colors */
.social-link i {
  color: inherit; /* Use the default color for each social icon */
}

.social-link:hover {
  transform: scale(1.2);
}

/* Footer bottom section */
.footer-bottom {
  text-align: center;
  margin-top: 15px;
}

.footer-bottom .divider {
  height: 1px;
  background: #333;
  margin-bottom: 10px;
}

.footer-bottom p {
  font-size: 13px;
  color: #aaa;
}

.footer-bottom a {
  color: #00acee;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Reduce extra blank space on small screens */
@media (max-width: 768px) {
  .footer {
    padding: 15px 10px; /* Reduce padding for smaller screens */
  }
  .footer-grid {
    gap: 15px;
  }
}


.logo {
  height: 90px;  /* Increased from 70px */
  width: auto;
  transition: all 0.3s ease;
}




.counter {
  color: #fff;
  font-size: 42px;
  font-weight: 700;
}



.contact-form-container {
    background-image: url('path-to-your-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    border-radius: 8px;  /* Optional: Add a rounded border for aesthetic */
}

.contact-form-container .form-control {
    background-color: rgba(255, 255, 255, 0.8); /* Light background for inputs */
}
