/* Premium Services Page - Professional & Disciplined Design */

/* ========== HD RENDERING OPTIMIZATION ========== */
.safa-services-hero,
.safa-services-hero * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ============================================
   HERO SECTION - CINEMATIC INTRO
   ============================================ */
.safa-services-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

/* Background Image */
.safa-services-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    animation: safaServicesHeroZoom 20s ease-in-out infinite;
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.1) saturate(1.2);
    will-change: transform;
}

@keyframes safaServicesHeroZoom {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Overlay - Gold gradient overlay - Same as contact page */
.safa-services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(202, 165, 109, 0.4) 0%, 
        rgba(30, 30, 30, 0.5) 50%,
        rgba(202, 165, 109, 0.3) 100%);
    z-index: 2;
    animation: safaServicesOverlayPulse 8s ease-in-out infinite;
}

@keyframes safaServicesOverlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* Additional Background Effects */
.safa-services-hero-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(202, 165, 109, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(202, 165, 109, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.2) 0%, transparent 70%);
    z-index: 2;
    animation: safaServicesBackgroundMove 15s ease-in-out infinite;
}

@keyframes safaServicesBackgroundMove {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* Hero Content - Cinematic Entrance - Same as contact page */
.safa-services-hero-content {
    text-align: center;
    color: #fff;
    z-index: 3;
    position: relative;
    padding: 0 30px;
    max-width: 1000px;
    animation: safaServicesContentFadeIn 1.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes safaServicesContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Hero Badge - Same as contact page */
.safa-services-hero-badge {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, 
        rgba(202, 165, 109, 0.9) 0%, 
        rgba(184, 133, 74, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    box-shadow: 
        0 8px 25px rgba(202, 165, 109, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: safaServicesBadgeSlide 1s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.safa-services-hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: safaServicesBadgeShine 3s ease-in-out infinite;
}

@keyframes safaServicesBadgeSlide {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes safaServicesBadgeShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* Hero Title - Same glow as contact hero */
.safa-services-hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1.5px;
    line-height: 1.15;
    text-shadow: 
        0 8px 40px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: safaServicesTitleReveal 1.2s ease-out 0.5s both;
    position: relative;
}

.safa-services-hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #caa56d, transparent);
    border-radius: 2px;
    animation: safaServicesTitleUnderline 1s ease-out 1.5s both;
}

@keyframes safaServicesTitleReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes safaServicesTitleUnderline {
    from {
        width: 0;
    }
    to {
        width: 200px;
    }
}

/* Hero Subtitle - Same as contact page */
.safa-services-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(0, 0, 0, 0.3);
    animation: safaServicesSubtitleFade 1s ease-out 0.8s both;
    max-width: 800px;
    margin: 0 auto;
}

@keyframes safaServicesSubtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}


.services-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 30%, rgba(212, 165, 116, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(201, 169, 97, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(184, 149, 79, 0.08) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
}

.hero-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(212, 165, 116, 0.03) 2px, rgba(212, 165, 116, 0.03) 4px);
    opacity: 0.6;
    pointer-events: none;
    animation: patternMove 20s linear infinite;
}

/* Wave Layers - Smooth Flowing Animation */
.hero-wave-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
}

.hero-wave-layer.wave-1 {
    background: radial-gradient(circle, rgba(212, 165, 116, 0.4) 0%, transparent 70%);
    top: -50%;
    left: -20%;
    animation: waveFlow1 25s ease-in-out infinite;
}

.hero-wave-layer.wave-2 {
    background: radial-gradient(circle, rgba(201, 169, 97, 0.35) 0%, transparent 70%);
    top: -30%;
    right: -30%;
    animation: waveFlow2 30s ease-in-out infinite;
}

.hero-wave-layer.wave-3 {
    background: radial-gradient(circle, rgba(184, 149, 79, 0.3) 0%, transparent 70%);
    bottom: -40%;
    left: 10%;
    animation: waveFlow3 28s ease-in-out infinite;
}

/* Floating Orbs - Pulsing & Rotating */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    will-change: transform, opacity;
}

.hero-orb.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.25) 0%, rgba(201, 169, 97, 0.2) 100%);
    top: 10%;
    left: 5%;
    animation: orbFloat1 20s ease-in-out infinite, orbPulse1 4s ease-in-out infinite;
}

