﻿/***********************
* About
***********************/
.about-section{
	padding-top: 60px;
	padding-bottom: 107px;
}
@media (max-width: 991px) {
	.about-section{
		padding-top: 70px;
		padding-bottom: 70px;
	}
}
.about-image {
	display: inline-flex;
}
.about-image .img-one {
	position: relative;
	top: -140px;
}
@media (max-width: 1399px) {
	.about-image .img-one{
		top: 0px;
	}
}
.about-image .img-one:before{
	content: '';
	position: absolute;
	border-bottom: 10px solid var(--thm-primary);
	width: 100%;
	height: 10px;
	top: calc(100% + 10px);
}
@media(max-width:575px){
	.about-image .img-one:before{
		display: none;
	}
}
.about-image .img-one .sign-text{
	position: absolute;
	bottom: 5px;
	color: var(--thm-primary);
	font-size: 54px;
	font-family: var(--thm-special-font);
	white-space: nowrap;
	right: 25px;
}
@media(max-width: 575px){
	.about-image .img-one .sign-text{
		display: none;
	}
}
.about-image-caption {
	position: absolute;
	background-color: #fff;
	padding: 10px;
	left: 0;
	top: 46%;
	transform: translate(-50%,-50%);
	box-shadow: 0 0 50px 0 rgb(0 0 0 / 12%)
}
@media (max-width: 1200px){
	.about-image-caption{
		display: none;
	}
}
.about-image-caption::before {
	content: '';
	position: absolute;
	top: calc(100% - 10px);
	width: 0;
	left: 30px;
	height: 0;
	border-style: solid;
	border-width: 40px 75px 0 0;
	box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.07);
	border-color: #fff transparent transparent transparent;
}
.about-image-caption-inner {
	position: relative;
	border: 4px solid var(--thm-primary);
	padding: 27px;
	display: flex;
	align-items: center;
}
@media (max-width: 1399px) {
	.about-image-caption-inner{
		display: none;
	}
}
.about-image-caption-inner::before {
	content: '';
	position: absolute;
	top: 100%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 25px 45px 0 0;
	border-color: var(--thm-primary) transparent transparent transparent;
}
.about-image-caption-inner::after {
	content: '';
	position: absolute;
	top: calc(100% - 1px);
	width: 0;
	left: 30px;
	height: 0;
	border-style: solid;
	border-width: 20px 36px 0 0;
	border-color: #fff transparent transparent transparent;
}
.about-caption-number {
	font-size: 50px;
	margin-right: 10px;
	line-height: 1;
	color: var(--thm-black);
	font-weight: 800;
}
.about-caption-text {
	font-size: 18px;
	line-height: 1.22;
	font-weight: 500;
}
.about-image .img-two {
	position: relative;
	margin-left: 30px;
	display: inline-block;
}
.about-image .img-two .floated-image{
	position: absolute;
	right: -50px;
	top: 73px;
	overflow: hidden;
	animation: mover 2s infinite  alternate;
}
@media (max-width: 575px){
	.about-image .img-two .floated-image{
		display: none;
	}
}
.about-image .img-two img {
	position: relative;
}
.about-inner{
	padding-left: 60px;
	padding-top: 53px;
}
@media(max-width: 1399px){
	.about-inner{
		padding-top: 13px;
	}
}
@media (max-width: 991px) {
	.about-inner{
		padding-top: 120px;
		padding-bottom: 50px;
	}
}
@media (max-width: 575px) {
	.about-inner{
		padding-top: 50px;
		padding-bottom: 50px;
	}
}
.about-section .section-title-box{
	margin-bottom: 40px;
}
.about-inner .section-tagline{
	margin-bottom: 4px;
}
.about-inner .section-title{
	margin-bottom: 30px;
}
.about-card{
	margin-bottom: 36px;
}
.about-card .about-title{
	font-size: 18px;
}
@media(max-width: 767px){
	.about-card{
		margin-bottom: 30px;
	}
}
.about-title i{
	font-size: 18px;
	color: var(--thm-primary);
	display: inline-block;
	margin-right: 10px;
}
.about-text {
	margin-bottom: 0;
}
.about-author-box{
	display: flex;
	align-items: center;
}
.about-author-image{
	border-left: 5px solid var(--thm-primary);
}
.about-author-image img{
	border-radius: 50%;
	border: 1px solid var(--thm-gray);
	padding: 10px 10px;
	margin-left: 10px;
}
.about-author-box-meta{
	margin-left: 20px;
}
.about-author-box-meta h5{
	margin: 0;
	font-size: 16px;
	font-family: var(--thm-font);
	color: var(--thm-black);
}
.about-author-box-meta span{
	font-size: 16px;
	color: var(--thm-gray);
	font-family: var(--thm-font);
}
.about-one-section{
	padding-top: 120px;
	padding-bottom: 120px;
}
@media(max-width: 1199px){
	.about-one-section{
		padding: 70px 0px;
	}
}
.about-one-inner{
	margin-top: 14px;
	margin-right: 30px;
}
.about-one-inner h2{
	margin-bottom: 35px;
}
.about-one-inner-text{
	margin-top: 30px;
	font-size: 18px;
	line-height: 30px;
	margin-bottom: 43px;
}
.about-one-card{
	display: flex;
	align-items: center;
}
.about-one-card-number{
	height: 60px;
	width: 60px;
	line-height: 60px;
	text-align: center;
	border-radius: 50%;
	background-color: var(--thm-primary);
	color: var(--thm-white);
	flex-shrink: 0;
}
.about-one-card-content h5{
	margin-left: 15px;
	margin-right: 45px;
	margin-bottom: 0;
}
.about-one-image {
	position: relative;
}
@media(max-width: 1199px){
.about-one-image .img-fluid{
	width: 100%;
	}
}
.about-one-image .floated-image-one{
	position: absolute;
    left: -101px;
    bottom: -84px;
    z-index: -1;
    transition: all 500ms ease;
	animation: fadeInRight 3s ease-in-out;
    transform: rotateX(45deg);
}
@media(max-width: 991px){
	.about-one-image .floated-image-one{
		display: none;
	}
}
.about-two{
	padding-top: 120px;
}
.about-two-section{
	padding-bottom: 120px;
}
@media(max-width: 1199px){
	.about-two-section{
		padding-bottom: 70px;
	}
}
.about-two-image {
	display: inline-flex;
	position: relative;
}
.about-two-image .about-two-image-inner {
	position: relative;
}
.about-two-image .img-one .floated-image {
	right: 100%;
	top: 40px;
	position: absolute;
	animation: mover 2s infinite  alternate;
}
.about-two-image .img-one .sign-text{
	position: absolute;
	bottom: 70px;
	color: var(--thm-primary);
	font-size: 60px;
	font-family: var(--thm-special-font);
	white-space: nowrap;
	left: 50%;
	transform: skewY(-20deg);
	z-index: 1;
}
.about-two-image .img-two .mayor-image{
	position: absolute;
	left: -17px;
	top: 5px;
}
.about-two-image .img-two img {
	position: relative;
	margin-left: -120px;
	top: 70px;
}
.about-two-service-video{
	position: absolute;
	right: 40px;
	top: 20px;
}
.about-two-service-video a{
	background-color: var(--thm-black);
	color: var(--thm-primary);
	display: flex;
	width: 80px;
	height: 80px;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
	animation: ripple 2000ms infinite;
}
.about-two-service-video a:hover {
	background-color: var(--thm-primary);
	color: #fff;
}
.about-two-service-video a:before,
.about-two-service-video a:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 1);
	animation: ripple 2000ms infinite;
}
.about-two-service-video a:before{
	animation-delay: 1000ms;
}
.about-two-service-video a:after {
	animation-delay: 500ms;
}
.about-two-inner {
	padding-left: 60px;
	padding-top: 20px;
}
@media (max-width: 1399px) {
 .about-two-inner{
		margin-left: 30px;
	}
}
@media (max-width: 1199px) {
 .about-two-inner{
		margin-left: 0px;
		padding-left: 0px;
	}
}
@media (max-width: 991px) {
 .about-two-inner{
		margin: 0;
		padding: 0;
	}
}
.about-two-inner .section-tagline{
	margin-bottom: 10px;
}
.about-two-content{
	display: flex;
	align-items: center;
	padding: 17px 20px;
	box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.12);
	color: var(--thm-black);
}
.about-two-content i{
	font-size: 18px;
	color: var(--thm-primary);
	display: inline-block;
	margin-right: 15px;
}
.about-two-content h4 {
	font-size: 18px;
	margin-bottom: 0;
}
.about-two-text{
	margin-top: 35px;
}
.about-two-text-inner-one p{
	color: var(--thm-primary);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 30px;
	line-height: 1.5;
}
.about-two-text p {
	margin-bottom: 30px;
	line-height: 1.875;
}
.about-two-author-content {
	display: flex;
	align-items: center;
}
@media(max-width:1399px){
	.about-two-author-content{
		display: block;
	}
}
@media (max-width: 575px){
	.about-two-author-content{
		flex-wrap: wrap;
	}
}
.about-two-author-content-box{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
@media(max-width: 1399px){
	.about-two-author-content-box{
		margin-bottom: 20px;
	}
}
.about-two-author-content-icon i{
	font-size: 20px;
	height: 50px;
	width: 50px;
	background-color: var(--thm-primary);
	color: var(--thm-white);
	border-radius: 50%;
	text-align: center;
	line-height: 50px;
}
.about-two-author-content-contact{
	margin-left: 15px;
}
.about-two-author-content-contact h5{
	color: var(--thm-black);
	margin-bottom: 3px;
	font-size: 16px;
}
.about-two-author-content-contact a {
	color: var(--thm-gray);
	font-size: 17px;
}
.about-two-author-content-contact a:hover {
	color: var(--thm-primary);
}
.about-two-author-content-socials{
	margin-left: 60px;
}
@media (max-width: 1399px) {
 .about-two-author-content-socials{
		margin-left: 0px;
	}
}
@media (max-width: 500px) {
 .about-two-author-content-socials{
		margin-top: 30px;
	}
}
.about-two-author-content-socials a{
	height: 40px;
	width: 40px;
	line-height: 40px;
	display: inline-block;
	border-radius: 50%;
	margin: 0px 10px;
	text-align: center;
	background-color: var(--thm-light-bg);
	color: var(--thm-black);
}
.about-two-author-content-socials a:hover{
	background-color: var(--thm-primary);
	color: var(--thm-white);
}

/* Ministries Page Styles */
.ministries-grid-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.ministry-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.ministry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.ministry-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.ministry-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ministry-card:hover .ministry-card-image img {
    transform: scale(1.1);
}

.ministry-card-label {
    padding: 20px;
    text-align: center;
}

.ministry-card-label h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.ministry-card:hover .ministry-card-label h4 {
    color: var(--thm-primary-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .ministries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .ministries-grid {
        grid-template-columns: 1fr;
    }
}
