/* ═══════════════════════════════════════════════
   Dyvonix IT Solutions — Main Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --blue: #0C447C;
  --blue-dark: #083260;
  --blue-light: #185FA5;
  --teal: #1D9E75;
  --teal-light: #9FE1CB;
  --teal-bg: #E1F5EE;
  --light-blue: #378ADD;
  --light-blue-bg: #E6F1FB;
  --navy: #083260;
  --white: #ffffff;
  --off-white: #F7F9FC;
  --text-dark: #0f172a;
  --text-medium: #5F6B7A;
  --text-light: #9CA3AF;
  --divider: #E8ECF0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 50px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--light-blue); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.content-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* ═══════ HEADER ═══════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 24px;
}
.site-branding img,
.site-branding svg { height: 50px; width: auto; }

.main-navigation { flex: 1; display: flex; justify-content: center; }
.primary-menu {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
}
.primary-menu li a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  position: relative;
  padding: 8px 0;
}
.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
  color: var(--blue);
}
.primary-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.25s;
}
.primary-menu li a:hover::after,
.primary-menu li.current-menu-item a::after {
  width: 100%;
}

.header-cta {
  background: var(--blue);
  color: var(--white);
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.header-cta:hover { background: var(--light-blue); color: var(--white); transform: translateY(-1px); }
.header-cta .arrow { transition: transform 0.2s; }
.header-cta:hover .arrow { transform: translateX(3px); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.25s;
}

/* ═══════ HERO ═══════ */
.hero {
  background: var(--blue);
  color: var(--white);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero-bg-decorations { position: absolute; inset: 0; pointer-events: none; }
.hero-circle {
  position: absolute;
  border-radius: 50%;
}
.hero-circle-1 { width: 480px; height: 480px; top: -120px; right: -120px; background: rgba(29,158,117,0.13); }
.hero-circle-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; background: rgba(255,255,255,0.04); }
.hero-circle-3 { width: 200px; height: 200px; top: 40%; right: 30%; background: rgba(255,255,255,0.05); }

.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 32px;
}
.hero-headline .teal { color: var(--teal); }

.hero-subheadline {
  font-size: 20px;
  line-height: 1.6;
  color: #B5D4F4;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(to right, var(--blue), var(--teal), var(--light-blue));
}

/* ═══════ PAGE HERO (sub-pages) ═══════ */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 80px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .hero-eyebrow { margin-bottom: 16px; }
.page-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
}
.page-subtitle {
  font-size: 18px;
  color: #B5D4F4;
  line-height: 1.7;
  max-width: 660px;
}

/* ═══════ BUTTONS ═══════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn .arrow { transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }

.btn-outline-light { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--white); color: var(--blue); }

.btn-link { background: transparent; color: var(--blue); padding: 14px 12px; }
.btn-link:hover { color: var(--teal-light); }

.btn-block { width: 100%; justify-content: center; }
.btn-small { padding: 10px 20px; font-size: 14px; }

/* ═══════ SECTION HEADERS ═══════ */
.section-header { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-medium);
  line-height: 1.6;
}

/* ═══════ SERVICES PREVIEW (Home) ═══════ */
.services-preview { padding: 100px 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.service-card {
  background: var(--off-white);
  padding: 36px 30px 28px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--blue);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card-teal { border-left-color: var(--teal); }
.service-card-light-blue { border-left-color: var(--light-blue); }
.service-card-navy { border-left-color: var(--navy); }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}
.service-card-teal .service-icon { background: var(--teal-bg); color: var(--teal); }
.service-card-light-blue .service-icon { color: var(--light-blue); }
.service-card-navy .service-icon { color: var(--navy); }

.service-icon svg { width: 28px; height: 28px; }

