body:not(.page-id-5):not(.page-id-363):not(.page-id-1350):not(.page-id-1304):not(.single-post) a.mega-menu-link {
    color: black !important;
}
.stophead {
    border-bottom: 1px solid #e5e7eb !important;
    padding-top: 5px !important;
}
h3.mainsubtitle {
    color: #aba3a3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.subhead_link a {
    text-align: right !important;
    float: right;
    font-size: 13px;
}
.cat-label {
    color: #2a7d6e;
    font-weight: 600;
    margin-top: 12px;
}
.mega-menu-column ul.mega-sub-menu li a {
    font-size: 12px !important;
    font-weight: 600 !important;
}
.sbotcont {
    padding-left: 30px !important;
    padding-bottom: 30px !important;
}
.sbotcont ul.mega-sub-menu li.mega-menu-item {
    padding: 5px !important;
}
.sbotcont ul.mega-sub-menu li.mega-menu-item a {
    padding: 5px !important;
}
.subhead_link {
    padding-top: 0px !important;
}
.story-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #E5E7EB; /* was var(--border-light) */
    transition: all 0.15s;
    align-items: flex-start;
}

.story-card:hover {
    border-color: #5EEAD4; /* was var(--teal-light) */
    background: #CCFBF1; /* was var(--teal-lighter) */
}

.story-card .st-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    font-family: 'DM Serif Display', serif;
    color: #FFFFFF;
    flex-shrink: 0;
}

.story-card .st-info {
    flex: 1;
    min-width: 0;
}

.story-card .st-company {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0D9488; /* was var(--teal) */
    margin-bottom: 3px;
}

.story-card h5 {
    font-size: 13.5px;
    font-weight: 600;
    color: #36454F; /* was var(--charcoal) */
    line-height: 1.35;
    margin-bottom: 6px;
}

.story-card .st-stat {
    display: inline-flex;
    padding: 3px 8px;
    background: #99F6E4; /* was var(--teal-light) */
    border-radius: 5px;
    font-size: 11.5px;
    font-weight: 700;
    color: #115E59; /* was var(--teal-dark) */
}

.dd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 12px;
    border-bottom: 1px solid #E5E7EB; /* was var(--border-light) */
}

.dd-head h3 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6B7280; /* was var(--text-muted) */
}

.serve-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.serve-card {
    display: block;
    padding: 16px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #E5E7EB; /* was var(--border-light) */
    transition: all 0.15s;
}

.serve-card .sc-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #0D9488; /* was var(--teal) */
    margin-bottom: 4px;
}

.serve-card h5 {
    font-size: 15px;
    font-weight: 700;
    color: #36454F; /* was var(--charcoal) */
    margin-bottom: 5px;
}

.serve-card p {
    font-size: 12.5px;
    color: #6B7280; /* was var(--text-muted) */
    line-height: 1.5;
    margin-bottom: 12px;
}

.cs-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #D1D5DB; /* was var(--border) */
    transition: border-color 0.15s;
}

.cs-pill .cs-dot {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    font-family: 'DM Serif Display', serif;
    color: #FFFFFF;
    flex-shrink: 0;
}

.cs-pill .cs-text strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #36454F; /* was var(--charcoal) */
    line-height: 1.3;
}

.cs-pill .cs-text span {
    font-size: 11px;
    color: #0D9488; /* was var(--teal) */
    font-weight: 600;
}
.contactbtn a.mega-menu-link {
    background: #2e6e75 !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    border-radius: 33px !important;
}
.contactbtn a.mega-menu-link:hover
{
   background: #1d2a34 !important;
}
.d-none
{
    display:none !important;
}
.mega-d-none {
    display: none !important;
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:hover {
    text-decoration: underline;
}
.sbotcont ul.mega-sub-menu .mega-menu-column li a:hover {
    background: #e8f4f1 !important;
    color: #1f5f54 !important;
    padding: 5px !important;
    border-radius: 5px !important;
}
@media screen and (max-width: 767px) {
.dd-body.serve-body {
    display: block;
}
#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle + #mega-menu-max_mega_menu_1 {
    padding: 10px !important;
}
}

.custom-footer {
  background: #0d0d0d;
  color: #ccc;
  padding: 60px 40px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #fff;
}

/* Brand Section */
.footer-brand .logo {
  font-size: 24px;
  color: #fff;
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.small-links li {
  margin-bottom: 6px;
}

/* Social Icons */
.social-icons {
  margin-bottom: 20px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  font-size: 14px;
  border: 1px solid #444;
  padding: 6px 10px;
  border-radius: 50%;
  text-decoration: none;
  min-width: 34px;
    text-align: center;
}

.social-icons a:hover {
  background: #fff;
  color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

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