.hero-orb.orb-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.22) 0%, rgba(184, 149, 79, 0.18) 100%);
    bottom: 15%;
    right: 8%;
    animation: orbFloat2 22s ease-in-out infinite, orbPulse2 5s ease-in-out infinite;
}

.hero-orb.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(184, 149, 79, 0.2) 0%, rgba(212, 165, 116, 0.18) 100%);
    top: 50%;
    right: 15%;
    animation: orbFloat3 18s ease-in-out infinite, orbPulse3 4.5s ease-in-out infinite;
}

.hero-orb.orb-4 {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.18) 0%, rgba(201, 169, 97, 0.15) 100%);
    bottom: 30%;
    left: 20%;
    animation: orbFloat4 24s ease-in-out infinite, orbPulse4 5.5s ease-in-out infinite;
}

/* Animated Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 165, 116, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(212, 165, 116, 0.4);
    animation: particleFloat 15s linear infinite;
    will-change: transform, opacity;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    left: 40%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    left: 55%;
    animation-delay: 1s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 19s;
}

.particle:nth-child(6) {
    left: 85%;
    animation-delay: 5s;
    animation-duration: 17s;
}

.particle:nth-child(7) {
    left: 15%;
    animation-delay: 2.5s;
    animation-duration: 21s;
}

.particle:nth-child(8) {
    left: 35%;
    animation-delay: 1.5s;
    animation-duration: 18s;
}

.particle:nth-child(9) {
    left: 60%;
    animation-delay: 3.5s;
    animation-duration: 20s;
}

.particle:nth-child(10) {
    left: 80%;
    animation-delay: 4.5s;
    animation-duration: 16s;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #1a252f;
    max-width: 950px;
    margin: 0 auto;
    padding: 0 30px;
    overflow: hidden;
}

/* Animated Starry Background for Hero Content */
.services-hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(212, 165, 116, 0.8), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(201, 169, 97, 0.6), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(184, 149, 79, 0.7), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(212, 165, 116, 0.5), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(201, 169, 97, 0.6), transparent),
        radial-gradient(1px 1px at 33% 90%, rgba(184, 149, 79, 0.5), transparent),
        radial-gradient(2px 2px at 10% 50%, rgba(212, 165, 116, 0.7), transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(201, 169, 97, 0.5), transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starryMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.services-hero-content > * {
    position: relative;
    z-index: 1;
}

@keyframes starryMove {
    0% {
        background-position: 0% 0%;
        transform: rotate(0deg);
    }
    50% {
        background-position: 100% 100%;
        transform: rotate(180deg);
    }
    100% {
        background-position: 0% 0%;
        transform: rotate(360deg);
    }
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(201, 169, 97, 0.25) 50%, rgba(184, 149, 79, 0.2) 100%);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    color: #c2925f;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    animation: badgePulse 3s ease-in-out infinite;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3) 0%, rgba(201, 169, 97, 0.35) 50%, rgba(184, 149, 79, 0.3) 100%);
}

.services-hero-content h1 {
    /* Styles removed - .safa-services-hero-title class handles all title styling */
    /* This prevents conflicts with the white/silver gradient */
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #4a5568;
    line-height: 1.75;
    font-weight: 400;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Highlights - Unique Smooth Design */
.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    flex-wrap: wrap;
    position: relative;
}

.highlight-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    min-width: 200px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 249, 246, 0.98) 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(212, 165, 116, 0.15),
                0 0 0 1px rgba(212, 165, 116, 0.1) inset;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.highlight-item:hover::before {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(212, 165, 116, 0.25),
                0 0 0 1px rgba(212, 165, 116, 0.2) inset;
}

.highlight-item:hover {
    transform: translateY(-5px);
}

.highlight-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.highlight-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: iconPulse 3s ease-in-out infinite, iconRotate 8s linear infinite;
}

