
/* ================================================================
   MYAACORP v2.2 - PROFESSIONAL DESIGN (VISUAL POLISH)
   ================================================================ */

/* ---- FONTS ---- */
body, p, li, td, th, label, input, textarea, select, button, h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* ================================================================
   HERO SECTION — Remove rigid boxy backgrounds, use glass effect
   ================================================================ */

/* Box 1 (Headline) - transparent bg, text-shadow for readability */
.et_pb_section_0 .et_pb_text_0 {
  background: transparent !important;
  background-color: transparent !important;
}
.et_pb_section_0 .et_pb_text_0 h1,
.et_pb_section_0 .et_pb_text_0 h1 * {
  color: #ffffff !important;
  text-shadow: 
    0px 2px 5px rgba(0,0,0,0.8),
    0px 4px 15px rgba(0,0,0,0.6) !important;
}

/* Box 2 (Subtitle) - match Box 1 clean corners, center text */
.et_pb_section_0 .et_pb_text_1 {
  background-color: rgba(0, 23, 51, 0.70) !important; /* darker, matching Box 1 */
  border-radius: 12px !important;
  overflow: hidden !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 24px 30px !important;
  text-align: center !important;
  margin: 0 auto !important;
  max-width: 850px !important;
}
.et_pb_section_0 .et_pb_text_1 p,
.et_pb_section_0 .et_pb_text_1 span,
.et_pb_section_0 .et_pb_text_1 strong,
.et_pb_section_0 .et_pb_text_1 h3 {
  text-align: center !important;
}

/* Hero Red CTA Button - softer gradient red, pill shape */
.et_pb_section_0 .et_pb_button_0 {
  border-radius: 50px !important;
  background: linear-gradient(135deg, #e11d48, #be123c) !important;
  border: none !important;
  color: #ffffff !important;
  padding: 14px 36px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.35) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.et_pb_section_0 .et_pb_button_0:hover {
  background: linear-gradient(135deg, #be123c, #9f1239) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.5) !important;
}

/* ================================================================
   NAVIGATION — Fix active "Home" link colour
   ================================================================ */

/* Current menu item should be same as other links — not teal */
#top-menu li.current-menu-item > a,
#top-menu li.current_page_item > a,
#top-menu li.current-menu-ancestor > a,
.et-fixed-header #top-menu li.current-menu-item > a,
.et-fixed-header #top-menu li.current_page_item > a,
.et-fixed-header #top-menu li.current-menu-ancestor > a {
  color: rgba(0,0,0,0.77) !important;
  font-weight: 600 !important;
}

/* In dark mode the nav becomes dark, so active link → white */
[data-theme="dark"] #top-menu li.current-menu-item > a,
[data-theme="dark"] #top-menu li.current_page_item > a,
[data-theme="dark"] #top-menu li.current-menu-ancestor > a {
  color: #f1f5f9 !important;
}

/* ================================================================
   SERVICE ICONS — uniform size, same visual weight
   ================================================================ */

/* All icons same container size & alignment */
.et_pb_row_1 {
  display: flex !important;
  align-items: stretch !important;
}
.et_pb_image_1,
.et_pb_image_2,
.et_pb_image_3,
.et_pb_image_4 {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-end !important; /* align to bottom so they sit at same baseline */
  height: 100px !important;
  margin-bottom: 20px !important;
}
.et_pb_image_1 .et_pb_image_wrap img,
.et_pb_image_2 .et_pb_image_wrap img,
.et_pb_image_3 .et_pb_image_wrap img,
.et_pb_image_4 .et_pb_image_wrap img {
  height: 80px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  opacity: 1 !important;
  /* Normalize all icons to the same dark colour */
  filter: brightness(0) saturate(100%) !important;
}

/* ================================================================
   SERVICE CARDS — softer, aesthetic, no harsh white-on-dark
   Keep the section LIGHT regardless of dark mode (it's a light section)
   ================================================================ */

