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

/* ----------------------------- */
/* Variables                     */
/* ----------------------------- */
:root {
  --blue-900: #0B0057;
  --blue-700: #0B0057;
  --blue-500: #0B0057;
  --accent: #f5efff;
  --white: #ffffff;
  --muted: #0B0057;
  --theme-background: #29235C;
  --button-color: #FFBC37;
  --max-width: 2400px;
  --page-gutter: 32px;
}

body {
  background: #fff;
  /* page stays white */
  padding: var(--page-gutter);
  /* outer space around the white "card" */
}

/* kill the page card shadow everywhere */
.site {
  box-shadow: none !important;
}



:root {
  --button-color: #FFBC37;
}

/* gold */

/* NORMAL — enforce a visible gold outline */
.btn-outline a.elementor-button,
.btn-outline .elementor-button,
.btn-outline .elementor-button-link {
  display: inline-flex;
  align-items: center;
  width: auto !important;
  white-space: nowrap;

  padding: 12px 22px;
  background: transparent !important;

  /* force the outline even if Elementor sets border:0 */
  border-style: solid !important;
  border-width: 2px !important;
  border-color: var(--button-color) !important;
  border-radius: 8px;

  color: #fff !important;
  /* white label */
  font-weight: 700;
  line-height: 1.1;

  transition:
    background .18s ease,
    color .18s ease,
    transform .15s ease,
    box-shadow .18s ease;
}

/* HOVER — fill gold, text purple */
.btn-outline a.elementor-button:hover,
.btn-outline .elementor-button:hover,
.btn-outline .elementor-button-link:hover,
.btn-outline a.elementor-button:active,
.btn-outline .elementor-button:active,
.btn-outline .elementor-button-link:active {
  background: var(--button-color) !important;
  border-color: var(--button-color) !important;
  /* keep edge crisp */
  color: #0B0057 !important;
  transform: translateY(-1px);
}

/* Keyboard focus ring */
.btn-outline a.elementor-button:focus-visible,
.btn-outline .elementor-button:focus-visible,
.btn-outline .elementor-button-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 188, 55, .35);
}

/* Optional: slightly smaller on very small screens */
@media (max-width:480px) {

  .btn-outline a.elementor-button,
  .btn-outline .elementor-button,
  .btn-outline .elementor-button-link {
    padding: 10px 18px;
    font-size: 15px;
  }
}







/* ----------------------------- */
/* Base                          */
/* ----------------------------- */

@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .site {
    border-radius: 0;
  }
}

.site {
  background: #fff;
  border-radius: 20px;
  max-width: 2400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  /* clips inner full-bleed sections to rounded corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

/* Elementor overlay click-through in editor */
.hero .elementor-background-overlay {
  pointer-events: none;
}

.elementor-editor-active .hero .elementor-background-overlay {
  pointer-events: none !important;
}

/* Transparent header offset (tweak as needed) */
.ast-transparent-header .hero .elementor-container {
  padding-top: 120px;
}

/* ----------------------------- */
/* Hero                          */
/* ----------------------------- */
/* ----------------------------- */
/* Hero Section                  */
/* ----------------------------- */
/* .hero {
  text-align: center;
  padding: 60px 20px;
} */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0 16px;
}


.hero-title {
  color: #fff;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  font-size: clamp(24px, 6vw, 68px);
  line-height: 1.2;
  margin: 20px 0 12px;
  word-break: break-word;
  text-align: center;
}

.hero-kicker {
  color: #f4c95a;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  margin: 0 0 10px;
}

.hero-sub {
  color: rgba(255, 255, 255, .88);
  max-width: 780px;
  margin: 0 auto 18px;
  font-size: clamp(14px, 3.5vw, 18px);
  line-height: 1.5;
  text-align: center;
}

