/* ==========================================================================
   PORTFOLIO DESIGN SYSTEM & STYLESHEET
   Owner: Prakshali Maru
   Theme: Sleek Dark / Glassmorphic Neon
   ========================================================================== */

/* 1. RESET & VARIABLE DEFINITIONS */
:root {
    /* Color Palette */
    --bg-darker: #070a13;
    --bg-main: #0b0f19;
    --bg-card: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.4);
    
    --accent-indigo: #6366f1;
    --accent-violet: #8b5cf6;
    --accent-cyan: #06b6d4;
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Constants */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Shadow Effects */
    --glow-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
    --glow-hover: 0 0 30px rgba(6, 182, 212, 0.3);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    
    /* Animation Speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-indigo);
}

/* Container Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

a {
    color: var(--accent-indigo);
    text-decoration: none;
    transition: var(--transition-fast);
}
a:hover {
    color: var(--accent-cyan);
}

ul {
    list-style: none;
}

/* 2. DYNAMIC BACKGROUND BLOBS */
.glow-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-1 {
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
    top: 50%;
    right: -10%;
    animation-delay: -5s;
    animation-duration: 30s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(80px, 50px) scale(1.1);
    }
    100% {
        transform: translate(-40px, -80px) scale(0.9);
    }
}

/* 3. REUSABLE COMPONENTS & UTILITIES */

/* Glass Panel Styling */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
}
.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6), var(--glow-shadow);
}

/* Custom Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Gradient and Accent Text */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Section Header Structure */
.section-padding {
    padding: 100px 0;
}

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

.section-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    display: inline-block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
    margin: 0 auto;
    border-radius: 2px;
}

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

/* 4. MAIN STICKY NAVIGATION */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
}

/* When header is scrolled */
.main-header.scrolled {
    height: 70px;
    background: rgba(7, 10, 19, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--text-secondary);
    padding: 8px 0;
    position: relative;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-indigo), var(--accent-cyan));
    transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 22px;
    cursor: pointer;
}

/* 5. HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

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

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-indigo);
    margin-bottom: 16px;
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Coding Card Graphic */
.visual-card-wrapper {
    position: relative;
    width: 100%;
}
.visual-card-wrapper::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan));
    border-radius: var(--border-radius-md);
    z-index: -1;
    opacity: 0.2;
    filter: blur(10px);
}

.visual-card {
    background: #0f1322;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card-header {
    background: #0b0e1a;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-dots {
    display: flex;
    gap: 6px;
}

.card-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.card-header .dot.red { background-color: #ef4444; }
.card-header .dot.yellow { background-color: #f59e0b; }
.card-header .dot.green { background-color: #10b981; }

.card-tabs {
    display: flex;
    gap: 4px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}
.tab-btn.active {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: inset 0 0 5px rgba(6, 182, 212, 0.15);
}

.tab-content {
    animation: terminalFadeIn 0.3s ease;
}

@keyframes terminalFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Terminal run wrapper inside contact.sh tab */
.terminal-run-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-command-line {
    font-size: 14px;
    color: var(--text-primary);
}

.terminal-prompt {
    color: var(--accent-indigo);
    font-weight: bold;
}

.terminal-output {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    min-height: 120px;
    font-size: 13px;
    line-height: 1.5;
}

.terminal-output .loading-line {
    color: var(--text-muted);
}

.terminal-output .output-data p {
    margin-bottom: 6px;
}
.terminal-output .output-data p:last-child {
    margin-bottom: 0;
}

.text-success {
    color: #10b981;
}

.btn-terminal-run {
    align-self: flex-start;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--accent-cyan) !important;
    color: var(--text-primary);
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.btn-terminal-run:hover {
    background: var(--accent-cyan);
    color: #0b0f19;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    transform: translateY(-1px);
}

.card-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    overflow-x: auto;
}

.card-body pre {
    margin: 0;
}

.card-body code {
    color: #e2e8f0;
}

/* Code Syntax Styling */
.keyword { color: #f472b6; }
.variable { color: #60a5fa; }
.string { color: #34d399; }

/* 6. ABOUT SECTION */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.about-text-card {
    padding: 40px;
}

.about-text-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.about-text-card p strong {
    color: var(--text-primary);
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.interest-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}
.interest-tag i {
    color: var(--accent-cyan);
}
.interest-tag:hover {
    border-color: var(--accent-indigo);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.05);
}

.about-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    font-size: 28px;
    color: var(--accent-indigo);
    margin-bottom: 12px;
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}
.stat-card:hover .stat-icon {
    background: var(--accent-indigo);
    color: var(--text-primary);
    transform: rotate(360deg);
}

.stat-card h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

.stat-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 7. EDUCATION TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 8px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--accent-indigo), var(--accent-cyan));
}

