/* --------------------------------------------------------------
# Corporate 2026 Theme
# Global professional redesign layer (non-breaking content/forms)
-------------------------------------------------------------- */

:root {
  --c-primary-900: #061c3a;
  --c-primary-800: #0a2f60;
  --c-primary-700: #0f4ca1;
  --c-primary-600: #106eea;
  --c-primary-500: #2f82eb;
  --c-accent-600: #d45f11;
  --c-accent-500: #ea6710;
  --c-accent-400: #f08a46;
  --c-bg: #eff4fb;
  --c-surface: #ffffff;
  --c-surface-soft: #f7faff;
  --c-border: #d8e4f6;
  --c-ink-900: #0f213f;
  --c-ink-700: #334867;
  --c-ink-600: #4c6183;
  --c-ink-500: #63789b;
  --shadow-soft: 0 12px 30px rgba(11, 34, 69, 0.08);
  --shadow-mid: 0 18px 40px rgba(9, 30, 60, 0.14);
  --shadow-strong: 0 22px 52px rgba(6, 28, 58, 0.2);
}

html {
  scroll-behavior: auto;
}

body {
  background:
    radial-gradient(circle at 90% -10%, rgba(16, 110, 234, 0.12), transparent 30%),
    radial-gradient(circle at -10% -10%, rgba(234, 103, 16, 0.08), transparent 28%),
    var(--c-bg);
  color: var(--c-ink-700);
  font-family: "Source Sans 3", "Open Sans", sans-serif;
  line-height: 1.72;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Manrope", "Source Sans 3", sans-serif;
  color: var(--c-ink-900);
  letter-spacing: -0.012em;
}

p, li {
  color: var(--c-ink-700);
}

a {
  color: var(--c-primary-600);
}

a:hover {
  color: var(--c-primary-700);
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100000;
  background: var(--c-primary-800);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.skip-link:focus {
  top: 10px;
  color: #fff;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
  }
}

#topbar {
  height: 44px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #dce8ff;
  background: linear-gradient(94deg, var(--c-primary-900), var(--c-primary-800));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#topbar .contact-info {
  gap: 10px;
}

#topbar .contact-info span {
  display: inline-flex;
  align-items: center;
}

#topbar .contact-info i {
  margin-right: 6px;
  color: #ffffff;
}

#topbar .topbar-separator {
  color: rgba(255, 255, 255, 0.45);
}

#topbar .topbar-tagline {
  color: #e7f0ff;
  font-weight: 500;
}

#header {
  top: 44px;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(15, 76, 161, 0.14);
  box-shadow: 0 12px 30px rgba(9, 30, 60, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#header.header-scrolled {
  padding: 10px 0;
  box-shadow: 0 14px 32px rgba(6, 28, 58, 0.15);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#header .logo {
  line-height: 1;
}

#header .logo a {
  color: var(--c-ink-900);
}

#header .logo a span {
  color: var(--c-accent-500);
}

.brand-subtitle {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-ink-500);
  font-weight: 600;
}

.nav-menu > ul > li {
  padding: 8px 0 8px 20px;
}

.nav-menu a {
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-ink-700);
  font-weight: 700;
}

.nav-menu > ul > li > a:before {
  bottom: -8px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-primary-600), var(--c-accent-500));
}

.nav-menu a:hover,
.nav-menu .active > a,
.nav-menu li:hover > a {
  color: var(--c-primary-700);
}

.nav-menu .nav-cta {
  padding-left: 24px;
}

.contact-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff !important;
  background: linear-gradient(140deg, var(--c-primary-600), var(--c-primary-700)) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(16, 110, 234, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.contact-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px rgba(16, 110, 234, 0.38);
}

.mobile-nav {
  border-top: 1px solid #d9e5f6;
}

.mobile-nav a {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  font-size: 12px;
}

.mobile-nav-toggle {
  top: 50px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 76, 161, 0.12);
  border: 1px solid rgba(15, 76, 161, 0.2);
}

.mobile-nav-toggle i {
  color: var(--c-primary-800);
}

#hero {
  min-height: 76vh;
  background-image:
    linear-gradient(130deg, rgba(6, 28, 58, 0.8), rgba(16, 110, 234, 0.35)),
    url("../img/hero-bg.webp");
  background-size: cover;
  background-position: center;
}

#hero:before {
  background: transparent;
}

#hero .container {
  padding-top: 150px;
}

#hero h1,
#hero h2,
#hero p {
  color: #fff;
}

section {
  padding: clamp(58px, 6vw, 84px) 0;
}

