/* ==========================================================================
   Etimad Wasel ICT Services Company — Main Stylesheet
   Bootstrap 5.3.8 base · Light theme · Brand: Navy #2d3e6b / Orange #f47b20
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ew-navy: #2d3e6b;
  --ew-navy-700: #22305a;
  --ew-navy-900: #141d38;
  --ew-orange: #f47b20;
  --ew-orange-400: #ff9a4d;
  --ew-teal: #14b8a6;
  --ew-blue: #3b82f6;
  --ew-purple: #8b5cf6;
  --ew-pink: #ec4899;
  --ew-green: #22c55e;
  --ew-amber: #f59e0b;
  --ew-red: #ef4444;
  --ew-cyan: #06b6d4;
  --ew-bg: #ffffff;
  --ew-bg-soft: #f6f8fc;
  --ew-bg-tint: #eef2fb;
  --ew-text: #3d4663;
  --ew-muted: #6b7493;
  --ew-heading: #18213f;
  --ew-border: #e5e9f3;
  --ew-radius: 18px;
  --ew-radius-sm: 12px;
  --ew-shadow-sm: 0 4px 14px rgba(29, 41, 84, .06);
  --ew-shadow: 0 14px 40px rgba(29, 41, 84, .10);
  --ew-shadow-lg: 0 30px 70px rgba(29, 41, 84, .18);
  --ew-grad: linear-gradient(135deg, var(--ew-orange) 0%, #ff5f6d 100%);
  --ew-grad-navy: linear-gradient(135deg, var(--ew-navy) 0%, #3f58a0 100%);
  --ew-font-head: "Poppins", system-ui, sans-serif;
  --ew-font-body: "Inter", system-ui, sans-serif;
  --ew-ease: cubic-bezier(.22, .9, .3, 1);
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; }
html { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--ew-font-body);
  color: var(--ew-text);
  background: var(--ew-bg);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ew-font-head); color: var(--ew-heading); font-weight: 700; line-height: 1.25; }
a { color: var(--ew-navy); text-decoration: none; transition: color .3s; }
a:hover { color: var(--ew-orange); }
img { max-width: 100%; }
::selection { background: var(--ew-orange); color: #fff; }
.text-orange { color: var(--ew-orange) !important; }
.text-navy { color: var(--ew-navy) !important; }
.bg-soft { background: var(--ew-bg-soft); }
.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
@media (max-width: 767.98px) { .section { padding: 70px 0; } }

/* Section headings */
.ew-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.ew-head.text-start { margin-left: 0; }
.ew-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ew-font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ew-orange);
  background: rgba(244, 123, 32, .1); padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.ew-eyebrow i { font-size: .95rem; }