.highlight-item-1 .highlight-icon-bg {
    background: linear-gradient(135deg, #d4a574 0%, #c9a961 50%, #b8954f 100%);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.highlight-item-2 .highlight-icon-bg {
    background: linear-gradient(135deg, #c9a961 0%, #b8954f 50%, #d4a574 100%);
    box-shadow: 0 8px 30px rgba(201, 169, 97, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.highlight-item-3 .highlight-icon-bg {
    background: linear-gradient(135deg, #b8954f 0%, #d4a574 50%, #c9a961 100%);
    box-shadow: 0 8px 30px rgba(184, 149, 79, 0.3),
                inset 0 2px 10px rgba(255, 255, 255, 0.3);
}

.highlight-item:hover .highlight-icon-bg {
    transform: scale(1.15) rotate(10deg);
}

.highlight-item-1:hover .highlight-icon-bg {
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.4),
                inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

.highlight-item-2:hover .highlight-icon-bg {
    box-shadow: 0 12px 40px rgba(201, 169, 97, 0.4),
                inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

.highlight-item-3:hover .highlight-icon-bg {
    box-shadow: 0 12px 40px rgba(184, 149, 79, 0.4),
                inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

@keyframes iconRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.highlight-icon {
    position: relative;
    font-size: 2.5rem;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: all 0.4s ease;
    color: #fff;
    animation: iconFloat 3s ease-in-out infinite;
}

.highlight-item-1 .highlight-icon {
    animation-delay: 0s;
    color: #d4a574;
}

.highlight-item-2 .highlight-icon {
    animation-delay: 0.5s;
    color: #c9a961;
}

.highlight-item-3 .highlight-icon {
    animation-delay: 1s;
    color: #b8954f;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.highlight-content {
    position: relative;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlight-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #d4a574 0%, #c9a961 50%, #b8954f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: all 0.4s ease;
    letter-spacing: -1px;
}

.highlight-item:hover .highlight-number {
    transform: scale(1.08);
}

.highlight-label {
    display: block;
    font-size: 0.9rem;
    color: #5a6578;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Services Hero Stats - Similar to About Page */
.services-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.services-hero-stat {
    text-align: center;
    padding: 30px 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 116, 0.2);
    transition: all 0.4s ease;
    min-width: 150px;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.15);
}

.services-hero-stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 1);
    border-color: rgba(212, 165, 116, 0.4);
    box-shadow: 0 15px 40px rgba(212, 165, 116, 0.25);
}

.services-hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #c2925f;
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(194, 146, 95, 0.2);
    background: linear-gradient(135deg, #d4a574 0%, #c9a961 50%, #b8954f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #5a6578;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Smooth Animation for Icon Background */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.95;
    }
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(40px);
}

.floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #d4a574 0%, #c9a961 100%);
    top: 10%;
    left: 5%;
    animation: floatShape1 20s ease-in-out infinite;
}

.floating-shape.shape-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #c9a961 0%, #b8954f 100%);
    bottom: 15%;
    right: 8%;
    animation: floatShape2 18s ease-in-out infinite;
}

.floating-shape.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #b8954f 0%, #d4a574 100%);
    top: 50%;
    right: 15%;
    animation: floatShape3 22s ease-in-out infinite;
}

/* Animations */
@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes patternMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}

/* Wave Flow Animations */
@keyframes waveFlow1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translate(50px, -30px) rotate(90deg) scale(1.1);
        opacity: 0.2;
    }
    50% {
        transform: translate(-30px, 40px) rotate(180deg) scale(0.95);
        opacity: 0.12;
    }
    75% {
        transform: translate(40px, 20px) rotate(270deg) scale(1.05);
        opacity: 0.18;
    }
}

@keyframes waveFlow2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.12;
    }
    33% {
        transform: translate(-60px, 50px) rotate(120deg) scale(1.15);
        opacity: 0.18;
    }
    66% {
        transform: translate(40px, -40px) rotate(240deg) scale(0.9);
        opacity: 0.1;
    }
}

@keyframes waveFlow3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.1;
    }
    30% {
        transform: translate(30px, -50px) rotate(100deg) scale(1.2);
        opacity: 0.16;
    }
    60% {
        transform: translate(-50px, 30px) rotate(200deg) scale(0.85);
        opacity: 0.08;
    }
    90% {
        transform: translate(20px, 20px) rotate(300deg) scale(1.1);
        opacity: 0.14;
    }
}

/* Orb Float Animations */
@keyframes orbFloat1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(60px, -40px) rotate(90deg);
    }
    50% {
        transform: translate(-40px, 50px) rotate(180deg);
    }
    75% {
        transform: translate(50px, 30px) rotate(270deg);
    }
}

@keyframes orbFloat2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    30% {
        transform: translate(-70px, 45px) rotate(-120deg);
    }
    60% {
        transform: translate(45px, -50px) rotate(-240deg);
    }
}

@keyframes orbFloat3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(55px, 40px) rotate(120deg);
    }
    66% {
        transform: translate(-35px, -45px) rotate(240deg);
    }
}

