	/* ---------------- GLOBAL ---------------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
}
/* ---------------- TOP NAVBAR ---------------- */
/* Top bar initially visible */
.top-bar {
	background-color: #017c57;
    transition: top 0.3s ease;
}
.top-bar a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
}

.top-bar a:hover {
    color: #000;
}
/* Main menu fixed */
.main-menu {
    position: sticky;
    top: 0;
	background: rgba(245, 245, 245, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 999;
}
.main-menu.scrolled {
  background-color: rgba(255,255,255,0.8);
}
/* ---------------- NAVBAR ---------------- */
.navbar {
    border-bottom: 1px solid #eee;
}
/* LOGO */
.navbar-brand {
    width: 160px;
}

.custom-text {color: #017c57}

.navbar-brand img {
  
}
.navbar-toggler i {
    font-size: 26px;
}
.nav-link {
    font-size: 15px;
    padding: 12px 20px;
}
.navbar-nav .nav-item {
    margin-right: 10px; /* change size as needed */
}
.mega-menu {
    background-color: rgba(255,255,255,0.9);
    border-top: 2px solid #F58220;
}
.mega-menu .container {
    padding-left: 150px;
}
.mega-menu h6 {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 12px;
}
.mega-menu a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: #333;
	text-decoration: none;
}
.mega-menu a:hover {
    color: #017c57;
}
/* Arrow rotation */
.rotate-arrow {
    transform: rotate(180deg);
    transition: 0.3s ease;
}

.arrow {
	color: #017c57;
    transition: 0.3s ease;
}

/* Customizing the background color and border color */
.btn-custom{
  background-color: #017c57; /* New background color (e.g., green) */
  border-color: #017c57; /* New border color */
  color: #fff; /* Keep text white */
}

/* Customizing the hover state */
.btn-custom:hover {
  background-color: #4CAF50; /* Darker green on hover */
  border-color: #4CAF50;
}

/* ---------------- HERO SECTION ---------------- */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
	font-size: 2rem;
}
	
.hero-content p {
	font-size: 1rem; 
	max-width: 500px;
}
	
.hero-article-card {
    transition: transform 0.3s;
	cursor: pointer;
	background-color: rgba(255,255,255,0.8);
}
.news-card {
    border-radius: 0;
}


/* ---------------- ARTICLES ---------------- */
.articles-section {
    margin-top: -100px; /* move up over hero */
    position: relative;
    z-index: 10; /* stay above hero */
}

.article-card {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
	cursor: pointer;
}

.article-card img {
    width: 100%; 
    height: 180px; 
    object-fit: cover;
}

.article-card h5 {
   
}

.article-card:hover {
    transform: translateY(-5px);
}


/* ---------------- SERVICES ---------------- */
.service-card-home {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}

.service-card-home:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-text-home {
    font-weight: 500;
    font-size: 16px;
	color: #000;
}

/* ---------------- WORK WITH US ---------------- */
.work-section {
    height: 600px;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

/* ---------------- TESTING & SERVICES TAB---------------- */

.tabs-wrapper {
    position: relative;
	border-bottom: 1px solid #ddd;
}

.services-tabs {
    list-style: none;
    padding-left: 0;
    margin: 0;
    white-space: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.services-tabs::-webkit-scrollbar {
    display: none;
}

.services-tabs .tab-item {
    cursor: pointer;
    padding-bottom: 10px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.services-tabs .tab-item.active {
    color: #ff5a1f;
    font-weight: 600;
}

.services-tabs .tab-item.active::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: #ff5a1f;
    left: 0;
    bottom: 0;
    border-radius: 4px;
}
.services-tabs li a {
    text-decoration: none;
    color: inherit; /* keeps same text color */
}

.services-tabs li a:hover {
    text-decoration: none;
}

.service-card {
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card .title {
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
}

/* Scroll Buttons */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    box-shadow: 0 1px 6px rgba(0,0,0,0.25);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.2s;
}

.scroll-btn:hover {
    background: #f3f3f3;
}

.left-btn {
    left: -18px;
}

.right-btn {
    right: -18px;
}

.scroll-btn i {
    font-size: 14px;
    color: #555;
}

/* Tabs */
.tab-item {
    cursor: pointer;
    padding-bottom: 10px;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.tab-item.active {
    color: #ff5a1f;
}

.tab-item.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #ff5a1f;
    border-radius: 4px;
}


.hero-section-2 {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-section-2 .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CENTER TEXT IN MIDDLE (VERTICAL + HORIZONTAL) */
.hero-section-2 .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; /* center align text */
    color: white;
    max-width: 600px;
}

.hero-section-2 h1 {
    font-size: 2.4rem;
    font-weight: 700;
}

.hero-section-2 p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 10px;
}

/* ---------------- ABOUT---------------- */
.positive-impact-section {
    font-family: 'Segoe UI', sans-serif;
    background: #F5F5F5;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #002A42;
}

.section-desc {
    max-width: 700px;
    color: #4A4A4A;
    font-size: 16px;
}

.purpose-bar {
    background: #017c57;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 500;
}

.mv-box {
    background: #fff;
	height: 400px;
}

.mv-text {
    padding: 18px;
    text-align: left;
}

.mv-text h4 {
    color: #002A42;
    font-weight: 700;
    font-size: 18px;
}

.mv-text p {
    color: #4A4A4A;
    font-size: 15px;
}

.values-title {
    font-size: 24px;
    font-weight: 700;
    color: #002A42;
}

.value-row {
    background: #fff;
    margin-bottom: 15px;
    min-height: 70px;
}

.value-text {
    flex: 1;
    padding: 18px;
    font-size: 16px;
    color: #333;
}

.value-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon img {
    width: 100px;
}

.what-we-do-section {
    font-family: 'Segoe UI', sans-serif;
}

.icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle img {
    width: 65px;
}

.service-box h4 {
    font-size: 20px;
    font-weight: 700;
    color: #002A42;
}

.service-box p {
    font-size: 15px;
    color: #4A4A4A;
    padding: 0 10px;
}

.content-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
}

