/*

TemplateMo 593 personal shape

https://templatemo.com/tm-593-personal-shape

*/

@charset "utf-8";
/* CSS Document */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 60%, #1a1040 100%);
            color: var(--text-light);
            padding: 4rem 0 0;
            border-top: 1px solid rgba(255, 255, 255, 0.07);
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at 15% 85%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 85% 15%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
            pointer-events: none;
        }

        /* Footer Grid */
        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 3rem;
            position: relative;
            z-index: 2;
            padding-bottom: 3rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* Brand column */
        .footer-brand .footer-logo {
            height: 48px;
            width: auto;
            display: block;
            margin-bottom: 1.2rem;
            filter: drop-shadow(0 0 6px rgba(255,255,255,0.5)) brightness(1.15);
        }

        .footer-desc {
            color: rgba(255, 255, 255, 0.55);
            font-size: 0.92rem;
            line-height: 1.75;
            max-width: 320px;
            margin: 0;
        }

        /* Columns */
        .footer-col {}

        .footer-heading {
            font-size: 0.8rem;
            font-weight: 700;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(255, 255, 255, 0.4);
            margin-bottom: 1.4rem;
        }

        /* Nav links */
        .footer-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.65);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.25s ease, padding-left 0.25s ease;
            display: inline-block;
        }

        .footer-links a:hover {
            color: #ffffff;
            padding-left: 6px;
        }

        /* Info list */
        .footer-info {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 1.1rem;
        }

        .footer-info li {
            display: flex;
            align-items: flex-start;
            gap: 0.65rem;
            color: rgba(255, 255, 255, 0.65);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .footer-info li svg {
            flex-shrink: 0;
            margin-top: 3px;
            color: var(--primary-color);
        }

        .footer-info a {
            color: rgba(255, 255, 255, 0.65);
            text-decoration: none;
            transition: color 0.25s ease;
        }

        .footer-info a:hover {
            color: #ffffff;
        }

        /* Bottom bar */
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            padding: 1.5rem 0;
            position: relative;
            z-index: 2;
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.35);
            font-size: 0.85rem;
            margin: 0;
        }

        .footer-bottom-links {
            display: flex;
            gap: 2rem;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.35);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.25s ease;
        }

        .footer-bottom-links a:hover {
            color: rgba(255, 255, 255, 0.7);
        }

        /* Footer Mobile */
        @media (max-width: 768px) {
            .footer-grid {
                text-align: center;
            }

            .footer-brand .footer-logo {
                margin-left: auto;
                margin-right: auto;
            }

            .footer-desc {
                margin-left: auto;
                margin-right: auto;
            }

            .footer-links {
                align-items: center;
            }

            .footer-links a:hover {
                padding-left: 0;
            }

            .footer-info li {
                justify-content: center;
                text-align: left;
            }
        }
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2.5rem;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .footer-bottom-links {
                justify-content: center;
                gap: 1.5rem;
            }
        }

        :root {
            --primary-color: #6366f1;
            --secondary-color: #8b5cf6;
            --accent-color: #f59e0b;
            --accent-pink: #ec4899;
            --accent-cyan: #06b6d4;
            --text-primary: #0f172a;
            --text-secondary: #64748b;
            --text-light: #ffffff;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-dark: #0f172a;
            --bg-card: rgba(255, 255, 255, 0.95);
            --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --gradient-elegant: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            --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);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --glass: rgba(255, 255, 255, 0.15);
            --glass-border: rgba(255, 255, 255, 0.2);
        }

        html {
            overflow-x: hidden;
            max-width: 100%;
        }

        body {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            line-height: 1.7;
            color: var(--text-primary);
            scroll-behavior: smooth;
            overflow-x: hidden;
            max-width: 100%;
            background: var(--bg-primary);
        }

        /* Navigation */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 15, 30, 0.45);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        nav.scrolled {
            background: rgba(10, 15, 30, 0.72);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
            padding: 0.75rem 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo a {
            display: flex;
            align-items: center;
            text-decoration: none;
            outline: none;
        }

        .logo img {
            height: 42px;
            width: auto;
            display: block;
            object-fit: contain;
            filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) brightness(1.15);
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
            cursor: pointer;
        }

        .logo img:hover {
            transform: scale(1.12) rotate(-3deg);
            filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)) brightness(1.3);
            animation: logoBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        @keyframes logoBounce {
            0%   { transform: scale(1)    rotate(0deg); }
            25%  { transform: scale(1.14) rotate(-4deg); }
            50%  { transform: scale(1.08) rotate(3deg); }
            75%  { transform: scale(1.13) rotate(-2deg); }
            100% { transform: scale(1.1)  rotate(0deg); }
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 0.25rem;
            align-items: center;
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 50px;
            padding: 0.35rem 0.5rem;
            box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
        }

        .nav-links li {
            display: flex;
            align-items: center;
        }

        .nav-links li + li::before {
            content: '';
            display: block;
            width: 1px;
            height: 16px;
            background: rgba(255, 255, 255, 0.22);
            flex-shrink: 0;
        }

        .nav-links a {
            text-decoration: none;
            color: rgba(255, 255, 255, 0.88);
            font-weight: 500;
            font-size: 0.93rem;
            transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
            padding: 0.45rem 1.1rem;
            border-radius: 50px;
            position: relative;
        }

        .nav-links a:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.12);
        }

        .nav-links a.active {
            color: #ffffff;
            background: rgba(99, 102, 241, 0.35);
            font-weight: 600;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background: #ffffff;
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 1px;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-menu-toggle.active .hamburger:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: rgba(15, 23, 42, 0.98);
            backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 999;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-nav-links {
            list-style: none;
            text-align: center;
            background: rgba(255, 255, 255, 0.06);
            backdrop-filter: blur(24px);
            -webkit-backdrop-filter: blur(24px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 24px;
            padding: 1.2rem 1.6rem;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.1);
            min-width: 240px;
        }

        .mobile-nav-links li {
            margin: 0;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-nav-links li + li {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .mobile-menu.active .mobile-nav-links li {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }

        .mobile-nav-links a {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.9rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            transition: all 0.25s ease;
            display: block;
            padding: 0.9rem 1.4rem;
            border-radius: 14px;
        }

        .mobile-nav-links a:hover {
            background: rgba(99, 102, 241, 0.18);
            color: #ffffff;
            transform: scale(1.03);
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('images/b4.jpg') center/cover no-repeat;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            z-index: 1;
        }


        /* Floating Shapes */
        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }

        .shape-1 {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation: floatShape1 20s ease-in-out infinite;
        }

        .shape-2 {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            background: rgba(255, 255, 255, 0.08);
            animation: floatShape2 25s ease-in-out infinite reverse;
        }

        .shape-3 {
            width: 60px;
            height: 60px;
            top: 30%;
            right: 25%;
            background: rgba(255, 255, 255, 0.12);
            animation: floatShape3 18s ease-in-out infinite;
        }

        .shape-4 {
            width: 100px;
            height: 100px;
            bottom: 25%;
            left: 20%;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            animation: floatShape4 22s ease-in-out infinite;
        }

        .shape-5 {
            width: 40px;
            height: 40px;
            top: 15%;
            right: 40%;
            background: rgba(255, 255, 255, 0.15);
            animation: floatShape5 16s ease-in-out infinite reverse;
        }

        .shape-6 {
            width: 140px;
            height: 140px;
            bottom: 15%;
            right: 10%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 30px;
            animation: floatShape6 28s ease-in-out infinite;
        }

        @keyframes floatShape1 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(-30px) translateX(20px) rotate(90deg); }
            50% { transform: translateY(-15px) translateX(-10px) rotate(180deg); }
            75% { transform: translateY(-40px) translateX(15px) rotate(270deg); }
        }

        @keyframes floatShape2 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            33% { transform: translateY(25px) translateX(-20px) scale(1.1); }
            66% { transform: translateY(-20px) translateX(25px) scale(0.9); }
        }

        @keyframes floatShape3 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            50% { transform: translateY(-25px) translateX(-30px) rotate(180deg); }
        }

        @keyframes floatShape4 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(20px) translateX(-15px) rotate(45deg); }
            50% { transform: translateY(-10px) translateX(30px) rotate(90deg); }
            75% { transform: translateY(15px) translateX(-20px) rotate(135deg); }
        }

        @keyframes floatShape5 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            50% { transform: translateY(-35px) translateX(20px) scale(1.2); }
        }

        @keyframes floatShape6 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            33% { transform: translateY(-15px) translateX(10px) rotate(60deg); }
            66% { transform: translateY(10px) translateX(-25px) rotate(120deg); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(1deg); }
        }

        @keyframes pulse {
            0% { opacity: 0.5; }
            100% { opacity: 0.8; }
        }

        .hero-content {
            text-align: center;
            color: var(--text-light);
            z-index: 2;
            position: relative;
            max-width: 900px;
            padding: 0 2rem;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.2s forwards;
            margin-bottom: 1rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .hero h1 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .hero .subtitle {
            font-size: 1.3rem;
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: rgba(255, 255, 255, 0.2);
            color: var(--text-light);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transform: translateY(30px);
            opacity: 0;
            animation: fadeInUp 1s ease 0.8s forwards;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            letter-spacing: 0.5px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.6);
            border-radius: 25px;
            z-index: 3;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-indicator:hover {
            border-color: rgba(255, 255, 255, 0.9);
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        @keyframes scroll {
            0% { transform: translateX(-50%) translateY(0); opacity: 1; }
            100% { transform: translateX(-50%) translateY(20px); opacity: 0; }
        }

        /* Section Styles */
        section {
            padding: 8rem 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 4rem;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* About Section */
        .section-separator {
            height: 80px;
            background: linear-gradient(to bottom, transparent 0%, #000 40%, #000 60%, transparent 100%);
            margin-top: -40px;
            margin-bottom: -40px;
            position: relative;
            z-index: 20;
            pointer-events: none;
            max-width: 100%;
            overflow: hidden;
        }

        .about {
            background:
                url('images/bg1.jpg')
                center/cover no-repeat fixed;
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
        }


        .about .container {
            position: relative;
            z-index: 3;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1.5fr;
            gap: 6rem;
            align-items: center;
            position: relative;
        }

        .about-image {
            width: 100%;
            height: 500px;
            background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=600&fit=crop') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
        }

        .about-image:hover {
            transform: rotate(0deg) scale(1.02);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.2) 100%);
            transition: opacity 0.3s ease;
        }

        .about-image:hover::before {
            opacity: 0.7;
        }

        .about-image::after {

        }

        .about-title-card {
            display: table;
            margin-left: auto;
            margin-right: auto;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 16px;
            padding: 0.6rem 2.2rem;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.18);
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
            background-clip: unset !important;
            -webkit-background-clip: unset !important;
        }

        .about-text-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(255, 255, 255, 0.22);
            border-radius: 24px;
            padding: 2.8rem 3rem;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.18);
        }

        .about-text h3 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #ffffff;
            font-weight: 500;
            line-height: 1.3;
        }

        .about-text p {
            font-size: 1.1rem;
            color: rgba(255, 255, 255, 0.82);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .skills {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .skill-tag {
            padding: 0.75rem 1.5rem;
            background: rgba(255, 255, 255, 0.12);
            color: #ffffff;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(255, 255, 255, 0.25);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .skill-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Portfolio Section */
        .portfolio {
            background: url('images/bg2.jpg') center/cover no-repeat fixed;
            position: relative;
        }

        .portfolio::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
        }

        .portfolio .container {
            position: relative;
            z-index: 2;
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            margin-top: 2rem;
        }

        /* ── How We Work (process) block ───────────────────────────── */
        .process-wrapper {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2.5rem;
            margin-top: 3rem;
            align-items: start;
        }

        /* Step nav */
        .process-nav {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .process-nav-btn {
            display: flex;
            align-items: center;
            gap: 1rem;
            background: rgba(255,255,255,0.06);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 14px;
            padding: 1rem 1.2rem;
            cursor: pointer;
            text-align: left;
            transition: background 0.25s, border-color 0.25s, transform 0.2s;
            font-family: inherit;
        }

        .process-nav-btn:hover {
            background: rgba(255,255,255,0.1);
            border-color: rgba(255,255,255,0.22);
            transform: translateX(3px);
        }

        .process-nav-btn.active {
            background: rgba(99,102,241,0.25);
            border-color: rgba(99,102,241,0.6);
            transform: translateX(4px);
        }

        .process-nav-num {
            font-size: 1.1rem;
            font-weight: 800;
            color: rgba(255,255,255,0.35);
            line-height: 1;
            min-width: 28px;
            transition: color 0.25s;
        }

        .process-nav-btn.active .process-nav-num {
            color: rgba(99,102,241,0.9);
        }

        .process-nav-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: rgba(255,255,255,0.65);
            line-height: 1.3;
            transition: color 0.25s;
        }

        .process-nav-btn.active .process-nav-label {
            color: #fff;
        }

        /* Content panels */
        .process-content {
            position: relative;
        }

        .process-panel {
            display: none;
            background: rgba(255,255,255,0.08);
            backdrop-filter: blur(18px);
            -webkit-backdrop-filter: blur(18px);
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
            animation: processFadeIn 0.35s ease;
        }

        .process-panel.active {
            display: flex;
            flex-direction: column;
        }

        @keyframes processFadeIn {
            from { opacity: 0; transform: translateY(12px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .process-panel-img {
            width: 100%;
            height: 260px;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        .process-panel-body {
            padding: 2rem 2.2rem 2.2rem;
        }

        .process-step-tag {
            display: inline-block;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(99,102,241,0.9);
            background: rgba(99,102,241,0.15);
            border: 1px solid rgba(99,102,241,0.3);
            border-radius: 50px;
            padding: 0.22rem 0.8rem;
            margin-bottom: 0.9rem;
        }

        .process-panel-body h3 {
            font-size: 1.45rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.9rem;
            line-height: 1.3;
        }

        .process-panel-body p {
            font-size: 0.95rem;
            color: rgba(255,255,255,0.7);
            line-height: 1.8;
            margin-bottom: 0.8rem;
        }

        .process-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1.2rem;
        }

        .process-tags span {
            font-size: 0.8rem;
            font-weight: 600;
            color: rgba(255,255,255,0.75);
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            border-radius: 50px;
            padding: 0.3rem 0.9rem;
        }

        /* Responsive */
        @media (max-width: 900px) {
            .process-wrapper {
                grid-template-columns: 1fr;
            }
            .process-nav {
                flex-direction: row;
                flex-wrap: wrap;
                gap: 0.5rem;
            }
            .process-nav-btn {
                flex: 1 1 calc(50% - 0.5rem);
                transform: none !important;
            }
            .process-nav-btn:hover,
            .process-nav-btn.active { transform: none !important; }
        }

        @media (max-width: 560px) {
            .process-nav-btn { flex: 1 1 100%; }
            .process-panel-img { height: 180px; }
            .process-panel-body { padding: 1.4rem 1.2rem 1.6rem; }
            .process-panel-body h3 { font-size: 1.2rem; }
        }

        .portfolio-item {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            transform: translateY(20px);
            opacity: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .portfolio-item.animate {
            transform: translateY(0);
            opacity: 1;
        }

        .portfolio-item:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-2xl);
        }

        .portfolio-image {
            width: 100%;
            height: 180px;
            background: var(--gradient-primary);
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .portfolio-item:nth-child(1) .portfolio-image {
            background-image: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=800&fit=crop');
        }

        .portfolio-item:nth-child(2) .portfolio-image {
            background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=800&fit=crop');
        }

        .portfolio-item:nth-child(3) .portfolio-image {
            background-image: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&fit=crop');
        }

        .portfolio-item:nth-child(4) .portfolio-image {
            background-image: url('https://images.unsplash.com/photo-1494961104209-3c223057bd26?w=800&fit=crop');
        }

        .portfolio-item:nth-child(5) .portfolio-image {
            background-image: url('images/1.jpg');
        }

        .portfolio-item:nth-child(6) .portfolio-image {
            background-image: url('https://images.unsplash.com/photo-1521791136064-7986c2920216?w=800&fit=crop');
        }

        .portfolio-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-image::before {
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(139, 92, 246, 0.3) 100%);
        }

        .portfolio-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .portfolio-content h4 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #ffffff;
            font-weight: 600;
        }

        .portfolio-content p {
            color: rgba(255, 255, 255, 0.78);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .portfolio-tech {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            margin-bottom: 1.2rem;
        }

        .tech-tag {
            padding: 0.4rem 1rem;
            background: rgba(255, 255, 255, 0.12);
            color: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--primary-color);
            color: #ffffff;
            border-color: var(--primary-color);
        }

        /* Contact Section */
        .contact {
            background: url('images/bg3.jpg') center/cover no-repeat fixed;
            color: var(--text-light);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            opacity: 0.6;
        }


        /* Contact Floating Shapes */
        .contact-floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .contact-shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

        .contact-shape-1 {
            width: 70px;
            height: 70px;
            top: 15%;
            left: 8%;
            animation: contactFloatShape1 24s ease-in-out infinite;
        }

        .contact-shape-2 {
            width: 110px;
            height: 110px;
            top: 65%;
            right: 12%;
            background: rgba(255, 255, 255, 0.06);
            animation: contactFloatShape2 28s ease-in-out infinite reverse;
        }

        .contact-shape-3 {
            width: 55px;
            height: 55px;
            top: 25%;
            right: 30%;
            background: rgba(255, 255, 255, 0.1);
            animation: contactFloatShape3 20s ease-in-out infinite;
        }

        .contact-shape-4 {
            width: 90px;
            height: 90px;
            bottom: 20%;
            left: 18%;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 25px;
            animation: contactFloatShape4 26s ease-in-out infinite;
        }

        .contact-shape-5 {
            width: 35px;
            height: 35px;
            top: 12%;
            right: 45%;
            background: rgba(255, 255, 255, 0.12);
            animation: contactFloatShape5 18s ease-in-out infinite reverse;
        }

        .contact-shape-6 {
            width: 130px;
            height: 130px;
            bottom: 12%;
            right: 8%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 35px;
            animation: contactFloatShape6 32s ease-in-out infinite;
        }

        @keyframes contactFloatShape1 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(-25px) translateX(15px) rotate(90deg); }
            50% { transform: translateY(-10px) translateX(-8px) rotate(180deg); }
            75% { transform: translateY(-35px) translateX(12px) rotate(270deg); }
        }

        @keyframes contactFloatShape2 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            33% { transform: translateY(20px) translateX(-15px) scale(1.05); }
            66% { transform: translateY(-15px) translateX(20px) scale(0.95); }
        }

        @keyframes contactFloatShape3 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            50% { transform: translateY(-20px) translateX(-25px) rotate(180deg); }
        }

        @keyframes contactFloatShape4 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(15px) translateX(-12px) rotate(30deg); }
            50% { transform: translateY(-8px) translateX(25px) rotate(60deg); }
            75% { transform: translateY(12px) translateX(-18px) rotate(90deg); }
        }

        @keyframes contactFloatShape5 {
            0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
            50% { transform: translateY(-30px) translateX(15px) scale(1.15); }
        }

        @keyframes contactFloatShape6 {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            33% { transform: translateY(-12px) translateX(8px) rotate(45deg); }
            66% { transform: translateY(8px) translateX(-20px) rotate(90deg); }
        }

        @keyframes contactFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-15px) rotate(0.5deg); }
            66% { transform: translateY(-10px) rotate(-0.5deg); }
        }

        @keyframes contactPulse {
            0% { opacity: 0.4; }
            100% { opacity: 0.7; }
        }

        .contact-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .contact .section-title {
            color: #ffffff !important;
            -webkit-text-fill-color: #ffffff !important;
            background-clip: unset !important;
            -webkit-background-clip: unset !important;
        }

        .feedback-card {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 24px;
            padding: 2.8rem 3rem;
            box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.15);
            margin-top: 2rem;
        }

        .feedback-card p {
            color: rgba(255, 255, 255, 0.82);
            font-size: 1.05rem;
            line-height: 1.7;
            margin-bottom: 0;
        }

        .contact-form {
            display: grid;
            gap: 2rem;
            margin-top: 2rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .form-group {
            display: grid;
            gap: 0.75rem;
            text-align: left;
        }

        .form-group label {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            padding: 1.2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1rem;
            font-weight: 400;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            resize: vertical;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .submit-btn {
            padding: 1.2rem 3rem;
            background: var(--gradient-primary);
            color: var(--text-light);
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 1rem;
            letter-spacing: 0.5px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
        }

        /* Select field */
        .form-select {
            padding: 1.2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1rem;
            font-weight: 400;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='rgba(255,255,255,0.6)' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1.2rem center;
            padding-right: 2.8rem;
        }

        .form-select:focus {
            outline: none;
            background-color: rgba(255, 255, 255, 0.12);
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .form-select option {
            background: #1e293b;
            color: #fff;
        }

        /* Star Rating */
        .star-rating {
            display: flex;
            gap: 0.3rem;
            margin-top: 0.5rem;
        }

        .star-rating .star {
            font-size: 2.2rem;
            color: rgba(255, 255, 255, 0.25);
            cursor: pointer;
            transition: color 0.18s ease, transform 0.18s ease;
            line-height: 1;
            user-select: none;
        }

        .star-rating .star:hover,
        .star-rating .star.highlighted {
            color: #fbbf24;
            transform: scale(1.15);
        }

        .star-rating .star.selected {
            color: #f59e0b;
        }

        /* Field error messages */
        .field-error {
            display: block;
            font-size: 0.82rem;
            color: #fca5a5;
            margin-top: 0.35rem;
            min-height: 1.1em;
            opacity: 0;
            transform: translateY(-4px);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .field-error.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .form-group input.input-error,
        .form-group textarea.input-error,
        .form-group .form-select.input-error {
            border-color: #f87171;
            background: rgba(248, 113, 113, 0.08);
        }

        /* Modal Overlay */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(6px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            overflow-y: auto;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            pointer-events: all;
        }

        /* Modal Box */
        .modal {
            background: #1e293b;
            border-radius: 24px;
            padding: 3rem 2.5rem;
            max-width: 440px;
            width: 100%;
            text-align: center;
            box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
            transform: scale(0.88) translateY(20px);
            transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        .modal-overlay.active .modal {
            transform: scale(1) translateY(0);
        }

        /* Modal Icon Circle */
        .modal-icon {
            width: 76px;
            height: 76px;
            border-radius: 50%;
            margin: 0 auto 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .modal-icon svg {
            width: 52px;
            height: 52px;
        }

        .modal-success .modal-icon {
            background: rgba(16, 185, 129, 0.12);
        }

        .modal-success .modal-icon svg {
            stroke: #10b981;
        }

        .modal-success .modal-icon circle {
            stroke: #10b981;
        }

        .modal-error .modal-icon {
            background: rgba(239, 68, 68, 0.12);
        }

        .modal-error .modal-icon svg {
            stroke: #ef4444;
        }

        .modal-error .modal-icon circle,
        .modal-error .modal-icon line {
            stroke: #ef4444;
        }

        .modal h3 {
            font-size: 1.6rem;
            font-weight: 700;
            color: #f1f5f9;
            margin-bottom: 1rem;
        }

        .modal p {
            color: rgba(255, 255, 255, 0.65);
            font-size: 1rem;
            line-height: 1.65;
            margin-bottom: 2rem;
        }

        /* Modal Buttons */
        .modal-btn {
            display: inline-block;
            padding: 0.9rem 2.8rem;
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            letter-spacing: 0.4px;
        }

        .modal-btn-success {
            background: linear-gradient(135deg, #10b981, #059669);
            color: #fff;
        }

        .modal-btn-success:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(16, 185, 129, 0.35);
        }

        .modal-btn-error {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: #fff;
        }

        .modal-btn-error:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(239, 68, 68, 0.35);
        }

        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        /* Mobile Responsiveness */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 4rem;
            }

            .hero h1 {
                font-size: 4rem;
            }
        }

        @media (max-width: 768px) {
            .about,
            .portfolio,
            .contact {
                background-attachment: scroll;
            }

            .nav-links {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero .subtitle {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .container {
                padding: 0 1.5rem;
            }

            section {
                padding: 5rem 0;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .about-text h3 {
                font-size: 2rem;
            }

            .skills {
                margin-top: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .container {
                padding: 0 1rem;
            }

            section,
            .hero,
            .about,
            .portfolio,
            .contact,
            .footer {
                max-width: 100vw;
                overflow-x: hidden;
            }

            .about-text-card,
            .feedback-card {
                padding: 1.4rem 1.2rem;
            }

            .footer-grid {
                gap: 2rem;
            }
        }

        /* ── Preloader ─────────────────────────────────────────────── */
        #preloader {
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 60%, #1a1040 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.6s ease, visibility 0.6s ease;
        }

        #preloader.hidden {
            opacity: 0;
            visibility: hidden;
        }

        .preloader-inner {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2.2rem;
            animation: preloaderFadeIn 0.5s ease forwards;
        }

        @keyframes preloaderFadeIn {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .preloader-logo {
            height: 80px;
            width: auto;
            filter: drop-shadow(0 0 18px rgba(99, 102, 241, 0.6)) brightness(1.2);
            animation: preloaderPulse 2s ease-in-out infinite;
        }

        @keyframes preloaderPulse {
            0%, 100% { filter: drop-shadow(0 0 14px rgba(99,102,241,0.5)) brightness(1.15); }
            50%       { filter: drop-shadow(0 0 28px rgba(139,92,246,0.85)) brightness(1.35); }
        }

        .preloader-bar {
            width: 180px;
            height: 3px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 99px;
            overflow: hidden;
        }

        .preloader-bar-fill {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #6366f1, #8b5cf6, #6366f1);
            background-size: 200% 100%;
            border-radius: 99px;
            animation: preloaderFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards,
                       preloaderShimmer 1.2s linear infinite;
        }

        @keyframes preloaderFill {
            0%   { width: 0%; }
            100% { width: 100%; }
        }

        @keyframes preloaderShimmer {
            0%   { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* ── Learn More Button ─────────────────────────────────────── */
        .learn-more-btn {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            gap: 0.45rem;
            margin-top: auto;
            padding-top: 0;
            padding: 0.55rem 1.4rem;
            background: rgba(99, 102, 241, 0.15);
            color: #a5b4fc;
            border: 1px solid rgba(99, 102, 241, 0.35);
            border-radius: 50px;
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            letter-spacing: 0.3px;
        }

        .learn-more-btn::after {
            content: '→';
            transition: transform 0.25s ease;
        }

        .learn-more-btn:hover {
            background: rgba(99, 102, 241, 0.3);
            color: #ffffff;
            border-color: rgba(99, 102, 241, 0.6);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
        }

        .learn-more-btn:hover::after {
            transform: translateX(4px);
        }

        /* ── Service Detail Modal ───────────────────────────────────── */
        .svc-modal-box {
            max-width: 680px;
            width: 100%;
            padding: 0;
            overflow-y: auto;
            overflow-x: hidden;
            max-height: 90vh;
            background: #0f172a;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Scrollbar styling inside modal */
        .svc-modal-box::-webkit-scrollbar { width: 4px; }
        .svc-modal-box::-webkit-scrollbar-track { background: transparent; }
        .svc-modal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

        .svc-modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.45);
            color: #ffffff;
            font-size: 1.4rem;
            line-height: 1;
            padding: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10;
            transition: background 0.2s ease;
        }

        .svc-modal-close:hover {
            background: rgba(239, 68, 68, 0.5);
        }

        .svc-modal-img {
            width: 100%;
            height: 220px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .svc-modal-img::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: linear-gradient(to bottom, transparent, #0f172a);
        }

        .svc-modal-body {
            padding: 1.8rem 2.2rem 2.2rem;
            text-align: left;
        }

        .svc-modal-body h3 {
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 1.1rem;
            text-align: left;
        }

        .svc-modal-body p {
            color: rgba(255, 255, 255, 0.68);
            font-size: 0.95rem;
            line-height: 1.75;
            margin-bottom: 1rem;
            text-align: left;
        }

        .svc-modal-body p:last-of-type {
            margin-bottom: 1.4rem;
        }

        .svc-modal-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .svc-modal-tags span {
            padding: 0.35rem 0.9rem;
            background: rgba(99, 102, 241, 0.15);
            color: #a5b4fc;
            border: 1px solid rgba(99, 102, 241, 0.3);
            border-radius: 20px;
            font-size: 0.82rem;
            font-weight: 500;
        }

        @media (max-width: 600px) {
            .svc-modal-box {
                max-height: 95vh;
                border-radius: 18px;
                margin: 0.5rem;
                width: calc(100vw - 1rem);
            }

            .svc-modal-img {
                height: 160px;
            }

            .svc-modal-body {
                padding: 1.2rem 1.2rem 1.6rem;
            }

            .svc-modal-body h3 {
                font-size: 1.25rem;
            }

            .svc-modal-body p {
                font-size: 0.9rem;
            }

            .svc-modal-close {
                top: 0.7rem;
                right: 0.7rem;
                width: 32px;
                height: 32px;
            }
        }

        /* ── Cookie Banner ─────────────────────────────────────────── */
        .cookie-banner {
            position: fixed;
            bottom: 1.8rem;
            left: 50%;
            transform: translateX(-50%) translateY(120px);
            z-index: 9998;
            width: min(720px, calc(100vw - 2rem));
            display: flex;
            align-items: center;
            gap: 1.2rem;
            background: rgba(15, 20, 40, 0.72);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 20px;
            padding: 1.2rem 1.6rem;
            box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.08);
            opacity: 0;
            pointer-events: none;
            transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
        }

        .cookie-banner.visible {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            pointer-events: all;
        }

        .cookie-banner.hiding {
            transform: translateX(-50%) translateY(140px);
            opacity: 0;
            pointer-events: none;
        }

        .cookie-icon {
            flex-shrink: 0;
            width: 48px;
            height: 48px;
            border-radius: 14px;
            background: rgba(99, 102, 241, 0.18);
            border: 1px solid rgba(99, 102, 241, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #a5b4fc;
        }

        .cookie-text {
            flex: 1;
            min-width: 0;
        }

        .cookie-text p {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.72);
            line-height: 1.55;
            margin: 0;
        }

        .cookie-text strong {
            color: rgba(255, 255, 255, 0.95);
        }

        .cookie-text a {
            color: #a5b4fc;
            text-decoration: underline;
            text-underline-offset: 3px;
            transition: color 0.2s ease;
        }

        .cookie-text a:hover {
            color: #ffffff;
        }

        .cookie-actions {
            display: flex;
            gap: 0.6rem;
            flex-shrink: 0;
        }

        .cookie-btn {
            padding: 0.55rem 1.3rem;
            border: none;
            border-radius: 50px;
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.25s ease;
            white-space: nowrap;
        }

        .cookie-btn-decline {
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.65);
            border: 1px solid rgba(255, 255, 255, 0.15);
        }

        .cookie-btn-decline:hover {
            background: rgba(255, 255, 255, 0.14);
            color: #ffffff;
        }

        .cookie-btn-accept {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            color: #ffffff;
            box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
        }

        .cookie-btn-accept:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
        }

        @media (max-width: 600px) {
            .cookie-banner {
                flex-direction: column;
                align-items: flex-start;
                bottom: 1rem;
                padding: 1.2rem;
            }

            .cookie-actions {
                width: 100%;
                justify-content: flex-end;
            }
        }