.ew-title { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.ew-title span { background: var(--ew-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ew-lead { color: var(--ew-muted); font-size: 1.06rem; }

/* Buttons */
.btn-ew {
  --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .8rem;
  position: relative; overflow: hidden; isolation: isolate;
  font-family: var(--ew-font-head); font-weight: 600; font-size: .95rem;
  border-radius: 50px; border: 0; color: #fff; background: var(--ew-grad);
  box-shadow: 0 10px 25px rgba(244, 123, 32, .35);
  transition: transform .35s var(--ew-ease), box-shadow .35s;
}
.btn-ew::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ew-grad-navy); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ew-ease);
}
.btn-ew:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(45, 62, 107, .35); }
.btn-ew:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-ew-outline {
  --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .75rem;
  font-family: var(--ew-font-head); font-weight: 600; font-size: .95rem; border-radius: 50px;
  color: #fff; border: 2px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px); transition: all .35s var(--ew-ease);
}
.btn-ew-outline:hover { background: #fff; color: var(--ew-navy); border-color: #fff; transform: translateY(-3px); }
.btn-ew-light {
  --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .7rem;
  font-family: var(--ew-font-head); font-weight: 600; border-radius: 50px; border: 2px solid var(--ew-navy); color: var(--ew-navy);
  transition: all .35s var(--ew-ease);
}
.btn-ew-light:hover { background: var(--ew-navy); color: #fff; transform: translateY(-3px); }

/* Colorful icon chips */
.c-orange { --c: var(--ew-orange); --c2: #ffb36b; }
.c-blue   { --c: var(--ew-blue);   --c2: #7fb2ff; }
.c-teal   { --c: var(--ew-teal);   --c2: #5eead4; }
.c-purple { --c: var(--ew-purple); --c2: #c4b5fd; }
.c-pink   { --c: var(--ew-pink);   --c2: #f9a8d4; }
.c-green  { --c: var(--ew-green);  --c2: #86efac; }
.c-amber  { --c: var(--ew-amber);  --c2: #fcd34d; }
.c-red    { --c: var(--ew-red);    --c2: #fca5a5; }
.c-cyan   { --c: var(--ew-cyan);   --c2: #67e8f9; }
.c-navy   { --c: var(--ew-navy);   --c2: #6f86c8; }
.ew-icon {
  width: 64px; height: 64px; border-radius: 18px; display: inline-grid; place-items: center;
  font-size: 1.7rem; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 35%, transparent);
  transition: transform .5s var(--ew-ease);
}

/* ---------- 3. Preloader & page transition ---------- */
.ew-preloader {
  position: fixed; inset: 0; z-index: 9999; background: #fff;
  display: grid; place-items: center; transition: opacity .6s, visibility .6s;
}
.ew-preloader.is-done { opacity: 0; visibility: hidden; }
.ew-preloader-inner { text-align: center; }
.ew-preloader-ring { width: 130px; height: 130px; position: relative; margin: 0 auto 18px; }
.ew-preloader-ring::before, .ew-preloader-ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 4px solid transparent;
}
.ew-preloader-ring::before { border-top-color: var(--ew-orange); border-right-color: var(--ew-orange); animation: ewSpin 1s linear infinite; }
.ew-preloader-ring::after { inset: 12px; border-bottom-color: var(--ew-navy); border-left-color: var(--ew-navy); animation: ewSpin 1.4s linear infinite reverse; }
.ew-preloader-ring img { position: absolute; inset: 26px; width: calc(100% - 52px); animation: ewPulse 1.4s ease-in-out infinite; }
.ew-preloader-text { font-family: var(--ew-font-head); font-weight: 600; letter-spacing: .3em; color: var(--ew-navy); font-size: .8rem; }
.ew-preloader-bar { width: 160px; height: 4px; border-radius: 4px; background: var(--ew-bg-tint); margin: 12px auto 0; overflow: hidden; }
.ew-preloader-bar span { display: block; height: 100%; width: 40%; background: var(--ew-grad); border-radius: 4px; animation: ewBar 1.2s ease-in-out infinite; }
.ew-curtain {
  position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background: var(--ew-grad-navy); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ew-ease);
}
.ew-curtain.is-active { transform: scaleY(1); transform-origin: top; }
@keyframes ewSpin { to { transform: rotate(360deg); } }
@keyframes ewPulse { 50% { transform: scale(.9); } }
@keyframes ewBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- 4. Top bar ---------- */
.ew-topbar { background: var(--ew-navy-900); color: #c7cfe6; font-size: .85rem; padding: 8px 0; }
.ew-topbar a { color: #c7cfe6; }
.ew-topbar a:hover { color: var(--ew-orange-400); }
.ew-topbar-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.ew-topbar-list i { color: var(--ew-orange); margin-right: 6px; }
.ew-social-mini { display: flex; gap: 8px; justify-content: flex-end; margin: 0; padding: 0; list-style: none; }
.ew-social-mini a {
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .08); transition: all .3s;
}
.ew-social-mini a:hover { background: var(--ew-orange); color: #fff; transform: translateY(-2px) rotate(8deg); }

/* ---------- 5. Navbar (3D hover menu) ---------- */
.ew-navbar {
  position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent;
  transition: box-shadow .35s, padding .35s, border-color .35s; padding: 12px 0;
}
.ew-navbar.is-scrolled { box-shadow: 0 10px 30px rgba(20, 29, 56, .08); padding: 6px 0; border-color: var(--ew-border); }
.ew-brand img { height: 58px; width: auto; transition: height .35s; }
.ew-navbar.is-scrolled .ew-brand img { height: 48px; }
.ew-nav .nav-link {
  font-family: var(--ew-font-head); font-weight: 600; font-size: .94rem; color: var(--ew-heading);
  padding: 10px 16px !important; border-radius: 50px; position: relative; perspective: 600px;
  transition: color .3s, background .3s;
}
/* 3D cube-flip label */
.ew-3d {
  position: relative; display: inline-block; transform-style: preserve-3d; transform-origin: 50% 0;
  transition: transform .45s var(--ew-ease);
}
.ew-3d::before {
  content: attr(data-hover); position: absolute; top: 100%; left: 0; width: 100%; white-space: nowrap;
  color: var(--ew-orange); transform: rotateX(-90deg); transform-origin: 50% 0;
}
.ew-nav .nav-link:hover .ew-3d,
.ew-nav .nav-link:focus-visible .ew-3d { transform: rotateX(90deg) translateY(-100%); }
.ew-nav .nav-link::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 3px; border-radius: 3px;
  background: var(--ew-grad); transform: translateX(-50%); transition: width .35s var(--ew-ease);
}
.ew-nav .nav-link:hover { background: rgba(244, 123, 32, .08); color: var(--ew-orange); }
.ew-nav .nav-link:hover::after, .ew-nav .nav-link.active::after { width: 26px; }
.ew-nav .nav-link.active { color: var(--ew-orange); }
.ew-nav .dropdown-toggle::after { display: none; }
.ew-nav .ew-caret { font-size: .7rem; margin-left: 4px; transition: transform .35s; display: inline-block; }
.ew-nav .dropdown:hover .ew-caret, .ew-nav .dropdown.show .ew-caret { transform: rotate(180deg); }

/* Dropdown & mega menu */
.ew-dropdown {
  border: 0; border-radius: var(--ew-radius); padding: 12px; min-width: 270px;
  box-shadow: var(--ew-shadow-lg); border-top: 3px solid var(--ew-orange); margin-top: 10px !important;
}
.ew-dropdown .dropdown-item {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 12px; padding: 10px 14px;
  font-weight: 500; color: var(--ew-heading); display: flex; align-items: center; gap: 12px;
  transition: color .35s, padding .35s var(--ew-ease);
}
.ew-dropdown .dropdown-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--c, var(--ew-orange)), var(--c2, #ff5f6d));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ew-ease);
}
.ew-dropdown .dropdown-item .ew-mi {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  color: var(--c, var(--ew-orange)); background: color-mix(in srgb, var(--c, var(--ew-orange)) 13%, transparent);
  transition: all .4s var(--ew-ease);
}
.ew-dropdown .dropdown-item small { display: block; font-size: .75rem; color: var(--ew-muted); font-weight: 400; line-height: 1.3; transition: color .35s; }
.ew-dropdown .dropdown-item:hover, .ew-dropdown .dropdown-item:focus { color: #fff; background: transparent; padding-left: 20px; }
.ew-dropdown .dropdown-item:hover::before, .ew-dropdown .dropdown-item:focus::before { transform: scaleX(1); }
.ew-dropdown .dropdown-item:hover .ew-mi { background: rgba(255, 255, 255, .22); color: #fff; transform: rotate(-12deg) scale(1.1); }
.ew-dropdown .dropdown-item:hover small { color: rgba(255, 255, 255, .85); }
.ew-mega { min-width: 600px; }
.ew-mega .ew-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
@media (min-width: 992px) {
  .ew-nav .dropdown .dropdown-menu { display: block; opacity: 0; visibility: hidden; transform: translateY(18px) rotateX(-12deg); transform-origin: top; transition: all .35s var(--ew-ease); }
  .ew-nav .dropdown:hover > .dropdown-menu, .ew-nav .dropdown .dropdown-menu.show { opacity: 1; visibility: visible; transform: none; }
  .ew-mega { left: 50% !important; transform: translate(-50%, 18px) rotateX(-12deg) !important; }
  .ew-nav .dropdown:hover > .ew-mega, .ew-nav .dropdown .ew-mega.show { transform: translate(-50%, 0) !important; }
}
@media (max-width: 991.98px) {
  .ew-mega { min-width: 0; }
  .ew-mega .ew-mega-grid { grid-template-columns: 1fr; }
  .ew-nav { padding: 12px 0; }
  .ew-dropdown { box-shadow: none; border-top: 0; background: var(--ew-bg-soft); margin-top: 0 !important; }
}
.ew-nav-cta { margin-left: 12px; }
.navbar-toggler { border: 0; padding: 6px; }
.navbar-toggler:focus { box-shadow: none; }
.ew-burger { width: 28px; height: 20px; position: relative; display: block; }
.ew-burger span { position: absolute; left: 0; width: 100%; height: 3px; border-radius: 3px; background: var(--ew-navy); transition: all .35s; }
.ew-burger span:nth-child(1) { top: 0; }
.ew-burger span:nth-child(2) { top: 8.5px; background: var(--ew-orange); }
.ew-burger span:nth-child(3) { top: 17px; }
.navbar-toggler[aria-expanded="true"] .ew-burger span:nth-child(1) { top: 8.5px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .ew-burger span:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .ew-burger span:nth-child(3) { top: 8.5px; transform: rotate(-45deg); }

/* ---------- 6. Hero slider (Revolution-style + glass break) ---------- */
.ew-hero { position: relative; height: calc(100vh - 120px); min-height: 640px; max-height: 900px; overflow: hidden; background: var(--ew-navy-900); }
.ew-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .01s .9s, visibility .01s .9s; }
.ew-slide.is-active { opacity: 1; visibility: visible; transition: none; z-index: 2; }
.ew-slide-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.15); transition: transform 9s ease-out;
}
.ew-slide.is-active .ew-slide-bg { transform: scale(1); }
.ew-slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 22, 48, .92) 0%, rgba(30, 44, 88, .78) 45%, rgba(244, 123, 32, .25) 100%); }
.ew-slide-overlay::after {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px); background-size: 26px 26px;
}
.ew-slide .container { position: relative; z-index: 3; height: 100%; }
.ew-slide .row { height: 100%; }
.ew-slide-text { color: #fff; padding-top: 30px; }
.ew-kicker {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 50px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px);
  font-family: var(--ew-font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateX(-40px);
}
.ew-kicker i { color: var(--ew-orange-400); }
.ew-slide-title {
  color: #fff; font-size: clamp(2.1rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin: 22px 0 18px;
  letter-spacing: -.02em; opacity: 0; transform: translateY(-110px); text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}
.ew-slide-title span { color: var(--ew-orange-400); }
.ew-type-wrap { min-height: 112px; opacity: 0; transform: translateY(80px); }
.ew-type { margin: 0; padding: 0; list-style: none; font-size: clamp(1rem, 1.6vw, 1.18rem); color: #dfe5f6; }
.ew-type li { min-height: 1.9em; display: flex; align-items: center; gap: 10px; }
.ew-type li::before { content: "\F26B"; font-family: "bootstrap-icons"; color: var(--ew-orange-400); font-size: .95rem; opacity: 0; transition: opacity .3s; }
.ew-type li.is-typed::before, .ew-type li.is-typing::before { opacity: 1; }
.ew-type li.is-typing span::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--ew-orange-400); margin-left: 3px; vertical-align: -3px; animation: ewBlink .8s steps(1) infinite; }
@keyframes ewBlink { 50% { opacity: 0; } }
.ew-slide-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; opacity: 0; transform: translateY(40px); }
.ew-slide-media { position: relative; display: flex; justify-content: center; align-items: flex-end; height: 100%; }
.ew-person {
  position: relative; width: min(430px, 100%); aspect-ratio: 4 / 5; border-radius: 220px 220px 30px 30px; overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .15); box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateX(-180px) rotate(-4deg); margin-bottom: 6vh;
}
.ew-person img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ew-person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(14, 22, 48, .55)); }
.ew-person-ring {
  position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25);
  left: 50%; bottom: 0; transform: translateX(-50%); animation: ewSpin 40s linear infinite; opacity: 0; transition: opacity 1s .6s;
}
.ew-person-blob { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: var(--ew-grad); filter: blur(70px); opacity: 0; left: 50%; bottom: 10%; transform: translateX(-50%); transition: opacity 1.2s .5s; }
.ew-float {
  position: absolute; z-index: 4; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: var(--ew-shadow-lg);
  display: flex; align-items: center; gap: 12px; opacity: 0; transform: scale(.6);
}
.ew-float .ew-icon { width: 44px; height: 44px; font-size: 1.2rem; border-radius: 12px; }
.ew-float strong { display: block; font-family: var(--ew-font-head); color: var(--ew-heading); font-size: 1.05rem; line-height: 1.1; }
.ew-float small { color: var(--ew-muted); font-size: .75rem; }
.ew-float-1 { top: 22%; left: -2%; }
.ew-float-2 { bottom: 16%; right: -2%; }
/* active slide choreography */
.ew-slide.is-active .ew-kicker { animation: ewInLeft .8s .35s var(--ew-ease) forwards; }
.ew-slide.is-active .ew-slide-title { animation: ewInTop 1s .5s var(--ew-ease) forwards; }
.ew-slide.is-active .ew-type-wrap { animation: ewInBottom .9s .9s var(--ew-ease) forwards; }
.ew-slide.is-active .ew-slide-cta { animation: ewInBottom .8s 1.3s var(--ew-ease) forwards; }
.ew-slide.is-active .ew-person { animation: ewInFromLeft 1.2s .45s var(--ew-ease) forwards; }
.ew-slide.is-active .ew-person-ring, .ew-slide.is-active .ew-person-blob { opacity: .55; }
.ew-slide.is-active .ew-float-1 { animation: ewPop .7s 1.5s var(--ew-ease) forwards, ewBob 4s 2.2s ease-in-out infinite; }
.ew-slide.is-active .ew-float-2 { animation: ewPop .7s 1.8s var(--ew-ease) forwards, ewBob 4.5s 2.5s ease-in-out infinite; }
@keyframes ewInTop { from { opacity: 0; transform: translateY(-110px); } to { opacity: 1; transform: none; } }
@keyframes ewInBottom { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: none; } }
@keyframes ewInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes ewInFromLeft { from { opacity: 0; transform: translateX(-180px) rotate(-4deg); } to { opacity: 1; transform: none; } }
@keyframes ewPop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes ewBob { 50% { transform: translateY(-10px); } }

