/* ===== Inner Pages Enhanced Card View Styles ===== */

/* Logo Design Page - Showcase Grid Card View */
.logo-showcase-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.logo-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.metric-label, .metric-value {
    color: #000000;
}

.logo-showcase-section .container {
    position: relative;
    z-index: 10;
}

/* Enhanced Showcase Grid with Card Layout */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

/* Premium Card Design for Showcase Items */
.showcase-item {
    /* Card Foundation with Glass Morphism */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    
    /* Enhanced Shadow System */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    
    /* Layout and Structure */
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    
    /* Animation Properties */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0px) rotateX(0deg);
    opacity: 1;
    will-change: transform;
}

/* Animated Border Gradient */
.showcase-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px 20px 0 0;
}

.showcase-item:nth-child(2)::before {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.showcase-item:nth-child(3)::before {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

/* Card Hover State */
.showcase-item:hover {
    transform: translateY(-15px) scale(1.02) rotateX(-2deg);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 12px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(99, 102, 241, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(99, 102, 241, 0.2);
}

.showcase-item:hover::before {
    transform: scaleX(1);
}

/* Background Pattern Animation */
.showcase-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: -1;
    animation: none;
}

.showcase-item:hover::after {
    opacity: 1;
    animation: cardBackgroundRotate 8s linear infinite;
}

/* Enhanced Icon Wrapper with 3D Effects */
.showcase-icon-wrapper {
    /* Dimensions and Layout */
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    
    /* Gradient Background */
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    
    /* 3D Shadow Effects */
    box-shadow: 
        0 15px 35px rgba(99, 102, 241, 0.3),
        0 5px 15px rgba(99, 102, 241, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    
    /* Animation Properties */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.showcase-item:nth-child(2) .showcase-icon-wrapper {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    box-shadow: 
        0 15px 35px rgba(245, 158, 11, 0.3),
        0 5px 15px rgba(245, 158, 11, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.showcase-item:nth-child(3) .showcase-icon-wrapper {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    box-shadow: 
        0 15px 35px rgba(16, 185, 129, 0.3),
        0 5px 15px rgba(16, 185, 129, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* Icon Wrapper Hover Effects */
.showcase-item:hover .showcase-icon-wrapper {
    transform: scale(1.15) rotateY(15deg) rotateX(-10deg);
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.4),
        0 10px 20px rgba(99, 102, 241, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.showcase-item:nth-child(2):hover .showcase-icon-wrapper {
    box-shadow: 
        0 25px 50px rgba(245, 158, 11, 0.4),
        0 10px 20px rgba(245, 158, 11, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.showcase-item:nth-child(3):hover .showcase-icon-wrapper {
    box-shadow: 
        0 25px 50px rgba(16, 185, 129, 0.4),
        0 10px 20px rgba(16, 185, 129, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

/* Pulsing Glow Ring */
.showcase-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: iconGlowPulse 3s infinite ease-in-out;
}

.showcase-item:nth-child(2) .showcase-icon-wrapper::before {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.showcase-item:nth-child(3) .showcase-icon-wrapper::before {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

/* Showcase Icon Styling */
.showcase-icon {
    font-size: 3.5rem !important;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.showcase-item:hover .showcase-icon {
    transform: scale(1.1) rotateZ(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Enhanced Content Area */
.showcase-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Animated Title with Underline */
.showcase-content h3 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.showcase-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.showcase-item:nth-child(2) .showcase-content h3::after {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.showcase-item:nth-child(3) .showcase-content h3::after {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.showcase-item:hover .showcase-content h3 {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-item:nth-child(2):hover .showcase-content h3 {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-item:nth-child(3):hover .showcase-content h3 {
    background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-item:hover .showcase-content h3::after {
    width: 60px;
}

/* Enhanced Description Text */
.showcase-content p {
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0 0 2.5rem 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
}

.showcase-item:hover .showcase-content p {
    color: #334155;
    transform: translateY(-2px);
}

/* Premium Feature Points */
.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    color: #334155;
    position: relative;
    overflow: hidden;
}

/* Sliding Background Effect */
.feature-point::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.05), 
        transparent);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.feature-point:hover::before {
    left: 100%;
}

.feature-point:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Enhanced Feature Icons */
.feature-point .material-icons {
    font-size: 1.5rem !important;
    color: #06b6d4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 32px;
    height: 32px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-point:hover .material-icons {
    color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
    transform: scale(1.15) rotate(10deg);
}

/* Scroll Animation States */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px) rotateX(15deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
}

/* Staggered Animation Delays */
.showcase-grid .animate-on-scroll:nth-child(1) { 
    transition-delay: 0.1s; 
}
.showcase-grid .animate-on-scroll:nth-child(2) { 
    transition-delay: 0.3s; 
}
.showcase-grid .animate-on-scroll:nth-child(3) { 
    transition-delay: 0.5s; 
}

/* Keyframe Animations */
@keyframes iconGlowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

@keyframes cardBackgroundRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design for Cards */
@media (max-width: 1200px) {
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }
    
    .showcase-item {
        padding: 2.5rem 2rem;
    }
    
    .showcase-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
    
    .showcase-icon {
        font-size: 3rem !important;
    }
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
    
    .showcase-item {
        padding: 2rem 1.5rem;
    }
    
    .showcase-content h3 {
        font-size: 1.625rem;
    }
    
    .showcase-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .logo-showcase-section {
        padding: 4rem 0;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
        padding: 0 0.5rem;
    }
    
    .showcase-item {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: 16px;
    }
    
    .showcase-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1.25rem;
    }
    
    .showcase-icon {
        font-size: 2.5rem !important;
    }
    
    .showcase-content h3 {
        font-size: 1.5rem;
    }
    
    .showcase-content p {
        font-size: 0.95rem;
    }
    
    .feature-point {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .feature-point .material-icons {
        font-size: 1.25rem !important;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .showcase-grid {
        padding: 0;
    }
    
    .showcase-item {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .showcase-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .showcase-icon {
        font-size: 2rem !important;
    }
    
    .showcase-content h3 {
        font-size: 1.375rem;
    }
    
    .showcase-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .showcase-features {
        gap: 0.75rem;
    }
    
    .feature-point {
        padding: 0.625rem 0.875rem;
        gap: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Performance Optimizations */
.showcase-item {
    will-change: transform;
    backface-visibility: hidden;
}

/* High-DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .showcase-item {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.06),
            0 4px 12px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    
    .showcase-item:hover {
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.12),
            0 12px 25px rgba(0, 0, 0, 0.08),
            0 0 0 1px rgba(99, 102, 241, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .showcase-item,
    .showcase-icon-wrapper,
    .showcase-icon,
    .feature-point,
    .feature-point .material-icons,
    .showcase-content h3,
    .showcase-content p {
        transition: none;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .showcase-item::after,
    .showcase-icon-wrapper::before {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .showcase-item {
        background: white;
        border: 1px solid #e2e8f0;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .showcase-icon-wrapper::before,
    .showcase-item::before,
    .showcase-item::after {
        display: none;
    }
}

/* ===== SERVICE PAGE ENTERPRISE ANIMATIONS ===== */

/* Service Hero Section Animation */
.service-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: floatingGradient 8s ease-in-out infinite;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    animation: floatingGradient 10s ease-in-out infinite reverse;
}

/* ===== Hero Component Style (Non-breaking Enhancements) ===== */
/* Decorative gradient layer and soft grid to elevate hero section */
.service-hero::before,
.service-hero::after {
    pointer-events: none;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero .hero-overlay {
    /* optional helper layer if present; does not require markup */
    display: none;
}

.service-hero::selection {
    background: rgba(99,102,241,0.15);
    color: #0f172a;
}

/* Subtle top glow bar */
.service-hero::before {
    box-shadow: 0 -40px 120px rgba(99,102,241,0.12) inset;
}

/* Edge highlights for premium feel */
.service-hero::after {
    box-shadow: 0 60px 160px rgba(6,182,212,0.12) inset;
}

/* Content card polish without changing existing classes */
.service-hero-content, .hire-hero-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(248,250,252,0.85));
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    padding: 2rem;
}

/* Title subtle glow and better legibility */
.service-title, .dashboard-header {
    text-shadow: 0 2px 12px rgba(99,102,241,0.15);
}

/* Badge micro-interactions retained while enhancing contrast */
.service-badge {
    box-shadow: 0 10px 25px rgba(99,102,241,0.15);
}

/* Stats as pill chips */
.service-stats .stat-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 20px rgba(2,6,23,0.08);
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .service-hero-content, .hire-hero-content {
        padding: 1.5rem;
        border-radius: 14px;
    }
}

@media (max-width: 576px) {
    .service-hero {
        padding: 4rem 0;
    }
    .service-hero-content, .hire-hero-content {
        padding: 1.25rem;
        border-radius: 12px;
    }
}

/* Fade In and Slide Up Animation */
.service-hero-content, .hire-hero-content {
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: #6366f1;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    animation: slideInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s backwards;
    transition: all 0.3s ease;
}

.service-badge:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.2);
}

.service-title, .dashboard-header {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s backwards;
}

.service-description {
    font-size: 1.25rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s backwards;
}

/* Stats Animation */
.service-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s backwards;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s backwards;
}

.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
}

/* Service Visual Animation */
.service-visual {
    position: relative;
    opacity: 1; /* ensure section is not hidden */
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

/* ===== Unique Rich UI for service-visual and inner elements (additive) ===== */
/* Scene background with subtle gradient mesh */
.service-visual {
    background: radial-gradient(1200px 600px at 80% -20%, rgba(99,102,241,0.10), transparent 70%),
                radial-gradient(900px 450px at -10% 120%, rgba(6,182,212,0.08), transparent 70%);
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(2,6,23,0.12);
    padding: 1rem;
}

/* Decorative floating orbs */
.service-visual::before,
.service-visual::after {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.25;
    pointer-events: none;
}
.service-visual::before { top: -60px; left: -40px; background: linear-gradient(135deg, #6366f1, #8b5cf6); animation: floatOrb1 12s ease-in-out infinite; }
.service-visual::after { bottom: -60px; right: -40px; background: linear-gradient(135deg, #06b6d4, #6366f1); animation: floatOrb2 14s ease-in-out infinite; }

@keyframes floatOrb1 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(20px, -15px);} }
@keyframes floatOrb2 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(-25px, 20px);} }

/* Inner panels behave like premium cards */
.service-visual .panel,
.service-visual .card,
.service-visual .glass-panel,
.service-visual .article-preview,
.service-visual .blog-showcase,
.service-visual .article-card,
.service-visual .author-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.90));
    border: 1px solid rgba(148,163,184,0.30);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(2,6,23,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
}

/* Image wrappers with gradient rings */
.service-visual .article-image,
.service-visual .author-avatar,
.service-visual .showcase-icon-wrapper {
    position: relative;
}
.service-visual .article-image::after,
.service-visual .author-avatar::after,
.service-visual .showcase-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #06b6d4, #6366f1);
    opacity: 0.18;
    filter: blur(6px);
}

/* Headings with gradient text on hover */
.service-visual h3,
.service-visual h4 {
    transition: color 0.2s ease, transform 0.2s ease;
}
.service-visual h3:hover,
.service-visual h4:hover {
    background: linear-gradient(135deg, #0f172a 0%, #6366f1 60%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-2px);
}

/* Meta chips */
.service-visual .article-category,
.service-visual .sidebar-category,
.service-visual .author-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99,102,241,0.10);
    border: 1px solid rgba(99,102,241,0.25);
    color: #1e293b;
    border-radius: 999px;
    padding: 0.25rem 0.6rem;
}

/* Interactive buttons slight lift */
.service-visual .btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-visual .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(2,6,23,0.12);
}

/* Grid lift on reveal using .visible (already controlled by JS) */
.service-visual [class*="-grid"].visible:not(.dropdown-menu) > * {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Responsive compacting */
@media (max-width: 992px) {
    .service-visual { border-radius: 16px; padding: 0.75rem; }
}
@media (max-width: 576px) {
    .service-visual { border-radius: 12px; padding: 0.5rem; }
}

/* ===== Hero Component Style within service-visual (non-breaking) ===== */
/* Apply the same premium hero polish when hero content is presented inside service-visual */
.service-visual .service-hero {
    position: relative;
    padding: 4.5rem 0; /* keep close to original */
}

.service-visual .service-hero::before,
.service-visual .service-hero::after {
    pointer-events: none;
}

.service-visual .service-hero::before {
    box-shadow: 0 -40px 120px rgba(99,102,241,0.12) inset;
}

.service-visual .service-hero::after {
    box-shadow: 0 60px 160px rgba(6,182,212,0.12) inset;
}

.service-visual .service-hero .container { z-index: 2; position: relative; }

.service-visual .service-hero .service-hero-content, .hire-hero-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(248,250,252,0.85));
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(2,6,23,0.12), inset 0 1px 0 rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    padding: 2rem;
}

.service-visual .service-hero .service-title, .dashboard-header { text-shadow: 0 2px 12px rgba(99,102,241,0.15); }
.service-visual .service-hero .service-badge { box-shadow: 0 10px 25px rgba(99,102,241,0.15); }

.service-visual .service-hero .service-stats .stat-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(148,163,184,0.25);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 8px 20px rgba(2,6,23,0.08);
}

@media (max-width: 992px) {
    .service-visual .service-hero .service-hero-content, .hire-hero-content { padding: 1.5rem; border-radius: 14px; }
}

@media (max-width: 576px) {
    .service-visual .service-hero { padding: 4rem 0; }
    .service-visual .service-hero .service-hero-content, .hire-hero-content { padding: 1.25rem; border-radius: 12px; }
}

/* Service Cards Grid Animation */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.android-service-card,
.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-grid .android-service-card:nth-child(1) { animation-delay: 0.2s; }
.services-grid .android-service-card:nth-child(2) { animation-delay: 0.3s; }
.services-grid .android-service-card:nth-child(3) { animation-delay: 0.4s; }
.services-grid .android-service-card:nth-child(4) { animation-delay: 0.5s; }
.services-grid .android-service-card:nth-child(5) { animation-delay: 0.6s; }
.services-grid .android-service-card:nth-child(6) { animation-delay: 0.7s; }

/* Service Card Hover State */
.android-service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Service Card Top Border Animation */
.android-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.android-service-card:hover::before {
    transform: scaleX(1);
}

/* Service Icon Animation */
.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem !important;
    color: #6366f1;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.android-service-card:hover .service-icon {
    transform: scale(1.15) rotateZ(-10deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

/* Service Card Title */
.android-service-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.android-service-card:hover h4 {
    color: #6366f1;
}

/* Service Features List Animation */
.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.service-features li:before {
    content: '✓';
    color: #06b6d4;
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 20px;
}

/* Timeline Section */
.development-process {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, rgba(99, 102, 241, 0.02) 100%);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

.timeline-step {
    position: relative;
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.process-timeline .timeline-step:nth-child(1) { animation-delay: 0.2s; }
.process-timeline .timeline-step:nth-child(2) { animation-delay: 0.3s; }
.process-timeline .timeline-step:nth-child(3) { animation-delay: 0.4s; }
.process-timeline .timeline-step:nth-child(4) { animation-delay: 0.5s; }
.process-timeline .timeline-step:nth-child(5) { animation-delay: 0.6s; }

.timeline-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.2);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.timeline-step:hover .step-number {
    transform: scale(1.1) rotateZ(10deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.timeline-step:hover .step-content h4 {
    color: #6366f1;
}

/* Package Cards Animation */
.package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:nth-child(1) { animation-delay: 0.2s; }
.package-card:nth-child(2) { animation-delay: 0.4s; }
.package-card:nth-child(3) { animation-delay: 0.6s; }

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.package-card:hover::before {
    transform: scaleX(1);
}

.package-card.featured {
    border-color: rgba(99, 102, 241, 0.2);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
    transform: scale(1.05);
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    padding: 0.5rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.package-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
}

/* ===== UNIVERSAL CARD & GRID STYLES ===== */
/* Apply service-card styles to all *-card variants */
[class*="card"]:not(.showcase-item):not(.timeline-step) {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state for all cards */
[class*="card"]:not(.showcase-item):not(.timeline-step):hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

/* Top border animation for all cards */
[class*="card"]:not(.showcase-item):not(.timeline-step)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
}

[class*="card"]:not(.showcase-item):not(.timeline-step):hover::before {
    transform: scaleX(1);
}

/* Apply showcase-grid styles to all *-grid variants */
[class*="grid"]:not(.dropdown-menu) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Map category/cateogries semantic classes to universal grid/card visuals */
[class*="categories"] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    padding: 1rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(99,102,241,0.04), rgba(6,182,212,0.03));
}

[class*="-category"]:not([class*="categories"]):not(.showcase-item):not(.timeline-step) {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 25px rgba(2, 6, 23, 0.08),
        0 2px 8px rgba(2, 6, 23, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[class*="-category"]:not([class*="categories"]):not(.showcase-item):not(.timeline-step):hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow:
        0 25px 50px rgba(2, 6, 23, 0.18),
        0 8px 20px rgba(2, 6, 23, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    border-color: rgba(99, 102, 241, 0.25);
}

[class*="-category"]:not([class*="categories"]):not(.showcase-item):not(.timeline-step)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px 16px 0 0;
}

[class*="-category"]:not([class*="categories"]):not(.showcase-item):not(.timeline-step):hover::before {
    transform: scaleX(1);
}

/* ===== Enhanced Universal Grid/Card Visuals ===== */
/* Grid container depth, separators, and subtle background */
[class*="grid"]:not(.dropdown-menu) {
    position: relative;
    padding: 1rem;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(99,102,241,0.04), rgba(6,182,212,0.03));
}

/* Grid decorative glow edges */
[class*="grid"]:not(.dropdown-menu)::before,
[class*="grid"]:not(.dropdown-menu)::after {
    content: '';
    position: absolute;
    left: 12px;
    right: 12px;
    height: 1px;
    background: linear-gradient(90deg, rgba(99,102,241,0), rgba(99,102,241,0.25), rgba(99,102,241,0));
}

[class*="grid"]:not(.dropdown-menu)::before { top: -2px; }
[class*="grid"]:not(.dropdown-menu)::after { bottom: -2px; }

/* Card chrome: borders, inner shine, layered shadows */
[class*="-card"]:not(.showcase-item):not(.timeline-step) {
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 10px 25px rgba(2, 6, 23, 0.08),
        0 2px 8px rgba(2, 6, 23, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
}

/* Card header accent line */
[class*="-card"]:not(.showcase-item):not(.timeline-step) .card-header-accent,
[class*="-card"]:not(.showcase-item):not(.timeline-step)::before {
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
}

/* Hover: lift, tilt, glow ring */
[class*="-card"]:not(.showcase-item):not(.timeline-step):hover {
    transform: translateY(-10px) scale(1.015) rotateX(0.5deg);
    box-shadow:
        0 25px 50px rgba(2, 6, 23, 0.18),
        0 8px 20px rgba(2, 6, 23, 0.12),
        0 0 0 1px rgba(99, 102, 241, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* Accent border glow on hover */
[class*="-card"]:not(.showcase-item):not(.timeline-step):hover::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    pointer-events: none;
    background: radial-gradient(120px 60px at 20% 0%, rgba(99,102,241,0.15), transparent 70%),
                radial-gradient(120px 60px at 80% 100%, rgba(6,182,212,0.15), transparent 70%);
}

/* Interactive elements inside cards */
[class*="-card"] .btn,
[class*="-card"] a,
[class*="-card"] .material-icons {
    transition: transform 0.2s ease, filter 0.2s ease;
}
[class*="-card"] .btn:hover,
[class*="-card"] a:hover,
[class*="-card"] .material-icons:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 10px rgba(2, 6, 23, 0.15));
}

/* Subtle 3D tilt on mouse move (paired with JS optional) */
[class*="-card"].tilt {
    transform-style: preserve-3d;
    perspective: 800px;
}
[class*="-card"].tilt .tilt-layer {
    transform: translateZ(20px);
}

/* Zebra row style support inside cards */
[class*="-card"] .zebra-list > li:nth-child(odd) {
    background: rgba(99,102,241,0.06);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
}

/* Grid item stagger & scale-in */
[class*="grid"]:not(.dropdown-menu) > * {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[class*="grid"].visible:not(.dropdown-menu) > * {
    transform: translateY(0) scale(1);
    opacity: 1;
}
[class*="grid"].visible:not(.dropdown-menu) > *:nth-child(1) { transition-delay: 0.06s; }
[class*="grid"].visible:not(.dropdown-menu) > *:nth-child(2) { transition-delay: 0.12s; }
[class*="grid"].visible:not(.dropdown-menu) > *:nth-child(3) { transition-delay: 0.18s; }
[class*="grid"].visible:not(.dropdown-menu) > *:nth-child(4) { transition-delay: 0.24s; }
[class*="grid"].visible:not(.dropdown-menu) > *:nth-child(5) { transition-delay: 0.30s; }
[class*="grid"].visible:not(.dropdown-menu) > *:nth-child(6) { transition-delay: 0.36s; }

/* Staggered Animation Delays for Grid Items */
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(1) { animation-delay: 0.2s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(2) { animation-delay: 0.3s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(3) { animation-delay: 0.4s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(4) { animation-delay: 0.5s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(5) { animation-delay: 0.6s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(6) { animation-delay: 0.7s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(7) { animation-delay: 0.8s; }
[class*="grid"]:not(.dropdown-menu) > [class*="card"]:nth-child(8) { animation-delay: 0.9s; }

/* Icon styles for all cards */
[class*="card"] .service-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem !important;
    color: #6366f1;
    margin-bottom: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

[class*="card"]:hover .service-icon {
    transform: scale(1.15) rotateZ(-10deg);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

/* Card title styles */
[class*="card"] h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

[class*="card"]:hover h4 {
    color: #6366f1;
}

/* Card description text */
[class*="card"] p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Feature list styles for all cards */
[class*="card"] ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

[class*="card"] li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

[class*="card"] li:before {
    content: '✓';
    color: #06b6d4;
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 20px;
}

[class*="card"]:hover li {
    color: #334155;
    transform: translateX(4px);
}

.price {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* CTA Section Animation */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.btn.btn-outline-primary {
    border:1px solid;
}
.cta-section .btn.btn-outline-primary {
    background-color: #FFFFFF;
    color: blue;
    background: linear-gradient(135deg, var(--bs-gray-50) 0%, #ffffff 100%);
}
.cta-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s backwards;
}
 
/* Keyframe Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes floatingGradient {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-30px) translateX(20px);
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section Headers with Animation */
.section-header {
    opacity: 0;
    animation: fadeInSlideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #0f172a;
}

.text-gradient-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-secondary {
    background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Grid Adjustments for Universal Selectors */
@media (max-width: 1200px) {
    [class*="grid"]:not(.dropdown-menu) {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    [class*="grid"]:not(.dropdown-menu) {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    [class*="card"]:not(.showcase-item):not(.timeline-step) {
        padding: 2rem 1.5rem;
    }
    
    [class*="card"] h4 {
        font-size: 1.375rem;
    }
}

@media (max-width: 768px) {
    [class*="grid"]:not(.dropdown-menu) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    [class*="card"]:not(.showcase-item):not(.timeline-step) {
        padding: 2rem 1.5rem;
    }
    
    [class*="card"] .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem !important;
        margin-bottom: 1.25rem;
    }
    
    [class*="card"] h4 {
        font-size: 1.25rem;
    }
    
    [class*="card"] p {
        font-size: 0.95rem;
    }
    
    [class*="card"] li {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    [class*="grid"]:not(.dropdown-menu) {
        gap: 1rem;
    }
    
    [class*="card"]:not(.showcase-item):not(.timeline-step) {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    [class*="card"] .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem !important;
    }
    
    [class*="card"] h4 {
        font-size: 1.125rem;
    }
    
    [class*="card"] p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    [class*="card"] li {
        font-size: 0.85rem;
        padding: 0.375rem 0;
    }
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
    .service-title, .dashboard-header {
        font-size: 2.25rem;
    }
    
    .service-description {
        font-size: 1.05rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.875rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-hero::before,
    .service-hero::after,
    .service-hero-content,
    .hire-hero-content,
    .service-badge,
    .service-title,
    .dashboard-header,
    .android-service-card,
    .timeline-step,
    .package-card,
    .cta-content,
    .scroll-animate {
        animation: none !important;
        transition: none !important;
        opacity: 1;
        transform: none;
    }
}