/* Perfect comparison slider styles */
.perfect-comparison-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.perfect-comparison-wrapper {
    position: relative;
    width: 100%;
}

.perfect-image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.perfect-comparison-before,
.perfect-comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from 'cover' to 'contain' */
    background-color: #f0f0f0; /* Fallback background */
}

.perfect-comparison-after {
    width: 50%; /* Initial position */
    clip-path: inset(0 0 0 50%);
}

.perfect-comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 4px;
    background: white;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.perfect-handle-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.perfect-comparison-label {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    z-index: 5;
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

.perfect-comparison-container:hover{
    transform: translateY(-20px);
}

.perfect-comparison-container{
    transition: transform 0.3s ease;
}

.latest_offer h2 {
    color: #4d8b97;
    font-weight: bold;
    margin: 25px 0px;
    margin-bottom: 35px;
    }

.latest_offer div {
    border: 2px solid #e6813e;
    width: 290px;
    }

.video {
        border: 1px solid #4d8b97;
        padding: 20px 40px;
        padding-bottom: 35px;
        border-radius: 30px;
        box-shadow: 0px 4px 10px rgb(0 0 0 / 74%);
        }
.video_title h3{
        text-align: center;
        }

.video_title h3{
        color: #e6813e;
        font-weight: 600;
        margin-bottom: 20px;
        }

iframe {
        border-radius: 30px;
        box-shadow: 0px 4px 10px rgb(0 0 0 / 74%);
        }

.video{
        transition: transform 0.3s ease;;
    }
                      
.video:hover {
        transform: translateY(-20px); 
        }



 /* Works Section Styles */
 .work-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.work-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* Square ratio */
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.work-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(77, 139, 151, 0.9) 0%, transparent 100%);
    padding: 30px 25px;
    color: white;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
}

.work-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    transition-delay: 0.1s;
}

.work-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    transition-delay: 0.2s;
}

.work-link:hover {
    color: #e6813e;
}

/* Hover Effects */
.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(77, 139, 151, 0.3);
}

.work-card:hover .work-img {
    transform: scale(1.1);
}

.work-card:hover .work-overlay {
    transform: translateY(0);
    opacity: 1;
}

