html {
  scroll-behavior: smooth;
}

body {
  font-family:'Inter',sans-serif;
  font-size:16px;
  line-height:1.5;
  color:#111;
  background: #fff;
}
html,
body {
	overflow-x: hidden;
}

/* ===== HEADERS ===== */
h1{
  font-family:'Outfit',sans-serif;
  font-weight:500;
  font-size:60px;
}

h2{
  font-family:'Outfit',sans-serif;
  font-weight:500;
  font-size:45px;
}

h3{
  font-family:'Inter',sans-serif;
  font-weight:400;
  font-size:30px;
}

h3.semibold{
  font-family:'Inter',sans-serif;
  font-weight:600;
  font-size:30px;
}

h4{
  font-family:'Inter',sans-serif;
  font-weight:500;
  font-size:23px;
}

/* ===== BODY TEXT ===== */
.p1{
  font-family:'Inter',sans-serif;
  font-weight:400;
  font-size:22px;
}

.p2{
  font-family:'Inter',sans-serif;
  font-weight:400;
  font-size:16px;
}

/* ===== BUTTON ===== */
.button,
button,
.elementor-button{
  font-family:'Outfit',sans-serif;
  font-weight:500;
  font-size:20px;
}

/* ===== HEADER MENU ===== */

.custom-logo {
	width: 50px !important;  
	height: auto !important;
}
.site-header .menu a{
  font-family:'Outfit',sans-serif;
  font-weight:400;
  font-size:17px;
}



/* ── Dropdown submenu layout ── */
.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 60px;
}

.primary-menu li {
	position: relative;
	list-style: none;
}

.primary-menu a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: #484848;
	white-space: nowrap;
}

.primary-menu a:hover {
	color: #cc0000;
}
.primary-menu li.current-menu-item > a,
.primary-menu li.current_page_item > a,
.primary-menu li.current-menu-ancestor > a,
.primary-menu li.current-page-ancestor > a {
	color: #cc0000;
}

/* Hide submenus by default */
.primary-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	min-width: 180px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	list-style: none;
	padding: 0.5rem 0;
	margin: 0;
	z-index: 999;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 0.5rem 1.2rem;
	font-size: 0.8rem;
	color: #333;
}

.primary-menu .sub-menu a:hover {
	background: #f5f5f5;
	color: #cc0000;
}

/* Show submenu on hover */
.primary-menu li:hover > .sub-menu {
	display: block;
}

/* ── Header layout ── */
.header-inner {
	display: flex;
	align-items: center;
    justify-content: center;
	gap: 60px;
    padding: 10px 0;
}

.site-header {
	background-color: rgba(255, 255, 255, 0.7) !important;
	/* These make it float over the hero */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 999 !important;
	transition: transform 0.3s ease !important;
}
/* Hidden state - slides up */
.site-header.hide-header {
  transform: translateY(-100%) !important;
}

@media (max-width: 768px) {

  /* Fix header to be a horizontal row */
  .efsoftware-container.header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }

  /* Hide desktop nav */
  nav.site-navigation {
    display: none !important;
  }

  /* Hide the logo text link if any */
  .site-branding {
    flex-shrink: 0;
  }

  /* Hamburger button */
  .hamburger-btn {
    display: block !important;
    cursor: pointer;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    z-index: 10000;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
  }

  /* Slide-in panel */
  .mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 70px 20px 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  }

  .mobile-menu-panel.open {
    right: 0;
  }

  .mobile-menu-panel a {
    display: block;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #333;
    text-decoration: none;
  }

	/* Remove bullets and fix hover color */
.mobile-menu-panel ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mobile-menu-panel li {
  list-style: none !important;
}

.mobile-menu-panel a:hover {
  color: #C02126 !important;
}

  .mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
  }

  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
  }

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

@media (min-width: 769px) {
  .hamburger-btn {
    display: none !important;
  }
  .mobile-menu-panel,
  .mobile-menu-overlay {
    display: none !important;
  }
}

