/*
Theme Name: Digidoc
Author: Digidoc
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-bar-wrapper {
  display: none;
}

.mobile-bar-wrapper {
  display: block;
  padding: 15px 0;
  color: white;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: #181818;
}

.home .mobile-bar-wrapper {
  background-color: transparent;
  position: absolute;
  top: 0;
  z-index: 1000;
}

.mobile-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logged-in .mobile-bar-wrapper {
  top: 46px;
}

.mobile-menu-icon {
  font-size: 28px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 53px;
}

.menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.menu li {
  position: relative;
}

.menu a {
  padding: 8px 0;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.menu .submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 200px;
  padding: 0;
  margin: 15px 0 0;
  background: rgba(24, 24, 24, 0.96);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 2000;
  width: 350px;
}

.menu .submenu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

.menu li:hover > .submenu,
.menu li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.menu .submenu li {
  width: 100%;
}

.menu .submenu a {
  display: block;
  padding: 21px 18px;
  color: #ffffff;
  font-size: 0.95rem;
}

.menu .submenu a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu a:hover {
  opacity: 0.8;
}

.menu .submenu-icon {
  font-size: 12px;
  margin-left: 6px;
}

.mobile-menu-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 150px 0 40px;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.logged-in .mobile-menu-close {
  top: 66px;
}

.mobile-menu-close {
  top: 15px;
  right: 20px;
}

.mobile-menu-wrapper.active {
  display: flex;
}

.mobile-navigation {
  width: 100%;
}

.mobile-nav-links {
  --border-color: #ffffff1a;
  list-style: none;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links li:last-child {
  border-bottom: none;
}

.mobile-nav-links a,
.mobile-nav-links li > span {
  color: #ffffff;
  line-height: 1;
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.3s;
  position: relative;
  padding: 20px 20px;
  display: block;
}

.mobile-nav-links a:hover {
  opacity: 0.8;
}

.mobile-nav-links .submenu {
  list-style: none;
  display: none;
  background-color: #ffffff14;
}

.mobile-nav-links li.active .submenu {
  display: block;
}

.mobile-nav-links .submenu a {
  font-size: 14px;
  padding: 15px 34px;
  line-height: 1.5;
}

.submenu-label {
  position: relative;
}

.mobile-nav-links .submenu-icon {
  font-size: 0.9rem;
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.mobile-nav-links li.active .submenu-icon {
  transform: translateY(-50%) rotate(180deg);
}

.hero {
  position: relative;
  min-height: 520px;
  padding-top: 80px; /* to clear fixed header */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  background: radial-gradient(
    circle at top,
    #1b2630 0,
    #050608 55%,
    #020308 100%
  );
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

.btn {
  display: inline-block;
  background-color: #92cbda;
  color: #000000;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s;
  animation: fadeInUp 1s ease 0.4s both;
}

.btn:hover {
  background-color: #7fbfd0;
}

.services {
  padding: 100px 0;
  background: linear-gradient(120deg, #ffffff 0%, #ececec 100%);
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #333;
}

/* Centered services using flexbox */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  flex: 1 1 280px;
  max-width: 350px;
  border-bottom: solid 3px #fe318e;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card p {
  margin: 15px 0 0;
  /* display: none; */
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #92cbda 0%, #92cbda 100%);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.site-footer {
  background-color: #181818;
  color: #838383;
  text-align: center;
  padding: 2rem 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gridMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 120px 60px, 60px 120px;
  }
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

/* Clients carousel */
.clients {
  padding: 80px 0;
  background: #fff;
}

.clients h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.clients-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1rem;
}

.clients-carousel {
  overflow: hidden;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: clients-scroll 50s linear infinite;
  width: max-content;
}

.client-logo {
  min-width: 160px;
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-height: 80px;
  width: auto;
  /* filter: grayscale(100%); */
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

@keyframes clients-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.why {
  padding: 100px 0;
  /* background: linear-gradient(120deg, #ffffff 0%, #eef1ff 100%); */
  position: relative;
}
.why::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  background: rgba(146, 203, 218, 0.12);
  filter: blur(60px);
  border-radius: 50%;
  z-index: 0;
}
.why-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
}
.why h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 1rem;
}
.why-subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.why-points {
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 30px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border-left: 6px solid #92cbda;
}

