/*
Theme Name: Hope Foundation
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Tecnolynx
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.2
Text Domain: mt
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

body{font-style:normal !important}
h1, h2, h3, h4, h5, h6, .elementor-heading-title {text-transform:capitalize !important}

.cap-title{position:relative; padding-left:50px;}
.cap-title:before{content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 36px;
    height: 2px;
    background: #ff6600;}

.elementor-widget-testimonial-carousel.elementor-pagination-type-bullets .swiper{padding-bottom:0}

footer {
    position: relative;
}

footer:after {
    content: "";
    position: absolute;
    bottom: 55px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0b205a;
}

.about-hf-history .wpostahs-slider-design-1 .wpostahs-slider-nav-title .wpostahs-main-title{background: #fff; padding: 0 0 5% 0 !important;}
.wpostahs-slider-design-1 .wpostahs-slider-nav-title.slick-current .wpostahs-main-title {
    position: relative;
    background: #2d72db !important;
	border-radius: 20px;
}

.about-hf-history .wpostahs-main-title img{border-radius:20px;}
.about-hf-history .wpostahs-main-title {font-family: "Plus Jakarta Sans", Sans-serif; font-size:24px !important; font-weight:700}
.wpostahs-slider-design-1 .wpostahs-slider-nav-title .wpostahs-main-title img {
    margin-bottom: 15px;
}

.about-hf-history .wpostahs-slick-slider span.slick-arrow{width: 64px !important;    height: 64px !important;}
.about-hf-history .wpostahs-slider-design-1 .wpostahs-slick-slider .slick-arrow {
    top: 50% !important;
    margin-top: -60px !important;
}

.about-hf-history .wpostahs-centent-title {font-family: "Plus Jakarta Sans", Sans-serif; font-size:36px; font-weight:700}

.about-hf-history .wpostahs-centent ul li, .about-hf-history .wpostahs-centent p {
    text-align: center !important;
    font-family: 'Plus Jakarta Sans';
    font-size: 18px;
    font-weight: 300 !important;
    line-height: 28px;
    list-style: none;
}

.about-hf-history .wpostahs-centent ul li {margin-bottom:15px;}


.case-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -12.5px; /* half of gap for consistent spacing */
}


.case-card {
    background: #f1f1f1;
    padding: 0;
    border-radius: 15px;
    box-shadow:none;
    margin: 12.5px; /* half of gap */
    box-sizing: border-box;
    flex: 1 1 calc(33.333% - 25px); /* 3 columns desktop */
    max-width: calc(33.333% - 25px);
    transition: 0.3s;
}

/* Tablet / iPad - 2 columns */
@media (max-width: 1024px) {
    .case-card {
        flex: 1 1 calc(50% - 25px);
        max-width: calc(50% - 25px);
    }
}

/* Mobile - 1 column */
@media (max-width: 767px) {
    .case-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}


.case-image img {
  width: 100%;
  border-radius: 15px 15px 0 0;
  margin-bottom: 30px;
}

.case-image {
    position: relative;
    overflow: hidden; /* ensure curve doesn't overflow outside card */
}

.case-image img {
    width: 100%;
    display: block;
    border-radius: 15px 15px 0 0; 
}

/* Curve overlay using ::before */
.case-image::before {
    content: "";
    position: absolute;
    bottom: 28px;
    left: 0;
    width: 100%;
    height: 116px; /* adjust height of curve */
    background: url('https://hopefoundation.org.in/new-site/wp-content/uploads/2025/12/shape-curve.png') no-repeat bottom center;
    background-size: cover; /* cover full width */
    pointer-events: none; /* allow clicks on image */
}

#case-results {
  padding-top: 60px;
}


.case-cat {
  font-size: 15px;
  font-weight: 500;
  color: #f60;
  display: block;
  margin-bottom: 0;
  padding: 0 40px;
  font-family: "DM Sans";
}

.case-title {
    font-size: 22px;
    margin-bottom: 15px;
	color:#333;
	 font-family: 'Plus Jakarta Sans';
	padding:0 40px;
	
	
}

.case-desc {
    font-size: 16px;
    color: #333;
	padding: 0 40px;
	 font-family: "DM Sans";
}

.case-link {
  margin-top: 10px;
  display: inline-block;
  font-weight: 600;
  color: #ff6600;
  padding: 0 40px;
    padding-top: 0px;
    padding-bottom: 0px;
  font-family: "DM Sans";
  padding-bottom: 50px;
  padding-top: 30px;
  text-align: right;
  width: 100%;
  position: relative;
}

.case-link::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 40px;
  width: 45%;
  height: 1px;
  background: #ddd;
}

.cs-filter-label {
  font-family: "Plus Jakarta Sans", Sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  padding-bottom: 10px;
}

#case-filter {
  border: 1px solid #f60;
  background: #fff;
  padding: 8px 20px;
  min-width: 400px;
  height: 48px;
  border-radius: 8px;
  font-family: "DM Sans";
  font-size: 18px;
  display: flex;
  margin: 0 auto;
}


/* Target all post content inside single case study */
.single-case-studies .elementor-widget-theme-post-content {
    color: #000;
    line-height: 1.7;
}

.single-case-studies .elementor-widget-theme-post-content h1,
.single-case-studies .elementor-widget-theme-post-content h2,
.single-case-studies .elementor-widget-theme-post-content h3 {
    margin-bottom: 20px;
    color: #222;
}

.single-case-studies .elementor-widget-theme-post-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

/* Lists with checkmark only inside single case study */
.single-case-studies .elementor-widget-theme-post-content ul li{list-style:none}
.single-case-studies .elementor-widget-theme-post-content ul li::before {
    content: "✔";
    color: #ff6600;
    font-weight: bold;
    position: absolute;
    left: 0;
}




@media only screen and (max-width:767px){
	.wpostahs-slider-for-1 .slick-list{margin:0 !important} 
	.wpostahs-centent ul { padding: 0;}
	.wpostahs-centent ul li span {font-size: 14px;   line-height: 20px;}
	figure{display:block !important}
	figure img{display:block !important}
	
} /* end */



@media only screen and (max-width:1024px){
	br{display:none}
}