.service-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-desc {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-link {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
}
.service-link:hover { color: var(--teal); }

.services-cta { text-align: center; }

/* ═══════ SERVICES PAGE DETAIL ═══════ */
.services-detail { padding: 80px 0; }

.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  padding: 50px 0;
  border-bottom: 1px solid var(--divider);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { grid-template-columns: 1fr 280px; }
.service-detail.reverse .service-detail-icon { order: 2; }

.big-icon-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--white);
}
.big-icon-circle svg { width: 90px; height: 90px; }
.big-icon-shield, .big-icon-software, .big-icon-phone { background: linear-gradient(135deg, var(--teal), #2BB888); }
.big-icon-monitor, .big-icon-database, .big-icon-graduation { background: linear-gradient(135deg, var(--light-blue), #5AA5E8); }
.big-icon-network, .big-icon-globe, .big-icon-plugin { background: linear-gradient(135deg, var(--navy), var(--blue)); }

.service-detail-name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.service-detail-desc {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-feats {
  list-style: none;
  margin-bottom: 28px;
}
.service-feats li {
  padding: 8px 0;
  font-size: 16px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-feats .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-bg);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

/* ═══════ WHY US ═══════ */
.why-us {
  background: var(--blue);
  padding: 80px 0;
  color: var(--white);
}
.why-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}
.why-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.why-pill {
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; }

/* ═══════ STATS ═══════ */
.stats-section {
  padding: 80px 0;
  background: var(--off-white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
  font-size: 56px;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 15px;
  color: var(--text-medium);
  font-weight: 600;
}

/* ═══════ ABOUT ═══════ */
.about-intro { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-content p {
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-decoration { border-radius: var(--radius-lg); overflow: hidden; }
.about-decoration svg { width: 100%; height: auto; display: block; }

.values-section { padding: 100px 0; background: var(--off-white); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  border-top: 4px solid var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card:nth-child(2) { border-top-color: var(--blue); }
.value-card:nth-child(3) { border-top-color: var(--light-blue); }
.value-card:nth-child(4) { border-top-color: var(--teal); }
.value-card:nth-child(5) { border-top-color: var(--blue); }
.value-card:nth-child(6) { border-top-color: var(--light-blue); }
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.value-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}
.value-card p {
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.65;
}

/* ═══════ CTA BAND ═══════ */
.cta-band {
  background: linear-gradient(135deg, #EEF5FC, var(--off-white));
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}
.cta-content { flex: 1; min-width: 320px; }
.cta-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 12px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.cta-sub {
  font-size: 17px;
  color: var(--text-medium);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cta-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.cta-qr { text-align: center; flex-shrink: 0; }
.cta-qr img {
  width: 140px;
  height: 140px;
  border: 3px solid var(--blue);
  border-radius: var(--radius-md);
}
.qr-label {
  display: block;
  font-size: 11px;
  color: var(--text-medium);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
  font-weight: 600;
}

/* ═══════ CONTACT PAGE ═══════ */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}
.contact-form-wrap h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.form-intro {
  color: var(--text-medium);
  margin-bottom: 28px;
}

.form-notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 15px;
}
.form-notice-success { background: var(--teal-bg); color: var(--teal); border: 1px solid var(--teal); }
.form-notice-error { background: #FEE; color: #C33; border: 1px solid #FCC; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.form-field .req { color: #E24B4A; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--divider);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12,68,124,0.10);
}

.contact-info {
  background: var(--off-white);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--teal);
}
.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  border: 1px solid var(--divider);
}
.contact-item-label {
  display: block;
  font-size: 11px;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
}
.contact-item-value:hover { color: var(--blue); }

.contact-qr {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}
.contact-qr img {
  width: 120px;
  height: 120px;
  border: 2px solid var(--blue);
  border-radius: var(--radius-sm);
}

/* ═══════ FOOTER ═══════ */
.site-footer {
  background: var(--text-dark);
  color: #B5D4F4;
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .footer-logo { height: 50px; width: auto; margin-bottom: 18px; }
.footer-tagline {
  color: var(--teal-light);
  font-style: italic;
  font-size: 14px;
  margin-bottom: 16px;
}
.footer-description {
  font-size: 14px;
  line-height: 1.7;
  color: #B5D4F4;
}
.footer-heading {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: #B5D4F4;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-light); }

.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
}
.footer-contact-list a { color: #B5D4F4; }
.footer-contact-list a:hover { color: var(--teal-light); }
.contact-icon { font-size: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0 30px;
  position: relative;
}
.footer-copyright {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}
.footer-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--blue), var(--teal), var(--light-blue));
}

/* ═══════ PAGE CONTENT ═══════ */
.page-content-section { padding: 70px 0 100px; }
.page-content-section h2 { font-size: 28px; font-weight: 900; margin: 30px 0 15px; }
.page-content-section h3 { font-size: 22px; font-weight: 800; margin: 25px 0 12px; }
.page-content-section p { font-size: 17px; margin-bottom: 18px; color: var(--text-medium); line-height: 1.8; }

/* ═══════ POSTS ═══════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--divider);
}
.post-card img { width: 100%; }
.post-card h2 {
  padding: 18px 22px 0;
  font-size: 20px;
  font-weight: 800;
}
.post-card h2 a { color: var(--text-dark); }
.post-card h2 a:hover { color: var(--blue); }
.post-excerpt { padding: 10px 22px 18px; color: var(--text-medium); font-size: 15px; }
.post-card .btn { margin: 0 22px 22px; }

/* ═══════ RESPONSIVE ═══════ */
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .service-detail.reverse .service-detail-icon { order: 0; }
  .service-feats { text-align: left; }
  .big-icon-circle { width: 180px; height: 180px; }
  .big-icon-circle svg { width: 70px; height: 70px; }
}

@media (max-width: 768px) {
  /* Mobile header: logo on left, hamburger on right, no overlap */
  .header-inner {
    padding: 14px 16px;
    gap: 12px;
    flex-wrap: nowrap;
  }

  .site-branding {
    flex: 0 0 auto;
    max-width: calc(100% - 60px);
    overflow: hidden;
  }
  .site-branding img,
  .site-branding svg {
    height: 38px;
    max-width: 100%;
  }

  /* Move navigation to the right, contain the toggle */
  .main-navigation {
    position: static;
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 110;
    background: transparent;
    padding: 10px;
    margin: 0;
    cursor: pointer;
  }

  /* Dropdown panel anchored to header */
  .primary-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 16px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    min-width: 200px;
    list-style: none;
    margin: 8px 0 0;
    z-index: 105;
  }
  .primary-menu.is-open { display: flex; }
  .primary-menu li { width: 100%; }
  .primary-menu li a {
    display: block;
    padding: 12px 24px;
  }
  .primary-menu li a::after { display: none; }

  .header-cta { display: none; }

  .hero { padding: 60px 0 80px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-section { padding: 60px 0; }
  .stat-number { font-size: 42px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 40px; letter-spacing: -1px; }
  .page-title { font-size: 32px; }
  .why-pill { font-size: 13px; padding: 8px 18px; }

  /* Even smaller logo for narrow phones */
  .site-branding img,
  .site-branding svg { height: 32px; }
  .header-inner { padding: 12px 12px; }
  .primary-menu { right: 12px; }
}

/* ═══════ PRIVACY POLICY ═══════ */
.privacy-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-bg);
}
.privacy-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 10px;
}
.privacy-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-medium);
}
.privacy-content ul {
  margin: 0 0 20px 24px;
}
.privacy-content ul li {
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 8px;
  color: var(--text-medium);
}
.privacy-content strong { color: var(--text-dark); }
.privacy-content a { color: var(--blue); text-decoration: underline; }
.privacy-content a:hover { color: var(--teal); }

