/* ============================================
   SKYVIEW BROADCAST - Global Styles
   Shared across all pages
   ============================================ */

html {
  scroll-behavior: smooth;
}

/* ---------- Variables ---------- */
:root {
  --primary: #0055ff;
  --primary-dark: #0040cc;
  --primary-light: #3378ff;
  --primary-rgb: 0, 85, 255;
  --accent: #00d4ff;
  --accent-rgb: 0, 212, 255;
  --dark: #0a0f1c;
  --dark-2: #111827;
  --dark-3: #1e293b;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  /* --font-heading: "Space Grotesk", "Inter", sans-serif; */
  --font-heading: "Manrope", "Inter", sans-serif;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--accent) 100%
  );
  --shadow-glow: 0 0 30px rgba(var(--primary-rgb), 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #6b7280;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark);
}
h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.25rem, 2.7vw, 2.8rem);
}

a {
  transition: var(--transition);
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}
.loader {
  text-align: center;
}
.loader-ring {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(var(--accent-rgb), 0.15);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
.loader-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: #fff;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Navbar ---------- */
#navbar {
  padding: 16px 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: all 0.35s ease;
}
#navbar.scrolled {
  padding: 11px 0;
  /* background: rgba(15, 23, 44, 0.97); */
  background: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-logo {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
#navbar.scrolled .nav-logo {
  height: 38px;
  filter: none;
}

#navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 24px;
  position: relative;
  letter-spacing: 0.2px;
}
#navbar.scrolled .nav-link {
  color: var(--dark);
}
#navbar .nav-link:hover {
  color: var(--primary);
}
#navbar .nav-link.active,
#navbar .dropdown.show > .nav-link,
#navbar .mega-dropdown:hover > .nav-link,
#navbar .mega-dropdown:has(.mega-open) > .nav-link {
  color: var(--primary);
}
#navbar .nav-link:focus,
#navbar .nav-link:focus-visible,
#navbar .dropdown-toggle:focus,
#navbar .dropdown-toggle:focus-visible {
  outline: none;
  box-shadow: none;
  border: none;
}
#navbar .nav-item .nav-link {
  border: none;
  outline: none;
  box-shadow: none;
}

#navbar .dropdown-toggle::after {
  display: inline-block;
  border: none;
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.5rem;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.5;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  position: static;
  width: auto;
  height: auto;
  background: none;
}
#navbar .dropdown.show .dropdown-toggle::after,
#navbar .mega-dropdown:hover .dropdown-toggle::after,
#navbar .mega-dropdown:has(.mega-open) .dropdown-toggle::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Mobile Toggler */
.navbar-toggler {
  border: none;
  padding: 6px;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.navbar-toggler span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* Contact Button */
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.btn-contact:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}
.btn-contact i {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.btn-contact:hover i {
  transform: translateX(3px);
}

/* ---------- Mega Dropdown ---------- */
.mega-dropdown {
  position: static !important;
}
.mega-menu {
  width: 100%;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  margin-top: 0 !important;
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  display: block !important;
  pointer-events: none;
  left: 0 !important;
  right: 0 !important;
  top: 100%;
  transition: none;
}
.mega-menu.mega-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mega-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
  border: 1px solid transparent;
}
.mega-card:hover {
  background: #f0f5ff;
  border-color: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.08);
  color: var(--dark);
}
.mega-card-img {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border-radius: 10px;
  padding: 10px;
  transition: var(--transition);
}
.mega-card-img img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.mega-card:hover .mega-card-img img {
  transform: scale(1.1);
}
.mega-card strong {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}
.mega-card small {
  font-size: 0.75rem;
  color: #9ca3af;
}

.mega-link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--dark);
  transition: var(--transition);
}
.mega-link-item:hover {
  background: #f0f5ff;
  color: var(--primary);
}
.mega-link-thumb {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  padding: 4px;
  overflow: hidden;
}
.mega-link-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.mega-link-item:hover .mega-link-thumb {
  background: rgba(var(--primary-rgb), 0.08);
}
.mega-link-item strong {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  line-height: 1.2;
}
.mega-link-item small {
  font-size: 0.72rem;
  color: #9ca3af;
  line-height: 1.2;
}