@keyframes orbFloat4 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(-50px, 35px) rotate(-90deg);
    }
    50% {
        transform: translate(40px, -40px) rotate(-180deg);
    }
    75% {
        transform: translate(-30px, 50px) rotate(-270deg);
    }
}

/* Orb Pulse Animations */
@keyframes orbPulse1 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.25;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.35;
    }
}

@keyframes orbPulse2 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.22;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.32;
    }
}

@keyframes orbPulse3 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.18);
        opacity: 0.3;
    }
}

@keyframes orbPulse4 {
    0%, 100% {
        transform: scale(1);
        opacity: 0.18;
    }
    50% {
        transform: scale(1.22);
        opacity: 0.28;
    }
}

/* Particle Float Animation */
@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(212, 165, 116, 0.15),
                    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 20px rgba(212, 165, 116, 0.2),
                    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    }
}

@keyframes floatShape1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -40px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 30px) rotate(240deg);
    }
}

@keyframes floatShape2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-35px, 25px) rotate(-120deg);
    }
    66% {
        transform: translate(25px, -30px) rotate(-240deg);
    }
}

@keyframes floatShape3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(20px, 35px) rotate(90deg);
    }
    66% {
        transform: translate(-30px, -25px) rotate(180deg);
    }
}

/* ============================================
   SERVICES NAVIGATION
   ============================================ */
.services-nav {
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(212, 165, 116, 0.1);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: box-shadow 0.3s ease, background 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: box-shadow;
}

/* Hide services-nav when mobile menu is open */
body:has(.safa-hb-menu[aria-hidden="false"]) .services-nav,
.safa-hb-menu[aria-hidden="false"] ~ .services-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Alternative selector for browsers that don't support :has() */
.services-nav.menu-open-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--bg);
    border: 2px solid transparent;
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nav-tab:hover {
    background: #fff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 181, 5, 0.15);
}

.nav-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(227, 181, 5, 0.3);
}

.tab-icon {
    font-size: 1.2rem;
}

/* ============================================
   SERVICE SECTIONS
   ============================================ */
.service-section {
    padding: 120px 0;
    scroll-margin-top: 180px;
    position: relative;
}

.service-section:first-of-type {
    padding-top: 180px;
}

.service-section:nth-child(odd) {
    background: var(--bg);
}

.service-section:nth-child(even) {
    background: #fff;
}

.service-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.service-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(227, 181, 5, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.service-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.service-intro {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.8;
    font-weight: 400;
}

/* ============================================
   MAIN CONTENT GRID
   ============================================ */
.service-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 100px;
}

.service-image-wrapper {
    position: sticky;
    top: 150px;
}

.service-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: #f5f5f5;
    height: 750px;
    min-height: 750px;
}

.service-image-container.placeholder {
    border: 2px dashed #e0e0e0;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 10s ease-out;
    display: block;
}

.service-image-container:hover .service-image {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.empty-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d0d0d0;
}

.empty-image-placeholder svg {
    width: 120px;
    height: 120px;
    opacity: 0.3;
}

.service-stats-card {
    margin-top: 30px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border: 1px solid #f0f0f0;
}

.stat-box {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-desc {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e0e0e0;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.service-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-block {
    background: #fff;
    padding: 35px 40px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5f5f5;
}

.service-extended {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin: 0;
}

.benefits-block {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
}

.block-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 0;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
}

.benefit-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 10px rgba(227, 181, 5, 0.3);
}

.benefit-text {
    flex: 1;
    padding-top: 2px;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.process-section {
    margin: 100px 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.label-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.label-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 50px;
    padding-left: 20px;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--hover) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(227, 181, 5, 0.3);
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    background: #fff;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    margin-top: 5px;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.step-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.step-connector {
    position: absolute;
    left: 49px;
    top: 60px;
    width: 2px;
    height: calc(100% + 10px);
    background: linear-gradient(to bottom, var(--accent), rgba(227, 181, 5, 0.3));
    z-index: 1;
}

.process-step:last-child .step-connector {
    display: none;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-choose-section {
    margin-top: 80px;
}

.why-choose-card {
    background: linear-gradient(135deg, var(--accent) 0%, var(--hover) 100%);
    border-radius: 20px;
    padding: 50px 60px;
    display: flex;
    align-items: flex-start;
    gap: 35px;
    box-shadow: 0 15px 50px rgba(227, 181, 5, 0.25);
    color: #fff;
}

.why-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.why-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
}