.privacy-meta {
  background: var(--off-white);
  border-left: 4px solid var(--teal);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 30px !important;
  font-size: 14px !important;
}

.privacy-contact-box {
  background: var(--off-white);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 16px 0 24px;
}
.privacy-contact-box p {
  margin-bottom: 12px !important;
  font-size: 15px !important;
}
.privacy-contact-box p:last-child { margin-bottom: 0 !important; }

.privacy-footnote {
  margin-top: 50px !important;
  padding: 16px 20px;
  background: var(--off-white);
  border-radius: 8px;
  font-size: 13px !important;
  color: var(--text-light) !important;
  border-left: 3px solid var(--divider);
}


/* ═══════════════════════════════════════════════
   ✨ HOVER EFFECTS & SCROLL ANIMATIONS (v1.0.9)
   ═══════════════════════════════════════════════ */

/* ── Smooth transitions everywhere ── */
a, button, .btn, .svc-card, .value, .hero-cta, .header-cta,
.service-card, .stat-item, .pill, .footer-links a, .why-pill,
.contact-item, .post-card, .cinfo-item, img {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Service cards — lift + glow on hover ── */
.svc-card, .service-card {
  position: relative;
  overflow: hidden;
}
.svc-card::before, .service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--light-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.svc-card:hover, .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(12, 68, 124, 0.18);
}
.svc-card:hover::before, .service-card:hover::before {
  transform: scaleX(1);
}
.svc-card:hover .svc-icon, .service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}
.svc-card .svc-icon, .service-card .service-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Buttons — sleek shimmer effect ── */
.btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}
.btn:hover::after { left: 100%; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(12, 68, 124, 0.25); }
.btn:active { transform: translateY(-1px); }