/* glass-break layer */
.ew-glass { position: absolute; inset: 0; z-index: 6; pointer-events: none; perspective: 1400px; }
.ew-shard {
  position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform, opacity;
  transition: transform 1.25s cubic-bezier(.55, .05, .7, .4), opacity 1.25s ease-in, filter 1.25s;
}
.ew-shard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14, 22, 48, .9), rgba(30, 44, 88, .75)); }
.ew-shard.is-flying { opacity: 0; filter: brightness(1.6); }
.ew-cracks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 7; pointer-events: none; }
.ew-cracks path { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .9)); }
.ew-flash { position: absolute; inset: 0; z-index: 8; background: radial-gradient(circle at var(--fx, 50%) var(--fy, 50%), rgba(255, 255, 255, .85), transparent 45%); opacity: 0; pointer-events: none; }
.ew-flash.is-on { animation: ewFlash .5s ease-out; }
@keyframes ewFlash { 0% { opacity: .9; } 100% { opacity: 0; } }

/* controls */
.ew-hero-nav { position: absolute; z-index: 9; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.3rem; backdrop-filter: blur(6px); transition: all .35s; }
.ew-hero-nav:hover { background: var(--ew-orange); border-color: var(--ew-orange); transform: scale(1.08); }
.ew-hero-prev { right: 186px; }
.ew-hero-next { right: 128px; }
.ew-hero-dots { position: absolute; z-index: 9; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.ew-hero-dots button { width: 46px; height: 5px; border-radius: 5px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.ew-hero-dots button span { position: absolute; inset: 0; background: var(--ew-orange); transform: scaleX(0); transform-origin: left; }
.ew-hero-dots button.is-active span { animation: ewProgress var(--ew-dur, 7s) linear forwards; }
.ew-hero.is-paused .ew-hero-dots button.is-active span { animation-play-state: paused; }
@keyframes ewProgress { to { transform: scaleX(1); } }
.ew-hero-count { position: absolute; z-index: 9; right: 30px; bottom: 28px; color: #fff; font-family: var(--ew-font-head); font-weight: 600; }
.ew-hero-count b { font-size: 1.8rem; color: var(--ew-orange-400); }
.ew-scroll-hint { position: absolute; z-index: 9; left: 50%; margin-left: -13px; bottom: 60px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; }
.ew-scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: #fff; transform: translateX(-50%); animation: ewScroll 1.6s infinite; }
@keyframes ewScroll { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 24px; } }
@media (max-width: 991.98px) {
  .ew-hero { height: auto; min-height: 0; max-height: none; }
  .ew-slide { position: absolute; }
  .ew-slide.is-active { position: relative; }
  .ew-slide .row { height: auto; padding: 70px 0 110px; }
  .ew-slide-media { height: auto; margin-top: 30px; }
  .ew-person { width: min(320px, 80%); margin-bottom: 0; }
  .ew-person-ring { width: 360px; height: 360px; }
  .ew-hero-nav, .ew-scroll-hint { display: none; }
  .ew-float-1 { left: 0; } .ew-float-2 { right: 0; }
}

/* ---------- 7. Feature strip & about ---------- */
.ew-strip { margin-top: -70px; position: relative; z-index: 10; }
.ew-strip-card {
  background: #fff; border-radius: var(--ew-radius); padding: 26px; box-shadow: var(--ew-shadow);
  display: flex; gap: 18px; align-items: center; height: 100%; transition: transform .4s var(--ew-ease), box-shadow .4s;
}
.ew-strip-card:hover { transform: translateY(-8px); box-shadow: var(--ew-shadow-lg); }
.ew-strip-card:hover .ew-icon { transform: rotateY(180deg); }
.ew-strip-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.ew-strip-card p { margin: 0; font-size: .9rem; color: var(--ew-muted); line-height: 1.5; }
.ew-about-img { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--ew-shadow-lg); }
.ew-about-img .ew-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ew-ease); }
.ew-about-img:hover .ew-bg { transform: scale(1.06); }
.ew-about-wrap { position: relative; padding: 0 30px 30px 0; }
.ew-about-wrap::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: 28px; background: var(--ew-grad); opacity: .14; z-index: -1; }
.ew-exp-badge { position: absolute; left: -10px; bottom: 50px; background: var(--ew-grad-navy); color: #fff; border-radius: 20px; padding: 20px 24px; box-shadow: var(--ew-shadow-lg); animation: ewBob 5s ease-in-out infinite; }
.ew-exp-badge strong { font-family: var(--ew-font-head); font-size: 2.4rem; line-height: 1; display: block; color: var(--ew-orange-400); }
.ew-check { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ew-check li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ew-heading); }
.ew-check i { color: var(--ew-green); font-size: 1.15rem; line-height: 1.4; }
@media (max-width: 575.98px) { .ew-check { grid-template-columns: 1fr; } }

/* ---------- 8. Services (water fill) ---------- */
.ew-service {
  position: relative; height: 100%; background: #fff; border-radius: var(--ew-radius); overflow: hidden;
  box-shadow: var(--ew-shadow-sm); border: 1px solid var(--ew-border); isolation: isolate;
  transition: transform .6s var(--ew-ease), box-shadow .6s;
  display: flex; flex-direction: column;
}
.ew-service-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ew-service-img .ew-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.4s var(--ew-ease); }
.ew-service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 29, 56, .45)); }
.ew-service-body { position: relative; padding: 46px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.ew-service-body .ew-icon { position: absolute; top: -32px; left: 24px; z-index: 3; }
.ew-service-body h4 { font-size: 1.15rem; margin-bottom: 10px; position: relative; z-index: 2; transition: color .8s; }
.ew-service-body p { font-size: .92rem; color: var(--ew-muted); margin-bottom: 16px; position: relative; z-index: 2; transition: color .8s; flex: 1; }
.ew-service-link { position: relative; z-index: 2; font-family: var(--ew-font-head); font-weight: 600; font-size: .88rem; color: var(--c); display: inline-flex; align-items: center; gap: 6px; transition: color .8s, gap .4s; }
.ew-service-num { position: absolute; right: 18px; top: 10px; font-family: var(--ew-font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: color-mix(in srgb, var(--c) 12%, transparent); z-index: 1; transition: color .8s; }
/* water fill */
.ew-water { position: absolute; left: 0; right: 0; bottom: 0; height: 0; z-index: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, transparent) 0%, color-mix(in srgb, var(--c) 88%, var(--ew-navy-900)) 38%, var(--ew-navy-700) 100%); transition: height 1.6s cubic-bezier(.33, .75, .4, 1); }
.ew-water .ew-wave { position: absolute; left: 0; bottom: calc(100% - 1px); width: 200%; height: 22px; animation: ewWave 3.2s linear infinite; opacity: 0; transition: opacity .4s; }
.ew-service:hover .ew-water .ew-wave { opacity: 1; }
.ew-service:hover .ew-water .ew-wave-2 { opacity: .5; }

.ew-water .ew-wave-2 { animation-duration: 5.5s; animation-direction: reverse; bottom: calc(100% + 3px); }
.ew-water .ew-wave svg { width: 100%; height: 100%; display: block; }
.ew-water .ew-wave path { fill: color-mix(in srgb, var(--c) 82%, transparent); }
@keyframes ewWave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ew-service:hover { transform: translateY(-10px); box-shadow: var(--ew-shadow-lg); }
.ew-service:hover .ew-service-img .ew-bg { transform: scale(1.12) rotate(1deg); }
.ew-service:hover .ew-water { height: calc(100% + 30px); }
.ew-service:hover h3, .ew-service:hover .ew-service-link { color: #fff; }
.ew-service:hover p { color: rgba(255, 255, 255, .85); }
.ew-service:hover .ew-service-num { color: rgba(255, 255, 255, .12); }
.ew-service:hover .ew-icon { transform: translateY(-6px) rotate(360deg); background: #fff; color: var(--c); }
.ew-service:hover .ew-service-link { gap: 12px; }

/* services page detail rows */
.ew-sd-row { padding: 50px 0; border-bottom: 1px dashed var(--ew-border); scroll-margin-top: 110px; }
.ew-sd-row:last-child { border-bottom: 0; }
.ew-sd-img { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; position: relative; box-shadow: var(--ew-shadow); }
.ew-sd-img .ew-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ew-ease); }
.ew-sd-img:hover .ew-bg { transform: scale(1.06); }
.ew-sd-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ew-sd-list li { display: flex; gap: 10px; font-weight: 500; color: var(--ew-heading); font-size: .95rem; }
.ew-sd-list i { color: var(--c); }
@media (max-width: 575.98px) { .ew-sd-list { grid-template-columns: 1fr; } }

