/* 
Theme Name: Hello Child by Digityo
Description: Hello Child by Digityo is a child theme of Hello Elementor, created by Digityo
Author: Digityo
Author URI: https://digityo.com/
Template: hello-elementor  
Text Domain: hello-bydigityo
Version: 1.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready, development ready
*/

/* Add your custom styles here */
/* Body font */

body {
  font-family: Georgia, serif;
  color: #2C2C2C; /* Paragraph text color */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #000;
}

/* H1 & H2 */
h1, h2 {
  font-size: 35px;
  line-height: 54px;
}

/* H3 & H4 */
h3, h4 {
  font-size: 28px;
  line-height: 43px; /* proportional to 35→54 ratio */
}

/* H5 & H6 */
h5, h6 {
  font-size: 20px;
  line-height: 31px; /* proportional to 35→54 ratio */
}

p {
	font-size: 16px;
	line-height: 32px;
}


/* Links */
a {
  color: #6F8984;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #000;
}

/* Buttons */
button,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
  background-color: #253439;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6em 1.2em;
  font-family: Georgia, serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: #6F8984;
  color: #fff;
}
/* Labels */
label {
  font-weight: bold;
  color: #000;
  display: block;
  margin-bottom: 0.4em;
  margin-top: 1em;
}

/* Text inputs, email, password, etc. */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="tel"],
input[type="number"],
.elementor-field
{
  border: none ;
  border-bottom: 1px solid #000;
  border-radius: 0;
  padding: 0.5em 0;
  width: 100%;
  background: transparent;
  color: #000;
}

/* Dropdowns and Textareas */
select,
textarea,
textarea.elementor-field-textual {
  border: 1px solid #000 !important;
  border-radius: 0;
  padding: 0.5em;
  width: 100%;
  background: transparent;
  color: #000;
  resize: vertical; /* allow vertical resizing only */
}

/* Focus states */
input:focus,
select:focus,
textarea:focus,
.elementor-field:focus {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  appearance: none !important;         
  -webkit-appearance: none !important; /* Safari/Chrome */
  -moz-appearance: none !important;    /* Firefox */
}

.swiper-pagination-bullet {
	border: 1px solid #fff
}

.swiper-pagination {
	margin-bottom: 50px;
}

.pfh-testimonial .elementor-slide-description {
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 50px;
}

.pfh-testimonial .elementor-slide-button {
	margin-left: 14px;
}

.pfh-testimonial .elementor-slide-description::before {
	content: " ";
	position: absolute;
	width: 168px;
	height: 168px;
	opacity: 0.9;
	background: url('/wp-content/uploads/2025/08/quote-lines.svg') no-repeat center center;
	background-size: contain;
	/* or cover depending on how you want it scaled */
	z-index: 0;
	/* keep it behind the text */
	top: -40px;
	left: -20px;
}

.pfh-testimonial .elementor-slide-description::after {
	transform: rotate(180deg);
	/* rotates it upside down */
	content: " ";
	position: absolute;
	width: 168px;
	height: 168px;
	opacity: 0.9;
	background: url('/wp-content/uploads/2025/08/quote-lines.svg') no-repeat center center;
	background-size: contain;
	/* or cover depending on how you want it scaled */
	z-index: 0;
	/* keep it behind the text */
	bottom: -40px;
	right: -20px;
}

.pfh-testimonial .elementor-slide-description {
	position: relative;
	/* required so ::before is positioned correctly */
	z-index: 1;
	/* keeps text above the ::before background */
}

