/*================================================
  ZEM Security - Footer CSS (Professional Upgrade)
=================================================*/

.footer-area {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer-area.with-black-background {
  background: linear-gradient(160deg, #060F1E 0%, #0A1628 50%, #0D1F3C 100%);
}

/* Gold top border accent */
.footer-area.with-black-background::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #D4A017 30%, #F5C842 50%, #D4A017 70%, transparent 100%);
  z-index: 2;
}

/* Subtle grid pattern */
.footer-area.with-black-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4A017' fill-opacity='0.03'%3E%3Cpath d='M25 0L50 25L25 50L0 25z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.footer-area.margin-zero {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  border-radius: 0;
}

/* ===== FOOTER CONTENT ===== */
.footer-area .container {
  position: relative;
  z-index: 1;
}

.single-footer-widget {
  margin-bottom: 35px;
}

.single-footer-widget .widget-logo {
  margin-bottom: 22px;
}

.single-footer-widget .widget-logo a img {
  max-height: 60px;
  transition: all 0.3s ease;
}

.single-footer-widget .widget-logo a img:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* Company description */
.single-footer-widget > p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 280px;
}

/* ===== SOCIAL ICONS ===== */
.single-footer-widget .widget-social {
  padding: 0;
  margin: 0;
  margin-top: 28px;
  display: flex;
  gap: 10px;
}

.single-footer-widget .widget-social li {
  display: inline-block;
  list-style: none;
}

.single-footer-widget .widget-social li a i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212, 160, 23, 0.25);
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  transition: all 0.35s ease;
}

.single-footer-widget .widget-social li a i:hover {
  background: linear-gradient(135deg, #D4A017 0%, #F5C842 100%);
  border-color: var(--main-color);
  color: #0A1628;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.35);
}

/* ===== WIDGET HEADINGS ===== */
.single-footer-widget h3 {
  font-size: 18px;
  margin-bottom: 28px;
  color: var(--white-color);
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 15px;
  font-family: var(--heading-font-family);
}

/* Gold underline on heading */
.single-footer-widget h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: linear-gradient(90deg, #D4A017, #F5C842);
  border-radius: 2px;
}

/* ===== QUICK LINKS ===== */
.single-footer-widget .quick-links {
  padding: 0;
  margin: 0;
}

.single-footer-widget .quick-links li {
  margin-bottom: 12px;
  list-style: none;
}

.single-footer-widget .quick-links li:last-child { margin-bottom: 0; }

.single-footer-widget .quick-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  padding: 3px 0;
}

.single-footer-widget .quick-links li a::before {
  content: '';
  width: 6px;
  height: 6px;
  background: rgba(212, 160, 23, 0.4);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.single-footer-widget .quick-links li a:hover {
  color: var(--main-color);
  padding-left: 8px;
}

.single-footer-widget .quick-links li a:hover::before {
  background: var(--main-color);
  transform: scale(1.3);
}

/* Contact links with icons */
.single-footer-widget .quick-links li a i {
  color: var(--main-color);
  font-size: 17px;
  flex-shrink: 0;
  width: 20px;
}

/* ===== NEWSLETTER FORM ===== */
.single-footer-widget .newsletter-form {
  margin-top: 20px;
  position: relative;
}

.single-footer-widget .newsletter-form .input-newsletter {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(212, 160, 23, 0.2);
  height: 56px;
  padding: 0 20px;
  border-radius: 10px;
  outline: 0;
  color: rgba(255,255,255,0.8);
  transition: all 0.3s ease;
  font-size: 15px;
}

.single-footer-widget .newsletter-form .input-newsletter::placeholder {
  color: rgba(255,255,255,0.35);
}

.single-footer-widget .newsletter-form .input-newsletter:focus {
  border-color: var(--main-color);
  background: rgba(212, 160, 23, 0.05);
}

.single-footer-widget .newsletter-form .input-newsletter:focus::placeholder {
  color: transparent;
}

.single-footer-widget .newsletter-form button {
  border: none;
  width: 100%;
  border-radius: 10px;
  padding: 15px 35px;
  margin-top: 12px;
  background: linear-gradient(135deg, #D4A017 0%, #F5C842 100%);
  color: #0A1628;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--heading-font-family);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.single-footer-widget .newsletter-form button:hover {
  background: linear-gradient(135deg, #F5C842 0%, #D4A017 100%);
  box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
  transform: translateY(-2px);
}

.single-footer-widget .newsletter-form #validator-newsletter {
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 8px;
  display: block;
}

/* ===== FOOTER DIVIDER ===== */
.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.06);
  margin: 0;
}

/* ===== COPYRIGHT AREA ===== */
.copyright-area {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.copyright-area .copyright-area-content {
  text-align: center;
  padding: 25px 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright-area .copyright-area-content p {
  color: rgba(255,255,255,0.4);
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.copyright-area .copyright-area-content p a {
  display: inline;
  font-weight: 700;
  color: var(--main-color);
  transition: color 0.3s;
}

.copyright-area .copyright-area-content p a:hover {
  color: #F5C842;
}

/* ===== FOOTER SHAPES ===== */
.footer-shape-1 {
  position: absolute;
  right: -50px;
  top: -50px;
  z-index: 0;
  opacity: 0.04;
}
.footer-shape-1 img {
  animation: rotateme 25s linear infinite;
  width: 400px;
}

.footer-shape-2 {
  position: absolute;
  bottom: 10%;
  left: 3%;
  z-index: 0;
  opacity: 0.05;
  animation: moveleftbounce 3s linear infinite;
}

.footer-shape-3 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  animation: animationFramesOne 15s infinite linear;
  opacity: 0.03;
}

/* ===== RESPONSIVE ===== */
@media only screen and (max-width: 767px) {
  .footer-area.with-black-background {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    border-radius: 0;
  }
  .single-footer-widget.ps-5 {
    padding-left: 0 !important;
  }
  .single-footer-widget h3 {
    font-size: 17px;
  }
  .single-footer-widget > p {
    max-width: 100%;
  }
  .copyright-area {
    margin-top: 15px;
  }
  .copyright-area .copyright-area-content {
    flex-direction: column;
    gap: 8px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .footer-area.with-black-background {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    border-radius: 0;
  }
  .single-footer-widget.ps-5 {
    padding-left: 0 !important;
  }
  .single-footer-widget h3 { font-size: 17px; }
  .copyright-area { margin-top: 15px; }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .single-footer-widget h3 { font-size: 17px; }
}