/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: A child theme for Hello Elementor
Author: icoderz
Author URI: 
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-child
*/
html {
  scroll-behavior: smooth;
}
/* Body text */
body,p,.hfe-menu-item,.elementor-icon-box-title,.mybox__visit,.elementor-image-box-title {
   font-family: 'Avenir LT Std';
  font-weight: 400;
}
p {
  margin-block-start: 0;
  margin-block-end: 0!important;
}
button, .elementor-button {
  font-family: 'Avenir LT Std';
  font-weight: 700;
  font-size: 18px;
}
a.hfe-menu-item {
  display: inline-block;
  text-decoration: none;
  padding: 3.8rem 5px;
  transition: all 0.3s;
  position: relative;
}
/* Elementor + native headings */
h1, h2, h3, h4, h5, h6,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6,
h2.partner-title
{
  font-family: 'Avenir LT Std', sans-serif;
  font-weight: 700;
}
strong, b, .bold {
  font-weight: 700;
}
ol {
  padding: 0 20px;
}
.percentage {
  position: absolute;
  color: var(--chart-color);
  font-size: 16px;
  font-weight: bold;
}
.pie-chart-container {
  position: relative;
  text-align: center;
  width: 218px;
  height: 218px;
  margin: 0 auto;
}
.pie-chart-container canvas {
  width: 100%;
  height: 100%;
}
.chart-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 600;
  color: #002F49;
}
.pointer-footer {
  pointer-events: none;
}
.post-thumbnail img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.entry-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.entry-meta {
  margin-bottom: 20px;
  font-style: italic;
  color: #666;
}
.entry-content {
  line-height: 1.7;
}
.post-tags {
  margin-top: 30px;
  font-size: 0.95rem;
  color: #444;
}
.success-story-single {
  display: flex;
  gap: 60px;
  max-width: 900px;
  margin: 160px auto;
  font-family: sans-serif;
}
.story-hero {
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}
.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.student-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.student-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}
.student-name {
  font-family: 'Avenir LT Std'!important;
  font-style: normal;
  font-weight: 700!important;
  font-size: 36px!important;
  line-height: 43px;
  margin: 0;
  letter-spacing: 0.01em;
  color: #F28B00!important;
}
h4 {
  font-family: 'Avenir LT Std'!important;
  font-style: normal;
  font-weight: 700!important;
  font-size: 24px!important;
  line-height: 43px;
  letter-spacing: 0.01em;
  color: #F28B00;
}
.student-role {
  font-style: italic;
  color: #666;
  margin-top: 0.3rem;
}
.quote-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1em;
}
.testimonial__quote {
  aspect-ratio: 1;
  -o-object-fit: contain;
  object-fit: contain;
  margin-bottom: 3rem;
}
/* Responsive adjustments */
@media (max-width: 600px) {
  .student-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .student-avatar {
    width: 80px;
    height: 80px;
  }
  .student-name {
    font-size: 1.5rem;
  }
}
.partner-card {
  transition: transform 0.3s ease;
}
.partner-card:hover {
  transform: scale(1.02);
}
.partner-card .overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.partner-card:hover .overlay {
  opacity: 1;
}
.section-grid {
  --wrapper-padding-inline: 1.6rem;
  --wrapper-max-width: 100%;
  display: grid;
  grid-template-columns:
    minmax(var(--wrapper-padding-inline), 1fr)
    minmax(0, calc(var(--wrapper-max-width) / 2))
    minmax(0, calc(var(--wrapper-max-width) / 2))
    minmax(var(--wrapper-padding-inline), 1fr);
  position: relative;
}
@media (min-width: 1024px) {
  .section-grid__box--first {
    padding-left: 0px!important; 
  }
}
@media (min-width: 1440px) {
  .section-grid__box--first {
    padding-left: 0px!important; 
  }
}
.section-grid__box--first {
  grid-column: 5 / 2!important;
  grid-row: span 1!important;
}
/* Common card padding for tablets and up */
@media (min-width: 768px) {
  .section-grid {
    --wrapper-padding-inline: 3.1rem;
  }
  .section-grid__box--first {
    padding-left: 0;
    grid-column: 5 / 2;
    grid-row: span 3;
  }
}
.testimonial {
  padding: var(--section-gap) 0 4rem;
  background-color: #FFF7ED;
}
.testimonial__slider {
  margin-top: 4rem;
}
.testimonial__box {
  background-color: #ffffff;
  padding: 1.6rem;
  border-radius: var(--radius-200);
  display: flex;
  align-items: flex-start;
  gap: 4rem;
}
.testimonial__item {
  width: 55%;
}
.testimonial__item p {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.testimonial__img {
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
  max-width: 39rem;
  border-radius: var(--radius-100);
}
.testimonial__quite {
  aspect-ratio: 1;
  -o-object-fit: contain;
  object-fit: contain;
  margin-bottom: 3rem;
}
.testimonial__profile {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
}
.testimonial__avtar {
  aspect-ratio: 1;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
}
.partner-block {
  padding: 0 36px!important;
}
@media (max-width: 991px) {
  .partner-block {
    padding: 0 10px!important;
  }
  .testimonial__slider {
    margin-top: 3rem;
  }
  .testimonial__box {
    flex-direction: column;
    padding: 1rem 1rem 2rem;
    gap: 2rem;
  }
  .testimonial__item {
    width: 100%;
  }
  .testimonial__item p {
    -webkit-line-clamp: 6;
  }
  .testimonial__img {
    aspect-ratio: 2/1.5;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: 100%;
    -o-object-position: top;
    object-position: top;
  }
  .testimonial__quite {
    width: 3rem;
    margin-bottom: 1rem;
  }
  .testimonial__profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.2rem;
  }
  .testimonial__avtar {
    width: 4rem;
  }
}
/* Make the entire container clickable */
body:not(.elementor-editor-active) .clickable-container {
  position: relative;
  cursor: pointer;
}
body:not(.elementor-editor-active) .clickable-container .full-container-link {
  position: absolute;
  inset: 0;
  z-index: 999;
  height: 100%;
  text-indent: -9999px;
}
/* Prevent link styles from affecting text inside */
.clickable-container * {
  position: relative;
  z-index: 20;
}
.clickable-container a:not(.full-container-link) {
  z-index: 25;
}
.sponsorship-card {
  flex: 0 1 calc(50% - 15px);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s ease;
  height: 100%;
  position: relative;
}
.sponsorship-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.sponsorship-card__image img {
  width: 160px;
  height: auto;
  object-fit: cover;
  display: block;
}
.sponsorship-card__content {
  padding: 16px;
  flex: 1;
}
.sponsorship-card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.sponsorship-card__excerpt {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
}
.sponsorship-card__link {
  font-family: 'Avenir LT Std', sans-serif;
  font-weight: bold;
  color: #212020;
  font-size: 18px;
  display: inline-block;
}
/* Top right arrow */
.arrow-top-right {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #FC653C;
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
}
.sponsorship-card:hover .arrow-top-right {
  transform: translateY(-2px) translateX(2px);
}
@media (max-width: 767px) {
  .sponsorship-card {
    flex-direction: column;
    gap: 0!important;
  }
  .sponsorship-card__image img {
    width: 100%;
  }
  .elementor-kit-6 h4 {
    font-size: 18px!important;
  }
}
.arrow-top-right {
  position: absolute;
  top: 10px;
  right: 40px;
  width: 24px;
  height: 24px;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
  pointer-events: none;
}
.sponsorship-card:hover .arrow-top-right {
  opacity: 1;
  transform: scale(1.1);
}
.sponsorship-card:hover .sponsorship-card__link {
  color:#FF6600;
}
.sponsorship-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.sponsorship-item {
  display: block;
}
@media (max-width: 991px) {
  .sponsorship-grid {
    grid-template-columns: 1fr; /* 1 per row on tablet/mobile */
  }
}
.swiper-pagination {
  display: none;
}
.hfe-nav-menu__layout-horizontal {
  width: 100%!important;
}
@media (min-width: 1024px) {
  .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
	  flex-wrap:nowrap!important;
  }
}
.hfe-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: #fff; /* Optional */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.my-custom-id.elementor-section.hfe-sticky {
  position: fixed;
  left:0;
  width:100%;
  animation:slide-down 0.8s;
}
@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  } 
  100% {
    opacity: 0.9;
    transform: translateY(0);
  } 
}
@media( max-width: 767px ) {
	.my-custom-id.elementor-section.hfe-sticky {
		top: 0;
	}
  .mybox:hover .mybox__text {
    margin-bottom: -15px!important;
  }
}
.start-donating .elementor-image-box-wrapper {
  display: flex;
  gap: 6px;
}
.custom-donate-btn:hover {
  box-shadow: 10px 10px 15px rgba(255, 102, 0, 0.25);
}
@media( max-width: 600px ) {
  .elementor-custom-embed-play {
    top: 65%!important;
  }
}
@media( max-width: 400px ) {
  .elementor-custom-embed-play {
    width: 50px!important;
    height: 50px!important;
  }
}
#postContainer.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
@media (max-width: 1024px) {
  #postContainer.grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-grid-layout {
    gap: 20px!important;
  }
  .student-grid-layout {
    gap: 20px!important;
  }
  .success-story-single {
    gap: 20px!important;
  }
}
@media (max-width: 600px) {
  #postContainer.grid-4 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .elementor-lightbox .elementor-lightbox-item {
    padding: 70px 20px!important;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .mybox__text {
    transform: translateY(85%)!important;
  }
  .py-100 {
    padding-bottom: 50px!important;
  }
  #postContainer.grid-4 {
    gap: 20px!important;
  }
}