/* Images inside hero */
.hero-mock img {
  width: 520px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(22px, 5vw, 42px);
    line-height: 1.25;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.4;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-inner {
    padding: 0 12px;
  }

  .hero-title {
    font-size: clamp(20px, 7vw, 28px);
    line-height: 1.3;
    margin: 12px 0 6px;
  }

  .hero-sub {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* ----------------------------- */
/* Method & Steps                */
/* ----------------------------- */
.method-section {
  padding: 28px 0 6px;
}

.method-section>.e-con-inner,
.method-section>.elementor-container {
  align-items: center;
  /* removes need for manual top margins */
  gap: 48px;
}

.method-left {
  max-width: 560px;
}

.method-left .elementor-widget {
  margin: 0 !important;
}

.method-left .elementor-widget:not(:last-child) {
  margin-bottom: 10px !important;
}

.method-left .elementor-widget-heading,
.method-left .elementor-widget-text-editor:first-of-type {
  color: #2e004f;
  font-weight: 700;
}

.method-left .elementor-widget-text-editor:last-of-type {
  color: #111;
  opacity: .88;
  line-height: 1.55;
}

.method-left .elementor-widget-text-editor p {
  margin: 0 0 8px;
}

.method-left .elementor-widget-text-editor p+p {
  margin-top: 6px;
}

.method-left .elementor-widget-text-editor:last-of-type strong {
  color: #2e004f;
  font-weight: 800;
}

.method-logo img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 0 12px;
}

/* Steps */
.steps-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.steps-list li {
  position: relative;
  counter-increment: step;
  background: #fff;
  border: 2px solid var(--theme-background);
  border-radius: 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  line-height: 1.35;
  padding: 14px 16px 14px 86px;
  min-height: 64px;
  overflow: hidden;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  inset: 0 auto 0 0;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-background);
  color: #fff;
  font-weight: 800;
  font-size: 25px;
}

.steps-list li span {
  color: var(--theme-background);
  font-weight: 600;
}

.steps-list li:hover {
  box-shadow: 0 6px 16px rgba(46, 0, 79, .12);
}

@media (max-width:767px) {
  .steps-list li {
    padding-left: 72px;
    min-height: 56px;
  }

  .steps-list li::before {
    width: 58px;
    font-size: 18px;
  }
}

@media (max-width:1024px) {

  .method-section>.e-con-inner,
  .method-section>.elementor-container {
    gap: 32px;
  }
}

/* ----------------------------- */
/* Video card (box around video) */
/* ----------------------------- */
.video-card {
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}

.video-card .elementor-widget-video .elementor-wrapper,
.video-card .elementor-widget-video iframe,
.video-card .elementor-widget-video video {
  border-radius: 12px;
  overflow: hidden;
}

.video-card video {
  background: #000;
  display: block;
  width: 100%;
  height: auto;
}

/* ----------------------------- */
/* Patents (simple centered text)*/
/* ----------------------------- */
.patents {
  text-align: center;
  padding: 80px 0;
}

.patents h2 {
  color: var(--blue-900);
  font-size: clamp(40px, 6vw, 80px);
  margin: 0 0 0px;
}

.patents p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  opacity: .9;
}



