@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

        /* Color Variables */
        :root {
            --primary-bg: #0a0a0f;
            --secondary-bg: #1a1a2e;
            --accent-bg: #16213e;
            --card-bg: rgba(255, 255, 255, 0.05);
            --text-primary: #ffffff;
            --text-secondary: #a0a0a0;
            --accent-color: #00d4ff;
            --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            --success-color: #00ff88;
            --border-color: rgba(255, 255, 255, 0.1);
            --shadow-color: rgba(0, 212, 255, 0.1);
        }

        /* Global Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
            font-family: 'Inter', sans-serif;
        }

        /* Body Layout */
        body {
            background-color: var(--primary-bg);
            color: var(--text-primary);
            overflow-x: hidden;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding: 2rem;
            gap: 2rem;
        }

        /* Animated background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
            z-index: -1;
            animation: float 20s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-30px) rotate(1deg); }
            66% { transform: translateY(15px) rotate(-1deg); }
        }

        /* Main Container */
        main {
            width: 100%;
            max-width: 1200px;
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        /* Header Section */
        .header {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border-radius: 15px;
            padding: 2rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent-gradient);
        }

        .profiles {
            display: flex;
            gap: 2rem;
            align-items: flex-start;
        }

        .profiles img {
            width: 260px;
            height: 260px;
            border-radius: 15px;
            object-fit: cover;
            flex-shrink: 0;
            border: 3px solid var(--accent-color);
            box-shadow: 0 0 30px var(--shadow-color);
            transition: all 0.3s ease;
        }

        .profiles img:hover {
            transform: scale(1.02);
            box-shadow: 0 0 50px var(--shadow-color);
        }

        .name h1 {
            font-size: 2.5rem;
            color: var(--text-primary);
            margin: 0;
            background: linear-gradient(135deg, var(--text-primary), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .details {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .details p {
            color: var(--text-secondary);
            font-size: 1.1rem;
        }

        .actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .actions a {
            text-decoration: none;
            color: var(--text-primary);
            border: 2px solid var(--accent-color);
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 500;
            transition: all 0.3s ease;
            background: rgba(0, 212, 255, 0.1);
        }

        .actions a:hover {
            background: var(--accent-gradient);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        /* Grid Container */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-template-rows: repeat(6, 200px);
            gap: 1.5rem;
            grid-template-areas: 
                "box-1 box-1 box-1 box-2"
                "box-1 box-1 box-1 box-2"
                "box-3 box-3 box-5 box-2"
                "box-3 box-3 box-5 box-2"
                "box-6 box-6 box-4 box-4"
                "box-6 box-6 box-4 box-4"
                "box-7 box-7 box-8 box-8";
        }

        /* Base Box Styles */
        .box {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            padding: 1.5rem;
            border-radius: 15px;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
            position: relative;
        }

        .box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--accent-gradient);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .box:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: var(--accent-color);
        }

        .box:hover::before {
            transform: scaleX(1);
        }

        .box h1 {
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-size: 1.5rem;
        }

        .box h3 {
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

        /* Section Header */
        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            width: 100%;
        }

        .section-header h1 {
            margin: 0;
            color: var(--text-primary);
            font-size: 1.5rem;
        }

        /* View All Link */
        .view-all-link {
            width: fit-content;
            color: var(--accent-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            display: inline-flex; /* Changed from flex to inline-flex */
            align-items: center;
            gap: 0.3rem;
            white-space: nowrap;
            flex-shrink: 0;
            
        }

        .view-all-link:hover {
            color: var(--text-primary);
            transform: translateX(3px);
        }

        /* Individual Box Areas */
        .box1 { grid-area: box-1; }
        .box2 { grid-area: box-2; }
        .box3 { grid-area: box-3; }
        .box4 { grid-area: box-4; }
        .box5 { grid-area: box-5; }
        .box6 { grid-area: box-6; }
        .box7 { grid-area: box-7; }
        .box8 { grid-area: box-8; }

        /* About Me Box */
        .box1 p {
            margin-bottom: 0.8rem;
            line-height: 1.5;
            font-size: 0.95rem;
        }

        .box1 {
            height: 100%;
            overflow-y: hidden;
        }

        /* Experience Box */
        .box2 {
            height: 100%;
        }

        .exp-container {
            background: rgba(0, 212, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 1.2rem;
            transition: all 0.3s ease;
            border-left: 3px solid var(--accent-color);
            margin-bottom: 1rem;
        }

        .exp-container:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            background: rgba(0, 212, 255, 0.1);
        }

        .exp-container h3 {
            color: var(--text-primary);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .exp-container p {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        /* Certificates Box */
        .box3 {
            height: 25rem;
        }

        .cert-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border: 2px solid var(--border-color);
            border-radius: 8px;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.02);
            margin-bottom: 1rem;
        }

        .cert-item a {
            text-decoration: none;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 1rem;
            width: 100%;
        }

        .cert-item:hover {
            border-color: var(--accent-color);
            background: rgba(0, 212, 255, 0.1);
            transform: translateX(5px);
        }

        .cert-item::before {
            content: '📜';
            font-size: 1.5rem;
        }

        .cert-item p {
            margin: 0;
            font-weight: 500;
        }

        .cert-item::after {
            content: '→';
            font-size: 1.2rem;
            margin-left: auto;
            transition: transform 0.3s ease;
            color: var(--accent-color);
        }

        .cert-item:hover::after {
            transform: translateX(5px);
        }

        /* Tech Stack Box */
        .box4 {
            height: 25rem;
            overflow: hidden;
        }

        .box4 > div > div {
            margin-bottom: 1rem;
        }

        .box4 > div > div > div {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .box4 p {
            background: rgba(0, 212, 255, 0.1);
            color: var(--accent-color);
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            text-transform: uppercase;
            font-weight: 500;
            border: 1px solid rgba(0, 212, 255, 0.2);
            transition: all 0.3s ease;
        }

        .box4 p:hover {
            background: var(--accent-color);
            color: var(--primary-bg);
            transform: translateY(-2px);
        }

        /* Beyond Coding Box */
        .box5 p {
            line-height: 1.6;
            color: var(--text-secondary);
            text-align: justify;
        }

        /* Projects Box */
        .projects-container {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            height: calc(100% - 60px);
            overflow-y: auto;
            padding-right: 5px;
        }

        .project-card {
            background: rgba(0, 212, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 1.2rem;
            transition: all 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            background: rgba(0, 212, 255, 0.1);
        }

        .project-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.8rem;
        }

        .project-header h3 {
            color: var(--text-primary);
            font-size: 1.1rem;
            margin: 0;
        }

        .project-date {
            color: var(--accent-color);
            font-size: 0.9rem;
        }

        .project-description {
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
            margin-bottom: 1rem;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .project-tags span {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        .project-link {
            color: var(--success-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .project-link:hover {
            color: var(--text-primary);
            transform: translateX(3px);
        }

        /* Feedback Box */
        .box7, .box8 {
            height: 26.5rem;
        }

        .statements-container {
            display: flex;
            flex-direction: column;
            gap: 1.2rem;
            height: calc(100% - 50px);
            overflow-y: auto;
            padding-right: 5px;
        }

        .statement-card {
            background: rgba(0, 212, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 1.2rem;
            transition: all 0.3s ease;
        }

        .statement-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            background: rgba(0, 212, 255, 0.1);
        }

        .client-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1rem;
        }

        .client-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--accent-color);
            background: var(--accent-color);
        }

        .client-header h3 {
            color: var(--text-primary);
            font-size: 1rem;
            margin: 0;
        }

        .client-title {
            color: var(--text-secondary);
            font-size: 0.8rem;
            margin: 0;
        }

        .statement-content p {
            color: var(--text-secondary);
            line-height: 1.5;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .system-reference {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .system-pill {
            background: rgba(102, 126, 234, 0.1);
            color: #667eea;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
        }

        .date {
            color: var(--text-secondary);
            font-size: 0.8rem;
        }

        /* Social Icons */
        .social-icons {
            display: flex;
            gap: 1rem;
            margin: 1rem 0;
        }

        .social-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
            color: white;
            font-size: 20px;
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
        }

        .social-icon.github {
            background: linear-gradient(135deg, #333, #24292e);
        }

        .social-icon.facebook {
            background: linear-gradient(135deg, #1877f2, #42a5f5);
        }

        .social-icon.gmail {
            background: linear-gradient(135deg, #ea4335, #fbbc04);
        }

        .social-icon:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* Connect Form */
        .connect-form {
            margin-top: 1rem;
        }

        .form-group {
            margin-bottom: 1rem;
        }

        .connect-form input,
        .connect-form textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-primary);
        }

        .connect-form input:focus,
        .connect-form textarea:focus {
            border-color: var(--accent-color);
            outline: none;
            box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
        }

        .connect-form textarea {
            resize: vertical;
            min-height: 100px;
        }

        .connect-form button {
            background: var(--accent-gradient);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-size: 0.9rem;
            width: 100%;
            transition: all 0.3s ease;
        }

        .connect-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        /* Footer */
        footer {
            margin-top: auto;
            padding: 1rem;
            text-align: center;
            color: var(--text-secondary);
            border-top: 1px solid var(--border-color);
            width: 100%;
        }

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--accent-color);
            border-radius: 10px;
        }

        /* Animations */
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .box {
            animation: slideIn 0.6s ease-out forwards;
        }

        /* Splash Screen */
        /* .intro {
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100vh;
            background-color: var(--primary-bg);
            transition: 1s;
        }

        .logo-header {
            position: fixed;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: var(--text-primary);
        }

        .logo {
            position: relative;
            display: inline-block;
            bottom: -20px;
            opacity: 0;
            font-family: "Cedarville Cursive", cursive;
            font-weight: 400;
            font-style: normal;
            font-size: 100px;
        }

        .logo.active {
            bottom: 0;
            opacity: 1;
            transition: ease-in-out 0.5s;
        }

        .logo.fade {
            bottom: 150px;
            opacity: 0;
            transition: ease-in-out 0.5s;
        } */

        /* Responsive Design */
        @media (max-width: 1200px) {
            body {
                padding: 1.5rem;
            }
            
            main {
                max-width: 1000px;
            }
            
            .grid-container {
                grid-template-columns: repeat(3, 1fr);
                grid-template-rows: repeat(8, 200px);
                grid-template-areas: 
                    "box-1 box-1 box-2"
                    "box-1 box-1 box-2"
                    "box-1 box-1 box-2"
                    "box-3 box-3 box-5"
                    "box-3 box-3 box-4"
                    "box-6 box-6 box-4"
                    "box-7 box-7 box-8"
                    "box-7 box-7 box-8";
            }
        }

        @media (max-width: 1024px) {
            .profiles img {
                width: 200px;
                height: 200px;
            }
            
            .name h1 {
                font-size: 2.2rem;
            }
            
            .grid-container {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(10, 200px);
                grid-template-areas: 
                    "box-1 box-1"
                    "box-1 box-1"
                    "box-2 box-2"
                    "box-2 box-2"
                    "box-3 box-5"
                    "box-3 box-4"
                    "box-6 box-4"
                    "box-6 box-7"
                    "box-8 box-7"
                    "box-8 box-7";
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 1rem;
                gap: 1.5rem;
            }
            
            .header {
                padding: 1.5rem;
            }
            
            .profiles {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap: 1.5rem;
            }

            .profiles img {
                width: 200px;
                height: 200px;
            }
            
            .name h1 {
                font-size: 2rem;
            }
            
            .details p {
                font-size: 1rem;
            }

            .social-icons {
                justify-content: center;
            }
            
            .actions {
                justify-content: center;
                gap: 0.8rem;
            }
            
            .actions a {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
            
            .grid-container {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
                gap: 1.5rem;
                grid-template-areas: 
                    "box-1"
                    "box-2"
                    "box-3"
                    "box-4"
                    "box-5"
                    "box-6"
                    "box-7"
                    "box-8";
            }

            .box1 { 
                height: auto; 
                min-height: 400px;
                overflow-y: auto;
            }
            .box2 { height: auto; min-height: 400px; }
            .box3 { height: auto; min-height: 350px; }
            .box4 { height: auto; min-height: 350px; }
            .box5 { height: auto; min-height: 300px; }
            .box6 { height: auto; min-height: 400px; }
            .box7 { height: auto; min-height: 350px; }
            .box8 { height: auto; min-height: 350px; }
            
            .box {
                padding: 1.2rem;
            }
            
            .box h1 {
                font-size: 1.3rem;
            }
            
            .logo {
                font-size: 60px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 0.8rem;
                gap: 1rem;
            }
            
            .header {
                padding: 1rem;
            }
            
            .profiles img {
                width: 150px;
                height: 150px;
            }
            
            .name h1 {
                font-size: 1.8rem;
            }
            
            .details p {
                font-size: 0.95rem;
            }
            
            .actions a {
                padding: 8px 16px;
                font-size: 0.85rem;
            }

            .social-icon {
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
            
            .box {
                padding: 1rem;
            }
            
            .box h1 {
                font-size: 1.2rem;
            }
            
            .project-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .system-reference {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .logo {
                font-size: 50px;
            }
            
            .cert-item p,
            .exp-container p,
            .project-description,
            .statement-content p {
                font-size: 0.9rem;
            }
            
            .project-tags span,
            .system-pill {
                font-size: 0.75rem;
                padding: 0.25rem 0.6rem;
            }
        }

        @media (max-width: 360px) {
            .name h1 {
                font-size: 1.6rem;
            }
            
            .logo {
                font-size: 40px;
            }
            
            .profiles img {
                width: 120px;
                height: 120px;
            }
            
            .box {
                padding: 0.8rem;
            }
        }