/* Fade-in animation */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Apply animation to headings and paragraphs */
.wp-block-heading,
  .wp-block-paragraph {
	animation: fadeIn 1s ease-in-out;
	animation-delay: .2s;
	animation-fill-mode: both;
}

/* Smooth scale effect for images */
.wp-block-image img {
	transition: transform .3s ease;
}

.wp-block-image img:hover {
	transform: scale(1.05);
}

/* Smooth scale effect for images */
.homepage-post-image img {
	transition: transform .3s ease;
}

.homepage-post-image img:hover {
	transform: scale(1.05);
}

/* Button hover effect */
.wp-block-button__link {
	position: relative;
	overflow: hidden;
	background-color: #6c63ff;
/* Custom violet */
	color: #fff !important;
	padding: 12px 24px;
	border-radius: 5px;
	transition: all .3s ease;
}

.wp-block-button__link:hover {
	background-color: #4b43c6;
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Video background zoom effect */
.wp-block-cover__video-background {
	transition: transform .5s ease;
}

.wp-block-cover:hover .wp-block-cover__video-background {
	transform: scale(1.1);
}

.hero {
	width: 100%;
	height: 400px;
/* Adjust as needed */
	background: url('your-image-url') no-repeat center/cover;
}
/* Responsive charts — expand on hover, no glow, no rounded corners */
.chart-image img {
  width: 100%;
  height: auto;
  max-width: 420px;           /* adjust this number if you want them a bit bigger/smaller */
  border-radius: 0;           /* sharp corners, no cropping */
  object-fit: contain;        /* shows the entire chart */
  transition: transform 0.4s ease;
  box-shadow: 0 0px 0px rgba(0,0,0,0.12);
}

.chart-image img:hover {
  transform: scale(1.08);     /* gentle zoom on hover — no glow */
}

/* Optional: center everything nicely */
.chart-container {
  text-align: center;
  margin: 3rem 0;
}

/* Big percentage number that sits under (or over) the chart */
.chart-percentage {
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffc107;             /* your mustard yellow */
  margin-top: 1rem;
}