@media (min-width: 1024px) {
	.pfh-testimonial .elementor-slide-description::before {
		top: -80px;
		left: -40px;
	}

	.pfh-testimonial .elementor-slide-description::after {
		bottom: -80px;
		right: -40px;
	}
	
	.pfh-testimonial .elementor-slide-description {
	  padding-left: 40px;
	  padding-right: 40px;
	}		
}
@media (max-width: 1100px) {
	.pfh-testimonial .elementor-swiper-button-prev {
		margin-top: 260px;
		margin-left: calc(50% - 60px);
	}

	.pfh-testimonial .elementor-swiper-button-next {
		margin-top: 260px;
		margin-right: calc(50% - 60px);
	}

	.pfh-testimonial .swiper-pagination {
		display: none;
	}
}	
@media (max-width: 768px) {
    .pfh-testimonial .elementor-slide-button {
	margin-left: -10px;
}
}

/* Timeline widget */

.timeline-container {
  position: relative;
  width: 100%;
  max-width: 1350px;
  margin: 40px auto;
  padding: 20px 0;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #d9d9d9;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  background: black;
  transform: translateX(-50%);
  z-index: 2;
  height: 0;
}



/* timeline item */
.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 20px 40px 0px 0px;
	margin-top: 10px;
	margin-bottom: 10px;
}

.timeline-item .timeline-content {
  background: #fff;
  padding: 15px 20px 20px 20px;
  border-radius:6px;
  position: relative;
 border: 1px solid #EDF0EF;
}

.timeline-item .timeline-date {
  font-size: clamp(14px, 1vw + 14px, 35px);
  color: #000;
  margin-bottom: 12px;
  font-weight: bold;
}
.timeline-date::after {
  display: block;
  content: ' ';
  height: 2px;
  width: 24px;
  background-color: #B5C1BF;
}

.timeline-item .timeline-dot {
  position: absolute;
  top: 25px;
  right: -15px;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 50%;
  z-index:5;
}


.timeline-item .timeline-dot.active {
  background-color: #000;
}

/* right side items */
.timeline-item.right {
  left: 50%;
  padding: 20px 0px 0px 40px;
}

.timeline-item.right .timeline-dot {
  left: -15px;
  right: auto;
}

.timeline-item.right .timeline-content {
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 20px;
  }
.timeline-progress {
  left: 20px;
}
  .timeline-item,
  .timeline-item.right {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
    left: 0; /* reset right side positioning */
  }

  .timeline-item .timeline-dot,
  .timeline-item.right .timeline-dot {
    left: 5px;
    right: auto;
  }
}	
@media (min-width: 768.1px) {
 .timeline-item .timeline-content {
     margin-top:-40px;
   }
	.timeline-item .timeline-image {
		margin-top:-60px;
		margin-bottom: 40px;
	}
}
	
	

.timeline-image {
  width: 100%;
  height: 90px; /* adjust as needed */
  border-radius: 0px;
  margin-bottom: 0px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  border: 1px solid #EDF0EF;
  border-bottom: none !important;
  margin-bottom: -15px;
  z-index: 3;
  position: relative;
}
.timeline-image {
  height: clamp(100px, 16vw, 204px);
}


/* Image Rollover Styles */

.ir-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ir-image {
  display: block;
  width: 100%;
  height: auto;
}

.ir-title {
  position:absolute;
  top: calc(50% - 40px);
  width: 100%;
  text-align: center;
  font-weight: bold;
}

.ir-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  width: 100%;
  height: 0;                /* collapsed by default */
  transition: height .5s ease;
}
.ir-title-overlay {
   font-weight: bold;
}
.ir-title::after, .ir-title-overlay:after {
  content: ' ';
  display: block;
  background-color: #B5C1BF;
  height: 2px;
  width: 24px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6px; 
}

.ir-container:hover .ir-overlay,
.ir-container:focus-within .ir-overlay {
  height: 100%;             /* expand on hover/focus */
}
.ir-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;          /* so it fills the container */
  display: flex;         /* enable flexbox */
  flex-direction: column; /* stack items vertically */
  justify-content: center; /* vertical center */
  align-items: center;    /* horizontal center */
  text-align: center;
  padding: 30px;
}

.ir-text {
  margin-top: 10px;
  margin-bottom: 30px;
}
