:root {
            /* Colors */
            --color-primary: #1e3a8a;
            --color-primary-hover: #1e40af;
            --color-primary-light: #dbeafe;
            --color-secondary: #0d9488;
            --color-secondary-hover: #0f766e;
            --color-secondary-light: #ccfbf1;
            --color-accent: #f59e0b;
            --color-accent-hover: #d97706;
            --color-accent-light: #fef3c7;
            --color-indigo: #4f46e5;
            --color-indigo-light: #e0e7ff;
            
            --color-bg-main: #f9fafb;
            --color-bg-white: #ffffff;
            --color-text-dark: #111827;
            --color-text-main: #374151;
            --color-text-muted: #6b7280;
            --color-border: #f3f4f6;
            
            /* Shadows */
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            
            /* Typography */
            --font-family: 'AloAzemayesh', 'IRANSans', Tahoma, sans-serif;
            --transition: all 0.3s ease;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-family);
            background-color: var(--color-bg-main);
            color: var(--color-text-main);
            line-height: 1.6;
            scroll-behavior: smooth;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        a { text-decoration: none; color: inherit; }
        button { cursor: pointer; border: none; background: none; font-family: inherit; outline: none; }
        img { max-width: 100%; height: auto; display: block; }
        ul { list-style: none; }

        /* ==================== 
           SVG Icon System 
           ==================== */
        .sg-icon {
            width: 1.5em;
            height: 1.5em;
            display: inline-block;
            vertical-align: middle;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            fill: none;
        }
        .sg-icon-fill {
            fill: currentColor;
            stroke: none;
        }

        /* ==================== 
           Utility Classes 
           ==================== */
        .sg-container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .sg-section { padding: 5rem 0; }
        .sg-bg-white { background-color: var(--color-bg-white); }
        .sg-bg-gray { background-color: var(--color-bg-main); }
        .sg-bg-primary { background-color: var(--color-primary); color: white; }

        .sg-text-gradient {
            background: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-primary));
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: shineGradient 4s linear infinite;
        }

        @keyframes shineGradient {
            to { background-position: 200% center; }
        }

        .sg-section-header { text-align: center; margin-bottom: 3rem; }
        .sg-section-header.left { text-align: right; }
        
        .sg-section-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.25rem 1rem;
            border-radius: 9999px;
            font-weight: 700;
            font-size: 0.875rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            color: var(--color-primary);
        }

        .sg-section-title {
            font-size: 2rem;
            font-weight: 900;
            color: var(--color-text-dark);
            line-height: 1.3;
            margin-bottom: 1rem;
        }

        .sg-grid { display: grid; gap: 2rem; }
        .sg-grid-2 { grid-template-columns: 1fr; }
        .sg-grid-3 { grid-template-columns: 1fr; }
        .sg-grid-4 { grid-template-columns: 1fr; }

        @media (min-width: 768px) {
            .sg-grid-2 { grid-template-columns: repeat(2, 1fr); }
            .sg-grid-3 { grid-template-columns: repeat(2, 1fr); }
            .sg-grid-4 { grid-template-columns: repeat(2, 1fr); }
            .sg-section-title { font-size: 2.5rem; }
        }
        @media (min-width: 1024px) {
            .sg-grid-3 { grid-template-columns: repeat(3, 1fr); }
            .sg-grid-4 { grid-template-columns: repeat(4, 1fr); }
        }

        .invisible { visibility: hidden; }
        .opacity-0 { opacity: 0; }
        .opacity-100 { opacity: 1; }
        .translate-y-4 { transform: translateY(1rem); }
        .-translate-y-4 { transform: translateY(-1rem); }
        .translate-y-0 { transform: translateY(0); }
        .rotate-180 { transform: rotate(180deg); }

        /* ==================== 
           Hero Section Animations
           ==================== */
        @keyframes fadeInUp { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: translateY(0); } }
        @keyframes fadeInDown { from { opacity: 0; transform: translateY(-1.5rem); } to { opacity: 1; transform: translateY(0); } }
        @keyframes pulseSoft { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
        @keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(2rem, 3rem) scale(1.05); } }

        .animate-fade-in-up { animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
        .animate-fade-in-down { animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; opacity: 0; }
        .delay-100 { animation-delay: 0.1s; }
        .delay-200 { animation-delay: 0.2s; }
        .delay-300 { animation-delay: 0.3s; }
        .delay-400 { animation-delay: 0.4s; }

        /* ==================== 
           Hero Section 
           ==================== */
        .sg-hero {
            position: relative;
            padding: 4rem 0 6rem;
            z-index: 40;
            background-color: var(--color-bg-white);
            background-image: 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='#1e3a8a' fill-opacity='0.03'%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");
            overflow-x: clip; 
        }
        
        .sg-hero-blob-1 { position: absolute; top: -10%; right: -5%; width: 40vw; height: 40vw; max-width: 500px; max-height: 500px; background: radial-gradient(circle, rgba(30,58,138,0.08) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: 0; animation: floatBlob 8s infinite alternate ease-in-out; }
        .sg-hero-blob-2 { position: absolute; bottom: -10%; left: -5%; width: 35vw; height: 35vw; max-width: 400px; max-height: 400px; background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, rgba(255,255,255,0) 70%); border-radius: 50%; z-index: 0; animation: floatBlob 10s infinite alternate-reverse ease-in-out; animation-delay: -3s;}

        .sg-hero-icon { position: absolute; opacity: 0.12; z-index: 5; pointer-events: none; }
        .sg-hero-icon.icon-1 { top: 10%; right: 8%; width: 110px; height: 110px; color: var(--color-primary); animation: floatBlob 12s infinite alternate ease-in-out; }
        .sg-hero-icon.icon-2 { top: 65%; right: 15%; width: 130px; height: 130px; color: var(--color-secondary); animation: floatBlob 15s infinite alternate-reverse ease-in-out; }
        .sg-hero-icon.icon-3 { top: 15%; left: 10%; width: 120px; height: 120px; color: var(--color-indigo); animation: floatBlob 14s infinite alternate ease-in-out; animation-delay: -2s; }
        .sg-hero-icon.icon-4 { top: 65%; left: 8%; width: 100px; height: 100px; color: var(--color-accent); animation: floatBlob 10s infinite alternate-reverse ease-in-out; animation-delay: -5s; }

        .sg-hero-layout { display: flex; flex-direction: column; align-items: center; gap: 3rem; position: relative; z-index: 10; }
        .sg-hero-content { width: 100%; text-align: center; }
        .sg-hero-label {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1.25rem;
            border-radius: 9999px;
            background-color: #eff6ff;
            color: var(--color-primary);
            font-weight: 700;
            font-size: 0.85rem;
            margin-bottom: 1.5rem;
            border: 1px solid #bfdbfe;
        }
        .sg-hero-title { font-size: 2.25rem; font-weight: 900; color: var(--color-text-dark); line-height: 1.3; margin-bottom: 1.5rem; }
        .sg-hero-desc { font-size: 1.125rem; color: var(--color-text-muted); margin-bottom: 2rem; max-width: 42rem; margin-inline: auto; }
        .sg-hero-actions { display: flex; flex-direction: column; gap: 1rem; justify-content: center; align-items: center; position: relative; z-index: 30; width: 100%; }
        .sg-hero-primary-wrap { position: relative; width: 100%; z-index: 50; } 
        
        .sg-btn-primary { background-color: var(--color-primary); color: var(--color-bg-white); padding: 1rem 1.5rem; border-radius: 0.75rem; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25); width: 100%; border: 1px solid transparent; }
        .sg-btn-primary:hover { background-color: var(--color-primary-hover); box-shadow: 0 8px 20px rgba(30, 58, 138, 0.35); transform: translateY(-2px); }
        .sg-btn-primary:active { transform: translateY(0); }
        
        .sg-btn-outline { background-color: var(--color-bg-white); color: var(--color-primary) !important; border: 1px solid #1e3a8a !important; padding: 1rem 1.5rem; border-radius: 0.75rem; font-weight: 700; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); width: 100%; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
        .sg-btn-outline:hover { border-color: #9ca3af; color: var(--color-primary); background-color: #f8fafc; box-shadow: 0 6px 12px rgba(0,0,0,0.05); transform: translateY(-2px); }
        .sg-btn-outline:active { transform: translateY(0); }

        .sg-dropdown-menu { position: absolute; top: 100%; margin-top: 0.75rem; left: 0; right: 0; background: var(--color-bg-white); border-radius: 1rem; box-shadow: var(--shadow-xl); border: 1px solid var(--color-border); padding: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; transition: var(--transition); text-align: right; z-index: 50;}
        .sg-dropdown-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: 0.75rem; transition: background-color 0.3s ease; }
        .sg-dropdown-item-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; font-size: 1.125rem;}
        .sg-dropdown-item:hover .sg-dropdown-item-icon { transform: scale(1.1); }
        .sg-dropdown-item.phone { color: #059669; } .sg-dropdown-item.phone:hover { background-color: #ecfdf5; } .sg-dropdown-item.phone .sg-dropdown-item-icon { background-color: #d1fae5; }
        .sg-dropdown-item.whatsapp { color: #25D366; } .sg-dropdown-item.whatsapp:hover { background-color: rgba(37, 211, 102, 0.1); } .sg-dropdown-item.whatsapp .sg-dropdown-item-icon { background-color: rgba(37, 211, 102, 0.2); }
        .sg-dropdown-item.telegram { color: #0088cc; } .sg-dropdown-item.telegram:hover { background-color: rgba(0, 136, 204, 0.1); } .sg-dropdown-item.telegram .sg-dropdown-item-icon { background-color: rgba(0, 136, 204, 0.2); }
        .sg-dropdown-item.eitaa { color: #f26c24; } .sg-dropdown-item.eitaa:hover { background-color: rgba(242, 108, 36, 0.1); } .sg-dropdown-item.eitaa .sg-dropdown-item-icon { background-color: rgba(242, 108, 36, 0.2); }
        .sg-dropdown-item.rubika { color: #d8248f; } .sg-dropdown-item.rubika:hover { background-color: rgba(216, 36, 143, 0.1); } .sg-dropdown-item.rubika .sg-dropdown-item-icon { background-color: rgba(216, 36, 143, 0.2); }

        .sg-hero-trust-list { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; font-size: 0.875rem; color: var(--color-text-muted); font-weight: 500; }
        .sg-hero-trust-item { display: flex; align-items: center; gap: 0.5rem; transition: transform 0.3s ease, color 0.3s ease; }
        .sg-hero-trust-item:hover { transform: translateY(-3px); color: var(--color-primary); }

        @media (min-width: 640px) { 
            .sg-hero-actions { flex-direction: row; gap: 1.25rem; } 
            .sg-hero-primary-wrap { width: auto; min-width: 17.5rem; } 
            .sg-btn-primary { width: 100%; } 
            .sg-btn-outline { width: auto; min-width: 14.5rem; } 
            .sg-dropdown-menu { min-width: 100%; right: 0; } 
        }
        @media (min-width: 1024px) {
            .sg-hero { padding-top: 5rem; padding-bottom: 8rem; }
            .sg-hero-content { max-width: 56rem; }
            .sg-hero-title { font-size: 3.5rem; }
        }

        /* ==================== 
           Partners / Marquee 
           ==================== */
        .sg-partners { padding: 3rem 0; background: var(--color-bg-white); border-bottom: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center; overflow: hidden; }
        .sg-partners-title { font-size: 1.275rem; font-weight: 700; color: #363636; margin-bottom: 2rem; text-transform: uppercase; text-align: center; padding: 0 1rem; }
        .sg-marquee-container { width: 100%; display: flex; overflow: hidden; max-width: 1280px; margin: 0 auto; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
        .sg-marquee-track { display: flex; align-items: center; white-space: nowrap; animation: marquee 30s linear infinite; }
        .sg-marquee-container:hover .sg-marquee-track { animation-play-state: paused; }
        @keyframes marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(100%); } }
        .sg-marquee-item { opacity: 0.5; filter: grayscale(100%); transition: var(--transition); cursor: pointer; height: 4rem; width: 8rem; margin: 0 2rem; display: flex; align-items: center; justify-content: center;}
        .sg-marquee-item img { max-height: 100%; max-width: 100%; object-fit: contain; }
        .sg-marquee-item:hover { opacity: 1; filter: grayscale(0%); }

        /* ==================== 
           Services Section 
           ==================== */
        .sg-services { position: relative; overflow: hidden; }
        .sg-bg-blob-1 { position: absolute; top: 0; right: 0; width: 500px; height: 500px; background: rgba(219, 234, 254, 0.5); border-radius: 50%; filter: blur(60px); transform: translate(50%, -50%); z-index: 0; }
        .sg-bg-blob-2 { position: absolute; bottom: 0; left: 0; width: 600px; height: 600px; background: rgba(204, 251, 241, 0.5); border-radius: 50%; filter: blur(60px); transform: translate(-30%, 30%); z-index: 0; }
        
        .sg-service-card {
            background: var(--color-bg-white);
            border-radius: 2rem;
            padding: 2.5rem;
            border: 1px solid var(--color-border);
            box-shadow: var(--shadow-md);
            position: relative;
            z-index: 10;
            overflow: hidden;
            transition: var(--transition);
        }
        .sg-service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: var(--color-primary-light); }
        
        .sg-service-bg-gradient { position: absolute; inset: 0; opacity: 0; transition: var(--transition); z-index: -1;}
        .sg-service-card:hover .sg-service-bg-gradient { opacity: 1; }
        .sg-service-card.s1 .sg-service-bg-gradient { background: linear-gradient(to bottom right, rgba(219, 234, 254, 0.5), transparent); }
        .sg-service-card.s2 .sg-service-bg-gradient { background: linear-gradient(to bottom right, rgba(204, 251, 241, 0.5), transparent); }
        .sg-service-card.s3 .sg-service-bg-gradient { background: linear-gradient(to bottom right, rgba(254, 243, 199, 0.5), transparent); }
        .sg-service-card.s4 .sg-service-bg-gradient { background: linear-gradient(to bottom right, rgba(224, 231, 255, 0.5), transparent); }

        .sg-service-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
        .sg-service-icon { width: 5rem; height: 5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; transition: transform 0.5s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); }
        .sg-service-card:hover .sg-service-icon { transform: scale(1.1) rotate(5deg); }
        
        .sg-service-card.s1 .sg-service-icon { background: linear-gradient(to bottom right, var(--color-primary-light), #eff6ff); color: var(--color-primary); }
        .sg-service-card.s2 .sg-service-icon { background: linear-gradient(to bottom right, var(--color-secondary-light), #f0fdfa); color: var(--color-secondary); }
        .sg-service-card.s3 .sg-service-icon { background: linear-gradient(to bottom right, var(--color-accent-light), #fffbeb); color: var(--color-accent); }
        .sg-service-card.s4 .sg-service-icon { background: linear-gradient(to bottom right, var(--color-indigo-light), #eef2ff); color: var(--color-indigo); }

        .sg-service-number { font-size: 3rem; font-weight: 900; color: #f3f4f6; transition: color 0.5s ease; }
        .sg-service-card.s1:hover .sg-service-number { color: var(--color-primary-light); }
        .sg-service-card.s2:hover .sg-service-number { color: var(--color-secondary-light); }
        .sg-service-card.s3:hover .sg-service-number { color: var(--color-accent-light); }
        .sg-service-card.s4:hover .sg-service-number { color: var(--color-indigo-light); }

        .sg-service-title { font-size: 1.5rem; font-weight: 800; color: var(--color-text-dark); margin-bottom: 1rem; transition: color 0.3s ease; }
        .sg-service-card.s1:hover .sg-service-title { color: var(--color-primary); }
        .sg-service-card.s2:hover .sg-service-title { color: var(--color-secondary); }
        .sg-service-card.s3:hover .sg-service-title { color: var(--color-accent); }
        .sg-service-card.s4:hover .sg-service-title { color: var(--color-indigo); }

        .sg-service-desc { color: var(--color-text-muted); margin-bottom: 2rem; min-height: 4.5rem; }
        .sg-service-list { margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
        .sg-service-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; font-weight: 500; color: var(--color-text-main); }
        .sg-service-list .sg-icon { color: var(--color-secondary); font-size: 1.125rem; }
        
        .sg-service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; transition: gap 0.3s ease; }
        .sg-service-link:hover { gap: 1rem; }
        .sg-service-card.s1 .sg-service-link { color: var(--color-primary); }
        .sg-service-card.s2 .sg-service-link { color: var(--color-secondary); }
        .sg-service-card.s3 .sg-service-link { color: var(--color-accent); }
        .sg-service-card.s4 .sg-service-link { color: var(--color-indigo); }

        /* ==================== 
           Portfolio Marquee (Auto Slider)
           ==================== */
        .sg-portfolio-header-wrap {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
            margin-bottom: 3rem;
            text-align: center;
        }

        @media (min-width: 768px) {
            .sg-portfolio-header-wrap {
                flex-direction: row;
                justify-content: space-between;
                align-items: flex-end;
                text-align: right;
            }
        }

        .sg-btn-secondary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            background: var(--color-bg-white);
            color: var(--color-primary) !important;
            border: 1px solid var(--color-border);
            padding: 0.75rem 1.5rem;
            border-radius: 0.75rem;
            font-weight: 700;
            transition: var(--transition);
        }
        .sg-btn-secondary:hover {
            border-color: var(--color-primary);
            color: var(--color-primary-hover);
            box-shadow: var(--shadow-sm);
        }

        /* Container for Auto Slider */
        .sg-port-marquee-container {
            display: flex;
            width: 100%;
            overflow: hidden;
            margin: 1rem 0;
            padding: 1rem 0;
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }

        /* Tracks to move via CSS Animation */
        .sg-port-marquee-track {
            display: flex;
            flex-shrink: 0;
            gap: 1.5rem;
            padding-left: 1.5rem; /* Gap replacement at the end to match loops smoothly */
            /* تغییرات مهم برای روان شدن انیمیشن در iOS */
            -webkit-animation: portMarquee 35s linear infinite;
            animation: portMarquee 35s linear infinite;
            -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
            will-change: transform;
        }
        
        .sg-port-marquee-container:hover .sg-port-marquee-track {
            -webkit-animation-play-state: paused;
            animation-play-state: paused;
        }

        @-webkit-keyframes portMarquee {
            0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
            100% { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); }
        }
        @keyframes portMarquee {
            0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
            100% { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); }
        }

        /* Portfolio Slides */
        .sg-portfolio-slide {
            flex: 0 0 280px;
            flex-shrink: 0;
        }
        @media (min-width: 640px) {
            .sg-portfolio-slide { flex: 0 0 350px; }
        }
        @media (min-width: 1024px) {
            .sg-portfolio-slide { flex: 0 0 400px; }
        }

        .sg-portfolio-card {
            position: relative;
            border-radius: 1rem;
            overflow: hidden;
            height: 20rem;
            cursor: pointer;
            box-shadow: var(--shadow-md);
            transition: box-shadow 0.3s ease;
            width: 100%;
        }
        .sg-portfolio-card:hover { box-shadow: var(--shadow-xl); }

        .sg-portfolio-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }
        .sg-portfolio-card:hover .sg-portfolio-img { transform: scale(1.1); }

        .sg-portfolio-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(17,24,39,0.95), rgba(17,24,39,0.3), transparent);
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }
        .sg-portfolio-card:hover .sg-portfolio-overlay { opacity: 1; }

        .sg-portfolio-content {
            position: absolute;
            inset: 0;
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            transform: translateY(1rem);
            transition: transform 0.3s ease;
        }
        .sg-portfolio-card:hover .sg-portfolio-content { transform: translateY(0); }

        .sg-portfolio-tag {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            color: white;
            font-size: 0.75rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            width: fit-content;
        }
        .sg-portfolio-card h4 {
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 0.25rem;
        }
        .sg-portfolio-card p {
            color: #d1d5db;
            font-size: 0.875rem;
            opacity: 0;
            transition: opacity 0.5s ease 0.1s;
        }
        .sg-portfolio-card:hover p { opacity: 1; }

        /* ==================== 
           Features Section 
           ==================== */
        .sg-features { text-align: center; }
        .sg-feature-item { padding: 1.5rem; transition: transform 0.3s ease; }
        .sg-feature-item:hover { transform: translateY(-5px); }
        .sg-feature-icon { font-size: 3rem; color: var(--color-secondary); margin-bottom: 1rem; transition: transform 0.3s ease;}
        .sg-feature-item:hover .sg-feature-icon { transform: scale(1.1); }
        .sg-feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
        .sg-feature-desc { color: #bfdbfe; font-size: 0.875rem; }

        /* ==================== 
           Process Section 
           ==================== */
        .sg-process-wrap { position: relative; }
        .sg-process-line { display: none; position: absolute; top: 50%; left: 0; width: 100%; height: 4px; background-color: var(--color-border); transform: translateY(-50%); z-index: 0; }
        
        .sg-process-card { background: var(--color-bg-white); padding: 1.5rem; border-radius: 1rem; box-shadow: var(--shadow-lg); border: 1px solid var(--color-border); text-align: center; position: relative; z-index: 10; transition: transform 0.3s ease;}
        .sg-process-card:hover { transform: translateY(-0.5rem); }
        .sg-process-step { width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; margin: 0 auto 1rem; border: 4px solid var(--color-bg-white); }
        
        @media (min-width: 768px) { .sg-process-line { display: block; } }

        /* ==================== 
           About Section 
           ==================== */
        .sg-about { border-top: 1px solid var(--color-border); }
        .sg-about-layout { display: flex; flex-direction: column; align-items: center; gap: 3rem; }
        .sg-about-img-wrap { width: 100%; position: relative; }
        .sg-about-img-bg { position: absolute; inset: 0; background: linear-gradient(to top right, var(--color-primary), var(--color-secondary)); border-radius: 1.5rem; transform: rotate(3deg) scale(1.05); opacity: 0.1; }
        .sg-about-img { position: relative; border-radius: 1.5rem; box-shadow: var(--shadow-xl); width: 100%; aspect-ratio: 4/5; object-fit: cover; border: 8px solid var(--color-bg-white); }
        .sg-about-content { width: 100%; }
        .sg-about-text { color: var(--color-text-muted); font-size: 1.125rem; margin-bottom: 2rem; }
        .sg-about-text p { margin-bottom: 1rem; }
        
        /* Custom Highlight Style for Name */
        .sg-name-highlight { position: relative; display: inline-block; white-space: nowrap; }
        .sg-name-highlight-text { position: relative; z-index: 2; font-family: 'iransansdn'; background: linear-gradient(135deg, var(--color-primary), #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 900; padding: 0 0.2rem;}
        .sg-name-underline { position: absolute; bottom: 0.1rem; left: -2%; width: 104%; height: 1.25rem; z-index: 1; color: var(--color-accent); opacity: 0.35; }
        .sg-name-underline path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawMarker 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards; animation-delay: 0.5s; }
        @keyframes drawMarker { to { stroke-dashoffset: 0; } }

        .sg-social-wrap { padding-top: 1.5rem; border-top: 1px solid var(--color-border); display: flex; flex-direction: column; align-items: center;  gap: 1rem; }
        .sg-social-title { font-weight: 700; font-size: 0.875rem; color: var(--color-text-dark); }
        .sg-social-links { display: flex; align-items: center; gap: 0.75rem; }
        .sg-social-link { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--color-bg-main); color: var(--color-text-muted); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: var(--transition); }
        .sg-social-link:hover { color: white; box-shadow: var(--shadow-lg); transform: translateY(-2px); }


        @media (min-width: 768px) {
            .sg-about-layout { flex-direction: row; gap: 5rem; }
            .sg-about-img-wrap { width: 41.666%; }
            .sg-about-content { width: 58.333%; }
            .sg-social-wrap { flex-direction: row; align-items: center; }
        }

        /* ==================== 
           Testimonials Section 
           ==================== */
        .sg-testimonials { background-color: rgba(239, 246, 255, 0.4); position: relative; overflow: hidden;}
        .sg-test-bg-1 { position: absolute; top: 0; right: 0; transform: translate(20%, -20%); width: 18rem; height: 18rem; border-radius: 50%; background: var(--color-primary-light); opacity: 0.5; filter: blur(40px); }
        .sg-test-bg-2 { position: absolute; bottom: 0; left: 0; transform: translate(-20%, 20%); width: 18rem; height: 18rem; border-radius: 50%; background: var(--color-secondary-light); opacity: 0.5; filter: blur(40px); }
        
        .sg-slider-wrap { position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; padding: 1rem 0; }
        
        .sg-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 3.5rem; height: 3.5rem; background: var(--color-bg-white); border-radius: 50%; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid var(--color-border); color: var(--color-primary); display: none; align-items: center; justify-content: center; z-index: 20; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; font-size: 1.25rem;}
        .sg-slider-wrap:hover .sg-slider-btn { display: flex; opacity: 1; }
        .sg-slider-btn:hover { background: var(--color-primary); color: white; transform: translateY(-50%) scale(1.05); box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2); }
        .sg-slider-btn.prev { right: -1.75rem; }
        .sg-slider-btn.next { left: -1.75rem; }
        
        @media (min-width: 768px) { 
            .sg-slider-wrap { padding: 1rem 2rem; }
            .sg-slider-btn { display: flex; opacity: 0.7; }
            .sg-slider-btn.prev { right: 0; }
            .sg-slider-btn.next { left: 0; }
        }

        .sg-slider-container { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 2rem; padding-bottom: 2rem; padding-top: 1rem; padding-inline: 1rem; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; cursor: grab; }
        .sg-slider-container.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
        .sg-slider-container::-webkit-scrollbar { display: none; }

        .sg-test-card { flex: 0 0 85vw; scroll-snap-align: start; background: var(--color-bg-white); padding: 2.5rem; border-radius: 1.5rem; box-shadow: var(--shadow-md); border: 1px solid rgba(0,0,0,0.03); transition: all 0.3s ease; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
        .sg-test-card:hover { box-shadow: var(--shadow-xl); border-color: rgba(30, 58, 138, 0.1); transform: translateY(-5px); z-index: 2;}
        
        @media (min-width: 640px) { .sg-test-card { flex: 0 0 calc(50% - 1rem); } }

        .sg-test-quote-icon { position: absolute; top: 1.5rem; left: 1.5rem; color: rgba(30, 58, 138, 0.05); font-size: 4rem; transition: color 0.4s ease; z-index: 0;}
        .sg-test-card:hover .sg-test-quote-icon { color: rgba(30, 58, 138, 0.1); }
        
        .sg-test-text { position: relative; z-index: 10; color: var(--color-text-main); line-height: 1.8; margin-bottom: 2.5rem; font-size: 1rem; font-style: italic; }
        .sg-test-text::before { content: '«'; margin-left: 0.25rem; font-size: 1.2em; color: var(--color-primary); font-weight: bold;}
        .sg-test-text::after { content: '»'; margin-right: 0.25rem; font-size: 1.2em; color: var(--color-primary); font-weight: bold;}

        .sg-test-author { position: relative; z-index: 10; display: flex; align-items: center; gap: 1.25rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; margin-top: auto;}
        .sg-test-avatar { width: 4rem; height: 4rem; border-radius: 50%; border: 3px solid var(--color-bg-white); box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease;}
        .sg-test-card:hover .sg-test-avatar { transform: scale(1.1); border-color: var(--color-primary-light); }
        
        .sg-test-name { font-weight: 800; color: var(--color-text-dark); font-size: 1.1rem; margin-bottom: 0.25rem;}
        .sg-test-role { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 0.75rem; line-height: 1.4;}
        .sg-test-gs-link { display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--color-text-main); background: #f8fafc; border: 1px solid var(--color-border); width: 2.5rem; height: 2.5rem; border-radius: 50%; transition: var(--transition); }
        .sg-test-gs-link:hover { border-color: #bfdbfe; background: #eff6ff; color: var(--color-primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); transform: translateY(-2px);}

        .sg-slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
        .sg-slider-dot { width: 0.75rem; height: 0.75rem; border-radius: 50%; background-color: #cbd5e1; cursor: pointer; transition: all 0.3s ease; }
        .sg-slider-dot.active { background-color: var(--color-primary); width: 2rem; border-radius: 9999px; }

        /* ==================== 
           FAQ Section 
           ==================== */
        .sg-faq-wrap { max-width: 48rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem;}
        .sg-faq-item { background: var(--color-bg-white); border-radius: 1rem; border: 1px solid var(--color-border); overflow: hidden; transition: var(--transition); }
        .sg-faq-item:hover, .sg-faq-item.active { border-color: #bfdbfe; box-shadow: var(--shadow-md); }
        
        .sg-faq-btn { width: 100%; padding: 1.25rem 1.5rem; text-align: right; display: flex; align-items: center; justify-content: space-between; transition: background-color 0.3s ease; }
        .sg-faq-btn:hover { background-color: rgba(239, 246, 255, 0.5); }
        .sg-faq-q { font-size: 1.125rem; font-weight: normal; color: var(--color-text-dark); display: flex; align-items: center; gap: 0.75rem; transition: color 0.3s; }
        .sg-faq-q-icon { width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-primary-light); color: var(--color-secondary); display: flex; align-items: center; justify-content: center; font-size: 0.875rem; }
        .sg-faq-icon { color: #9ca3af; transition: transform 0.3s ease; }
        
        .sg-faq-item.active .sg-faq-q { color: var(--color-primary); }
        .sg-faq-item.active .sg-faq-icon { transform: rotate(180deg); color: var(--color-primary); }
        
        .sg-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; }
        .sg-faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.8; border-top: 1px solid var(--color-border); margin: 1rem 1.5rem 0; padding-top: 1rem; }

        /* ==================== 
           SEO Text Section 
           ==================== */
        .sg-seo-section { padding-top: 2rem; padding-bottom: 4rem; }
        .sg-seo-card {
            background-color: var(--color-bg-white);
            border-radius: 1.5rem;
            box-shadow: var(--shadow-md);
            border: 1px solid var(--color-border);
            padding: 2rem;
            max-width: 64rem;
            margin: 0 auto;
            position: relative;
        }
        .sg-seo-content-wrapper { max-height: 120px; overflow: hidden; position: relative; transition: max-height 0.5s ease; }
        .sg-seo-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 90%); transition: opacity 0.3s ease; pointer-events: none; z-index: 10; }
        .sg-seo-card.expanded .sg-seo-fade { opacity: 0; }
        .sg-seo-content { color: #555; font-size: 0.95rem; line-height: 2; text-align: justify; }
        .sg-seo-content p { margin-bottom: 1.25rem; }
        .sg-seo-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--color-text-dark); margin-bottom: 1rem; }
        .sg-seo-content h3 { font-size: 1.125rem; font-weight: 800; color: var(--color-text-dark); margin-top: 1.5rem; margin-bottom: 1rem; }
        
        .sg-seo-toggle-wrap { display: flex; justify-content: center; margin-top: 1rem; position: relative; z-index: 20;}
        .sg-seo-read-more-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: #0ab4b6; font-weight: 800; font-size: 0.95rem; transition: color 0.3s, transform 0.3s; background: var(--color-bg-white); padding: 0.5rem 1.5rem; border-radius: 9999px; border: 1px solid #e5e7eb; box-shadow: var(--shadow-sm); }
        .sg-seo-read-more-btn:hover { color: #088f91; border-color: #0ab4b6; transform: translateY(-2px); }
        .sg-seo-read-more-btn .sg-icon { transition: transform 0.3s; font-size: 0.8rem;}
        .sg-seo-card.expanded .sg-seo-read-more-btn .sg-icon { transform: rotate(-180deg); }

        /* ==================== 
           Contact Section 
           ==================== */
        .sg-contact { background: var(--color-bg-white); }
        .sg-contact-box { background: linear-gradient(to right, var(--color-primary), #1e3a8a); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; max-width: 64rem; margin: 0 auto;}
        
        .sg-contact-text h3 { color: white; font-size: 1.875rem; font-weight: 900; margin-bottom: 1rem; }
        .sg-contact-text p { color: #bfdbfe; font-size: 1.125rem; }
        
        .sg-contact-btn-wrap { position: relative; width: 100%; max-width: 20rem; z-index: 50; } 
        .sg-btn-accent { background: var(--color-accent); color: white; padding: 1rem 1.5rem; border-radius: 0.75rem; font-weight: 700; width: 100%; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow-lg); transition: var(--transition); }
        .sg-btn-accent:hover { background: var(--color-accent-hover); }

        .sg-contact-dropdown { position: absolute; bottom: 100%; margin-bottom: 0.75rem; left: 0; right: 0; background: white; border-radius: 1rem; box-shadow: var(--shadow-xl); padding: 0.5rem; display: flex; flex-direction: column; gap: 0.25rem; transform-origin: bottom; transition: var(--transition); z-index: 50; text-align: right;}

        @media (min-width: 768px) {
            .sg-contact-box { flex-direction: row; text-align: right; justify-content: space-between; padding: 3rem; }
            .sg-contact-text { width: 66.666%; }
            .sg-contact-btn-wrap { width: 33.333%; max-width: none; }
        }
        
        @media (max-width: 768px) {
            .sg-service-list { margin-right: 0px !important; padding-right: 0px !important; }
            .sg-service-card { padding: 2.5rem 1.5rem; }
            .sg-features { display: none !important;}
        }
        a.sg-btn-secondary {
            display: none;
        }
