/* Kerala SEO services strip — internal links UI */

.kerala-services {
    padding: 5rem 1.5rem 5.5rem !important;
    background: linear-gradient(180deg, #fff 0%, #faf8f5 35%, #fff 100%) !important;
    border-top: 1px solid rgba(230, 122, 34, 0.12) !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.kerala-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e67a22, transparent);
    border-radius: 2px;
}

.kerala-services::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(230, 122, 34, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.kerala-services .section-heading,
.kerala-services .small-heading {
    position: relative;
    z-index: 1;
}

.kerala-services-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.kerala-services-intro span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(230, 122, 34, 0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #c45f10;
    box-shadow: 0 2px 8px rgba(26, 26, 46, 0.05);
}

.kerala-services-intro i {
    font-size: 0.95rem;
}

.kerala-services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    text-align: left;
    position: relative;
    z-index: 1;
}

.kerala-service-link {
    display: flex !important;
    align-items: center;
    gap: 1rem !important;
    padding: 1.1rem 1.15rem !important;
    background: #fff !important;
    border: 1px solid rgba(26, 26, 46, 0.08) !important;
    border-radius: 14px !important;
    color: #1a1a2e !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.06) !important;
    position: relative;
    overflow: hidden;
}

.kerala-service-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e67a22, #f4a261);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.kerala-service-link:hover {
    border-color: rgba(230, 122, 34, 0.35) !important;
    color: #1a1a2e !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 32px rgba(230, 122, 34, 0.12) !important;
}

.kerala-service-link:hover::before {
    transform: scaleY(1);
}

.kerala-link-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 122, 34, 0.1);
    color: #e67a22;
    border-radius: 12px;
    font-size: 1.2rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.kerala-service-link:hover .kerala-link-icon {
    background: #e67a22;
    color: #fff;
}

.kerala-link-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.kerala-link-title {
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #1a1a2e;
}

.kerala-link-meta {
    font-size: 0.72rem;
    font-weight: 600;
    color: #e67a22;
    text-transform: capitalize;
}

.kerala-link-arrow {
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #e67a22;
    opacity: 0.5;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.kerala-service-link:hover .kerala-link-arrow {
    opacity: 1;
    transform: translate(3px, -3px);
}

/* Hide legacy direct icon on link */
.kerala-service-link > i.ri-arrow-right-circle-line {
    display: none;
}

.kerala-services-quick-wrap {
    max-width: 1180px;
    margin: 2.25rem auto 0;
    padding: 1.5rem 1.25rem;
    background: #fff;
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 26, 46, 0.05);
    position: relative;
    z-index: 1;
}

.kerala-services-quick-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5c5c7a;
    margin: 0 0 1rem;
}

.kerala-services-quick {
    text-align: center !important;
    margin-top: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.6rem !important;
}

.kerala-services-quick a {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    color: #1a1a2e !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 0.55rem 1rem !important;
    border-radius: 999px !important;
    background: #faf8f5 !important;
    border: 1px solid rgba(230, 122, 34, 0.2) !important;
    font-size: 0.85rem !important;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease !important;
}

.kerala-services-quick a:hover {
    background: linear-gradient(135deg, #e67a22, #f4a261) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-2px);
}

.kerala-services-quick a i {
    font-size: 1rem;
    color: #e67a22;
    transition: color 0.25s ease;
}

.kerala-services-quick a:hover i {
    color: #fff;
}

.kerala-services-cta {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.kerala-services-cta p {
    color: #5c5c7a;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.kerala-services-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 576px) {
    .kerala-services {
        padding: 3.5rem 1rem !important;
    }

    .kerala-services-grid {
        grid-template-columns: 1fr !important;
    }

    .kerala-service-link {
        padding: 1rem !important;
    }
}
