p,a,h1,h2,h3,h4,h5,h6,ul,li {
	margin: 0;
	padding: 0;
}

.section-services {
	font-family: "poppins","sans-sheriff";
	background-color: #fffffc;
	color: #202020;
	padding-top: 75px;
    padding-bottom: 20px;
}

.section-services .header-section {
	margin-bottom: 34px;
	opacity: 0;
	transform: translateY(-30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-services .header-section.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.section-services .header-section .title {
	position: relative;
    padding-bottom: 14px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 40px;
    color: #1C2B78;
}

.section-services .header-section .title:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background-color: rgb(255 102 0);
    border-radius: 3px;
}

.section-services .header-section .title:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
    transform: translateX(30px);
	width: 10px;
	height: 3px;
	background-color: #504f93;
    border-radius: 3px;
}

.section-services .header-section .description {
	color: #45494b;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.section-services .footer-section {
	margin-top: 50px;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out 0.9s, transform 0.8s ease-out 0.9s;
}

.section-services .footer-section.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.section-services .footer-section .description {
	color: #45494b;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.section-services .single-service {
    position: relative;
    margin-top: 30px;
    background-color: rgb(255, 203, 164, 0.2);
    border-radius: 10px;
    padding: 25px 20px;
    overflow: hidden;
    height: 250px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-services .single-service.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Enhanced animation for icon */
.section-services .single-service .icon {
    transition: all 0.3s, transform 0.5s ease-out 0.2s;
    transform: scale(0) rotate(-180deg);
}

.section-services .single-service.animate-in .icon {
    transform: scale(1) rotate(0deg);
}

/* Enhanced animation for title */
.section-services .single-service .title {
    transition: color .3s, opacity 0.6s ease-out 0.3s, transform 0.6s ease-out 0.3s;
    opacity: 0;
    transform: translateX(-20px);
}

.section-services .single-service.animate-in .title {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced animation for description */
.section-services .single-service .description {
    transition: color .3s, opacity 0.6s ease-out 0.4s, transform 0.6s ease-out 0.4s;
    opacity: 0;
    transform: translateX(-20px);
}

.section-services .single-service.animate-in .description {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced animation for learn more link */
.section-services .single-service a {
    transition: color .3s, opacity 0.6s ease-out 0.5s, transform 0.6s ease-out 0.5s;
    opacity: 0;
    transform: translateY(10px);
}

.section-services .single-service.animate-in a {
    opacity: 1;
    transform: translateY(0);
}

.section-services .single-service .content {
	position: relative;
	z-index: 20;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.section-services .single-service .circle-before {
    position: absolute;
    top: 0;
    right: 0px;
    transform: translate(40%, -40%);
    width: 150px;
    height: 150px;
    background-color: rgb(255 102 0);
    border: 6px solid #504f93;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 10;
    transition: all .6s;
}

.section-services .single-service:hover .circle-before {
	width: 100%;
	height: 100%;
	transform: none;
	border: 0;
	border-radius: 0;
	opacity: 1;
	background-color: rgba(255, 204, 153, 0.4);
}

.section-services .single-service .icon {
	display: inline-block;
	margin-bottom: 15px;
    width: 55px;
    height: 55px;
    background-color: rgb(255 102 0);
    border-radius: 5px;
    line-height: 55px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    transition: all .3s;
}

.section-services .single-service:hover .icon {
	background-color: #fff;
	color: rgb(255 102 0);
}

.section-services .single-service .title {
    margin-bottom: 12px;
	font-weight: 700;
    font-size: 18px;
    transition: color .3s;
    min-height: 50px;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

.section-services .single-service:hover .title {
	color: #fff;
}

.section-services .single-service .description {
    margin-bottom: 0;
    font-size: 14px;
    transition: color .3s;
    flex: 1;
    overflow: hidden;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.section-services .single-service:hover .description {
	color: #fff;
}

.section-services .single-service a {
	position: relative;
	font-size: 18px;
    color: #202020;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
    margin-top: auto;
    align-self: flex-start;
}

.section-services .single-service:hover a {
	color: #fff;
}

.section-services .single-service a:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background-color: rgb(255 102 0);
	transition: background-color .3s;
}

.section-services .single-service:hover a:after {
	background-color: #fff;
}

/* Image Wrapper Styles */
.section-services .row.align-items-center {
    align-items: stretch !important;
}

.section-services .row.align-items-center > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.section-services .why-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: stretch;
    padding: 0;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
}

.section-services .why-background-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s ease;
    filter: none;
}

.section-services .why-background-image:hover {
    transform: scale(1.02);
}

.section-services .col-lg-8 .row {
    height: 100%;
}

/* Compact Single Service Styles - No Description */
.section-services .single-service.compact {
    height: 180px;
    padding: 20px 15px;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-services .single-service.compact .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.section-services .single-service.compact .icon {
    margin-bottom: 12px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 22px;
}

.section-services .single-service.compact .title {
    font-size: 15px;
    line-height: 1.5;
    min-height: auto;
    margin-bottom: 0;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-services .single-service.compact .description {
    display: none;
}

/* Enhanced hover effects for compact version */
.section-services .single-service.compact:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    background-color: rgba(224, 130, 35, 0.537);
}

.section-services .single-service.compact:hover .circle-before {
    background-color: rgba(224, 130, 35, 0.537);
}

.section-services .single-service.compact:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

/* Responsive adjustments for compact services */
@media (max-width: 992px) {
    .section-services .single-service.compact {
        height: 160px;
        padding: 18px 12px;
    }
    
    .section-services .single-service.compact .icon {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .section-services .single-service.compact .title {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 768px) {
    .section-services .why-image-wrapper {
        margin-bottom: 30px;
        padding: 0;
        min-height: 300px;
    }
    
    .section-services .why-background-image {
        min-height: 300px;
    }
    
    .section-services .single-service.compact {
        height: 150px;
        padding: 15px 10px;
    }
    
    .section-services .single-service.compact .icon {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .section-services .single-service.compact .title {
        font-size: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media (max-width: 576px) {
    .section-services .single-service.compact {
        height: 140px;
        padding: 12px 8px;
    }
    
    .section-services .single-service.compact .icon {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .section-services .single-service.compact .title {
        font-size: 11px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}
