@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #fff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --card-bg: #fff;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 8px 28px rgba(0,0,0,0.15);
    --card-border-hover: #3498db;    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.5rem;
    --font-size-2xl: 2rem;
    --font-size-3xl: 2.5rem;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 800px 600px at 0% 0%, rgba(102, 126, 234, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 600px 700px at 100% 15%, rgba(118, 75, 162, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 700px 500px at 80% 80%, rgba(240, 147, 251, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse 500px 600px at 10% 90%, rgba(102, 126, 234, 0.15) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }

p {
    margin-bottom: var(--spacing-sm);
}

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

a:hover {
    color: var(--primary-color);
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

section:nth-child(even) {
    background-color: rgba(255,255,255,0.5);
}

section:nth-child(odd) {
    background-color: transparent;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo svg {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #0d2137 45%, #1a3a5c 100%);
    margin-top: 0;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-geo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    text-align: left;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
    text-align: center;
}

.hero-greeting {
    font-size: var(--font-size-lg);
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.1;
}

.hero-photo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons {
    justify-content: center;
}



.profile-photo {
    width: 320px;
    height: 320px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: var(--font-size-3xl);
    color: #ffffff;
    margin-bottom: var(--spacing-sm);
}

.highlight-name {
    color: #ffd700;
    font-weight: 700;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0;
}

.hero-description {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: #ffffff;
    color: #667eea;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.about {
    background-color: var(--bg-color);
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.about p {
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    color: var(--text-light);
    font-size: var(--font-size-lg);
}

.skills {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

.skills h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.skill-category {
    background-color: var(--bg-color);
    padding: var(--spacing-sm);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.skill-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: var(--font-size-sm);
    color: var(--text-color);
    transition: var(--transition);
}

.skill-badge.highlight {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    border-color: var(--secondary-color);
    font-weight: 600;
}

.skill-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.experience h2,
.certifications h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.experience-list,
.cert-list {
    max-width: 800px;
    margin: 0 auto;
}

.experience-item,
.cert-item {
    background-color: var(--bg-color);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.experience-header,
.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.experience-header h3,
.cert-header h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.toggle-btn {
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    padding: 0;
}

.toggle-btn:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

.experience-content,
.cert-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.experience-content.active,
.cert-content.active {
    max-height: 500px;
    margin-top: var(--spacing-sm);
}

.company {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.cert-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition);
}

.cert-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.projects h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--bg-color);
    border-color: var(--secondary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.project-card {
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}

.project-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-content h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.project-role {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.project-description {
    color: var(--text-light);
    margin-bottom: auto;
    padding-bottom: var(--spacing-md);
}

.project-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: auto;
}

.view-gallery-btn {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.view-gallery-btn:hover {
    background-color: var(--primary-color);
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    transition: var(--transition);
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.read-more-btn:hover {
    color: var(--primary-color);
}

.project-details {
    position: absolute;
    inset: 0;
    padding: var(--spacing-md);
    background-color: rgba(255, 255, 255, 0.98);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.project-details.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.project-details-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
}

.details-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.details-close-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}



.section-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: var(--spacing-md);
}
.text-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.08);
    border: 1px solid rgba(52, 152, 219, 0.22);
    font-weight: 700;
}
.text-cta:hover {
    color: #fff;
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.artifacts h2 {
    display: block;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-intro {
    max-width: 820px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
    color: var(--text-light);
}

.artifacts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
}

.artifact-card {
    flex: 1 1 240px;
    max-width: 340px;
    background-color: var(--bg-color);
    padding: var(--spacing-md);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.artifact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--secondary-color);
}

.artifact-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    margin-bottom: var(--spacing-sm);
    border-radius: 999px;
    background: rgba(52, 152, 219, 0.12);
    color: var(--secondary-color);
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.artifact-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.artifact-card p {
    color: var(--text-light);
}

.artifact-link {
    display: inline-block;
    margin-top: var(--spacing-xs);
    font-weight: 700;
}


.case-study {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.case-study h2 {
    display: block;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}
.case-study-card {
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: #fff;
    border: 1px solid rgba(52, 152, 219, 0.16);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
}
.case-study-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto var(--spacing-md);
}
.case-study-header h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}
.case-study-header p {
    color: var(--text-light);
}
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-sm);
}
.case-study-grid div {
    padding: var(--spacing-sm);
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid rgba(52, 152, 219, 0.12);
}
.case-study-grid strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}
.case-study-grid span {
    display: block;
    color: #4d5663;
    font-size: 0.93rem;
    line-height: 1.5;
}
.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin: 0 auto var(--spacing-md);
}
.contact-actions a {
    min-width: 130px;
    text-align: center;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #fff;
    background: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    font-weight: 700;
}
.contact-actions a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.blog h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.blog-card {
    background-color: var(--bg-color);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.blog-card h3 {
    color: var(--primary-color);
}

.blog-date {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

.blog-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.contact {
    background-color: var(--bg-color);
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--accent-color);
}

.error-message {
    display: block;
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    min-height: 20px;
}

.submit-btn {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--secondary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 4px;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

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

.form-status {
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #d4edda;
    color: var(--success-color);
}

.form-status.error {
    display: block;
    background-color: #f8d7da;
    color: var(--accent-color);
}

footer {
    background-color: var(--primary-color);
    color: var(--bg-color);
    text-align: center;
    padding: var(--spacing-md);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-color);
    transform: translateY(-4px);
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Gallery Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-header h3 {
    color: #fff;
    text-align: center;
    margin: 0;
}

.modal-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    z-index: 2001;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: var(--transition);
}

.modal-close:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.modal-nav.prev {
    left: 10px;
}

.modal-nav.next {
    right: 10px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.modal-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.modal-thumbnail:hover {
    opacity: 1;
    border-color: #fff;
}

.modal-thumbnail.active {
    opacity: 1;
    border-color: var(--secondary-color);
}

.project-thumbnail {
    cursor: pointer;
    transition: var(--transition);
}

.project-thumbnail:hover {
    transform: scale(1.05);
}

/* ── Task 1: Section heading accent line ── */
section h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}
section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), #764ba2);
    border-radius: 2px;
}
.about h2, .skills h2, .experience h2, .certifications h2,
.projects h2, .blog h2, .contact h2 {
    display: block;
    text-align: center;
}