/* ----------------------------- */
/* Modules (dynamic cards)       */
/* ----------------------------- */
/* ----------------------------- */
/* Wrapper                       */
/* ----------------------------- */
.mods-wrap {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------- */
/* Grid                          */
/* ----------------------------- */
/* ----------------------------- */
/* Wrapper                       */
/* ----------------------------- */
.mods-wrap {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------- */
/* Grid                          */
/* ----------------------------- */
.mods-grid,
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 40px;
  align-items: stretch;
}

/* Tablet (2 columns) */
@media (max-width: 1024px) {

  .mods-grid,
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Mobile (1 column) */
@media (max-width: 640px) {

  .mods-grid,
  .modules-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ----------------------------- */
/* Card                          */
/* ----------------------------- */
.mod-card,
.module-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  /* helps spacing on mobile */
}


.mod-title a {
  color: #0B0057 !important;
  text-decoration: none;
    font-family: "Surgena", "Open Sans", sans-serif !important;
    font-size: 30px;

}
.mods-grid .module-card h3,
.modules-grid .module-card h3 {
  color: #0B0057 !important;
  text-align: left; /* if you also want titles aligned left */
}

/* Image */
.mod-thumb,
.module-card__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.mod-thumb img,
.module-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Title */
.mod-title,
.module-card h3 {
  margin: 12px 0 4px;
  font-weight: 800;
  text-transform: uppercase;
  color: #0B0057 !important;
  font-size: clamp(16px, 1.6vw, 20px);
  font-family: "Surgena", "Open Sans", sans-serif !important;
  /* makes mobile cleaner */
  
}


.mods-grid .module-card h3,
.modules-grid .module-card h3 {
  color: #0B0057 !important;
}

/* Text */
.mod-excerpt,
.module-card p {
  color: #333 !important;
  line-height: 1.6;
  font-size: clamp(14px, 1.4vw, 16px);
  font-family: "Open Sans", sans-serif !important;
  opacity: 0.9;
  flex-grow: 1;
}

/* CTA Button */
.mod-cta,
.module-card .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 2px solid var(--button-color, #f4c95a);
  border-radius: 10px;
  background: transparent;
  color: #0B0057 !important;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start !important;
  /* centers on mobile */
  transition: all 0.25s ease;
}

.mod-cta:hover,
.module-card .elementor-button:hover {
  background: var(--button-color, #f4c95a);
  color: #0B0057 !important;
  transform: translateY(-2px);
}


.ast-header-button-1[data-section*="section-hb-button-"] 
  .ast-builder-button-wrap .ast-custom-button:hover {
    background-color: #FFBC37 !important;
    border-color: #FFBC37 !important;
    color: #0B0057 !important; /* keep text brand purple */
    transition: all 0.25s ease;
}

/* ----------------------------- */
/* Team                          */
/* ----------------------------- */
.site .elementor-section.team-panel {
  border-radius: 24px;
}

/* ===== Team Grid ===== */

/* ===== Team Grid Desktop ===== */
/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  /* keep cards close, not stretched */
  justify-content: center;
  /* center align inside container */
  gap: 40px;
  /* adjust spacing between members */
  margin-top: 20px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid rgba(255, 255, 255, .92);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
  transition: transform .25s ease;
}

.team-card img:hover {
  transform: scale(1.05);
}

.team-name {
  color: #fff;
  font-weight: 500;
  margin-top: 10px;
  font-family: "Surgena", "Open Sans", sans-serif;
}

/* ===== Tablet ===== */
@media (max-width:1024px) {
  .team-grid {
    grid-template-columns: repeat(2, auto);
    gap: 30px;
  }

  .team-card img {
    width: 140px;
    height: 140px;
  }
}

/* ===== Mobile: horizontal scroll ===== */
@media (max-width:640px) {
  .team-grid {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .team-card {
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .team-card img {
    width: 120px;
    height: 120px;
  }

  /* Hide scrollbar */
  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}


@media (max-width: 768px) {
  body {
    padding: 0;
  }

  .site {
    border-radius: 0;
  }
}


/* ===== Footer – Astra Builder (Figma match, cleaned) ===== */

/* Base */
.site-footer,
.site-footer * {
  font-family: 'Open Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}

.site-footer {
  background: var(--blue-900) !important;
  color: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

/* Keep inner wrappers transparent so the purple shows */
.site-footer .ast-builder-footer-wrap,
.site-footer .ast-builder-grid-row-container,
.site-footer .ast-builder-grid-row-container-inner,
.site-footer .ast-footer-bar-wrap {
  background: transparent !important;
}

/* Width */
.site-footer .ast-container {
  max-width: var(--max-width, 1200px);
}

/* Column layout (row #1) */
/* Align all footer columns to the same baseline */
.site-footer .ast-builder-grid-row {
  align-items: flex-start;
  /* still align at the top */
}

.site-footer .ast-builder-grid-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.site-footer .ast-builder-grid-row .ast-builder-grid-column {
  margin: 0;
}

/* Headings incl. “Follow us” */
.site-footer .widget-title,
.site-footer .ft-heading {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff;
}

/* Menus (kill the default UL indent, spacing & hover) */
.site-footer .widget_nav_menu ul,
.site-footer .wp-block-navigation__container {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.site-footer .widget_nav_menu li,
.site-footer .wp-block-navigation-item {
  margin: 8px 0;
}

.site-footer .widget_nav_menu a,
.site-footer .wp-block-navigation a {
  color: #fff;
  opacity: .9;
  text-decoration: none;
  line-height: 1.6;
  font-size: 15px;
}

.site-footer .widget_nav_menu a:hover,
.site-footer .wp-block-navigation a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Social on the right */
.site-footer .ast-builder-social-element {
  align-self: flex-start;
  /* align tops */
  margin-left: auto;
  /* push to the right on desktop */
}

.site-footer .ast-builder-social-element a {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.site-footer .ast-builder-social-element svg {
  width: 28px;
  height: 28px;
  fill: #fff !important;
  opacity: .9;
  transition: transform .15s ease, opacity .15s ease;
}

.site-footer .ast-builder-social-element a:hover svg {
  opacity: 1;
  transform: translateY(-1px);
}

/* if your social is stacked */
.site-footer .ast-builder-social-element .ast-social-stack {
  gap: 10px;
}

/* Row paddings */
.site-footer .footer-primary-area .ast-builder-grid-row-container-inner {
  padding: 36px 24px 28px;
  /* menus row */
}

.site-footer .footer-socket-area {
  padding: 12px 24px;
  /* legal bar row */
}

/* ---- SINGLE divider (keep only this one) ----------------- */
/* Remove any border on the last grid row to avoid double lines */
.site-footer .ast-builder-grid-row:last-of-type {
  border-top: 0 !important;
}

/* Draw the divider only on the socket (bar) row */
.site-footer .footer-socket-area {
  border-top: 1px solid rgba(255, 255, 255, .15) !important;
}

/* Make sure Astra doesn’t add extra separators */
.site-footer .footer-primary-area,
.site-footer .footer-socket-area {
  box-shadow: none !important;
}

/* Legal line */
.site-footer .ft-legal {
  opacity: .85;
  font-size: 14px;
}

.site-footer .ft-legal a {
  color: #fff;
  text-decoration: underline;
}

/* Mobile tweaks */
@media (max-width:768px) {

  .site-footer .ast-footer-widgets-area,
  .site-footer .footer-widgets {
    padding: 32px 18px;
  }

  .site-footer .ast-builder-grid-row {
    gap: 24px;
  }

  .site-footer .ast-builder-social-element {
    margin-left: 0;
  }
}

@media (max-width:480px) {
  .site-footer .ft-legal {
    font-size: 13px;
  }
}

/* === Contact Form 7 - Figma-Aligned Styling === */

/* Import Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

/* Mobile */
@media (max-width: 600px) {
  .elementor-13 .elementor-element.elementor-element-f16289d .elementor-heading-title {
    font-size: 40px !important;
  }
}

@media (max-width: 1024px) {
  .elementor-13 .elementor-element.elementor-element-253ac6c .elementor-heading-title {
    font-size: 28px !important;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .elementor-13 .elementor-element.elementor-element-253ac6c .elementor-heading-title {
    font-size: 28px;
    line-height: 120%;
  }
}

@media (max-width: 600px) {
  .elementor-13 .elementor-element.elementor-element-fadbc8c .elementor-heading-title {
    font-size: 56px !important;
    line-height: 120%;
  }
}
@media (max-width: 600px) {
.elementor-13 .elementor-element.elementor-element-ee5e226 .elementor-heading-title{
font-size: 56px !important;
}
}

@media (max-width: 767px) {
    .elementor-13 .elementor-element.elementor-element-1407b0d {
        text-align: center;
        line-height: 143% !important;
    }
}
@media (max-width: 600px) {
  elementor-13 .elementor-element.elementor-element-1cd14a2 {
    --margin-top: 0 !important;
  }
}

.elementor-13 .elementor-element.elementor-element-f64be7a .elementor-heading-title {
    font-size: 67px !important;
}


.elementor-13 .elementor-element.elementor-element-ee5e226 .elementor-heading-title {
    font-size: 67px !important;
}

@media (max-width: 600px) {
  .elementor-13 .elementor-element.elementor-element-394f134 {
    margin: 24px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px !important;
  }
}


/* Wrapper */
.wpcf7 {
  max-width: 540px;
  /* tighter alignment like Figma */
  margin: 0 auto;
  font-family: 'Open Sans', sans-serif;
}

/* Input fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #DADADA;
  border-radius: 8px;
  /* smoother corners like Figma */
  margin-bottom: 20px;
  /* more breathing room */
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Focus state (purple accent) */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #431c66;
  box-shadow: 0 0 6px rgba(67, 28, 102, 0.25);
  outline: none;
}

/* Placeholder styling */
.wpcf7 ::placeholder {
  color: #999;
  font-size: 14px;
  font-weight: 400;
}

/* Checkboxes */
.cf7-acceptance {
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.5;
}

.wpcf7-acceptance input {
  margin-right: 8px;
  transform: scale(1.15);
}

/* Submit button */
.wpcf7 input[type="submit"] {
  background: #fff;
  color: #431c66;
  border: 2px solid #f1c232;
  /* yellow border */
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  /* match input radius */
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #f4c95a;
  /* requested hover color */
  color: #431c66;
  border-color: #f4c95a;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .wpcf7 {
    padding: 0 20px;
  }
}

@media (max-width: 768px) {

  .wpcf7 input,
  .wpcf7 textarea {
    font-size: 14px;
    padding: 12px 14px;
  }
}

@media (max-width: 480px) {

  .wpcf7 input,
  .wpcf7 textarea {
    font-size: 13px;
    padding: 10px 12px;
  }

  .wpcf7 input[type="submit"] {
    font-size: 14px;
    padding: 12px;
  }
}

.mods-arrow {
  text-align: right;
  margin-top: 10px;
  margin-right: 10px;
}

.view-more-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

/* Arrowhead */
.view-more-arrow .arrow-head {
  margin-left: 12px;
  font-size: 28px;
  color: #FFBC37;
  transition: all 0.3s ease;
}

.view-more-arrow:hover .arrow-head {
  color: #0B0057;
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .mods-arrow {
    text-align: center;
    margin-right: 0;
  }
}