/* ── Header CTA: gradient slide-in ── */
.header-cta {
  position: relative;
  overflow: hidden;
  background: var(--blue);
}
.header-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: 0;
}
.header-cta:hover::before { transform: translateX(0); }
.header-cta > * { position: relative; z-index: 1; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29, 158, 117, 0.35); }

/* ── Navigation links: underline reveal ── */
.primary-menu li a {
  position: relative;
  padding-bottom: 6px;
}
.primary-menu li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--light-blue));
  transition: all 0.35s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}
.primary-menu li a:hover::before,
.primary-menu li.current-menu-item a::before { width: 100%; }
.primary-menu li a:hover { color: var(--blue); }

/* ── Value cards (about page) ── */
.value {
  position: relative;
  overflow: hidden;
}
.value::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.value:hover::after { transform: scaleX(1); transform-origin: left; }
.value:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.value:hover .value-icon {
  transform: rotate(-8deg) scale(1.1);
  background: var(--teal);
  color: var(--white);
}
.value-icon { transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* ── Stats: pulse on view ── */
.stat-item { cursor: default; }
.stat-item:hover .stat-num,
.stat-item:hover .stat-number {
  transform: scale(1.1);
  color: var(--teal);
}
.stat-num, .stat-number { transition: all 0.3s ease; display: inline-block; }

/* ── Why-Us pills ── */
.pill, .why-pill {
  cursor: default;
  transition: all 0.35s ease;
}
.pill:hover, .why-pill:hover {
  background: rgba(29, 158, 117, 0.25);
  border-color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* ── Footer links: slide-right on hover ── */
.footer-links a {
  position: relative;
  padding-left: 0;
}
.footer-links a::before {
  content: "→";
  display: inline-block;
  margin-right: 0;
  width: 0;
  opacity: 0;
  color: var(--teal);
  transition: all 0.3s ease;
}
.footer-links a:hover {
  padding-left: 18px;
  color: var(--teal-light);
}
.footer-links a:hover::before {
  width: 14px;
  opacity: 1;
  margin-right: 4px;
  margin-left: -18px;
}

/* ── Contact info items ── */
.contact-item, .cinfo-item { cursor: default; }
.contact-item:hover, .cinfo-item:hover {
  transform: translateX(6px);
}
.contact-item:hover .contact-icon,
.contact-item:hover .contact-item-icon,
.cinfo-item:hover .cinfo-icon {
  transform: rotate(10deg) scale(1.15);
  background: var(--teal);
  color: var(--white);
}
.contact-item-icon, .cinfo-icon, .contact-icon {
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Logo subtle scale on hover ── */
.site-branding img,
.site-branding svg {
  transition: transform 0.4s ease;
}
.site-branding:hover img,
.site-branding:hover svg {
  transform: scale(1.05);
}

/* ── Sticky header shadow on scroll ── */
.site-header {
  transition: all 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
}

/* ═══════════════════════════════════════════════
   🎬 SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════ */

@keyframes dyvonix-fade-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dyvonix-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dyvonix-slide-left {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dyvonix-slide-right {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dyvonix-zoom-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Default state for reveal elements — hidden before scroll triggers */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-zoom.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Apply scroll reveal automatically to common elements */
.svc-card, .service-card, .value, .stat-item,
.about-grid > div, .svc-detail > div,
.contact-form, .contact-info {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.svc-card.in-view, .service-card.in-view, .value.in-view, .stat-item.in-view,
.about-grid > div.in-view, .svc-detail > div.in-view,
.contact-form.in-view, .contact-info.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid items */
.svc-grid .svc-card:nth-child(1), .services-grid .service-card:nth-child(1),
.values-grid .value:nth-child(1) { transition-delay: 0s; }
.svc-grid .svc-card:nth-child(2), .services-grid .service-card:nth-child(2),
.values-grid .value:nth-child(2) { transition-delay: 0.1s; }
.svc-grid .svc-card:nth-child(3), .services-grid .service-card:nth-child(3),
.values-grid .value:nth-child(3) { transition-delay: 0.2s; }
.svc-grid .svc-card:nth-child(4), .services-grid .service-card:nth-child(4),
.values-grid .value:nth-child(4) { transition-delay: 0.3s; }
.svc-grid .svc-card:nth-child(5), .services-grid .service-card:nth-child(5),
.values-grid .value:nth-child(5) { transition-delay: 0.4s; }
.svc-grid .svc-card:nth-child(6), .services-grid .service-card:nth-child(6),
.values-grid .value:nth-child(6) { transition-delay: 0.5s; }
.stats-grid > div:nth-child(1), .stats-grid > div:nth-child(1) > * { transition-delay: 0s; }
.stats-grid > div:nth-child(2), .stats-grid > div:nth-child(2) > * { transition-delay: 0.15s; }
.stats-grid > div:nth-child(3), .stats-grid > div:nth-child(3) > * { transition-delay: 0.3s; }
.stats-grid > div:nth-child(4), .stats-grid > div:nth-child(4) > * { transition-delay: 0.45s; }

/* ── Hero entrance animation (loads immediately) ── */
.hero-content {
  animation: dyvonix-fade-up 1s ease-out;
}
.hero-content > * {
  animation: dyvonix-fade-up 1s ease-out backwards;
}
.hero-content .eyebrow { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.2s; }
.hero-content .hero-headline { animation-delay: 0.2s; }
.hero-content .hero-sub,
.hero-content .hero-subheadline { animation-delay: 0.4s; }
.hero-content .hero-btns,
.hero-content .hero-buttons { animation-delay: 0.6s; }

/* ── Hero decorative circles: subtle floating animation ── */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -15px); }
}
@keyframes float-slow-reverse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-15px, 15px); }
}
.hero-circle-1 { animation: float-slow 8s ease-in-out infinite; }
.hero-circle-2 { animation: float-slow-reverse 10s ease-in-out infinite; }
.hero-circle-3 { animation: float-slow 12s ease-in-out infinite; }

