:root {
            --primary: #3b82f6;
            --primary-hover: #2563eb;
            --secondary: #10b981;
            --bg: #f8fafc;
            --surface: #ffffff;
            --text-main: #1e293b;
            --text-muted: #64748b;
            --border: #e2e8f0;
            --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
            --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
            --radius-md: 16px;
            --radius-lg: 24px;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            /* Dynamically scale the root font size based on  screen width */
            font-size: clamp(14px, 0.45vw + 12px, 17px);
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg);
            color: var(--text-main);
            line-height: 1.7;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        .logo {
            font-family: 'Poppins', sans-serif;
        }

        /* Navbar */
        nav {
            position: fixed;
            top: 0;
            width: 100%;
            padding: 20px 8%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            z-index: 1000;
            box-shadow: var(--shadow-sm);
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
        }

        .logo span {
            color: var(--primary);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 35px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 1rem;
            transition: var(--transition);
        }

        .nav-links a:hover {
            color: var(--primary);
        }

        /* Buttons */
        .btn {
            display: inline-block;
            padding: 14px 32px;
            background: var(--primary);
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            border-radius: 50px;
            transition: var(--transition);
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            background: var(--primary-hover);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
        }

        /* Sections */
        section {
            padding: 100px 10%;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--text-main);
            margin-bottom: 15px;
        }

        .section-subtitle {
            color: var(--text-muted);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
            padding-top: 120px;
            background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
        }

        .hero-content {
            flex: 1;
            max-width: 600px;
        }

        .badge {
            display: inline-block;
            padding: 8px 16px;
            background: rgba(59, 130, 246, 0.1);
            color: var(--primary);
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 25px;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
            line-height: 1.2;
            color: var(--text-main);
            margin-bottom: 20px;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-muted);
            margin-bottom: 40px;
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            position: relative;
        }

        .hero-img-wrapper {
            position: relative;
            width: 380px;
            height: 480px;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            border: 8px solid #ffffff;
            transform: rotate(2deg);
            transition: var(--transition);
        }

        .hero-img-wrapper:hover {
            transform: rotate(0deg) scale(1.02);
        }

        .hero-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* About Section */
        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            background: var(--surface);
            padding: 50px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
        }

        .about-text p {
            color: var(--text-muted);
            margin-bottom: 20px;
            font-size: 1.1rem;
        }

        .about-text p strong {
            color: var(--text-main);
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .skill-card {
            background: var(--bg);
            padding: 20px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            gap: 15px;
            font-weight: 600;
            color: var(--text-main);
            transition: var(--transition);
        }

        .skill-card i {
            color: var(--primary);
            font-size: 1.5rem;
        }

        .skill-card:hover {
            background: #ffffff;
            box-shadow: var(--shadow-sm);
            transform: translateY(-3px);
        }

        /* Experience Section */
        .timeline-container {
            max-width: 800px;
            margin: 0 auto;
        }

        .timeline-card {
            background: var(--surface);
            padding: 40px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            margin-bottom: 40px;
            position: relative;
            border-left: 5px solid var(--primary);
            transition: var(--transition);
        }

        .timeline-card:hover {
            transform: translateX(10px);
        }

        .exp-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            margin-bottom: 15px;
        }

        .exp-role {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-main);
        }

        .exp-company {
            font-size: 1.1rem;
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 5px;
        }

        .exp-date {
            font-size: 0.95rem;
            color: var(--text-muted);
            background: var(--bg);
            padding: 6px 14px;
            border-radius: 20px;
            font-weight: 500;
        }

        .exp-desc {
            color: var(--text-muted);
            margin-bottom: 20px;
        }

        .exp-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .exp-tags span {
            background: var(--bg);
            color: var(--text-muted);
            padding: 6px 14px;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        /* Clients Section based on User Image */
        .clients-section {
            background: #ffffff;
            padding: 100px 10%;
        }

        .clients-layout {
            display: flex;
            align-items: stretch;
            gap: 60px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .clients-stat-card {
            width: 250px;
            flex-shrink: 0;
            background: var(--surface);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            overflow: hidden;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border);
        }

        .clients-stat-top {
            background: #e2e8f0;
            padding: 40px 20px;
            text-align: center;
        }

        .clients-stat-top h3 {
            font-size: 1.8rem;
            font-weight: 500;
            color: #334155;
            font-family: 'Poppins', serif;
            /* Slight serif look from image */
        }

        .clients-stat-bottom {
            background: #f8fafc;
            padding: 40px 20px;
            text-align: center;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .clients-stat-bottom h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 5px;
        }

        .clients-stat-bottom p {
            color: #475569;
            font-size: 0.95rem;
            font-weight: 500;
        }

        .clients-marquee-wrapper {
            flex: 1;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 40px;
            justify-content: center;
            /* Fade edges for a clean look */
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .marquee-row {
            display: flex;
            width: 100%;
        }

        .marquee-content {
            display: flex;
            align-items: center;
            width: max-content;
        }

        .marquee-left .marquee-content {
            animation: scroll-left 25s linear infinite;
        }

        .marquee-right .marquee-content {
            animation: scroll-right 25s linear infinite;
        }

        .marquee-row:hover .marquee-content {
            animation-play-state: paused;
        }

        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        @keyframes scroll-right {
            0% { transform: translateX(-50%); }
            100% { transform: translateX(0); }
        }

        /* Styled Text Logos to simulate real client logos */
        .client-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            padding: 0 35px; /* Ensures even spacing without gap property */
            filter: grayscale(20%);
            transition: var(--transition);
            opacity: 0.8;
        }

        .client-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.05);
        }

        .logo-infosys {
            color: #007CC3;
            font-family: 'Arial', sans-serif;
            letter-spacing: -1px;
        }

        .logo-mindtree {
            color: #00458C;
            font-family: 'Poppins', sans-serif;
        }

        .logo-barclays {
            color: #00AEEF;
            font-family: 'Times New Roman', serif;
        }

        .logo-comcast {
            color: #000000;
            font-family: 'Arial', sans-serif;
        }

        .logo-comcast::before {
            content: '\f185';
            font-family: 'FontAwesome';
            color: #E74C3C;
            margin-right: 5px;
        }

        .logo-netapp {
            color: #0067C5;
            font-family: 'Arial', sans-serif;
            font-weight: 900;
        }

        .logo-pwc {
            color: #D04A02;
            font-family: 'Georgia', serif;
            font-size: 1.5rem;
        }

        .logo-razorpay {
            color: #0C1E4E;
            font-family: 'Inter', sans-serif;
        }

        .logo-kyndryl {
            color: #E31937;
            font-family: 'Arial', sans-serif;
            text-transform: lowercase;
        }

        .logo-rbi {
            color: #6D4C41;
            font-family: 'Times New Roman', serif;
            font-size: 1.4rem;
        }

        .logo-bechtel {
            color: #7F8C8D;
            font-family: 'Arial', sans-serif;
            font-weight: 800;
        }

        /* Footer */
        footer {
            background: #ffffff;
            padding: 40px 10%;
            text-align: center;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
        }

        /* Animations */
        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: 0.8s ease;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        .menu-btn {
            display: none;
            font-size: 1.5rem;
            color: var(--text-main);
            cursor: pointer;
            z-index: 1001;
        }

        .mobile-btn-li {
            display: none;
        }

        /* Responsive */
        @media (max-width: 900px) {
            section {
                padding: 80px 6%;
            }

            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 130px;
            }

            .hero-img-wrapper {
                width: 100%;
                max-width: 380px;
                height: auto;
                aspect-ratio: 4/5;
                margin: 0 auto;
            }

            .about-grid {
                grid-template-columns: 1fr;
                padding: 30px 20px;
            }

            .clients-layout {
                flex-direction: column;
                align-items: center;
                gap: 40px;
            }

            .clients-stat-card {
                width: 100%;
                max-width: 350px;
            }

            .clients-marquee-wrapper {
                width: 100%;
            }

            .menu-btn {
                display: block;
            }

            .desktop-btn {
                display: none;
            }

            .mobile-btn-li {
                display: block;
                margin-top: 20px;
            }

            .nav-links {
                position: fixed;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100vh;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(10px);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                padding: 0;
                gap: 30px;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
                transition: var(--transition);
                z-index: 999;
            }

            .nav-links a {
                font-size: 1.2rem;
            }

            .nav-links.active {
                left: 0;
            }
        }

        @media (max-width: 600px) {
            section {
                padding: 60px 5%;
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .skills-grid {
                grid-template-columns: 1fr;
            }

            /* clients-grid-container removed */

            .timeline-card {
                padding: 25px 20px;
            }
        }