.why-item .why-icon {
  flex: 0 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item i {
  font-size: 1.3rem;
  color: #ff308f;
}

@media (max-width: 768px) {
  .why-item {
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why {
    padding: 70px 0 55px;
  }
}

.contact {
  background: #000000;
  padding: 120px 0;
  text-align: center;
  color: #fff;
  position: relative;
}

.contact-inner {
  max-width: 650px;
  margin: 0 auto;
  padding: 45px 40px;
  border-radius: 18px;
  position: relative;
  z-index: 2;
}

.contact h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-wrapper,
.bg-wrapper-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bg-wrapper {
  background-image: url("bg.jpg");
  opacity: 0.25;
}

.bg-wrapper-2 {
  background-image: url("bg-2.jpg");
  background-size: 130% auto;
  background-position: center 40%;
  opacity: 0.15;
  transition: background-position 0.2s ease-out;
}

.main-item-container {
  padding: 40px 0;
}


@media (min-width:1025px) {
  .mobile-bar-wrapper {
    display: none;
  }

  .main-bar-wrapper {
    background-color: #181818;
    display: block;
    padding: 15px 0;
    color: white;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .home .main-bar-wrapper {
    background-color: transparent;
    position: absolute;
    top: 0;
    z-index: 1000;
  }

  .logged-in .main-bar-wrapper {
    top: 32px;
  }

  .main-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .why-points {
    grid-template-columns: 1fr 1fr;
  }
}


/* Post / Page */

.main-post .item-title {
  margin-bottom: 20px;
}

.main-post .item-title h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.item-content {
  --link-color: #3066a4;
  --heading-color: #3066a4;
  --blockquote-background-color: #f3f3f3;
  --content-size: 14px;
  font-size: var(--content-size);
  line-height: 2;
  text-align: justify;
}

.item-content iframe {
  display: block;
  max-width: 100%;
}

.item-content iframe[src^="https://www.youtube.com/embed/"] {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

.item-content p,
.item-content blockquote,
.item-content h1,
.item-content h2,
.item-content h3,
.item-content h4,
.item-content h5,
.item-content h6,
.item-content ul,
.item-content ol {
  margin: 0 0 20px;
}

.item-content p:last-child,
.item-content blockquote:last-child,
.item-content h1:last-child,
.item-content h2:last-child,
.item-content h3:last-child,
.item-content h4:last-child,
.item-content h5:last-child,
.item-content h6:last-child,
.item-content ul:last-child,
.item-content ol:last-child {
  margin: 0;
}

.item-content a {
  color: var(--link-color);
  text-decoration: none;
}

.item-content a :hover,
.item-content a :focus {
  text-decoration: underline;
}

.item-content img {
  max-width: 100%;
  height: auto;
}

.item-content h1,
.item-content h2,
.item-content h3,
.item-content h4,
.item-content h5,
.item-content h6 {
  color: var(--heading-color);
}

.item-content h1 {
  font-size: 18px;
}

.item-content h2 {
  font-size: 18px;
}

.item-content h3 {
  font-size: 16px;
}

.item-content h4 {
  font-size: 14px;
}

.item-content h5 {
  font-size: 14px;
}

.item-content h6 {
  font-size: 14px;
}

.item-content p {
  padding: 0;
  text-align: justify;
}

.item-content p:last-child {
  margin: 0;
}

.item-content pre,
.item-content mark,
.item-content ins {
  background: transparent;
}

.item-content dfn,
.item-content cite,
.item-content em,
.item-content i {
  font-style: italic;
}

.item-content big {
  font-size: 125%;
}

.item-content blockquote {
  text-align: justify;
  background-color: var(--blockquote-background-color);
  padding: 15px 25px;
  margin: 0 0 20px;
  border: solid 1px #3066a4;
}

.item-content cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
}

.item-content address {
  margin: 0 0 20px;
}

.item-content pre {
  margin-bottom: 20px;
  max-width: 100%;
  overflow: auto;
  padding: 20px;
}

.item-content abbr,
.item-content acronym {
  border-bottom-style: dotted;
  border-bottom-width: 1px;
  cursor: help;
}

.item-content mark,
.item-content ins {
  text-decoration: none;
}

.item-content hr {
  border: none;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  margin-bottom: 20px;
}

/* Lists */

.item-content ul,
.item-content ol {
  padding: 0 0 0 15px;
  margin: 0 0 15px;
}

.item-content ul {
  list-style: disc;
}

.item-content ol {
  list-style: decimal;
}

.item-content dd {
  margin: 0 15px 15px;
}

/* Tables */

.item-content table {
  border-collapse: collapse;
  margin: 0 0 20px;
  width: 100%;
}

.item-content table,
.item-content th,
.item-content td {
  border-style: solid;
  border-width: 1px;
}

.item-content th {
  padding: 10px;
}

.item-content td {
  padding: 10px;
}

.item-content .wp-block[data-align="justify"] {
  text-align: justify;
}

.item-content .wp-caption {
  margin-bottom: 20px;
  max-width: 100%;
  text-align: center;
  line-height: 0;
  display: block;
  margin: 0 auto 20px;
  font-size: 11px;
  line-height: 1;
}

.item-content .wp-caption p {
  margin-top: 10px;
}

.item-content .wp-caption:last-child {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .item-content img.alignleft,
  .wp-caption.alignleft {
    float: left;
    margin: 0 20px 20px 0;
  }

  .item-content img.alignright,
  .wp-caption.alignright {
    float: right;
    margin: 0 0 20px 20px;
  }

  .item-content img.aligncenter,
  .wp-caption.aligncenter {
    display: block;
    margin: 0 auto 20px;
  }

  .wp-caption:last-child {
    margin-bottom: 0;
  }
}


/* Contact page */

.contact-page-header {
  text-align: center;
  padding: 60px 0;
}

.contact-rows-section {
  background-color: #f3f3f3;
  padding: 80px 0;
}

.contact-rows {
  display: grid;
  align-items: start;
  gap: 40px;
}

.contact-row {
  display: grid;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.contact-row .contact-icon {
  font-size: 32px;
  line-height: 1;
  color: #000000;
}

.contact-row a {
  color: #999999;
  text-decoration: none;
  font-weight: bold;
}

.contact-row h3 {
  line-height: 1;
}

.contact-row p {
  margin: 10px 0 0;
}

@media (min-width: 960px) {
  .contact-rows {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.maps-wrapper iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}
