/*--------------------------------------------------------------
# Neonest Theme
# Light, brand-blue theme built around the Neonest logo.
# Loaded after main.css and overrides its variables.
--------------------------------------------------------------*/

:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading-font: "Plus Jakarta Sans", "Inter", sans-serif;
  --nav-font: "Plus Jakarta Sans", "Inter", sans-serif;

  --brand: #2b5ea8;
  --brand-dark: #1c3f78;
  --brand-cyan: #22b8e6;
  --brand-gradient: linear-gradient(135deg, #2b5ea8 0%, #22b8e6 100%);
  --ink: #0d1b33;
  --muted: #5b6b86;
  --bg: #ffffff;
  --bg-alt: #f4f8fe;
  --line: #e2e9f4;
  --shadow-sm: 0 4px 14px rgba(16, 42, 92, 0.06);
  --shadow-md: 0 14px 40px rgba(16, 42, 92, 0.10);
  --shadow-lg: 0 30px 70px rgba(16, 42, 92, 0.18);

  --background-color: var(--bg);
  --default-color: var(--muted);
  --heading-color: var(--ink);
  --accent-color: var(--brand);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --nav-color: var(--ink);
  --nav-hover-color: var(--brand);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: var(--ink);
  --nav-dropdown-hover-color: var(--brand);
}

body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--default-font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--ink);
}

a {
  color: var(--brand);
}

.section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.alt-bg {
  --background-color: var(--bg-alt);
  background: var(--bg-alt);
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn-primary-x,
.btn-outline-x,
.btn-light-x,
.header-cta,
.contact-form button[type=submit] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  padding: 14px 30px;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn-primary-x,
.header-cta,
.contact-form button[type=submit] {
  background: var(--brand-gradient);
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 24px rgba(43, 94, 168, 0.35);
}

.btn-primary-x:hover,
.header-cta:hover,
.contact-form button[type=submit]:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(43, 94, 168, 0.45);
}

.btn-primary-x i,
.header-cta i,
.btn-light-x i {
  transition: transform 0.25s;
}

.btn-primary-x:hover i,
.header-cta:hover i,
.btn-light-x:hover i {
  transform: translateX(4px);
}

.btn-outline-x {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-outline-x:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-3px);
}

.btn-light-x {
  background: #ffffff;
  color: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.btn-light-x:hover {
  color: var(--brand);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  padding: 18px 0;
  background: transparent;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.scrolled .header {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 6px 24px rgba(16, 42, 92, 0.08);
}

.header .logo img {
  height: 44px;
  max-height: none;
  width: auto;
  margin: 0;
}

.header-cta {
  padding: 10px 22px;
  font-size: 14px;
  margin-left: 24px;
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    font-family: var(--nav-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    padding: 18px 14px;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--brand);
  }

  .navmenu a::before {
    background: var(--brand-gradient);
    height: 3px;
    border-radius: 3px;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--ink);
    margin-left: 12px;
  }

  .navmenu {
    order: 3;
  }

  .navmenu ul {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
  }
}

/*--------------------------------------------------------------
# Titles
--------------------------------------------------------------*/
.title-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.title-block p {
  font-size: 17px;
  margin: 0;
}