/* ── Scroll progress indicator ── */
.dyvonix-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--light-blue), var(--blue));
  z-index: 999;
  transition: width 0.1s ease-out;
  box-shadow: 0 1px 3px rgba(29, 158, 117, 0.4);
}

/* ── Back-to-top button ── */
.dyvonix-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(12, 68, 124, 0.3);
  border: none;
}
.dyvonix-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dyvonix-back-to-top:hover {
  background: var(--teal);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(29, 158, 117, 0.4);
}

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-zoom,
  .svc-card, .service-card, .value, .stat-item,
  .about-grid > div, .svc-detail > div,
  .contact-form, .contact-info {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ═══════════════════════════════════════════════
   📦 SINGLE SERVICE PAGE LAYOUT (v1.3.0)
   ═══════════════════════════════════════════════ */

.service-page-intro { padding: 100px 0 60px; }
.service-intro-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}
.service-intro-icon { text-align: center; }
.service-intro-content h2 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.service-intro-text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 28px;
}

.service-benefits { padding: 80px 0; background: var(--off-white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  padding: 26px 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--teal);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.25s, box-shadow 0.25s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon {
  width: 32px;
  height: 32px;
  background: var(--teal-bg);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}
.benefit-card p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0;
}

.service-features-section { padding: 100px 0; }
.features-grid-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.features-content h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 14px 0 16px;
  color: var(--text-dark);
}
.features-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-medium);
}
.features-list { list-style: none; padding: 0; }
.features-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dark);
  border-bottom: 1px solid var(--divider);
}
.features-list li:last-child { border-bottom: none; }
.features-list .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-bg);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.service-who-for { padding: 80px 0; background: var(--off-white); }
.who-for-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  border-top: 5px solid var(--blue);
}
.who-for-box h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 14px 0 16px;
}
.who-for-box p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 28px;
}

