/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
/* Services Section Styles */
#services-wrap {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}
#services-wrap .max-w-7xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    #services-wrap .max-w-7xl {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    #services-wrap .max-w-7xl {
        padding: 0 2rem;
    }
}
/* Tab Container */
#services-wrap .flex.justify-center {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}
#services-wrap .inline-flex.rounded-md.shadow-sm {
    display: inline-flex;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
/* Tab Buttons */
#services-wrap button {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none; /* Remove default outline */
}
#services-wrap button:focus {
    z-index: 10;
    box-shadow: 0 0 0 2px #6366f1; /* Changed from red to purple */
}
#services-wrap #wordpress-tab {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}
#services-wrap #nextjs-tab {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}
/* Tab Active State */
.tab-active {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
}
/* Tab Inactive State */
.tab-inactive {
    background: #f3f4f6;
    color: #4b5563;
}
.tab-inactive:hover {
    background: #e5e7eb;
}
/* Services Grid */
#services-wrap .grid {
    display: grid;
    margin-top: 3rem;
    gap: 2rem;
}
#services-wrap .md\:grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
    #services-wrap .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    #services-wrap .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Service Cards */
.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Icon Container */
.service-card .flex.items-center.justify-center {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    border-radius: 0.375rem;
    background-color: #e0e7ff;
    color: #4f46e5;
}
.service-card .fas {
    font-size: 1.25rem;
}
/* Service Card Content */
.service-card h3 {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: #111827;
}
.service-card p {
    margin-top: 0.5rem;
    color: #6b7280;
}
.service-card a {
    display: inline-block;
    margin-top: 1.5rem;
    color: #4f46e5;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}
.service-card a:hover {
    color: #3730a3;
}
/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-in-out forwards;
}
.animate-delay-1 {
    animation-delay: 0.2s;
}
.animate-delay-2 {
    animation-delay: 0.4s;
}
.animate-delay-3 {
    animation-delay: 0.6s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Hidden state for Next.js services */
.hidden {
    display: none !important;
}
/* Responsive adjustments */
@media (max-width: 767px) {
    #services-wrap .grid {
        grid-template-columns: 1fr;
    }
}

/* Override Hello Elementor theme button styles */
#services-wrap .inline-flex.rounded-md.shadow-sm button,
#services-wrap .inline-flex.rounded-md.shadow-sm button:focus,
#services-wrap .inline-flex.rounded-md.shadow-sm button:hover {
    background-color: inherit !important;
    color: inherit !important;
    text-decoration: none !important;
}

/* Specific styles for active and inactive tabs */
#services-wrap .inline-flex.rounded-md.shadow-sm .tab-active,
#services-wrap .inline-flex.rounded-md.shadow-sm .tab-active:focus,
#services-wrap .inline-flex.rounded-md.shadow-sm .tab-active:hover {
    background: linear-gradient(90deg, #3b82f6, #8b5cf6) !important;
    color: white !important;
}

#services-wrap .inline-flex.rounded-md.shadow-sm .tab-inactive,
#services-wrap .inline-flex.rounded-md.shadow-sm .tab-inactive:focus,
#services-wrap .inline-flex.rounded-md.shadow-sm .tab-inactive:hover {
    background: #f3f4f6 !important;
    color: #4b5563 !important;
}

#services-wrap .inline-flex.rounded-md.shadow-sm .tab-inactive:hover {
    background: #e5e7eb !important;
}