/* ===== FOOTER MENU ===== */

.site-footer .menu a{
  font-family:'Outfit',sans-serif;
  font-weight:500;
  font-size:16px;
}

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

.efsoftware-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Header */

.site-title {
  font-size: 24px;
  font-weight: 700;
}



/* Main */
.site-main {
  min-height: 60vh;
}

.efsoftware-page-content {
  width: 100%;
}

.content-area {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.site-sidebar {
  width: 300px;
}

.entry-title {
  margin-top: 0;
}

.entry-title a:hover {
  text-decoration: underline;
}
/*footer socials*/
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fa-linkedin-in:before {
	color: #fff;
}
.fa-facebook-f:before {
    content: "\f39e" !important;
	color: #fff;
}

.footer-socials i {
  font-size: 16px;
}

.footer-socials a:hover {
  opacity: 0.7;
}
/*footer socials end*/
/*footer logo end*/
section#media_image-2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.footer-widget-title {
	font-weight: 700 !important;
	font-size: 20px !important;
}
/*footer logo end*/
/* Footer */

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

/* Widgets */
.widget {
  margin-bottom: 30px;
}

.widget-title {
  margin-top: 0;
}
.site-footer {
  background: #f5f5f5;
  padding: 60px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #dddddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-widget {
  margin-bottom: 24px;
}

.footer-widget:last-child {
  margin-bottom: 0;
}

.footer-widget-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 12px;
}

.site-footer a {
  text-decoration: none;
  color: #111111;
}

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

.footer-bottom-left p,
.footer-bottom-right p {
  margin: 0;
}
.ef-custom-slider-wrap,
.ef-custom-slider,
.ef-custom-slider .swiper-wrapper {
	width: 100%;
}

.ef-custom-slider .swiper-slide {
	box-sizing: border-box;
}
/* ===== PROJECT PANEL (GLOBAL) ===== */

.project-panel .pp-left {
	text-align: left;
}

.project-panel .pp-heading {
	text-align: left;
	font-weight: 700;
	font-size: 16px;
	margin-bottom: 24px;
}

.project-panel .pp-benefits {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-bottom: 32px;
}

.project-panel .pp-benefit-item {
	text-align: center;
	flex: 0 0 18%;
	min-width: 100px;
}

.project-panel .pp-benefit-item img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin: 0 auto 10px;
}

.project-panel .pp-benefit-item p {
	font-size: 12px;
	color: #fff;
	margin: 0;
	line-height: 1.4;
}

.project-panel .pp-image-box {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
}

.project-panel .pp-image-box + .pp-image-box {
	margin-top: 16px;
}
/* Keep benefit icons small inside project panels */
.eind-panel .project-panel .pp-benefit-item img {
	width: 60px !important;
	height: 60px !important;
	max-width: 60px !important;
	object-fit: contain !important;
	margin: 0 auto 10px !important;
	border-radius: 0 !important;
	display: block !important;
}

/* Keep main content images full width */
.eind-panel .project-panel > img,
.eind-panel .project-panel .pp-image-box img {
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	border-radius: 12px !important;
	display: block !important;
}

.project-panel .pp-image-box img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

