/* =========================
 * Global reset & base
 * ========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #ffffff;
  color: #111827;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container similar to Astra's default */
.ast-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================
 * Header
 * ========================= */
.site-header {
  width: 100%;
}

.ast-builder-grid-row {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
}

/* Header background and spacing */
.site-primary-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  background: #333333;
}

.ast-primary-header-bar {
  background: #333333;
}

/* Logo sizing inside header */
header .custom-logo-link img {
  max-width: 60px;
  width: 60px;
}

/* Left / right header sections */
.site-header-section-left,
.site-header-section-right,
.ast-grid-right-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Main navigation menu */
.main-header-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.main-header-menu .menu-link {
  color: #FFF7F1;
  font-weight: 500;
  font-size: 1rem;
}

/* Hover state for header menu links */
.main-header-menu .menu-link:hover {
  opacity: 0.8;
}

/* Header CTA buttons (Log In / Sign Up) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.8rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 400;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
  white-space: nowrap;
  width:7rem;
}

.btn-login {
  border-color: #333333;
  background: #ffffff;
  color: #333333;
}

.btn-login:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-signup {
  background: #aee4ef;
  color: #1f2937;
  border-color: #aee4ef;
}

.btn-signup:hover {
  border-color: #333333;
  background: #ffffff;
  color: #333333;
}

/* Hide mobile header by default on desktop (HTML container is kept for compatibility) */
#ast-mobile-header,
.ast-mobile-header-content {
  display: none;
}

/* Make clickable elements show pointer cursor */
.btn,
.menu-link,
footer a {
  cursor: pointer;
}

/* =========================
 * Main: Create Production layout
 * ========================= */
main {
  width: 100%;
}

.kit-wrap {
  padding: 0;
  background: #ffffff;
}

.kit-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Two-column responsive grid for image + form */
.kit-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  grid-template-columns: 1fr;
  align-items: stretch;
}

/* Left column (kit image) */
.kit-left {
  background: #333333;
  padding: 2rem 5rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kit-left-img {
  border-radius: 12px;
}

/* Right column (form) */
.kit-main {
  padding: 3rem 8rem;
}

/* Inline links inside the form content */
.kit-main a {
  color: #0077ff;
  text-decoration: none;
  font-weight: 600;
}

.kit-main a:hover {
  color: #0056cc;
}

/* Small logo above the form */
.kit-logo {
  max-width: 65px;
  width: 50%;
  height: auto;
  margin-bottom: 2rem;
}

/* Form heading and tagline */
.kit-subtitle {
  margin: 0 0 0.25rem;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  padding-bottom: 2rem;
}

.kit-tagline {
  margin: 0 0 2rem;
  color: #555555;
  font-size: 1rem;
}

/* Main form grid */
.kit-form {
  display: grid;
  gap: 14px;
}

/* Each field wrapper */
.kit-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kit-field.half {
  width: 100%;
}

/* Labels & hints */
.kit-label {
  font-weight: 600;
  font-size: 0.93rem;
}

.kit-hint {
  font-weight: 400;
  color: #666666;
  font-size: 0.9em;
  margin-left: 0.25rem;
}

/* Text / email / password / generic inputs */
.kit-input {
  appearance: none;
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 4px !important;
  padding: 10px 12px;
  font-size: 16px;
  line-height: 1.3;
  background: #ffffff;
}

.kit-input:focus {
  outline: 2px solid #84caff;
  border-color: #84caff;
}

/* Custom select wrapper */
.kit-select {
  position: relative;
}

/* Native <select> styled to match other inputs */
.kit-select-input {
  appearance: none;
  -webkit-appearance: none;
  background-color: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  padding: 10px 40px 10px 12px;
  font-size: 16px;
  line-height: 1.3;
  width: 100%;
}

.kit-select-input:focus {
  outline: 2px solid #84caff;
  border-color: #84caff;
}

.kit-select-input:required:invalid {
  color: #9aa0a6;
}

.kit-select-input option[value=""] {
  color: #9aa0a6;
}

.kit-select-input option {
  color: #111111;
  background: #ffffff;
}

.kit-select-input::-ms-expand {
  display: none;
}

/* Terms & conditions text */
.kit-terms span {
  font-size: 0.9rem;
  color: #4b5563;
}

.kit-terms input[type="checkbox"] {
  margin-right: 0.4rem;
}

/* Submit button */
.kit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid  #333333;
  color: #ffffff;
  background: #333333;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, opacity .2s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  letter-spacing: 0;
  width: 50%;
  text-transform: none;
  font-size: 1rem;
}

.kit-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.kit-btn:hover {
  color: #333333 !important;
  background-color: #aee4ef;
  border-color: #333333;
}

.kit-btn:active {
  transform: translateY(1px);
}

/* Form status messages */
.kit-msg {
  margin-top: 6px;
  font-size: 0.9rem;
}

.kit-msg.success {
  color: #1a7f37;
}

.kit-msg.error {
  color: #b42318;
}

/* "Already have an account?" line */
.kit-login-hint {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #4b5563;
}

/* =========================
 * Footer
 * ========================= */
.site-footer {
  width: 100%;
  background: #333333;
  color: #ffffff;
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

/* Footer grid layout */
.site-primary-footer-wrap .ast-builder-grid-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: flex-start;
}

.footer-widget-area-inner {
  color: #e5e7eb;
}

