/* 
   Portfolio Redesign Stylesheet
   Theme: Dark Neon Glassmorphism
   Designed for Bhupesh Indurkar (Full Stack Web Developer)
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #04040d;
    --bg-secondary: #080816;
    --sidebar-bg: rgba(6, 6, 18, 0.7);
    --card-bg: rgba(15, 15, 35, 0.45);
    --card-hover-bg: rgba(22, 22, 50, 0.6);
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(138, 43, 226, 0.3);
    
    /* Neon Colors */
    --neon-pink: #ff007f;
    --neon-purple: #8b5cf6;
    --neon-blue: #00f0ff;
    --text-primary: #f3f3fa;
    --text-secondary: #a0a0c5;
    --text-muted: #626284;
    
    /* Gradients */
    --gradient-pink-purple: linear-gradient(135deg, #ff007f, #8b5cf6);
    --gradient-purple-blue: linear-gradient(135deg, #8b5cf6, #00f0ff);
    --gradient-glow: linear-gradient(135deg, rgba(255, 0, 127, 0.15), rgba(139, 92, 246, 0.15));
    --sidebar-width: 280px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Spotlights */
.bg-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-1 {
    position: absolute;
    top: 15%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
}

.glow-2 {
    position: absolute;
    bottom: 20%;
    left: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
}

.glow-3 {
    position: absolute;
    top: 60%;
    right: 25%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

/* --- Layout --- */

.app-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.sidebar-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-pink-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

.sidebar-logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    color: transparent;
}

.sidebar-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Links */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 2rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    color: white;
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.05);
}

.nav-item.active i {
    color: var(--neon-blue);
}

/* Freelance Availability Panel */
.availability-card {
    background: var(--gradient-glow);
    border: 1px solid rgba(255, 0, 127, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.availability-card h4 {
    font-size: 0.9rem;
    font-family: var(--font-heading);
    color: white;
    margin-bottom: 0.4rem;
}

.availability-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.btn-hire {
    display: inline-block;
    width: 100%;
    padding: 0.6rem;
    background: var(--gradient-pink-purple);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.3);
    transition: all 0.3s;
}

.btn-hire:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5);
}

/* CV Download Button */
.cv-container {
    margin-bottom: 1.5rem;
}

.btn-cv {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cv:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
}

/* Sidebar Social Footer */
.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.sidebar-footer p {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
}

/* Main Content Wrapper */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-width: 0; /* Prevents flex items from breaking layout width */
    padding: 2rem 4rem;
}

/* Helper Class: Section */
.section {
    padding: 5rem 0;
    scroll-margin-top: 2rem;
}

/* Section Titles */
.section-subtitle-tag {
    color: var(--neon-pink);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.section-title-text span {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    color: transparent;
}

/* --- Section: Home / Hero --- */

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas: "left right";
    gap: 2rem;
    align-items: center;
    min-height: 80vh;
}

.hero-left {
    grid-area: left;
}

.hero-right {
    grid-area: right;
}

.hero-left .greeting {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neon-blue);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.hero-left .name {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-left .title-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-left .title-badge span {
    background: var(--gradient-pink-purple);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-left .desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-primary {
    padding: 0.9rem 1.8rem;
    background: var(--gradient-pink-purple);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 0, 127, 0.35);
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 0, 127, 0.55);
}

.btn-secondary {
    padding: 0.9rem 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--text-muted);
    transform: translateY(-3px);
}

