/*
Theme Name: Nexora Technology Studio
Theme URI: https://example.com/nexora-technology-studio
Author: OpenAI
Description: A responsive technology-services WordPress theme inspired by modern enterprise layouts. Includes a utility bar, sticky navigation, conversion hero, services, process, projects, testimonials, news, newsletter, and a multi-column footer.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nexora-studio
Tags: custom-logo, custom-menu, featured-images, block-styles, wide-blocks, full-width-template, blog, business
*/

:root {
  --nx-blue: #1261ff;
  --nx-blue-dark: #0b4bd2;
  --nx-navy: #041942;
  --nx-ink: #101d38;
  --nx-muted: #62708a;
  --nx-pale: #f2f6fd;
  --nx-line: #dce4f1;
  --nx-white: #fff;
  --nx-radius: 24px;
  --nx-shadow: 0 22px 60px rgba(4, 25, 66, .11);
  --nx-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--nx-ink); background: var(--nx-white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; padding: 12px 16px; margin: 8px; overflow: visible; clip: auto; background: #fff; color: #000; z-index: 99999; }
.nx-container { width: min(calc(100% - 40px), var(--nx-width)); margin-inline: auto; }
.nx-section { padding: 112px 0; }
.nx-section--soft { background: var(--nx-pale); }
.nx-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--nx-blue); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nx-eyebrow::before { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50% 0 50% 50%; transform: rotate(-30deg); }
.nx-title { max-width: 760px; margin: 0; color: var(--nx-navy); font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.06; }
.nx-title--center { margin-inline: auto; text-align: center; }
.nx-lead { color: var(--nx-muted); font-size: 1.02rem; }
.nx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; background: var(--nx-blue); color: #fff; font-size: .9rem; font-weight: 750; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.nx-btn:hover, .nx-btn:focus-visible { transform: translateY(-2px); background: var(--nx-blue-dark); box-shadow: 0 14px 28px rgba(18, 97, 255, .24); }
.nx-btn--outline { border-color: rgba(255,255,255,.65); background: transparent; }
.nx-btn--outline:hover { background: #fff; color: var(--nx-navy); }

/* Header */
.nx-topbar { background: var(--nx-blue); color: #fff; font-size: .78rem; }
.nx-topbar__inner { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 28px; }
.nx-contact, .nx-socials { display: flex; align-items: center; gap: 26px; }
.nx-contact span, .nx-contact a { display: inline-flex; align-items: center; gap: 8px; }
.nx-contact svg, .nx-socials svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nx-socials { gap: 16px; font-weight: 800; }
.nx-site-header { position: sticky; top: 0; z-index: 90; background: var(--nx-navy); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.admin-bar .nx-site-header { top: 32px; }
.nx-navbar { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 40px; }
.nx-brand { display: flex; align-items: center; min-width: 190px; color: #fff; font-size: 1.55rem; font-weight: 650; letter-spacing: -.05em; }
.nx-brand__mark { display: inline-grid; width: 39px; height: 39px; margin-right: 6px; place-items: center; border-radius: 5px; background: var(--nx-blue); color: #fff; font-size: .96rem; font-weight: 900; letter-spacing: -.08em; }
.custom-logo-link img { width: auto; max-height: 46px; }
.nx-nav { margin-left: auto; }
.nx-nav ul { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; }
.nx-nav a { position: relative; display: block; padding: 30px 0 27px; font-size: .9rem; font-weight: 700; }
.nx-nav a::after { content: ""; position: absolute; right: 0; bottom: 22px; left: 0; height: 2px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nx-nav a:hover::after, .nx-nav .current-menu-item > a::after { transform: scaleX(1); }
.nx-nav .sub-menu { position: absolute; display: none; min-width: 220px; padding: 12px 0; border-radius: 12px; background: #fff; color: var(--nx-ink); box-shadow: var(--nx-shadow); }
.nx-nav li { position: relative; }
.nx-nav li:hover > .sub-menu, .nx-nav li:focus-within > .sub-menu { display: block; }
.nx-nav .sub-menu a { padding: 10px 18px; }
.nx-nav .sub-menu a::after { display: none; }
.nx-menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; }
.nx-menu-toggle span, .nx-menu-toggle::before, .nx-menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.nx-hero { position: relative; min-height: 690px; overflow: hidden; background-color: var(--nx-navy); background-image: linear-gradient(90deg, rgba(2,15,46,.98) 0%, rgba(2,15,46,.87) 38%, rgba(2,15,46,.25) 70%, rgba(2,15,46,.12) 100%), url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85'); background-position: center; background-size: cover; color: #fff; }
.nx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 55%, rgba(18,97,255,.16)); pointer-events: none; }
.nx-hero__inner { position: relative; z-index: 1; display: flex; min-height: 690px; align-items: center; padding: 80px 0 145px; }
.nx-hero__content { max-width: 850px; }
.nx-hero .nx-eyebrow { color: #fff; }
.nx-hero h1 { margin: 0 0 28px; color: #fff; font-size: clamp(3.7rem, 8.5vw, 7.25rem); font-weight: 300; letter-spacing: -.07em; line-height: .93; }
.nx-hero h1 strong { font-weight: 700; }
.nx-hero h1 span { display: inline-block; border-bottom: 2px solid rgba(255,255,255,.8); }
.nx-hero__bottom { display: flex; max-width: 650px; align-items: center; gap: 60px; }
.nx-hero__bottom p { max-width: 330px; margin: 0; color: rgba(255,255,255,.78); }
.nx-trust-row { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: -68px; }
.nx-trust-card { display: grid; grid-template-columns: 64px 1fr; gap: 20px; min-height: 148px; padding: 28px 30px; border: 1px solid rgba(4,25,66,.06); border-radius: 18px; background: #fff; box-shadow: var(--nx-shadow); }
.nx-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 13px; background: var(--nx-blue); color: #fff; }
.nx-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.nx-trust-card h3 { margin: 1px 0 6px; color: var(--nx-navy); font-size: 1.15rem; }
.nx-trust-card p { margin: 0; color: var(--nx-muted); font-size: .85rem; line-height: 1.55; }

/* About */
.nx-about { padding-top: 135px; }
.nx-split { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.nx-media-card { position: relative; overflow: hidden; min-height: 590px; border-radius: 26px; background: #cbd7e8 url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1100&q=85') center/cover; }
.nx-media-card::after { content: "18+\A years of\A excellence"; position: absolute; right: 0; bottom: 0; padding: 25px 30px; border-radius: 22px 0 0 0; background: var(--nx-blue); color: #fff; white-space: pre; font-size: 1.15rem; font-weight: 800; line-height: 1.25; }
.nx-about__content .nx-title { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.nx-about__content > .nx-lead { margin: 28px 0 32px; }
.nx-benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; margin: 0 0 28px; border-block: 1px solid var(--nx-line); }
.nx-benefit { display: grid; grid-template-columns: 42px 1fr; gap: 15px; padding: 28px 18px 28px 0; }
.nx-benefit + .nx-benefit { padding-left: 24px; border-left: 1px solid var(--nx-line); }
.nx-check { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #a9c4ff; border-radius: 9px; color: var(--nx-blue); font-weight: 900; }
.nx-benefit h3 { margin: 0 0 2px; font-size: 1rem; }
.nx-benefit p { margin: 0; color: var(--nx-muted); font-size: .82rem; }
.nx-callout { display: flex; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 15px; background: #fff; box-shadow: var(--nx-shadow); }
.nx-callout strong { display: block; color: var(--nx-navy); font-size: 1.05rem; }
.nx-callout small { color: var(--nx-muted); }

/* Services */
.nx-section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.nx-section-head .nx-lead { max-width: 390px; margin: 0; }
.nx-services { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.nx-service { position: relative; min-height: 330px; padding: 34px; overflow: hidden; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; transition: transform .25s ease, box-shadow .25s ease, color .25s ease; }
.nx-service::before { content: ""; position: absolute; inset: auto -30% -55% 25%; height: 260px; border-radius: 50%; background: var(--nx-blue); opacity: .08; transition: transform .3s ease, opacity .3s ease; }
.nx-service:hover { transform: translateY(-7px); border-color: transparent; background: var(--nx-navy); color: #fff; box-shadow: var(--nx-shadow); }
.nx-service:hover::before { transform: scale(1.45); opacity: .5; }
.nx-service .nx-icon { position: relative; z-index: 1; margin-bottom: 45px; }
.nx-service h3 { position: relative; z-index: 1; margin: 0 0 12px; font-size: 1.35rem; }
.nx-service p { position: relative; z-index: 1; margin: 0 0 24px; color: var(--nx-muted); font-size: .9rem; }
.nx-service:hover p { color: rgba(255,255,255,.7); }
.nx-arrow { position: relative; z-index: 1; display: inline-grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--nx-line); border-radius: 50%; color: var(--nx-blue); font-size: 1.15rem; transition: background .2s, color .2s; }
.nx-service:hover .nx-arrow { border-color: #fff; background: #fff; color: var(--nx-blue); }
.nx-metrics { display: grid; grid-template-columns: 1.1fr repeat(3,1fr); align-items: center; margin-top: 55px; padding: 35px 0; border-top: 1px solid var(--nx-line); }
.nx-metric { padding: 5px 30px; border-left: 1px solid var(--nx-line); }
.nx-metric strong { display: block; color: var(--nx-navy); font-size: 2.2rem; line-height: 1.1; }
.nx-metric span { color: var(--nx-muted); font-size: .82rem; }
.nx-stars { color: #ffb423; letter-spacing: 3px; }

/* Process */
.nx-process { position: relative; overflow: hidden; background: var(--nx-navy); color: #fff; }
.nx-process::before { content: ""; position: absolute; width: 560px; height: 560px; right: -220px; top: -220px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.02), 0 0 0 160px rgba(255,255,255,.02); }
.nx-process .nx-title { color: #fff; }
.nx-process .nx-section-head .nx-lead { color: rgba(255,255,255,.62); }
.nx-steps { display: grid; grid-template-columns: repeat(3,1fr); counter-reset: step; }
.nx-step { position: relative; padding: 42px 45px 15px 0; border-top: 1px solid rgba(255,255,255,.2); counter-increment: step; }
.nx-step + .nx-step { padding-left: 45px; border-left: 1px solid rgba(255,255,255,.16); }
.nx-step::before { content: "0" counter(step); display: block; margin-bottom: 45px; color: var(--nx-blue); font-size: 1rem; font-weight: 800; }
.nx-step h3 { margin: 0 0 14px; font-size: 1.3rem; }
.nx-step p { margin: 0; color: rgba(255,255,255,.6); font-size: .9rem; }

/* Projects and quote */
.nx-projects { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: repeat(2,300px); gap: 24px; }
.nx-project { position: relative; overflow: hidden; border-radius: var(--nx-radius); background: var(--nx-navy); color: #fff; }
.nx-project:first-child { grid-row: 1 / 3; }
.nx-project img { width: 100%; height: 100%; object-fit: cover; opacity: .83; transition: transform .45s ease, opacity .3s; }
.nx-project:hover img { transform: scale(1.04); opacity: .65; }
.nx-project__caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 32px; background: linear-gradient(transparent, rgba(3,18,53,.92)); }
.nx-project__caption small { color: #b8ccff; text-transform: uppercase; letter-spacing: .1em; }
.nx-project__caption h3 { margin: 5px 0 0; font-size: 1.4rem; }
.nx-quote-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.nx-score { padding: 40px; border-radius: var(--nx-radius); background: var(--nx-blue); color: #fff; }
.nx-score strong { display: block; font-size: 4.5rem; line-height: 1; letter-spacing: -.07em; }
.nx-score p { margin: 8px 0 18px; color: rgba(255,255,255,.75); }
.nx-blockquote { margin: 0; }
.nx-blockquote p { margin: 0 0 30px; color: var(--nx-navy); font-size: clamp(1.5rem, 3.5vw, 2.75rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.3; }
.nx-person { display: flex; align-items: center; gap: 15px; }
.nx-person img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.nx-person strong, .nx-person small { display: block; }
.nx-person small { color: var(--nx-muted); }

/* Insights */
.nx-posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.nx-post-card { overflow: hidden; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; }
.nx-post-card__media { height: 230px; overflow: hidden; background: #dbe5f5; }
.nx-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.nx-post-card:hover img { transform: scale(1.045); }
.nx-post-card__body { padding: 26px; }
.nx-post-card__meta { display: flex; gap: 16px; margin-bottom: 12px; color: var(--nx-blue); font-size: .76rem; font-weight: 750; text-transform: uppercase; letter-spacing: .05em; }
.nx-post-card h3 { margin: 0 0 18px; color: var(--nx-navy); font-size: 1.2rem; line-height: 1.4; }
.nx-post-card__placeholder { display: grid; height: 100%; place-items: center; background: linear-gradient(135deg, #dce7f8, #f6f9ff); color: var(--nx-blue); font-size: 2.3rem; }

/* Footer */
.nx-newsletter { position: relative; z-index: 2; margin-bottom: -82px; }
.nx-newsletter__inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 60px; padding: 48px 58px; border-radius: 25px; background: var(--nx-blue); color: #fff; box-shadow: 0 25px 50px rgba(18,97,255,.2); }
.nx-newsletter small { font-weight: 700; opacity: .74; }
.nx-newsletter h2 { margin: 4px 0 0; font-size: clamp(1.5rem,3vw,2.4rem); line-height: 1.2; }
.nx-newsletter form { display: flex; padding: 7px; border-radius: 999px; background: #fff; }
.nx-newsletter input { min-width: 0; flex: 1; padding: 0 20px; border: 0; outline: 0; }
.nx-footer { padding: 165px 0 0; background: var(--nx-navy); color: #fff; }
.nx-footer__grid { display: grid; grid-template-columns: 1.25fr .8fr .8fr 1fr; gap: 60px; padding-bottom: 70px; }
.nx-footer .nx-brand { margin-bottom: 20px; }
.nx-footer p, .nx-footer li, .nx-footer a { color: rgba(255,255,255,.62); }
.nx-footer h3 { margin: 0 0 24px; font-size: 1.05rem; }
.nx-footer ul { margin: 0; padding: 0; list-style: none; }
.nx-footer li { margin: 9px 0; font-size: .88rem; }
.nx-footer a:hover { color: #fff; }
.nx-footer .nx-socials { margin-top: 22px; }
.nx-footer .nx-socials a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #fff; }
.nx-footer__bottom { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; }
.nx-footer__bottom p { margin: 0; }
.nx-legal { display: flex; gap: 24px; }

/* Content */
.nx-page-header { padding: 95px 0; background: var(--nx-pale); }
.nx-page-header h1 { margin: 0; font-size: clamp(2.8rem,6vw,5rem); line-height: 1; letter-spacing: -.05em; }
.nx-content { width: min(calc(100% - 40px), 860px); margin: 0 auto; padding: 90px 0; }
.nx-content > * { max-width: 100%; }
.nx-content a { color: var(--nx-blue); text-decoration: underline; }
.alignwide { width: min(1100px, calc(100vw - 40px)); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1050px) {
  .nx-topbar__inner .nx-contact span:nth-child(2) { display: none; }
  .nx-nav ul { gap: 22px; }
  .nx-navbar > .nx-btn { display: none; }
  .nx-split { gap: 42px; }
  .nx-services { grid-template-columns: repeat(2,1fr); }
  .nx-footer__grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 782px) {
  .admin-bar .nx-site-header { top: 46px; }
  .nx-topbar { display: none; }
  .nx-navbar { min-height: 74px; }
  .nx-menu-toggle { display: block; }
  .nx-nav { position: fixed; inset: 74px 0 0; display: none; padding: 28px 24px; overflow: auto; background: var(--nx-navy); }
  .admin-bar .nx-nav { top: 120px; }
  .nx-nav.is-open { display: block; }
  .nx-nav ul { display: block; }
  .nx-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .nx-nav a::after { display: none; }
  .nx-nav .sub-menu { position: static; display: block; margin-left: 18px; padding: 0; background: transparent; color: #fff; box-shadow: none; }
  .nx-hero, .nx-hero__inner { min-height: 650px; }
  .nx-hero { background-position: 62% center; }
  .nx-hero__inner { align-items: end; padding-bottom: 145px; }
  .nx-hero h1 { font-size: clamp(3.2rem, 14vw, 5.4rem); }
  .nx-hero__bottom { align-items: flex-start; flex-direction: column; gap: 25px; }
  .nx-trust-row { grid-template-columns: 1fr; margin-top: -75px; }
  .nx-split, .nx-quote-grid { grid-template-columns: 1fr; }
  .nx-media-card { min-height: 480px; }
  .nx-section-head { display: block; }
  .nx-section-head .nx-lead { margin-top: 22px; }
  .nx-metrics { grid-template-columns: repeat(3,1fr); }
  .nx-metrics > div:first-child { grid-column: 1 / -1; margin-bottom: 25px; }
  .nx-steps, .nx-posts { grid-template-columns: 1fr; }
  .nx-step + .nx-step { padding-left: 0; border-left: 0; }
  .nx-projects { grid-template-columns: 1fr; grid-template-rows: repeat(3,330px); }
  .nx-project:first-child { grid-row: auto; }
  .nx-newsletter__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .nx-container { width: min(calc(100% - 28px), var(--nx-width)); }
  .nx-section { padding: 82px 0; }
  .nx-brand { min-width: 0; }
  .nx-trust-card { grid-template-columns: 52px 1fr; padding: 22px; }
  .nx-icon { width: 50px; height: 50px; }
  .nx-benefits, .nx-services, .nx-metrics, .nx-footer__grid { grid-template-columns: 1fr; }
  .nx-benefit + .nx-benefit { padding-left: 0; border-top: 1px solid var(--nx-line); border-left: 0; }
  .nx-metric { padding: 18px 0; border-top: 1px solid var(--nx-line); border-left: 0; }
  .nx-newsletter__inner { padding: 35px 25px; }
  .nx-newsletter form { align-items: stretch; flex-direction: column; border-radius: 16px; }
  .nx-newsletter input { min-height: 50px; }
  .nx-newsletter .nx-btn { border-radius: 12px; }
  .nx-footer__grid { gap: 38px; }
  .nx-footer__bottom { align-items: flex-start; flex-direction: column; padding: 23px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