/* ── Task 2: Profile photo 190px + glow ring ── */
.profile-photo {
    width: 320px;
    height: 320px;
    border: 4px solid rgba(255,255,255,0.9);
    box-shadow: 0 0 0 8px rgba(255,255,255,0.15), 0 12px 40px rgba(0,0,0,0.35);
    position: relative;
}
.profile-photo::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(#667eea, #f093fb, #ffd700, #667eea);
    animation: spin-glow 3s linear infinite;
    z-index: -1;
}
.profile-photo::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(#667eea, #f093fb, #ffd700, #667eea);
    filter: blur(10px);
    opacity: 0.6;
    animation: spin-glow 3s linear infinite;
    z-index: -2;
}
@keyframes spin-glow {
    to { transform: rotate(360deg); }
}

/* ── Task 3: Skill badge category colors ── */
.skill-category:nth-child(1) .skill-badge.highlight { background-color: #3498db; border-color: #3498db; }
.skill-category:nth-child(2) .skill-badge.highlight { background-color: #9b59b6; border-color: #9b59b6; }
.skill-category:nth-child(3) .skill-badge.highlight { background-color: #e67e22; border-color: #e67e22; }
.skill-category:nth-child(4) .skill-badge.highlight { background-color: #27ae60; border-color: #27ae60; }
.skill-category:nth-child(5) .skill-badge.highlight { background-color: #e74c3c; border-color: #e74c3c; }

/* ── Task 4: Project card category chip ── */
.project-card {
    position: relative;
}
.category-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(52, 152, 219, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
    backdrop-filter: blur(4px);
}

/* ── Task 5: Blog card left-border accent ── */
.blog-card {
    border-left: 4px solid var(--secondary-color);
}
.blog-card:nth-child(2) { border-left-color: #9b59b6; }
.blog-card:nth-child(3) { border-left-color: #e67e22; }
.blog-card:nth-child(4) { border-left-color: #27ae60; }
.blog-card:nth-child(5) { border-left-color: #e74c3c; }

/* ── Task 6: Footer social links ── */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 0.75rem;
}
.footer-social a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Task 7: Form inputs border-radius 8px ── */
.form-group input,
.form-group textarea {
    border-radius: 8px;
}
.submit-btn {
    border-radius: 8px;
}

/* ── Task 8: Nav active dot indicator ── */
.nav-menu a {
    position: relative;
}
.nav-menu a.active {
    background-color: transparent;
    color: var(--secondary-color);
}
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
}
.nav-menu a:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

/* ── Task 9: Hero secondary button ── */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons .cta-button,
.hero-buttons .cta-button-secondary {
    width: 200px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
    box-sizing: border-box;
}
.cta-button-secondary {
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}
.cta-button-secondary:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-2px);
}
.cta-button {
    border-radius: 8px;
}

/* ── Task 11: Back-to-top mobile safe area ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .back-to-top {
        bottom: calc(30px + env(safe-area-inset-bottom));
    }
}

/* ── UX #1: Image skeleton loader ── */
.project-thumbnail {
    background: linear-gradient(90deg, rgba(246,244,242,.045) 25%, rgba(51,179,241,.10) 50%, rgba(246,244,242,.045) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite;
}
.project-thumbnail.loaded {
    animation: none;
    background: none;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── UX #3: Submit button spinner ── */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.submit-btn .spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── UX #4: Scroll progress bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── UX #5: Filter pills scrollable on mobile ── */
@media (max-width: 768px) {
    .project-filters {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .project-filters::-webkit-scrollbar { display: none; }
    .filter-btn {
        width: auto !important;
        flex-shrink: 0;
    }
}

/* ── UX #6: Mobile nav backdrop ── */
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
}
.nav-backdrop.active { display: block; }

/* ── UX #11: Blog external link icon ── */
.blog-link::after {
    content: '↗';
    display: inline-block;
    margin-left: 5px;
    font-size: .85em;
    line-height: 1;
    vertical-align: middle;
}

/* ── UX #12: Textarea character counter ── */
.char-counter {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}
.char-counter.near-limit { color: #e67e22; }
.char-counter.at-limit { color: var(--accent-color); }

/* ══════════════════════════════════════
   CARD LAYOUT IMPROVEMENTS
══════════════════════════════════════ */

/* #4: Image height 220px + gradient overlay */
.project-card {
    border: 1px solid transparent;
    box-shadow: var(--card-shadow);
    background-color: var(--card-bg);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--card-border-hover);
}
.project-card .project-thumbnail,
.project-card img.project-thumbnail {
    height: 220px;
    object-fit: cover;
}
.project-card .img-wrap {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.project-card .img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
    pointer-events: none;
}

/* #5: Role as pill badge */
.project-role {
    display: inline-block;
    background-color: rgba(52,152,219,0.12);
    color: var(--secondary-color);
    border: 1px solid rgba(52,152,219,0.3);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

/* #6: Unified button system */
.view-gallery-btn {
    border-radius: 8px;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
}
.read-more-btn {
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-size: 0.875rem;
    background: transparent;
}
.read-more-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* #7: Filter pills consistent radius */
.filter-btn {
    border-radius: 8px;
    font-size: 0.875rem;
}

/* #8: Blog card category tag + spacing */
.blog-card {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.blog-tag {
    display: inline-block;
    background-color: rgba(52,152,219,0.12);
    color: var(--secondary-color);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}
.blog-card h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.35rem;
}
.blog-card .blog-date {
    margin-bottom: 0.6rem;
}
.blog-card .blog-excerpt {
    flex-grow: 1;
    margin-bottom: 0.75rem;
}
.blog-card .blog-link {
    margin-top: auto;
    align-self: flex-start;
}

/* #9: Card hover border already handled via --card-border-hover above */


/* QA portfolio evidence improvements */
.impact-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin: 0.25rem 0 1rem;
}
.impact-strip span {
    color: #fff;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.86rem;
    backdrop-filter: blur(8px);
}
.qa-proof-grid {
    max-width: 1000px;
    margin: var(--spacing-md) auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-sm);
}
.qa-proof-grid div {
    background: #fff;
    border: 1px solid rgba(52, 152, 219, 0.18);
    border-radius: 12px;
    padding: var(--spacing-sm);
    box-shadow: var(--card-shadow);
}
.qa-proof-grid strong { display:block; color: var(--primary-color); margin-bottom: 0.35rem; }
.qa-proof-grid span { display:block; color: #4d5663; font-size: 0.92rem; line-height: 1.45; }
.experience-header { align-items: flex-start; gap: var(--spacing-sm); }
.experience-meta { color: var(--secondary-color); font-weight: 600; margin-bottom: 0.4rem; }
.experience-snapshot { margin: 0.25rem 0 0 1.2rem; color: #4d5663; font-size: 0.94rem; }
.experience-snapshot li { margin-bottom: 0.25rem; }
.qa-evidence-list {
    margin: 0 0 var(--spacing-sm) 1rem;
    color: #4d5663;
    font-size: 0.9rem;
    line-height: 1.45;
}
.qa-evidence-list li { margin-bottom: 0.35rem; }
.contact-note {
    max-width: 680px;
    margin: 0 auto var(--spacing-md);
    text-align: center;
    color: #4d5663;
}
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.modal-close {
    font-family: inherit;
}
@media (max-width: 768px) {
    .impact-strip { justify-content: center; }
    .experience-header { align-items: flex-start; }
    .experience-snapshot { font-size: 0.88rem; }
}

/* ══════════════════════════════════════
   Anime.js-inspired motion + dark stage polish
   Dark sparse canvas, colorful accent cards, staged scroll reveals,
   and fast micro-interactions inspired by animejs.com.
══════════════════════════════════════ */
:root {
    --anime-bg-1: #252423;
    --anime-bg-2: #2a2928;
    --anime-bg-3: #302f2d;
    --anime-fg-1: #f6f4f2;
    --anime-fg-2: #d5d3d1;
    --anime-fg-3: #9a9691;
    --anime-line: rgba(246, 244, 242, 0.11);
    --anime-red: #ff4b4b;
    --anime-orange: #ffa828;
    --anime-yellow: #ffcc2a;
    --anime-lime: #b7ff54;
    --anime-green: #8dff55;
    --anime-turquoise: #00ffaa;
    --anime-cyan: #26f2d5;
    --anime-sky: #33b3f1;
    --anime-indigo: #7c85ff;
    --anime-purple: #c06ddf;
    --anime-ease-out: cubic-bezier(.22, 1, .36, 1);
    --anime-pop: cubic-bezier(.16, 1, .3, 1);
    --bg-color: var(--anime-bg-1);
    --bg-light: var(--anime-bg-2);
    --card-bg: var(--anime-bg-2);
    --text-color: var(--anime-fg-1);
    --text-light: var(--anime-fg-3);
    --border-color: var(--anime-line);
    --primary-color: var(--anime-fg-1);
    --secondary-color: var(--anime-sky);
    --card-shadow: 0 1px 0 rgba(255,255,255,.04), 0 18px 48px rgba(0,0,0,.22);
    --card-shadow-hover: 0 1px 0 rgba(255,255,255,.08), 0 24px 68px rgba(0,0,0,.38);
    --transition: color .12s ease-out, background-color .12s ease-out, border-color .12s ease-out, box-shadow .35s var(--anime-ease-out), transform .35s var(--anime-ease-out), opacity .35s var(--anime-ease-out);
}

html { background: var(--anime-bg-1); }
body {
    color: var(--anime-fg-1);
    background:
        radial-gradient(900px 600px at 4% 2%, rgba(51,179,241,.11), transparent 60%),
        radial-gradient(720px 560px at 96% 10%, rgba(192,109,223,.08), transparent 60%),
        var(--anime-bg-1);
}
body::before {
    background:
        linear-gradient(rgba(246,244,242,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246,244,242,.025) 1px, transparent 1px),
        radial-gradient(ellipse 900px 700px at 0% 0%, rgba(51,179,241,.14) 0%, transparent 55%),
        radial-gradient(ellipse 760px 680px at 100% 8%, rgba(124,133,255,.11) 0%, transparent 55%),
        radial-gradient(ellipse 700px 600px at 80% 82%, rgba(0,255,170,.07) 0%, transparent 55%);
    background-size: 56px 56px, 56px 56px, auto, auto, auto;
    opacity: .95;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D'1440'%20height%3D'1800'%20viewBox%3D'0%200%201440%201800'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%3Cg%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%0A%20%20%20%20%3Crect%20x%3D'950'%20y%3D'80'%20width%3D'180'%20height%3D'180'%20rx%3D'4'%20stroke%3D'rgba(102,126,234,.30)'%20stroke-width%3D'2.5'%20transform%3D'rotate(20%201040%20170)'%2F%3E%0A%20%20%20%20%3Crect%20x%3D'980'%20y%3D'110'%20width%3D'110'%20height%3D'110'%20rx%3D'2'%20fill%3D'rgba(102,126,234,.10)'%20stroke%3D'rgba(56,189,248,.28)'%20stroke-width%3D'1.5'%20transform%3D'rotate(20%201035%20165)'%2F%3E%0A%20%20%20%20%3Cpolygon%20points%3D'1180,135%201230,135%201255,178%201230,221%201180,221%201155,178'%20fill%3D'rgba(56,189,248,.06)'%20stroke%3D'rgba(56,189,248,.30)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'120'%20fill%3D'rgba(102,126,234,.08)'%20stroke%3D'rgba(102,126,234,.24)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'70'%20stroke%3D'rgba(102,126,234,.18)'%20stroke-width%3D'1'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'150'%20stroke%3D'rgba(56,189,248,.24)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'90'%20fill%3D'rgba(56,189,248,.06)'%20stroke%3D'rgba(56,189,248,.18)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Cline%20x1%3D'-50'%20y1%3D'950'%20x2%3D'800'%20y2%3D'-50'%20stroke%3D'rgba(102,126,234,.13)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Cline%20x1%3D'1490'%20y1%3D'-50'%20x2%3D'650'%20y2%3D'950'%20stroke%3D'rgba(56,189,248,.13)'%20stroke-width%3D'1.5'%2F%3E%0A%0A%20%20%20%20%3Cg%20transform%3D'translate(0%20900)%20scale(-1%201)%20translate(-1440%200)'%3E%0A%20%20%20%20%20%20%3Crect%20x%3D'950'%20y%3D'80'%20width%3D'180'%20height%3D'180'%20rx%3D'4'%20stroke%3D'rgba(102,126,234,.24)'%20stroke-width%3D'2.5'%20transform%3D'rotate(20%201040%20170)'%2F%3E%0A%20%20%20%20%20%20%3Crect%20x%3D'980'%20y%3D'110'%20width%3D'110'%20height%3D'110'%20rx%3D'2'%20fill%3D'rgba(102,126,234,.075)'%20stroke%3D'rgba(56,189,248,.22)'%20stroke-width%3D'1.5'%20transform%3D'rotate(20%201035%20165)'%2F%3E%0A%20%20%20%20%20%20%3Cpolygon%20points%3D'1180,135%201230,135%201255,178%201230,221%201180,221%201155,178'%20fill%3D'rgba(56,189,248,.045)'%20stroke%3D'rgba(56,189,248,.24)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'120'%20fill%3D'rgba(102,126,234,.065)'%20stroke%3D'rgba(102,126,234,.20)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'70'%20stroke%3D'rgba(102,126,234,.15)'%20stroke-width%3D'1'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'150'%20stroke%3D'rgba(56,189,248,.20)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'90'%20fill%3D'rgba(56,189,248,.045)'%20stroke%3D'rgba(56,189,248,.16)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Cline%20x1%3D'-50'%20y1%3D'950'%20x2%3D'800'%20y2%3D'-50'%20stroke%3D'rgba(102,126,234,.11)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Cline%20x1%3D'1490'%20y1%3D'-50'%20x2%3D'650'%20y2%3D'950'%20stroke%3D'rgba(56,189,248,.11)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E");
    background-repeat: repeat-y;
    background-size: min(1440px, 118vw) auto;
    background-position: top center;
    opacity: .56;
    animation: animeShapeDrift 24s var(--anime-ease-out) infinite alternate;
}
@keyframes animeShapeDrift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -24px, 0); }
}

section,
section:nth-child(even),
section:nth-child(odd),
.about,
.contact,
.case-study {
    background: transparent;
}

section:not(.hero) {
    padding-top: clamp(4rem, 9vw, 7.5rem);
    padding-bottom: clamp(4rem, 9vw, 7.5rem);
}

header {
    background: rgba(37,36,35,.86);
    border-bottom: 1px solid var(--anime-line);
    box-shadow: none;
}
.logo,
.nav-menu a,
.menu-toggle span { color: var(--anime-fg-1); }
.menu-toggle span { background-color: var(--anime-fg-1); }
.logo svg rect { fill: var(--anime-bg-2); }
.logo svg { filter: drop-shadow(0 0 18px rgba(51,179,241,.35)); }
.nav-menu a {
    border-radius: 7px;
    color: var(--anime-fg-2);
    transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--anime-sky);
    background: rgba(51,179,241,.10);
}
.nav-menu a.active::after { background: currentColor; }

.hero {
    background:
        radial-gradient(circle at 20% 15%, rgba(51,179,241,.16), transparent 34%),
        radial-gradient(circle at 78% 25%, rgba(192,109,223,.12), transparent 36%),
        linear-gradient(135deg, #252423 0%, #24282a 52%, #252423 100%);
}
.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246,244,242,.2), transparent);
}
.hero-geo {
    opacity: .78;
    animation: anime-stage-drift 18s var(--anime-ease-out) infinite alternate;
    transform-origin: center;
}
@keyframes anime-stage-drift {
    from { transform: translate3d(-1.2%, -.8%, 0) scale(1.02); }
    to { transform: translate3d(1.2%, .8%, 0) scale(1.06); }
}
.hero-greeting {
    color: var(--anime-cyan);
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-size: .82rem;
}
.highlight-name {
    color: var(--anime-yellow);
    text-shadow: 0 0 22px rgba(255,204,42,.22);
}
.hero-subtitle { color: var(--anime-fg-1); }
.hero-description { color: var(--anime-fg-2); }
.impact-strip span {
    background: rgba(246,244,242,.06);
    border-color: var(--anime-line);
    color: var(--anime-fg-2);
    transition: var(--transition);
}
.impact-strip span:hover {
    color: var(--anime-turquoise);
    background: rgba(0,255,170,.09);
    border-color: rgba(0,255,170,.28);
    transform: translateY(-2px);
}
.profile-photo {
    border-color: rgba(246,244,242,.72);
    box-shadow: 0 0 0 8px rgba(246,244,242,.06), 0 22px 70px rgba(0,0,0,.42);
}
.profile-photo::before,
.profile-photo::after {
    background: conic-gradient(var(--anime-red), var(--anime-yellow), var(--anime-turquoise), var(--anime-sky), var(--anime-purple), var(--anime-red));
    animation-duration: 7s;
}

section h2,
.about h2,
.skills h2,
.experience h2,
.certifications h2,
.projects h2,
.blog h2,
.contact h2,
.artifacts h2,
.case-study h2 {
    color: var(--anime-fg-1);
    letter-spacing: -.03em;
}
section h2::after {
    width: 64px;
    background: linear-gradient(90deg, var(--anime-red), var(--anime-yellow), var(--anime-turquoise), var(--anime-sky));
}
.about p,
.section-intro,
.contact-note,
.blog-excerpt,
.blog-date,
.project-description,
.qa-evidence-list,
.experience-snapshot,
.case-study-grid span,
.qa-proof-grid span,
.artifact-card p,
.case-study-header p { color: var(--anime-fg-2); }

.skill-category,
.experience-item,
.cert-item,
.project-card,
.blog-card,
.artifact-card,
.case-study-card,
.qa-proof-grid div,
.case-study-grid div {
    background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015)), var(--anime-bg-2);
    border: 1px solid var(--anime-line);
    box-shadow: var(--card-shadow);
    color: var(--anime-fg-1);
}
.skill-category h3,
.experience-header h3,
.cert-header h3,
.project-content h3,
.artifact-card h3,
.case-study-header h3,
.case-study-grid strong,
.qa-proof-grid strong,
.blog-card h3 { color: var(--anime-fg-1); }

