/*
Theme Name:  Fundvilla Child Theme
Description: Child theme for the Fundvilla theme
Author:      ThemetechMount
Author URI:  https://www.themetechmount.com/
Template:    fundvilla
Version:     0.1
Tags:        light, white, two-columns, three-columns, four-columns, right-sidebar, left-sidebar, responsive, retina
*/

/* Override Fundvilla inline topbar background */
.themetechmount-topbar-wrapper {
  background-color: #BF1F2F !important;
  background: #BF1F2F !important;
}

/* ===== Main menu hover color ===== */

/* Top-level menu item hover */
#menu-main-menu > li.menu-item > a:hover,
#menu-main-menu > li.menu-item:hover > a,
#menu-main-menu > li.menu-item.current-menu-item > a,
#menu-main-menu > li.menu-item.current-menu-parent > a,
#menu-main-menu > li.menu-item.current-menu-ancestor > a {
  color: #BF1F2F !important;
}

/* Dropdown (sub-menu) hover */
#menu-main-menu .sub-menu li.menu-item > a:hover,
#menu-main-menu .sub-menu li.menu-item:hover > a,
#menu-main-menu .sub-menu li.menu-item.current-menu-item > a {
  color: #BF1F2F !important;
}

/* Header/nav background: replace green-black with neutral charcoal */
#site-header,
#site-header .site-header-main {
  background-color: #1F1F1F !important;
  background: #1F1F1F !important;
}



/* Hover / focus */
#site-header .tm-header-contact-btn-wrapper a.elementor-button:hover,
#site-header .tm-header-contact-btn-wrapper a.elementor-button:focus {
  background-color: #A61A27 !important;
  border-color: #A61A27 !important;
  color: #ffffff !important;
}

/* ===== Mission section: kill theme green gradient / overlay ===== */
.elementor-element-48a43ab.tm-home-one-secfirst {
  background: #1F1F1F !important;
  background-image: none !important;
}

/* Theme overlays often live on pseudo-elements */
.elementor-element-48a43ab.tm-home-one-secfirst::before,
.elementor-element-48a43ab.tm-home-one-secfirst::after {
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

/* Mission section: lighten overall background */
.elementor-element-48a43ab.tm-home-one-secfirst {
  background: #F7F4EF !important; /* warm off-white */
  background-image: none !important;
}

/* Mission section typography */
.elementor-element-48a43ab h2.elementor-heading-title {
  color: #262626 !important;
}

.elementor-element-48a43ab p,
.elementor-element-48a43ab .elementor-widget-heading:not(:first-child) {
  color: #333333 !important;
}

/* ===== Mission underline: draw a single clean line under the H2 ===== */

/* Keep the theme underline disabled (leave your "content:none" block in place) */

/* Add our own underline on the heading itself */
.elementor-element-48a43ab .elementor-element-018a6a5 h2.elementor-heading-title {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 14px !important;
}

.elementor-element-48a43ab .elementor-element-018a6a5 h2.elementor-heading-title::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 6px !important;
  width: 100% !important;
  height: 4px !important;
  background-color: #A61A27 !important;
  border-radius: 3px !important;
  display: block !important;
}

/* ===== Mission heading underline: remove theme multi-line + add one clean red line ===== */

/* 1) Disable any theme underline layers */
.elementor-element-48a43ab .tm-line-one::before,
.elementor-element-48a43ab .tm-line-one::after,
.elementor-element-48a43ab .elementor-heading-title::before,
.elementor-element-48a43ab .elementor-heading-title::after,
.elementor-element-48a43ab .elementor-heading-title span::before,
.elementor-element-48a43ab .elementor-heading-title span::after {
  content: none !important;
  display: none !important;
  background: none !important;
  border: none !important;
}

/* 2) Remove any border/background underline the theme might be using */
.elementor-element-48a43ab .tm-line-one,
.elementor-element-48a43ab .elementor-heading-title {
  background-image: none !important;
  border-bottom: none !important;
}

/* 3) Add our own single underline */
.elementor-element-48a43ab .tm-line-one {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 14px !important; /* spacing between text and line */
}

.elementor-element-48a43ab .tm-line-one::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 6px !important;
  width: 100% !important;
  height: 4px !important;
  background-color: #A61A27 !important; /* on-brand deep red */
  border-radius: 3px !important;
}

#site-header img.themetechmount-logo-img.standardlogo{
  content: url("http://www.drdavidbtoddjr.org/wp-content/uploads/2026/02/Logo-whiteLocked-scaled.png");
  max-height: 70px !important;
  width: auto !important;
  max-width: 280px !important;   /* <-- add this (tune 260–360) */
}

/* Change the yellow circle behind the check to muted gold */
svg rect[fill="#FFE100"]{
  fill: #B08D57 !important;
}

/* #Dr. D.B. Todd badge: red box + white text */
.elementor-element-e155442 {
  background: #AD2627 !important;   /* brand red */
  padding: 8px 14px !important;     /* adjust as needed */
  border-radius: 6px !important;    /* adjust as needed */
  line-height: 1 !important;
}

.elementor-element-e155442 .elementor-heading-title {
  color: #FFFFFF !important;
  margin: 0 !important;
}

/* Back-to-top button: red circle, white text */
#totop {
  background-color: #AD2627 !important;
  color: #FFFFFF !important;

  width: 52px;
  height: 52px;
  line-height: 52px;

  text-align: center;
  border-radius: 50%;

  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;

  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* Hover state (slightly darker, feels intentional) */
#totop:hover {
  background-color: #A61A27 !important;
  color: #FFFFFF !important;
}

/* Any Fundvilla "tag" heading badge */
[class*="tm-tag-"],
[class*="tm-tag-"] > .elementor-widget-container {
  background: #AD2627 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  line-height: 1 !important;
}

[class*="tm-tag-"] .elementor-heading-title {
  color: #FFFFFF !important;
  margin: 0 !important;
}

/* Shrink "Our Mission" heading (mission section) */
.elementor-element-48a43ab .elementor-element-018a6a5 .elementor-heading-title{
  font-size: clamp(44px, 5vw, 76px) !important;  /* tweak max/min */
  line-height: 1.05 !important;
  letter-spacing: -0.5px !important;
}

/* Optional: tighten underline spacing since the font is smaller */
.elementor-element-48a43ab .elementor-element-018a6a5 h2.elementor-heading-title{
  padding-bottom: 10px !important;
}

.elementor-element-48a43ab .elementor-element-018a6a5 h2.elementor-heading-title::after{
  bottom: 4px !important;
  height: 4px !important; /* or 3px if you want it slightly lighter */
}

/* Extra safety for smaller screens */
@media (max-width: 1024px){
  .elementor-element-48a43ab .elementor-element-018a6a5 .elementor-heading-title{
    font-size: 56px !important;
  }
}
@media (max-width: 767px){
  .elementor-element-48a43ab .elementor-element-018a6a5 .elementor-heading-title{
    font-size: 40px !important;
    line-height: 1.08 !important;
  }
}