/* Service section always stays light */
.et_pb_section_2 {
  background: #f8fafc !important;
}

/* Service text cards — soft cards with no hard border */
.et_pb_text_11,
.et_pb_text_12,
.et_pb_text_13,
.et_pb_text_14 {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 24px 20px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.07) !important;
  border: none !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.et_pb_text_11:hover,
.et_pb_text_12:hover,
.et_pb_text_13:hover,
.et_pb_text_14:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.12) !important;
}

/* Service card headings */
.et_pb_text_11 .et_pb_text_inner h4,
.et_pb_text_12 .et_pb_text_inner h4,
.et_pb_text_13 .et_pb_text_inner h4,
.et_pb_text_14 .et_pb_text_inner h4 {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  margin-bottom: 10px !important;
}

/* Service card body text */
.et_pb_text_11 .et_pb_text_inner p,
.et_pb_text_12 .et_pb_text_inner p,
.et_pb_text_13 .et_pb_text_inner p,
.et_pb_text_14 .et_pb_text_inner p {
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Fix service row overflow */
.et_pb_row_11 {
  overflow: visible !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* ================================================================
   ASSESS / OPTIMIZE / IMPLEMENT BOXES — consistent polished cards
   ================================================================ */

.et_pb_text_7,
.et_pb_text_8,
.et_pb_text_9 {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.08) !important;
  border: none !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.et_pb_text_7:hover,
.et_pb_text_8:hover,
.et_pb_text_9:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.13) !important;
}

.et_pb_text_7 .et_pb_text_inner h2,
.et_pb_text_8 .et_pb_text_inner h2,
.et_pb_text_9 .et_pb_text_inner h2 {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 22px !important;
  margin-bottom: 12px !important;
}

.et_pb_text_7 .et_pb_text_inner p,
.et_pb_text_8 .et_pb_text_inner p,
.et_pb_text_9 .et_pb_text_inner p {
  color: #475569 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

/* ================================================================
   TOP BAR — dark background, white text & phone
   ================================================================ */

#top-header {
  background-color: #0f172a !important;
}

#top-header *,
#et-info,
#et-info-phone,
#et-info-email {
  color: #ffffff !important;
}