.skill-category,
.project-card,
.blog-card,
.artifact-card,
.qa-proof-grid div,
.case-study-grid div,
.experience-item,
.cert-item {
    --card-accent: var(--anime-sky);
    position: relative;
}
.skill-category::before,
.project-card::before,
.blog-card::before,
.artifact-card::before,
.qa-proof-grid div::before,
.case-study-grid div::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: inherit;
    background: var(--card-accent);
    opacity: .82;
}
.project-card::before { z-index: 2; }
.skill-category:nth-child(1), .artifact-card:nth-child(1), .project-card:nth-child(1), .blog-card:nth-child(1), .qa-proof-grid div:nth-child(1), .case-study-grid div:nth-child(1) { --card-accent: var(--anime-red); }
.skill-category:nth-child(2), .artifact-card:nth-child(2), .project-card:nth-child(2), .blog-card:nth-child(2), .qa-proof-grid div:nth-child(2), .case-study-grid div:nth-child(2) { --card-accent: var(--anime-orange); }
.skill-category:nth-child(3), .artifact-card:nth-child(3), .project-card:nth-child(3), .blog-card:nth-child(3), .qa-proof-grid div:nth-child(3), .case-study-grid div:nth-child(3) { --card-accent: var(--anime-yellow); }
.skill-category:nth-child(4), .artifact-card:nth-child(4), .project-card:nth-child(4), .blog-card:nth-child(4), .qa-proof-grid div:nth-child(4), .case-study-grid div:nth-child(4) { --card-accent: var(--anime-turquoise); }
.skill-category:nth-child(5), .artifact-card:nth-child(5), .project-card:nth-child(5), .blog-card:nth-child(5), .case-study-grid div:nth-child(5) { --card-accent: var(--anime-sky); }
.project-card:nth-child(6), .case-study-grid div:nth-child(6) { --card-accent: var(--anime-indigo); }
.project-card:nth-child(7) { --card-accent: var(--anime-purple); }
.project-card:nth-child(8) { --card-accent: var(--anime-lime); }
.project-card:nth-child(9) { --card-accent: var(--anime-cyan); }

