/* banner css */
section.learning-banner {
    padding-top: 147px;
    margin-top: 140px;
    z-index: 0;
    padding-left: 10px;
    padding-right: 10px;
    background-image: url(/wp-content/uploads/2025/07/Frame-2087326066-2-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 0px;
}
.hero-learning {
   display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1440px;
    margin: auto;

}
.service-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #062135;
    font-family: Plus Jakarta Sans !important;
}
.service-content p {
    font-size: 16px;
    line-height: 24px;
    color: #062135;
    font-weight: 400;
    margin-bottom: 20px;
}
.read-all {
    color: #062135;
    justify-content: center;
    max-width: 75px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: "Plus Jakarta Sans" !important;
    transition: background-color 0.3s ease, color 0.3s ease, border-co . details-sectionlor 0.3s ease;
}
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 0px;
}
p.short-intro {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    background-image: linear-gradient(90deg, #FFFFFF40, #FFFFFF80);
    padding: 15px 26px;
    max-width: fit-content;
}
h1.hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    line-height: 60px;
    margin-bottom: 0px;
}
p.hero-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: #fff;
    line-height: 30px;
    margin: 0;
}
.hero-image img {
    height: 576px;
    margin-bottom: -4px;
    width: 580px;
    object-fit: cover;
}
.hero-image {
    width: 33%;
}
/* 2nd section css */
.details-section {
    background-color: #EBEFF1;
    padding: 64px 10px;
}
.service-animal {
    gap: 64px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: auto;
    background-color: #fff;
    margin-bottom: 25px;
    border-radius: 10px;
}
.service-animal:nth-child(even) {
    flex-direction: row-reverse;
}
.service-animal:nth-child(even) .service-content {
    padding-left: 80px;
    padding-right: 0;
}
.service-image img {
    max-width: 480px !important;
    height: 470px !important;
    object-fit: cover !important;
	border-radius: 10px 0px 0px 10px;
}
.service-content {
    padding-right: 65px;
}
.service-animal:nth-child(even) .service-image img {
    border-radius: 0px 10px 10px 0px;
}
.read-all:hover {
    background-color: transparent;
    color: #C1A783;
    border-color: #C1A783;
}

p.link-more {
    display: none;
}

/* tablet responsive */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
    .hero-learning {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
	h1.hero-title br {
		display: none !important;
	}
	.service-animal:nth-child(even) .service-content {
    padding-left: 20px !important;
    padding-right: 0;
}
	    .service-animal {
        gap: 20px;
        flex-direction: row !important;
        display: flex;
    }
	    .service-animal:nth-child(even) {
        display: flex;
        flex-direction: row-reverse !important;
    }
	.service-content h2 {
    font-size: 20px;
    line-height: 30px;
}
	    .short-intro {
        font-size: 18px !important;
        padding: 12px 15px !important;
    }
	h1.hero-title {
    font-size: 32px;
    line-height: 42px;

}
p.hero-subtitle {
    font-size: 16px;
    line-height: 26px;

}
.hero-image img {
    margin-bottom: 0px;
    width: auto;
    object-fit: cover;
    height: 400px;
}
    .service-image img {
        max-width: 270px !important;
        height: 374px !important;
        object-fit: cover !important;
    }
    .service-content {
        padding-right: 15px;
    }

    .service-content h2 {
        font-size: 24px;
        line-height: 34px;
    }
	.service-content p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
}
	    .service-animal {
        gap: 30px;
    }
	    .hero-image {
        width: 100% !important;
        display: flex;
        justify-content: flex-end;
    }
}
/* mobile responsive css */
@media only screen and (max-width:767px) {
	    .learning-banner {
        padding-top: 10px !important;
			  margin-top: 96px;
}     	.hero-text {
    align-items: center;
}
	h1.hero-title br {
		display: none !important;
	}
	.service-animal:nth-child(even) .service-content {
    padding-left: 16px;
    padding-right: 0;
}
	.post-type-archive-resource 	.hero-learning {
    flex-direction: column !important;
}
	    p.short-intro {
        font-size: 14px;
    }
	    h1.hero-title {
        font-size: 23px;
        line-height: 32px;
			text-align: center
    }
	.service-content h2 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    color: #062135;
    font-family: Plus Jakarta Sans !important;
}
	    p.hero-subtitle {
        font-size: 14px;
        line-height: 24px;
    }
	    .hero-image img {
        max-width: 306px;
        margin-bottom: -4px;
        position: relative;
        right: 0px;
        height: auto;
    }
			.hero-image {
    width: auto;
}
	.details-section {
    background-color: #EBEFF1;
    padding: 16px 16px;
}
	.service-image img {
        max-width: 100% !important;
        height: 362px !important;
        object-fit: cover !important;
		 border-radius: 10px 10px 0px 0px;
    }
	.service-content {
        padding: 0px 16px 16px;
    }
	    .service-animal:nth-child(even) .service-image img {
        border-radius: 10px 10px 0px 0px;
    }
	    .service-animal:nth-child(even) {
        flex-direction: column !important;
    }
	    .service-animal {
        gap: 20px;
        flex-direction: column;
    }
 }