.section-kicker {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(43, 94, 168, 0.08);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(43, 94, 168, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: blob-drift 14s ease-in-out infinite alternate;
}

.blob-1 { width: 460px; height: 460px; background: #9cc7ff; top: -120px; right: -80px; }
.blob-2 { width: 380px; height: 380px; background: #a7f0ff; bottom: -120px; right: 30%; animation-delay: -5s; }
.blob-3 { width: 300px; height: 300px; background: #c9d8ff; top: 30%; left: -120px; animation-delay: -9s; }

@keyframes blob-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 24px;
}

.eyebrow i {
  color: var(--brand);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--ink);
}

.hero p.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-trust strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.hero-trust span {
  font-size: 14px;
}

@media (max-width: 991px) {
  .hero-text {
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-trust {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Hero 3D hub (positions driven by main.js)
--------------------------------------------------------------*/
.orbit-scene {
  --hub: 240px;
  position: relative;
  height: 560px;
  perspective: 1200px;
}

.orbit-stage {
  position: absolute;
  inset: 0;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.5s ease-out;
}

/* Hero background canvas: faint dot globe + rising arrows */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Rings, spokes and pulses */
.orbit-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.orbit-links .ring {
  fill: none;
}

.orbit-links .ring-base {
  stroke: rgba(43, 94, 168, 0.22);
  stroke-width: 1.5;
}

.orbit-links .ring-outer {
  stroke: rgba(43, 94, 168, 0.08);
  stroke-width: 1;
}

.orbit-links .ring-inner {
  stroke: rgba(43, 94, 168, 0.25);
  stroke-width: 1.5;
  stroke-dasharray: 2 8;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
  animation: ring-rotate 40s linear infinite;
}

.orbit-links .ring-streak {
  stroke: #22b8e6;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 120 880;
  filter: drop-shadow(0 0 6px rgba(34, 184, 230, 0.8));
  animation: streak-run 7s linear infinite;
}

@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

@keyframes streak-run {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

.orbit-links .links line {
  stroke: rgba(43, 94, 168, 0.16);
  stroke-width: 1.5;
}

.orbit-links .pulses circle {
  fill: #22b8e6;
  filter: drop-shadow(0 0 4px rgba(34, 184, 230, 0.9));
}

/* Center emblem with the logo */
.logo-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 50;
  width: var(--hub);
  height: var(--hub);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid transparent;
  background:
    radial-gradient(circle at 35% 30%, #ffffff 0%, #f3f8ff 70%, #e6f0fd 100%) padding-box,
    conic-gradient(from var(--border-angle), #2b5ea8, #22b8e6, #bfeeff, #ffffff, #2b5ea8) border-box;
  box-shadow:
    0 30px 60px rgba(16, 42, 92, 0.18),
    0 0 0 12px rgba(255, 255, 255, 0.6),
    0 0 0 13px rgba(43, 94, 168, 0.08),
    0 0 80px 10px rgba(34, 184, 230, 0.2),
    inset 0 -10px 30px rgba(43, 94, 168, 0.08);
  transform: translate(-50%, -50%);
  animation: core-float 6s ease-in-out infinite, border-spin 5s linear infinite;
}

.logo-core img {
  display: block;
  width: 76%;
  height: auto;
}

@keyframes core-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-8px); }
}

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes border-spin {
  to { --border-angle: 360deg; }
}

/* Skill chips */
.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  will-change: transform;
}

.orbit-item .chip {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, color-mix(in srgb, var(--c), #ffffff 92%) 100%);
  color: var(--c);
  font-size: 30px;
  border: 1px solid color-mix(in srgb, var(--c), #ffffff 80%);
  box-shadow:
    0 14px 28px color-mix(in srgb, var(--c), transparent 75%),
    0 4px 10px rgba(16, 42, 92, 0.08),
    inset 0 2px 0 #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orbit-item:hover .chip {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 20px 36px color-mix(in srgb, var(--c), transparent 60%), inset 0 2px 0 #ffffff;
}

.orbit-item small {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

@media (max-width: 575px) {
  .orbit-scene {
    height: 380px;
  }

  .orbit-item .chip {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 21px;
  }

  .orbit-item small {
    font-size: 10px;
    padding: 2px 8px;
  }
}

/*--------------------------------------------------------------
# Icon chips (cards)
--------------------------------------------------------------*/
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 26px;
  line-height: 1;
  color: var(--c, var(--brand));
  background: color-mix(in srgb, var(--c, var(--brand)), #ffffff 88%);
}

/*--------------------------------------------------------------
# Cards (shared)
--------------------------------------------------------------*/
.step-card,
.skill-card,
.service-card,
.review-card,
.why-item,
.stat-card,
.contact-info,
.contact-form {
  position: relative;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

/* 3D tilt (driven by main.js) */
.tilt {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.45s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tilt.is-tilting {
  transition: transform 0.08s linear, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tilt:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(43, 94, 168, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tilt:hover::after {
  opacity: 1;
}

.tilt .chip,
.tilt .step-top {
  transform: translateZ(40px);
}

.tilt h3,
.tilt h4 {
  transform: translateZ(24px);
}

/*--------------------------------------------------------------
# Process
--------------------------------------------------------------*/
.process {
  padding-top: 0;
  margin-top: -40px;
  position: relative;
  z-index: 3;
  background: transparent;
}

.step-card {
  padding: 30px 26px;
}

.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 10px 22px rgba(43, 94, 168, 0.3);
}

.step-no {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 34px;
  color: rgba(43, 94, 168, 0.12);
}

.step-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about-visual {
  position: relative;
  perspective: 1200px;
}

.about-visual img {
  border-radius: 26px;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.about-visual:hover img {
  transform: rotateY(0) rotateX(0);
}

.about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  animation: core-float-small 5s ease-in-out infinite;
}

.about-badge i {
  font-size: 30px;
  color: var(--brand);
}

.about-badge strong {
  display: block;
  font-family: var(--heading-font);
  color: var(--ink);
}

.about-badge span {
  font-size: 13px;
}

@keyframes core-float-small {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about p {
  font-size: 16px;
  line-height: 1.75;
}

.stat-card {
  padding: 20px;
  text-align: left;
}

.stat-card span,
.stat-card b {
  font-family: var(--heading-font);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card p {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 500;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.skill-card {
  padding: 28px 24px;
}

.skill-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 0 16px;
}

.skill-card .progress-track {
  height: 8px;
  border-radius: 8px;
  background: var(--bg-alt);
  overflow: hidden;
}

.skill-card .progress-value {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c), #22b8e6 50%));
  transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-card em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-align: right;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.service-card {
  padding: 32px 26px;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 22px 0 10px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 36px;
}

.portfolio .portfolio-filters li {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 9px 24px;
  margin: 0;
  transition: 0.25s;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: #ffffff;
  background: var(--brand-gradient);
  border-color: transparent;
}

.portfolio-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.portfolio-card img {
  width: 100%;
  transition: transform 0.6s ease;
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio .portfolio-item .portfolio-info {
  left: 16px;
  right: 16px;
  bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  transition: 0.35s ease;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 16px;
  transform: translateY(0);
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 17px;
  margin: 0 0 2px;
}

.portfolio .portfolio-item .portfolio-info span {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
}

.portfolio .portfolio-item .portfolio-info .preview-link {
  right: 20px;
  width: 42px;
  height: 42px;
  top: calc(50% - 21px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
  background: var(--brand-gradient);
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover {
  color: #ffffff;
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-item {
  padding: 30px 26px;
  text-align: center;
  transition: 0.3s;
}

.why-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.why-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 28px;
  color: var(--brand);
  background: rgba(43, 94, 168, 0.08);
  margin-bottom: 18px;
}

.why-item h4 {
  font-size: 18px;
  font-weight: 700;
}

.why-item p {
  font-size: 15px;
  margin: 0;
}

/*--------------------------------------------------------------
# Reviews
--------------------------------------------------------------*/
.testimonials .swiper {
  padding: 10px 6px 56px;
}

.testimonials .swiper-slide {
  height: auto;
}

.review-card {
  padding: 34px 30px 28px;
  display: flex;
  flex-direction: column;
}

.review-card .quote {
  font-size: 42px;
  line-height: 1;
  color: rgba(43, 94, 168, 0.2);
}

.review-card p {
  flex: 1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 6px 0 24px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.reviewer img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.reviewer h3 {
  font-size: 16px;
  margin: 0;
}

.reviewer h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin: 2px 0 0;
}

.testimonials .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(43, 94, 168, 0.3);
  opacity: 1;
  transition: 0.3s;
}

.testimonials .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 10px;
  background: var(--brand);
}

/*--------------------------------------------------------------
# CTA
--------------------------------------------------------------*/
.cta {
  padding: 0;
}

.cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 56px 60px;
  border-radius: 30px;
  background: var(--brand-gradient);
  box-shadow: 0 30px 60px rgba(43, 94, 168, 0.3);
}

.cta-box::before,
.cta-box::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 40px solid rgba(255, 255, 255, 0.08);
}

.cta-box::before { width: 300px; height: 300px; right: -80px; top: -150px; }
.cta-box::after { width: 200px; height: 200px; left: 30%; bottom: -140px; }

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  color: #ffffff;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  margin: 0;
}

@media (max-width: 767px) {
  .cta-box {
    padding: 40px 28px;
    text-align: center;
    justify-content: center;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact-info {
  padding: 34px 30px;
}

.info-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.info-row .chip {
  width: 52px;
  height: 52px;
  font-size: 22px;
  border-radius: 16px;
}

.info-row h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 2px 0 4px;
}

.info-row p {
  margin: 0;
  font-size: 15px;
}

.info-row a {
  color: var(--muted);
}

.info-row a:hover {
  color: var(--brand);
}

.info-social {
  display: flex;
  gap: 10px;
}

.info-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 17px;
  transition: 0.25s;
}

.info-social a:hover {
  color: #ffffff;
  background: var(--brand-gradient);
  border-color: transparent;
}

.contact .contact-form {
  padding: 34px 30px;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: block;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form textarea {
  font-size: 15px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  box-shadow: none;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(43, 94, 168, 0.12);
}

.contact .php-email-form button[type=submit] {
  padding: 14px 34px;
  border-radius: 50px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  --background-color: var(--bg-alt);
  background: var(--bg-alt);
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 70px;
  font-size: 15px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul li {
  padding: 6px 0;
}

.footer .footer-links ul a,
.footer .footer-contact a {
  color: var(--muted);
  transition: 0.2s;
}

.footer .footer-links ul a:hover,
.footer .footer-contact a:hover {
  color: var(--brand);
}

.footer-contact p {
  margin-bottom: 8px;
}

.footer .copyright {
  margin-top: 50px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer .copyright p {
  margin: 0;
}

.footer .copyright strong {
  color: var(--ink);
}

/*--------------------------------------------------------------
# Misc
--------------------------------------------------------------*/
.scroll-top {
  background: var(--brand-gradient);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  box-shadow: 0 10px 22px rgba(43, 94, 168, 0.35);
}

.scroll-top i {
  color: #ffffff;
}

#preloader {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader::before {
  display: none;
}

#preloader img {
  width: 220px;
  height: auto;
  animation: preloader-pulse 1.2s ease-in-out infinite;
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .blob,
  .logo-core,
  .orbit-links .ring-streak,
  .orbit-links .ring-inner,
  .about-badge,
  #preloader img {
    animation: none;
  }
}
