/* ==========================================================
   Cognyfy footer (Bootstrap 3.3.7 friendly). All classes start with "cg-".
   Colours: deep teal #023534 · orange #f6961a · gold #efb935 · navy #1e3c62
   ========================================================== */
.cg-footer {
  position: relative; overflow: hidden; color: #b8c9c8; font-size: 14px;
  background: #023534 linear-gradient(135deg, #02302f 0%, #023534 55%, #0b3c52 100%);
  padding: 60px 0 0;
}
.cg-footer:before {                                  /* coloured top edge */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #f6961a, #efb935, #03716f);
}
.cg-footer:after {                                   /* subtle dot pattern */
  content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px;
}
.cg-in { position: relative; z-index: 2; }
.cg-glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.cg-glow1 { right: -120px; top: 140px; width: 340px; height: 340px; background: rgba(246,150,26,.09); }
.cg-glow2 { left: -110px; bottom: 70px; width: 280px; height: 280px; background: rgba(3,113,111,.4); }
.cg-footer a { transition: all .25s; }
.cg-footer p { margin: 0 0 14px; padding: 0; color: #b8c9c8; font-size: 14px; line-height: 1.85; }

/* ---------- Call to action bar ---------- */
.cg-cta {
  background: linear-gradient(100deg, #f6961a, #e0830b); border-radius: 14px; padding: 30px 34px;
  margin-bottom: 54px; box-shadow: 0 18px 40px rgba(0,0,0,.28); position: relative; overflow: hidden;
}
.cg-cta:before { content: ""; position: absolute; right: -50px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.14); }
.cg-cta-ico {
  float: left; width: 62px; height: 62px; line-height: 62px; text-align: center; border-radius: 50%;
  background: #fff; color: #f6961a; font-size: 28px; margin-right: 20px;
  -webkit-animation: cgPulse 2.6s ease-out infinite; animation: cgPulse 2.6s ease-out infinite;
}
.cg-cta-text { overflow: hidden; }
.cg-cta-text h3 { margin: 4px 0 6px; color: #fff; font-size: 26px; font-weight: 800; line-height: 1.25; }
.cg-cta-text p { margin: 0; color: #fff; font-size: 15px; }
.cg-cta-btn { text-align: right; padding-top: 8px; position: relative; z-index: 2; }
.cg-btn {
  display: inline-block; background: #1e3c62; color: #fff; padding: 14px 32px; border-radius: 30px;
  font-weight: 700; font-size: 15px; text-decoration: none;
}
.cg-btn i { margin-left: 6px; transition: margin .2s; }
.cg-btn:hover, .cg-btn:focus { background: #14294a; color: #fff; text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,.3); }
.cg-btn:hover i { margin-left: 11px; }
@-webkit-keyframes cgPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }
@keyframes cgPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }

/* ---------- Logo + about ---------- */
.cg-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 16px; margin-bottom: 20px; box-shadow: 0 8px 22px rgba(0,0,0,.28); text-decoration: none; }
.cg-logo img { display: block; height: 62px; width: auto; max-width: 100%; }
.cg-wordmark { display: none; font-family: Poppins, Arial, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: 2px; color: #023534; line-height: 62px; }
.cg-wordmark span { color: #f6961a; }
.cg-pills span {
  display: inline-block; margin: 0 8px 8px 0; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
  color: #efb935; background: rgba(255,255,255,.07); border: 1px solid rgba(239,185,53,.35);
}
.cg-pills i { margin-right: 5px; }

/* ---------- Column titles + link lists ---------- */
.cg-title { position: relative; margin: 6px 0 26px; padding-bottom: 14px; color: #fff; font-size: 18px; font-weight: 700; }
.cg-title:before { content: ""; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; border-radius: 2px; background: #f6961a; }
.cg-title:after  { content: ""; position: absolute; left: 44px; bottom: 0; width: 10px; height: 3px; border-radius: 2px; background: #03716f; }
.cg-links { list-style: none; margin: 0; padding: 0; }
.cg-links li { margin: 0; padding: 0; }
.cg-links li:before { content: none; }
.cg-links a { position: relative; display: inline-block; padding: 6px 0 6px 20px; color: #b8c9c8; font-size: 14px; text-decoration: none; }
.cg-links a:before { content: "\f105"; font-family: FontAwesome; position: absolute; left: 0; top: 6px; color: #f6961a; font-size: 16px; transition: left .2s; }
.cg-links a:hover { color: #fff; text-decoration: none; padding-left: 26px; }
.cg-links a:hover:before { left: 6px; }

/* ---------- Contact list ---------- */
.cg-contact { list-style: none; margin: 0 0 18px; padding: 0; }
.cg-contact li { display: -webkit-flex; display: flex; margin: 0 0 14px; padding: 0; line-height: 1.7; }
.cg-contact li:before { content: none; }
.cg-ico { -webkit-flex: 0 0 38px; flex: 0 0 38px; width: 38px; height: 38px; line-height: 38px; text-align: center; border-radius: 50%; background: rgba(246,150,26,.16); color: #f6961a; margin-right: 14px; transition: all .25s; }
.cg-contact li:hover .cg-ico { background: #f6961a; color: #fff; }
.cg-contact a { color: #b8c9c8; text-decoration: none; }
.cg-contact a:hover { color: #efb935; text-decoration: none; }
.cg-map { color: #efb935 !important; font-size: 13px; font-weight: 600; }
.cg-map:hover { text-decoration: underline !important; }
.cg-login {
  display: inline-block; padding: 10px 22px; border-radius: 30px; border: 2px solid #efb935; color: #efb935;
  font-weight: 700; font-size: 14px; text-decoration: none;
}
.cg-login i { margin-right: 6px; }
.cg-login:hover, .cg-login:focus { background: #efb935; color: #023534; text-decoration: none; }

/* ---------- Newsletter (optional module) ---------- */
.cg-news { max-width: 540px; margin: 10px auto 34px; text-align: center; }
.cg-news .newsletter-box h4 { margin: 0 0 6px; color: #fff; font-size: 20px; font-weight: 700; }
.cg-news .newsletter-box p { margin: 0 0 12px; color: #b8c9c8; }
.cg-news .form-control { height: 46px; border: 0; border-radius: 30px 0 0 30px; box-shadow: none; padding-left: 20px; }
.cg-news .btn { height: 46px; border: 0; border-radius: 0 30px 30px 0; background: #f6961a; color: #fff; font-weight: 700; padding: 0 24px; }
.cg-news .btn:hover { background: #e0830b; }

/* ---------- Confidential banner + copyright ---------- */
.cg-conf {
  text-align: center; margin: 8px 0 30px; padding: 13px 20px; border-radius: 50px; color: #efb935;
  font-weight: 700; font-size: 15px; letter-spacing: 1.5px; background: rgba(255,255,255,.06); border: 1px dashed rgba(239,185,53,.55);
}
.cg-conf i { margin: 0 8px; }
.cg-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 22px; text-align: center; }
.cg-bottom p { margin: 0; color: #8fa5a4; font-size: 14px; }
.cg-bottom a { color: #efb935; text-decoration: underline; }
.cg-bottom a:hover { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .cg-cta { text-align: center; padding: 26px 22px; }
  .cg-cta-ico { float: none; margin: 0 auto 14px; }
  .cg-cta-btn { text-align: center; padding-top: 16px; }
  .cg-main > div { margin-bottom: 30px; }
}
@media (max-width: 767px) {
  .cg-footer { padding-top: 44px; }
  .cg-cta-text h3 { font-size: 22px; }
  .cg-conf { font-size: 12px; letter-spacing: .5px; border-radius: 16px; line-height: 1.6; }
  .cg-conf i { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cg-cta-ico { -webkit-animation: none; animation: none; } }
