/* =============================================
   Vidhai Technologies – Header & Footer Styles
   ============================================= */

/* ── HEADER ─────────────────────────────────── */
#vt-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  /* background: rgba(0, 7, 94, 0.95); */
  background: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease;
  padding: 10px 0px;
}

#vt-header.vt-header--scrolled {
  /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35); */
}

.vt-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.vt-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.vt-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #0b9446;
  color: #fff;
  font-weight: 900;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vt-logo-text {
  color: #00075f;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -.01em;
}

.vt-logo-accent {
  color: #0b9446;
}

/* Desktop nav */
.vt-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.vt-nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: rgba(0, 0, 0, 0.88);
  font-size: .88rem;
  font-weight: 500;
  padding: .42rem .8rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #000000;
}

.nav-link--active {
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
}

.vt-caret {
  font-size: .65rem;
  transition: transform .2s;
}

.vt-nav-item:hover .vt-caret {
  transform: rotate(180deg);
}

/* CTA button */
.vt-cta-btn {
  display: inline-block;
  margin-left: .5rem;
  padding: .45rem 1.1rem;
  background: #0b9446;
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}

.vt-cta-btn:hover {
  opacity: .88;
  transform: translateY(-1px);
}

.vt-cta-btn--active {
  outline: 2px solid rgba(255, 255, 255, .4);
}

/* Mega menu */
.vt-mega {
  display: none;
  position: absolute;
  top: calc(100% + .4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 460px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 7, 94, .14);
  padding: 1.5rem;
  z-index: 1000;
  animation: megaIn .2s ease;
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-6px)
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
  }
}

.vt-has-mega:hover .vt-mega {
  display: block;
}

.vt-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.vt-mega-heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #00075e;
  margin-bottom: .6rem;
}

.vt-mega-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .6rem;
  border-radius: 7px;
  color: #444;
  font-size: .86rem;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.vt-mega-link:hover {
  background: #f0f4ff;
  color: #00075e;
}

.vt-mega-link i {
  color: #0b9446;
  width: 16px;
  font-size: .9rem;
}

/* Hamburger */
.vt-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  padding: .4rem;
}

/* Mobile drawer */
.vt-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: #00075e;
  z-index: 1100;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
}

.vt-mobile-menu.open {
  display: block;
  transform: translateX(0);
}

.vt-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 1050;
}

.vt-overlay.show {
  display: block;
}

.vt-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.vt-mobile-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .7);
  font-size: 1.4rem;
  cursor: pointer;
}

.vt-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-nav-link {
  display: block;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  font-weight: 500;
  padding: .8rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background .2s, color .2s;
}

.mobile-nav-link:hover,
.mobile-nav-link--active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.vt-mobile-cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  padding: .9rem;
  background: #0b9446;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity .2s;
}

.vt-mobile-cta:hover {
  opacity: .88;
}

/* ── Responsive breakpoint ─────────────────── */
@media (max-width: 1024px) {
  .vt-nav {
    display: none;
  }

  .vt-hamburger {
    display: flex;
  }
}

/* ── FOOTER ─────────────────────────────────── */
#vt-footer {
  background: #00075e;
  padding: 4rem 0 0;
}

.vt-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.vt-footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

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

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

/* Brand */
.vt-footer-brand .vt-logo {
  display: flex;
  margin-bottom: .9rem;
}

.vt-footer-tagline {
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  line-height: 1.65;
  max-width: 280px;
  margin-bottom: 1.25rem;
}

.vt-social-links {
  display: flex;
  gap: .6rem;
}

.vt-social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.vt-social-link:hover {
  background: #0b9446;
  color: #fff;
}

/* Columns */
.vt-footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}

.vt-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.vt-footer-col ul a {
  color: rgba(255, 255, 255, .6);
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s;
}

.vt-footer-col ul a:hover {
  color: #0b9446;
}

/* Contact list */
.vt-footer-contact {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vt-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.vt-footer-contact i {
  color: #0b9446;
  font-size: .85rem;
  margin-top: .15rem;
  flex-shrink: 0;
  width: 14px;
}

.vt-footer-contact span,
.vt-footer-contact a {
  color: rgba(255, 255, 255, .6);
  font-size: .85rem;
  line-height: 1.55;
  text-decoration: none;
  transition: color .2s;
}

.vt-footer-contact a:hover {
  color: #0b9446;
}

.vt-online-dot {
  font-size: .5rem !important;
  margin-top: .35rem !important;
}

/* Bottom bar */
.vt-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.vt-footer-bottom p {
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
}

.vt-footer-legal {
  display: flex;
  gap: 1.25rem;
}

.vt-footer-legal a {
  color: rgba(255, 255, 255, .5);
  font-size: .8rem;
  text-decoration: none;
  transition: color .2s;
}

.vt-footer-legal a:hover {
  color: rgba(255, 255, 255, .85);
}