.why-content {
    flex: 1;
}

.why-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.why-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

/* ============================================
   MODERN CTA SECTION WITH SMOOTH FLOATING ANIMATION
   ============================================ */
.modern-cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 50%, #1a252f 100%);
    overflow: hidden;
    z-index: 1;
}

.cta-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(201, 169, 97, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.modern-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.cta-badge-wrapper {
    margin-bottom: 20px;
}

.cta-badge {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2) 0%, rgba(201, 169, 97, 0.15) 100%);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50px;
    color: #d4a574;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: floatBadge 4s ease-in-out infinite;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: floatTitle 5s ease-in-out infinite;
}

.cta-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: floatDescription 6s ease-in-out infinite;
}

.modern-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 42px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    animation: floatButton 7s ease-in-out infinite;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #c9a961 50%, #b8954f 100%);
    color: #1a252f;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4),
                0 2px 8px rgba(0, 0, 0, 0.15);
}

.cta-btn-primary:hover {
    background: linear-gradient(135deg, #c9a961 0%, #d4a574 50%, #e0b17d 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.6),
                0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.cta-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Floating Background Elements */
.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1) 0%, rgba(201, 169, 97, 0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation: floatCircle1 20s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation: floatCircle2 15s ease-in-out infinite;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -50px;
    animation: floatCircle3 18s ease-in-out infinite;
}

/* Floating Animations */
@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes floatTitle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes floatDescription {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

@keyframes floatButton {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes floatCircle1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, 30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

@keyframes floatCircle2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(-25px, -25px) rotate(180deg);
    }
}

@keyframes floatCircle3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -20px) rotate(180deg);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .service-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .service-image-wrapper {
        position: static;
    }

    .service-image-container {
        height: 650px;
        min-height: 650px;
    }
}