.lead-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.leaders-list li {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Optional styling */
.leaders-list li::before {
    content: "✔️ "; /* Adds a checkmark icon */
    color: #007BFF;
}
.member-card {
    background: #fff;
    border-radius: 10px;
    transition: 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.member-card img {
  
   
}

.member-card p {
    transition: all 0.3s ease-in-out;
}

.customers-section {
    background-color: #f9f9f9;
}

.customers-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* ensures all cards stretch to same height */
    gap: 30px;
}

.customer-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 150px;
    min-height: 180px; /* same minimum height for all cards */
    text-align: center;
}

.customer-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.customer-name {
    font-weight: 500;
    font-size: 0.95rem;
    color: #333;
}

.customer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* ---------------- INSIGHTS & NEWS---------------- */
.info-card {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.info-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(70%);
    transition: 0.3s ease;
}

.info-card:hover .info-bg {
    filter: brightness(60%);
}

.info-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0));
    color: #fff;
}

.info-content h3 {
    font-size: 22px;
    font-weight: 700;
}

.info-content p {
    margin: 15px 0;
    font-size: 15px;
    line-height: 1.5;
}

.info-btn {
    background: #fff;
    padding: 10px 20px;
    color: #000;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
}

.info-btn:hover {
    background: #eaeaea;
}

/* ---------------- CONTACT---------------- */
.contact-box {
    background: #ffffff;
    border-left: 5px solid #f15a24; /* Orange accent */
}

.map-box iframe {
    border: none;
}

.email-link {
    text-decoration: none;
    color: #000; /* Optional: keep text black */
}

.email-link:hover {
    text-decoration: underline; /* Or keep none */
}

/* ---------------- FOOTER ---------------- */
.footer-area {
    background: #38515A;
    color: #fff;
}
.footer-top-area {
    padding: 80px 0;
}
.footer-links a {
    display: flex;
    justify-content: space-between; /* ensures arrow sticks to far right */
    align-items: center;           /* vertically center text and arrow */
    text-decoration: none;
    color: #fff;
    padding: 5px 0;
}

.footer-links a:hover {
    color: #017c57;
}

.arrow-dist {padding-right: 100px;}

/* Footer bottom */
.footer-bottom {
    background-color: #017c57;
    color: #fff;
    padding: 15px;
    font-size: 14px;
}
.footer-bottom a {
	text-decoration: none;
    color: #fff;
    margin: 0 5px;
}

/* =========================
   SCROLL TO TOP BUTTON
========================= */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
  z-index: 3000;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  background-color: #017c57;
  transform: scale(1.1);
}

/* Hide top-bar on mobile only */
@media (max-width: 991px) {
    .top-bar {
        display: none !important;
    }
	.navbar-brand img {
		width: 100px;
	}
	/* FIX: Transparent Header Always on Top */
	.main-menu {
		position: fixed !important;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 3000 !important;
		background: rgba(255,255,255,0.6); /* semi-transparent */
		backdrop-filter: blur(8px);
	}

	/* FIX: Fullscreen Mobile Menu Under Header */
	.navbar-collapse {
		position: fixed;
		top: 60px; /* height of header */
		left: 0;
		width: 100%;
		height: calc(100vh - 70px);
		background: rgba(255,255,255,0.95);
		backdrop-filter: blur(10px);
		z-index: 2000 !important;
		overflow-y: auto;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease;
	}

	/* When menu is opened */
	.navbar-collapse.show {
		opacity: 1;
		visibility: visible;
	}

	/* Disable background scroll */
	body.menu-open {
		overflow: hidden;
	}

	/* Mega-menu scroll inside fullscreen */
	.mega-menu {
		max-height: 60vh;
		overflow-y: auto;
	}

	.mega-menu .container {
		padding-left: 5px;
	}
	.hero-section {
        margin-top: 60px; /* same height as the fixed navbar */
    }
	.hero-content h1 {
        font-size: 1.5rem;
    }
	.hero-content p {
        font-size: 0.9rem;
    }
	.hero-section-2 {
        height: 220px;
    }

    .hero-section-2 h1 {
        font-size: 1.2rem;
    }

    .hero-section-2 p {
        font-size: 0.8rem;
    }
	.info-card {
        width: 100%;
    }
	.customer-card {
        width: 120px;
        min-height: 180px;
    }
    .customer-card img {
        max-height: 60px;
    }
}