/*
Theme Name: Netspeed Final
Theme URI: https://example.com/netspeed
Author: 
Author URI: 
Description: A professional, bright WordPress theme for NETSPEED, featuring a modern IT and networking interface with a responsive hero slider. Includes a complete homepage, Services custom post type, About Us, Contact Us with a working form, and a blog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netspeed
Tags: business, technology, one-column, two-columns, custom-menu, featured-images, full-width-template, translation-ready, custom-logo
*/

/* =========================================================
   1) DESIGN TOKENS
   ========================================================= */
:root{
  /* Colors - bright professional technology palette */
  --bg:            #F7FBFF;
  --bg-soft:       #EEF6FF;
  --surface:       #FFFFFF;
  --surface-2:     #F8FBFF;
  --border:        #D7E6F5;
  --border-soft:   #E5EEF8;

  --text:          #102744;
  --text-muted:    #5B6F86;
  --text-faint:    #7B8DA2;

  --accent:        #1469E8; /* Modern Blue */
  --accent-ink:    #FFFFFF;
  --accent-2:      #38A9FF; /* Sky blue */
  --accent-teal:   #43C7D8; /* Blue-teal / active state */
  --danger:        #FF6B6B;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-1: 0 10px 28px rgba(19,75,125,0.09);
  --shadow-2: 0 22px 60px rgba(19,75,125,0.14);

  --container: 1180px;
  --font-ar: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

/* =========================================================
   2) Basic reset
   ========================================================= */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:
    radial-gradient(circle at 10% 0%, rgba(56,164,255,0.08), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(37,99,235,0.06), transparent 38%),
    var(--bg);
  color:var(--text);
  font-family:var(--font-ar);
  font-size:16px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0 0 14px; font-weight:900; line-height:1.3; }
p{ margin:0 0 14px; color:var(--text-muted); }
button, input, textarea, select{ font-family:var(--font-ar); }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.mono{ font-family:var(--font-mono); direction:ltr; unicode-bidi:isolate; }
.section{ padding:88px 0; position:relative; }
.section-tight{ padding:56px 0; }
.section-header{ max-width:640px; margin:0 auto 48px; text-align:center; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; letter-spacing:.06em;
  color:var(--accent); background:rgba(37,99,235,0.10);
  border:1px solid rgba(37,99,235,0.18); border-radius:999px;
  padding:6px 14px; margin-bottom:16px;
}
.eyebrow::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--accent-teal); box-shadow:0 0 0 3px rgba(96,165,250,0.18); }
.section-title{ font-size:clamp(26px,3.4vw,40px); }
.section-desc{ color:var(--text-muted); font-size:16px; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 26px; border-radius:var(--radius-sm); font-weight:700; font-size:15px;
  border:1.5px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, background .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.97); }
.btn-primary{ background:var(--accent); color:var(--accent-ink); box-shadow:0 8px 24px rgba(37,99,235,0.22); }
.btn-primary:hover{ box-shadow:0 10px 30px rgba(20,105,232,0.32); transform:translateY(-1px); }
.btn-outline{ background:transparent; color:var(--text); border-color:var(--border); }
.btn-outline:hover{ border-color:var(--accent-2); color:var(--accent); background:var(--bg-soft); }
.btn-ghost{ background:rgba(255,255,255,0.04); color:var(--text); }
.btn-block{ width:100%; }
.btn-sm{ padding:9px 16px; font-size:13.5px; }