.section-bg {
  background: linear-gradient(180deg, #f8fbff 0%, #f0f6ff 100%);
}

.section-title {
  padding-bottom: 34px;
}

.section-title h2 {
  border: 1px solid #c9daf4;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--c-primary-700);
}

.section-title h3 {
  font-size: clamp(1.85rem, 2.15vw, 2.45rem);
  line-height: 1.25;
  font-weight: 700;
}

.section-title p {
  color: var(--c-ink-600);
  max-width: 920px !important;
}

.breadcrumbs {
  margin-top: 132px;
  padding: 18px 0;
  background: linear-gradient(180deg, #edf4ff 0%, #f8fbff 100%);
  border-bottom: 1px solid var(--c-border);
}

.breadcrumbs h2 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--c-ink-900);
}

.breadcrumbs ol {
  font-size: 13px;
  color: var(--c-ink-500);
}

.about.section-bg,
.portfolio-details,
.contact.section-bg,
.featured-services,
.counts,
.clients {
  position: relative;
}

.portfolio-details .portfolio-details-container,
.portfolio-details .portfolio-info,
.portfolio-details .portfolio-description,
.featured-services .icon-box,
.contact .info-box,
.contact .php-email-form {
  border: 1px solid var(--c-border);
  border-radius: 18px;
  background: var(--c-surface);
  box-shadow: var(--shadow-soft);
}

.portfolio-details .portfolio-description {
  padding: 28px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 1.65rem;
  margin-bottom: 14px;
}

.portfolio-details .portfolio-description p {
  color: var(--c-ink-700);
}

figure.figure {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 16px 16px 10px;
  box-shadow: var(--shadow-soft);
}

.figure-caption {
  color: var(--c-ink-500) !important;
  font-size: 13px;
}

.my-gradient,
.my-gradient2 {
  background: linear-gradient(135deg, var(--c-primary-900) 0%, var(--c-primary-700) 60%, var(--c-accent-500) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: var(--shadow-mid);
}

.my-gradient h1,
.my-gradient h2,
.my-gradient h3,
.my-gradient h4,
.my-gradient h5,
.my-gradient h6,
.my-gradient p,
.my-gradient li,
.my-gradient label,
.my-gradient2 h1,
.my-gradient2 h2,
.my-gradient2 h3,
.my-gradient2 h4,
.my-gradient2 h5,
.my-gradient2 h6,
.my-gradient2 p,
.my-gradient2 li,
.my-gradient2 label {
  color: rgba(255, 255, 255, 0.96) !important;
}

.cta a {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(140deg, var(--c-primary-600), var(--c-primary-700)) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(16, 110, 234, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cta a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 34px rgba(16, 110, 234, 0.36);
}

.thumbnail {
  position: relative;
}

.thumbnail.image {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-soft);
}

.thumbnail.image img {
  width: 100%;
  display: block;
}

.thumbnail.image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  background: linear-gradient(180deg, rgba(6, 28, 58, 0) 0%, rgba(6, 28, 58, 0.82) 100%);
  pointer-events: none;
  z-index: 2;
}

#business-unit #service-icon {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

#business-unit #service-icon:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-strong);
}

.text-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  top: auto;
  display: flex;
  align-items: flex-end;
  width: auto;
  min-height: 52px;
  z-index: 3;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(9, 27, 58, 0.86), rgba(9, 27, 58, 0.93));
  padding: 10px 12px;
}

.text-overlay span {
  display: block;
  width: 100%;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  font: 600 15px/1.42 "Manrope", "Source Sans 3", sans-serif !important;
  letter-spacing: 0 !important;
  white-space: normal;
  word-break: normal;
  hyphens: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.text-overlay span.spacer {
  display: inline;
}

.caption-bottom {
  left: 12px;
  right: 12px;
  bottom: 12px;
  top: auto;
  width: auto;
  z-index: 3;
}

h6.case-study-subs {
  margin: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(9, 27, 58, 0.86), rgba(9, 27, 58, 0.93)) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.38;
  padding: 10px 12px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.contact.section-bg {
  background: linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
}

.contact .my-gradient,
.contact .my-gradient2 {
  align-items: stretch;
  gap: 0;
  padding: 8px 10px 14px;
}

.contact .php-email-form {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  margin-top: 34px;
  margin-bottom: 26px;
  padding: 24px;
}

.contact .php-email-form,
.contact .php-email-form p,
.contact .php-email-form label,
.contact .php-email-form .validate,
.contact .php-email-form .loading {
  color: var(--c-ink-700) !important;
}

.contact .php-email-form .loading {
  background: #edf4ff !important;
  border-radius: 10px;
}

.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  color: #fff !important;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border: 1px solid #c9d9f1;
  border-radius: 12px;
  background: #fcfdff;
  color: var(--c-ink-900);
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--c-primary-600);
  box-shadow: 0 0 0 4px rgba(16, 110, 234, 0.14);
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #647a9e;
  opacity: 1;
}

