/*
Theme Name: Astra Child
Template: astra
Version: 1.0
Description: Modernized styling layer for Astra.
*/

:root {
  --color-ink: #0e1118;
  --color-muted: #f2f5ff;
  --color-accent: #2363ff;
  --color-accent-strong: #1038c6;
  --color-accent-warm: #19c37d;
  --color-surface: #ffffff;
  --color-surface-alt: #f2f5ff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 26px 70px rgba(13, 20, 46, 0.12);
  --shadow-tight: 0 14px 36px rgba(13, 20, 46, 0.15);
}

body {
  font-family: "IBM Plex Sans", "Trebuchet MS", sans-serif;
  color: var(--color-ink);
  background: radial-gradient(circle at top, #eef3ff 0%, #f6f9ff 45%, #ffffff 100%);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 56, 198, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 82% 18%, rgba(35, 99, 255, 0.18), transparent 40%),
    radial-gradient(circle at 15% 78%, rgba(25, 195, 125, 0.12), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

#page {
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.entry-title,
.wp-block-heading {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;

  letter-spacing: -0.015em;
}

p,
li,
dt,
dd {
  color: var(--color-muted);
  font-size: 1.03rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-accent-strong);
}

.ast-container {
  max-width: 1200px;
}

.site-header {
  position: relative;
  z-index: 20;
}

.ast-primary-header-bar,
.ast-primary-header-bar.main-header-bar,
.ast-header-break-point #masthead .ast-primary-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar,
.site-header,
#masthead {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(16, 24, 40, 0.14);
  backdrop-filter: blur(10px);
}

.main-header-menu > .menu-item > .menu-link {
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.45em 0.9em;
  color: #0b1324;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  line-height: 1.1;
}

.main-header-menu > .menu-item > .menu-link:hover {
  color: #0b1324;
  background: #eef3ff;
  border-radius: 999px;
}

.main-header-menu > .menu-item > .menu-link::after {
  content: none;
}

.main-header-menu > .menu-item:hover > .menu-link::after,
.main-header-menu > .menu-item.current-menu-item > .menu-link::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-header-menu > .menu-item.current-menu-item > .menu-link,
.main-header-menu > .menu-item.current-menu-ancestor > .menu-link {
  color: #ffffff;
  background: #0b1324;
  border-radius: 999px;
}

.ast-header-break-point .main-header-menu .menu-item > .menu-link {
  color: #0b1324;
}

.ast-button,
.button,
.wp-block-button__link,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  border-radius: 999px;
  background: linear-gradient(120deg, var(--color-accent), #4b8bff);
  box-shadow: var(--shadow-tight);
  color: #ffffff;
  border: none;
  padding: 0.85em 1.8em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ast-header-button-1 .ast-custom-button {
  background-color: var(--ast-global-color-0) !important;
}

.ast-button:hover,
.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(35, 99, 255, 0.28);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single,
.ast-separate-container .widget,
.wp-block-group.has-background,
.wp-block-cover,
.wp-block-media-text {
  border-radius: var(--radius-lg);
  background-color: var(--color-surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(16, 24, 40, 0.08);
}

.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  padding: 4.2em 4.6em;
}

.ast-separate-container .ast-archive-description,
.ast-separate-container .site-main > .ast-row,
.site-content {
  margin-top: 2.5em;
}

.entry-title {
  font-size: clamp(2rem, 3vw, 3rem);
}

.entry-content blockquote {
  border-right: 4px solid var(--color-accent);
  background: var(--color-surface-alt);
  padding: 1.4em 1.6em;
  border-radius: var(--radius-md);
}

input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="tel"],
textarea,
select {
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 24, 40, 0.14);
  padding: 0.85em 1em;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(35, 99, 255, 0.3);
  border-color: var(--color-accent);
}

.site-footer {
  background: #0b1020;
  color: #d7e0ef;
}

.site-footer a {
  color: #9fb3d1;
}

