/* ==========================================================================
   Design System & Variables
   ========================================================================== */

:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Constants */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --navbar-height: 80px;

    /* Theme Colors: Dark Mode (Default) */
    --bg-primary: hsl(222, 47%, 11%);
    --bg-secondary: hsl(224, 71%, 4%);
    --accent-color: hsl(190, 90%, 50%); /* Cyan */
    --accent-glow: hsla(190, 90%, 50%, 0.15);
    --secondary-accent: hsl(150, 80%, 40%); /* Emerald */
    --text-primary: hsl(210, 40%, 98%);
    --text-muted: hsl(215, 20%, 65%);
    --border-color: hsla(217, 30%, 20%, 0.6);
    --card-bg: hsla(222, 47%, 6%, 0.6);
    --card-hover-bg: hsla(222, 47%, 9%, 0.8);
    --nav-bg: hsla(222, 47%, 11%, 0.75);
    --input-bg: hsla(222, 47%, 4%, 0.7);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
}

/* Theme Colors: Light Mode Override */
body.light-theme {
    --bg-primary: hsl(210, 30%, 97%);
    --bg-secondary: hsl(0, 0%, 100%);
    --accent-color: hsl(201, 96%, 32%); /* Rich Deep Blue */
    --accent-glow: hsla(201, 96%, 32%, 0.08);
    --secondary-accent: hsl(162, 94%, 30%); /* Forest Teal */
    --text-primary: hsl(222, 47%, 11%);
    --text-muted: hsl(215, 16%, 40%);
    --border-color: hsla(214, 32%, 91%, 0.8);
    --card-bg: hsla(0, 0%, 100%, 0.7);
    --card-hover-bg: hsla(0, 0%, 100%, 0.95);
    --nav-bg: hsla(210, 30%, 97%, 0.85);
    --input-bg: hsl(0, 0%, 98%);
    
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px -12px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   CSS Reset
   ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

img, svg {
    max-width: 100%;
    display: block;
}

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

button, input, textarea {
    font: inherit;
    background: none;
    border: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--border-radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* ==========================================================================
   Global Utilities & Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header.align-left {
    text-align: left;
}
.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    display: inline-block;
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}
.section-underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
    margin: 16px auto 0 auto;
    border-radius: 2px;
}
.section-header.align-left .section-underline {
    margin-left: 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-accent) 100%);
    color: hsl(222, 47%, 11%) !important;
    box-shadow: 0 4px 20px -5px var(--accent-color);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px var(--accent-color);
}

.btn-secondary {
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover {
    border-color: var(--accent-color);
    background-color: var(--accent-glow);
    transform: translateY(-2px);
}

/* Glassmorphism Common Style */
.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    background-color: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}
.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
    padding: 8px 0;
}
.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-color), var(--secondary-accent));
    transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta-btn {
    padding: 8px 20px;
    border: 1px solid var(--accent-color);
    border-radius: var(--border-radius-sm);
    color: var(--accent-color);
    transition: all var(--transition-fast);
}
.nav-cta-btn::after {
    display: none;
}
.nav-cta-btn:hover {
    background-color: var(--accent-color);
    color: hsl(222, 47%, 11%) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}
.theme-toggle:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background-color: var(--accent-glow);
}
.theme-icon {
    width: 20px;
    height: 20px;
}
.theme-icon.hidden {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1001;
}
.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--navbar-height) + 40px);
    background-color: var(--bg-secondary);
}

.hero-bg-blur {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    padding: 6px 14px;
    background-color: var(--accent-glow);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    animation: pulseGlow 2s infinite alternate;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 24px;
    height: 50px;
}

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

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

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    width: 100%;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-color);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.avatar-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
}

.avatar-svg {
    width: 100%;
    height: 100%;
}

/* Animated Elements */
.rotating-ring {
    transform-origin: center;
    animation: rotateRing 30s linear infinite;
}
.orbital-node {
    transform-origin: center;
    animation: orbitNode 12s linear infinite;
}

.tech-tag {
    position: absolute;
    padding: 6px 14px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    animation: floatTag 6s ease-in-out infinite;
}

.tag-dotnet {
    top: 10%;
    left: -10%;
    border-color: #512bd4;
    color: #512bd4;
    animation-delay: 0s;
}
.tag-sql {
    bottom: 15%;
    left: -15%;
    border-color: #f29111;
    color: #f29111;
    animation-delay: 1.5s;
}
.tag-cloud {
    top: 20%;
    right: -10%;
    border-color: #0078d4;
    color: #0078d4;
    animation-delay: 3s;
}
.tag-agile {
    bottom: 10%;
    right: -10%;
    border-color: var(--secondary-accent);
    color: var(--secondary-accent);
    animation-delay: 4.5s;
}