.footer-social-item.ast-instagram svg path {
  fill: currentColor !important;
}

/* Footer text blocks */
.title-footer-paragraph {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  color:#FFF7F1;
}

.text-footer-paragraph {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.5;
  width: 90%;
  color:#FFF7F1;
}

/* Footer navigation */
.footer-bar-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-bar-navigation .menu-link {
  color: #e5e7eb;
  font-size: 0.9rem;
}

.footer-bar-navigation .menu-link:hover {
  opacity: 0.8;
}

/* Social icons */
.ast-footer-social-wrap a {
  margin-right: 0.5rem;
}

.ast-footer-social-wrap svg {
  width: 22px;
  height: 22px;
  fill: #FFF7F1;
}
/* Fix Instagram icon + color change */
.footer-social-item.ast-instagram {
  color: #FFF7F1 !important;
}

.footer-social-item.ast-instagram svg path {
  fill: #FFF7F1 !important;
}

/* Stronger font weight for footer menu links */
#astra-footer-menu {
  font-weight: 600;
}

/* Align footer sections to the top */
.site-primary-footer-inner-wrap {
  align-items: flex-start !important;
}

/* Highlighted links in footer CTA paragraph */
.footer-widget-area[data-section="section-fb-html-1"] a {
  color: #ffe785;
}

/* Logo in footer widget */
.wp-image-2275 {
  height: auto;
  width: 6rem;
}

/* Footer padding and max-width */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
  padding-top: 70px;
  padding-bottom: 110px;
  padding-left: 0;
  padding-right: 0;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================
 * Responsive rules
 * ========================= */

/* Desktop: 2-column layout for main content and 4-column footer */
@media (min-width: 900px) {
  .kit-grid {
    grid-template-columns: 44% 1fr;
  }

  .kit-form {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .kit-form .kit-field:not(.half),
  .kit-form #kit-submit,
  .kit-form #kit-msg,
  .kit-login-hint {
    grid-column: 1 / -1;
  }
}

@media (min-width: 922px) {
  .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row {
    grid-template-columns: 25fr 20fr 35fr 20fr !important;
  }
}

/* Tablet: adjust paddings and set footer to 2 columns */
@media (max-width: 899px) {
  .site-primary-header-wrap {
    padding: 0.75rem 1.25rem;
  }

  .kit-wrap {
    padding: 0 0 3rem;
  }

  .kit-inner {
    padding: 0;
  }

  .kit-left {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }

  .kit-main {
    padding: 2rem 1.5rem 2.5rem 1.5rem;
  }

  .kit-btn {
    width: 100%;
  }

  .site-primary-footer-wrap .ast-builder-grid-row {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem;
  }
  .ast-builder-grid-row {

    gap: 2rem;
  }
}

/* Small screens: footer as single column */
@media (max-width: 640px) {
  .site-primary-footer-wrap .ast-builder-grid-row {
    grid-template-columns: 1fr;
  }
}

/* Footer stacking and alignment adjustments for <= 921px */
@media (max-width: 921px) {
  .site-primary-footer-wrap {
    background-color: #333333 !important;
  }

  .footer-widget-area[data-section="sidebar-widgets-footer-widget-3"] .footer-widget-area-inner {
    text-align: left;
  }

  .site-primary-footer-inner-wrap.ast-builder-grid-row {
    padding-inline: 1rem;
    justify-content: flex-start;
  }

  #astra-footer-menu .menu-item > a {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .site-primary-footer-inner-wrap .site-footer-section {
    width: 100%;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-primary-footer-inner-wrap .footer-widget-area,
  .site-primary-footer-inner-wrap .footer-bar-navigation,
  .site-primary-footer-inner-wrap .ast-header-html,
  .site-primary-footer-inner-wrap .ast-footer-social-1-wrap {
    width: 100%;
  }

  .site-primary-footer-inner-wrap .footer-nav-wrap,
  .site-primary-footer-inner-wrap #astra-footer-menu {
    justify-content: flex-start;
    text-align: left;
  }

  .site-primary-footer-inner-wrap #astra-footer-menu > li {
    margin-left: 0;
  }

  /* Mobile header tweaks if needed */
  header .custom-logo-link img,
  .ast-header-break-point .site-branding img,
  .ast-header-break-point .custom-logo-link img {
    max-width: 5rem;
    width: 4rem !important;
  }

  #ast-mobile-header {
    background-color: #333333;
  }

  .ast-mobile-header-content {
    margin-top: 1rem;
  }

  a.btn {
    font-size: 0.8rem;
  }
  
  .site-footer-primary-section-3 {
        order: 2;
  }
}
@media (max-width: 921px) {
    .site-footer-primary-section-2 {
        order: 3;
    }
}
@media (max-width: 921px) {
    .site-footer-primary-section-4 {
        order: 4;
    }
}

.footer-social-item.ast-instagram {
  color: #FFF7F1 !important;
}

.footer-social-item.ast-instagram svg path:nth-of-type(1),
.footer-social-item.ast-instagram svg path:nth-of-type(3) {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 22; 
}

.footer-social-item.ast-instagram svg path:nth-of-type(2) {
  fill: currentColor !important;
  stroke: none !important;
}

/* Footer menu alignment for <= 921px (tablet & below) */
@media (max-width: 921px) {
  .footer-widget-area[data-section="section-footer-menu"] .astra-footer-tablet-horizontal-menu {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
  }
}
