/* =========================
   FryAVSI Child – custom.css
   ========================= */

/* --- Theme Variables --- */
:root {
  --blue-600: #0036b2;
  --blue-700: #002d94;
  --navy-900: #0a1a3f;
  --card-bg: #ffffff;
  --text: #e5e7eb;
  --muted: #6b7280;
  --radius: 12px;
  --shadow: 0 12px 28px rgba(2, 18, 53, 0.18);
}

/* --- Global Styles --- */
html, body {
  overflow-x: hidden;
}
body {
  background: url('https://fryavsi.com/wp-content/uploads/2025/08/tech-bg.webp') center/cover fixed no-repeat;
  background-color: #0a1a3f;
  color: var(--text);
}

/* Optional: JPG fallback for older browsers */
@supports not (background-image: url("image.webp")) {
  body {
    background-image: url('https://fryavsi.com/wp-content/uploads/2021/01/tech-bg.jpg');
  }
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
a {
  color: var(--blue-600);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
a:focus,
.btn:focus {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}
.btn {
  display: inline-block;
  background: var(--blue-600);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s ease;
}
.btn:hover {
  background: var(--blue-700);
}

/* --- Header --- */
/* --- Header Layout --- */ .header { background: #0a1226; color: #e5e7ff; position: relative; z-index: 50; } .header .bar { display: flex; align-items: center; justify-content: space-between; padding: 5px 20px 0 20px; gap: 16px; flex-wrap: nowrap; } .branding { flex-shrink: 0; } .custom-logo-link img, .header .custom-logo img { max-height: 100px; width: auto; } @media (max-width: 900px) { .custom-logo-link img, .header .custom-logo img { max-height: 60px; } } /* --- Navigation wrapper --- */ .primary { display: flex; align-items: center; justify-content: flex-end; flex: 1; position: relative; } .menu-and-icons { display: flex; align-items: center; gap: 24px; } .menu-wrap { display: block; margin-right: 24px; } .primary .menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; } .primary .menu > li { position: relative; } .primary .menu > li > a { color: #fff; text-decoration: none; padding: 10px 4px; display: inline-block; } /* --- Dropdowns for desktop --- */ .primary .menu li .sub-menu { position: absolute; top: 100%; left: 0; display: none; min-width: 220px; background: #0a1226; padding: 10px 0; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); z-index: 70; } .primary .menu li:hover > .sub-menu { display: block; } .primary .menu li .sub-menu li { padding: 0; } .primary .menu li .sub-menu a { display: block; color: #e5e7eb; padding: 10px 16px; } .primary .menu li .sub-menu a:hover { background: rgba(255, 255, 255, 0.06); } /* --- Quick Action Icons --- */ .quick-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; } .quick-actions .qa { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; color: #fff; } .quick-actions svg { width: 18px; height: 18px; } /* --- Hamburger --- */ .nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; background: none; border: 1px solid rgba(255,255,255,0.25); border-radius: 10px; padding: 10px 10px 6px; color: #fff; gap: 3px; margin-left: 12px; cursor: pointer; z-index: 1000; } .nav-toggle .hamburger-bar { width: 24px; height: 2px; background: #fff; } .nav-toggle .label { font-size: 10px; color: #fff; margin-top: 0px; text-align: center; } /* ===== MOBILE STYLES ===== */ @media (max-width: 900px) { .menu-wrap { display: none; } .menu-wrap.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #0a1226; padding: 16px; border-top: 1px solid rgba(255,255,255,0.08); z-index: 999; } .primary .menu { flex-direction: column; gap: 12px; } .quick-actions { display: flex; gap: 10px; margin-left: 12px; } .nav-toggle { display: flex; } }
/* --- Hero Section --- */
.hero {
  position: relative;
  color: #fff;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.65);
  z-index: 0;
}
.hero .inner {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 960px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.25rem);
  margin-bottom: 20px;
}
.hero-leads p {
  font-size: 20px;
  margin: 4px 0;
}

/* --- Section Overlays --- */
.section-overlay {
  position: relative;
  background: rgba(0, 10, 30, 0.5);
  color: #fff;
  backdrop-filter: blur(8px);
  padding: 20px 2px 20px;
}
.section-overlay .inner {
  position: relative;
  z-index: 1;
}
.section-overlay h2 {
  text-align: center;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin-bottom: 24px;
}

/* --- Cards Grid --- */
.services,
.industries {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 0;
}
.service-card,
.industry-card,
.section-glass {
  background: rgba(10, 26, 63, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  text-align: center;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease;
  overflow: hidden;
}
.service-card, .section-glass {
  position: relative; /* Make the card the positioning context */
}

.stretched-link {
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
  z-index: 10;
  text-indent: -9999px;
}
.service-card:hover,
.industry-card:hover,
.section-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(2, 18, 53, 0.28);
}
.service-card svg,
.industry-card svg,
.section-glass svg {
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
}
.service-card h3,
.section-glass h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p,
.section-glass p {
  font-size: 0.925rem;
}

/* --- About Section Overlay --- */
.about-card {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 10, 30, 0.5);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* --- Quote Section --- */
.quote-section {
  position: relative;
  padding: 20px 20px;
  color: #fff;
}
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.5);
  z-index: 0;
}
.quote-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.quote-text {
  flex: 1 1 300px;
  max-width: 450px;
  color: #fff;
}
.quote-text h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.quote-text .sub {
  font-size: 16px;
  color: #d1d5db;
  margin-bottom: 20px;
}
.quote-contact p {
  font-size: 14px;
  margin: 6px 0;
}
.quote-contact a {
  color: var(--text);
  text-decoration: underline;
}
.quote-form {
  flex: 1 1 300px;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  color: #1f2937;
}
.wpforms-container input,
.wpforms-container textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 14px;
  background: #fff;
  color: #111;
}
.wpforms-container button {
  background: var(--blue-600);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
.wpforms-container button:hover {
  background: var(--blue-700);
}

/* --- Footer --- */
.site-footer {
  color: #e5e7eb;
  font-size: 14px;
  padding: 40px 20px 0px;
  position: relative;
  line-height: 1.7;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 38, 0.75);
  z-index: -1;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  z-index: 2;
}
.site-footer a {
  color: #ffffff;
}
.site-footer a:hover {
  color: var(--blue-600);
  text-decoration: underline;
}
.footer-col h4 {
  color: #ffffff;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 600;
}
.site-footer address {
  color: #cbd5e1;
}
.site-footer .copy {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding-top: 16px;
  padding-bottom: 0; /* Remove extra bottom padding */
  margin-top: 20px;
  margin-bottom: 0;
}

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
  .quote-content {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
  }
  .quote-form {
    padding: 20px;
  }
  .section-glass {
    padding: 16px;
  }
  .section-dark .inner,
  .section-light .inner {
    padding: 30px 10px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}
/* =========================
   Footer Menu Refinements
   ========================= */

/* Reset footer nav lists */
.footer-nav ul.menu,
.footer-nav ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level items */
.footer-nav ul.menu > li {
  margin-bottom: 8px;
}

/* Links */
.footer-nav ul.menu a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
  padding: 2px 0;
}

/* Hover */
.footer-nav ul.menu a:hover {
  color: var(--blue-600);
  text-decoration: underline;
}

/* Submenu styling */
.footer-nav ul.sub-menu {
  margin-top: 6px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.15);
}

.footer-nav ul.sub-menu li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* Remove last-child spacing */
.footer-nav ul.menu > li:last-child,
.footer-nav ul.sub-menu > li:last-child {
  margin-bottom: 0;
}