/* ==========================================================================
   NEW FOOTER - TAYYAB TECH INSPIRED MODERN MINIMALIST DESIGN
   Trigvent Solutions
   ========================================================================== */

.tt-footer {
  position: relative;
  background-color: #ffffff;
  color: #09090b;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}

/* Generative ASCII / Dot Matrix Wave Background */
.tt-footer-canvas-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 280px;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.22;
  z-index: 1;
}

.tt-footer-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Inner Container */
.tt-footer-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 1024px) {
  .tt-footer-container {
    padding: 0 48px;
  }
}

/* Main Grid */
.tt-footer-main {
  padding: 80px 0 64px;
}

@media (min-width: 1024px) {
  .tt-footer-main {
    padding: 96px 0 80px;
  }
}

.tt-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 640px) {
  .tt-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  .tt-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

/* Brand Column */
.tt-footer-brand {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .tt-footer-brand {
    padding-right: 32px;
  }
}

.tt-footer-logo {
  display: inline-block;
  margin-bottom: 24px;
  line-height: 0;
}

.tt-footer-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tt-footer-logo:hover img {
  transform: translateY(-2px);
}

.tt-footer-desc {
  font-size: 15px;
  line-height: 1.7;
  color: #71717a;
  margin: 0 0 28px 0;
  max-width: 420px;
  font-weight: 400;
}

/* Contact Badges in Brand Column */
.tt-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tt-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #52525b;
  text-decoration: none;
  transition: color 0.25s ease;
}

.tt-contact-item:hover {
  color: #09090b;
}

.tt-contact-item .tt-arrow-icon {
  width: 13px;
  height: 13px;
  opacity: 0;
  transform: translate(-3px, 2px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
}

.tt-contact-item:hover .tt-arrow-icon {
  opacity: 1;
  transform: translate(0, 0);
}

.tt-contact-address {
  font-size: 13px;
  line-height: 1.5;
  color: #8e8e93;
  margin-top: 4px;
  max-width: 320px;
}

/* Navigation Columns */
.tt-footer-col {
  display: flex;
  flex-direction: column;
}

.tt-footer-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
  margin: 0 0 20px 0;
}

.tt-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tt-footer-links li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tt-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #71717a;
  text-decoration: none;
  font-weight: 450;
  line-height: 1.4;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-footer-links a:hover {
  color: #09090b;
  transform: translateX(3px);
}

/* External Link Arrow */
.tt-ext-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  stroke: currentColor;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tt-footer-links a:hover .tt-ext-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* Bottom Bar */
.tt-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .tt-footer-bottom {
    flex-direction: row;
  }
}

.tt-footer-copyright {
  font-size: 13px;
  color: #71717a;
  margin: 0;
}

.tt-footer-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.tt-footer-legal a {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tt-footer-legal a:hover {
  color: #09090b;
}

/* Mobile Adjustments */
@media (max-width: 639px) {
  .tt-footer-main {
    padding: 56px 0 44px;
  }
  
  .tt-footer-grid {
    gap: 36px;
  }
  
  .tt-footer-bottom {
    text-align: center;
    padding: 24px 0 32px;
  }
  
  .tt-footer-legal {
    justify-content: center;
  }
}