.timeline-item {
    position: relative;
    padding: 30px;
    margin-bottom: 30px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 36px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 3px solid var(--accent-indigo);
    z-index: 2;
    transition: var(--transition-fast);
}
.timeline-item:hover .timeline-dot {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.timeline-institution {
    font-size: 14px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-grade {
    font-size: 15px;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 8. PROJECTS GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-normal);
}
.project-card:hover .project-icon-wrapper {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
}

.project-main-icon {
    font-size: 20px;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}
.project-card:hover .project-main-icon {
    color: var(--accent-indigo);
}

.project-meta {
    margin-bottom: 8px;
}

.project-category {
    font-family: var(--font-heading);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-indigo);
    letter-spacing: 1.5px;
}

.project-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.project-domain-link {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--accent-cyan);
}
.project-domain-link a {
    color: var(--accent-cyan);
}
.project-domain-link a:hover {
    text-decoration: underline;
}

.project-platform {
    display: inline-block;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 500;
}

.project-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.project-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-footer {
    width: 100%;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-details-link {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-cyan);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.project-details-link i {
    transition: transform 0.2s ease;
}

.project-details-link:hover {
    color: var(--accent-indigo);
}

.project-details-link:hover i {
    transform: translateX(5px);
}

/* 9. SKILLS & EXTRA CURRICULAR */
.skills-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skills-column, .extra-column {
    padding: 40px;
}

.column-title {
    font-size: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.column-title i {
    color: var(--accent-indigo);
}

/* Skills Badges Grid */
.skills-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-category h5 {
    font-size: 15px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
}
.skill-badge:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--accent-indigo);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Extra-curricular List */
.extra-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.extra-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.extra-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: var(--transition-normal);
}
.extra-list li:hover .extra-icon {
    background: var(--accent-indigo);
    color: var(--text-primary);
    transform: scale(1.1);
}

.extra-content h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.extra-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 10. CONTACT SECTION & DECLARATION */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
}

.contact-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.contact-info h3, .contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-item-text h5 {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-item-text a, .contact-item-text p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
}
.contact-item-text a:hover {
    color: var(--accent-cyan);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition-normal);
}
.social-icon:hover {
    color: var(--text-primary);
    background: var(--accent-indigo);
    border-color: var(--accent-indigo);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    transition: var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-indigo);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.btn-submit {
    align-self: flex-start;
    padding: 14px 32px;
}

.form-status {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}
.form-status.success {
    color: #10b981;
    display: block;
}
.form-status.error {
    color: #ef4444;
    display: block;
}

/* Toast Alert popup */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    font-family: var(--font-heading);
    z-index: 2000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* 11. FOOTER & FORMAL DECLARATION */