@media (max-width: 1024px) {
    .safa-services-hero {
        height: 80vh;
        min-height: 550px;
        max-height: 850px;
    }
    
    .safa-services-hero-content {
        max-width: 1000px;
        margin-top: 18vh;
    }
    
    .safa-services-hero-title {
        font-size: 3.8rem;
    }
    
    .safa-services-hero-subtitle {
        font-size: 1.4rem;
    }
    
    .safa-services-hero-badge {
        padding: 12px 36px;
        font-size: 0.95rem;
        margin-bottom: 30px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .services-nav {
        z-index: 998;
    }
    
    .safa-services-hero {
        height: 70vh;
        min-height: 500px;
        max-height: 700px;
    }

    .safa-services-hero-content {
        padding: 0 25px;
        padding-top: 40px;
        padding-bottom: 30px;
        margin-top: 15vh;
        max-width: 100%;
    }

    .safa-services-hero-badge {
        padding: 12px 32px;
        font-size: 0.9rem;
        letter-spacing: 2px;
        margin-bottom: 25px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .safa-services-hero-title {
        font-size: 3rem;
        margin-bottom: 25px;
        line-height: 1.2;
        /* Same glow as contact hero */
        text-shadow: 
            0 8px 40px rgba(0, 0, 0, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .safa-services-hero-title::after {
        width: 150px;
    }

    .safa-services-hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.7;
        margin-bottom: 0;
        max-width: 100%;
        padding: 0 15px;
        color: #ffffff;
        text-shadow: 
            0 5px 25px rgba(0, 0, 0, 0.7),
            0 2px 12px rgba(0, 0, 0, 0.6),
            0 1px 6px rgba(0, 0, 0, 0.5);
    }


    .highlight-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .highlight-icon {
        font-size: 2rem;
    }

    .highlight-number {
        font-size: 2.2rem;
    }

    .highlight-label {
        font-size: 0.8rem;
    }

    .floating-shape.shape-1,
    .floating-shape.shape-2,
    .floating-shape.shape-3 {
        width: 150px;
        height: 150px;
        filter: blur(30px);
    }

    .nav-tabs {
        padding: 15px 0;
        gap: 8px;
    }

    .nav-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-section {
        padding: 80px 0;
    }

    .service-title {
        font-size: 2.2rem;
    }

    .service-intro {
        font-size: 1.1rem;
    }

    .service-image-container {
        height: 500px;
        min-height: 500px;
    }

    .service-stats-card {
        padding: 25px 20px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .content-block {
        padding: 25px 30px;
    }

    .process-step {
        flex-direction: column;
        gap: 20px;
        padding-left: 0;
        align-items: center;
    }

    .step-number {
        margin: 0 auto;
    }

    .step-connector {
        display: none;
    }

    .step-content {
        margin-top: 0;
        text-align: center;
    }

    .why-choose-card {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .why-title {
        font-size: 1.6rem;
    }

    .modern-cta-section {
        padding: 80px 0;
    }

    .modern-cta-content {
        padding: 0 20px;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.1rem;
        margin-bottom: 35px;
    }

    .modern-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 1rem;
    }

    .circle-1 {
        width: 200px;
        height: 200px;
    }

    .circle-2 {
        width: 150px;
        height: 150px;
    }

    .circle-3 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .safa-services-hero {
        height: 65vh;
        min-height: 450px;
        max-height: 600px;
        margin-top: 70px;
    }
    
    .safa-services-hero-content {
        padding: 0 20px;
        padding-top: 35px;
        padding-bottom: 25px;
        max-width: 100%;
        width: calc(100% - 40px);
        margin-top: 12vh;
    }
    
    .safa-services-hero-badge {
        padding: 11px 28px;
        font-size: 0.8rem;
        letter-spacing: 2px;
        margin-bottom: 22px;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .safa-services-hero-title {
        font-size: 2.2rem;
        letter-spacing: -0.5px;
        margin-bottom: 22px;
        line-height: 1.2;
        /* Same glow as contact hero */
        text-shadow: 
            0 8px 40px rgba(0, 0, 0, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .safa-services-hero-title::after {
        width: 120px;
        height: 3px;
        bottom: -8px;
    }

    .safa-services-hero-subtitle {
        font-size: 1.05rem;
        line-height: 1.65;
        margin-bottom: 0;
        padding: 0 10px;
        max-width: 100%;
        color: #ffffff;
        text-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.7),
            0 2px 10px rgba(0, 0, 0, 0.6),
            0 1px 5px rgba(0, 0, 0, 0.5);
    }

}

/* Extra Small Phones */
@media (max-width: 360px) {
    .safa-services-hero {
        height: 60vh;
        min-height: 400px;
        max-height: 550px;
    }
    
    .safa-services-hero-content {
        padding: 0 15px;
        padding-top: 30px;
        padding-bottom: 20px;
        width: calc(100% - 30px);
        margin-top: 10vh;
    }
    
    .safa-services-hero-badge {
        padding: 10px 24px;
        font-size: 0.75rem;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    }

    .safa-services-hero-title {
        font-size: 1.9rem;
        margin-bottom: 20px;
        line-height: 1.2;
        /* Same glow as contact hero */
        text-shadow: 
            0 8px 40px rgba(0, 0, 0, 0.5),
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .safa-services-hero-title::after {
        width: 100px;
        height: 2px;
    }

    .safa-services-hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 0;
        padding: 0 5px;
        color: #ffffff;
        text-shadow: 
            0 3px 18px rgba(0, 0, 0, 0.7),
            0 2px 8px rgba(0, 0, 0, 0.6),
            0 1px 4px rgba(0, 0, 0, 0.5);
    }


    .highlight-item {
        padding: 20px 25px;
        min-width: 200px;
        width: 100%;
        max-width: 280px;
    }

    .highlight-icon-wrapper {
        width: 65px;
        height: 65px;
    }

    .highlight-icon {
        font-size: 1.8rem;
    }

    .highlight-number {
        font-size: 2rem;
    }

    .highlight-label {
        font-size: 0.75rem;
    }


    .floating-shape.shape-1,
    .floating-shape.shape-2,
    .floating-shape.shape-3 {
        width: 120px;
        height: 120px;
        filter: blur(25px);
    }

    .service-title {
        font-size: 1.8rem;
    }

    .service-image-container {
        height: 400px;
        min-height: 400px;
        border-radius: 12px;
    }

    .service-stats-card {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .modern-cta-section {
        padding: 60px 0;
    }

    .modern-cta-content {
        padding: 0 15px;
    }

    .cta-badge {
        font-size: 0.8rem;
        padding: 8px 20px;
    }

    .cta-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.7;
    }

    .modern-cta-buttons {
        gap: 12px;
    }

    .cta-btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .circle-1 {
        width: 150px;
        height: 150px;
    }

    .circle-2 {
        width: 120px;
        height: 120px;
    }

    .circle-3 {
        width: 80px;
        height: 80px;
    }
}