a.myaac-topbar-phone,
a.myaac-topbar-phone:visited {
  color: #ffffff !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

a.myaac-topbar-phone:hover { color: #93c5fd !important; }

/* ================================================================
   CONTACT SECTION — white links for phone on dark background
   ================================================================ */

.et_pb_section_3 a[href^="tel:"],
.et_pb_section_3 a[href^="tel:"]:visited,
.et_pb_bg_layout_dark a[href^="tel:"] {
  color: #ffffff !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.et_pb_section_3 a[href^="tel:"]:hover {
  color: #93c5fd !important;
  text-decoration: underline !important;
}

/* Other tel: links */
a[href^="tel:"] {
  color: #1d4ed8 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
a[href^="tel:"]:hover { color: #1e40af !important; }

/* ================================================================
   HAVE A QUESTION SECTION — Alignment & Button
   ================================================================ */

/* Align left and right columns naturally ONLY on desktop */
@media (min-width: 768px) {
  .et_pb_row_12 {
    display: flex !important;
    align-items: flex-start !important;
  }
}
@media (max-width: 767px) {
  .et_pb_row_12 {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
  }
}
.et_pb_column_18, .et_pb_column_19 {
  padding-top: 0 !important;
}
.et_pb_text_15 h2, #et_pb_contact_form_0 h1.et_pb_contact_main_title {
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 1.3 !important;
}
.et_pb_text_15 {
  margin-bottom: 15px !important;
}

/* Call Now Button - Normalize size to match submit button */
a.et_pb_button_2,
a.et_pb_button_2:link,
a.et_pb_button_2:visited {
  color: #ffffff !important;
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 10px 22px !important; /* Reduced padding */
  font-size: 15px !important; /* Scaled down text */
  display: inline-block !important;
  transition: all .2s ease !important;
}

a.et_pb_button_2:hover {
  color: #ffffff !important;
  background-color: #1e40af !important;
  border-color: #1e40af !important;
  transform: translateY(-2px) !important;
}

/* ================================================================
   CONTACT FORM — styled inputs, responsive, no overflow
   ================================================================ */

.et_pb_section_3 {
  overflow: hidden !important;
}

.et_pb_contact_form_container,
#et_pb_contact_form_0 {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Global basic style for ALL form inputs (light mode by default) */
body .et_pb_contact_form .input,
body .et_pb_contact_form input[type="text"],
body .et_pb_contact_form input[type="email"],
body .et_pb_contact_form textarea,
body .et_pb_contact_form .et_pb_contact_captcha {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  font-family: 'Inter', sans-serif !important;
}

body .et_pb_contact_form input::placeholder,
body .et_pb_contact_form textarea::placeholder {
  color: #94a3b8 !important;
}

body .et_pb_contact_form input:focus,
body .et_pb_contact_form textarea:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.2) !important;
  outline: none !important;
}

/* Dark layout specific styles (like homepage footer) */
.et_pb_bg_layout_dark .et_pb_contact_form .input,
.et_pb_bg_layout_dark .et_pb_contact_form input[type="text"],
.et_pb_bg_layout_dark .et_pb_contact_form input[type="email"],
.et_pb_bg_layout_dark .et_pb_contact_form textarea,
.et_pb_bg_layout_dark .et_pb_contact_form .et_pb_contact_captcha {
  background: rgba(255,255,255,0.05) !important;
  color: #f1f5f9 !important;
  border: 1.5px solid rgba(255,255,255,0.18) !important;
}
.et_pb_bg_layout_dark .et_pb_contact_form input::placeholder,
.et_pb_bg_layout_dark .et_pb_contact_form textarea::placeholder {
  color: rgba(255,255,255,0.45) !important;
}
.et_pb_bg_layout_dark .et_pb_contact_form input:focus,
.et_pb_bg_layout_dark .et_pb_contact_form textarea:focus {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(96,165,250,.2) !important;
  background: rgba(255,255,255,0.08) !important;
}

/* Submit button */
body .et_pb_contact_submit {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background .2s, transform .15s !important;
}

body .et_pb_contact_submit:hover {
  background: #1e40af !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

/* Captcha + Submit button layout fix */
.et_contact_bottom_container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  margin-top: 15px !important;
  width: 100% !important;
}
.et_contact_bottom_container .et_pb_contact_right {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
  float: none !important;
}
.et_contact_bottom_container .et_pb_contact_right p {
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.et_contact_bottom_container .et_pb_contact_right .et_pb_contact_captcha {
  width: 60px !important;
  max-width: 60px !important;
  text-align: center !important;
  padding: 10px !important;
}

/* ================================================================
   DARK MODE TOGGLE BUTTON — subtle pill in top bar
   ================================================================ */

#myaacorp-toggle-wrap {
  display: inline-flex !important;
  align-items: center !important;
  margin-left: 14px !important;
  vertical-align: middle !important;
}

#myaacorp-toggle {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 99px !important;
  padding: 3px 12px !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.7 !important;
  white-space: nowrap !important;
  transition: background .2s !important;
}

#myaacorp-toggle:hover {
  background: rgba(255,255,255,0.2) !important;
}

/* ================================================================
   DARK MODE — Minimal: only page bg + header, not sections
   ================================================================ */

[data-theme="dark"] body {
  background-color: #0f172a !important;
}

[data-theme="dark"] #main-header {
  background: #1e293b !important;
  border-bottom: 1px solid #334155 !important;
}

[data-theme="dark"] #et-top-navigation .nav > li > a {
  color: #e2e8f0 !important;
}
/* Ensure dropdown items stay dark */
[data-theme="dark"] #et-top-navigation .nav li ul li a {
  color: #0f172a !important;
}

