/* Services Page Styles - Aligned with Homepage Design */


/* Import homepage variables and base styles */
:root {
    --primary-purple: #6905E9;
    --primary-hover: #5b05cc;
    --primary-dimmed: #5105b9;
    --accent-color: #7C01DD;
    --light-accent: #C070FF;
    --secondary-color: #BCBCBC;
    --accent-yellow: #c89700;
    --accent-orange: #fd7e14;
    --accent-blue: #0066CC;
    --accent-green: #28a745;
    --accent-teal: #20c997;
    --primary-gradient: linear-gradient(135deg, #6905E9 0%, #7C01DD 100%);
    --secondary-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --accent-gradient: linear-gradient(135deg, #C070FF 0%, #bf9305 100%);
    --accent-blue-gradient: linear-gradient(135deg, #0066CC 0%, #6905E9 100%);
    --accent-green-gradient: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    --dark-gradient: linear-gradient(135deg, rgba(6, 5, 43, 0.9) 0%, rgba(6, 5, 43, 0.7) 100%);
    --light-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --glass-gradient: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --text-dark: #212529;
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.85);
    --text-muted-dark: rgba(33, 37, 41, 0.7);
    --text-accent: #C070FF;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 15px 50px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(105, 5, 233, 0.3);
    --text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --border-radius: 15px;
    --border-radius-lg: 25px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Services Hero Section */
.services-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(105, 5, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 1, 221, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(192, 112, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.services-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    /* Ensure content stays above floating shapes */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.services-hero .container {
    position: relative;
    z-index: 5;
    height: 100%;
    min-height: 100vh;
}

.services-hero-title {
    color: var(--text-light);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: var(--text-shadow);
    letter-spacing: -0.02em;
}

.services-hero-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.text-gradient-primary {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating Shapes Animation */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    /* Safari optimization */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 8s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { 
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translate3d(0, -10px, 0) rotate(90deg) scale(1.05); 
    }
    50% { 
        transform: translate3d(0, -20px, 0) rotate(180deg) scale(1.1); 
    }
    75% { 
        transform: translate3d(0, -10px, 0) rotate(270deg) scale(1.05); 
    }
}

/* Services Section */
.services-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a1929 100%);
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(105, 5, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(124, 1, 221, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Enhanced Service Cards */
.service-card-enhanced {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.service-card-enhanced:hover::before {
    left: 100%;
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-heavy);
    border-color: rgba(105, 5, 233, 0.3);
}

.service-card-enhanced .icon {
    position: relative;
    z-index: 2;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-enhanced .icon img {
    max-width: 80px;
    height: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.service-card-enhanced:hover .icon img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(105, 5, 233, 0.5));
}

.service-card-enhanced .title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.service-card-enhanced .content {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Large Service Cards (for main services) */
.service-card-large {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.service-card-large:hover::before {
    left: 100%;
}

.service-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-heavy);
    border-color: rgba(105, 5, 233, 0.3);
}

.service-card-large .icon {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-large .icon img {
    max-width: 120px;
    height: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.service-card-large:hover .icon img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(105, 5, 233, 0.5));
}

.service-card-large .title {
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.service-card-large .content {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Horizontal Service Cards */
.service-card-horizontal {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
}

.service-card-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.service-card-horizontal:hover::before {
    left: 100%;
}

.service-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow), var(--shadow-heavy);
    border-color: rgba(105, 5, 233, 0.3);
}

.service-card-horizontal .row {
    width: 100%;
    margin: 0;
    align-items: center;
}

.service-card-horizontal .icon {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.service-card-horizontal .icon img {
    max-width: 80px;
    height: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.service-card-horizontal:hover .icon img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(105, 5, 233, 0.5));
}

.service-card-horizontal .title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    padding: 0;
}

.service-card-horizontal .content {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    padding: 0;
    margin: 0;
}

/* Hover Effects */
.hover-lift {
    transition: var(--transition);
}

/* ===== MARKETING PSYCHOLOGY ENHANCEMENTS ===== */

/* Trust Indicators */
.trust-indicators {
    margin-top: 2rem;
}

.trust-badge {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(105, 5, 233, 0.3);
}

.trust-badge i {
    font-size: 1.1rem;
}

/* Call-to-Action Section */
.cta-section {
    background: linear-gradient(135deg, 
        rgba(105, 5, 233, 0.1) 0%, 
        rgba(192, 112, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(105, 5, 233, 0.02) 0%, 
        rgba(192, 112, 255, 0.01) 50%,
        rgba(255, 255, 255, 0.02) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    color: var(--text-muted);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-benefits {
    margin-top: 1.5rem;
}

.benefit-item {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(5px);
    color: var(--light-accent);
}

.benefit-item i {
    font-size: 1rem;
}

.cta-actions {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    min-width: 200px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-buttons .btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(105, 5, 233, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #5b05cc 0%, #6b01c4 100%);
    box-shadow: 0 6px 20px rgba(105, 5, 233, 0.4);
}

.cta-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-light);
}

.cta-guarantee {
    margin-top: 1rem;
    text-align: center;
}

.guarantee-badge {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.15) 0%, 
        rgba(32, 201, 151, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 25px;
    padding: 0.75rem 1.25rem;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.guarantee-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
    border-color: rgba(40, 167, 69, 0.5);
}

.guarantee-badge i {
    color: #28a745;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.guarantee-badge span {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Urgency Section */
.urgency-section {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.1) 0%, 
        rgba(255, 152, 0, 0.05) 100%);
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    border-bottom: 1px solid rgba(255, 193, 7, 0.2);
    position: relative;
    overflow: hidden;
}

.urgency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 193, 7, 0.05) 50%, 
        transparent 100%);
    animation: urgencyShimmer 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes urgencyShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.urgency-content {
    position: relative;
    z-index: 2;
}

.urgency-title {
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.urgency-text {
    color: var(--text-muted);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.urgency-section .btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: none;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: var(--transition);
}

.urgency-section .btn-warning:hover {
    background: linear-gradient(135deg, #ffb300 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Services Hero Section */
    .services-hero {
        min-height: calc(100vh - 4rem) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding-top: 4rem !important;
    }
    
    .services-hero .container {
        min-height: calc(100vh - 4rem) !important;
    }
    
    /* Safari mobile viewport fix */
    @supports (-webkit-touch-callout: none) {
        .services-hero {
            min-height: calc(-webkit-fill-available - 4rem) !important;
        }
    }
    
    .services-hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services-hero-content {
        padding: 1.5rem;
    }
    
    /* Service Cards */
    .service-card-large {
        padding: 1.5rem;
    }
    
    .service-card-large .icon {
        margin-bottom: 1rem;
    }
    
    .service-card-large .icon img {
        max-width: 60px;
    }
    
    .service-card-large .title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card-large .content {
        font-size: 0.9rem;
    }
    
    .service-card-enhanced {
        padding: 1.5rem;
    }
    
    .service-card-enhanced .icon {
        margin-bottom: 1rem;
    }
    
    .service-card-enhanced .icon img {
        max-width: 50px;
    }
    
    .service-card-enhanced .title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card-enhanced .content {
        font-size: 0.85rem;
    }
    
    .service-card-horizontal {
        padding: 1.5rem;
    }
    
    .service-card-horizontal .icon {
        margin-bottom: 1rem;
    }
    
    .service-card-horizontal .icon img {
        max-width: 40px;
    }
    
    .service-card-horizontal .title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card-horizontal .content {
        font-size: 0.8rem;
    }
    
    /* Trust Indicators */
    .trust-indicators .row {
        justify-content: center;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    /* CTA Section */
    .cta-buttons .btn {
        min-width: auto;
        width: 100%;
    }
    
    .cta-actions {
        text-align: center;
        margin-top: 2rem;
    }
    
    .urgency-section .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }
    
    .guarantee-badge {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }
    
    .guarantee-badge i {
        font-size: 1rem;
    }
    
    /* Scroll Indicator */
    .scroll-indicator {
        margin-top: 1rem !important;
    }
    
    .scroll-mouse {
        width: 25px;
        height: 40px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

@media (max-width: 1200px) {
    .services-hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}


@media (max-width: 576px) {
    .services-hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card-enhanced,
    .service-card-large,
    .service-card-horizontal {
        padding: 1.25rem;
    }
    
    .service-card-horizontal .title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .service-card-horizontal .icon img {
        max-width: 50px;
    }
    
    .service-card-horizontal .content {
        font-size: 0.85rem;
    }
}

/* iPhone 5 and very small screens (320px and below) */
@media (max-width: 375px) {
    .services-hero {
        min-height: calc(100vh - 4rem) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 4rem 1rem 4rem 1rem; /* Top padding for navbar, bottom for scroll indicator */
    }
    
    .services-hero .container {
        min-height: calc(100vh - 4rem) !important;
    }
    
    /* Safari mobile viewport fix */
    @supports (-webkit-touch-callout: none) {
        .services-hero {
            min-height: calc(-webkit-fill-available - 4rem) !important;
        }
    }
    
    .services-hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .services-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-card-enhanced,
    .service-card-large,
    .service-card-horizontal {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card-horizontal .title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .service-card-horizontal .icon img {
        max-width: 40px;
    }
    
    .service-card-horizontal .content {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Fix scroll indicator positioning */
    .scroll-indicator {
        bottom: 1rem !important;
        margin-bottom: 0 !important;
    }
    
    .scroll-mouse {
        width: 25px;
        height: 40px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }
}

/* iPhone 5 specific (320px) */
@media (max-width: 320px) {
    .services-hero {
        min-height: calc(100vh - 4rem) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 4rem 0.5rem 3.5rem 0.5rem;
    }
    
    .services-hero .container {
        min-height: calc(100vh - 4rem) !important;
    }
    
    /* Safari mobile viewport fix */
    @supports (-webkit-touch-callout: none) {
        .services-hero {
            min-height: calc(-webkit-fill-available - 4rem) !important;
        }
    }
    
    .services-hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .services-hero-subtitle {
        font-size: 0.85rem;
        padding: 0 0.25rem;
    }
    
    .service-card-horizontal {
        padding: 0.75rem;
    }
    
    .service-card-horizontal .title {
        font-size: 0.9rem;
    }
    
    .service-card-horizontal .content {
        font-size: 0.75rem;
    }
    
    .service-card-horizontal .icon img {
        max-width: 35px;
    }
    
    .scroll-indicator {
        margin-top: 0.5rem !important;
    }
    
    .scroll-mouse {
        width: 20px;
        height: 35px;
    }
    
    .scroll-text {
        font-size: 0.7rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    z-index: 15;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.scroll-mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-mouse {
    border-color: rgba(255, 255, 255, 0.8);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-wheel {
    background: rgba(255, 255, 255, 0.9);
}

@keyframes scroll {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.5rem;
}

/* Animation Delays for Staggered Effect - Optimized for Speed */
.service-card-enhanced:nth-child(1) { animation-delay: 0s; }
.service-card-enhanced:nth-child(2) { animation-delay: 0.05s; }
.service-card-enhanced:nth-child(3) { animation-delay: 0.1s; }
.service-card-enhanced:nth-child(4) { animation-delay: 0.15s; }
.service-card-enhanced:nth-child(5) { animation-delay: 0.2s; }
.service-card-enhanced:nth-child(6) { animation-delay: 0.25s; }

/* Safari iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    /* Fix Safari viewport height issues */
    .services-hero {
        min-height: calc(100vh - 4rem) !important;
        min-height: calc(-webkit-fill-available - 4rem) !important;
    }
    
    /* Optimize backdrop-filter for Safari */
    .service-card-enhanced,
    .service-card-large,
    .service-card-horizontal {
        -webkit-backdrop-filter: blur(15px);
        backdrop-filter: blur(15px);
        /* Reduce blur intensity on Safari for better performance */
        backdrop-filter: blur(12px);
    }
    
    /* Fix floating shapes rendering */
    .shape {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }
    
    /* Prevent text overlay issues */
    .services-hero-content {
        position: relative;
        z-index: 10;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}