/* MOBILE */
@media (max-width: 767px) {
	/* Product list tabs: horizontal scroll on mobile */
	.epil-tabs {
		display: flex !important;
		justify-content: flex-start !important;
		align-items: center !important;
		gap: 0 !important;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		white-space: nowrap !important;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.epil-tabs::-webkit-scrollbar {
		display: none;
	}

	.epil-tab {
		flex: 0 0 auto !important;
		width: auto !important;
		padding: 12px 16px !important;
		font-size: 11px !important;
		line-height: 1 !important;
		text-align: center !important;
		white-space: nowrap !important;
	}

	/* Optional: keep panel spacing tidy */
	.epil-panel {
		padding-top: 18px;
	}
	.eban-slide-content {
		padding: 0 20px !important;
	}

	.eban-title {
		font-size: 28px !important;
		line-height: 1.15 !important;
	}

	.eban-desc {
		font-size: 14px !important;
		line-height: 1.6 !important;
		max-width: 100% !important;
	}
	.eind-panel .project-panel .pp-benefit-item img {
		width: 52px !important;
		height: 52px !important;
		max-width: 52px !important;
	}
	.project-panel .pp-benefit-item {
		flex: 0 0 calc(50% - 8px);
	}
	.eind-panel .project-panel h2 {
		font-size: 28px !important;
		line-height: 1.2 !important;
		word-break: break-word;
		overflow-wrap: break-word;
		white-space: normal !important;
		margin-bottom: 16px;
	}

	.eind-panel .project-panel {
		overflow: hidden;
	}
	/* Stack CTA buttons vertically */
	.eind-panel .eind-cta-bar-btns {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		gap: 10px !important;
	}

	/* Make each button full width */
	.eind-panel .eind-cta-bar-btns a {
		width: 100% !important;
		text-align: center !important;
		padding: 12px 16px !important;
		white-space: normal !important;
	}

	/* Optional: center the text above buttons */
	.eind-panel .eind-cta-bar p {
		text-align: center;
	}
	#<?php echo esc_attr( $uid ); ?> .eind-cards {
		flex-direction:column;
	}

	#<?php echo esc_attr( $uid ); ?> .eind-card {
		flex:none;
		width:100%;
		min-height:220px;
	}

	#<?php echo esc_attr( $uid ); ?> .eind-panel {
		padding:20px;
	}

	#<?php echo esc_attr( $uid ); ?> .eind-panel .eind-cta-bar {
		padding:18px 16px;
		border-radius:14px;
	}

	#<?php echo esc_attr( $uid ); ?> .eind-panel .eind-cta-bar p {
		text-align:center;
		width:100%;
	}

	#<?php echo esc_attr( $uid ); ?> .eind-panel .eind-cta-bar-btns {
		width:100%;
		display:flex;
		flex-direction:column;
		gap:10px;
	}

	#<?php echo esc_attr( $uid ); ?> .eind-panel .eind-cta-bar-btns a {
		width:100%;
		text-align:center;
		padding:12px 16px;
		white-space:normal;
	}
}
/* homepage - maximise efficiency */

.process-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 90px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: #d62828;
  z-index: 1;
}

.process-step {
  position: relative;
  z-index: 2;
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border: 1.5px solid #d62828;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font-size: 22px;
  line-height: 48px;
  text-align: center;
  font-weight: 400;
  z-index: 3;
  box-sizing: border-box;
}

.process-step-title {
  margin: 0 0 12px;
  padding-top: 36px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  color: #222222;
}

.process-step-desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
  color: #333333;
  max-width: 240px;
}

.epil-modal .efpg-track-wrap {
    width: 100% !important;
    left: auto !important;
    transform: none !important;
    padding-left: 0 !important;
    overflow: hidden !important;
}
.epil-modal .efpg-card {
    flex: 0 0 180px !important;
}
.epil-modal .efpg-card-img {
    height: 260px !important;
}
.epil-modal .efpg-header {
    padding-right: 0 !important;
}

/* Tablet + Mobile: vertical timeline */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0;
    padding-left: 72px;
  }

  /* vertical line */
  .process-steps::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 1px;
    height: auto;
    background: #d62828;
    z-index: 1;
  }

  /* circles move to left */
  .process-step::before {
    top: 0;
    left: -48px;
    transform: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
  }

  .process-step-title {
    padding-top: 0;
    margin-bottom: 8px;
    font-size: 22px;
  }

  .process-step-desc {
    max-width: 100%;
  }
}


/* homepage - maximise efficiency end */

@media (max-width: 991px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
}

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

/* Responsive */
@media (max-width: 991px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
	gap: 20px;
  }

  .primary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  .content-area {
    flex-direction: column;
  }

  .site-sidebar {
    width: 100%;
  }
}