/* Keep service and assess sections LIGHT in dark mode */
[data-theme="dark"] .et_pb_section_2 {
  background: #f8fafc !important;
}

[data-theme="dark"] .et_pb_text_7,
[data-theme="dark"] .et_pb_text_8,
[data-theme="dark"] .et_pb_text_9,
[data-theme="dark"] .et_pb_text_11,
[data-theme="dark"] .et_pb_text_12,
[data-theme="dark"] .et_pb_text_13,
[data-theme="dark"] .et_pb_text_14 {
  background: #ffffff !important;
}

/* ================================================================
   RESPONSIVE — Mobile fixes
   ================================================================ */

@media (max-width: 980px) {
  .et_pb_contact_field.et_pb_contact_field_half {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  #myaacorp-toggle .tog-text { display: none !important; }
}

@media (max-width: 767px) {
  body { overflow-x: hidden !important; }

  .et_pb_row,
  .et_pb_column,
  .et_pb_section {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .et_pb_contact_field.et_pb_contact_field_half,
  .et_pb_contact_field.et_pb_contact_field_last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .et_pb_image_1 .et_pb_image_wrap img,
  .et_pb_image_2 .et_pb_image_wrap img,
  .et_pb_image_3 .et_pb_image_wrap img,
  .et_pb_image_4 .et_pb_image_wrap img {
    width: 60px !important;
    height: 60px !important;
  }

  /* Hero responsiveness */
  .et_pb_section_0 .et_pb_text_0 h1 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }
  .et_pb_section_0 .et_pb_text_1 {
    padding: 15px !important;
  }
  .et_pb_section_0 .et_pb_text_1 h3, 
  .et_pb_section_0 .et_pb_text_1 p {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
}

/* ================================================================
   GET IN TOUCH WITH US SECTION — Alignment & Labels
   ================================================================ */
.et_pb_row_4 {

  display: flex !important;

  align-items: stretch !important;

}

.et_pb_row_4 .et_pb_column {

  display: flex !important;

}

.et_pb_row_4 .et_pb_blurb {

  display: flex !important;

  flex-direction: column !important;

  width: 100% !important;

  height: 100% !important;

}

.et_pb_row_4 .et_pb_blurb_content {

  display: flex !important;

  flex-direction: column !important;

  height: 100% !important;

}

.et_pb_row_4 .et_pb_blurb_container {

  flex-grow: 1 !important;

  display: flex !important;

  flex-direction: column !important;

}

.et_pb_row_4 .et_pb_blurb_description {

  flex-grow: 1 !important;

}



/* Normalize headers (Phone, Email, Office) */

.et_pb_row_4 .et_pb_blurb .et_pb_module_header,

.et_pb_row_4 .et_pb_blurb .et_pb_module_header a,

.et_pb_row_4 .et_pb_blurb .et_pb_module_header span {

  font-family: 'Inter', -apple-system, sans-serif !important;

  font-weight: 700 !important;

  font-size: 20px !important;

  color: #0f172a !important;

  text-decoration: none !important;

  margin-bottom: 10px !important;

  display: block !important;

}



[data-theme="dark"] .et_pb_row_4 .et_pb_blurb .et_pb_module_header,

[data-theme="dark"] .et_pb_row_4 .et_pb_blurb .et_pb_module_header a,

[data-theme="dark"] .et_pb_row_4 .et_pb_blurb .et_pb_module_header span {

  color: #f1f5f9 !important;

}


/* Force Call Now button text to be white in all states */
a.et_pb_button_2, a.et_pb_button {
  color: #ffffff !important;
}

/* Assess, Optimize, Implement boxes - dark background and light text */
.et_pb_text_7, .et_pb_text_8, .et_pb_text_9 {
  background: #0f172a !important; 
  border-radius: 16px !important;
  padding: 32px 24px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,.08) !important;
  border: none !important;
}
.et_pb_text_7 h2, .et_pb_text_7 h2 *,
.et_pb_text_8 h2, .et_pb_text_8 h2 *,
.et_pb_text_9 h2, .et_pb_text_9 h2 * {
  color: #ffffff !important;
}
.et_pb_text_7 p, .et_pb_text_8 p, .et_pb_text_9 p {
  color: #cbd5e1 !important;
}

/* Top Header Bar Layout */
#et-info {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  width: 100% !important;
  align-items: center !important;
}
.myaac-topbar-phone { justify-self: start !important; }
#et-info > a[href^="mailto:"] { justify-self: center !important; }
#myaacorp-toggle-wrap { justify-self: end !important; margin-left: 0 !important; }

