/* Who We Serve Section - Ultra Compact Row Layout (Button Removed) */
.service-visa-section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.service-visa-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; 
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.service-visa-items {
    background-color: transparent;
    padding: 20px 25px; /* Slightly adjusted for better balance without button */
    transition: all 0.3s ease-in-out;
    border-right: 1px solid #e5e5e5;
    position: relative;
    z-index: 1;
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    text-align: left; 
    gap: 20px;
    min-height: auto;
}

/* Remove right border for the last item in each row */
.service-visa-items:nth-child(3n) {
    border-right: none;
}

/* Add bottom border to the first row items */
.service-visa-items:nth-child(-n+3) {
    border-bottom: 1px solid #e5e5e5;
}

.service-visa-items::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.service-visa-items:hover::before {
    height: 100%;
}

/* Number Circle - Left Side */
.service-visa-items .number {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background-color: rgba(225, 56, 51, 0.1);
    color: var(--theme);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px; /* Increased from 16px */
    font-weight: 800;
    transition: all 0.3s;
    margin: 0;
}

/* Theme Colors */
.service-visa-items.color-blue .number {
    background-color: rgba(0, 72, 180, 0.1);
    color: var(--theme-2);
}

.service-visa-items.color-black .number {
    background-color: rgba(21, 26, 38, 0.1);
    color: var(--header);
}

.service-visa-items:hover .number {
    background-color: var(--theme);
    color: #fff;
    transform: scale(1.05);
}
.service-visa-items.color-blue:hover .number { background-color: var(--theme-2); }
.service-visa-items.color-black:hover .number { background-color: var(--header); }

/* Text Content - Right Side */
.service-visa-items .item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-visa-items .item-content h3 {
    margin-bottom: 4px;
}

.service-visa-items .item-content h3 a {
    font-size: 20px; /* Increased from 18px */
    font-weight: 700;
    color: var(--header);
    transition: all 0.3s;
}

.service-visa-items:hover .item-content h3 a {
    color: var(--theme); 
}

.service-visa-items.color-blue:hover .item-content h3 a { color: var(--theme-2); }
.service-visa-items.color-black:hover .item-content h3 a { color: var(--header); }

.service-visa-items .item-content p {
    margin-bottom: 0; /* Removed bottom margin since button is gone */
    font-size: 15px; /* Increased from 13.5px */
    line-height: 1.4;
    color: var(--text);
    padding-right: 10px;
}

/* Responsive */
@media (max-width: 1199px) {
    .service-visa-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .service-visa-wrapper {
        grid-template-columns: 1fr;
    }
    .service-visa-items {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }
}