@media (max-width: 968px) {
  .service-intro-grid,
  .features-grid-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-intro-icon { order: -1; }
  .who-for-box { padding: 40px 28px; }
}

/* ═══════════════════════════════════════════════
   🎯 DROPDOWN SUBMENU (v1.3.0 - nested nav)
   ═══════════════════════════════════════════════ */

.primary-menu .menu-item-has-children > a::after,
.primary-menu .page_item_has_children > a::after {
  content: " ▾";
  font-size: 11px;
  margin-left: 4px;
  color: var(--teal);
}

.primary-menu li {
  position: relative;
}

/* Invisible hover bridge — keeps dropdown open as cursor crosses the gap */
.primary-menu > li.menu-item-has-children::after,
.primary-menu > li.page_item_has_children::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
  pointer-events: auto;
}

.primary-menu .sub-menu,
.primary-menu .children {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  list-style: none;
  padding: 12px 0;
  margin: 0;
  min-width: 280px;
  z-index: 120;
  border-top: 3px solid var(--teal);
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.primary-menu > li:hover > .sub-menu,
.primary-menu > li:hover > .children,
.primary-menu > li:focus-within > .sub-menu,
.primary-menu > li:focus-within > .children {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

.primary-menu .sub-menu li,
.primary-menu .children li {
  width: 100%;
}

.primary-menu .sub-menu li a,
.primary-menu .children li a {
  display: block;
  padding: 10px 22px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  transition: all 0.2s;
}

.primary-menu .sub-menu li a:hover,
.primary-menu .children li a:hover {
  background: var(--off-white);
  color: var(--blue);
  padding-left: 28px;
}

.primary-menu .sub-menu li a::after,
.primary-menu .children li a::after { display: none !important; }

/* Mobile: submenu collapses by default, tap parent to expand */
@media (max-width: 768px) {
  .primary-menu .sub-menu,
  .primary-menu .children {
    /* Override desktop absolute positioning */
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: none !important;

    /* Collapsed by default on mobile */
    display: none;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--teal-bg);
    border-radius: 0;
    margin: 0 0 8px 16px;
    padding: 0;
    min-width: 0;
    width: auto;
    background: transparent;
  }

  /* Hide the invisible hover bridge on mobile */
  .primary-menu > li.menu-item-has-children::after,
  .primary-menu > li.page_item_has_children::after {
    display: none;
  }

  /* Open state — toggled by JS */
  .primary-menu > li.is-submenu-open > .sub-menu,
  .primary-menu > li.is-submenu-open > .children {
    display: block;
  }

  /* Hover doesn't open submenu on mobile — only tap does */
  .primary-menu > li:hover > .sub-menu,
  .primary-menu > li:hover > .children,
  .primary-menu > li:focus-within > .sub-menu,
  .primary-menu > li:focus-within > .children {
    display: none;
  }
  .primary-menu > li.is-submenu-open:hover > .sub-menu,
  .primary-menu > li.is-submenu-open > .sub-menu,
  .primary-menu > li.is-submenu-open:hover > .children,
  .primary-menu > li.is-submenu-open > .children {
    display: block;
  }

  .primary-menu .sub-menu li a,
  .primary-menu .children li a {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
  }
  .primary-menu .sub-menu li a:hover,
  .primary-menu .children li a:hover {
    color: var(--blue);
    padding-left: 22px;
    background: transparent;
  }

  /* Rotate the dropdown arrow when open */
  .primary-menu > li.menu-item-has-children > a::after,
  .primary-menu > li.page_item_has_children > a::after {
    transition: transform 0.25s ease;
    display: inline-block;
  }
  .primary-menu > li.is-submenu-open > a::after {
    transform: rotate(180deg);
  }
}

/* ═══════════════════════════════════════════════
   🖼 IMAGE SECTIONS (v1.4.0)
   ═══════════════════════════════════════════════ */

/* About preview section on homepage */
.home-about-preview {
  padding: 100px 0;
  background: var(--white);
}
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-preview-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 68, 124, 0.15);
  aspect-ratio: 4 / 3;
}
.about-preview-image::before {
  content: "";
  position: absolute;
  inset: -10px -10px auto auto;
  width: 120px;
  height: 120px;
  background: var(--teal);
  border-radius: var(--radius-md);
  z-index: -1;
}
.about-preview-image::after {
  content: "";
  position: absolute;
  inset: auto auto -10px -10px;
  width: 120px;
  height: 120px;
  border: 4px solid var(--light-blue);
  border-radius: var(--radius-md);
  z-index: -1;
}
.about-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-preview-image:hover img {
  transform: scale(1.04);
}
.about-preview-content .section-eyebrow {
  margin-bottom: 14px;
}
.about-preview-content .section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.about-preview-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-medium);
  margin-bottom: 18px;
}
.about-preview-content .btn {
  margin-top: 16px;
}

