/*--------------------------------------------------------------
# Osonia Global Styles (clean)
--------------------------------------------------------------*/

:root {
  scroll-behavior: smooth;
  --default-font: "Poppins", "Segoe UI", sans-serif;
  --heading-font: "Poppins", "Segoe UI", sans-serif;
  --nav-font: "Poppins", "Segoe UI", sans-serif;

  --brand-blue-deep: #07111a;
  --brand-blue: #1b49d7;
  --brand-blue-soft: #2f8eff;
  --brand-ice: #eaecef;
  --brand-action-start: #2f8eff;
  --brand-action-end: #d600ff;
  --brand-magenta: #d600ff;
  --brand-lime: #2a86ea;

  --background-color: #f2f7fb;
  --default-color: #223548;
  --heading-color: #0a3550;
  --accent-color: var(--brand-magenta);
  --surface-color: #ffffff;
  --surface-color-rgb: 255, 255, 255;
  --contrast-color: #ffffff;
  --border-color: rgba(15, 35, 55, 0.12);

  --nav-color: rgba(242, 247, 251, 0.94);
  --nav-hover-color: var(--brand-magenta);
  --nav-mobile-background-color: rgba(6, 38, 58, 0.98);
  --nav-dropdown-background-color: #0a2c45;
  --nav-dropdown-color: rgba(236, 243, 249, 0.94);
  --nav-dropdown-hover-color: var(--brand-magenta);

  --ui-radius-sm: 12px;
  --ui-radius-md: 16px;
  --ui-radius-lg: 22px;
  --ui-radius-xl: 28px;
  --ui-card-border: rgba(15, 35, 55, 0.13);
  --ui-card-shadow: 0 22px 44px rgba(11, 29, 49, 0.12);
  --ui-card-shadow-hover: 0 28px 56px rgba(11, 29, 49, 0.18);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--default-color);
  background:
    radial-gradient(circle at 9% 0%, rgba(47, 142, 255, 0.12), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(214, 0, 255, 0.1), transparent 28%),
    var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

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


.main {
  position: relative;
  z-index: 1;
}

