/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
}
p.intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
}
.single-post .entry-title {
  font-size: 42px !important;
  line-height: 1.2 !important;
}

@media (max-width: 921px) {
  .single-post .entry-title {
    font-size: 32px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 768px) {
  .single-post .entry-title {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
}

#masthead,
.site-header {
  color: #ffffff !important;
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.4s ease, 
              backdrop-filter 0.4s ease, 
              box-shadow 0.4s ease, 
              border-bottom 0.4s ease;
}

#masthead.header-scrolled,
#masthead.scrolled,
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: #111827 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05) !important;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  #masthead.header-scrolled,
  #masthead.scrolled,
  .site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
  }
}

.site-header.scrolled .custom-logo,
.site-header.scrolled .site-logo img {
  filter: none;
}

.site-header.scrolled .header-social-inner-wrap.ast-social-color-type-official .ast-builder-social-element:not(:hover) svg,
.site-header.scrolled .header-social-inner-wrap.ast-social-color-type-official .ast-builder-social-element:not(:hover) svg path {
  fill: #111827 !important;
  color: #111827 !important;
  transition: all 0.3s ease;
}

#mega-menu-wrap-primary #mega-menu-primary > li > a.mega-menu-link {
  color: #000000 !important;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

.site-header.scrolled #mega-menu-wrap-primary #mega-menu-primary > li > a.mega-menu-link {
  text-shadow: none !important;
}

.site-header:not(.scrolled) #mega-menu-wrap-primary #mega-menu-primary > li > a.mega-menu-link {
  color: #ffffff !important;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  padding: 0;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  flex: 1 1 calc(31%);
  max-width: calc(31%);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 0;
  font-size: 20px;
}
.card ul {
  padding-left: 20px;
  margin: 15px 0;
}
.card ul li {
  margin-bottom: 8px;
}
.card a {
  display: inline-block;
  margin-top: 10px;
  color: #0077cc;
  text-decoration: none;
  font-weight: bold;
}
.card a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 1024px) {
  .card {
    flex: 1 1 calc(48%);
    max-width: calc(48%);
  }
}
@media screen and (max-width: 768px) {
  .card-grid {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
    max-width: 90%;
  }
}

.service-icon {
  font-size: 48px;
  color: #74c0fc;
  margin-right: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}
.service-item {
  margin-bottom: 12px;
  font-size: 18px;
}
.service-item:hover .service-icon {
  transform: scale(1.2);
  color: #1e90ff;
}

.gradient-text .elementor-heading-title {
  background: linear-gradient(90deg, #fff 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-img {
  animation: float-horizontal 6s ease-in-out infinite !important;
}
@keyframes float-horizontal {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0);
  }
}

.outline-text .elementor-heading-title {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
  transition: all 0.5s ease;
}
.outline-text:hover .elementor-heading-title {
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.neon-btn .elementor-button {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
.neon-btn:hover .elementor-button {
  background-color: #2563eb !important;
  color: #fff !important;
  transform: scale(1.05);
  box-shadow: 0 0 30px #2563eb, 0 0 60px #2563eb;
}

.mobigrab-blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.mobigrab-post-card {
  background: #111425;
  border: 1px solid #2a3b55;
  border-radius: 14px;
  padding: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mobigrab-post-card:hover {
  transform: translateY(-5px);
  border-color: #0099ff;
  box-shadow: 0 10px 20px rgba(0, 153, 255, 0.15);
}

.mobigrab-post-card .post-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  margin-bottom: 12px;
}

.mobigrab-post-card .post-content {
  padding: 12px 14px 18px 14px;
}

.mobigrab-post-card h4 {
  margin: 0 0 12px 0;
  font-size: 18px;
  line-height: 1.35;
  color:#ffe082;
;
}

.mobigrab-post-card p {
  font-size: 16px;
  color: #a0aab5;
  line-height: 1.6;
  margin-bottom: 15px;
}

.mobigrab-post-card .read-btn {
  font-size: 13px;
  font-weight: bold;
  color: #0099ff;
  text-transform: uppercase;
  display: inline-block;
  padding-top: 4px;
}

.mg-404-hero {
  background: url("/wp-content/uploads/2025/11/Abstract-Digital-Network.webp") center/cover no-repeat;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
  margin-top: -150px;
}

.mg-404-hero h1 {
  color: #fff;
  font-size: 48px;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.6);
}

.mobigrab-404-wrapper {
  text-align: center;
  padding: 80px 20px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .outline-text .elementor-heading-title {
    -webkit-text-stroke: 0 !important;
    color: #fff !important;
    font-size: 32px !important;
  }

  .mg-404-hero {
    height: 220px !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 1024px) {
  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary,
  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary *,
  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link,
  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary button,
  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary span {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    text-shadow: none !important;
  }

  body.mega-menu-primary-mobile-open #mega-menu-primary a.mega-menu-link {
    color: #ffffff !important;
  }

  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary .mega-menu-toggle,
  body.mega-menu-primary-mobile-open #mega-menu-wrap-primary .mega-menu-toggle * {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
  }
}

