:root {
    --bg-color: transparent;
    --card-bg: rgba(15, 23, 42, 0.4);
    --card-border: rgba(255, 255, 255, 0.1);
    --primary-color: #3b82f6;
    --primary-hover: #60a5fa;
    --secondary-color: #8b5cf6;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-cyan: #38bdf8;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6, p, a, li, span {
    word-break: break-word;
    overflow-wrap: break-word;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
}

.highlight {
    color: var(--primary-color);
}

.highlight-cyan { color: var(--text-cyan); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: #4f46e5;
    color: white;
    border: 1px solid #4f46e5;
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--text-cyan)) !important;
    border-color: transparent !important;
    color: var(--text-main) !important;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
}

.btn-light {
    background-color: white;
    color: var(--bg-color);
    font-weight: 600;
}

.btn-light:hover {
    background-color: #e2e8f0;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 11, 19, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: #a855f7;
    font-family: monospace;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

nav a:hover,
nav a.active {
    color: white;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}
.menu-toggle:hover {
    color: var(--primary-color);
}

.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Main Layout */
main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero p { font-size: 1.1rem; margin-bottom: 2rem; max-width: 100%; }

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links a {
    color: var(--text-main);
    font-size: 1.2rem;
    background: var(--card-bg);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--card-border);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--text-cyan));
    border-color: transparent;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
    transform: translateY(-3px) scale(1.1);
    color: white;
}

.hero-image-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow {
    position: absolute;
    width: min(300px, 80vw);
    height: min(300px, 80vw);
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3.5 / 4.5;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    /* In real scenario, put the actual image url here */
}

.floating-code {
    position: absolute;
    right: -50px;
    top: -50px;
    background: rgba(20, 20, 30, 0.4);
    backdrop-filter: blur(2px);
    border: 1px solid var(--card-border);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: monospace;
    font-size: 0.8rem;
    
}

.code-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #10b981;
}

.floating-code pre {
    color: var(--text-main);
}

.floating-code .keyword {
    color: var(--primary-color);
}

.floating-code .variable {
    color: #eab308;
}

.floating-code .string {
    color: #10b981;
}

