/* Ensure chat widget stays on top */
        [id*="chatling"],
        [class*="chatling"],
        [aria-label*="chat"],
        iframe[src*="chatling"],
        div[data-testid*="chat"] {
            z-index: 999999 !important;
        }

        /* Welcome Message Styles */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .welcome-msg {
            position: fixed;
            bottom: 100px;
            right: 20px;
            background: white;
            padding: 15px 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 2998;
            /* Below footer (z-index: 3000) but above other content */
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            animation: slideIn 0.3s ease;
        }

        .welcome-msg .close-btn {
            cursor: pointer;
            padding: 5px;
            margin-left: 10px;
            color: #666;
            font-weight: bold;
            border: none;
            background: transparent;
            font-size: 16px;
        }

        .welcome-msg .close-btn:hover {
            color: #333;
        }

        /* Loader Styles */
        #loader-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
        }

        .loader {
            text-align: center;
        }

        .loader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .loader-logo {
            width: 280px;
            height: auto;
            margin: 25px 0;
            transform-origin: center;
            animation: fadeInScale 0.8s ease-out;
        }

        .loader p {
            color: #2c2c54;
            font-size: 1.2rem;
            font-weight: 500;
            margin: 15px 0;
            animation: fadeInUp 0.8s ease-out 0.3s both;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.8);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* Mobile responsiveness for loader */
        @media (max-width: 768px) {
            .loader-logo {
                width: 220px;
            }

            .loader p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 480px) {
            .loader-logo {
                width: 180px;
            }

            .loader p {
                font-size: 1rem;
            }

            .loading-bar {
                width: 180px;
            }
        }

        .loading-bar {
            width: 200px;
            height: 4px;
            background: rgba(44, 44, 84, 0.1);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
            animation: fadeInUp 0.8s ease-out 0.6s both;
        }

        .loading-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            height: 100%;
            width: 50%;
            background: linear-gradient(90deg,
                    rgba(44, 44, 84, 0.3),
                    rgba(71, 71, 135, 1));
            animation: loading 1.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(71, 71, 135, 0.5);
        }

        @keyframes loading {
            from {
                left: -50%;
            }

            to {
                left: 150%;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .loader-wrapper.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        /* Hide content while loading */
        body.loading {
            overflow: hidden;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: #2d3436;
            overflow-x: hidden;
            background: #f4f7fc;
        }

        body.modal-open {
            overflow: hidden;
        }

        /* Header Styles */
        .top-header {
            background: linear-gradient(135deg, #2c2c54, #474787);
            color: white;
            padding: 10px 0;
            font-size: 0.85rem;
            position: fixed;
            /* Make the top header fixed */
            top: 0;
            /* Position at the top */
            width: 100%;
            z-index: 999;
            /* Below main-header but above other content */
            transition: all 0.3s ease;
        }

        .top-header.scrolled {
            top: -40px;
            /* Slide the top header out of view when scrolled */
        }

        .top-header .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
        }

        .contact-info {
            display: flex;
            gap: 25px;
            flex-wrap: wrap;
        }

        .contact-info span {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .top-header .contact-info a {
            color: #FFD700;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .main-header {
            background: rgba(255, 255, 255, 0.98);
            padding: 15px 0;
            position: fixed;
            width: 100%;
            top: 40px;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .main-header.scrolled {
            top: 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        }

        .header-content {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo img {
            height: 50px;
            transition: transform 0.3s ease;
        }

        .logo img:hover {
            transform: scale(1.05);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 30px;
            transform-origin: left;
            transition: transform 0.3s ease;
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            transform: scaleX(1);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
            }

            70% {
                box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
            }
        }

        .nav-menu a {
            text-decoration: none;
            color: #2d3436;
            font-weight: 500;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
            position: relative;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(135deg, #2c2c54, #474787);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after,
        .nav-menu a.active::after {
            width: 100%;
        }

        .nav-menu a:hover {
            color: #474787;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #2c2c54;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            margin-top: 80px;
            /* Offset for both fixed headers (top-header: 40px + main-header: 40px) */
            height: calc(100vh - 80px);
            background-attachment: fixed;
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://res.cloudinary.com/dyhe9rbjz/image/upload/w_1000,ar_16:9,c_fill,g_auto,e_sharpen/v1748438798/lizyovpixxcpv1tlhfom.jpg');
            background-size: cover;
            background-position: center;
            image-rendering: -webkit-optimize-contrast;
            perspective: 1000px;
            background-repeat: no-repeat;
            transform-style: preserve-3d;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
        }

        .hero-content {
            max-width: 900px;
            padding: 0 20px;
            animation: fadeInUp 1s ease;
            transform: translateZ(50px);
            will-change: transform;
        }

        .hero h1 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 20px;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        }

        .hero p {
            font-size: 1.4rem;
            margin-bottom: 40px;
            opacity: 0.9;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 30%,
                    rgba(44, 44, 84, 0.1) 0%,
                    transparent 40%),
                radial-gradient(circle at 80% 70%,
                    rgba(255, 107, 107, 0.1) 0%,
                    transparent 40%);
            z-index: -1;
            pointer-events: none;
            animation: bgPulse 15s ease infinite;

        }

        @keyframes bgPulse {
            0% {
                opacity: 0.5;
                transform: scale(1);
            }

            50% {
                opacity: 0.8;
                transform: scale(1.05);
            }

            100% {
                opacity: 0.5;
                transform: scale(1);
            }
        }

        .btn {
            position: relative;
            overflow: hidden;
            transition: all 0.5s ease;
            padding: 15px 35px;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .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: all 0.5s ease;
        }

        .btn:hover::before {
            left: 100%;
        }

        .btn-primary {
            animation: pulse 2s infinite;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #ff8e53, #ff6b6b);
        }


        .btn-primary {
            background: linear-gradient(135deg, #ff6b6b, #ff8e53);
            color: white;
            box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
        }

        .btn-secondary {
            background: transparent;
            color: white;
            border: 2px solid rgba(255, 255, 255, 0.8);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }

            50% {
                transform: translateY(-10px);
            }

            100% {
                transform: translateY(0px);
            }
        }

        @media (max-width: 768px) {
            .top-header {
                padding: 8px 0;
                font-size: 0.8rem;
                height: 38px;
            }

            .main-header {
                top: 38px;
                padding: 10px 0;
            }


            .main-header.scrolled {
                top: 0;
            }

            .service-card:hover,
            .product-card:hover {
                transform: translateY(-5px);
            }

            .hero {
                margin-top: 100px;
                height: calc(100vh - 100px);
                background-attachment: scroll;
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .about-image {
                height: 250px;
            }

            .product-image {
                height: 220px;
            }

            .service-card,
            .product-card {
                padding: 25px 10px;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .section {
                padding: 50px 0;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero-content {
                padding: 0 5px;
            }

            .video-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .top-header {
                padding: 6px 0;
                font-size: 0.75rem;
                height: 36px;
            }

            .main-header {
                top: 36px !important;
                padding: 8px 0;
            }

            .main-header.scrolled {
                top: 0 !important;
            }

            .hero {
                margin-top: 90px;
                height: calc(100vh - 90px);
            }

            .about-image {
                height: 160px;
            }

            .product-image {
                height: 120px;
            }

            .service-card,
            .product-card {
                padding: 15px 5px;
            }

            .section-title h2 {
                font-size: 1.3rem;
            }

            .section {
                padding: 30px 0;
            }

            .hero h1 {
                font-size: 1.2rem;
            }

            .hero-content {
                padding: 0 2px;
            }
        }

        /* Sections */
        .section {
            padding: 100px 0;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 3rem;
            color: #2c2c54;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .section-title p {
            font-size: 1.2rem;
            color: #636e72;
            max-width: 700px;
            margin: 0 auto;
        }

        @media (max-width: 768px) {
            .top-header {
                padding: 8px 0;
                font-size: 0.8rem;
                height: 38px;
            }

            .main-header {
                top: 38px !important;
                padding: 10px 0;
            }

            .main-header.scrolled {
                top: 0 !important;
            }

            .hero {
                margin-top: 100px;
                /* Adjusted for both headers (top-header: 38px + main-header: ~62px) */
                height: calc(100vh - 100px);
            }

            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .about-image {
                height: 250px;
            }

            .product-image {
                height: 220px;
            }

            .service-card,
            .product-card {
                padding: 25px 10px;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .section {
                padding: 50px 0;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero-content {
                padding: 0 5px;
            }

            .video-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .top-header {
                padding: 6px 0;
                font-size: 0.75rem;
                height: 36px;
            }

            .main-header {
                top: 36px !important;
                padding: 8px 0;
            }

            .main-header.scrolled {
                top: 0 !important;
            }

            .hero {
                margin-top: 90px;
                height: calc(100vh - 90px);
            }

            .about-image {
                height: 160px;
            }

            .product-image {
                height: 120px;
            }

            .service-card,
            .product-card {
                padding: 15px 5px;
            }

            .section-title h2 {
                font-size: 1.3rem;
            }

            .section {
                padding: 60px 0;
            }

            .modal-content {
                margin: 10% auto;
                padding: 30px 20px;
                max-height: 90vh;
            }

            .image-viewer {
                height: 250px;
            }

            .modal-content h3 {
                font-size: 1.5rem;
            }
        }

        /* Services Section */
        .services {
            background: #ffffff;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .service-card {
            background: white;
            padding: 40px 30px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .service-card,
        .product-card {
            position: relative;
            overflow: hidden;
            z-index: 1;
        }

        .service-card::after,
        .product-card::after {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg,
                    #a8a8c9, #9292c1, #eab6b6, #e4c6b5);
            background-size: 400% 400%;
            z-index: -1;
            border-radius: 16px;
            opacity: 0;
            transition: opacity 0.5s, transform 0.5s;
            animation: gradientBorder 6s ease infinite;
        }

        @keyframes gradientBorder {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        .service-card,
        .product-card {
            transition: transform 0.5s ease, box-shadow 0.5s ease;
            transform-style: preserve-3d;
        }

        .service-card:hover,
        .product-card:hover {
            transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .services-grid,
        .products-grid {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
            animation-delay: 0.3s;
        }

        .service-card,
        .product-card {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .service-card:nth-child(1) {
            animation-delay: 0.4s;
        }

        .service-card:nth-child(2) {
            animation-delay: 0.6s;
        }

        .service-card:nth-child(3) {
            animation-delay: 0.8s;
        }

        .product-card:nth-child(1) {
            animation-delay: 0.4s;
        }

        .product-card:nth-child(2) {
            animation-delay: 0.5s;
        }

        .product-card:nth-child(3) {
            animation-delay: 0.6s;
        }

        .product-card:nth-child(4) {
            animation-delay: 0.7s;
        }

        .product-card:nth-child(5) {
            animation-delay: 0.8s;
        }

        .product-card:nth-child(6) {
            animation-delay: 0.9s;
        }


        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(135deg, #2c2c54, #474787);
        }

        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }

        .service-card:hover::after,
        .product-card:hover::after {
            opacity: 1;
            transform: scale(1.02);
        }

        .service-card i {
            font-size: 3rem;
            color: #2c2c54;
            margin-bottom: 20px;
            transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
            transform-style: preserve-3d;
            backface-visibility: visible;
        }

        .service-card:hover i {
            transform: rotateY(360deg) scale(1.1);
        }

        .service-card h3 {
            font-size: 1.6rem;
            margin-bottom: 15px;
            color: #2d3436;
        }

        /* Products Section */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }

        .product-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }

        .product-image {
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            cursor: pointer;
            padding: 10px;
            height: 400px;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            /* Show full image, not cropped */
            transform: scale(0.95);
        }

        .product-content {
            padding: 30px;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .product-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: #2d3436;
        }

        .product-content p {
            color: #636e72;
            margin-bottom: 20px;
        }


        /* AI Vision Section */
        .ai-vision {
            background: linear-gradient(135deg, #2c2c54, #474787);
            color: white;
        }

        .ai-content {
            display: block;
            text-align: center;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 20px;
        }

        .video-container {
            display: flex;
            flex-direction: column;
            /* Stack video and label vertically */
            background: rgba(255, 255, 255, 0.1);
            /* Semi-transparent background */
            border-radius: 15px;
            overflow: hidden;
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            /* 16:9 aspect ratio */
            height: 0;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 15px 15px 0 0;
        }

        .video-label {
            text-align: center;
            /* Center the label text */
            padding: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: #ffffff;
            font-size: 1rem;
            border-radius: 0 0 15px 15px;
        }

        @media (max-width: 768px) {
            .video-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .video-container {
                max-width: 100%;
            }

            .video-label {
                font-size: 0.9rem;
                padding: 6px;
            }
        }

        @media (max-width: 480px) {
            .video-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .video-container {
                max-width: 100%;
            }

            .video-label {
                font-size: 0.85rem;
                padding: 5px;
            }
        }

        /* About Section */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .about-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #636e72;
        }

        .about-image {
            height: 400px;
            border-radius: 15px;
            overflow: hidden;
        }

        .about-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Contact Section */
        .contact {
            background: #ffffff;
        }

        .contact-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }

        .contact-info h3 {
            font-size: 1.6rem;
            margin-bottom: 20px;
            color: #2c2c54;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 20px;
        }

        .contact-item i {
            color: #2c2c54;
            font-size: 1.2rem;
            margin-top: 3px;
        }

        .map-container {
            width: 100%;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #e9ecef;
        }

        .map-wrapper {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%;
            /* 16:9 aspect ratio for responsiveness */
            height: 0;
            background: #e9ecef;
            border-radius: 15px;
        }

        .map-iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
            /* Remove default inline spacing */
        }

        .map-container:hover {
            background: #dfe4ea;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .map-container {
                max-height: 300px;
            }
        }

        @media (max-width: 480px) {
            .map-container {
                max-height: 200px;
            }
        }

        .inquiry-form {
            background: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        }

        .form-group {
            margin-bottom: 25px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2d3436;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #dfe4ea;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #2c2c54;
            box-shadow: 0 0 0 3px rgba(44, 44, 84, 0.1);
        }

        .form-group input:invalid:focus,
        .form-group textarea:invalid:focus {
            border-color: #ff6b6b;
        }

        /* Footer */
        .footer {
            background: #2c2c54;
            color: white;
            text-align: center;
            padding: 40px 0;
            position: relative;
            z-index: 3000;
        }

        .footer a {
            color: #ff8e53;
            text-decoration: none;
            font-weight: 600;
        }

        .footer a:hover {
            text-decoration: underline;
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
            overflow: hidden;
        }

        @keyframes modalEntry {
            0% {
                opacity: 0;
                transform: translateY(50px) scale(0.95);
            }

            100% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .modal-content {
            background: white;
            margin: 5% auto;
            padding: 40px;
            border-radius: 15px;
            width: 90%;
            max-width: 800px;
            position: relative;
            animation: slideIn 0.3s ease;
            max-height: 80vh;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            animation: modalEntry 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
        }

        .modal-content h3 {
            font-size: 1.8rem;
            color: #2c2c54;
            margin-bottom: 10px;
        }

        .image-viewer {
            position: relative;
            width: 100%;
            height: 400px;
            overflow: hidden;
            border-radius: 10px;
            flex-shrink: 0;
        }

        .image-viewer img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transform-origin: center;
            transform: scale(1);
            transition: transform 0.3s ease;
        }

        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(88, 85, 85, 0.3);
            /* Light gray, transparent */
            color: #000000;
            border: none;
            padding: 6px 12px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            z-index: 2;
            transition: background 0.3s, color 0.3s;
            box-shadow: none;
        }

        .nav-arrow:hover {
            background: rgba(200, 200, 200, 0.6);
            /* Slightly darker on hover */
            color: #000;
        }

        .nav-arrow.left {
            left: 10px;
        }

        .nav-arrow.right {
            right: 10px;
        }

        .image-counter {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
        }

        .modal-scrollable {
            padding: 15px;
            background: #ffffff;
            border-radius: 8px;

        }

        .modal-scrollable p,
        .modal-scrollable ul,
        .modal-scrollable h4 {
            color: #000000;
        }

        .modal-scrollable h4 {
            margin-top: 0;
            margin-bottom: 10px;
        }

        .modal-scrollable ul {
            padding-left: 20px;
        }


        .modal-content::-webkit-scrollbar {
            width: 8px;
        }

        .modal-content::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .modal-content::-webkit-scrollbar-thumb {
            background: #2c2c54;
            border-radius: 10px;
        }

        .modal-content::-webkit-scrollbar-thumb:hover {
            background: #474787;
        }

        .close {
            position: absolute;
            right: 10px;
            top: 10px;
            font-size: 2rem;
            cursor: pointer;
            color: #636e72;
            z-index: 10;
            /* Ensure close button is above other elements */
        }

        .close:hover {
            color: #2d3436;
        }


        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: #2c2c54;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease, bottom 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .back-to-top:hover {
            background: #474787;
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .back-to-top.show {
            opacity: 1;
            visibility: visible;
        }

        /* Slideshow Styles for About Section */
        .about-image .slideshow-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .about-image .slideshow-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .about-image .slideshow-image.active {
            opacity: 1;
        }

        .about-nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(220, 220, 220, 0.3);
            /* Light gray, transparent */
            color: #333;
            border: none;
            padding: 6px 12px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            z-index: 2;
            transition: background 0.3s, color 0.3s;
            box-shadow: none;
        }

        .about-nav-arrow.left {
            left: 10px;
        }

        .about-nav-arrow.right {
            right: 10px;
        }

        .about-nav-arrow:hover {
            background: rgba(200, 200, 200, 0.6);
            /* Slightly darker on hover */
            color: #000;
        }

        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Modern Scroll Reveal Animation */
        .reveal {
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            will-change: opacity, transform;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* Section Transitions */
        section {
            transition: background-color 0.5s ease;
            will-change: background-color;
        }

        section.section {
            opacity: 0;
            animation: sectionFadeIn 1s ease forwards;
        }

        @keyframes sectionFadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Smooth Hover Transitions */
        .btn,
        .nav-link,
        .product-card,
        .service-card {
            transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                opacity 0.3s ease;
            will-change: transform, box-shadow, opacity;
        }

        .btn:hover,
        .nav-link:hover {
            transform: translateY(-2px);
        }

        .product-card:hover,
        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .image-viewer {
                height: 300px;
            }


            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }

            .nav-menu.active {
                display: flex;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero-buttons {
                flex-direction: column;
                align-items: center;
            }

            .section-title h2 {
                font-size: 2.2rem;
            }

            .ai-content,
            .about-content,
            .contact-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }

            .contact-info {
                gap: 15px;
            }

            .contact-info span {
                font-size: 0.85rem;
            }

            .main-header {
                top: 0;
            }

            .hero {
                margin-top: 80px;
                height: calc(100vh - 80px);
            }

            .image-viewer {
                height: 200px;
            }

            .modal-content {
                max-height: 85vh;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2rem;
            }

            .btn {
                padding: 12px 25px;
                font-size: 1rem;
            }

            .section {
                padding: 60px 0;
            }

            .modal-content {
                margin: 10% auto;
                padding: 30px 20px;
                max-height: 90vh;
            }

            .image-viewer {
                height: 250px;
            }

            .modal-content h3 {
                font-size: 1.5rem;
            }
        }

        /* Chat elements styles */
        [class*="launcher"],
        [id*="launcher"],
        [class*="messenger"],
        [id*="messenger"],
        [class*="widget"],
        [id*="widget"],
        [class*="button"],
        [id*="button"],
        iframe[src*="chatling"] {
            bottom: 100px !important;
        }

        

        #loader-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .loader {
            text-align: center;
            animation: fadeInScale 0.6s ease-out;
        }

        .loader-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .loader-logo {
            width: 280px;
            height: auto;
            opacity: 0;
            animation: logoReveal 1s ease forwards 0.3s;
        }

        .loader p {
            color: #2c2c54;
            font-size: 18px;
            margin: 15px 0;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards 0.6s;
        }

        .loading-bar {
            width: 200px;
            height: 4px;
            background: rgba(44, 44, 84, 0.1);
            border-radius: 4px;
            overflow: hidden;
            position: relative;
            opacity: 0;
            animation: fadeInUp 0.6s ease forwards 0.9s;
        }

        .loading-bar::after {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            width: 50%;
            height: 100%;
            background: linear-gradient(90deg,
                    rgba(44, 44, 84, 0.3),
                    rgba(71, 71, 135, 1));
            animation: loading 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
            border-radius: 4px;
            box-shadow: 0 0 10px rgba(71, 71, 135, 0.3);
        }

        @keyframes logoReveal {
            from {
                opacity: 0;
                transform: scale(0.8);
            }

            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        @keyframes loading {
            0% {
                left: -50%;
            }

            100% {
                left: 150%;
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        #loader-wrapper.fade-out {
            opacity: 0;
            pointer-events: none;
        }