/* ==========================================================================
   About Section
   ========================================================================== */

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

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.highlight-card {
    display: flex;
    gap: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: all var(--transition-fast);
}
.highlight-card:hover {
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
    transform: translateX(6px);
}
.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--accent-glow);
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}
.highlight-icon svg {
    width: 24px;
    height: 24px;
}
.highlight-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}
.highlight-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   Skills Section
   ========================================================================== */

.skills-section {
    background-color: var(--bg-secondary);
}

.skills-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}
.filter-btn:hover, .filter-btn.active {
    color: var(--bg-primary);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.skill-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: all var(--transition-normal);
    opacity: 1;
    transform: scale(1);
    display: flex;
    flex-direction: column;
}

.skill-card.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.skill-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-glow);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}
.skill-icon svg {
    width: 20px;
    height: 20px;
}
.skill-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}
.skill-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tech-badge {
    font-size: 0.7rem;
    background-color: var(--border-color);
    color: var(--text-primary);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: auto;
}

.skill-level-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}
.skill-level-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--skill-level, 0%); /* Animated in script.js */
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-accent));
    border-radius: 2px;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
}

/* ==========================================================================
   Experience Section
   ========================================================================== */

.experience-section {
    background-color: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}
.timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 31px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color), var(--secondary-accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
}

.timeline-dot {
    position: absolute;
    left: 20px;
    top: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 4px solid var(--accent-color);
    z-index: 2;
    box-shadow: 0 0 10px var(--accent-color);
    transition: transform var(--transition-fast);
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    border-color: var(--secondary-accent);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.timeline-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}
.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.timeline-company {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-accent);
    margin-bottom: 16px;
}
.timeline-role-desc {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 16px;
}
.timeline-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.timeline-bullets li {
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}
.timeline-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Projects Section
   ========================================================================== */

.projects-section {
    background-color: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.project-img {
    height: 140px;
    background: linear-gradient(135deg, hsl(222, 47%, 8%) 0%, hsl(222, 47%, 4%) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.project-icon-art {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background-color: var(--accent-glow);
    border: 1px dashed var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}
.project-icon-art svg {
    width: 32px;
    height: 32px;
}

.project-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.project-status {
    color: var(--secondary-accent);
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.project-info p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.project-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--border-color);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 4px;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
}

/* ==========================================================================
   Education & Certifications Section
   ========================================================================== */

.education-section {
    background-color: var(--bg-primary);
}

.edu-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 992px) {
    .edu-layout-wrapper {
        grid-template-columns: 0.8fr 1.2fr;
    }
}

.edu-col-wrapper, .cert-col-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.edu-card {
    display: flex;
    gap: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 24px;
    transition: all var(--transition-fast);
}
.edu-card:hover {
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
    transform: translateY(-2px);
}
.edu-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    background-color: var(--accent-glow);
    border: 1px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    flex-shrink: 0;
}
.edu-icon svg {
    width: 24px;
    height: 24px;
}
.edu-details h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.edu-inst {
    font-size: 0.95rem;
    color: var(--secondary-accent);
    margin-bottom: 8px;
}
.edu-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.certifications-timeline-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-timeline-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    position: relative;
    transition: all var(--transition-normal);
}
.cert-timeline-card:hover {
    border-color: var(--accent-color);
    border-left-color: var(--secondary-accent);
    background-color: var(--card-hover-bg);
    transform: translateX(4px);
}
.cert-meta-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    background-color: var(--accent-glow);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
}
.cert-body h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    padding-right: 60px; /* Space for year tag */
}
.cert-org {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-accent);
    margin-bottom: 8px;
}
.cert-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}
.cert-id {
    display: inline-block;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: var(--input-bg);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.contact-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}
.contact-link-item:hover {
    border-color: var(--accent-color);
    background-color: var(--card-hover-bg);
    transform: translateX(4px);
}
.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}
.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-form-wrapper {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    backdrop-filter: blur(12px);
}

.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: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-group textarea {
    height: 140px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
}

.form-feedback {
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    text-align: center;
}
.form-feedback.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid #10b981;
}
.form-feedback.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: var(--bg-secondary);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes orbitNode {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatTag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px var(--accent-glow);
    }
    100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    }
}

/* ==========================================================================
   Media Queries & Responsiveness
   ========================================================================== */

@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .hero-content {
        align-items: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .edu-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transition: left var(--transition-normal);
        border-top: 1px solid var(--border-color);
        backdrop-filter: none;
    }
    .nav-menu.open {
        left: 0;
    }
    .mobile-toggle {
        display: flex;
    }
    /* Mobile nav animation */
    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .timeline::after {
        left: 21px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-dot {
        left: 10px;
    }

}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.5rem;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .skills-filters {
        flex-direction: column;
        width: 100%;
    }
    .filter-btn {
        width: 100%;
        text-align: center;
    }
    .timeline-content {
        padding: 20px;
    }
    .contact-form-wrapper {
        padding: 24px;
    }
}