/* Badges / base cards */
.card{
  background:linear-gradient(180deg, var(--surface), var(--bg-soft));
  border:1px solid var(--border-soft);
  border-radius:var(--radius-lg);
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover{ border-color:rgba(56,189,248,0.35); box-shadow:var(--shadow-1); }

/* =========================================================
   3) header
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border-soft);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:88px; padding-top:6px; padding-bottom:6px; }
.site-branding{ display:flex; align-items:center; gap:10px; font-weight:900; font-size:19px; }
.site-branding img{ max-height:64px; width:auto; display:block; object-fit:contain; }
.site-branding .brand-dot{ color:var(--accent); }
.site-branding a{ display:flex; align-items:center; gap:10px; line-height:0; }

.primary-nav ul{ display:flex; align-items:center; gap:6px; }
.primary-nav a{
  display:block; padding:10px 16px; border-radius:var(--radius-sm);
  color:#4D6178; font-weight:700; font-size:14.5px; transition:color .15s, background .15s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a{ color:var(--text); background:rgba(37,99,235,0.06); }
.primary-nav .current-menu-item > a{ color:var(--accent); }

.header-actions{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; background:transparent; border:1.5px solid var(--border); color:var(--text);
  width:42px; height:42px; border-radius:var(--radius-sm); font-size:18px; cursor:pointer;
}

@media (max-width: 900px){
  .site-branding img{ max-height:54px; }
  .primary-nav{
    position:fixed; inset:88px 0 0 0; background:var(--bg);
    transform:translateY(-8px); opacity:0; visibility:hidden;
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y:auto; border-top:1px solid var(--border-soft);
  }
  .primary-nav.is-open{ opacity:1; visibility:visible; transform:translateY(0); }
  .primary-nav ul{ flex-direction:column; align-items:stretch; padding:18px; gap:4px; }
  .primary-nav a{ padding:14px 16px; font-size:16px; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .header-actions .btn{ display:none; }
}

/* =========================================================
   4) hero + animated circuit graphic (signature element)
   ========================================================= */
/* -------- homepage hero slider -------- */
.hero-slider{position:relative;min-height:560px;overflow:hidden;background:#f5faff;color:var(--text);border-bottom:1px solid #dce9f5}
.slider-track{position:relative;min-height:560px}
.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transform:scale(1.01);transition:opacity .65s ease,transform .8s ease,visibility .65s;display:flex;align-items:center;background:linear-gradient(110deg,#ffffff 0%,#f7fbff 55%,#eaf5ff 100%)}
.hero-slide:nth-child(1){background:radial-gradient(circle at 82% 50%,rgba(37,99,235,.10),transparent 34%),linear-gradient(110deg,#ffffff 0%,#f8fbff 58%,#e8f4ff 100%)}
.hero-slide:nth-child(2){background:radial-gradient(circle at 84% 48%,rgba(56,189,248,.12),transparent 34%),linear-gradient(110deg,#ffffff 0%,#f8fbff 58%,#eaf8ff 100%)}
.hero-slide:nth-child(3){background:radial-gradient(circle at 82% 50%,rgba(96,165,250,.12),transparent 34%),linear-gradient(110deg,#ffffff 0%,#f8fbff 58%,#edf5ff 100%)}
.hero-slide::after{content:"";position:absolute;inset:0;opacity:.22;background-image:radial-gradient(circle at 8% 20%,#60a5fa 0 2px,transparent 3px),radial-gradient(circle at 18% 75%,#93c5fd 0 2px,transparent 3px),linear-gradient(125deg,transparent 0 49%,rgba(37,99,235,.07) 50%,transparent 51%);background-size:220px 220px,280px 280px,auto;pointer-events:none}
.hero-slide.is-active{opacity:1;visibility:visible;transform:scale(1)}
.hero-slide-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);align-items:center;gap:42px;min-height:560px}
.hero-slider .hero-copy{max-width:650px;padding:65px 0 78px}
.hero-slider .hero-badge{display:inline-flex;align-items:center;gap:4px;color:#1765c0;border:1px solid #bcd8f4;background:#edf6ff;border-radius:999px;padding:8px 13px;font-size:11px;font-weight:800;letter-spacing:.08em}
.hero-slider h1{font-size:clamp(38px,5vw,66px);line-height:1.06;letter-spacing:-.025em;margin:20px 0 18px;color:#102c4d}
.hero-slider h1 span{color:#1269d5}
.hero-slider .hero-desc{max-width:650px;color:#53677f;font-size:18px;line-height:1.75}
.hero-slider .btn-outline{border-color:#9bb8d4;color:#12365d;background:#fff}
.hero-slider .btn-outline:hover{border-color:#2563eb;color:#1269d5;background:#f4f9ff}
.hero-visual{position:relative;z-index:2;align-self:stretch;display:flex;align-items:center;justify-content:flex-end;padding:34px 0}
.hero-photo{overflow:visible}
.hero-photo > img{width:100%;max-width:650px;height:390px;object-fit:cover;border-radius:28px;box-shadow:0 24px 60px rgba(20,82,140,.18);border:1px solid rgba(37,99,235,.14)}
.hero-photo::before{content:"";position:absolute;right:0;top:34px;width:100%;max-width:650px;height:390px;border-radius:28px;background:linear-gradient(180deg,rgba(8,33,62,.03) 25%,rgba(8,33,62,.60) 100%);pointer-events:none;z-index:2}
.hero-logo-badge{position:absolute;z-index:4;top:52px;right:22px;background:rgba(255,255,255,.96);border:1px solid rgba(216,229,242,.95);border-radius:12px;padding:9px 13px;box-shadow:0 10px 30px rgba(10,54,95,.16);display:flex;align-items:center}
.hero-logo-badge img{width:auto!important;max-width:150px!important;height:42px!important;object-fit:contain!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.hero-photo-caption{position:absolute;z-index:4;left:26px;right:26px;bottom:57px;color:#fff;display:flex;flex-direction:column;gap:2px;text-shadow:0 2px 12px rgba(0,0,0,.35)}
.hero-photo-caption strong{font-size:21px;line-height:1.25}
.hero-photo-caption span{font-size:13px;opacity:.92}
.slider-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid #c7d9eb;border-radius:50%;background:rgba(255,255,255,.92);color:#155ca9;font-size:32px;line-height:1;cursor:pointer;box-shadow:0 8px 22px rgba(20,82,140,.10);transition:.2s}
.slider-arrow:hover{background:#2563eb;border-color:#2563eb;color:#fff}
.slider-prev{left:22px}.slider-next{right:22px}
.slider-dots{position:absolute;z-index:5;bottom:24px;left:50%;transform:translateX(-50%);display:flex;gap:9px}
.slider-dot{width:10px;height:10px;padding:0;border:1px solid #8fb8df;border-radius:50%;background:#fff;cursor:pointer;transition:.2s}
.slider-dot.is-active{width:28px;border-radius:99px;background:#2563eb;border-color:#2563eb}
@media(max-width:900px){.hero-slide-inner{grid-template-columns:1fr;gap:10px;min-height:640px}.hero-slider .hero-copy{padding:62px 28px 10px}.hero-visual{padding:0 28px 70px;justify-content:center}.hero-photo > img{max-width:720px;height:250px;object-fit:cover}.hero-photo::before{top:0;max-width:720px;height:250px}.hero-logo-badge{top:16px;right:44px}.hero-photo-caption{bottom:82px}.hero-slider h1{font-size:42px}}
@media(max-width:760px){.hero-slider,.slider-track,.hero-slide-inner{min-height:680px}.hero-slider .hero-copy{padding:58px 28px 6px}.hero-slider h1{font-size:38px}.hero-slider .hero-desc{font-size:16px}.hero-visual{padding:0 22px 70px}.hero-photo > img{max-height:210px;height:210px}.hero-photo::before{height:210px}.hero-logo-badge{right:34px}.hero-photo-caption{bottom:76px;left:18px;right:18px}.hero-photo-caption strong{font-size:17px}.slider-arrow{width:42px;height:42px;font-size:28px}.slider-prev{left:10px}.slider-next{right:10px}}

.hero{ padding:76px 0 60px; position:relative; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12.5px; color:var(--accent-2);
  background:rgba(76,141,255,0.08); border:1px solid rgba(76,141,255,0.28);
  border-radius:999px; padding:6px 14px; margin-bottom:20px;
}
.hero h1{ font-size:clamp(32px,4.6vw,56px); letter-spacing:-0.01em; }
.hero h1 span{ color:var(--accent); }
.hero-desc{ font-size:17.5px; max-width:520px; }
.hero-cta{ display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }

.hero-stats{ display:flex; gap:0; margin-top:44px; border-top:1px solid var(--border-soft); padding-top:24px; }
.hero-stat{ flex:1; padding-inline-end:18px; }
.hero-stat .num{ font-family:var(--font-mono); font-size:26px; font-weight:700; color:var(--accent); display:block; }
.hero-stat .label{ font-size:12.5px; color:var(--text-faint); }

.circuit-wrap{ position:relative; aspect-ratio:1/1; max-width:520px; margin-inline-start:auto; }
.circuit-wrap svg{ width:100%; height:100%; }
.circuit-trace{
  fill:none; stroke:var(--accent-2); stroke-width:1.6; opacity:0.55;
  stroke-dasharray:1400; stroke-dashoffset:1400;
  animation:draw-trace 2.6s ease-out forwards;
}
.circuit-trace.trace-2{ stroke:var(--accent); animation-delay:.35s; opacity:.45; }
.circuit-node{ fill:var(--accent-teal); opacity:0; animation:pop-node .5s ease-out forwards; }
.circuit-node.node-b{ fill:var(--accent); }
.circuit-node.node-c{ fill:var(--accent-2); }
.circuit-pulse{ fill:none; stroke:var(--accent-teal); stroke-width:2; opacity:0; animation:pulse-ring 2.4s ease-out infinite; }
@keyframes draw-trace{ to{ stroke-dashoffset:0; } }
@keyframes pop-node{ to{ opacity:1; } }
@keyframes pulse-ring{
  0%{ opacity:.7; transform:scale(0.6); transform-origin:center; }
  80%{ opacity:0; transform:scale(2.2); transform-origin:center; }
  100%{ opacity:0; }
}
@media (prefers-reduced-motion: reduce){
  .circuit-trace{ stroke-dashoffset:0; animation:none; }
  .circuit-node{ opacity:1; animation:none; }
  .circuit-pulse{ display:none; }
}

@media (max-width: 960px){
  .hero-grid{ grid-template-columns:1fr; }
  .circuit-wrap{ margin-inline:auto; max-width:340px; order:-1; }
  .hero-stats{ flex-wrap:wrap; gap:18px; }
  .hero-stat{ flex:1 1 45%; }
}

/* =========================================================
   5) trust strip
   ========================================================= */
.partners-marquee{ padding:30px 0; border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); }
.partners-marquee .trust-label{ display:block; margin:0 24px 16px; max-width:var(--container); margin-inline:auto; padding:0 24px; }
.partners-marquee-mask{ overflow:hidden; mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.partners-track{ display:flex; align-items:center; gap:56px; width:max-content; animation:partners-scroll 32s linear infinite; }
.partners-marquee-mask:hover .partners-track{ animation-play-state:paused; }
.partner-logo{ display:flex; align-items:center; flex:0 0 auto; }
.partner-logo img{ height:34px; width:auto; max-width:140px; object-fit:contain; filter:grayscale(100%); opacity:.65; transition:opacity .2s, filter .2s; }
.partner-logo:hover img{ filter:none; opacity:1; }
@keyframes partners-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .partners-track{ animation:none; flex-wrap:wrap; justify-content:center; }
}

/* =========================================================
   6) Services grid
   ========================================================= */
.services-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(270px,1fr)); gap:22px; }
.service-card{ padding:30px 26px; }
.service-icon{
  width:52px; height:52px; border-radius:var(--radius-sm);
  display:flex; align-items:center; justify-content:center; font-size:24px;
  background:rgba(20,105,232,0.09); border:1px solid rgba(20,105,232,0.22); margin-bottom:18px;
}
.service-card h3{ font-size:19px; margin-bottom:8px; }
.service-card p{ font-size:14.5px; margin-bottom:16px; }
.service-link{ font-family:var(--font-mono); font-size:13px; color:var(--accent-2); display:inline-flex; align-items:center; gap:6px; }
.service-link .arrow{ transition:transform .15s; display:inline-block; }
.service-card:hover .arrow{ transform:translateX(-4px); }

/* =========================================================
   7) process steps (numbering is meaningful)
   ========================================================= */
.process-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.process-list::before{
  content:''; position:absolute; top:26px; right:12%; left:12%; height:1px;
  background:repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
.process-step{ position:relative; padding:0 16px; text-align:center; }
.process-num{
  width:52px; height:52px; margin:0 auto 18px; border-radius:50%;
  background:var(--surface-2); border:1.5px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--font-mono); font-weight:700; color:var(--accent); font-size:15px;
  position:relative; z-index:2;
}
.process-step h4{ font-size:16px; margin-bottom:6px; }
.process-step p{ font-size:13.5px; }
@media (max-width: 860px){
  .process-list{ grid-template-columns:1fr; gap:28px; }
  .process-list::before{ display:none; }
}

/* =========================================================
   8) قسم "Why Us" / About Us
   ========================================================= */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.split-media{
  aspect-ratio:4/3; border-radius:var(--radius-lg); border:1px solid var(--border-soft);
  background:linear-gradient(135deg, var(--surface-2), var(--bg-soft));
  display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative;
}
.split-media img{ width:100%; height:100%; object-fit:cover; }
.check-list li{ display:flex; align-items:flex-start; gap:12px; margin-bottom:14px; color:var(--text-muted); font-size:15px; }
.check-list .mark{
  flex:0 0 auto; width:22px; height:22px; border-radius:50%; background:rgba(67,199,216,0.14);
  color:var(--accent-teal); display:flex; align-items:center; justify-content:center; font-size:12px; margin-top:2px;
}
@media (max-width: 860px){ .split{ grid-template-columns:1fr; gap:32px; } }

/* =========================================================
   9) centered statistics
   ========================================================= */
.stats-band{ background:var(--surface); border-top:1px solid var(--border-soft); border-bottom:1px solid var(--border-soft); }
.stats-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; text-align:center; }
.stat-block .num{ font-family:var(--font-mono); font-size:32px; font-weight:700; color:var(--accent); }
.stat-block .label{ color:var(--text-muted); font-size:13.5px; margin-top:4px; }
@media (max-width: 700px){ .stats-grid{ grid-template-columns:repeat(2,1fr); gap:28px 18px; } }

/* =========================================================
   10) Blog (post cards)
   ========================================================= */
.posts-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:24px; }
.post-card{ overflow:hidden; }
.post-thumb{ aspect-ratio:16/10; overflow:hidden; background:var(--surface-2); }
.post-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .3s ease; }
.post-card:hover .post-thumb img{ transform:scale(1.04); }
.post-body{ padding:22px; }
.post-meta{ font-family:var(--font-mono); font-size:12px; color:var(--text-faint); margin-bottom:10px; display:flex; gap:10px; }
.post-body h3{ font-size:17px; margin-bottom:8px; }
.post-body h3 a:hover{ color:var(--accent); }
.post-excerpt{ font-size:14px; margin-bottom:0; }

/* =========================================================
   11) final CTA section
   ========================================================= */
.cta-band{
  border-radius:var(--radius-lg); padding:56px 40px; text-align:center;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,169,255,0.14), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(20,105,232,0.14), transparent 55%),
    var(--surface);
  border:1px solid var(--border-soft);
}
.cta-band h2{ font-size:clamp(24px,3vw,34px); }
.cta-band p{ max-width:480px; margin:0 auto 24px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* =========================================================
   12) Footer
   ========================================================= */
.site-footer{ background:#0f2d52; color:#ffffff; border-top:1px solid rgba(255,255,255,.18); padding-top:44px; font-family:Arial, Helvetica, sans-serif; }
.footer-grid{ display:grid; grid-template-columns:1fr 1fr; gap:80px; padding-bottom:38px; }
.footer-col h4{ font-size:13px; color:#ffffff; margin:0 0 16px; font-family:Arial, Helvetica, sans-serif; font-weight:400; letter-spacing:0; }
.footer-location h4{ font-weight:700; }
.footer-col ul{ margin:0; padding:0; list-style:none; }
.footer-contact li{ display:flex; gap:10px; align-items:flex-start; color:#dbeafe; font-size:12px; line-height:1.55; margin-bottom:8px; }
.footer-contact .ic{ color:#7dd3fc; flex:0 0 auto; font-size:12px; line-height:1.55; }
.footer-contact strong{ font-weight:700; color:#ffffff; }
.footer-business-title{ margin:14px 0 0 30px; color:#ffffff; font-size:16px; font-weight:400; line-height:1.4; }
.footer-social{ display:flex; gap:8px; margin-top:16px; margin-left:30px; }
.footer-social a{
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center; font-size:14px; color:#ffffff;
  transition:border-color .15s, color .15s, background .15s;
}
.footer-social a:hover{ border-color:#ffffff; color:#ffffff; background:rgba(255,255,255,.10); }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.20); padding:14px 0 16px; display:flex;
  justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px;
  font-family:Arial, Helvetica, sans-serif; font-size:12px; line-height:1.35; color:#ffffff;
}
.footer-bottom a{ color:#ffffff; }
.footer-bottom a:hover{ color:#7dd3fc; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns:1fr; gap:30px; } }
@media (max-width: 560px){ .footer-contact li{ font-size:13px; } .footer-bottom{ font-size:12px; } }

/* =========================================================
   13) inner pages (About Us / Services / Contact / Archive)
   ========================================================= */
.page-hero{ padding:64px 0 46px; background:linear-gradient(180deg, var(--bg-soft), var(--bg) 85%); border-bottom:1px solid var(--border-soft); }
.page-hero .eyebrow{ margin-bottom:14px; }
.page-hero .section-title{ margin-top:6px; margin-bottom:0; }
.breadcrumb{ font-family:var(--font-mono); font-size:12.5px; color:var(--text-faint); margin-bottom:14px; }
.breadcrumb a{ color:var(--text-faint); }
.breadcrumb a:hover{ color:var(--accent); }

.content-card{
  background:var(--surface); border:1px solid var(--border-soft); border-radius:var(--radius-lg);
  padding:46px 52px; box-shadow:var(--shadow-1);
}
@media (max-width:700px){ .content-card{ padding:28px 22px; } }

.post-meta-pill{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-mono); font-size:12px;
  color:var(--text-muted); background:var(--bg-soft); border:1px solid var(--border-soft);
  border-radius:999px; padding:6px 14px; margin-bottom:20px;
}
.post-meta-pill .dot{ width:4px; height:4px; border-radius:50%; background:var(--accent-2); }

.contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:44px; align-items:start; }
.contact-info-card{ padding:30px; }
.contact-info-list li{ display:flex; gap:14px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--border-soft); }
.contact-info-list li:last-child{ border-bottom:none; }
.contact-info-list .ic{
  width:40px; height:40px; border-radius:var(--radius-sm); background:rgba(76,141,255,0.1);
  color:var(--accent-2); display:flex; align-items:center; justify-content:center; flex:0 0 auto;
}
.contact-info-list strong{ display:block; font-size:14px; color:var(--text); margin-bottom:2px; }
.contact-info-list span{ font-size:13.5px; color:var(--text-muted); }

.form-card{ padding:34px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:8px; color:var(--text); }
.field input, .field textarea{
  width:100%; background:var(--bg-soft); border:1.5px solid var(--border); color:var(--text);
  border-radius:var(--radius-sm); padding:12px 14px; font-size:14.5px; transition:border-color .15s;
}
.field input:focus, .field textarea:focus{ border-color:var(--accent-2); outline:none; }
.field textarea{ min-height:130px; resize:vertical; }
.form-notice{ padding:13px 16px; border-radius:var(--radius-sm); font-size:14px; margin-bottom:18px; }
.form-notice.success{ background:rgba(77,232,194,0.1); color:var(--accent-teal); border:1px solid rgba(77,232,194,0.3); }
.form-notice.error{ background:rgba(255,107,107,0.1); color:var(--danger); border:1px solid rgba(255,107,107,0.3); }
@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; } .form-row{ grid-template-columns:1fr; } }

.team-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:22px; }
.team-card{ padding:24px; text-align:center; }
.team-avatar{
  width:84px; height:84px; border-radius:50%; margin:0 auto 16px; overflow:hidden;
  background:var(--surface-2); border:2px solid var(--border-soft);
}
.team-avatar img{ width:100%; height:100%; object-fit:cover; }
.team-card h4{ font-size:16px; margin-bottom:2px; }
.team-role{ font-family:var(--font-mono); font-size:12px; color:var(--accent-2); }

/* Blog: single post */
.single-article{ max-width:800px; margin:0 auto; }
.single-article .post-thumb{ border-radius:var(--radius-lg); margin-bottom:32px; aspect-ratio:16/9; box-shadow:var(--shadow-1); }
.entry-content{ font-size:16.5px; line-height:1.85; color:var(--text-muted); }
.entry-content h2{ font-size:26px; line-height:1.3; margin-top:40px; margin-bottom:14px; color:var(--text); }
.entry-content h3{ font-size:20px; line-height:1.35; margin-top:32px; margin-bottom:10px; color:var(--text); }
.entry-content h4{ font-size:17px; margin-top:26px; margin-bottom:8px; color:var(--text); }
.entry-content p{ margin-bottom:18px; }
.entry-content ul, .entry-content ol{ margin:0 0 18px; padding-inline-start:22px; }
.entry-content li{ margin-bottom:8px; color:var(--text-muted); }
.entry-content li::marker{ color:var(--accent-2); }
.entry-content img{ border-radius:var(--radius-md); margin:8px 0 22px; box-shadow:var(--shadow-1); }
.entry-content a{ color:var(--accent); text-decoration:underline; text-underline-offset:3px; font-weight:700; }
.entry-content a:hover{ color:var(--accent-2); }
.entry-content strong{ color:var(--text); font-weight:700; }
.entry-content hr{ border:none; border-top:1px solid var(--border-soft); margin:32px 0; }
.entry-content table{ width:100%; border-collapse:collapse; margin-bottom:20px; font-size:14.5px; }
.entry-content table th, .entry-content table td{ padding:10px 12px; border:1px solid var(--border-soft); text-align:start; }
.entry-content table th{ background:var(--bg-soft); color:var(--text); font-weight:700; }
.entry-content blockquote{
  border-inline-start:3px solid var(--accent); margin:28px 0; padding:14px 22px; color:var(--text-muted); font-style:normal;
  background:var(--bg-soft); border-radius:0 var(--radius-md) var(--radius-md) 0;
}

.entry-tags{ margin-top:34px; padding-top:22px; border-top:1px solid var(--border-soft); display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.entry-tags a{ font-family:var(--font-mono); font-size:12.5px; color:var(--text-muted); background:var(--bg-soft); border:1px solid var(--border-soft); border-radius:999px; padding:6px 14px; transition:border-color .15s, color .15s; }
.entry-tags a:hover{ color:var(--accent); border-color:var(--accent-2); }

/* pagination */
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:40px; flex-wrap:wrap; }
.pagination a, .pagination span{
  min-width:40px; height:40px; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--border); border-radius:var(--radius-sm); font-family:var(--font-mono); font-size:13.5px; color:var(--text-muted);
}
.pagination .current{ background:var(--accent); color:var(--accent-ink); border-color:var(--accent); font-weight:700; }
.pagination a:hover{ border-color:var(--accent-2); color:#fff; }

/* Empty state (404 / no results) */
.empty-state{ text-align:center; padding:90px 0; }
.empty-state .code{ font-family:var(--font-mono); color:var(--accent); font-size:64px; font-weight:700; opacity:.8; }
.empty-state h2{ margin-top:12px; }

/* Back to top */
.back-to-top{
  position:fixed; bottom:24px; inset-inline-end:24px; z-index:90;
  width:46px; height:46px; border-radius:50%; background:var(--accent); color:var(--accent-ink);
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-2);
  opacity:0; visibility:hidden; transform:translateY(10px); transition:all .25s ease; border:none; cursor:pointer;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }

/* Scroll reveal elements */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* subtle decorative grid behind sections */
.grid-overlay{ position:absolute; inset:0; pointer-events:none; opacity:.35;
  background-image:linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size:42px 42px; mask-image:radial-gradient(ellipse at center, black 0%, transparent 70%);
}

@media (max-width: 700px){
  .section{ padding:56px 0; }
  .stats-grid, .footer-grid{ text-align:center; }
}


/* -------- Modern full-width communication hero -------- */
.hero-slider-modern{min-height:650px;background:#dff4ff;border-bottom:1px solid #d2e8f5}
.hero-slider-modern .slider-track{min-height:650px}
.hero-slider-modern .hero-slide-modern{min-height:650px;background-color:#dff4ff;background-repeat:no-repeat;background-position:center;background-size:cover}
.hero-slider-modern .hero-slide-modern::after{display:none}
.hero-slider-modern .hero-slide-modern:first-child{background-color:#dff4ff}
.hero-slider-modern .hero-slide-inner{grid-template-columns:minmax(0,1fr);min-height:650px;align-items:center}
.hero-slider-modern .hero-copy{max-width:560px;padding:95px 0 105px;position:relative;z-index:3}
.hero-slider-modern .hero-badge{display:inline-flex;border:0;background:transparent;border-radius:0;padding:0;color:#1269d5;font-size:16px;letter-spacing:.02em;font-weight:700}
.hero-slider-modern h1{font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-.035em;margin:16px 0 24px;color:#102c4d;font-weight:800}
.hero-slider-modern h1 span{color:#102c4d}
.hero-slider-modern .hero-desc{max-width:500px;color:#183b5d;font-size:18px;line-height:1.65;margin-bottom:30px}
.hero-slider-modern .btn-primary{background:#1269d5;border-color:#1269d5}
.hero-slider-modern .btn-outline{border-color:#1269d5;color:#1269d5;background:rgba(255,255,255,.65)}
.hero-slider-modern .btn-outline:hover{background:#1269d5;color:#fff}
.hero-slider-modern .hero-photo{display:none}
.hero-slider-modern .slider-arrow{background:rgba(18,105,213,.90);border-color:rgba(255,255,255,.5);color:#fff}
.hero-slider-modern .slider-arrow:hover{background:#0d4fa6;border-color:#0d4fa6}
.hero-slider-modern .slider-dots{z-index:5}
@media (max-width:900px){
  .hero-slider-modern,.hero-slider-modern .slider-track,.hero-slider-modern .hero-slide-modern,.hero-slider-modern .hero-slide-inner{min-height:590px}
  .hero-slider-modern .hero-slide-modern{background-position:62% center}
  .hero-slider-modern .hero-slide-inner{padding:0 24px}
  .hero-slider-modern .hero-copy{padding:80px 0 100px;max-width:520px}
  .hero-slider-modern .hero-copy:before{content:"";position:absolute;inset:35px -25px 45px -25px;background:rgba(220,244,255,.82);z-index:-1;border-radius:0 28px 28px 0}
}
@media (max-width:600px){
  .hero-slider-modern,.hero-slider-modern .slider-track,.hero-slider-modern .hero-slide-modern,.hero-slider-modern .hero-slide-inner{min-height:560px}
  .hero-slider-modern .hero-slide-modern{background-position:68% center}
  .hero-slider-modern h1{font-size:42px}
  .hero-slider-modern .hero-desc{font-size:16px}
  .hero-slider-modern .hero-cta{display:flex;flex-wrap:wrap;gap:10px}
}



/* NETSPEED FINAL HERO — compact banner */
.hero-slider-modern{
  min-height:340px !important;
  height:340px !important;
  background:#dff4ff url('assets/images/communication-banner.png') center center / cover no-repeat !important;
  overflow:hidden;
}
.hero-slider-modern .slider-track,
.hero-slider-modern .hero-slide-modern,
.hero-slider-modern .hero-slide-inner{
  min-height:340px !important;
  height:340px !important;
}
.hero-slider-modern .hero-slide-modern{
  background-color:#dff4ff !important;
  background-image:var(--slide-bg, url('assets/images/communication-banner.png')) !important;
  background-position:center center !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  position:absolute;
  inset:0;
}
.hero-slider-modern .hero-slide-modern::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(214,242,255,.98) 0%,rgba(214,242,255,.93) 36%,rgba(214,242,255,.50) 54%,rgba(214,242,255,0) 72%);
  pointer-events:none;
}
.hero-slider-modern .hero-slide-inner{
  display:flex !important;
  align-items:center !important;
  padding:35px 0 30px !important;
}
.hero-slider-modern .hero-copy{
  max-width:590px !important;
  padding:0 !important;
  position:relative;
  z-index:3;
  transform:translateX(-180px);
}
.hero-slider-modern .hero-badge{
  color:#155a91 !important;
  text-shadow:none !important;
  font-size:13px !important;
  font-weight:800 !important;
}
.hero-slider-modern h1{
  color:#123b63 !important;
  text-shadow:none !important;
  font-size:clamp(30px,3.8vw,48px) !important;
  line-height:1.05 !important;
  margin:9px 0 11px !important;
}
.hero-slider-modern h1 span{
  color:#1269d5 !important;
}
.hero-slider-modern .hero-desc{
  color:#294f70 !important;
  text-shadow:none !important;
  max-width:510px;
  font-size:16px !important;
  line-height:1.45 !important;
  margin-bottom:18px !important;
}
.hero-slider-modern .hero-photo{display:none !important}
.hero-slider-modern .hero-cta{display:flex;gap:10px;flex-wrap:wrap}
.hero-slider-modern .btn-primary{
  background:#1269d5 !important;
  border-color:#1269d5 !important;
  color:#fff !important;
}
.hero-slider-modern .btn-outline{
  background:#fff !important;
  border-color:#1269d5 !important;
  color:#1269d5 !important;
}
.hero-slider-modern .slider-arrow{
  z-index:6;
  top:50%;
}
.hero-slider-modern .slider-dots{bottom:14px !important}
@media(max-width:768px){
  .hero-slider-modern,
  .hero-slider-modern .slider-track,
  .hero-slider-modern .hero-slide-modern,
  .hero-slider-modern .hero-slide-inner{
    min-height:300px !important;
    height:300px !important;
  }
  .hero-slider-modern .hero-slide-modern{
    background-position:68% center !important;
  }
  .hero-slider-modern .hero-slide-modern::before{
    background:linear-gradient(90deg,rgba(214,242,255,.98) 0%,rgba(214,242,255,.86) 65%,rgba(214,242,255,.25) 100%);
  }
  .hero-slider-modern .hero-slide-inner{
    padding:25px 24px 35px !important;
  }
  .hero-slider-modern .hero-copy{
    transform:none;
  }
  .hero-slider-modern h1{font-size:30px !important}
  .hero-slider-modern .hero-desc{font-size:14px !important}
  .hero-slider-modern .hero-badge{font-size:11px !important}
}

/* Final banner positioning */
@media (min-width:769px){
  .hero-slider-modern .hero-slide-inner{padding-left:0 !important;transform:translateX(-28px);}
}


/* ===== Footer layout matching the approved reference ===== */
.site-footer .footer-grid-reference{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:80px;
  align-items:start;
  padding:28px 0 58px;
}
.site-footer .footer-grid-reference .footer-col h4{
  display:inline-block;
  font-size:28px;
  line-height:1.25;
  margin:0 0 28px;
  padding-bottom:8px;
  font-weight:400;
  color:#ffffff;
  border-bottom:4px solid #ffffff;
}
.site-footer .footer-location{
  justify-self:start;
}
.site-footer .footer-business-contact{
  justify-self:end;
  min-width:410px;
}
.site-footer .footer-location .footer-contact li{
  margin:0;
  font-size:22px;
  line-height:1.9;
  color:#dbeafe;
}
.site-footer .footer-location .footer-contact .ic,
.site-footer .footer-business-contact .footer-contact .ic{
  flex:0 0 auto;
  font-size:17px;
  line-height:1.9;
}
.site-footer .footer-location .footer-contact strong{
  font-weight:700;
  color:#dbeafe;
}
.site-footer .footer-business-title{
  margin:20px 0 0 42px;
  font-size:23px;
  line-height:1.3;
  color:#ffffff;
  font-weight:400;
}
.site-footer .footer-phone-list li{
  margin:0 0 18px;
  font-size:22px;
  line-height:1.5;
  color:#dbeafe;
}
.site-footer .footer-phone-list strong{
  color:#dbeafe;
  font-weight:700;
}
.site-footer .footer-social{
  display:flex;
  gap:10px;
  margin-top:24px;
  margin-left:42px;
}
.site-footer .footer-social a{
  width:66px;
  height:66px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#dbeafe;
}
.site-footer .footer-bottom{
  border-top:1px solid rgba(255,255,255,.20);
  padding:22px 0 28px;
  min-height:74px;
  font-size:21px;
  color:#ffffff;
}
@media (max-width: 900px){
  .site-footer .footer-grid-reference{
    grid-template-columns:1fr 1fr;
    gap:45px;
    padding:28px 0 42px;
  }
  .site-footer .footer-business-contact{
    justify-self:end;
    min-width:0;
  }
}
@media (max-width: 600px){
  .site-footer .footer-grid-reference{
    grid-template-columns:1fr;
    gap:35px;
  }
  .site-footer .footer-business-contact{
    justify-self:start;
  }
  .site-footer .footer-bottom{
    align-items:flex-start;
    flex-direction:column;
    font-size:15px;
  }
}
/* =========================================================
   NETSPEED IT VISUAL REFRESH
   ========================================================= */
body{
  background:
    radial-gradient(circle at 8% 4%,rgba(65,167,255,.08),transparent 30%),
    radial-gradient(circle at 92% 20%,rgba(20,105,232,.055),transparent 34%),
    var(--bg);
  color:var(--text);
}

.section{padding:84px 0}
.section-header{max-width:900px}
.eyebrow{
  display:inline-flex;align-items:center;gap:7px;
  color:#185fce;background:#eaf3ff;border:1px solid #bfd7fb;
  border-radius:999px;padding:8px 14px;font-size:12px;font-weight:800;letter-spacing:.07em;
}
.eyebrow::before{content:"";width:7px;height:7px;border-radius:50%;background:#4aa5ff}
.section-title{color:#102744;letter-spacing:-.025em}
.section-desc,p{color:var(--text-muted)}

.card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--border-soft);
  box-shadow:var(--shadow-1);
  border-radius:18px;
}
.service-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.service-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-2);border-color:#c4ddf7}
.service-icon{background:#edf6ff;border:1px solid #d5e9ff;color:#1469e8;border-radius:14px}
.service-link{color:#1469e8}

.btn{border-radius:10px;font-weight:700;letter-spacing:.01em}
.btn-primary{background:#1469e8;border-color:#1469e8;box-shadow:0 8px 20px rgba(20,105,232,.18)}
.btn-primary:hover{background:#0d58c9;border-color:#0d58c9}
.btn-outline{border-color:#a9c8ed;color:#123a68;background:#fff}
.btn-outline:hover{border-color:#1469e8;color:#1469e8;background:#f3f8ff}

.about-netspeed-section{background:linear-gradient(180deg,#fff 0%,#f7fbff 100%)}
.about-netspeed-section .split{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:68px}
.about-photo{
  aspect-ratio:4/3;
  border-radius:24px;
  border:1px solid #d7e7f7;
  box-shadow:0 24px 60px rgba(18,77,128,.14);
  background:#dfeefa;
}
.about-photo img{width:100%;height:100%;object-fit:cover;display:block}
.about-copy .section-title{font-size:clamp(38px,4.1vw,58px);line-height:1.08;margin-top:18px;margin-bottom:24px}
.about-copy>p{font-size:17px;line-height:1.85;max-width:760px}
.about-copy .check-list{margin-top:26px}
.about-copy .check-list li{font-size:15.5px;line-height:1.65;margin-bottom:15px}
.about-copy .check-list .mark{background:#e4f8fb;color:#23a6bd;width:24px;height:24px}
.about-button{margin-top:10px;padding:14px 28px;display:inline-flex;align-items:center;gap:18px}
.about-button span{font-size:20px;line-height:1}

.stats-band{background:#fff}
.stat-block .num{color:#1469e8}

.cta-band{
  background:linear-gradient(135deg,#ffffff 0%,#f1f8ff 100%);
  border:1px solid #d7e7f7;
  box-shadow:var(--shadow-1)
}

@media(max-width:860px){
  .about-netspeed-section .split{grid-template-columns:1fr;gap:34px}
  .about-copy .section-title{font-size:40px}
}

/* Final footer typography (compact but readable) */
.site-footer{ padding-top: 18px; }
.site-footer .footer-grid{ padding-top: 0; padding-bottom: 10px; min-height: 0; }
.site-footer .footer-col{ padding-top: 0; padding-bottom: 0; }
.site-footer .footer-col h4{ font-size: 13px; font-weight: 700; }
.site-footer .footer-contact li{ font-size: 13px; font-weight: 700; margin-bottom: 5px; line-height: 1.4; }
.site-footer .footer-contact li .office-location,
.site-footer .footer-contact li .office-address{ font-size: 12px; font-weight: 400; }
.site-footer .footer-contact .mono{ font-size: 12px; line-height: 1.55; }
.site-footer .footer-office-hours,
.site-footer .footer-hours{ font-size: 12px; font-weight: 400; line-height: 1.5; }
.site-footer .footer-business-title,
.site-footer .business-partner,
.site-footer .footer-tagline{ font-size: 13px; font-weight: 400; margin-top: 8px; }
.site-footer .footer-social{ margin-top: 9px; }
.site-footer .footer-bottom{ padding-top: 9px; padding-bottom: 9px; font-size: 12px; }
.site-footer .footer-bottom *{ font-size: 12px; }