/* ---------- Solution Mega Menu ---------- */
.mega-menu-sol {
  width: 100% !important;
  border-radius: 0 0 16px 16px !important;
  overflow: hidden;
}
.sol-mega-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.sol-mega-col {
  display: flex;
  flex-direction: column;
}

/* List columns (col 1 & 2) */
.sol-mega-col-list {
  padding: 16px 0;
  border-right: 1px solid #eef0f4;
}
.sol-mega-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #f3f4f6;
}
.sol-mega-cat:last-child,
.sol-mega-cat:last-of-type {
  border-bottom: none;
}
.sol-mega-cat:hover,
.sol-mega-cat.active {
  background: #f0f5ff;
  color: var(--primary);
  border-left-color: var(--primary);
}
.sol-mega-cat-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.06);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--primary);
  flex-shrink: 0;
  transition: all 0.2s;
}
.sol-mega-cat:hover .sol-mega-cat-icon,
.sol-mega-cat.active .sol-mega-cat-icon {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.25);
}
.sol-mega-cat-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.sol-mega-cat-info strong {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.sol-mega-cat-info small {
  font-size: 0.7rem;
  color: #9ca3af;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sol-mega-cat:hover .sol-mega-cat-info small {
  color: rgba(var(--primary-rgb), 0.5);
}
.sol-mega-cat-count {
  min-width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  flex-shrink: 0;
  margin-left: auto;
  transition: all 0.2s;
}
.sol-mega-cat:hover .sol-mega-cat-count,
.sol-mega-cat.active .sol-mega-cat-count {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}
.sol-mega-col-footer {
  padding: 12px 16px 4px;
  margin-top: auto;
  border-top: 1px solid #eef0f4;
}
.sol-mega-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.2);
}
.sol-mega-viewall:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.3);
  color: #fff;
}

/* Col 3: Image Preview */
.sol-mega-col-img {
  background: linear-gradient(135deg, #0a0f1c 0%, #111d35 100%);
  position: relative;
  overflow: hidden;
}
.sol-mega-preview {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.sol-mega-preview.active {
  opacity: 1;
}
.sol-mega-preview img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.sol-mega-preview-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sol-mega-preview-placeholder i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.08);
}
.sol-mega-preview-placeholder span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

/* Solution & Product Mega Menu category groups */
.sol-mega-group,
.prod-mega-group {
  display: none;
  flex-direction: column;
  height: 100%;
}
.sol-mega-group.active,
.prod-mega-group.active {
  display: flex;
}
.sol-mega-sol-preview {
  opacity: 0;
  visibility: hidden;
}
.sol-mega-sol-preview.active {
  opacity: 1;
  visibility: visible;
}
.sol-mega-sol-cat-preview {
  transition: opacity 0.4s ease;
}
.prod-mega-items {
  position: relative;
}
.prod-mega-preview {
  opacity: 0;
  visibility: hidden;
}
.prod-mega-preview.active {
  opacity: 1;
  visibility: visible;
}
.prod-mega-cat-preview {
  transition: opacity 0.4s ease;
}

@media (max-width: 991px) {
  .mega-menu-sol {
    min-width: auto !important;
  }
  .sol-mega-wrap {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    overflow-y: auto;
  }
  .sol-mega-col-list {
    border-right: none;
  }
  .sol-mega-col-img {
    display: none;
  }
  .sol-mega-col-footer {
    padding: 8px 16px;
  }
  .prod-mega-group.active {
    display: none;
  }
  .prod-mega-categories .sol-mega-cat {
    cursor: pointer;
  }
}

/* ---------- Buttons ---------- */
.btn-primary-custom,
.btn-outline-light-custom {
  text-decoration: none !important;
}
.btn-primary-custom {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-primary-custom:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.5);
}
.btn-outline-light-custom {
  border: 2px solid #fff;
  color: #fff;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}
.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--primary);
  transform: translateY(-2px);
}