.contact .php-email-form button[type="submit"] {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: linear-gradient(140deg, var(--c-primary-600), var(--c-primary-700)) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(16, 110, 234, 0.28);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 14px !important;
}

.contact .php-email-form button[type="submit"]:hover {
  background: linear-gradient(140deg, #0e5fd3, #0d4d9f);
}

.custom-list,
.benefits-list {
  padding-left: 0;
}

.how-it-works {
  width: 100%;
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.how-it-works .step {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04));
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.how-it-works .step:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 14px 28px rgba(4, 18, 42, 0.24);
}

.how-it-works .step-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.how-it-works .step-content strong,
.how-it-works .step-content p {
  color: #f4f9ff !important;
}

.custom-list li::before,
.benefits-list > li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 9px;
  background: var(--c-accent-400);
  transform: translateY(-1px);
}

#footer {
  background: linear-gradient(165deg, #061a37 0%, #0a2e59 58%, #0a2347 100%);
  color: #d7e6ff;
  font-size: 14px;
}

#footer .footer-top {
  background: transparent;
  padding: 54px 0 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#footer .footer-highlight {
  margin-bottom: 28px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

#footer .footer-highlight h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.35;
}

#footer .footer-highlight p {
  margin: 0;
  color: #d6e4fb;
}

.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff !important;
  background: linear-gradient(140deg, var(--c-primary-600), var(--c-primary-700));
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 12px;
}

.footer-cta-btn:hover {
  color: #fff !important;
  filter: brightness(1.05);
}

#footer .footer-grid {
  row-gap: 10px;
}

#footer .footer-top .footer-contact h3,
#footer .footer-top h4 {
  color: #fff;
}

#footer .footer-company-summary {
  margin-bottom: 14px;
  color: #d6e4fb;
}

#footer .footer-top .footer-contact p,
#footer .footer-top .footer-links ul a {
  color: #d6e4fb;
}

#footer .footer-top .footer-links ul i {
  color: var(--c-accent-400);
}

#footer .footer-top .footer-links ul a:hover {
  color: #fff;
}

#footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#footer .copyright {
  color: #c9d9f3;
  text-align: center;
  float: none;
}

#clients img {
  background: #fff;
  border: 1px solid #d6e3f6;
  padding: 10px;
  filter: grayscale(100%);
  opacity: 0.86;
  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease;
}

#clients img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.back-to-top i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(140deg, var(--c-primary-600), var(--c-primary-700));
  box-shadow: 0 14px 28px rgba(16, 110, 234, 0.35);
}

.back-to-top i:hover {
  background: linear-gradient(140deg, #0e5fd3, #0d4d9f);
}

iframe {
  border-radius: 14px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-soft);
}

.seo-related {
  padding-top: clamp(38px, 5vw, 56px);
  padding-bottom: clamp(56px, 6vw, 84px);
  border-top: 1px solid rgba(16, 76, 161, 0.12);
}

.seo-related .section-title {
  padding-bottom: 22px;
}

.related-card {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
}

.related-card h4 {
  margin: 0 0 14px;
  font-size: 1.04rem;
  letter-spacing: -0.01em;
  color: var(--c-ink-900);
}

.related-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-card li + li {
  margin-top: 9px;
}

.related-card a {
  position: relative;
  display: block;
  padding-left: 14px;
  color: var(--c-ink-700);
  font-weight: 600;
  line-height: 1.42;
  transition: color 0.22s ease;
}

.related-card a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--c-primary-600), var(--c-accent-500));
}

.related-card a:hover {
  color: var(--c-primary-700);
}

@media (max-width: 1199px) {
  .nav-menu a {
    font-size: 12px;
  }

  .nav-menu > ul > li {
    padding-left: 16px;
  }
}

@media (max-width: 992px) {
  #topbar {
    display: none !important;
  }

  #header {
    top: 0;
    padding: 12px 0;
    background: #fff;
  }

  #hero .container {
    padding-top: 90px;
  }

  .breadcrumbs {
    margin-top: 64px;
  }

  .text-overlay {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px 10px;
    min-height: 44px;
  }

  .text-overlay span {
    font-size: 13px !important;
  }

  .caption-bottom {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  h6.case-study-subs {
    font-size: 0.86rem;
    padding: 8px 10px;
  }

  .contact .php-email-form {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .related-card {
    padding: 20px 18px;
  }

  #footer .footer-highlight {
    padding: 18px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 52px 0;
  }

  .section-title h3 {
    font-size: 1.65rem;
  }

  .cta a {
    width: 100%;
  }

  .footer-cta-btn {
    width: 100%;
    margin-top: 8px;
  }

  .portfolio-details .portfolio-description {
    padding: 20px;
  }
}