section,
.section {
  color: var(--default-color);
  background-color: transparent;
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

.light-background {
  --background-color: transparent;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #07111a;
  --default-color: rgba(234, 241, 247, 0.92);
  --heading-color: #ffffff;
  --surface-color: #0f1b28;
  --contrast-color: #ffffff;
}

/* php-email-form */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Header */
.header {
  color: var(--default-color);
  padding: 14px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header.transparent-header {
  background: none !important;
}

.header .header-container {
  border-radius: 18px;
  border: 1px solid rgba(47, 142, 255, 0.16);
  padding: 4px 16px;
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 142, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(214, 0, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(7, 17, 26, 0.95), rgba(15, 24, 42, 0.94));
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(3, 16, 28, 0.34);
}

.header.transparent-header .header-container {
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 142, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(214, 0, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(7, 17, 26, 0.94), rgba(15, 24, 42, 0.92)) !important;
  box-shadow: 0 18px 38px rgba(3, 16, 28, 0.32);
}

.scrolled .header.transparent-header {
  background-color: transparent;
}

.scrolled .header.transparent-header .header-container {
  background:
    radial-gradient(circle at 12% 12%, rgba(47, 142, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(214, 0, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(7, 17, 26, 0.97), rgba(15, 24, 42, 0.95));
}

.header .logo {
  line-height: 1;
  gap: 0;
  min-width: 0;
}

.header .logo img {
  height: 42px;
  width: auto;
  max-width: min(320px, 48vw);
  margin-right: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}

.header .logo .sitename {
  font-size: 1.02rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--heading-color);
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 18px;
}

.header-client-cta,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.header-client-cta {
  color: rgba(241, 247, 251, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-client-cta:hover,
.header-client-cta.is-active {
  color: #ffffff;
  border-color: rgba(214, 0, 255, 0.28);
  background:
    radial-gradient(circle at 16% 18%, rgba(47, 142, 255, 0.14), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(214, 0, 255, 0.18), transparent 26%),
    rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header-client-cta i {
  font-size: 0.95rem;
}

.header-cta {
  color: #07111a;
  background: linear-gradient(120deg, var(--brand-action-start), var(--brand-action-end));
  box-shadow: 0 12px 24px rgba(27, 73, 215, 0.22);
}

.header-cta:hover {
  color: #07111a;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(214, 0, 255, 0.26);
}

/* Navigation desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus,
  .navmenu button,
  .navmenu button:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 15px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    background: transparent;
    border: 0;
  }

  .navmenu a i,
  .navmenu a:focus i,
  .navmenu button i,
  .navmenu button:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

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

  .navmenu .dropdown ul,
  .navmenu .dropdown-menu {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 12px;
    z-index: 99;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(3, 16, 28, 0.32);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a,
  .navmenu .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a,
  .navmenu .dropdown-menu .dropdown-item:hover {
    color: var(--nav-dropdown-hover-color);
    background: rgba(214, 0, 255, 0.12);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navigation mobile */
@media (max-width: 1199px) {
  .header {
    padding-top: 6px;
  }

  .header .logo img {
    height: 34px;
    max-width: 210px;
  }

  .header .header-container {
    margin-left: 10px;
    margin-right: 10px;
    padding: 6px 12px;
    border-radius: 16px;
  }

  .header-actions {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 8px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .mobile-nav-toggle i {
    font-size: 28px;
    line-height: 1;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 62px 14px 14px 14px;
    padding: 10px 0;
    margin: 0;
    border-radius: 14px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 36px rgba(3, 16, 28, 0.34);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus,
  .navmenu button,
  .navmenu button:focus {
    color: rgba(236, 243, 249, 0.94);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    width: 100%;
    background: transparent;
    border: 0;
    text-align: left;
  }

  .navmenu a i,
  .navmenu a:focus i,
  .navmenu button i,
  .navmenu button:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover,
  .navmenu button i:hover,
  .navmenu button:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    border-radius: 12px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: var(--brand-magenta);
    position: absolute;
    top: 13px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .mobile-nav-toggle i {
    font-size: 32px;
  }

  .mobile-nav-active .navmenu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    overflow: visible;
    background: transparent;
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
    position: static;
    inset: auto;
    max-height: calc(100vh - 110px);
  }
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
}

.lang-switcher span {
  color: rgba(255, 255, 255, 0.42);
}

.lang-switcher a {
  color: rgba(241, 247, 251, 0.84);
  opacity: 0.82;
  transition: opacity 0.3s;
}

.lang-switcher a:hover {
  opacity: 1;
}

.lang-switcher a.active {
  opacity: 1;
  color: var(--brand-blue-soft);
}

/* Buttons */
.btn,
.btn:focus {
  border-radius: var(--ui-radius-sm);
  font-weight: 700;
}

.btn.btn-primary {
  border: 0;
  color: #07111a;
  background: linear-gradient(130deg, var(--brand-action-start), var(--brand-action-end));
  box-shadow: 0 14px 28px rgba(27, 73, 215, 0.2);
}

.btn.btn-primary:hover,
.btn.btn-primary:focus:hover {
  color: #07111a;
  background: linear-gradient(130deg, #5aa7ff, #d600ff);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(214, 0, 255, 0.24);
}

/* Page title */
.page-title {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(47, 142, 255, 0.12), transparent 34%),
    radial-gradient(circle at 88% 10%, rgba(214, 0, 255, 0.18), transparent 30%),
    linear-gradient(160deg, #07111a 0%, #0d1726 100%);
  color: rgba(255, 255, 255, 0.96);
  padding: 152px 0 78px;
  text-align: left;
}

.page-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(3, 16, 28, 0.08), rgba(3, 16, 28, 0.28));
}

.page-title .container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.page-title h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-title p {
  margin: 12px 0 0;
  max-width: 68ch;
  font-size: 1.04rem;
  line-height: 1.66;
  color: rgba(238, 246, 255, 0.88);
}

/* Section titles */
.section-title {
  padding-bottom: 32px;
  position: relative;
}

.section-title h2 {
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #4e6378;
  margin: 0;
}

.section-title h2::after {
  content: "";
  width: 74px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 0 8px;
}

.section-title div {
  margin-top: 10px;
  color: #0f2539;
  font-size: clamp(1.62rem, 3vw, 2.45rem);
  letter-spacing: -0.01em;
  text-transform: none;
}

.section-title .description-title {
  color: var(--accent-color);
}

/* Shared top gradient for inner pages */
body.inner-page,
body.portfolio-details-page {
  background:
    linear-gradient(180deg, rgba(3, 16, 28, 0.08), rgba(3, 16, 28, 0.24)) top / 100% 360px no-repeat,
    radial-gradient(circle at 12% 18%, rgba(47, 142, 255, 0.12), transparent 34%) top / 100% 360px no-repeat,
    radial-gradient(circle at 88% 8%, rgba(214, 0, 255, 0.18), transparent 30%) top / 100% 360px no-repeat,
    linear-gradient(160deg, #07111a 0%, #0d1726 100%) top / 100% 360px no-repeat,
    var(--background-color);
}

/* Footer */
.footer {
  position: relative;
  color: rgba(220, 234, 245, 0.92);
  background:
    radial-gradient(circle at 12% -10%, rgba(47, 142, 255, 0.14), transparent 38%),
    radial-gradient(circle at 88% 0%, rgba(214, 0, 255, 0.14), transparent 30%),
    linear-gradient(180deg, #07111a 0%, #0b1420 100%);
  font-size: 14px;
  padding-bottom: 34px;
  box-shadow: inset 0 22px 38px rgba(0, 0, 0, 0.24);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(47, 142, 255, 0.84) 30%, rgba(214, 0, 255, 0.92) 70%, transparent 100%);
}

.footer::after {
  content: "";
  position: absolute;
  top: -42px;
  left: 0;
  right: 0;
  height: 42px;
  background: linear-gradient(180deg, rgba(7, 20, 34, 0), rgba(7, 20, 34, 0.9));
  pointer-events: none;
}

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

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

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 18px;
}

.footer .footer-about .logo img {
  height: 38px;
  width: auto;
  max-width: 250px;
  margin-right: 0;
}

.footer .footer-about p,
.footer .footer-contact p,
.footer .footer-links ul a {
  color: rgba(227, 239, 247, 0.86);
}

.footer h4 {
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(47, 142, 255, 0.94);
  margin-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 24px;
}

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

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

.footer .footer-links ul a:hover {
  color: #2f8eff;
}

.footer .footer-contact i {
  color: #d600ff;
  margin-right: 6px;
}

.footer-availability-note {
  width: 100%;
  text-align: right;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin: 14px 0;
}

.footer-cta {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: #07111a;
  background: linear-gradient(120deg, var(--brand-action-start), var(--brand-action-end));
}

.footer-cta:hover {
  color: #07111a;
  filter: brightness(1.06);
}

.footer .copyright {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(229, 239, 246, 0.9);
  padding: 12px 16px;
}

.footer .copyright p {
  margin-bottom: 0;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
  background: linear-gradient(135deg, var(--brand-action-start), var(--brand-action-end));
  box-shadow: 0 12px 26px rgba(27, 73, 215, 0.22);
}

.scroll-top i {
  font-size: 24px;
  color: #07111a;
  line-height: 0;
}

.scroll-top:hover {
  background: linear-gradient(135deg, #5aa7ff, #d600ff);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/* Responsive global */
@media (max-width: 991.98px) {
  .page-title {
    padding: 138px 0 68px;
  }

  body.service-details-page .page-title {
    padding: 118px 0 26px;
  }

  body.service-details-page .page-title .container {
    padding: 24px 24px;
    border-radius: 18px;
  }
}

@media (max-width: 767.98px) {
  .page-title {
    padding: 118px 0 56px;
  }

  body.service-details-page .page-title {
    padding: 104px 0 20px;
  }

  body.service-details-page .page-title .container {
    padding: 18px 16px;
    border-radius: 14px;
  }

  body.service-details-page .page-title h1 {
    font-size: clamp(1.55rem, 7.2vw, 2.1rem);
  }

  body.service-details-page .page-title p {
    font-size: 0.95rem;
    line-height: 1.52;
  }

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