.child-page-container {
    width: 100%;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 30px;
}

.section-header.center { text-align: center; }
.section-header.start { text-align: left; }
.section-header.end { text-align: right; }

.tt-services-thumbnail {
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.tt-service-inner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tt-service-img {
    overflow: hidden;
}

.tt-service-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

/* Portfolio grid images */
.tt-portfolio-thumbnail a {
    display: block;
    overflow: hidden;
    position: relative;
}

.tt-portfolio-thumbnail img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.title-content-wrap {
    padding: 20px;
}

.title-content-wrap h4 {
    margin: 0;
    font-size: 18px;
}

.title-content-wrap h4 a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

.title-content-wrap h4 a:hover {
    color: #0073aa;
}

/* Grid Layout */
.row.grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.grid-item {
    padding: 0 15px;
}

.col-md-6 { width: 50%; }
.col-xl-4 { width: 33.333%; }
.col-lg-3 { width: 25%; }

@media (max-width: 991px) {
    .col-xl-4, .col-lg-3 { width: 50%; }
}

@media (max-width: 767px) {
    .col-md-6, .col-xl-4, .col-lg-3 { width: 100%; }
}

/* Swiper overrides if needed */
.child-page-carousel, .services-carousel, .portfolio-carousel {
    padding-bottom: 60px;
    position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none; /* Hide default swiper icons since we use custom SVGs */
}

.swiper-button-next svg,
.swiper-button-prev svg {
    width: 20px;
    height: 20px;
}

.swiper-pagination-bullet-active {
    background: #333;
}
