/* ================= ROOT VARIABLES ================= */
:root {
  --blue: #0068a0;
  --red: #a71c20;
  --dark: #404041;
  --white: #ffffff;
  --light: #f6f7f9;
  --border: #e9ecf1;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ================= GLOBAL ================= */
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  font-weight: 400;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ================= TOP BAR ================= */
.ad-topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
}

.ad-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.ad-topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ad-topbar-link {
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  font-weight: 500;
}

.ad-topbar-link i {
  color: #25D366;
}

.ad-topbar-link .fa-envelope {
  color: #ffd6d6;
}

.ad-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ad-mini-btn {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: 0.25s ease;
}

.ad-mini-btn:hover {
  transform: translateY(-1px);
}

.ad-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.8);
}

/* ================= HEADER ================= */
.ad-header {
  position: sticky;
  top: 0;
  z-index: 2000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: 0.3s ease;
}

.ad-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 18px;
  transition: height 0.3s ease;
}

/* LOGO */
.ad-logo-img {
  height: 56px;
  width: auto;
  display: block;
  transition: 0.3s ease;
}

/* SHRINK EFFECT */
.ad-header.ad-shrink .ad-header-inner {
  height: 68px;
}

.ad-header.ad-shrink .ad-logo-img {
  height: 44px;
}

/* ================= DESKTOP NAV ================= */
.ad-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.ad-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ad-item {
  position: relative;
}

.ad-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 14.5px;
  border-radius: 10px;
  transition: 0.25s ease;
}

.ad-link:hover {
  color: var(--blue);
  background: rgba(0,104,160,0.07);
}

.ad-home-icon i {
  font-size: 16px;
}

.ad-caret {
  font-size: 12px;
  opacity: 0.8;
}

/* ================= SUB MENU LEVEL 1 ================= */
.ad-submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  min-width: 260px;
  padding: 10px;
  display: none;
  z-index: 3000;
}

.ad-has-sub:hover > .ad-submenu {
  display: block;
}

.ad-subitem {
  position: relative;
}

.ad-sublink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

.ad-sublink:hover {
  color: var(--blue);
  background: rgba(0,104,160,0.08);
}

/* ================= SUB MENU LEVEL 2 ================= */
.ad-submenu-right {
  top: 0;
  left: 100%;
  margin-left: 10px;
}

/* ================= CTA ================= */
.ad-cta {
  display: flex;
  align-items: center;
}

.ad-discuss-btn {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
  box-shadow: 0 10px 22px rgba(167,28,32,0.25);
}

.ad-discuss-btn:hover {
  transform: translateY(-1px);
}

/* ================= MOBILE TOGGLE ================= */
.ad-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 10px;
}

.ad-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
}

/* ================= MOBILE MENU ================= */
.ad-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 5000;
}

.ad-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.ad-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 96%);
  height: 100%;
  background: var(--white);
  z-index: 6000;
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.ad-mobile-menu.active {
  right: 0;
}

.ad-mobile-head {
  background: var(--blue);
  color: var(--white);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ad-mobile-title {
  font-weight: 800;
  font-size: 16px;
}

.ad-mobile-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 24px;
  border-radius: 12px;
  cursor: pointer;
}

/* MOBILE QUICK LINKS */
.ad-mobile-quick {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--light);
}

.ad-quick-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.ad-quick-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

/* MOBILE NAV */
.ad-mobile-nav {
  overflow: auto;
  padding: 10px 0;
  flex: 1;
}

.ad-mmenu {
  list-style: none;
  padding: 0 10px;
}

.ad-mitem {
  border-bottom: 1px solid var(--border);
}

.ad-mlink {
  display: block;
  padding: 14px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 14px;
}

.ad-mtoggle {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 14px;
  color: var(--dark);
}

.ad-msub {
  list-style: none;
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.ad-msub.open {
  max-height: 1200px;
}

/* MOBILE FOOTER */
.ad-mobile-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.ad-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {

  .ad-nav,
  .ad-cta {
    display: none;
  }

  .ad-toggle {
    display: inline-block;
  }

  /* TOP BAR CENTER ALIGN */
  .ad-topbar-inner {
    justify-content: center;
    text-align: center;
  }

  .ad-topbar-left {
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .ad-topbar-link {
    justify-content: center;
  }

  .ad-topbar-right {
    display: none;
  }

  .ad-header-inner {
    height: 78px;
  }
}

@media (max-width: 480px) {
  .ad-topbar-link span {
    font-size: 12px;
  }

  .ad-logo-img {
    height: 50px;
  }
}




.modern-footer {
    background-color: #0068a0;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    padding-top: 60px;
    font-size: 14px;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 40px;
    padding-right: 15px;
}

.brand-col { flex: 1.5; }
.services-wrapper { display: flex; flex: 2; } /* Holds both service lists */

/* Typography */
.modern-footer h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
    position: relative;
}

.modern-footer h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

.brand-text {
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    margin: 20px 0 30px;
    font-size: 13px;
}

/* Links and Icons */
.service-links {
    list-style: none;
    padding: 0;
    line-height: 1.5;
}

.service-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-links li i {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.service-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: 0.3s;
}

.service-links a:hover {
    color: #fff;
    transform: translateX(5px);
    display: inline-block;
}

/* Contact Styles */
.contact-group { margin-bottom: 20px; }
.contact-label { font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.contact-group a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 13px;
    opacity: 0.9;
}
.contact-group i { margin-right: 8px; width: 15px; text-align: center; }
.mt-large { margin-top: 25px; }

/* Certifications */
.certifications h4 { font-size: 12px; text-transform: uppercase; margin-bottom: 15px; color: white; }
.cert-grid { display: flex; gap: 10px; }
.cert-grid img { height: 32px; background: #fff; padding: 3px; border-radius: 4px; }

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.1);
    /* padding: 25px 0; */
    /* margin-top: 20px; */
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.bottom-container p {
    padding-top: 1%;
    margin-bottom: 1% !important;
}

.social-links a {
    color: #fff;
    margin-left: 15px;
    font-size: 18px;
    transition: 0.3s;
}

.social-links a:hover { opacity: 0.7; transform: translateY(-3px); display: inline-block; }

/* --- 100% RESPONSIVE MOBILE FIXES --- */

@media (max-width: 768px) {
    .footer-container { flex-direction: column; }
    .brand-col, .contact-col { flex: 1; width: 100%; text-align: left; }
    
    /* Force side-by-side for the two lists */
    .services-wrapper {
        display: flex;
        flex-direction: row; 
        width: 100%;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .services-wrapper .footer-col {
        flex: 1;
        min-width: 0; /* Prevents overflow */
        margin-bottom: 0;
    }

    .bottom-container {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .modern-footer h3 { font-size: 14px; }
    .service-links a { font-size: 12px; }
}