.site-footer a:hover {
  color: #ffffff;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.entry-content > * {
  animation: fade-up 0.6s ease both;
}

.entry-content > *:nth-child(1) { animation-delay: 0ms; }
.entry-content > *:nth-child(2) { animation-delay: 80ms; }
.entry-content > *:nth-child(3) { animation-delay: 160ms; }
.entry-content > *:nth-child(4) { animation-delay: 240ms; }
.entry-content > *:nth-child(5) { animation-delay: 320ms; }
.entry-content > *:nth-child(6) { animation-delay: 400ms; }

@media (max-width: 768px) {
  .ast-separate-container .ast-article-post,
  .ast-separate-container .ast-article-single {
    padding: 2.8em 2em;
  }

  .main-header-menu > .menu-item > .menu-link {
    padding: 0.8em 0.6em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .entry-content > * {
    animation: none;
  }

  .ast-button,
  .button,
  .wp-block-button__link,
  button,
  input[type="submit"],
  input[type="button"],
  input[type="reset"] {
    transition: none;
  }
}
.uagb-faq-content {
  color: #0b1324;
}


/* Tech styling for provided homepage blocks. */
.uagb-block-21d90e4d {
  background: linear-gradient(130deg, rgba(35, 99, 255, 0.18), rgba(25, 195, 125, 0.12));
  border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.uagb-block-21d90e4d .wp-block-heading {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: #e8eefb;
  font-weight: 500;
  line-height: 1.35;
  opacity: 1;
  text-transform: none;
}

.uagb-block-21d90e4d .wp-block-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 0.55em 1.4em;
  border-radius: 999px;
  background: #0e1118;
  color: #ffffff;
  font-weight: 600;
}

.uagb-block-21d90e4d .wp-block-heading a:hover {
  background: var(--color-accent);
}

.uagb-block-21d90e4d .wp-block-group.alignwide {
  gap: 28px;
  align-items: center;
}

.uagb-block-21d90e4d .wp-block-uagb-image-gallery {
  filter: drop-shadow(0 20px 45px rgba(13, 20, 46, 0.18));
}

.uagb-block-21d90e4d .wp-block-group.alignwide > p {
  font-size: 1.05rem;
}

.uagb-block-ff02428f .wp-block-columns {
  gap: 28px;
}

.uagb-block-ff02428f .wp-block-column {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 26px 26px 22px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: var(--shadow-tight);
  color: #0b1324;
}

.uagb-block-ff02428f .wp-block-column > p:first-child {
  font-size: 1.1rem;
  color: var(--color-ink);
}

.uagb-block-ff02428f .wp-block-column p,
.uagb-block-ff02428f .wp-block-column li {
  color: #3b4556;
}

.uagb-block-ff02428f .wp-block-column a {
  color: var(--color-accent);
}

.uagb-block-ff02428f .wp-block-column a:hover {
  color: var(--color-accent-strong);
}

.uagb-block-2edf5ccf,
.uagb-block-d62caba3,
.uagb-block-d24f0a3a {
  background: transparent;
}

.uagb-block-2edf5ccf .uagb-block-c621b129,
.uagb-block-2edf5ccf .uagb-block-bfe12ce2,
.uagb-block-2edf5ccf .uagb-block-45ea846b,
.uagb-block-d62caba3 .uagb-block-35d94a1c,
.uagb-block-d62caba3 .uagb-block-16742826,
.uagb-block-d62caba3 .uagb-block-427e2c7d,
.uagb-block-d62caba3 .uagb-block-a9fea6b7,
.uagb-block-d62caba3 .uagb-block-b69a3ea4,
.uagb-block-d62caba3 .uagb-block-e435d058 {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 24, 40, 0.08);
  box-shadow: 0 14px 30px rgba(13, 20, 46, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uagb-block-2edf5ccf .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:hover,
.uagb-block-d62caba3 .uagb-container-inner-blocks-wrap > .wp-block-uagb-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(13, 20, 46, 0.14);
}

.uagb-block-2edf5ccf .uagb-infobox-shape-circle,
.uagb-block-d62caba3 .uagb-infobox-shape-circle {
  background: rgba(35, 99, 255, 0.08);
}

.uagb-block-2edf5ccf .uagb-ifb-title,
.uagb-block-d62caba3 .uagb-ifb-title {
  color: #0b1324;
}

.uagb-block-2edf5ccf .uagb-ifb-desc,
.uagb-block-d62caba3 .uagb-ifb-desc {
  color: #3b4556;
}

.uagb-block-aa3f6a47 {
  background: linear-gradient(120deg, #0b1020, #1c2b5a);
  color: #ffffff;
}

.uagb-block-aa3f6a47 .uagb-ifb-title,
.uagb-block-aa3f6a47 .uagb-ifb-desc {
  color: #ffffff;
}

.uagb-block-aa3f6a47 .wp-block-uagb-buttons-child .wp-block-button__link {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: none;
}

.uagb-block-aa3f6a47 .wp-block-uagb-buttons-child .wp-block-button__link:hover {
  background: #ffffff;
  color: #0b1020;
}

.uagb-block-d24f0a3a .wp-block-uagb-container {
  background: #ffffff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 38px rgba(13, 20, 46, 0.1);
}

.wp-block-uagb-container.uagb-is-root-container .uagb-block-4a8d1883 h5 {
  font-size: 1.6rem;
}

.uagb-block-d24f0a3a .uagb-tm__desc {
  color: var(--color-ink);
}

.uagb-block-abd478a6 {
  background: linear-gradient(120deg, rgba(35, 99, 255, 0.08), rgba(25, 195, 125, 0.08));

}


.uagb-block-abd478a6 .uagb-faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 12px 24px rgba(13, 20, 46, 0.08);
  color: #3b4556 !important;
}

.wp-block-uagb-faq .uagb-faq-content p {
  color: #3b4556;
}
.uagb-block-25da8820 .uagb-faq-item .uagb-question,
.uagb-block-25da8820 .uagb-faq-item .uagb-question-text {
  color: #0b1324;
}

.uagb-block-25da8820 .uagb-faq-item .uagb-answer,
.uagb-block-25da8820 .uagb-faq-item .uagb-answer-text {
  color: #3b4556;
}

.uagb-block-25da8820 .uagb-faq-item .uagb-icon {
  color: #0b1324;
}

.ast-archive-entry-banner[data-post-type="post"][data-banner-background-type="custom"] {
  background: linear-gradient(120deg, #0b1020 0%, #172b5a 55%, #0f1a2f 100%) !important;
  color: #eef3ff;
}

.archive .entry-title, .blog .entry-title, .search .entry-title {
  line-height: 1;
}

.ast-plain-container.ast-no-sidebar .entry-content > .alignfull {
  background: linear-gradient(120deg, #0b1020 0%, #172b5a 55%, #0f1a2f 100%) !important;
  color: #eef3ff;
}
/* About page banner */
.uagb-block-1736da99 {
  background: linear-gradient(120deg, #0b1020 0%, #172b5a 55%, #0f1a2f 100%) !important;
  color: #eef3ff;
}

.uagb-block-1736da99::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(35, 99, 255, 0.2), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(25, 195, 125, 0.16), transparent 40%);
  opacity: 0.85;
  pointer-events: none;
}

.uagb-block-1736da99 .uagb-container-inner-blocks-wrap {
  position: relative;
  z-index: 1;
}

.uagb-block-1736da99 .wp-block-heading {
  color: #f6f8ff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.uagb-block-1736da99 h1.wp-block-heading {
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .uagb-block-21d90e4d .wp-block-group.alignwide {
    flex-wrap: wrap;
  }

  .uagb-block-ff02428f .wp-block-column {
    padding: 22px 20px;
  }
}