.cta-bar-gradient {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 48px 48px;
  border-radius: 16px;
  background: linear-gradient(150deg, #091625 0%, #0d2234 100%);
  box-shadow: inset 0 0 22px rgba(0, 255, 255, 0.1), 0 8px 28px rgba(0, 0, 0, 0.55);
  color: #e6f7ff;
  gap: 26px;
}

.cta-bar-gradient h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #e6f7ff;
  letter-spacing: 0.4px;
}

.cta-bar-gradient .cta-button {
  background: rgba(0, 255, 255, 0.16);
  color: #00e8ff;
  padding: 18px 34px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 700;
  border: 1px solid rgba(0, 255, 255, 0.45);
  transition: 0.25s ease;
  backdrop-filter: blur(5px);
}

.cta-bar-gradient .cta-button:hover {
  background: rgba(0, 255, 255, 0.28);
  color: #ffffff;
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.45);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-bar-gradient {
    flex-direction: column;
    text-align: center;
    padding: 38px 38px;
  }

  .cta-bar-gradient .cta-button {
    width: 100%;
    text-align: center;
    margin-top: 32px;
    padding: 22px 30px;
  }

  .cta-bar-gradient h2 {
    font-size: 24px;
    margin-bottom: 18px;
  }
}

.footer-contact i {
  color: #40c4ff !important;
  opacity: 1 !important;
  font-size: 18px;
  width: 22px;
  display: inline-block;
  transition: 0.25s ease;
}

.footer-contact li:hover i {
  color: #66e0ff !important;
  transform: translateX(3px);
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mg-address-block {
  display: inline-block;
  line-height: 1.5;
  margin-top: -2px;
  color: #cbd2d9;
}

.mg-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mg-footer-item {
  margin: 0;
  padding: 0;
}

.mg-footer-link {
  color: #cbd2d9;
  line-height: 1.5;
  text-decoration: none;
  position: relative;
  transition: 0.2s ease;
  display: inline-block;
  padding: 0px 0;
}

.mg-footer-link:hover {
  color: #40c4ff;
}

.mg-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  height: 1px;
  background-color: #40c4ff;
  transition: width 0.25s ease;
}

.mg-footer-link:hover::after {
  width: 100%;
}

:target {
  scroll-margin-top: 250px;
}
@media (max-width: 921px) {
  .blog .ast-row,
  .archive .ast-row {
    margin-top: 40px !important;
  }

  .mobigrab-blog-container {
    margin-top: 40px !important;
  }
}
.ast-related-post-title.entry-title a {
    line-height: 1.2 !important;
    display: block !important;
	color:#ffe082 !important;
}
.ast-related-post-title.entry-title {
    line-height: 1.1 !important;
    margin-top: 10px !important;
    margin-bottom: 5px !important;
}