:root {
    /* Color Palette */
    --bg-dark: #060818;
    --bg-light: #0B1225;
    --accent-indigo: #4F46E5;
    --accent-blue: #3B82F6;
    --accent-cyan: #22D3EE;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Typography */
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Animation Timings */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Reset & Global Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to right, var(--text-white), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* Background Elements */
.bg-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(to bottom right, var(--bg-dark), var(--bg-light));
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: moveBlobs 20s infinite alternate linear;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-indigo);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes moveBlobs {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 150px) scale(1.2); }
    100% { transform: translate(-50px, 200px) scale(0.9); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Mouse Spotlight & Cursor */
.mouse-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent-cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    filter: blur(8px);
    opacity: 0.7;
    transition: width 0.2s, height 0.2s;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    inset: 0;
    background-color: var(--bg-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.loader-content {
    text-align: center;
}

.animated-logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite alternate;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.loading-bar .progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--accent-indigo), var(--accent-cyan));
    animation: loadProgress 2s ease forwards;
}

@keyframes pulse {
    from { opacity: 0.6; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1.05); }
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-indigo), var(--accent-cyan));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(6, 8, 24, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(6, 8, 24, 0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-logo span {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-cyan);
    transition: width var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Glass Card Common Styles */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 10px 40px 0 rgba(34, 211, 238, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple-circle {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    background-color: rgba(255, 255, 255, 0.7);
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hero Section */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

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

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.3), inset 0 0 20px rgba(79, 70, 229, 0.2);
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-indigo));
    z-index: -1;
    opacity: 0.5;
    filter: blur(15px);
    transition: opacity 0.5s ease;
}

.profile-img-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.5), inset 0 0 30px rgba(79, 70, 229, 0.4);
    border-color: rgba(34, 211, 238, 0.4);
}

.profile-img-wrapper:hover::before {
    opacity: 0.8;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    font-weight: 500;
}

.large-name {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.typing-container {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.typing-text {
    color: var(--text-white);
}

.cursor {
    display: inline-block;
    width: 3px;
    animation: blink 1s infinite;
    color: var(--accent-cyan);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Skills Section */
.skills-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.category-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.category-title i {
    color: var(--accent-blue);
}

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

.skill-card {
    padding: 1rem 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

/* Certifications Section */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.cert-icon {
    font-size: 2rem;
    color: var(--accent-indigo);
    background: rgba(79, 70, 229, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all var(--transition-normal);
}

.cert-card:hover .cert-icon {
    background: var(--accent-indigo);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.cert-card h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Projects Section */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-img-placeholder {
    height: 200px;
    background: linear-gradient(45deg, #111827, #1f2937);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
}

.project-card:hover .project-img-placeholder i {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.3);
    transition: all var(--transition-normal);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    color: var(--accent-cyan);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-indigo), var(--accent-cyan), transparent);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 1.5rem;
    width: 14px;
    height: 14px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
    z-index: 2;
}

.timeline-content {
    padding: 2rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-content ul {
    list-style-type: disc;
    padding-left: 1.2rem;
    color: var(--text-muted);
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    transition: all var(--transition-normal);
}

.contact-link i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
    transform: translateX(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-indigo);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.2);
}

.w-100 {
    width: 100%;
    justify-content: center;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-indigo);
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.5);
}

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* 3D Tilt Effect Utilities */
.tilt-effect {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* PDF Viewer Modal Styles */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(6, 8, 24, 0.85);
    backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.pdf-modal.open {
    opacity: 1;
    visibility: visible;
}

.pdf-modal-content {
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.pdf-modal.open .pdf-modal-content {
    transform: scale(1);
}

.pdf-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1rem;
}

.pdf-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-weight: 600;
}

.pdf-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#pdf-zoom-level {
    font-weight: 600;
    width: 50px;
    text-align: center;
}

.pdf-viewer-container {
    flex-grow: 1;
    overflow: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    user-select: none;
}

canvas#pdf-render {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    background: #fff;
}

.pdf-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

/* Certificate Card Additions */
.cert-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    justify-content: space-between;
}

.cert-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cert-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
}

.cert-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cert-info .cert-date {
    font-size: 0.8rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .large-name {
        font-size: 4rem;
    }
    
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-dot {
        left: 14px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 50px;
        gap: 2rem;
    }
    
    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .profile-img-wrapper {
        width: 250px;
        height: 250px;
    }

    .large-name {
        font-size: 3rem;
    }
    
    .typing-container {
        font-size: 1.5rem;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .cta-group {
        flex-direction: column;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}
 
 