/* ========================================
   Services Page - Modern Premium Design
   ======================================== */

/* Hero Section */
.services-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #122A54 0%, #122A54 50%, #122A54 100%);
    overflow: hidden;
}
.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
       radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.55) 0%, #00000096 50%), radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.63) 0%, #000000c9 50%), url("https://gsvglobal.in/images/service.png");
    pointer-events: none;
    background-repeat: no-repeat;
  background-size: cover;
}

.services-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.services-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4FC13C;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.services-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.services-hero-title span {
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.services-hero-breadcrumb {
    color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.875rem;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.services-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.services-hero-breadcrumb a:hover {
    color: #1762BE;
}

.services-hero-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.3);
}

.services-hero-breadcrumb .current {
    color: white;
    font-weight: 500;
}

/* Category Filter Section */
.services-filter-section {
    padding: 32px 0;
    background: white;
    border-bottom: 1px solid #f1f5f9;
    /* position: sticky; */
    /* top: 72px; */
    z-index: 100;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
}

.services-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.filter-pill:hover {
    color: #1762BE;
    border-color: #1762BE;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 146, 210, 0.2);
}

.filter-pill.active {
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(14, 146, 210, 0.35);
}

.filter-pill.active::before {
    opacity: 1;
}

.filter-pill .count {
    font-size: 0.75rem;
    opacity: 0.8;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
}

.filter-pill.active .count {
    background: rgba(255, 255, 255, 0.2);
}

/* Services Grid Section with Pattern */
.services-grid-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.services-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%230e92d2' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Service Card - Premium Design */
.service-card-modern {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 10px 20px -4px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248,250,252,0.6) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

/* Gradient border effect on hover */
.service-card-modern::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 50%, #1762BE 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 24px 48px -12px rgba(14, 146, 210, 0.25),
        0 12px 24px -8px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-card-modern.featured {
    /* border-color: #f59e0b;
    box-shadow: 0 0 0 3px #f59e0b, 
                0 20px 40px -12px rgba(245, 158, 11, 0.2); */
}

.service-card-modern.featured:hover {
    /* box-shadow: 0 0 0 3px #f59e0b, 
                0 24px 48px -12px rgba(245, 158, 11, 0.35); */
}

.service-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    z-index: 1;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 146, 210, 0.1), rgba(33, 139, 21, 0.1));
}

.service-card-image-placeholder i {
    font-size: 56px;
    color: #1762BE;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.service-card-modern:hover .service-card-image-placeholder i {
    color: #1762BE;
    opacity: 0.9;
    transform: scale(1.1);
}

.service-card-image-placeholder svg {
    color: #1762BE;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.service-card-modern:hover .service-card-image-placeholder svg {
    color: #1762BE;
    opacity: 0.9;
    transform: scale(1.1);
}

.service-card-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.badge-featured {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.badge-category {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #1762BE;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}

.service-card-modern:hover .service-card-content {
    color: white;
}

.service-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #122A54;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.5s ease;
}

.service-card-modern:hover .service-card-title {
    color: #1762BE;
}

.service-card-title a {
    color: inherit;
    text-decoration: none;
}

.service-card-description {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    transition: color 0.5s ease;
}

.service-card-modern:hover .service-card-description {
    color: #475569;
}

.service-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.service-card-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 0.875rem;
    margin-bottom: 8px;
    transition: color 0.5s ease;
}

.service-card-modern:hover .service-card-features li {
    color: #475569;
}

.service-card-features li:last-child {
    margin-bottom: 0;
}

.service-card-features li svg {
    width: 18px;
    height: 18px;
    color: #4FC13C;
    flex-shrink: 0;
    transition: color 0.5s ease;
}

.service-card-modern:hover .service-card-features li svg {
    color: #4FC13C;
}

.service-card-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.service-card-action:hover::before {
    left: 100%;
}

.service-card-modern:hover .service-card-action {
    background: white;
    color: #1762BE;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-card-action svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.service-card-action:hover svg {
    transform: translateX(4px);
}

/* Empty State */
.services-empty {
    text-align: center;
    padding: 100px 20px;
    color: #64748b;
    grid-column: 1 / -1;
}

.services-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.services-empty h3 {
    font-size: 1.75rem;
    color: #122A54;
    margin-bottom: 12px;
}

.services-empty p {
    font-size: 1rem;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Pagination */
.services-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* CTA Section */
.services-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #122A54 0%, #122A54 100%);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 146, 210, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(54, 179, 126, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.services-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-cta-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.services-cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.services-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #1762BE 0%, #4FC13C 100%);
    color: white;
    font-weight: 700;
    font-size: 1.0625rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(14, 146, 210, 0.4);
    position: relative;
    overflow: hidden;
}

.services-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.services-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(14, 146, 210, 0.5);
}

.services-cta-btn:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .services-hero {
        padding: 80px 0 50px;
    }
    
    .services-cta-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        padding: 100px 0 40px;
    }
    
    .services-hero-title {
        font-size: 1.875rem;
    }
    
    .services-filter-section {
        padding: 20px 0;
        top: 64px;
    }
    
    .filter-pill {
        padding: 8px 18px;
        font-size: 0.875rem;
    }
    
    .services-grid-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .service-card-content {
        padding: 24px;
    }
    
    .service-card-title {
        font-size: 1.25rem;
    }
    
    .services-cta {
        padding: 80px 20px;
    }
    
    .services-cta-title {
        font-size: 1.875rem;
    }
    
    .services-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .services-hero-title {
        font-size: 1.625rem;
    }
    
    .services-hero-subtitle {
        font-size: 1rem;
    }
    
    .filter-pill {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }
    
    .service-card-image {
        aspect-ratio: 16 / 9;
    }
    
    .service-card-title {
        font-size: 1.125rem;
    }
    
    .service-card-description {
        font-size: 0.875rem;
    }
    
    .services-cta-title {
        font-size: 1.5rem;
    }
    
    .services-cta-text {
        font-size: 1rem;
    }
}