/* Hero Client Stack Logos */
.trust-banner {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.trust-banner p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.stack-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.stack-logo-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stack-logo-item i {
    font-size: 1.1rem;
}

.stack-logo-item.java i { color: #f89820; }
.stack-logo-item.spring i { color: #6db33f; }
.stack-logo-item.python i { color: #3776ab; }
.stack-logo-item.react i { color: #61dafb; }
.stack-logo-item.db i { color: #00758f; }

/* Hero Right: Profile Halo */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-halo {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
}

.halo-bg {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple), var(--neon-blue));
    border-radius: 50%;
    z-index: 1;
    filter: blur(25px);
    opacity: 0.7;
    animation: rotateHalo 12s linear infinite;
}

.photo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    border: 4px solid var(--sidebar-bg);
    background: var(--bg-secondary);
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Floating Stats Card */
.floating-exp-card {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-exp-card .num {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--neon-blue);
    line-height: 1;
}

.floating-exp-card .lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* --- Section: About & Timeline --- */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-of-type {
    margin-top: 0;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.about-text p strong {
    color: white;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 2rem;
}

.about-highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s;
}

.about-highlight-card i {
    font-size: 1.2rem;
    color: var(--neon-pink);
}

.about-highlight-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-highlight-card:hover {
    border-color: var(--border-hover);
    background: var(--card-hover-bg);
    transform: translateY(-2px);
}

/* Timeline Layout */
.timeline-wrapper {
    position: relative;
    padding-left: 2rem;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon-purple), var(--neon-blue), transparent);
}

.timeline-item-modern {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item-modern:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 8px var(--neon-blue);
}

.timeline-item-modern:nth-child(even) .timeline-dot {
    border-color: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
}

.timeline-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s;
}

.timeline-card:hover {
    border-color: var(--border-hover);
    transform: translateX(5px);
}

.timeline-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-pink);
    margin-bottom: 0.3rem;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Section: Services --- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-pink-purple);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:nth-child(even)::before {
    background: var(--gradient-purple-blue);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-card:nth-child(even) .service-icon {
    color: var(--neon-pink);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: var(--border-hover);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    background: var(--gradient-pink-purple);
    color: white;
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
}

.service-card:nth-child(even):hover .service-icon {
    background: var(--gradient-purple-blue);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* --- Section: Projects --- */

.projects-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.filter-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.filter-btn-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn-modern:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
}

.filter-btn-modern.active {
    background: var(--gradient-pink-purple);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.projects-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card-modern {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.project-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.project-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.project-thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card-modern:hover .project-thumb-wrapper img {
    transform: scale(1.08);
}

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 13, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
}

.project-card-modern:hover .project-card-overlay {
    opacity: 1;
}

.overlay-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.overlay-btn:hover {
    background: var(--neon-pink);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.6);
}

.project-info-modern {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-cat-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.project-title-modern {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.6rem;
}

.project-desc-modern {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.badge-tech {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-blue);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

.btn-view-all-projects {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.05);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.btn-view-all-projects:hover {
    background: var(--gradient-pink-purple);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}

/* --- Section: Stats Band --- */

.stats-band {
    background: var(--gradient-pink-purple);
    border-radius: 24px;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 8px 30px rgba(255, 0, 127, 0.25);
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.stat-item-modern {
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-num-modern {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-lbl-modern {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Section: Skills --- */

.skills-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.skills-cat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.skills-cat-card:hover {
    border-color: var(--border-hover);
    background: var(--card-hover-bg);
}

.skills-cat-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
}

.skills-cat-card h3 i {
    color: var(--neon-blue);
}

.skill-bar-item {
    margin-bottom: 1.5rem;
}

.skill-bar-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.skill-name-text {
    color: var(--text-primary);
}

.skill-percent-text {
    color: var(--neon-pink);
}

.skill-progress-bg {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    background: var(--gradient-purple-blue);
    border-radius: 10px;
    width: 0; /* Animated dynamically with JS */
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.skills-cat-card:nth-child(even) .skill-progress-fill {
    background: var(--gradient-pink-purple);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}

/* --- Section: Certifications & Internships --- */

.certs-layout {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.certs-column h3, .interns-column h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.certs-column h3 i { color: var(--neon-blue); }
.interns-column h3 i { color: var(--neon-pink); }

/* Certs grid - single column, no overlap */
.certs-column {
    display: block;
}

.certs-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Interns grid - single column, no overlap */
.interns-column {
    display: block;
}

.interns-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.cert-card-interactive, .intern-card-interactive {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.cert-card-interactive:hover, .intern-card-interactive:hover {
    border-color: var(--border-hover);
    background: var(--card-hover-bg);
    transform: translateY(-3px);
}

.cert-card-icon, .intern-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--neon-blue);
    flex-shrink: 0;
}

.intern-card-icon {
    color: var(--neon-pink);
}

.cert-card-details, .intern-card-details {
    flex: 1;
}

.cert-card-title, .intern-card-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.3rem;
}

.cert-card-org, .intern-card-org {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cert-card-org i, .intern-card-org i {
    font-size: 0.75rem;
}

.cert-card-desc, .intern-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cert-card-actions, .intern-card-actions {
    display: flex;
    gap: 1rem;
}

.btn-cert-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-cert-action:hover {
    background: var(--neon-purple);
    border-color: var(--neon-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}

.btn-cert-action.download:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

/* --- Section: Testimonials --- */

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.test-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s;
}

.test-card:hover {
    border-color: var(--border-hover);
    background: var(--card-hover-bg);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: rgba(255, 0, 127, 0.15);
}

.test-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    position: relative;
    font-style: italic;
}

.test-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.test-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.test-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.test-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.test-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Section: Contact --- */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--gradient-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.contact-detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--neon-blue);
}

.contact-detail-texts h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.contact-detail-texts p {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* Contact Form */
.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern.full-width {
    grid-column: span 2;
}

.form-group-modern label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.form-control-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: white;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s;
}

.form-control-modern::placeholder {
    color: var(--text-muted);
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--neon-purple);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

textarea.form-control-modern {
    resize: none;
    min-height: 120px;
}

.btn-submit-modern {
    padding: 0.8rem 2rem;
    background: var(--gradient-pink-purple);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.35);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5);
}

/* --- Section: Modal Dialogues (Portfolio & Certificate Previews) --- */

.modal-backdrop-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 4, 13, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.modal-backdrop-modern.active {
    opacity: 1;
    pointer-events: all;
}

.modal-box-modern {
    background: #08081a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-backdrop-modern.active .modal-box-modern {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--neon-pink);
    color: white;
    border-color: transparent;
}

.modal-content-modern {
    padding: 2.5rem;
}

/* Project Modal layout */
.modal-project-header {
    margin-bottom: 1.5rem;
}

.modal-project-img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    max-height: 350px;
    object-fit: cover;
}

.modal-project-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Certificate Preview specific styles */
.modal-cert-preview {
    text-align: center;
}

.modal-cert-img {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* Mobile Toggle Button */
.mobile-toggle-nav {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 46px;
    height: 46px;
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 101;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    transition: all 0.3s;
}

.mobile-toggle-nav:hover {
    background: var(--neon-purple);
    border-color: transparent;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* --- Responsive Adjustments --- */

@media (max-width: 1200px) {
    .main-content {
        padding: 2rem 2.5rem;
    }
    .hero-left .name {
        font-size: 3.2rem;
    }
}

@media (max-width: 992px) {
    /* Hide desktop sidebar */
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.mobile-active {
        transform: translateX(0);
    }
    
    .mobile-toggle-nav {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
        padding: 4rem 2rem 2rem 2rem;
    }
    
    .hero-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding-top: 1.5rem;
    }
    
    .hero-right {
        order: 1;
        margin-bottom: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-left .desc {
        margin: 0 auto 2rem auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stack-logos {
        justify-content: center;
    }
    
    .floating-exp-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -22px;
        z-index: 10;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(102, 126, 234, 0.25);
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* already single column on all screens */
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-left .name {
        font-size: 2.8rem;
    }
    .photo-halo {
        width: 260px;
        height: 260px;
    }
    .stats-band {
        padding: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .form-group-modern.full-width {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero-left .name {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    .photo-halo {
        width: 220px;
        height: 220px;
    }
    .floating-exp-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -18px;
        padding: 0.5rem 1rem;
    }
    .floating-exp-card .num {
        font-size: 1.6rem;
    }
    .floating-exp-card .lbl {
        font-size: 0.7rem;
    }
    .section-title-text {
        font-size: 1.7rem;
    }
    .stats-band {
        flex-direction: column;
        align-items: center;
    }
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* Keyframe Animations */
@keyframes rotateHalo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Custom Mobile Optimization Adjustments */
@media (max-width: 576px) {
    .cert-card-interactive, .intern-card-interactive {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .cert-card-icon, .intern-card-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .cert-card-actions, .intern-card-actions {
        flex-wrap: wrap;
        gap: 0.6rem;
        width: 100%;
        margin-top: 0.4rem;
    }

    .btn-cert-action {
        flex: 1;
        min-width: 110px;
        justify-content: center;
        padding: 0.6rem;
        font-size: 0.72rem;
    }
}

/* --- Footer Styles --- */
.portfolio-footer-modern {
    text-align: center;
    margin-top: 5rem;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.portfolio-footer-modern span {
    background: var(--gradient-purple-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.portfolio-footer-modern .copyright-text {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    letter-spacing: 0.5px;
}