.work-card:hover .work-title,
.work-card:hover .work-link {
    transform: translateY(0);
    opacity: 1;
}











 :root {
            --primary: #4d8b97;
            --primary-light: rgba(77, 139, 151, 0.1);
            --button: #e6813e;
            --button-hover: #d97332;
            --secondary: #f8f9fa;
            --dark: #343a40;
            --light: #f8f9fa;
            --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
            --ease-in-out-quint: cubic-bezier(0.83, 0, 0.17, 1);
            --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: white;
            color: var(--dark);
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Hero Section */
        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            background-color: var(--secondary);
            padding: 2rem 0;
        }

        /* Animated Gradient Background */
        .gradient-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 30%, rgba(77, 139, 151, 0.08) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(230, 129, 62, 0.08) 0%, transparent 30%);
            animation: bg-pan 20s linear infinite;
            z-index: 1;
        }

        @keyframes bg-pan {
            0% { background-position: 0% 0%; }
            100% { background-position: 100% 100%; }
        }

        /* Floating Particles */
        .particles {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 2;
        }

        /*
        .hero_particle {
            position: absolute;
            background-color: var(--primary);
            border-radius: 50%;
            opacity: 0.15;
            animation: float linear infinite;
        }
        
        */

        @keyframes float {
            0% { transform: translateY(0) rotate(0deg); }
            100% { transform: translateY(-100vh) rotate(360deg); }
        }

        /* Content Container */
        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 3rem;
            position: relative;
            z-index: 10;
        }

        /* Typography */
        .hero-content {
            position: relative;
            animation: fadeInUp 1s var(--ease-out-quint) both;
        }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
            letter-spacing: -0.03em;
        }

        .hero-title span {
            color: var(--primary);
            position: relative;
            display: inline-block;
        }

        .hero-title span::before {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 12px;
            background: rgba(230, 129, 62, 0.3);
            z-index: -1;
            border-radius: 3px;
            animation: underline-grow 1.2s var(--ease-out-quint) 0.3s both;
        }

        @keyframes underline-grow {
            from { transform: scaleX(0); opacity: 0; }
            to { transform: scaleX(1); opacity: 1; }
        }

        .hero-subtitle {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: var(--dark);
            opacity: 0.85;
            margin-bottom: 2.5rem;
            line-height: 1.7;
            max-width: 90%;
            font-weight: 400;
        }

        /* Stats Grid */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-bottom: 2.5rem;
            max-width: 90%;
        }

        .stat-item {
            background: rgba(255,255,255,0.7);
            backdrop-filter: blur(5px);
            padding: 1rem;
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s var(--ease-out-quint);
        }

        .stat-item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.25rem;
        }

        .stat-label {
            font-size: 0.75rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        /* 3D Service Orb with Images */
        .service-orb-container {
            position: relative;
            perspective: 1200px;
            width: 100%;
            height: 420px;
            animation: fadeIn 1s var(--ease-out-quint) 0.2s both;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .service-orb {
            position: relative;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            transition: transform 1s var(--ease-in-out-quint);
        }

        .orb-face {
            position: absolute;
            width: 380px;
            height: 380px;
            border-radius: 50%;
            overflow: hidden;
            backface-visibility: hidden;
            box-shadow: var(--shadow-xl);
            transition: all 0.6s var(--ease-out-quint);
            border: 1px solid rgba(255,255,255,0.2);
        }

        .orb-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            transition: all 0.5s var(--ease-out-quint);
        }

        .orb-image {
            width: 140px;
            height: 140px;
            object-fit: cover;
            border-radius: 50%;
            margin-bottom: 1.5rem;
            border: 4px solid white;
            box-shadow: var(--shadow-lg);
            transition: all 0.5s var(--ease-out-quint);
        }

        .orb-face h3 {
            font-size: 1.6rem;
            margin-bottom: 0.75rem;
            color: var(--dark);
            font-weight: 700;
        }

        .orb-face p {
            font-size: 1rem;
            color: var(--dark);
            opacity: 0.8;
            text-align: center;
            line-height: 1.6;
            max-width: 80%;
        }

        /* Orb Faces Positioning */
        .orb-front {
            transform: translateZ(190px);
        }

        .orb-right {
            transform: rotateY(90deg) translateZ(190px);
        }

        .orb-left {
            transform: rotateY(-90deg) translateZ(190px);
        }

        /* Face-specific styling */
        .ecommerce-face .orb-content {
            background: linear-gradient(135deg, rgba(77, 139, 151, 0.05) 0%, rgba(255,255,255,0.95) 100%);
        }

        .vector-face .orb-content {
            background: linear-gradient(135deg, rgba(230, 129, 62, 0.05) 0%, rgba(255,255,255,0.95) 100%);
        }

        .video-face .orb-content {
            background: linear-gradient(135deg, rgba(52, 58, 64, 0.05) 0%, rgba(255,255,255,0.95) 100%);
        }

        /* Navigation Dots */
        .orb-nav {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .nav-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--primary);
            opacity: 0.3;
            cursor: pointer;
            transition: all 0.4s var(--ease-out-quint);
            position: relative;
        }

        .nav-dot::after {
            content: '';
            position: absolute;
            top: -6px;
            left: -6px;
            right: -6px;
            bottom: -6px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            opacity: 0;
            transition: all 0.4s var(--ease-out-quint);
        }

        .nav-dot:hover {
            opacity: 0.7;
        }

        .nav-dot.active {
            opacity: 1;
            transform: scale(1.2);
            background: var(--button);
        }

        .nav-dot.active::after {
            opacity: 0.3;
            top: -8px;
            left: -8px;
            right: -8px;
            bottom: -8px;
        }

        /* CTA Button */
        .cta-button {
            display: inline-flex;
            align-items: center;
            padding: 1.1rem 2.75rem;
            border-radius: 50px;
            background: var(--button);
            color: white;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.4s var(--ease-out-quint);
            box-shadow: 0 10px 25px rgba(230, 129, 62, 0.3);
            position: relative;
            overflow: hidden;
            border: none;
            font-size: 1rem;
            letter-spacing: 0.02em;
        }

        .cta-button::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: 0.5s var(--ease-out-quint);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(230, 129, 62, 0.4);
            background: var(--button-hover);
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button i {
            margin-left: 10px;
            transition: transform 0.4s var(--ease-out-quint);
        }

        .cta-button:hover i {
            transform: translateX(5px);
        }

        /* Floating Elements */
        .floating-element {
            position: absolute;
            background: var(--primary-light);
            border-radius: 20px;
            backdrop-filter: blur(5px);
            animation: floatElement 15s ease-in-out infinite;
            z-index: 5;
        }

        @keyframes floatElement {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
            }

            .hero-subtitle, .stats-grid {
                margin-left: auto;
                margin-right: auto;
            }

            .service-orb-container {
                height: 380px;
                margin-top: 3rem;
                order: -1;
            }

            .orb-face {
                width: 340px;
                height: 340px;
                left: 50%;
                transform: translateX(-50%) translateZ(0) !important;
            }

            .orb-front {
                transform: translateX(-50%) translateZ(0) !important;
            }
        }

        @media (max-width: 768px) {
            .stats-grid {
                grid-template-columns: 1fr;
                max-width: 70%;
            }
        }

        @media (max-width: 576px) {
            .hero-container {
                padding: 2rem 1.5rem;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-subtitle, .stats-grid {
                max-width: 100%;
            }

            .service-orb-container {
                height: 320px;
            }

            .orb-face {
                width: 300px;
                height: 300px;
            }

            .orb-image {
                width: 110px;
                height: 110px;
            }

            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                max-width: 100%;
            }
        }