.status-badge {
    position: absolute;
    bottom: 50px;
    right: 20px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    max-width: 90%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.status-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(16, 185, 129, 0.4);
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-text strong {
    font-size: 0.9rem;
}

.status-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Stats and Skills */
.stats-skills-container {
    margin-bottom: 4rem;
}

.stats-section {
    display: flex;
    gap: 1rem;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.stat-info p {
    font-size: 0.8rem;
}

.top-skills {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    text-align: center;
}

.top-skills h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.skills-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Section Common */
.section {
    margin-bottom: 4rem;
}

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

.view-all {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.1);
}

.project-image {
    height: 180px;
    background-color: #232336;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========================================================== */
/* HOME PAGE IMAGES (Standard Project Cards)                  */
/* ========================================================== */
.project-card .project-img-1 {
    background-image: url('image/Hospital_Management_System.jpeg');
    background-size: cover;
    background-position: top center;

}

.project-card .project-img-3 {
    background-image: url('image/shree-radha-cafe.jpeg');
    background-size: cover;
    background-position: top center;
}

.project-card .project-img-4 {
    background-image: url('image/meridian%20construction.jpeg');
    background-size: cover;
    background-position: top center;
}

.project-card .project-img-5 {
    background-image: url('image/student%20management%20system%20eda.jpeg');
    background-size: cover;
    background-position: top center;
}

/* ========================================================== */
/* PROJECTS PAGE IMAGES (Detailed Project Cards)              */
/* ========================================================== */
.project-detail-card .project-img-1 {
    background-image: url('image/Hospital_Management_System.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.project-detail-card .project-img-3 {
    background-image: url('image/shree-radha-cafe.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.project-detail-card .project-img-4 {
    background-image: url('image/meridian%20construction.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;


}

.project-detail-card .project-img-5 {
    background-image: url('image/student%20management%20system%20eda%202.jpeg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.project-content p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.project-tags span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.project-link {
    color: var(--text-main);
    font-size: 1.2rem;
}

.project-link:hover {
    color: var(--primary-color);
}

/* Info Grid (About, Experience, Services) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

.experience-card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.education-card {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.what-i-do-card {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.about-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

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

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: var(--card-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 5px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--card-bg);
}

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

.timeline-header h3 {
    font-size: 1.1rem;
    color: var(--text-main);
}

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

.timeline-content h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.85rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.service-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.service-text p {
    font-size: 0.8rem;
}

/* Testimonials */
.testimonials-section {
    position: relative;
}

.testimonial-controls {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 0.5rem;
}

.control-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2rem;
    color: rgba(255, 0, 255, 0.2);
}

.testimonial-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-style: italic;
}

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

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #232336;
}

.mentor-img {
    background-image: url('https://via.placeholder.com/40/3b82f6/fff?text=M');
}

.client-img {
    background-image: url('https://via.placeholder.com/40/10b981/fff?text=C');
}

.author-info h4 {
    font-size: 0.95rem;
    margin: 0;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #0d0d16;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--card-border);
}

.cta-banner {
    background: linear-gradient(90deg, #6366f1, #a855f7);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.corporate-cta {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-left: 5px solid var(--primary-color);
    background-image: none;
}

.corporate-cta h2 {
    color: var(--text-main);
}

.corporate-cta .btn-light {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.corporate-cta .btn-light:hover {
    background: transparent;
    color: var(--primary-color);
}

.cta-content h2 {
    font-size: 2rem;
    margin: 0;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

/* =========================================
   MULTI-PAGE STYLES
   ========================================= */

.page-header {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Detailed Projects */
.detailed-projects {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 5rem;
}

.project-detail-card {
    display: flex;
    gap: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    align-items: center;
}

.project-detail-card.reverse {
    flex-direction: row-reverse;
}

.project-detail-image {
    flex: 1;
    min-height: 400px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #232336;
    align-self: stretch;
}

.project-detail-content {
    flex: 1;
    padding: 3rem;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-overview {
    font-size: 1.05rem;
    margin: 1rem 0 2rem;
    color: var(--text-main);
}

.project-bullets {
    margin-left: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    list-style-type: disc;
}

.project-bullets li {
    margin-bottom: 0.5rem;
}

.project-tech-stack h3 {
    margin-bottom: 1rem;
}

.project-actions {
    margin-top: 2rem;
}

/* About Page */
.full-page-info {
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-content-extended {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.about-content-extended p {
    margin-bottom: 1.5rem;
}

.certifications-list {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.certifications-list h3 {
    margin-bottom: 1.5rem;
}

.certifications-list ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.certifications-list ul li i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Contact Page */
.contact-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 5rem;
}

.contact-info-panel {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

.contact-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-panel>p {
    margin-bottom: 2.5rem;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem;
    border-radius: 50%;
}

.contact-details-list h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-details-list p {
    font-size: 0.95rem;
}

.contact-socials {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.contact-socials a {
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: var(--transition);
}

.contact-socials a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.contact-form-panel {
    flex: 1.5;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-md);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.05rem;
    margin-top: 1rem;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
    background: #ffffff;
}

.footer-column h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-column ul a::before {
    content: '→';
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-column ul a:hover::before {
    transform: translateX(3px);
    opacity: 1;
}

.footer-column ul a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--primary-color);
}

.footer-socials {
    margin-top: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .floating-code {
        display: none;
        /* Hide on smaller screens for cleaner look */
    }

    .stats-skills-container,
    .info-grid {
        grid-template-columns: 1fr;
    }

        .experience-card,
    .education-card,
    .what-i-do-card {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    

    .projects-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .project-detail-card {
        flex-direction: column;
    }

    .project-detail-card.reverse {
        flex-direction: column;
    }

    .project-detail-image {
        min-height: 250px;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Light Mode Overrides */
body.light-mode {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

body.light-mode header {
    background: #ffffff;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .glow {
    display: none;
}

body.light-mode nav a:hover,
body.light-mode nav a.active {
    color: var(--primary-color);
}

body.light-mode .badge {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .btn-secondary:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .skills-tags span,
body.light-mode .project-tags span {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .service-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode footer {
    background: #f1f5f9;
    border-top: 1px solid var(--card-border);
}

body.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .floating-code {
    background: rgba(255, 255, 255, 0.9);
}
/* ========================================================== */
/* COMPREHENSIVE RESPONSIVENESS (Mobile to 4K TVs)            */
/* ========================================================== */

/* 1. Ultra-Wide & 4K/8K TVs (Scaling up the UI) */
@media (min-width: 1920px) {
    html {
        font-size: 18px; /* Scales up all rem-based units by ~12.5% */
    }
    header, .page-header, .info-grid, .projects-grid, .services-grid, footer .footer-content, .detailed-projects, .contact-container, .skills-container, .corporate-cta {
        max-width: 1600px;
    }
    .hero {
        min-height: 70vh;
    }
}

@media (min-width: 2560px) {
    html {
        font-size: 22px; /* Scales up all rem-based units significantly for 2K/4K */
    }
    header, .page-header, .info-grid, .projects-grid, .services-grid, footer .footer-content, .detailed-projects, .contact-container, .skills-container, .corporate-cta {
        max-width: 2000px;
    }
}

@media (min-width: 3840px) {
    html {
        font-size: 32px; /* Scales up for huge 4K/8K TVs (55", 65"+) */
    }
    header, .page-header, .info-grid, .projects-grid, .services-grid, footer .footer-content, .detailed-projects, .contact-container, .skills-container, .corporate-cta {
        max-width: 3000px;
    }
}

/* 2. Tablet Optimizations */
@media (max-width: 992px) {
    .project-detail-card, .project-detail-card.reverse {
        flex-direction: column;
        gap: 1.5rem;
    }
    .project-detail-image {
        min-height: 300px;
        width: 100%;
    }
    .project-detail-content {
        padding: 2rem;
    }
    .info-grid {
        grid-template-columns: 1fr;
    }
    .skills-container {
        grid-template-columns: 1fr;
    }
}

/* 3. Mobile Optimizations */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content h2 {
        font-size: 1.2rem;
    }
    .projects-grid, .services-grid {
        grid-template-columns: 1fr;
    }
        .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: left;
    }
    .footer-column {
        align-items: flex-start;
    }
    .contact-info li {
        justify-content: flex-start;
    }
        .header-actions .btn {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        border-bottom: 1px solid var(--card-border);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 0;
        display: none;
        z-index: 100;
    }
    
    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    body.light-mode nav ul li a {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px; /* Scale down slightly for very small phones */
    }
    header {
        padding: 1rem;
    }
    .hero {
        padding: 6rem 1rem 3rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .project-detail-content {
        padding: 1.5rem;
    }
    .timeline-item {
        padding-left: 2rem;
    }
    .timeline-dot {
        left: -5px;
    }
}

@media (max-width: 480px) {
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .timeline-header h3 {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content h2 {
        font-size: 1rem;
    }

    .info-card {
        padding: 1.25rem;
    }
    
        .service-item, .project-card, .project-detail-card, .contact-info-panel, .contact-form-panel {
        padding: 1.25rem;
    }

    .project-detail-content {
        padding: 1rem 0;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        white-space: normal;
        text-align: center;
        height: auto;
    }
    
        /* Center status badge properly on mobile */
    .status-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        width: max-content;
    }
    .status-badge:hover {
        transform: translate(-50%, -5px);
    }
    
    /* Ensure no container overflows on mobile */
    .page-content, footer { width: 100%; max-width: 100vw; overflow-x: hidden; }
}












/* =========================================
   COLORFUL HOVER EFFECTS ENHANCEMENTS
   ========================================= */

.btn-primary:hover {
    background: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6), 0 0 40px rgba(0, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
}

.btn-outline:hover {
    background: linear-gradient(90deg, var(--primary-color), var(--text-cyan)) !important;
    border-color: transparent !important;
    color: var(--text-main) !important;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
}

nav a:hover, nav a.active {
    color: var(--text-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6) !important;
}

body.light-mode nav a:hover, body.light-mode nav a.active {
    color: var(--primary-hover) !important;
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.3) !important;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--text-cyan)) !important;
    border-color: transparent !important;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.6) !important;
    transform: translateY(-3px) scale(1.1) !important;
    color: white !important;
}

.project-card {
    transition: all 0.3s ease !important;
}

.project-card:hover {
    transform: translateY(-8px) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.15), 0 0 15px rgba(0, 255, 255, 0.1) !important;
}

.highlight {
    transition: text-shadow 0.3s ease;
}
.highlight:hover {
    text-shadow: 0 0 15px var(--primary-color);
}
.highlight-cyan {
    transition: text-shadow 0.3s ease;
}
.highlight-cyan:hover {
    text-shadow: 0 0 15px var(--text-cyan);
}

.footer-column ul a {
    transition: all 0.3s ease !important;
}
.footer-column ul a:hover {
    color: var(--text-cyan) !important;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.4) !important;
}




/* =========================================
   3D WEBGL & GLASSMORPHISM (OPTION A)
   ========================================= */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-color: #030712; /* Deep background color behind canvas */
}

body {
    background-color: transparent !important;
    margin: 0;
    overflow-x: hidden;
}

header {
    background: rgba(15, 23, 42, 0.5) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Glassmorphism Cards */
.info-card, .project-card, .service-item, .testimonial-card, .contact-info-panel, .contact-form-panel {
    background: rgba(15, 23, 42, 0.3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

.project-card:hover {
    transform: translateY(-10px) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.2) !important;
}

.btn-primary {
    background: rgba(59, 130, 246, 0.8) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.btn-primary:hover {
    background: rgba(96, 165, 250, 1) !important;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.6) !important;
    transform: translateY(-3px) !important;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) !important;
}

.highlight { color: #3b82f6 !important; text-shadow: none !important; }
.highlight-cyan { color: #38bdf8 !important; text-shadow: none !important; }

/* Light Mode Overrides for WebGL */
body.light-mode #bg-canvas {
    background-color: #f0f2f5; /* Light sky background */
    /* Note: Three.js fog and points might look weird against light bg, usually WebGL turns off or inverts in light mode. */
    /* We will keep the glass UI clean for light mode */
}
body.light-mode {
    background-color: transparent !important;
}
body.light-mode header {
    background: rgba(255, 255, 255, 0.7) !important;
}
body.light-mode .project-card, 
body.light-mode .info-card, 
body.light-mode .service-item, 
body.light-mode .contact-info-panel, 
body.light-mode .contact-form-panel {
    background: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05) !important;
}