/* ---------- Section Helpers ---------- */
.section-padding {
  padding: 50px 0;
  position: relative;
  z-index: 1;
  background: inherit;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.section-badge i {
  font-size: 0.7rem;
}
.section-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 20px auto 0;
}
.gradient-text {
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Service Cards ---------- */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 22px 26px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    160deg,
    rgba(var(--primary-rgb), 0.03) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover::after {
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 20px 50px rgba(var(--primary-rgb), 0.1),
    0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: rgba(var(--primary-rgb), 0.12);
}
.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(var(--primary-rgb), 0.06);
  line-height: 1;
  letter-spacing: -2px;
  transition: color 0.4s ease;
}
.service-card:hover .service-number {
  color: rgba(var(--primary-rgb), 0.12);
}
.service-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.07);
  border-radius: 16px;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #6b7280;
  flex-grow: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  margin-top: 8px;
  padding: 6px 0;
  transition: gap 0.3s ease;
}
.service-link:hover {
  gap: 12px;
}
.service-link i {
  transition: transform 0.3s;
}
.service-link:hover i {
  transform: translateX(4px);
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--dark);
  padding: 160px 0 70px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
  overflow: hidden;
}
.page-header-spacer {
  height: 350px;
  position: relative;
  z-index: 0;
  pointer-events: none;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(var(--primary-rgb), 0.15) 0%,
    transparent 60%
  );
}
.page-header h1 {
  color: #fff;
  position: relative;
  will-change: transform, opacity;
}
.page-header .hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  will-change: transform;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}
.page-header .container {
  position: relative;
  z-index: 2;
  will-change: transform, opacity;
}
.page-content-wrap {
  position: relative;
  z-index: 1;
  background: #fff;
}
.breadcrumb {
  justify-content: center;
  position: relative;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .active {
  color: #9ca3af;
}

/* ---------- Footer ---------- */
/* ---------- Footer ---------- */
.footer {
  background: #0a0f1c;
  position: relative;
  z-index: 1;
  color: #9ca3af;
}

/* Footer CTA Strip */
.footer-cta {
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.12) 0%,
    rgba(var(--accent-rgb), 0.08) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 32px 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-cta-text h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-cta-text h4 i {
  color: var(--accent);
  margin-right: 8px;
}
.footer-cta-text p {
  color: #9ca3af;
  font-size: 0.88rem;
  margin: 0;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}
.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
  color: #fff;
}

/* Footer Main */
.footer-main {
  padding: 50px 0 40px;
}
.footer-brand {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 72px;
  filter: brightness(0) invert(1);
}
.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #7a8599;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  color: #7a8599;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}
.footer-heading {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 0.3px;
}
.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #7a8599;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background: var(--accent);
  margin-right: 0;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}
.footer-links a:hover::before {
  width: 14px;
  margin-right: 8px;
}

/* Footer Contact */
.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  align-items: flex-start;
}
.footer-contact-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: 10px;
  flex-shrink: 0;
}
.footer-contact-icon i {
  color: var(--accent);
  font-size: 0.8rem;
}
.footer-contact span,
.footer-contact a {
  color: #7a8599;
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.5;
  padding-top: 6px;
}
.footer-contact a:hover {
  color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: #5a6477;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: #5a6477;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom-links a:hover {
  color: #fff;
}

/* Footer Responsive */
@media (max-width: 767px) {
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-inner {
    justify-content: center;
    text-align: center;
  }
}
.footer-bottom a:hover {
  color: var(--accent) !important;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
}

/* ---------- Responsive (Global) ---------- */
@media (max-width: 991px) {
  .mega-menu {
    border-radius: 0;
    border-top: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    display: none !important;
    pointer-events: auto;
  }
  .mega-dropdown .mega-menu.show {
    display: block !important;
  }
  .mega-card-img {
    height: 70px;
  }
  .mega-card-img img {
    max-height: 60px;
  }
}
@media (max-width: 767px) {
  .section-padding {
    padding: 50px 0;
  }
}
