/*
Theme Name:  Interico: Child Theme
Theme URI:   http://www.themicart.com/
Description: Child theme for the Interico WordPress Theme. Use it for manipulating the theme files so the core remains original, which is necessary for updates not to override the changes made.
Author:      Themicart
Template:    interico
Version:     1.0.0
*/

/* begin CSS code */

.content-box.service-item.service-box-dark, .content-box.service-item.service-box-dark:hover {
    background: #111;
}
.taxonomy-slider {
            width: 100%;
            margin: 20px 0;
}
.swiper-slide {
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
}
.taxonomy-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}
.taxonomy-terms, .product-list {
	list-style: none;
	padding: 0;
}
.taxonomy-terms li {
	margin-bottom: 5px;
}
.team-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}
.team-member {
	width: 250px;
	text-align: center;
}
.team-photo img {
	width: 100%;
	height: 300px;
    object-fit: cover;
    object-position: top;
}
.team-info {
    background-color: #febd18;
    padding: 10px;
}
.team-info .team-name {
	font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}
.team-info .team-designation {
	font-size: 14px;
    color: #fff;
    margin: 0;
}
.social-media-links {
	font-size: 26px;
	line-height: 1.5;
	display: flex;
    flex-direction: column;
    align-items: center;
	margin-bottom: 20px;
}
.social-media-links p {
    color: #febd18;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    line-height: 1.2;
    margin-top: 30px;
	margin-bottom: 25px;
}
.social-media-links a, .social-media-links span {
	color: #fff;
}
.social-media-links a:hover {
	text-decoration: underline;
}
.contact-info {
	font-size: 24px;
	line-height: 1.6;
	color: #000;
	text-align: center;
}
.contact-info p {
	margin: 5px 0;
}
.contact-info a {
	text-decoration: none;
	color: #000;
}
.contact-info a:hover {
	text-decoration: underline;
}	
.services-grid {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px;
}
.service-card {
    flex: 1 1 calc(20% - 15px); 
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card img {
    width: 100%;
    height: 375px;
    display: block;
    object-fit: cover;
}

.service-name {
    font-size: 18px;
    padding: 10px;
    background-color: #111;
    color: #fff;
}

.services-carousel-wrapper {
	position: relative;
	padding: 30px 0; 
}

.services-carousel-wrapper .swiper {
	width: 100%;
}

.services-carousel-wrapper .swiper-slide {
	max-width: 275px;
	width: 100%; 
	box-sizing: border-box;
	text-align: center; 
}

.services-carousel-wrapper .swiper-pagination {
	position: absolute;
	bottom: -30px; 
	left: 0;
	right: 0;
	text-align: center;
}

.services-carousel-wrapper .swiper-button-next, .services-carousel-wrapper .swiper-button-prev {
	position: absolute;
	top: 50%; 
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.services-carousel-wrapper .swiper-button-prev {
	left: -5px;
}

.services-carousel-wrapper .swiper-button-next {
	right: -5px; 
}

.services-carousel-wrapper .swiper-button-next::after, .services-carousel-wrapper .swiper-button-prev::after {
	font-size: 16px; 
	color: #000; 
}
.services-carousel-wrapper .swiper-slide:not(.swiper-slide-active) {
	opacity: 0;
}

/* Media Queries */

@media(max-width:900px){
    .service-card {
    flex: 1 1 calc(50% - 15px);
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
}
}