.project-card:hover,
.blog-card:hover,
.artifact-card:hover,
.skill-category:hover,
.qa-proof-grid div:hover,
.case-study-grid div:hover {
    border-color: color-mix(in srgb, var(--card-accent) 62%, transparent);
    box-shadow: var(--card-shadow-hover), 0 0 0 1px color-mix(in srgb, var(--card-accent) 26%, transparent);
    transform: translateY(-6px);
}

.artifact-tag,
.category-chip,
.blog-tag,
.project-role,
.skill-badge.highlight {
    color: var(--card-accent, var(--anime-sky));
    background: color-mix(in srgb, var(--card-accent, var(--anime-sky)) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--card-accent, var(--anime-sky)) 30%, transparent);
}
.category-chip { color: #141414; }
.skill-category:nth-child(1) .skill-badge.highlight,
.skill-category:nth-child(2) .skill-badge.highlight,
.skill-category:nth-child(3) .skill-badge.highlight,
.skill-category:nth-child(4) .skill-badge.highlight,
.skill-category:nth-child(5) .skill-badge.highlight {
    background: color-mix(in srgb, var(--card-accent) 18%, transparent);
    border-color: color-mix(in srgb, var(--card-accent) 34%, transparent);
    color: var(--card-accent);
}

.cta-button,
.cta-button-secondary,
.text-cta,
.contact-actions a,
.submit-btn,
.view-gallery-btn,
.read-more-btn,
.filter-btn,
.cert-link,
.blog-link,
.artifact-link {
    transition: var(--transition);
}
.cta-button,
.view-gallery-btn,
.submit-btn,
.contact-actions a,
.filter-btn.active {
    background: var(--anime-sky);
    border-color: var(--anime-sky);
    color: #121212;
    box-shadow: 0 10px 30px rgba(51,179,241,.22);
}
.cta-button-secondary,
.read-more-btn,
.filter-btn,
.text-cta {
    color: var(--anime-fg-2);
    border-color: var(--anime-line);
    background: rgba(246,244,242,.045);
}
.cta-button:hover,
.cta-button-secondary:hover,
.text-cta:hover,
.contact-actions a:hover,
.submit-btn:hover,
.view-gallery-btn:hover,
.read-more-btn:hover,
.filter-btn:hover,
.filter-btn.active:hover {
    transform: translateY(-2px);
    background: var(--anime-turquoise);
    border-color: var(--anime-turquoise);
    color: #111;
    box-shadow: 0 14px 38px rgba(0,255,170,.20);
}
.cta-button:active,
.cta-button-secondary:active,
.text-cta:active,
.contact-actions a:active,
.submit-btn:active,
.view-gallery-btn:active,
.read-more-btn:active,
.filter-btn:active,
.artifact-link:active,
.blog-link:active { transform: scale(.995); }

.artifact-link,
.blog-link,
.cert-link {
    color: var(--card-accent, var(--anime-sky));
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.artifact-link:hover,
.blog-link:hover,
.cert-link:hover {
    color: var(--anime-turquoise);
    transform: translateX(.125rem);
}

.project-details {
    background: rgba(37,36,35,.98);
    color: var(--anime-fg-2);
    border-left: 3px solid var(--card-accent, var(--anime-sky));
}
.project-details p,
.project-details p[style] { color: var(--anime-fg-2) !important; border-top-color: var(--anime-line) !important; }
.details-close-btn,
.modal-close,
.back-to-top,
.toggle-btn {
    background: rgba(246,244,242,.06);
    border-color: var(--anime-line);
    color: var(--anime-fg-1);
}
.details-close-btn:hover,
.modal-close:hover,
.back-to-top:hover,
.toggle-btn:hover {
    background: var(--anime-sky);
    color: #111;
}
.experience-content,
.cert-content { color: var(--anime-fg-2); }
.company,
.experience-meta { color: var(--anime-cyan); }

.form-group input,
.form-group textarea {
    color: var(--anime-fg-1);
    background: var(--anime-bg-2);
    border-color: var(--anime-line);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--anime-turquoise);
    box-shadow: 0 0 0 3px rgba(0,255,170,.10);
}

/* Footer polish: compact Anime.js-inspired closing band */
footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 0%, rgba(255,75,75,.16), transparent 32%),
        radial-gradient(circle at 84% 12%, rgba(51,179,241,.16), transparent 34%),
        linear-gradient(180deg, rgba(12,12,13,.98), rgba(3,3,4,1));
    color: var(--anime-fg-2);
    border-top: 1px solid var(--anime-line);
    padding: clamp(1.15rem, 2.8vw, 2rem) 0;
    text-align: center;
}
footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(246,244,242,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(246,244,242,.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%);
}
footer .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    margin-bottom: 0;
}
.footer-social a {
    min-height: 36px;
    padding: .5rem .78rem;
    border: 1px solid var(--anime-line);
    border-radius: 999px;
    background: rgba(246,244,242,.045);
    color: var(--anime-fg-2);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: var(--transition);
}
.footer-social a:nth-child(1) { --footer-accent: var(--anime-turquoise); }
.footer-social a:nth-child(2) { --footer-accent: var(--anime-sky); }
.footer-social a:nth-child(3) { --footer-accent: var(--anime-purple); }
.footer-social a:nth-child(4) { --footer-accent: var(--anime-yellow); }
.footer-social a:hover,
.footer-social a:focus-visible {
    color: #111;
    background: var(--footer-accent, var(--anime-sky));
    border-color: var(--footer-accent, var(--anime-sky));
    box-shadow: 0 14px 34px color-mix(in srgb, var(--footer-accent, var(--anime-sky)) 22%, transparent);
    transform: translateY(-2px);
}
.footer-social a:active { transform: scale(.98); }
.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex: 0 0 auto;
}
footer p {
    max-width: 720px;
    margin: 0;
    color: var(--anime-fg-2);
    font-size: .82rem;
    letter-spacing: .01em;
}
footer p::before {
    content: 'QA evidence • Automation • API • Performance';
    display: block;
    margin-bottom: .28rem;
    color: var(--anime-cyan);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.modal-thumbnail { background: var(--anime-bg-2); }

@media (max-width: 520px) {
    footer { padding: 1.25rem 0; }
    .footer-social { gap: .55rem; }
    .footer-social a {
        flex: 1 1 calc(50% - .55rem);
        justify-content: center;
        min-width: 135px;
        padding-inline: .75rem;
    }
}


main::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D'1440'%20height%3D'1800'%20viewBox%3D'0%200%201440%201800'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%3E%0A%20%20%3Cg%20fill%3D'none'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%3E%0A%20%20%20%20%3Crect%20x%3D'950'%20y%3D'80'%20width%3D'180'%20height%3D'180'%20rx%3D'4'%20stroke%3D'rgba(102,126,234,.30)'%20stroke-width%3D'2.5'%20transform%3D'rotate(20%201040%20170)'%2F%3E%0A%20%20%20%20%3Crect%20x%3D'980'%20y%3D'110'%20width%3D'110'%20height%3D'110'%20rx%3D'2'%20fill%3D'rgba(102,126,234,.10)'%20stroke%3D'rgba(56,189,248,.28)'%20stroke-width%3D'1.5'%20transform%3D'rotate(20%201035%20165)'%2F%3E%0A%20%20%20%20%3Cpolygon%20points%3D'1180,135%201230,135%201255,178%201230,221%201180,221%201155,178'%20fill%3D'rgba(56,189,248,.06)'%20stroke%3D'rgba(56,189,248,.30)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'120'%20fill%3D'rgba(102,126,234,.08)'%20stroke%3D'rgba(102,126,234,.24)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'70'%20stroke%3D'rgba(102,126,234,.18)'%20stroke-width%3D'1'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'150'%20stroke%3D'rgba(56,189,248,.24)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'90'%20fill%3D'rgba(56,189,248,.06)'%20stroke%3D'rgba(56,189,248,.18)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Cline%20x1%3D'-50'%20y1%3D'950'%20x2%3D'800'%20y2%3D'-50'%20stroke%3D'rgba(102,126,234,.13)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3Cline%20x1%3D'1490'%20y1%3D'-50'%20x2%3D'650'%20y2%3D'950'%20stroke%3D'rgba(56,189,248,.13)'%20stroke-width%3D'1.5'%2F%3E%0A%0A%20%20%20%20%3Cg%20transform%3D'translate(0%20900)%20scale(-1%201)%20translate(-1440%200)'%3E%0A%20%20%20%20%20%20%3Crect%20x%3D'950'%20y%3D'80'%20width%3D'180'%20height%3D'180'%20rx%3D'4'%20stroke%3D'rgba(102,126,234,.24)'%20stroke-width%3D'2.5'%20transform%3D'rotate(20%201040%20170)'%2F%3E%0A%20%20%20%20%20%20%3Crect%20x%3D'980'%20y%3D'110'%20width%3D'110'%20height%3D'110'%20rx%3D'2'%20fill%3D'rgba(102,126,234,.075)'%20stroke%3D'rgba(56,189,248,.22)'%20stroke-width%3D'1.5'%20transform%3D'rotate(20%201035%20165)'%2F%3E%0A%20%20%20%20%20%20%3Cpolygon%20points%3D'1180,135%201230,135%201255,178%201230,221%201180,221%201155,178'%20fill%3D'rgba(56,189,248,.045)'%20stroke%3D'rgba(56,189,248,.24)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'120'%20fill%3D'rgba(102,126,234,.065)'%20stroke%3D'rgba(102,126,234,.20)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'216'%20cy%3D'180'%20r%3D'70'%20stroke%3D'rgba(102,126,234,.15)'%20stroke-width%3D'1'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'150'%20stroke%3D'rgba(56,189,248,.20)'%20stroke-width%3D'2'%2F%3E%0A%20%20%20%20%20%20%3Ccircle%20cx%3D'1267'%20cy%3D'702'%20r%3D'90'%20fill%3D'rgba(56,189,248,.045)'%20stroke%3D'rgba(56,189,248,.16)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Cline%20x1%3D'-50'%20y1%3D'950'%20x2%3D'800'%20y2%3D'-50'%20stroke%3D'rgba(102,126,234,.11)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%20%20%3Cline%20x1%3D'1490'%20y1%3D'-50'%20x2%3D'650'%20y2%3D'950'%20stroke%3D'rgba(56,189,248,.11)'%20stroke-width%3D'1.5'%2F%3E%0A%20%20%20%20%3C%2Fg%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E");
    background-repeat: repeat-y;
    background-size: min(1440px, 118vw) auto;
    background-position: center 520px;
    opacity: .72;
}

main { position: relative; isolation: isolate; }
main > section { position: relative; z-index: 1; }