/* About page image styling */
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(12, 68, 124, 0.18);
  aspect-ratio: 4 / 3;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-photo:hover img {
  transform: scale(1.04);
}

/* Page hero text gets a subtle text shadow for legibility on photo backgrounds */
.page-hero[style*="background-image"] .page-title,
.page-hero[style*="background-image"] .page-subtitle,
.page-hero[style*="background-image"] .hero-eyebrow {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.hero[style*="background-image"] .hero-headline,
.hero[style*="background-image"] .hero-subheadline,
.hero[style*="background-image"] .hero-eyebrow {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-preview-image {
    aspect-ratio: 16 / 10;
  }
  .home-about-preview {
    padding: 70px 0;
  }
}

/* ═══════════════════════════════════════════════
   📧 CONTACT FORM — VALIDATION + AJAX (v1.5.0)
   ═══════════════════════════════════════════════ */

/* Inline field error message */
.field-error {
  display: none;
  color: #C0392B;
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  padding-left: 2px;
}

/* Field with error state */
.form-field input.has-error,
.form-field select.has-error,
.form-field textarea.has-error {
  border-color: #C0392B;
  background: #FFF5F4;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.10);
}
.form-field input.has-error:focus,
.form-field select.has-error:focus,
.form-field textarea.has-error:focus {
  outline: none;
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.20);
}

/* Submit button — loading state with spinner */
#dyvonix-submit-btn.is-loading {
  cursor: wait;
  opacity: 0.75;
}
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: dyvonix-spin 0.8s linear infinite;
  margin-left: 4px;
}
@keyframes dyvonix-spin {
  to { transform: rotate(360deg); }
}

