/* ============================================
           CSS Variables & Root Styles
        ============================================ */
        :root {
            --primary-start: #6366f1;
            --primary-end: #8b5cf6;
            --primary: #7c3aed;
            --secondary: #1e293b;
            --accent: #f59e0b;
            --accent-hover: #d97706;
            --success: #10b981;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --bg-dark: #0f172a;
            --bg-darker: #020617;
            --text-dark: #0f172a;
            --text-muted: #64748b;
            --text-light: #94a3b8;
            --border: #e2e8f0;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
            --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
            --radius-sm: 0.375rem;
            --radius: 0.75rem;
            --radius-lg: 1rem;
            --radius-xl: 1.5rem;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* ============================================
           Dark Mode Variables
        ============================================ */
        body.dark-mode {
            --bg-light: #0f172a;
            --bg-white: #1e293b;
            --bg-dark: #020617;
            --text-dark: #f1f5f9;
            --text-muted: #94a3b8;
            --text-light: #cbd5e1;
            --border: #334155;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
            --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
            --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
            --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
            --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
        }

        /* ============================================
           Reset & Base Styles
        ============================================ */
        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
            font-size: 16px;
        }

        body {
            font-family: 'Cairo', sans-serif;
            background: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.7;
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* ============================================
           Dark Mode Toggle Button
        ============================================ */
        .theme-toggle {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: none;
            background: var(--bg-light);
            color: var(--text-dark);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .theme-toggle:hover {
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            color: white;
            transform: rotate(15deg);
        }

        .theme-toggle .fa-sun {
            display: none;
        }

        .theme-toggle .fa-moon {
            display: block;
        }

        body.dark-mode .theme-toggle .fa-sun {
            display: block;
        }

        body.dark-mode .theme-toggle .fa-moon {
            display: none;
        }

        body.dark-mode .theme-toggle {
            background: var(--bg-white);
            color: var(--accent);
        }

        body.dark-mode .theme-toggle:hover {
            background: linear-gradient(135deg, var(--accent), var(--accent-hover));
            color: white;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-light);
            transition: background 0.3s ease;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, var(--primary-start), var(--primary-end));
            border-radius: 10px;
        }

        body.dark-mode ::-webkit-scrollbar-track {
            background: #1e293b;
        }

        /* ============================================
           Typography
        ============================================ */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            line-height: 1.3;
            color: var(--text-dark);
        }

        h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
        h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
        h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
        h4 { font-size: 1.125rem; }

        p {
            color: var(--text-muted);
            font-size: 1.0625rem;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        /* ============================================
           Utility Classes
        ============================================ */
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .section {
            padding: 6rem 0;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 4rem;
        }

        .section-header h2 {
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .section-header p {
            font-size: 1.125rem;
        }

        .gradient-text {
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        /* Buttons */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.875rem 2rem;
            font-size: 1rem;
            font-weight: 600;
            border-radius: var(--radius);
            border: none;
            cursor: pointer;
            transition: var(--transition);
            font-family: inherit;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            color: white;
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
        }

        .btn-secondary {
            background: var(--bg-white);
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .btn-secondary:hover {
            background: var(--primary);
            color: white;
        }

        .btn-accent {
            background: linear-gradient(135deg, var(--accent), var(--accent-hover));
            color: white;
            box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
        }

        .btn-accent:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
        }

        .btn-whatsapp {
            background: #25D366;
            color: white;
        }

        .btn-whatsapp:hover {
            background: #128C7E;
            transform: translateY(-2px);
        }

        /* Animations */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .fade-in-delay-1 { transition-delay: 0.1s; }
        .fade-in-delay-2 { transition-delay: 0.2s; }
        .fade-in-delay-3 { transition-delay: 0.3s; }
        .fade-in-delay-4 { transition-delay: 0.4s; }

        /* ============================================
           Navigation
        ============================================ */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1rem 0;
            transition: var(--transition);
        }

        .navbar.scrolled {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow);
            padding: 0.75rem 0;
        }

        body.dark-mode .navbar.scrolled {
            background: rgba(30, 41, 59, 0.95);
        }

        .navbar .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo {
            font-size: 1.75rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .nav-links a {
            font-weight: 500;
            color: var(--text-dark);
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            right: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-cta {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .nav-cta .btn {
            padding: 0.625rem 1.5rem;
            font-size: 0.9375rem;
        }

        /* Mobile Menu */
        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            cursor: pointer;
            padding: 0.5rem;
        }

        .menu-toggle span {
            width: 25px;
            height: 3px;
            background: var(--text-dark);
            border-radius: 3px;
            transition: var(--transition);
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }

        /* ============================================
           Hero Section
        ============================================ */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
            overflow: hidden;
            padding-top: 5rem;
            transition: background 0.3s ease;
        }

        body.dark-mode .hero {
            background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -25%;
            width: 80%;
            height: 150%;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
            animation: pulse 8s ease-in-out infinite;
        }

        .hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            right: -20%;
            width: 60%;
            height: 120%;
            background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
            animation: pulse 10s ease-in-out infinite reverse;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 0.5; }
            50% { transform: scale(1.1); opacity: 0.8; }
        }

        /* Geometric Shapes */
        .hero-shapes {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .shape {
            position: absolute;
            opacity: 0.1;
        }

        .shape-1 {
            top: 10%;
            right: 10%;
            width: 100px;
            height: 100px;
            border: 3px solid var(--primary);
            border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
            animation: float 6s ease-in-out infinite;
        }

        .shape-2 {
            top: 60%;
            right: 5%;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            border-radius: 50%;
            animation: float 8s ease-in-out infinite reverse;
        }

        .shape-3 {
            top: 30%;
            left: 5%;
            width: 80px;
            height: 80px;
            border: 3px solid var(--accent);
            transform: rotate(45deg);
            animation: float 7s ease-in-out infinite;
        }

        .shape-4 {
            bottom: 20%;
            left: 15%;
            width: 40px;
            height: 40px;
            background: var(--accent);
            border-radius: 50%;
            animation: float 5s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }

        .hero .container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .hero-content h1 {
            margin-bottom: 1.5rem;
            color: var(--text-dark);
        }

        .hero-content h1 span {
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero-content > p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            color: var(--text-muted);
        }

        .hero-features {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-bottom: 2.5rem;
        }

        .hero-features li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-size: 1rem;
            color: var(--text-dark);
        }

        .hero-features li i {
            color: var(--success);
            font-size: 1.25rem;
        }

        .hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .hero-image {
            position: relative;
        }

        .hero-image-wrapper {
            position: relative;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            border-radius: var(--radius-xl);
            padding: 2rem;
            box-shadow: var(--shadow-xl);
        }

        .hero-image-placeholder {
            background: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-lg);
            aspect-ratio: 4 / 3;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
            overflow: hidden;
        }

        .hero-image-placeholder i {
            font-size: 6rem;
            color: rgba(255, 255, 255, 0.5);
        }

        .hero-image-placeholder svg {
            width: 100%;
            height: 100%;
            display: block;
        }

        .trust-bar {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
        }

        .trust-bar p {
            font-size: 0.9375rem;
            color: var(--text-muted);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .trust-bar i {
            color: var(--accent);
        }

        /* ============================================
           Value Proposition Section
        ============================================ */
        .value-section {
            background: var(--bg-white);
        }

        .value-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .value-card {
            background: var(--bg-white);
            border: 1px solid var(--border);
            border-radius: var(--radius-lg);
            padding: 2rem;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .value-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }

        .value-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: transparent;
        }

        .value-card:hover::before {
            transform: scaleX(1);
        }

        .value-card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.25rem;
            transition: background 0.3s ease;
        }

        body.dark-mode .value-card-icon {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
        }

        .value-card-icon i {
            font-size: 1.5rem;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .value-card h4 {
            margin-bottom: 0.75rem;
            color: var(--text-dark);
        }

        .value-card p {
            font-size: 0.9375rem;
            color: var(--text-muted);
            line-height: 1.6;
        }

        /* ============================================
           Services Section
        ============================================ */
        .services-section {
            background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
            transition: background 0.3s ease;
        }

        body.dark-mode .services-section {
            background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .service-card {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 2.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .service-card::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-xl);
        }

        .service-card:hover::after {
            transform: scaleX(1);
        }

        .service-icon {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }

        .service-icon i {
            font-size: 1.75rem;
            color: white;
        }

        .service-card h3 {
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .service-card ul {
            display: flex;
            flex-direction: column;
            gap: 0.625rem;
        }

        .service-card li {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9375rem;
            color: var(--text-muted);
        }

        .service-card li i {
            color: var(--success);
            font-size: 0.875rem;
        }

        /* ============================================
           Process Section
        ============================================ */
        .process-section {
            background: var(--bg-dark);
            color: white;
            position: relative;
            overflow: hidden;
        }

        .process-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        }

        .process-section .section-header h2 {
            color: white;
            -webkit-text-fill-color: white;
        }

        .process-section .section-header p {
            color: var(--text-light);
        }

        .process-timeline {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 1rem;
            position: relative;
        }

        .process-timeline::before {
            content: '';
            position: absolute;
            top: 40px;
            left: 8%;
            right: 8%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
            z-index: 0;
        }

        .process-step {
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .process-number {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
            position: relative;
        }

        .process-number::after {
            content: '';
            position: absolute;
            inset: -5px;
            border-radius: 50%;
            border: 2px dashed rgba(255, 255, 255, 0.2);
        }

        .process-step h4 {
            color: white;
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .process-step p {
            font-size: 0.875rem;
            color: var(--text-light);
        }

        /* ============================================
           Packages Section
        ============================================ */
        .packages-section {
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
            transition: background 0.3s ease;
        }

        body.dark-mode .packages-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
        }

        .packages-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            align-items: start;
        }

        .package-card {
            background: var(--bg-white);
            border-radius: var(--radius-xl);
            padding: 2.5rem;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .package-card.featured {
            transform: scale(1.05);
            box-shadow: var(--shadow-xl);
            border: 2px solid var(--primary);
        }

        .package-card.featured::before {
            content: 'الأكثر طلبًا';
            position: absolute;
            top: -12px;
            right: 50%;
            transform: translateX(50%);
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            color: white;
            padding: 0.375rem 1.25rem;
            border-radius: 20px;
            font-size: 0.8125rem;
            font-weight: 600;
        }

        .package-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-xl);
        }

        .package-card.featured:hover {
            transform: scale(1.05) translateY(-10px);
        }

        .package-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: background 0.3s ease;
        }

        body.dark-mode .package-icon {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
        }

        .package-icon i {
            font-size: 1.5rem;
            color: var(--primary);
        }

        .package-card h3 {
            margin-bottom: 0.5rem;
        }

        .package-price {
            display: flex;
            align-items: baseline;
            gap: 0.5rem;
            margin: 0.25rem 0 1.25rem;
            padding-bottom: 1.25rem;
            border-bottom: 1px solid var(--border);
        }

        .package-price .from {
            font-size: 0.8125rem;
            color: var(--text-muted);
        }

        .package-price .amount {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.02em;
            line-height: 1;
        }

        .package-price .currency {
            font-size: 0.9375rem;
            color: var(--text-muted);
        }

        .package-card > p {
            color: var(--text-muted);
            font-size: 0.9375rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .package-features {
            margin-bottom: 2rem;
        }

        .package-features li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.625rem 0;
            font-size: 0.9375rem;
            color: var(--text-dark);
        }

        .package-features li i {
            color: var(--success);
        }

        .package-card .btn {
            width: 100%;
        }

        /* ============================================
           FAQ Section
        ============================================ */
        .faq-section {
            background: var(--bg-white);
        }

        .faq-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: var(--bg-light);
            border-radius: var(--radius);
            margin-bottom: 1rem;
            overflow: hidden;
            border: 1px solid var(--border);
            transition: var(--transition);
        }

        .faq-item:hover {
            border-color: var(--primary);
        }

        .faq-question {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.25rem 1.5rem;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-dark);
            transition: var(--transition);
        }

        .faq-question:hover {
            color: var(--primary);
        }

        .faq-question i {
            font-size: 1.25rem;
            transition: transform 0.3s ease;
            color: var(--primary);
        }

        .faq-item.active .faq-question i {
            transform: rotate(180deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 500px;
        }

        .faq-answer-content {
            padding: 0 1.5rem 1.5rem;
            color: var(--text-muted);
            line-height: 1.8;
        }

        .faq-answer-content ul {
            margin-top: 0.75rem;
        }

        .faq-answer-content li {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.375rem 0;
        }

        .faq-answer-content li i {
            color: var(--success);
            font-size: 0.875rem;
        }

        /* ============================================
           Tech Stack Section
        ============================================ */
        .tech-section {
            background: var(--bg-light);
        }

        .tech-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .tech-category {
            background: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .tech-category:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .tech-category h4 {
            margin-bottom: 1rem;
            color: var(--text-dark);
        }

        .tech-badges {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem;
        }

        .tech-badge {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
            color: var(--primary);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 500;
            transition: background 0.3s ease;
        }

        body.dark-mode .tech-badge {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(139, 92, 246, 0.25));
            color: #a5b4fc;
        }

        /* ============================================
           Final CTA Section
        ============================================ */
        .cta-section {
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            animation: rotate 30s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .cta-section .container {
            position: relative;
            z-index: 1;
        }

        .cta-section h2 {
            color: white;
            margin-bottom: 1rem;
        }

        .cta-section p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.25rem;
            margin-bottom: 2.5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .cta-section .btn-primary {
            background: white;
            color: var(--primary);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .cta-section .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }

        .cta-section .btn-secondary {
            background: transparent;
            color: white;
            border-color: white;
        }

        .cta-section .btn-secondary:hover {
            background: white;
            color: var(--primary);
        }

        /* ============================================
           Contact Section
        ============================================ */
        .contact-section {
            background: var(--bg-white);
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }

        .contact-card {
            background: var(--bg-light);
            border-radius: var(--radius-lg);
            padding: 2rem;
            text-align: center;
            transition: var(--transition);
            border: 1px solid var(--border);
        }

        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary);
        }

        .contact-card-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
        }

        .contact-card-icon i {
            font-size: 1.5rem;
            color: white;
        }

        .contact-card h4 {
            margin-bottom: 0.5rem;
            color: var(--text-dark);
        }

        .contact-card p {
            font-size: 0.9375rem;
            color: var(--text-muted);
        }

        .contact-card a {
            color: var(--primary);
            font-weight: 500;
        }

        .contact-card a:hover {
            text-decoration: underline;
        }

        /* ============================================
           Footer
        ============================================ */
        .footer {
            background: var(--bg-dark);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr repeat(3, 1fr);
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand .logo {
            margin-bottom: 1rem;
            display: inline-block;
        }

        .footer-brand p {
            color: var(--text-light);
            font-size: 0.9375rem;
            margin-bottom: 1.5rem;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            transition: var(--transition);
        }

        .footer-social a:hover {
            background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
            transform: translateY(-3px);
        }

        .footer-column h4 {
            color: white;
            margin-bottom: 1.5rem;
            font-size: 1.125rem;
        }

        .footer-column ul {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-column a {
            color: var(--text-light);
            font-size: 0.9375rem;
            transition: var(--transition);
        }

        .footer-column a:hover {
            color: white;
            padding-right: 5px;
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-bottom p {
            color: var(--text-light);
            font-size: 0.875rem;
        }

        .footer-bottom-links {
            display: flex;
            gap: 2rem;
        }

        .footer-bottom-links a {
            color: var(--text-light);
            font-size: 0.875rem;
        }

        .footer-bottom-links a:hover {
            color: white;
        }

        /* ============================================
           Mobile Navigation Overlay
        ============================================ */
        .nav-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .nav-overlay.active {
            opacity: 1;
        }

        .mobile-nav {
            display: none;
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 320px;
            height: 100vh;
            background: var(--bg-white);
            z-index: 999;
            padding: 2rem;
            transition: right 0.3s ease, background 0.3s ease;
            overflow-y: auto;
        }

        body.dark-mode .mobile-nav {
            background: #1e293b;
        }

        .mobile-nav.active {
            right: 0;
        }

        .mobile-nav-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border);
        }

        .mobile-nav-close {
            width: 40px;
            height: 40px;
            background: var(--bg-light);
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.25rem;
            color: var(--text-dark);
            transition: background 0.3s ease, color 0.3s ease;
        }

        body.dark-mode .mobile-nav-close {
            background: #334155;
            color: #f1f5f9;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .mobile-nav-links a {
            display: block;
            padding: 1rem;
            font-weight: 500;
            color: var(--text-dark);
            border-radius: var(--radius);
            transition: var(--transition);
        }

        .mobile-nav-links a:hover {
            background: var(--bg-light);
            color: var(--primary);
        }

        .mobile-nav-cta {
            margin-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .mobile-nav-cta .btn {
            width: 100%;
        }

        /* ============================================
           Portfolio Section
        ============================================ */
        .portfolio-section {
            background: var(--bg-white);
        }

        body.dark-mode .portfolio-section {
            background: var(--bg-dark);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 2rem;
        }

        .portfolio-card {
            position: relative;
            background: var(--bg-light);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .portfolio-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .image-thumbnail {
            position: relative;
            width: 100%;
            height: 350px; /* Base height for the thumbnail */
            overflow: hidden;
            background: var(--border);
            border-radius: var(--radius-lg);
        }

        /* The image inside will scroll up on hover */
        .image-thumbnail img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 4s ease-in-out;
            transform: translateY(0);
        }

        .portfolio-card:hover .image-thumbnail img {
            /* Scroll to the bottom of the long image */
            transform: translateY(calc(-100% + 350px));
        }

        .portfolio-overlay {
            position: absolute;
            inset: 0;
            z-index: 10;
            background: rgba(15, 23, 42, 0.9);
            backdrop-filter: blur(4px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
            color: white;
            padding: 2rem;
            text-align: center;
        }

        .portfolio-card:hover .portfolio-overlay {
            opacity: 1;
        }

        .portfolio-overlay h3 {
            color: white;
            margin-bottom: 0.5rem;
            font-size: 1.5rem;
            transform: translateY(20px);
            transition: transform 0.4s ease;
        }

        .portfolio-overlay p {
            color: #cbd5e1;
            margin-bottom: 1.5rem;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.1s;
        }

        .portfolio-overlay .btn {
            transform: translateY(20px);
            opacity: 0;
            transition: transform 0.4s ease 0.2s, opacity 0.4s ease 0.2s, background 0.3s ease;
        }

        .portfolio-card:hover .portfolio-overlay h3,
        .portfolio-card:hover .portfolio-overlay p,
        .portfolio-card:hover .portfolio-overlay .btn {
            transform: translateY(0);
            opacity: 1;
        }

        /* ============================================
           Responsive Design
        ============================================ */
        @media (max-width: 1200px) {
            .value-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .process-timeline {
                grid-template-columns: repeat(3, 1fr);
                gap: 2rem;
            }

            .process-timeline::before {
                display: none;
            }
        }

        @media (max-width: 1024px) {
            .hero .container {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-content {
                order: 1;
            }

            .hero-image {
                order: 2;
                max-width: 500px;
                margin: 0 auto;
            }

            .hero-features {
                align-items: center;
            }

            .hero-buttons {
                justify-content: center;
            }

            .services-grid,
            .packages-grid,
            .tech-grid,
            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .package-card.featured {
                transform: none;
                order: -1;
            }

            .package-card.featured:hover {
                transform: translateY(-10px);
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .contact-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .section {
                padding: 4rem 0;
            }

            .nav-links,
            .nav-cta {
                display: none;
            }

            .menu-toggle {
                display: flex;
            }

            .nav-overlay,
            .mobile-nav {
                display: block;
            }

            .nav-overlay {
                pointer-events: none;
            }

            .nav-overlay.active {
                pointer-events: auto;
            }

            .value-grid {
                grid-template-columns: 1fr;
            }

            .process-timeline {
                grid-template-columns: repeat(2, 1fr);
            }
            
            /* Portfolio Mobile Fixes */
            .portfolio-card:hover {
                transform: none !important;
                box-shadow: var(--shadow) !important;
            }

            .portfolio-overlay {
                opacity: 1 !important; /* Always visible on mobile */
                background: linear-gradient(to top, rgba(15, 23, 42, 1) 5%, rgba(15, 23, 42, 0.6) 50%, transparent 100%) !important;
                justify-content: flex-end !important;
                padding-bottom: 1.5rem !important;
            }
            
            .portfolio-overlay h3,
            .portfolio-overlay p,
            .portfolio-overlay .btn {
                opacity: 1 !important;
                transform: translateY(0) !important;
                transition: none !important;
            }
            
            .portfolio-overlay p {
                margin-bottom: 1rem !important;
            }
            
            .portfolio-overlay .btn {
                position: relative !important;
                z-index: 999 !important;
                pointer-events: auto !important;
            }

            .image-thumbnail img {
                transition: none !important; /* Disable the hovering vertical scroll on mobile */
                transform: translateY(0) !important;
                pointer-events: none !important; /* Ensure image never blocks clicks */
            }

            .footer-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .footer-brand {
                margin-bottom: 2rem;
            }

            .footer-social {
                justify-content: center;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .contact-grid {
                grid-template-columns: 1fr;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }

            .cta-buttons .btn {
                width: 100%;
                max-width: 300px;
            }
        }

        @media (max-width: 480px) {
            html {
                font-size: 14px;
            }

            .container {
                padding: 0 1rem;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .hero-buttons .btn {
                width: 100%;
            }

            .process-timeline {
                grid-template-columns: 1fr;
            }

            .process-number {
                width: 60px;
                height: 60px;
                font-size: 1.25rem;
            }
        }

        /*


