/* HEADER SOCIAL ICONS */
.header-social3 {
	display: flex !important;
	border-left: 1px solid #e6e3e9 !important;
}

.header-social3 a {
	display: inline-flex !important;
	width: 50px !important;
	height: 40px !important;
	justify-content: center !important;
	align-items: center !important;
	border-right: 1px solid #e6e3e9 !important;
	color: #3853a4 !important;
	transition: all 300ms ease-in !important;
	background-color: transparent !important;
	text-decoration: none !important;
	position: relative !important;
}

.header-social3 a i {
	color: inherit !important;
	font-size: 16px !important;
	transition: color 300ms ease-in !important;
}

/* Procore icon using ::before for proper layer handling */
.header-social3 .procore-icon::before {
	content: "" !important;
	width: 18px !important;
	height: 18px !important;
	background-image: url('/Portals/0/ThemePluginPro/uploads/2025/7/14/Procore-Icon.png') !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	display: block !important;
	filter: none !important;
	transition: filter 300ms ease-in !important;
}

/* All icons: change background and text on hover */
.header-social3 a:hover {
	color: #ffffff !important;
	background-color: #3853a4 !important;
}

/* Procore: on hover, change PNG to white */
.header-social3 .procore-icon:hover::before {
	filter: brightness(0) invert(1) !important;
}

/* Homepage services 5-col boxes */
.services-five-box-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-left: -5px;   /* adjust for padding */
    margin-right: -5px;  /* adjust for padding */
}

.services-five-box-layout > [class*="col-"] {
    flex: 0 0 20%;
    max-width: 20%;
    padding-left: 5px;   /* small gap */
    padding-right: 5px;  /* small gap */
    box-sizing: border-box;
}

/* When screen < 1400px, 3 per row */
@media (max-width: 1400px) {
    .services-five-box-layout > [class*="col-"] {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

/* Tablet view (2 per row) */
@media (max-width: 991px) {
    .services-five-box-layout > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile view (1 per row) */
@media (max-width: 575px) {
    .services-five-box-layout > [class*="col-"] {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Global Footer */
.custom-footer {
    background-color: #111;
    color: #bbb;
    padding: 40px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.custom-footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.custom-footer a:hover {
    color: var(--accent-color2);
}

.custom-footer .footer-logo {
    max-width: 180px;
}

.custom-footer .footer-heading {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
}

.custom-footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-footer .footer-list li {
    margin-bottom: 10px;
}

.custom-footer .footer-list a {
    position: relative;
    padding-bottom: 2px;
}

.custom-footer .footer-list a:hover {
    color: var(--accent-color2);
}

/* Contact block */
.custom-footer .footer-contact {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #bbb;
}

.custom-footer .footer-contact i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--accent-color2);
}

/* Social icons */
.custom-footer .footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.custom-footer .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #bbb;
    border-radius: 50%;
    font-size: 1rem;
    color: #bbb;
    transition: all 0.3s ease;
}

.custom-footer .social-link:hover {
    color: #fff;
    background-color: var(--accent-color2);
    border-color: var(--accent-color2);
}

.custom-footer .footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 30px 0;
}

.custom-footer .footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

.custom-footer .row {
    display: flex !important;
    flex-wrap: wrap !important;
}



/* Fix for top-align text on service page tabs */
.section-tabs-container .row {
    align-items: flex-start !important;
}

.section-tabs-container .col-lg-6,
.section-tabs-container .col-md-6 {
    align-self: flex-start !important;
}

/* HP Project Ticker */
.project-ticker-wrapper {
  width: 100%;
  background: #fff;
  padding: 20px 0;
}

.project-ticker {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: ticker-scroll-reverse 60s linear infinite;
}

.project-item {
  display: block;
  flex-shrink: 0;
  width: 420px; /* Larger project cards */
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transform: translateY(0) scale(1);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.8s cubic-bezier(0.25, 1, 0.5, 1);

}

.project-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-pic img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.project-content {
  padding: 15px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 500; /* less bold */
  margin: 0;
  color: #333;
  transition: color 0.6s ease;
}

.project-icon {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.2rem;
  color: #999;
  transition: color 0.6s ease;
}

.project-item:hover .project-title,
.project-item:hover .project-icon {
  color: var(--accent-color, #3953a4);
}

/* Animation for reverse direction */
@keyframes ticker-scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 767px) {
  .project-item {
    width: 300px;
  }
  .project-pic img {
    height: 180px;
  }
}