/* Thank-you screen replacing the form on success */
.form-thank-you {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, #F0FAF6, #FFFFFF);
  border-radius: var(--radius-lg);
  border: 2px solid var(--teal);
  animation: thanksReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes thanksReveal {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.thank-you-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 900;
  box-shadow: 0 8px 25px rgba(29, 158, 117, 0.35);
  animation: checkBounce 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
@keyframes checkBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.form-thank-you h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.form-thank-you p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
  margin-bottom: 14px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.form-thank-you .thank-you-meta {
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 28px;
}
.form-thank-you .thank-you-meta a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.form-thank-you .thank-you-meta a:hover {
  color: var(--teal);
}

/* Form notice (error/info messages above the form) */
.form-notice {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.form-notice-success {
  background: var(--teal-bg);
  color: var(--teal);
  border: 1px solid var(--teal);
}
.form-notice-error {
  background: #FFF5F4;
  color: #C0392B;
  border: 1px solid #E2A3A0;
}

/* ═══════════════════════════════════════════════
   v1.6.0 — Nested submenu (Products → WP Plugins → ...)
   and footer Products category label
   ═══════════════════════════════════════════════ */

/* Level-2 dropdown: opens to the right of level-1 */
.primary-menu .sub-menu .sub-menu {
  top: -12px;
  left: 100%;
  margin-left: 4px;
}

/* When level-2 is .sub-menu-right, same right-side positioning */
.primary-menu .sub-menu .sub-menu-right {
  top: -12px;
  left: 100%;
  margin-left: 4px;
}

/* Show level-2 on hover of its level-1 parent */
.primary-menu .sub-menu li:hover > .sub-menu,
.primary-menu .sub-menu li:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}

/* Arrow indicator on mid-level items that have children */
.primary-menu .sub-menu .menu-item-has-children > a::after {
  content: " ›";
  display: inline !important;
  font-size: 14px;
  margin-left: 6px;
  color: var(--teal);
  float: right;
}

/* Mobile: level-2 also collapses; tap parent to expand */
@media (max-width: 768px) {
  .primary-menu .sub-menu .sub-menu,
  .primary-menu .sub-menu .sub-menu-right {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-left: 12px;
  }
  .primary-menu .sub-menu li:hover > .sub-menu,
  .primary-menu .sub-menu li:focus-within > .sub-menu {
    display: none;
  }
  .primary-menu .sub-menu > li.is-submenu-open > .sub-menu {
    display: block;
  }
}

/* Footer Products category sub-label */
.footer-products-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0 0 10px;
}

/* ═══════════════════════════════════════════════════════════
   BLOG — enhanced post card styles (index.php + archive.php)
   ═══════════════════════════════════════════════════════════ */
.post-card-thumb { display:block; overflow:hidden; border-radius:12px 12px 0 0; }
.post-card-thumb img { width:100%; height:200px; object-fit:cover; display:block; transition:transform .3s; }
.post-card:hover .post-card-thumb img { transform:scale(1.03); }
.post-card-body { padding:20px 22px 24px; }
.post-card-meta { font-size:12px; color:var(--text-medium,#5F6B7A); margin-bottom:10px; display:flex; align-items:center; gap:6px; }
.post-card-cat { color:var(--teal,#1D9E75); font-weight:700; text-decoration:none; }
.post-card-cat:hover { color:var(--blue,#0C447C); }
.post-card-title { font-size:18px; font-weight:800; color:var(--text-dark,#0f172a); margin:0 0 10px; letter-spacing:-.2px; line-height:1.3; }
.post-card-title a { color:inherit; text-decoration:none; }
.post-card-title a:hover { color:var(--blue,#0C447C); }
.post-card-excerpt { font-size:14px; color:var(--text-medium,#5F6B7A); line-height:1.7; margin:0 0 16px; }
.post-card-link { font-size:13px; font-weight:700; color:var(--blue,#0C447C); text-decoration:none; }
.post-card-link:hover { color:var(--teal,#1D9E75); }

/* Archive hero additions */
.archive-eyebrow { font-size:11px; font-weight:700; letter-spacing:4px; text-transform:uppercase; color:#9FE1CB; margin-bottom:12px; }
.archive-desc { font-size:16px; color:rgba(255,255,255,.75); max-width:560px; margin-top:12px; line-height:1.7; }

/* Pagination */
.posts-pagination { margin-top:48px; text-align:center; }
.posts-pagination .nav-links { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.posts-pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; font-size:14px; font-weight:600; color:var(--blue,#0C447C); border:1.5px solid var(--divider,#E8ECF0); text-decoration:none; transition:all .2s; }
.posts-pagination .page-numbers:hover { background:var(--blue,#0C447C); color:#fff; border-color:var(--blue,#0C447C); }
.posts-pagination .page-numbers.current { background:var(--blue,#0C447C); color:#fff; border-color:var(--blue,#0C447C); }
.posts-pagination .page-numbers.dots { border:none; cursor:default; }
.posts-pagination .prev,.posts-pagination .next { width:auto; padding:0 16px; border-radius:50px; }