/* ---------- 9. Why us / stats ---------- */
.ew-why { background: var(--ew-grad-navy); color: #dfe5f6; overflow: hidden; }
.ew-why::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; right: -200px; top: -200px; background: radial-gradient(circle, rgba(244, 123, 32, .35), transparent 65%); }
.ew-why .ew-title, .ew-why h3 { color: #fff; }
.ew-why .ew-lead { color: #c3cbe5; }
.ew-why-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--ew-radius); padding: 28px; height: 100%; backdrop-filter: blur(6px); transition: all .45s var(--ew-ease); }
.ew-why-card:hover { background: #fff; transform: translateY(-8px); }
.ew-why-card:hover h3 { color: var(--ew-heading); }
.ew-why-card:hover p { color: var(--ew-muted); }
.ew-why-card:hover .ew-icon { transform: scale(1.1) rotate(-8deg); }
.ew-why-card h3 { font-size: 1.1rem; margin: 18px 0 8px; transition: color .4s; }
.ew-why-card p { margin: 0; font-size: .92rem; transition: color .4s; }
.ew-stats { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.ew-stat { text-align: center; padding: 26px 10px; border-radius: var(--ew-radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.ew-stat strong { display: block; font-family: var(--ew-font-head); font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1.1; }
.ew-stat strong em { font-style: normal; color: var(--ew-orange-400); }
.ew-stat span { color: #c3cbe5; font-size: .92rem; }
@media (max-width: 767.98px) { .ew-stats { grid-template-columns: 1fr 1fr; } }

/* ---------- 10. Internet packages ---------- */
.ew-pkg-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 50px; background: #fff; box-shadow: var(--ew-shadow-sm); border: 1px solid var(--ew-border); margin-bottom: 46px; flex-wrap: wrap; justify-content: center; }
.ew-pkg-tabs button { border: 0; background: transparent; border-radius: 50px; padding: 10px 24px; font-family: var(--ew-font-head); font-weight: 600; color: var(--ew-text); transition: all .35s var(--ew-ease); display: inline-flex; gap: 8px; align-items: center; }
.ew-pkg-tabs button:hover { color: var(--ew-orange); }
.ew-pkg-tabs button.is-active { background: var(--ew-grad); color: #fff; box-shadow: 0 8px 20px rgba(244, 123, 32, .35); }
.ew-pkg-grid { min-height: 520px; }
.ew-pkg {
  position: relative; height: 100%; background: #fff; border-radius: 24px; padding: 34px 28px 30px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--ew-border); box-shadow: var(--ew-shadow-sm); text-align: center;
  transition: transform .5s var(--ew-ease), box-shadow .5s, border-color .5s; display: flex; flex-direction: column;
}
.ew-pkg::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(160deg, var(--c), var(--c2)); clip-path: circle(0% at 50% 0%); transition: clip-path .8s var(--ew-ease); }
.ew-pkg::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; border-radius: 50%; top: -120px; right: -120px; background: color-mix(in srgb, var(--c) 10%, transparent); transition: all .7s var(--ew-ease); }
.ew-pkg-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 22px; display: grid; place-items: center; font-size: 2rem; color: #fff; background: linear-gradient(135deg, var(--c), var(--c2)); box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 40%, transparent); transition: all .6s var(--ew-ease); }
.ew-pkg h3 { font-size: 1.25rem; margin-bottom: 4px; transition: color .5s; }
.ew-pkg-sub { font-size: .85rem; color: var(--ew-muted); transition: color .5s; }
.ew-pkg-speed { margin: 18px 0 6px; font-family: var(--ew-font-head); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--c); transition: color .5s, transform .5s var(--ew-ease); }
.ew-pkg-speed small { font-size: 1rem; font-weight: 600; }
.ew-pkg-price { font-family: var(--ew-font-head); font-weight: 700; color: var(--ew-heading); font-size: 1.35rem; transition: color .5s; }
.ew-pkg-price small { font-size: .82rem; font-weight: 500; color: var(--ew-muted); transition: color .5s; }
.ew-pkg-list { list-style: none; padding: 0; margin: 22px 0 26px; text-align: left; flex: 1; }
.ew-pkg-list li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--ew-border); font-size: .92rem; transition: color .5s, border-color .5s; }
.ew-pkg-list li:last-child { border-bottom: 0; }
.ew-pkg-list i { color: var(--ew-green); transition: color .5s; }
.ew-pkg .btn-pkg { border-radius: 50px; padding: 12px; font-family: var(--ew-font-head); font-weight: 600; border: 2px solid var(--c); color: var(--c); background: transparent; transition: all .45s var(--ew-ease); }
.ew-pkg-ribbon { position: absolute; top: 18px; right: -38px; transform: rotate(45deg); background: var(--ew-grad); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; padding: 6px 44px; text-transform: uppercase; box-shadow: 0 6px 14px rgba(244, 123, 32, .35); }
.ew-pkg.is-popular { border-color: color-mix(in srgb, var(--c) 45%, transparent); box-shadow: var(--ew-shadow); }
.ew-pkg:hover { transform: translateY(-14px) scale(1.02); box-shadow: 0 30px 60px color-mix(in srgb, var(--c) 30%, transparent); border-color: transparent; }
.ew-pkg:hover::before { clip-path: circle(150% at 50% 0%); }
.ew-pkg:hover::after { background: rgba(255, 255, 255, .12); transform: scale(1.4); }
.ew-pkg:hover h3, .ew-pkg:hover .ew-pkg-speed, .ew-pkg:hover .ew-pkg-price, .ew-pkg:hover .ew-pkg-list li, .ew-pkg:hover .ew-pkg-list i { color: #fff; }
.ew-pkg:hover .ew-pkg-sub, .ew-pkg:hover .ew-pkg-price small { color: rgba(255, 255, 255, .8); }
.ew-pkg:hover .ew-pkg-list li { border-color: rgba(255, 255, 255, .2); }
.ew-pkg:hover .ew-pkg-speed { transform: scale(1.08); }
.ew-pkg:hover .ew-pkg-icon { background: #fff; color: var(--c); transform: rotateY(360deg); }
.ew-pkg:hover .btn-pkg { background: #fff; color: var(--c); border-color: #fff; }
.ew-pkg-note { font-size: .85rem; color: var(--ew-muted); margin-top: 26px; }
.ew-pkg-in { animation: ewPkgIn .7s var(--ew-ease) backwards; }
@keyframes ewPkgIn { from { opacity: 0; transform: translateY(40px) scale(.95); } to { opacity: 1; transform: none; } }
/* skeleton loader */
.ew-skel { border-radius: 24px; background: #fff; border: 1px solid var(--ew-border); padding: 34px 28px; height: 100%; min-height: 480px; }
.ew-skel span { display: block; border-radius: 10px; background: linear-gradient(90deg, #eef2fb 25%, #f8faff 50%, #eef2fb 75%); background-size: 200% 100%; animation: ewShimmer 1.2s infinite; margin: 0 auto 14px; }
.ew-skel .s1 { width: 76px; height: 76px; border-radius: 22px; }
.ew-skel .s2 { width: 60%; height: 18px; }
.ew-skel .s3 { width: 45%; height: 46px; }
.ew-skel .s4 { width: 100%; height: 12px; }
@keyframes ewShimmer { to { background-position: -200% 0; } }

/* ---------- 11. Coverage ---------- */
.ew-cov-map { position: relative; background: #fff; border-radius: 28px; padding: 26px; box-shadow: var(--ew-shadow); border: 1px solid var(--ew-border); }
.afg-map { width: 100%; height: auto; display: block; overflow: visible; }
.afg-map .prov { stroke: #fff; stroke-width: 1.6; cursor: pointer; transition: fill .35s, transform .35s var(--ew-ease), filter .35s; transform-box: fill-box; transform-origin: center; }
.afg-map .prov.tier-fiber { fill: url(#gFiber); }
.afg-map .prov.tier-wireless { fill: url(#gWireless); }
.afg-map .prov.tier-vsat { fill: url(#gVsat); }
.afg-map .prov:hover, .afg-map .prov.is-hl { fill: #ffc400; transform: scale(1.06); filter: drop-shadow(0 8px 14px rgba(20, 29, 56, .35)); }
.afg-map .afg-provinces.is-dim .prov:not(.is-hl):not(:hover) { opacity: .35; }
.afg-map .dot { fill: #fff; stroke: var(--ew-navy); stroke-width: 2; pointer-events: none; }
.afg-map .dot.tier-fiber { animation: ewDot 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ewDot { 0% { stroke-width: 2; stroke-opacity: 1; } 100% { stroke-width: 16; stroke-opacity: 0; } }
.afg-map .prov { animation: ewProvIn .8s var(--ew-ease) backwards; }
.ew-map-tip { position: absolute; pointer-events: none; z-index: 5; background: var(--ew-navy-900); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: .85rem; box-shadow: var(--ew-shadow-lg); opacity: 0; transform: translate(-50%, -120%) scale(.9); transition: opacity .2s, transform .2s; white-space: nowrap; }
.ew-map-tip.is-on { opacity: 1; transform: translate(-50%, -130%) scale(1); }
.ew-map-tip b { color: var(--ew-orange-400); font-family: var(--ew-font-head); display: block; }
@keyframes ewProvIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
.ew-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; justify-content: center; font-size: .86rem; font-weight: 500; }
.ew-legend span { display: inline-flex; gap: 8px; align-items: center; }
.ew-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.ew-legend .l-fiber { background: linear-gradient(135deg, #f47b20, #ff9f4a); }
.ew-legend .l-wireless { background: linear-gradient(135deg, #2d3e6b, #4a63a8); }
.ew-legend .l-vsat { background: linear-gradient(135deg, #14b8a6, #38d9c4); }
.ew-cov-panel { background: #fff; border-radius: 28px; padding: 26px; box-shadow: var(--ew-shadow); border: 1px solid var(--ew-border); height: 100%; display: flex; flex-direction: column; }
.ew-cov-search { position: relative; margin-bottom: 14px; }
.ew-cov-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ew-muted); }
.ew-cov-search input { border-radius: 50px; padding: 12px 18px 12px 44px; border: 1px solid var(--ew-border); background: var(--ew-bg-soft); }
.ew-cov-search input:focus { border-color: var(--ew-orange); box-shadow: 0 0 0 4px rgba(244, 123, 32, .12); background: #fff; }
.ew-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ew-chips button { border: 1px solid var(--ew-border); background: #fff; border-radius: 50px; padding: 5px 14px; font-size: .8rem; font-weight: 600; color: var(--ew-text); transition: all .3s; }
.ew-chips button:hover { border-color: var(--ew-orange); color: var(--ew-orange); }
.ew-chips button.is-active { background: var(--ew-navy); border-color: var(--ew-navy); color: #fff; }
.ew-prov-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 470px; overflow-y: auto; padding-right: 6px; flex: 1; }
.ew-prov-list::-webkit-scrollbar { width: 6px; }
.ew-prov-list::-webkit-scrollbar-thumb { background: var(--ew-border); border-radius: 6px; }
.ew-prov-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--ew-bg-soft); cursor: pointer; transition: all .3s var(--ew-ease); animation: ewPkgIn .5s var(--ew-ease) backwards; }
.ew-prov-list li:hover, .ew-prov-list li.is-hl { background: var(--ew-navy); color: #fff; transform: translateX(4px); }
.ew-prov-list li:hover small, .ew-prov-list li.is-hl small { color: rgba(255, 255, 255, .7); }
.ew-prov-list .pn { font-weight: 600; font-size: .9rem; line-height: 1.2; }
.ew-prov-list small { display: block; font-size: .74rem; color: var(--ew-muted); }
.ew-prov-list .tb { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex-shrink: 0; font-size: .9rem; }
.ew-prov-list .tb.tier-fiber { background: linear-gradient(135deg, #f47b20, #ff9f4a); }
.ew-prov-list .tb.tier-wireless { background: linear-gradient(135deg, #2d3e6b, #4a63a8); }
.ew-prov-list .tb.tier-vsat { background: linear-gradient(135deg, #14b8a6, #38d9c4); }
.ew-prov-empty { grid-column: 1 / -1; text-align: center; color: var(--ew-muted); background: transparent !important; cursor: default !important; }
.ew-cov-count { font-size: .85rem; color: var(--ew-muted); margin-top: 12px; }
@media (max-width: 575.98px) { .ew-prov-list { grid-template-columns: 1fr; } }
.ew-map-credit { font-size: .72rem; color: var(--ew-muted); text-align: right; margin-top: 8px; }

/* ---------- 12. Team (card with social reveal) ---------- */
.ew-team { position: relative; text-align: center; background: #fff; border-radius: 26px; padding: 30px 22px 26px; box-shadow: var(--ew-shadow-sm); border: 1px solid var(--ew-border); overflow: hidden; isolation: isolate; transition: transform .5s var(--ew-ease), box-shadow .5s; height: 100%; }
.ew-team::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: -1; background: linear-gradient(135deg, var(--c), var(--c2)); border-radius: 0 0 50% 50% / 0 0 30% 30%; transition: height .6s var(--ew-ease), border-radius .6s; }
.ew-team-photo { position: relative; width: 150px; height: 150px; margin: 0 auto 18px; border-radius: 50%; padding: 6px; background: #fff; box-shadow: 0 12px 30px rgba(20, 29, 56, .18); }
.ew-team-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; filter: grayscale(.25); transition: filter .5s, transform .6s var(--ew-ease); }
.ew-team-photo::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px dashed var(--c); opacity: 0; transition: opacity .4s; animation: ewSpin 14s linear infinite; }
.ew-team h3 { font-size: 1.12rem; margin-bottom: 2px; transition: color .5s; }
.ew-team-role { color: var(--c); font-weight: 600; font-size: .86rem; transition: color .5s; }
.ew-team p { font-size: .86rem; color: var(--ew-muted); margin: 12px 0 0; transition: color .5s; }
.ew-team-social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; justify-content: center; gap: 8px; }
.ew-team-social a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ew-bg-soft); color: var(--ew-navy); transform: translateY(30px); opacity: 0; transition: all .45s var(--ew-ease); }
.ew-team-social li:nth-child(2) a { transition-delay: .06s; }
.ew-team-social li:nth-child(3) a { transition-delay: .12s; }
.ew-team-social li:nth-child(4) a { transition-delay: .18s; }
.ew-team-social a:hover { background: var(--ew-orange); color: #fff; }
.ew-team:hover { transform: translateY(-10px); box-shadow: var(--ew-shadow-lg); }
.ew-team:hover::before { height: 100%; border-radius: 0; }
.ew-team:hover h3 { color: #fff; }
.ew-team:hover .ew-team-role, .ew-team:hover p { color: rgba(255, 255, 255, .9); }
.ew-team:hover .ew-team-photo img { filter: none; transform: scale(1.05); }
.ew-team:hover .ew-team-photo::after { opacity: 1; border-color: #fff; }
.ew-team:hover .ew-team-social a { transform: none; opacity: 1; background: rgba(255, 255, 255, .2); color: #fff; }
.ew-team:hover .ew-team-social a:hover { background: #fff; color: var(--c); }
@media (hover: none) { .ew-team-social a { transform: none; opacity: 1; } }

/* ---------- 13. Testimonials ---------- */
.ew-testi { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--ew-shadow-sm); border: 1px solid var(--ew-border); height: 100%; position: relative; transition: all .45s var(--ew-ease); }
.ew-testi:hover { transform: translateY(-8px); box-shadow: var(--ew-shadow); border-color: transparent; }
.ew-testi .bi-quote { position: absolute; right: 24px; top: 14px; font-size: 3.5rem; color: rgba(244, 123, 32, .15); }
.ew-stars { color: var(--ew-amber); margin-bottom: 12px; }
.ew-testi p { font-size: .96rem; margin-bottom: 20px; }
.ew-testi-user { display: flex; gap: 14px; align-items: center; }
.ew-testi-user img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ew-bg-tint); }
.ew-testi-user strong { display: block; font-family: var(--ew-font-head); color: var(--ew-heading); }
.ew-testi-user small { color: var(--ew-muted); }

/* ---------- 14. Partners marquee ---------- */
.ew-partners { overflow: hidden; position: relative; padding: 10px 0; }
.ew-partners::before, .ew-partners::after { content: ""; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none; }
.ew-partners::before { left: 0; background: linear-gradient(90deg, var(--ew-bg-soft), transparent); }
.ew-partners::after { right: 0; background: linear-gradient(-90deg, var(--ew-bg-soft), transparent); }
.ew-marquee { display: flex; gap: 26px; width: max-content; animation: ewMarquee 38s linear infinite; }
.ew-partners:hover .ew-marquee { animation-play-state: paused; }
.ew-marquee.is-reverse { animation-direction: reverse; margin-top: 26px; }
@keyframes ewMarquee { to { transform: translateX(-50%); } }
.ew-partner { width: 220px; height: 110px; flex-shrink: 0; background: #fff; border-radius: 20px; display: grid; place-items: center; border: 1px solid var(--ew-border); box-shadow: var(--ew-shadow-sm); transition: all .45s var(--ew-ease); padding: 18px; }
.ew-partner img { max-height: 54px; width: auto; filter: grayscale(1); opacity: .65; transition: all .45s; }
.ew-partner:hover { transform: translateY(-6px) scale(1.04); box-shadow: var(--ew-shadow); border-color: var(--ew-orange); }
.ew-partner:hover img { filter: none; opacity: 1; }

/* ---------- 15. Page header (inner pages) ---------- */
.ew-page-head { position: relative; padding: 120px 0 100px; color: #fff; overflow: hidden; background: var(--ew-navy-900); }
.ew-page-head .ew-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: ewKen 20s ease-in-out infinite alternate; }
.ew-page-head::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(14, 22, 48, .94), rgba(45, 62, 107, .8) 55%, rgba(244, 123, 32, .45)); }
.ew-page-head .container { position: relative; z-index: 2; }
.ew-page-head h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.3rem); font-weight: 800; animation: ewInTop .9s .2s var(--ew-ease) both; }
.ew-page-head p { color: #d4dbef; max-width: 620px; animation: ewInBottom .9s .4s var(--ew-ease) both; }
.ew-crumb { display: inline-flex; gap: 10px; padding: 8px 18px; border-radius: 50px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: 18px; font-size: .88rem; animation: ewInLeft .8s var(--ew-ease) both; }
.ew-crumb a { color: #fff; }
.ew-crumb a:hover { color: var(--ew-orange-400); }
.ew-crumb span { color: var(--ew-orange-400); }
@keyframes ewKen { to { transform: scale(1.12); } }

/* ---------- 16. Contact ---------- */
.ew-contact-card { background: #fff; border-radius: 22px; padding: 26px; height: 100%; box-shadow: var(--ew-shadow-sm); border: 1px solid var(--ew-border); text-align: center; transition: all .45s var(--ew-ease); }
.ew-contact-card:hover { transform: translateY(-8px); box-shadow: var(--ew-shadow); }
.ew-contact-card:hover .ew-icon { transform: rotateY(180deg); }
.ew-contact-card h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.ew-contact-card p, .ew-contact-card a { margin: 0; font-size: .93rem; color: var(--ew-muted); }
.ew-contact-card a:hover { color: var(--ew-orange); }
.ew-form-wrap { background: #fff; border-radius: 28px; padding: 40px; box-shadow: var(--ew-shadow); border: 1px solid var(--ew-border); }
@media (max-width: 575.98px) { .ew-form-wrap { padding: 26px 20px; } }
.ew-form-wrap .form-label { font-weight: 600; color: var(--ew-heading); font-size: .9rem; }
.ew-form-wrap .form-control, .ew-form-wrap .form-select { border-radius: 14px; padding: 12px 16px; border: 1px solid var(--ew-border); background: var(--ew-bg-soft); transition: all .3s; }
.ew-form-wrap .form-control:focus, .ew-form-wrap .form-select:focus { border-color: var(--ew-orange); background: #fff; box-shadow: 0 0 0 4px rgba(244, 123, 32, .12); }
.ew-form-wrap .btn-ew .spinner-border { width: 1.1rem; height: 1.1rem; display: none; }
.ew-form-wrap .btn-ew.is-sending .spinner-border { display: inline-block; }
.ew-form-wrap .btn-ew.is-sending .ew-btn-label { opacity: .8; }
.ew-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ew-form-alert { display: none; border-radius: 14px; margin-top: 18px; }
.ew-form-alert.is-on { display: block; animation: ewPkgIn .5s var(--ew-ease); }
.ew-map-box { border-radius: 28px; overflow: hidden; box-shadow: var(--ew-shadow); border: 6px solid #fff; position: relative; height: 100%; min-height: 420px; background: var(--ew-bg-tint); }
.ew-map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ew-map-loader { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ew-muted); }
.ew-map-pin { position: absolute; z-index: 3; left: 18px; bottom: 18px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--ew-shadow); max-width: 300px; font-size: .88rem; }
.ew-map-pin strong { font-family: var(--ew-font-head); color: var(--ew-heading); display: block; }
.ew-hours { list-style: none; padding: 0; margin: 0; }
.ew-hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--ew-border); font-size: .93rem; }
.ew-faq .accordion-item { border: 1px solid var(--ew-border); border-radius: 16px !important; overflow: hidden; margin-bottom: 12px; }
.ew-faq .accordion-button { font-family: var(--ew-font-head); font-weight: 600; color: var(--ew-heading); padding: 18px 22px; }
.ew-faq .accordion-button:not(.collapsed) { background: var(--ew-bg-tint); color: var(--ew-navy); box-shadow: none; }
.ew-faq .accordion-button:focus { box-shadow: none; }

/* ---------- 17. CTA band & footer (TFI-style layout) ---------- */
.ew-cta-band { position: relative; z-index: 3; margin-bottom: -90px; }
.ew-cta-inner { position: relative; overflow: hidden; border-radius: 30px; padding: 46px 50px; background: var(--ew-grad); color: #fff; box-shadow: 0 30px 60px rgba(244, 123, 32, .35); }
.ew-cta-inner::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -90px; top: -160px; background: rgba(255, 255, 255, .14); }
.ew-cta-inner::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; left: 30%; bottom: -140px; background: rgba(255, 255, 255, .1); }
.ew-cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 8px; position: relative; z-index: 1; }
.ew-cta-inner p { margin: 0; color: rgba(255, 255, 255, .9); position: relative; z-index: 1; }
.ew-cta-inner .btn { position: relative; z-index: 1; }
.btn-ew-white { --bs-btn-padding-x: 1.7rem; --bs-btn-padding-y: .85rem; border-radius: 50px; background: #fff; color: var(--ew-navy); font-family: var(--ew-font-head); font-weight: 700; border: 0; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); transition: all .35s var(--ew-ease); }
.btn-ew-white:hover { background: var(--ew-navy); color: #fff; transform: translateY(-3px); }
@media (max-width: 767.98px) { .ew-cta-inner { padding: 34px 26px; text-align: center; } }
.ew-footer { background: var(--ew-navy-900); color: #aeb7d3; padding: 160px 0 0; position: relative; overflow: hidden; }
.ew-footer::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle at 10% 90%, rgba(244, 123, 32, .18), transparent 40%), radial-gradient(circle at 90% 20%, rgba(63, 88, 160, .35), transparent 45%); }
.ew-footer .container { position: relative; }
.ew-footer-brand { background: #fff; display: inline-block; padding: 12px 18px; border-radius: 18px; margin-bottom: 20px; }
.ew-footer-brand img { height: 64px; }
.ew-footer h4 { color: #fff; font-size: 1.08rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.ew-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 3px; background: var(--ew-orange); }
.ew-footer p { font-size: .93rem; }
.ew-flinks { list-style: none; padding: 0; margin: 0; }
.ew-flinks li { margin-bottom: 10px; }
.ew-flinks a { color: #aeb7d3; font-size: .93rem; display: inline-flex; align-items: center; gap: 8px; transition: all .35s var(--ew-ease); }
.ew-flinks a i { font-size: .7rem; color: var(--ew-orange); transition: transform .35s; }
.ew-flinks a:hover { color: #fff; transform: translateX(6px); }
.ew-flinks a:hover i { transform: translateX(3px); }
.ew-fcontact { list-style: none; padding: 0; margin: 0; }
.ew-fcontact li { display: flex; gap: 14px; margin-bottom: 16px; font-size: .93rem; }
.ew-fcontact i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .07); color: var(--ew-orange-400); }
.ew-fcontact a { color: #aeb7d3; }
.ew-fcontact a:hover { color: #fff; }
.ew-fsocial { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.ew-fsocial a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; font-size: 1.05rem; transition: all .4s var(--ew-ease); }
.ew-fsocial a:hover { transform: translateY(-4px) rotate(10deg); color: #fff; }
.ew-fsocial .s-fb:hover { background: #1877f2; }
.ew-fsocial .s-x:hover { background: #000; }
.ew-fsocial .s-in:hover { background: #0a66c2; }
.ew-fsocial .s-ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.ew-fsocial .s-yt:hover { background: #ff0000; }
.ew-fsocial .s-wa:hover { background: #25d366; }
.ew-newsletter { position: relative; margin-top: 8px; }
.ew-newsletter input { width: 100%; border-radius: 50px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .06); color: #fff; padding: 14px 60px 14px 20px; outline: 0; transition: border-color .3s; }
.ew-newsletter input::placeholder { color: #8d97b8; }
.ew-newsletter input:focus { border-color: var(--ew-orange); }
.ew-newsletter button { position: absolute; right: 5px; top: 5px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ew-grad); color: #fff; transition: transform .35s; }
.ew-newsletter button:hover { transform: rotate(-20deg) scale(1.08); }
.ew-news-msg { font-size: .85rem; margin-top: 8px; min-height: 1.3em; }
.ew-fbottom { margin-top: 60px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem; }
.ew-fbottom ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.ew-fbottom a { color: #aeb7d3; }
.ew-fbottom a:hover { color: var(--ew-orange-400); }
@media (max-width: 767.98px) { .ew-fbottom, .ew-fbottom ul { text-align: center; justify-content: center; } }
.ew-totop { position: fixed; right: 22px; bottom: 22px; z-index: 1040; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ew-grad); color: #fff; font-size: 1.2rem; box-shadow: 0 10px 24px rgba(244, 123, 32, .4); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ew-ease); }
.ew-totop.is-on { opacity: 1; visibility: visible; transform: none; }
.ew-totop:hover { transform: translateY(-4px); }
.ew-wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 1040; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(37, 211, 102, .45); animation: ewWa 2.4s infinite; }
.ew-wa-float:hover { color: #fff; transform: scale(1.08); }
@keyframes ewWa { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ---------- 18. Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity .9s var(--ew-ease), transform .9s var(--ew-ease); }
.reveal.reveal-left { transform: translateX(-60px); }
.reveal.reveal-right { transform: translateX(60px); }
.reveal.reveal-zoom { transform: scale(.88); }
.reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 767.98px) { .reveal.reveal-left, .reveal.reveal-right { transform: translateY(40px); } .reveal.is-in { transform: none; } }
.d-1 { transition-delay: .08s; } .d-2 { transition-delay: .16s; } .d-3 { transition-delay: .24s; } .d-4 { transition-delay: .32s; }
.d-5 { transition-delay: .4s; } .d-6 { transition-delay: .48s; } .d-7 { transition-delay: .56s; } .d-8 { transition-delay: .64s; }

/* ---------- 19. Legal / 404 / misc ---------- */
.ew-legal h2 { font-size: 1.35rem; margin-top: 34px; }
.ew-legal p, .ew-legal li { color: var(--ew-text); }
.ew-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.ew-404 strong { font-family: var(--ew-font-head); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; background: var(--ew-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.ew-value { background: #fff; border-radius: 22px; padding: 30px; height: 100%; border: 1px solid var(--ew-border); box-shadow: var(--ew-shadow-sm); transition: all .45s var(--ew-ease); }
.ew-value:hover { transform: translateY(-8px); box-shadow: var(--ew-shadow); border-color: transparent; }
.ew-value:hover .ew-icon { transform: rotate(-10deg) scale(1.1); }
.ew-value h3 { font-size: 1.12rem; margin: 18px 0 8px; }
.ew-value p { margin: 0; color: var(--ew-muted); font-size: .93rem; }
.ew-timeline { position: relative; padding-left: 34px; border-left: 3px solid var(--ew-bg-tint); }
.ew-timeline-item { position: relative; margin-bottom: 30px; }
.ew-timeline-item::before { content: ""; position: absolute; left: -44px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ew-grad); box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(244, 123, 32, .3); }
.ew-timeline-item b { font-family: var(--ew-font-head); color: var(--ew-orange); }
.ew-timeline-item h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.ew-timeline-item p { margin: 0; color: var(--ew-muted); font-size: .93rem; }
.ew-toast { position: fixed; right: 22px; bottom: 90px; z-index: 1060; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.ew-news-msg.is-ok { color: #5eead4; }
.ew-news-msg.is-err { color: var(--ew-orange-400); }
.ew-pkg-cur { font-size: .8rem; font-weight: 600; color: var(--ew-muted); vertical-align: top; transition: color .5s; }
.ew-pkg:hover .ew-pkg-cur { color: rgba(255, 255, 255, .8); }
@media (max-width: 991.98px) {
  .ew-nav .nav-link::after { left: 16px; transform: none; }
  .ew-nav-cta { margin: 8px 0 4px; }
}

/* Service directory and detail pages */
.ew-service-menu-all { grid-column: 1 / -1; }
.ew-mega { max-height: min(70vh, 540px); overflow-y: auto; }
.ew-mega .dropdown-item { white-space: normal; }
.ew-catalog-group + .ew-catalog-group { margin-top: 3rem; }
.ew-service-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.ew-service-photo.is-cutout { object-fit: contain; padding: .6rem; background: #eaf1f8; }
.ew-service { height: 100%; }
.ew-detail-hero { background: linear-gradient(135deg, #f1f7fd, #fff 75%); }
.ew-detail-image { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1.25rem; }
.ew-detail-image.is-cutout { object-fit: contain; }
.ew-plan-card { background: #fff; border: 1px solid #dde5f0; border-radius: 1rem; padding: 1.5rem; }
.ew-plan-featured { border-color: var(--ew-orange); }
.ew-related { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; padding-left: 1.25rem; }
.ew-banner-copy { max-width: 38rem; color: #fff; font-size: clamp(1rem, 2vw, 1.25rem); }
.ew-slide-overlay { background: linear-gradient(95deg, rgba(14,22,48,.95), rgba(14,22,48,.76) 47%, rgba(14,22,48,.16)); }
@media (max-width: 991.98px) {
  .ew-slide-overlay { background: rgba(14,22,48,.73); }
  .ew-hero-dots { bottom: 66px; }
  .ew-hero-dots button { width: 28px; }
}

/* Service directory and hosting plan comparison */
.ew-service-sidebar { background: #fff; border: 1px solid #dfe8f5; border-radius: 1rem; padding: 1rem; }
.ew-service-sidebar h3 { color: var(--ew-heading); margin-left: .55rem; }
.ew-directory-link { display: block; border-radius: .6rem; padding: .55rem .65rem; color: #273860; }
.ew-directory-link i { color: #1269bf; margin-right: .25rem; }
.ew-directory-link:hover, .ew-directory-link[aria-current] { background: #e8f4ff; color: #104987; }
.ew-service-status { padding: .8rem 1rem; border-radius: .6rem; background: #e8f4ff; }
.ew-service-status.is-loading::before { content: ""; display: inline-block; width: 1rem; height: 1rem; margin-right: .6rem; vertical-align: -.1em; border: 2px solid #a9c7ee; border-top-color: #1858a8; border-radius: 50%; animation: ew-directory-spin .75s linear infinite; }
.ew-directory-content > .section { padding: 1.8rem 0; border-radius: .85rem; }
.ew-directory-title { font-size: clamp(1.6rem, 4vw, 2.65rem); animation: ew-directory-write .48s ease-out both; }
.ew-hosting-card { display: flex; flex-direction: column; height: 100%; background: #eff8ff; }
.ew-hosting-card h3 i, .ew-hosting-card li i { color: var(--c, #1269bf); }
.ew-hosting-card ul { list-style: none; padding: 0; }
.ew-hosting-card li { display: flex; gap: .55rem; padding: .55rem 0; border-bottom: 1px dashed #c6d6e8; }
.ew-service:hover h4 { color: #fff; }
@media (min-width: 992px) {
  .ew-service-sidebar { position: sticky; top: 100px; max-height: calc(100vh - 115px); overflow: auto; }
}
@keyframes ew-directory-spin { to { transform: rotate(360deg); } }
@keyframes ew-directory-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@media (prefers-reduced-motion: reduce) {
  .ew-service-status.is-loading::before, .ew-directory-title { animation: none; }
}

/* Compact Services navigation with native expandable categories */
.ew-service-menu { width: min(21rem, 90vw); max-height: min(65vh, 32rem); overflow-y: auto; }
.ew-service-menu details > summary { display: flex; align-items: center; gap: .65rem; cursor: pointer; list-style: none; padding: .65rem .8rem; border-radius: .5rem; font-weight: 600; color: var(--ew-heading); }
.ew-service-menu summary::-webkit-details-marker { display: none; }
.ew-service-menu summary:hover, .ew-service-menu details[open] > summary { background: #e8f4ff; }
.ew-service-menu summary:focus-visible { outline: 2px solid #1766ac; outline-offset: -2px; }
.ew-service-menu summary > i:first-child { color: #1269bf; }
.ew-menu-arrow { margin-left: auto; font-size: .8rem; }
.ew-service-menu details[open] .ew-menu-arrow { transform: rotate(180deg); }
.ew-menu-children { margin: .15rem 0 .35rem .65rem; border-left: 1px solid #d3e3f5; padding-left: .25rem; }
.ew-service-menu .dropdown-item { white-space: normal; }
@media (max-width: 991.98px) {
  .ew-service-menu { width: 100%; max-height: none; }
}

/* Internal page banners and service overviews */
.ew-inner-banner .ew-bg { background-image: url('../img/services/satellite.webp'); }
.ew-detail-hero { background: #fff; }
.ew-detail-hero .ew-detail-image { aspect-ratio: 4 / 3; box-shadow: 0 15px 45px rgba(24, 40, 76, .12); }
.ew-detail-hero .ew-detail-image.is-cutout { background: #f3f7fb; padding: 1rem; }
.ew-overview-title { color: var(--ew-heading); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.ew-overview-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: .65rem 1rem; padding: 0; list-style: none; margin: 1rem 0 1.5rem; }
.ew-overview-checks li { display: flex; gap: .55rem; }
.ew-overview-checks i { color: #c45108; }
.ew-directory-content .ew-inner-banner { padding: 2rem 0; }
@media (max-width: 767.98px) {
  .ew-inner-banner { padding: 65px 0 55px; }
}

.ew-service-page .ew-inner-banner { padding-block: clamp(3.5rem, 8vw, 6rem); }
.ew-service-page .section { padding-block: clamp(2rem, 4vw, 3.5rem); }
.ew-service-intro { max-width: 64ch; line-height: 1.7; }
.ew-service-guide { padding: .25rem 0 2.5rem; }
.ew-guide-inner { border-top: 1px solid #dbe6f3; padding-top: 1.8rem; }
.ew-guide-inner h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin: .4rem 0 1rem; }
.ew-guide-inner article { display: grid; grid-template-columns: 2.5rem 1fr; gap: .85rem; padding: .85rem 0; border-bottom: 1px solid #e6edf6; }
.ew-guide-inner article i { display: grid; place-items: center; height: 2.4rem; border-radius: .65rem; background: #e9f4ff; color: #1466ae; font-size: 1.15rem; }
.ew-guide-inner article:nth-of-type(2) i { background: #e6f7f1; color: #147458; }
.ew-guide-inner article:nth-of-type(3) i { background: #fff0e3; color: #a6470a; }
.ew-guide-inner h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.ew-guide-inner p { margin: 0; max-width: 80ch; line-height: 1.65; }
.ew-service-page .ew-more-services .ew-head { margin-bottom: 1.5rem; }

/* Side-by-side Services flyouts on desktop, inline disclosure on mobile. */
.ew-service-menu summary > span { flex: 1; }
@media (min-width: 992px) {
  .ew-service-menu { width: 17rem; overflow: visible; max-height: none; margin-top: 0 !important; }
  .ew-service-menu details { position: relative; }
  .ew-service-menu .ew-menu-arrow { transform: rotate(-90deg); }
  .ew-service-menu details[open] .ew-menu-arrow { transform: rotate(-90deg); }
  .ew-service-menu .ew-menu-children { position: absolute; z-index: 2; top: 0; left: 100%; width: 18rem; margin: 0; padding: .5rem; border: 1px solid var(--ew-border); border-radius: .8rem; background: #fff; box-shadow: var(--ew-shadow-lg); }
  .ew-service-menu .ew-flyout-left .ew-menu-children { left: auto; right: 100%; }
}
@media (max-width: 991.98px) {
  .ew-nav .dropdown-toggle { display: flex; align-items: center; gap: .5rem; }
  .ew-service-menu summary, .ew-service-menu .dropdown-item { display: flex; align-items: center; flex-wrap: nowrap; }
  .ew-service-menu summary i, .ew-service-menu .dropdown-item .ew-mi { flex-shrink: 0; }
  .ew-nav .nav-link:hover .ew-3d, .ew-nav .nav-link:focus-visible .ew-3d { transform: none; }
  .ew-pkg-grid { min-height: 0; }
  .ew-pkg-tabs { margin-bottom: 1.5rem; }
  .ew-service-page .ew-detail-image { max-height: 26rem; }
  .ew-service-page .ew-overview-checks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 145px), 1fr)); }
}
/* Shared slow water fill for internet and hosting packages. */
.ew-hosting-card { position: relative; isolation: isolate; overflow: hidden; }
.ew-pkg::before, .ew-hosting-card::before {
  content: ""; position: absolute; z-index: -2; inset: -12% -18% -10%;
  background: color-mix(in srgb, var(--c, #1269bf) 17%, white);
  border-radius: 43% 47% 0 0 / 14% 13% 0 0;
  clip-path: none; transform: translateY(105%) rotate(-4deg);
  transition: transform 1.15s cubic-bezier(.25,.65,.25,1);
}
.ew-pkg:hover::before, .ew-pkg:focus-within::before,
.ew-hosting-card:hover::before, .ew-hosting-card:focus-within::before {
  clip-path: none; transform: translateY(0) rotate(0);
}
.ew-pkg:hover h3, .ew-pkg:hover .ew-pkg-price, .ew-pkg:hover .ew-pkg-list li { color: var(--ew-heading); }
.ew-pkg:hover .ew-pkg-speed { color: var(--ew-heading); transform: none; }
.ew-pkg:hover .ew-pkg-sub, .ew-pkg:hover .ew-pkg-price small { color: var(--ew-muted); }
.ew-pkg:hover .ew-pkg-list i { color: var(--ew-green); }
.ew-pkg:hover .ew-pkg-list li { border-color: var(--ew-border); }
.ew-pkg:hover .ew-pkg-icon { transform: none; }
.ew-pkg:hover { transform: translateY(-5px); }
@media (prefers-reduced-motion: reduce) {
  .ew-pkg::before, .ew-hosting-card::before { transition: none; }
  .ew-pkg:hover { transform: none; }
}

/* Layered homepage hero */
.ew-hero .ew-slide.is-active .ew-slide-title { animation: ewInTop .42s ease-out both; }
.ew-hero .ew-slide.is-active .ew-slide-cta { animation-delay: .25s; }
.ew-hero .ew-banner-copy { min-height: 3em; }
.ew-hero-portrait { display: flex; align-items: flex-end; justify-content: center; align-self: stretch; pointer-events: none; }
.ew-hero-portrait img { width: min(100%, 380px); height: min(525px, 61vh); object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 24px #101a36aa); }
.ew-slide.is-active .ew-hero-portrait img { animation: ewPortraitIn .65s ease-out both; }
.ew-slide[data-effect="cube"].is-active .ew-slide-bg { animation: ewCubeIn .7s ease-out both; }
.ew-slide[data-effect="split"].is-active .ew-slide-bg { animation: ewSplitIn .72s ease-out both; }
.ew-slide[data-effect="wipe"].is-active .ew-slide-bg { animation: ewWipeIn .65s ease-out both; }
.ew-slide[data-effect="zoom"].is-active .ew-slide-bg { animation: ewZoomIn .78s ease-out both; }
.ew-slide[data-effect="cube"] .ew-slide-overlay { background: linear-gradient(95deg,#101d36f5,#12395aa0,#10254940); }
.ew-slide[data-effect="split"] .ew-slide-overlay { background: linear-gradient(95deg,#101d36f5,#173a4099,#064d4140); }
.ew-slide[data-effect="wipe"] .ew-slide-overlay { background: linear-gradient(95deg,#181934f5,#362449a0,#3a195840); }
.ew-slide[data-effect="zoom"] .ew-slide-overlay { background: linear-gradient(95deg,#181b33f5,#49372aa0,#573c1940); }
.ew-hero-pause { position: absolute; bottom: 1rem; left: 1rem; z-index: 12; border: 1px solid #ffffff75; border-radius: .5rem; background: #121c38; color: white; padding: .4rem .75rem; }
@keyframes ewPortraitIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes ewCubeIn { from { transform: perspective(900px) rotateY(-42deg) scale(1.15); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes ewSplitIn { from { clip-path: inset(0 48%); } to { clip-path: inset(0); } }
@keyframes ewWipeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes ewZoomIn { from { transform: scale(1.22); opacity: .3; } to { transform: none; opacity: 1; } }
@media (max-width: 991.98px) {
  .ew-hero .ew-slide .row { padding-bottom: 90px; }
  .ew-hero-portrait img { height: 200px; }
  .ew-hero-pause { bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ew-hero .ew-slide.is-active :is(.ew-slide-title,.ew-slide-cta,.ew-slide-bg,.ew-hero-portrait img) { animation: none; opacity: 1; transform: none; }
}
/* Discourage casual selection in marketing copy. */
.ew-banner-copy, .ew-service-intro, .ew-service-guide { user-select: none; }

/* Availability, coverage, and plan enquiry panels */
.ew-action-section { padding-block: clamp(1.25rem, 3vw, 2.5rem); }
.ew-action-panel { display: grid; grid-template-columns: auto minmax(0,1fr) minmax(11rem, 16rem); gap: clamp(1rem,2vw,1.75rem); align-items: start; padding: clamp(1.15rem,3vw,2.25rem); border-radius: 1.3rem; border: 1px solid #d9e5f3; border-left: 4px solid var(--ew-orange); background: linear-gradient(125deg,#fff 20%,#edf5ff); box-shadow: 0 12px 30px #17254812; }
.ew-action-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .85rem; background: #fff0df; color: #a74a11; font-size: 1.35rem; }
.ew-action-copy h2 { font-size: clamp(1.25rem,2.4vw,1.85rem); margin: .4rem 0 .55rem; }
.ew-action-copy p { max-width: 66ch; line-height: 1.65; }
.ew-action-copy p:last-child { margin-bottom: 0; }
.ew-action-links { display: grid; gap: .65rem; align-self: center; }
.ew-action-secondary { font-size: .9rem; font-weight: 600; text-align: center; }
@media (max-width: 767.98px) {
  .ew-action-panel { grid-template-columns: auto minmax(0,1fr); }
  .ew-action-links { grid-column: 1 / -1; }
}
.ew-directory-content .ew-action-panel { grid-template-columns: auto minmax(0,1fr); }
.ew-directory-content .ew-action-links { grid-column: 1 / -1; }

/* Service scenes use an independently animated, readable text layer. */
.ew-scene-bg picture, .ew-scene-bg img { display: block; width: 100%; height: 100%; }
.ew-scene-bg img { object-fit: cover; object-position: 74% 24%; }
.ew-inner-banner .ew-scene-bg { background-image: none; }
.ew-hero .ew-slide[data-effect] .ew-slide-overlay, .ew-scene-banner::before { background: linear-gradient(90deg,#101a32fa 0%,#101a32e8 29%,#101a3299 49%,#101a3210 76%); }
.ew-scene-banner .container > p { max-width: min(50ch,52%); }
.ew-scene-banner h1 { max-width: 62%; }
@media (max-width: 767.98px) {
 .ew-hero .ew-slide .row { padding-top: 8rem; }
 .ew-hero .ew-slide[data-effect] .ew-slide-overlay, .ew-scene-banner::before { background: linear-gradient(0deg,#101a32fc 8%,#101a32df 57%,#101a3240); }
 .ew-scene-bg img { object-position: 74% 10%; }
 .ew-scene-banner { padding-top: 8rem; }
 .ew-scene-banner h1, .ew-scene-banner .container > p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
 .ew-scene-banner .ew-scene-bg { animation: none; }
}

/* Compact homepage hero */
@media (min-width: 992px) {
  .ew-hero { height: clamp(500px, 66vh, 580px); min-height: 0; }
}
@media (max-width: 991.98px) {
  .ew-hero .ew-slide .row { padding-top: clamp(3rem, 12vw, 6rem); padding-bottom: 76px; }
}

/* Wide interior artwork stays fully visible at every viewport. */
.ew-art-banner.ew-inner-banner, .ew-art-banner.ew-404 { display: grid; align-items: center; padding: 0; background: #091832; color: #fff; }
.ew-art-banner .ew-internal-art { display: block; grid-area: 1 / 1; width: 100%; max-width: 1440px; height: auto; justify-self: center; }
.ew-art-banner > .container { grid-area: 1 / 1; position: relative; z-index: 2; padding-block: 1.5rem; }
.ew-art-banner h1, .ew-art-banner.ew-404 p { color: #fff; }
.ew-art-banner.ew-page-head h1, .ew-art-banner.ew-page-head p { max-width: 52%; }
.ew-art-banner.ew-page-head::before { background: linear-gradient(90deg,#091832f5 0%,#091832d9 30%,#09183215 68%); }
.ew-art-banner.ew-404 { text-align: left; }
@media (max-width: 991.98px) {
 .ew-art-banner.ew-inner-banner, .ew-art-banner.ew-404 { display: flex; flex-direction: column; align-items: stretch; }
 .ew-art-banner.ew-page-head::before { display: none; }
 .ew-art-banner.ew-page-head h1, .ew-art-banner.ew-page-head p { max-width: none; }
}

/* Blend wide-screen gutters into the unchanged interior artwork. */
.ew-art-banner.ew-inner-banner, .ew-art-banner.ew-404 {
  background: linear-gradient(105deg, #091832 0%, #132c49 58%, #304f6e 100%);
}
@media (min-width: 1441px) {
  .ew-art-banner .ew-internal-art {
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }
  .ew-art-banner.ew-page-head::before {
    background: linear-gradient(90deg, #091832f5 0%, #091832d9 30%, #09183215 68%, transparent 100%);
  }
}

/* Extend wide banners using their own colors and scenery. */
@media (min-width: 1441px) {
  .ew-art-banner.ew-inner-banner, .ew-art-banner.ew-404 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #13283e;
  }
  .ew-art-banner::after {
    content: ;
    position: absolute;
    inset: -36px;
    z-index: -1;
    background: var(--ew-banner-art) center / cover no-repeat;
    filter: blur(28px) brightness(.83) saturate(.82);
  }
  .ew-art-banner .ew-internal-art {
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 86%, transparent);
  }
  .ew-art-banner.ew-page-head::before {
    background: linear-gradient(90deg, #091832e8 0%, #091832b8 34%, #09183227 66%, #09183220 100%);
  }
}
