
@font-face {
  font-family: 'BodyFont';
  src: url('https://childhouses.org/wp-content/uploads/fonts/body-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Custom Font: Heading */
@font-face {
  font-family: 'HeadingFont';
  src: url('https://childhouses.org/wp-content/uploads/fonts/heading-fonts.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}



/* Use BodyFont for normal text */
body, p, li {
  font-family: 'BodyFont', sans-serif;
}

/* Use HeadingFont for titles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'HeadingFont', serif;
}

/* ===========================
   CUSTOM FONTS FOR ALL FORMS
   =========================== */

/* 1️⃣ Base: Use BodyFont for all text inputs, textareas, selects, and buttons */
input,
textarea,
select,
button,
.cf7-form input,
.cf7-form textarea,
.cf7-form select,
.wpforms-form input,
.wpforms-form textarea,
.wpforms-form select,
.wpforms-submit,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpcf7 button,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select,
.wpcf7-form .wpcf7-submit {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.4;
}

/* 2️⃣ Labels, legends, and form titles: use HeadingFont */
label,
legend,
h3.form-title,
.wpcf7-form label,
.wpforms-form label,
fieldset legend {
  font-family: 'HeadingFont', serif !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 3️⃣ Placeholders: ensure they match the input font */
input::placeholder,
textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder,
.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 400;
  opacity: 0.8;
}

/* 4️⃣ Checkbox and radio labels */
.wpcf7-list-item-label,
.wpforms-field-label-inline,
.checkbox-question,
input[type="checkbox"] + span,
input[type="radio"] + span {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 400;
}

/* 5️⃣ Submit button */
input[type="submit"],
button[type="submit"],
.wpcf7-submit,
.wpforms-submit {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
}

/* 6️⃣ Validation and response messages */
.wpcf7-not-valid-tip,
.wpcf7-response-output,
.wpforms-error,
.wpforms-confirmation-container {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 400;
}

/* 7️⃣ Optional: fieldset and legend tweaks */
fieldset {
  font-family: 'BodyFont', sans-serif !important;
  border: none;
}
legend {
  font-family: 'HeadingFont', serif !important;
  font-weight: 600;
}

.widget-title,
.widget .widget-title,
.sidebar .widget-title,
footer .widget-title,
.widget-area .widget-title,
.widget h2,
.widget h3,
.widget h4 {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  line-height: 1.3;
  font-display: swap;
}


/* Apply custom fonts to navigation menu */
.menu .ct-menu-link,
.menu .sub-menu .ct-menu-link {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700;
  letter-spacing: 0.4px;
}


/* Main menu */
.menu > li > .ct-menu-link {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700;
}

/* Dropdown menu */
.menu .sub-menu .ct-menu-link {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 400;
}

/* Apply custom fonts to header CTA button */
.ct-header-cta .ct-button-ghost,
.ct-header-cta a.ct-button,
.ct-button-ghost,
.ct-button {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.4px;
}


/* Counter Titles (small text below/above numbers) */
.elementor-counter-title {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px;
  line-height: 1.4;
  color: #111827; /* adjust if your theme uses another color */
  text-transform: none;
}

/* Counter Numbers (the big numbers) */
.elementor-counter-number,
.elementor-counter-number-prefix,
.elementor-counter-number-suffix {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700 !important;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: #000000; /* optional: customize */
}

/* Button text inside the counter section */
.number-counter-section .elementor-button,
.number-counter-section .elementor-button-text {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  text-transform: none;
}

/* Optional: ensure section headings or labels inherit HeadingFont */
.number-counter-section h1,
.number-counter-section h2,
.number-counter-section h3,
.number-counter-section h4,
.number-counter-section h5,
.number-counter-section h6 {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700;
  line-height: 1.3;
}

/* Optional: give the section consistent vertical rhythm */
.number-counter-section {
  font-family: 'BodyFont', sans-serif;
  text-align: center;
  padding: 2rem 1rem;
}

.carousel-btn,
.carousel-btn a {
  font-family: 'BodyFont', sans-serif !important; /* or 'HeadingFont' */
  font-weight: 600 !important;
  letter-spacing: 0.4px;
  text-transform: none;
}

.mobile-menu .ct-menu-link,
.mobile-menu .ct-sub-menu-parent > .ct-menu-link {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
}

/* Mobile submenu links */
.mobile-menu .sub-menu .ct-menu-link {
  font-family: 'BodyFont', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.3px;
}

/* Icons / Toggle buttons still keep the right alignment but ensure font consistency */
.mobile-menu .ct-toggle-dropdown-mobile {
  font-family: 'HeadingFont', serif !important;
}

/* Active/open submenu styling (optional) */
.mobile-menu .menu-item.menu-item-has-children.open > .ct-sub-menu-parent > .ct-menu-link {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700;
}

a.ct-menu-link {
  font-family: 'HeadingFont', serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px;
}




/* .elementor-element-1556e3a > .e-con {
    display: flex;
    flex-direction: column;
}

.elementor-element-1556e3a .elementor-image-box-content {
    min-height: 130px;
    display: flex;
    flex-direction: column;
}

.elementor-element-1556e3a .elementor-widget-button {
    margin-top: auto;
} */


.ct-contact-info-block  ul{
	align-items: start;
}


/* body {
    direction: rtl;
    text-align: right;
}
.menu-item {
    float: right;
} */



/* ------------------------------
   General Form Styling
-------------------------------*/
.wpcf7 form {
    max-width: 650px;
    margin: 0 auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

/* Remove default paragraph margins */
.wpcf7 form p {
    margin: 0 0 15px 0; /* spacing between fields */
}

/* ------------------------------
   Form Field Containers
-------------------------------*/
.wpcf7 .form-field {
    margin-bottom: 20px; /* spacing between fields */
}

.wpcf7 .checkbox-field,
.checkbox-container {
    margin-bottom: 20px;
}

/* ------------------------------
   Label Styling
-------------------------------*/
.wpcf7 label,
.checkbox-question {
    display: block;
    margin-bottom: 6px; /* spacing between label and input */
    font-weight: bold;
    color: #333;
}

/* Remove extra br spacing inside labels */
.wpcf7 br {
    display: none;
}

/* ------------------------------
   Input, Textarea, Select Styling
-------------------------------*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    background-color: #fffdf0;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Textarea height */
.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

/* Focus effects */
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #ffea00;
    box-shadow: 0 0 8px rgba(255, 223, 0, 0.5);
    outline: none;
}

/* Select dropdown arrow */
.wpcf7 select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2210%22%20height%3D%227%22%20viewBox%3D%220%200%2010%207%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200L5%207L10%200H0Z%22%20fill%3D%22%23ffd700%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 7px;
    padding-right: 40px;
}

/* ------------------------------
   Checkbox Styling
-------------------------------*/
.wpcf7 input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ffd700;
}

.wpcf7 .wpcf7-list-item {
    margin-bottom: 0px !important;
    display: flex;
    align-items: center;
}

.wpcf7 .wpcf7-list-item-label {
    margin-left: 7px;
    line-height: 1.5;
    cursor: pointer;
    font-weight: normal;
}

/* ------------------------------
   Submit Button
-------------------------------*/
/* Contact Form 7 submit button - matches hero button style */
.wpcf7 input[type="submit"] {
    margin-top: 10px;
    padding: 16px 32px 13px 32px;
    background-color: #88BF81 !important; /* green */
    color: #FFFFFF !important;            /* white text */
    font-size: 22px;
    font-weight: 700;
    border: 2px solid #88BF81 !important; /* green border */
    border-radius: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
    width: auto;
    transform: scale(1);
}

/* Hover effect */
.wpcf7 input[type="submit"]:hover {
    background-color: #FFFFFF !important; /* white */
    color: #88BF81 !important;            /* green text */
    border-color: #88BF81 !important;
    transform: scale(1.05);               /* grow animation */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


/* ------------------------------
   Miscellaneous
-------------------------------*/
.wpcf7-form-control-wrap {
    display: block;
    margin: 0;
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Response output spacing */
.wpcf7-response-output {
    margin-top: 20px;
}

/* Spinner alignment */
.wpcf7-spinner {
    margin-left: 10px;
}

/* Elementor overrides (optional) */
.ekit-wid-con .ekit-form form label {
    margin-bottom: 14px;
}

.elementor-1591 .elementor-element .ekit-form form input,
.elementor-1591 .elementor-element .ekit-form form textarea,
.elementor-1591 .elementor-element .ekit-form form select {
    margin-bottom: 0 !important;
}

.wpcf7 input {
    margin-bottom: 0 !important; /* remove bottom margin */
}


/* Make checkboxes and labels side by side for 'interests' only */
.wpcf7-form-control-wrap[data-name="interests"] .wpcf7-list-item label {
    display: flex;
    align-items: center; /* vertically center checkbox with text */
    gap: 8px; /* space between checkbox and text */
}


.wpcf7-list-item{
	margin: 0 !important;
}

.checkbox-container{
	margin-bottom: 16px !important;
}

.wpcf7-select{
	padding: 6px !important;
}

/* card height */

.elementor-widget-elementskit-icon-box .ekit-wid-con{
	height: 100% !important;
}

.elementor-widget-elementskit-icon-box .ekit-wid-con .elementskit-infobox{
	height: 100% !important;
}

.elementor-965 .elementor-element.elementor-element-4b38bad .elementskit-infobox{
	display: flex;
	flex-direction: column;
	justify-content: center;
}

[data-prefix="blog"] .entry-header .page-title{
	color: #000000;
}


#icon-box-container-grid .elementskit-infobox{
	background-color: transparent;
}



//* newsletter */

/* Custom Mailchimp Form Styling */
.mc4wp-form .custom-mailchimp-form {
  max-width: 420px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.mc4wp-form-fields p {
  color: #000000;
}

.mc4wp-form h3 {
  margin-bottom: 1rem;
  color: #111827;
  font-size: 1.4rem;
  font-weight: 700;
}

/* Input Row Layout - Mobile First (stacked) */
.mc4wp-form .custom-mailchimp-form .input-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Input Group Styling */
.mc4wp-form .input-group {
  width: 100%;
}

/* Input Field Styling */
.mc4wp-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #f9fafb;
}

.mc4wp-form input:focus {
  border-color: #6fbf73; /* matches your green tone */
  box-shadow: 0 0 0 3px rgba(111, 191, 115, 0.25);
  background-color: #ffffff;
  outline: none;
}

.button-container-newsletter{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
}

.mc4wp-form-fields p, .mc4wp-form-fields h2{
	text-align: center;
}

.mc4wp-form button {
  width: 100%;
  background-color: #88BF81; /* Green */
  color: #FFFFFF;            /* White text */
  font-size: 22px;
  font-weight: 700;
  border: 5px solid #88BF81; /* Green border */
  border-radius: 80px;
  cursor: pointer;
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  transform: scale(1);
}

/* Hover effect */
.mc4wp-form button:hover {
  background-color: #FFFFFF; /* white */
  color: #88BF81;            /* green text */
  border-color: #88BF81;
  transform: scale(1.05);    /* grow */
}

/* Optional: success message */
.mc4wp-response {
  margin-top: 1rem;
  color: #6fbf73;
  font-weight: 500;
}

/* ===== Desktop Layout (row view) ===== */
@media (min-width: 768px) {

  .mc4wp-form .custom-mailchimp-form .input-row {
    flex-direction: row;
    gap: 1rem;
    justify-content: space-between;
  }

  .mc4wp-form .custom-mailchimp-form .input-group {
    flex: 1;
    margin-bottom: 0;
  }

  .mc4wp-form button {
    width: 20%;
  }
}





/* =============================================
   DONATE BUTTON – DEFAULT + HOVER ANIMATION
   – No colour / size change
   – Works on any background
   ============================================= */
.ct-header-cta .ct-button-ghost {
    position: relative;
    display: inline-flex;           /* better than flex for inline buttons */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: heartbeat 2s infinite ease-in-out;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}

/* DEFAULT: Heartbeat bounce + scale */
@keyframes heartbeat {
    0%, 100% { transform: scale(1) translateY(0); }
    50%      { transform: scale(1.04) translateY(-3px); }
}

/* DEFAULT: Glowing border pulse */
.ct-header-cta .ct-button-ghost::before {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid;
    border-color: inherit;
    border-radius: inherit;
    opacity: 0;
    animation: glowPulse 2s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.05); }
}

/* =============================================
   HOVER: Lift + Stronger Glow + Subtle Shadow
   ============================================= */
.ct-header-cta .ct-button-ghost:hover {
    animation: none;                     /* stop heartbeat */
    transform: translateY(-4px) scale(1.06); /* lift + slight grow */
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.ct-header-cta .ct-button-ghost:hover::before {
    animation: none;
    opacity: 0.7;                        /* stronger glow */
    transform: scale(1.07);
}

/* Optional: Smooth focus for keyboard users */
.ct-header-cta .ct-button-ghost:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
    .ct-header-cta .ct-button-ghost,
    .ct-header-cta .ct-button-ghost::before {
        animation: none !important;
        transition: none !important;
    }
    .ct-header-cta .ct-button-ghost:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}


.number-counter-section .elementor-counter-title{
	text-align: center;
}


@media (max-width: 767px) {
  #cta-section {
    background-position: bottom center !important;
  }
}

@media (max-width: 767px){
	.ays_content_box iframe{
		height: 700px !important;
	}
}

.ct-header-cta .ct-button-ghost{
	width: 130px;
}

#main .hero-section{
	background-color: #EBC368 !important;
}

.blog #main .hero-section{
	background-color: #ffffff !important;
}


figure.wp-block-pullquote{
	border-color: #EBC368;
}

.page-id-1988 .hero-section, .page-id-3405 .hero-section{
	display: none;
}



/* .blog .ct-header-cta .ct-button-ghost{
	color: #9484D0;
} */

.blog .ct-header-cta .ct-button-ghost:hover{
	color: #ffffff;
}

/* header button color */

.ct-header-cta .my-donate-popup{
	background-color: #9484D0 !important;
    border-color: #9484D0 !important;
}



[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
	
	--container-spacing: 32px !important;
}

@media (max-width: 1030px){
	 .elementskit-infobox{
		background-position: top center !important;
}
}


