 /* ==============================
   OUR CUSTOMERS / WHO WE SERVE
============================== */
.clients-serve-section {
  padding: 110px 8%;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}

.clients-serve-section .container {
  max-width: 1300px;
  margin: 0 auto;
}

.clients-head {
  text-align: center;
  margin-bottom: 70px;
}

.clients-head .mini-title {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6b7280;
  margin-bottom: 14px;
  font-weight: 500;
}

.clients-head h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.1;
  font-weight: 800;
  color: #1c2240;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clients-head h2 span {
  color: #66A83D; /* logo green */
}

.clients-head .head-line {
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #2E2F78, #66A83D);
  margin: 18px auto 0;
  border-radius: 10px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  align-items: start;
}

.client-box {
  position: relative;
}

.client-box.down {
  margin-top: 55px;
}

.client-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-left: 8px;
}

.client-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(46,47,120,0.12);
  border: 4px solid #eef8e8;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-meta h4 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 3px;
  color: #2E2F78;
  font-weight: 800;
}

.client-meta span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #66A83D;
  font-weight: 600;
}

.client-card {
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  border: 1px solid rgba(46,47,120,0.08);
  padding: 28px 22px 24px;
  min-height: 250px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(46,47,120,0.08);
}

.client-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 28px;
  width: 18px;
  height: 18px;
  background: #f4f8ff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(46,47,120,0.08);
  border-top: 1px solid rgba(46,47,120,0.08);
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(46,47,120,0.16);
  border-color: rgba(102,168,61,0.22);
}

.quote-icon {
  font-size: 60px;
  line-height: 1;
  color: #2E2F78;
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.client-card p {
  font-size: 17px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0 0 22px;
  font-weight: 400;
}

.client-stars {
  color: #66A83D;
  letter-spacing: 4px;
  font-size: 20px;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 1100px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-box.down {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .clients-serve-section {
    padding: 80px 20px;
  }

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .clients-head {
    margin-bottom: 45px;
  }

  .client-card {
    min-height: auto;
  }

  .client-meta h4 {
    font-size: 14px;
    letter-spacing: 2px;
  }

  .client-card p {
    font-size: 15px;
    line-height: 1.7;
  }
}
/* =========================
   CERTIFICATE SECTION
========================= */
.certificate-section{
  position: relative;
  padding: 110px 0;
  background:
    radial-gradient(circle at top left, rgba(232,98,10,0.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  overflow: hidden;
}

.certificate-head{
  max-width: 860px;
  margin: 0 auto 54px;
  text-align: center;
}

.certificate-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.certificate-card{
  position: relative;
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(13, 27, 42, 0.08);
  border: 1px solid rgba(13, 27, 42, 0.06);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.certificate-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 26px 60px rgba(13, 27, 42, 0.14);
}

.certificate-img-wrap{
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #f4f4f4;
}

.certificate-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.certificate-card:hover .certificate-img{
  transform: scale(1.06);
}

.certificate-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.78), rgba(13,27,42,0.18));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.certificate-card:hover .certificate-overlay{
  opacity: 1;
}

.certificate-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e8620a, #f59d2a);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 25px rgba(232,98,10,0.24);
}

.certificate-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(232,98,10,0.30);
}

.certificate-content{
  padding: 26px 24px 28px;
}

.certificate-tag{
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8620a;
  background: rgba(232,98,10,0.08);
  padding: 8px 12px;
  border-radius: 999px;
}

.certificate-content h3{
  font-size: 1.35rem;
  line-height: 1.3;
  color: #0d1b2a;
  margin-bottom: 12px;
  font-family: var(--ff-head);
}

.certificate-content p{
  font-size: 0.98rem;
  line-height: 1.8;
  color: #5b6470;
  margin: 0;
}

/* Optional decorative glow */
.certificate-section::before{
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,98,10,0.14), transparent 70%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 1100px){
  .certificate-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px){
  .certificate-section{
    padding: 85px 0;
  }

  .certificate-grid{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .certificate-img-wrap{
    height: 280px;
  }

  .certificate-content h3{
    font-size: 1.2rem;
  }

  .certificate-content p{
    font-size: 0.92rem;
    line-height: 1.7;
  }
}
/* =========================
   PRODUCTS MEGA DROPDOWN
   LOGO THEME VERSION
========================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: #2E2F78;
  font-weight: 600;
  font-size: 15px;
  transition: color .3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #5FA13A;
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform .3s ease;
  color: #2E2F78;
}

.nav-item-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
  color: #5FA13A;
}

/* MEGA DROPDOWN */
.mega-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: 1180px;
  max-width: calc(100vw - 60px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
  border-radius: 26px;
  box-shadow: 0 25px 60px rgba(46, 47, 120, 0.16);
  border: 1px solid rgba(46, 47, 120, 0.08);
  padding: 28px 28px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .28s ease;
  z-index: 999;
}

.nav-item-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  top: calc(100% + 12px);
}

.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 28px 34px;
}

.mega-col h4 {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 800;
}

.mega-col h4 a {
  color: #2E2F78;
  text-decoration: none;
  transition: color .3s ease;
}

.mega-col h4 a:hover {
  color: #5FA13A;
}

.mega-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-col ul li {
  margin-bottom: 12px;
}

.mega-col ul li a {
  text-decoration: none;
  color: #5b6472;
  font-size: 15px;
  line-height: 1.5;
  transition: color .3s ease, padding-left .3s ease;
}

.mega-col ul li a:hover {
  color: #5FA13A;
  padding-left: 4px;
}

/* CTA */
.mega-col-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mega-view-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid #5FA13A;
  background: transparent;
  color: #2E2F78;
  text-decoration: none;
  font-weight: 700;
  transition: all .3s ease;
}

.mega-view-all-btn:hover {
  background: linear-gradient(135deg, #2E2F78, #5FA13A);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(46, 47, 120, 0.18);
}

/* keep dropdown open while moving cursor */
.nav-item-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
}

/* =========================
   MOBILE PRODUCTS DROPDOWN
========================= */
.mobile-dropdown-item {
  width: 100%;
}

.mobile-dropdown-toggle {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: #2E2F78;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-dropdown-toggle:hover {
  color: #5FA13A;
}

.mobile-submenu {
  display: none;
  padding: 0 0 10px 14px;
  border-left: 2px solid rgba(95,161,58,0.22);
  margin-bottom: 10px;
}

.mobile-submenu a {
  display: block;
  text-decoration: none;
  color: #5b6472;
  font-size: 14px;
  padding: 9px 0;
  line-height: 1.5;
  transition: color .3s ease;
}

.mobile-submenu a:hover {
  color: #5FA13A;
}

.mobile-dropdown-item.active .mobile-submenu {
  display: block;
}

.mobile-dropdown-item.active .mobile-dropdown-toggle span {
  transform: rotate(180deg);
}

.mobile-dropdown-toggle span {
  transition: transform .3s ease;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1200px) {
  .mega-dropdown {
    width: 1000px;
  }

  .mega-dropdown-inner {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 991px) {
  .nav-item-dropdown .mega-dropdown {
    display: none;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 🔥 LOGO IMAGE */
.footer-logo-img {
  width: 60px;
  height: auto;
  object-fit: contain;
}

/* text */
.footer-name {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}