:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #0ea5e9;
    --accent: #f43f5e;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f1f5f9;

    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shine: rgba(255, 255, 255, 0.03);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* Offset for fixed header */
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.25;
}

body::before {
    top: -100px;
    right: -100px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

body::after {
    bottom: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-switcher button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-switcher button.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: white;
}

/* Sections */
main {
    margin-top: 80px;
}

.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 90vh;
    /* Make each section take up significant space */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to right, white, var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: -2rem auto 4rem;
    font-size: 1.1rem;
}

/* Hero */
.section-hero {
    min-height: calc(100vh - 80px);
    text-align: center;
    padding-top: 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, white 0%, var(--primary-light) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Profile Photo */
.hero-profile {
    margin-bottom: 2rem;
}

.profile-photo {
    width: 120px;
    height: 120px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.4);
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #4338ca 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(79, 70, 229, 0.5);
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 1.5rem;
    transition: var(--transition);
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.glass-card p {
    color: var(--text-muted);
}

/* CV */
.cv-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.cv-main h3,
.cv-side h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cv-main h3::before {
    content: '';
    width: 6px;
    height: 24px;
    background: var(--primary);
    border-radius: 3px;
    display: block;
}

.experience-item {
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--glass-border);
    padding-left: 2rem;
    position: relative;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--dark);
    border: 2px solid var(--primary);
}

.experience-item .period {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.experience-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.experience-item p {
    color: var(--text-muted);
}

.cv-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
}

/* IT Hub */
.it-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.it-card {
    background: linear-gradient(145deg, var(--glass-bg) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 1.5rem;
}

.it-card ul {
    list-style: none;
}

.it-card li {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.it-card li:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.it-card li strong,
.it-card li a {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--secondary);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tutorial-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
}

.tutorial-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tutorial-item h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.project-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: white;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.social-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid var(--glass-border);
    padding-left: 3rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
    transform: scale(1.1);
}

/* Footer */
.glass-footer {
    padding: 2.5rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: var(--darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .cv-layout,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .contact-container {
        gap: 3rem;
        padding: 2rem;
    }

    .social-links {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--glass-border);
        padding-top: 2rem;
    }
}

/* Tech Watch Section */
.tech-watch-section {
    margin-bottom: 4rem;
}

.tech-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.news-source {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: white;
    text-decoration: none;
}

.news-title:hover {
    text-decoration: underline;
}

.news-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: auto;
}

.loader {
    text-align: center;
    width: 100%;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Status Badge */
/* Status Badge - Filled Style */
#status-container {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #10b981;
    /* Solid Emerald 500 */
    border: 1px solid #059669;
    /* Slightly darker border */
    padding: 0.5rem 1rem;
    border-radius: 8px;
    /* Rounded rectangle (not fully pill) as requested "rectangle" but smooth */
    color: white;
    /* White text for contrast */
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: auto;
    margin-top: 0;
    /* Align correctly in flex row */
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
    /* Glow effect */
    transition: all 0.3s ease;
}

#status-container:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: white;
    /* White dot against green background */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-white 2s infinite;
}

@keyframes pulse-white {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Hacker Mode */
body.hacker-mode {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
}

body.hacker-mode * {
    border-color: #0f0 !important;
    box-shadow: none !important;
}

body.hacker-mode .hero-content h1,
body.hacker-mode h1,
body.hacker-mode h2,
body.hacker-mode h3,
body.hacker-mode h4,
body.hacker-mode p,
body.hacker-mode a,
body.hacker-mode span {
    color: #0f0 !important;
    text-shadow: 0 0 5px #0f0;
    -webkit-text-fill-color: #0f0 !important;
    background: none !important;
}

body.hacker-mode .glass-card,
body.hacker-mode .glass-nav,
body.hacker-mode .btn {
    background: #000 !important;
    border: 1px solid #0f0;
}

.education-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.education-item:last-child {
    border-bottom: none;
}


body.hacker-mode ::selection {
    background: #0f0;
    color: #000;
}

/* Expertise Grid / Functional Resume */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns as requested */
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}

.expertise-card {
    text-align: center;
    padding: 2.5rem !important;
    /* More padding */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.expertise-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    background: rgba(14, 165, 233, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.expertise-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.expertise-card ul {
    list-style: none;
    text-align: left;
    padding-left: 1rem;
    flex-grow: 1;
    /* Pushes content to fill height */
}

.expertise-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 1rem;
}

.expertise-card li::before {
    content: '✓';
    /* Checkmark looks pro */
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Fade-in Animation on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.fade-in:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-in:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-in:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-in:nth-child(4) {
    transition-delay: 0.4s;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(15deg);
}

/* Light Mode Theme */
body.light-mode {
    --dark: #f8fafc;
    --darker: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-main: #0f172a;
    --text-muted: #475569;
}

body.light-mode::before,
body.light-mode::after {
    opacity: 0.15;
}

body.light-mode .glass-nav {
    background: rgba(255, 255, 255, 0.9);
}

body.light-mode .glass-card,
body.light-mode .it-card,
body.light-mode .project-card {
    background: rgba(255, 255, 255, 0.7);
}

body.light-mode .logo {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 1.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author-info h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.2rem;
}

.testimonial-author-info span {
    font-size: 0.9rem;
    color: var(--primary-light);
}

/* ============================================
   ENHANCEMENTS - Session 2
   ============================================ */

/* 1. Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(79, 70, 229, 0.5);
}

/* 2. Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--glass-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 3. Section Indicator */
.section-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 100;
}

.section-indicator .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.section-indicator .dot::before {
    content: attr(data-label);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass-bg);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.section-indicator .dot:hover::before {
    opacity: 1;
}

.section-indicator .dot.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary);
}

/* 13. Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.15s ease, background 0.15s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(1.5);
    background: rgba(79, 70, 229, 0.3);
}

/* 14. Parallax Hero */
.section-hero {
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    transform: translateY(var(--parallax-offset, 0));
    pointer-events: none;
}

/* 15. Micro-interactions */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Icon hover animations */
.social-icons a {
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(5deg);
    color: var(--primary);
}

/* Card hover lift */
.glass-card,
.project-card,
.it-card,
.expertise-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover,
.project-card:hover,
.it-card:hover,
.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Nav link underline animation */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile: Hide section indicator */
@media (max-width: 768px) {
    .section-indicator {
        display: none;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .custom-cursor {
        display: none;
    }
}

/* ============================================
   CERTIFICATIONS & SERVICES
   ============================================ */

/* Certifications Grid */
.certifications-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.certification-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.certification-badge:hover {
    background: rgba(79, 70, 229, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.certification-badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.cert-info {
    display: flex;
    flex-direction: column;
}

.cert-name {
    font-weight: 600;
    color: var(--text-main);
}

.cert-year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Select Dropdown */
.form-select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23818cf8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-select option {
    background: var(--dark);
    color: var(--text-main);
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-category {
    background: rgba(79, 70, 229, 0.15);
    color: var(--primary-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.blog-date {
    color: var(--text-muted);
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    flex-grow: 0;
}

.blog-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 1rem;
    color: var(--primary);
}

/* ============================================
   SOCIAL BUTTONS
   ============================================ */

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.linkedin-btn,
.github-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.linkedin-btn {
    background: #0077b5;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:hover {
    background: #006097;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
    color: white;
}

.github-btn {
    background: #333;
    color: white;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.3);
}

.github-btn:hover {
    background: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 51, 51, 0.4);
    color: white;
}