.main-footer {
    padding: 60px 0 30px;
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.footer-declaration {
    width: 100%;
    max-width: 800px;
    padding: 24px 32px;
    text-align: center;
}

.declaration-text {
    font-size: 14px;
    font-style: italic;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.declaration-text i {
    color: var(--accent-cyan);
    font-size: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 30px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* Theme Switcher Widget */
.theme-switcher-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1500;
    display: flex;
    align-items: center;
    padding: 6px;
    border-radius: 30px;
    overflow: hidden;
    max-width: 44px;
    height: 44px;
    transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.theme-switcher-widget:hover {
    max-width: 180px;
    border-color: var(--accent-cyan);
}

.theme-widget-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.4s ease;
}
.theme-switcher-widget:hover .theme-widget-toggle {
    transform: rotate(360deg);
    color: var(--accent-cyan);
}

.theme-options {
    display: flex;
    gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.theme-switcher-widget:hover .theme-options {
    opacity: 1;
    pointer-events: auto;
}

.theme-opt-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.theme-opt-btn:hover {
    transform: scale(1.25);
}
.theme-opt-btn.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* 12. RESPONSIVE DESIGN (MEDIA QUERIES) */

/* Large Tablets / Laptops */
@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Tablets / iPad Portrait */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .skills-extra-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Navigation Menu Toggle */
    .mobile-nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #0f1322;
        border-left: 1px solid var(--border-color);
        padding: 100px 40px;
        z-index: 1000;
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 18px;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-dot {
        left: -24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text-card {
        padding: 24px;
    }
    
    .skills-column, .extra-column, .contact-info, .contact-form-wrapper {
        padding: 24px;
    }
    
    .timeline-item {
        padding: 20px;
    }
}

/* 13. ANIMATION REVEALS (ON-SCROLL) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* 14. PROJECT DETAILS & CASE STUDY STYLES */
.project-details-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.back-nav-container {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 20px;
    transition: var(--transition-fast);
}
.back-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent-cyan);
    transform: translateX(-4px);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.project-detail-hero {
    margin-bottom: 50px;
}

.project-detail-hero h1 {
    font-size: 44px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.project-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

.project-main-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.project-main-description h3 {
    font-size: 22px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.project-main-description p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.features-list-styled {
    margin-left: 20px;
    margin-bottom: 10px;
}

.features-list-styled li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 15px;
}
.features-list-styled li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-cyan);
    font-size: 13px;
}

.project-meta-card {
    padding: 30px;
    position: sticky;
    top: 100px;
}

.project-meta-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.meta-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-detail-item .meta-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.meta-detail-item .meta-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.meta-detail-item .meta-value a {
    color: var(--accent-cyan);
    text-decoration: underline;
}
.meta-detail-item .meta-value a:hover {
    color: var(--accent-indigo);
}

.meta-action-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meta-action-links .btn {
    width: 100%;
}

/* Device Mock Frames for Screenshots */
.screenshot-section {
    margin-top: 50px;
    margin-bottom: 50px;
}

.screenshot-section h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

/* Mock Browser Wrapper */
.mock-browser-frame {
    width: 100%;
    background: #0f1322;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.mock-browser-header {
    background: #0b0e1a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-browser-header .dots {
    display: flex;
    gap: 6px;
}

.mock-browser-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #3b4252;
}
.mock-browser-header .dot.r { background-color: #ef4444; }
.mock-browser-header .dot.y { background-color: #f59e0b; }
.mock-browser-header .dot.g { background-color: #10b981; }

.mock-browser-address-bar {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 16px;
    font-size: 12px;
    color: var(--text-secondary);
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mock-browser-address-bar i {
    color: var(--text-muted);
}

.mock-browser-viewport {
    background: #0c0f1d;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

/* Mock Phone Wrapper */
.mock-phone-frame {
    width: 300px;
    height: 560px;
    background: #0b0e1a;
    border: 8px solid #1f2937;
    border-radius: 36px;
    box-shadow: var(--card-shadow);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mock-phone-notch {
    width: 140px;
    height: 20px;
    background: #1f2937;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    margin: 0 auto;
    z-index: 10;
}

.mock-phone-viewport {
    flex-grow: 1;
    background: #0c0f1d;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
}

/* Screenshot Placeholder */
.screenshot-placeholder-graphic {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(6, 182, 212, 0.05));
    border: 2px dashed rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 40px 20px;
}

.screenshot-placeholder-graphic i {
    font-size: 48px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    opacity: 0.8;
}

.screenshot-placeholder-graphic h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.screenshot-placeholder-graphic p {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 280px;
}

/* responsive overrides for project grid details */
@media (max-width: 768px) {
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .project-meta-card {
        position: static;
    }
    .project-detail-hero h1 {
        font-size: 32px;
    }
}

