:root {
    --primary-color: #ee0a12;
    --secondary-color: #dd6e34;
    --third-color: #35a5d5;
    --white-color: #fff;
    --black-color: #000000;
}

.service-card {
    background: var(--white-color);
    border-radius: 20px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    border: 2px solid var(--primary-color) !important;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px !important;
}

.service-icon {
    background: var(--secondary-color) !important;
    padding: 10px 14px;
    border-radius: 0 4px 4px 0;
    color: var(--white-color);
    display: inline-block;
}

.service-body {
    padding: 20px;
}

.service-body h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 10px;
}

.service-body a {
    text-decoration: none;
    font-weight: 600;
    color: var(--black-color);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.service-body a:hover {
    color: var(--secondary-color);
}

.service-footer {
    padding: 15px 20px;
    background: #f5f6f7;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.575) !important;
    border-radius: 20px !important;
}

.service-footer span {
    font-size: 20px;
    opacity: 0.5;
}

/* Responsive tweak */
@media (max-width: 767px) {
    .service-card img {
        height: 180px;
    }
}

.design-section {
    position: relative;
    background: url('https://img.freepik.com/premium-photo/illustration-cool-air-flow-from-air-conditioner-symbolizing-clean-fresh-environment_464863-12539.jpg?semt=ais_hybrid&w=740&q=80') center/cover no-repeat;
    color: var(--white-color);
    padding: 80px 0;
}

.design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.781);
    z-index: 1;
}

.design-content {
    position: relative;
    z-index: 2;
}

.design-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white-color);
}

.design-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e8e8e8;
    margin-top: 15px;
}

.image-collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.image-collage img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.image-collage img:nth-child(3) {
    grid-column: 1 / span 2;
    height: 100%;
}

.image-collage img:nth-child(1),
.image-collage img:nth-child(2) {
    height: 100%;
}

@media (max-width: 991px) {
    .design-section {
        padding: 60px 0;
    }

    .design-title {
        font-size: 1.8rem;
    }

    .image-collage img:nth-child(1),
    .image-collage img:nth-child(2) {
        height: 1005;
    }

    .image-collage img:nth-child(3) {
        height: 100%;
    }
}

@media (max-width: 767px) {
    .image-collage {
        margin-bottom: 30px;
    }
}

.client-section {
    position: relative;
    overflow: hidden;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.nav-pills .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary-color) !important;
    border-radius: 50px;
    color: var(--primary-color);
    background: var(--white-color);
    transition: all 0.4s ease;
    padding: 10px 20px;
    font-weight: 600;
}

.nav-pills .nav-link .tab-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--third-color));
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(54, 112, 154, 0.3);
}

.nav-pills .nav-link.active .tab-icon,
.nav-pills .nav-link:hover .tab-icon {
    border-color: var(--white-color);
    transform: rotate(10deg);
}

/* Client Logos */
.client-logo {
    width: 100%;
    max-width: 100%;
    transition: all 0.4s ease;
    /* filter: grayscale(100%); */
    /* opacity: 0.8; */
    border-radius: 10px;
    box-shadow: 0px 0px 5px 0.5px #000000e3;
}

.client-logo:hover {
    /* filter: grayscale(0); */
    transform: scale(1.1);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-pills .nav-link {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .tab-icon {
        width: 35px;
        height: 35px;
    }

    .client-logo {
        max-width: 100%;
    }
}