@media (max-width: 980px) {
  #et-info {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    text-align: center !important;
    padding: 10px 0 !important;
  }
  .myaac-topbar-phone, 
  #et-info > a[href^="mailto:"], 
  #myaacorp-toggle-wrap {
    justify-self: center !important;
  }
}

/* Mobile hero section spacing */
@media (max-width: 767px) {
  .et_pb_section_0 .et_pb_text_0 { margin-bottom: 15px !important; }
  .et_pb_section_0 .et_pb_text_1 { margin-bottom: 25px !important; }
}

.et_pb_image_1, .et_pb_image_2, .et_pb_image_3, .et_pb_image_4, .et_pb_image_wrap { opacity: 1 !important; filter: none !important; mix-blend-mode: normal !important; }

.et_pb_column_18, .et_pb_column_19 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.et_pb_text_15 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.et_pb_text_15 h2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  color: #ffffff !important; /* Force it to be visible if it was white on white */
}
#et_pb_contact_form_0 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}




/* Fix for Contact Us / Call Now Section Alignment and Backgrounds */
.et_pb_column_18, .et_pb_column_19 {
  padding-top: 0 !important;
  margin-top: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
.et_pb_column_18 {
  background-color: #2b3160 !important;
  padding: 40px !important;
  border-radius: 12px !important;
}
.et_pb_column_19 {
  background-color: #2b3160 !important; 
  padding: 40px !important;
  border-radius: 12px !important;
}
.et_pb_text_15, .et_pb_text_16, .et_pb_button_2_wrapper, .et_pb_text_17, #et_pb_contact_form_0 {
  background: transparent !important;
  background-color: transparent !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  box-shadow: none !important;
}
.et_pb_text_15 h2, #et_pb_contact_form_0 h1.et_pb_contact_main_title {
  margin-top: 0 !important;
  padding-top: 0 !important;
  color: #ffffff !important;
}
@media (min-width: 768px) {
  .et_pb_row_12 {
    display: flex !important;
    align-items: stretch !important; /* Make columns equal height */
    gap: 30px !important;
  }
}
@media (max-width: 767px) {
  .et_pb_column_18, .et_pb_column_19 {
    padding: 20px !important;
  }
}


/* ---- Task 2: Fix Layout Gap ---- */
.et_pb_row_12 {
  gap: 0 !important;
  background-color: #2b3160 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.et_pb_column_18, .et_pb_column_19 {
  background-color: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

@media (max-width: 980px) {
  .et_pb_row_12 {
    flex-direction: column !important;
  }
}

/* ---- Task 1: Fix All-Caps Inputs ---- */
.et_pb_contact_form input, .et_pb_contact_form textarea {
  text-transform: none !important;
}

/* ---- Task 3: Top Bar Header Spacing ---- */
#et-info {
  display: flex !important;
  align-items: center;
  gap: 20px;
}
#et-info-phone, #et-info-email, .myaac-topbar-phone {
  margin: 0 !important;
  display: flex;
  align-items: center;
}

/* ---- Task 4: Fix Phone Number Color ---- */
a[href^=" tel:\], .myaac-topbar-phone {
 color: inherit !important;
}
#et-info a[href^=\tel:\], #et-info-phone a, .myaac-topbar-phone {
 color: #ffffff !important;
}
