:root {
    --bg-color: #0f172a;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(51, 65, 85, 0.5);
    --nav-bg: rgba(15, 23, 42, 0.8);
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --nav-height: 80px;
    --glass-blur: 12px;
}


[data-theme="light"] {
    --bg-color: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-color: #0284c7;
    --card-bg: rgba(226, 232, 240, 0.7);
    --card-border: rgba(203, 213, 225, 0.5);
    --nav-bg: rgba(248, 250, 252, 0.8);
}

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

body {
    background-color: var(--bg-color);
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--text-secondary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.btn:hover {
    background: rgba(56, 189, 248, 0.1);
}

.heading {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: var(--text-primary);
}

.heading::after {
    content: "";
    display: block;
    width: 200px;
    height: 1px;
    background: var(--text-secondary);
    margin-left: 20px;
    opacity: 0.5;
}

/* Navigation */
nav {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 1001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--accent-color), #818cf8);
    width: 0%;
    transition: width 0.1s ease;
}

.logo {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: bold;
    color: var(--accent-color);
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
}

.nav-links li a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
}

.hero-content {
    max-width: 1000px;
}

.hero-greeting {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 20px;
    display: block;
}

.hero-name {
    font-size: clamp(40px, 8vw, 70px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 700;
    color: var(--text-secondary);
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-description {
    max-width: 540px;
    font-size: clamp(16px, 4vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        background-color: var(--card-bg);
        width: 80%;
        max-width: 300px;
        text-align: center;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 50px 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .section {
        padding: 60px 0;
    }

    .heading::after {
        width: 100px;
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 16px;
}

.about-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 200px));
    gap: 10px;
    margin-top: 20px;
}

.about-list li {
    position: relative;
    padding-left: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.about-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* About Image */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.about-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

.about-image-wrapper::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.about-image-wrapper:hover .profile-img {
    filter: grayscale(0%);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    padding: 20px;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px -15px rgba(56, 189, 248, 0.3);
}

.skill-category {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.skill-names {
    color: var(--text-primary);
    font-weight: 600;
}

/* Experience Section */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.job {
    margin-bottom: 40px;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.job-title {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
}

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

.job-duration {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.job-details li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}

.job-details li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
        margin-bottom: 40px;
    }

    .about-list {
        justify-content: center;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    padding: 30px;
    border: 1px solid var(--card-border);
    border-radius: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px) translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 30px -15px rgba(0, 0, 0, 0.3);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.folder-icon {
    font-size: 40px;
    color: var(--accent-color);
}

.project-title {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 15px;
}

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

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 4px;
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.achievement-card:hover {
    transform: translateY(-7px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px -15px rgba(2, 132, 199, 0.3);
}

.achievement-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.achievement-title {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 10px;
}

.achievement-issuer {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 15px;
}

.achievement-description {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Education & Certifications Section */
.sub-heading {
    color: var(--text-primary);
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.sub-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    margin-top: 5px;
    opacity: 0.5;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.education-item {
    margin-bottom: 30px;
}

.edu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.edu-degree {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
}

.edu-duration {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}

.edu-school {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.edu-details {
    color: var(--text-secondary);
    font-size: 15px;
}

.cert-item {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 3px solid var(--accent-color);
    transition: transform 0.3s ease, background-color 0.4s ease;
}

.cert-item:hover {
    transform: translateX(10px);
}

.cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.cert-name {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.cert-icon {
    font-size: 18px;
    color: var(--accent-color);
}

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

@media (max-width: 768px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .edu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Blog Section */
.blog-card {
    background: var(--card-bg);
    -webkit-backdrop-filter: blur(var(--glass-blur));
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.5);
}

.blog-header-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.blog-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-header-image img {
    transform: scale(1.03);
}

.blog-content {
    padding: 40px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.blog-meta span::before {
    content: "•";
    color: var(--accent-color);
    margin-right: 8px;
}

.blog-meta span:first-child::before {
    display: none;
}

.blog-title {
    font-size: clamp(24px, 5vw, 36px);
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 800;
}

.blog-lead {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.7;
}

.blog-subheading {
    color: var(--accent-color);
    font-size: 20px;
    margin: 40px 0 15px;
    font-weight: 600;
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.blog-content strong {
    color: var(--text-primary);
}

/* Blog Layout Elements */
.blog-highlight-box {
    background: rgba(56, 189, 248, 0.05);
    border-left: 4px solid var(--accent-color);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.blog-highlight-box ul {
    margin-top: 10px;
    list-style-type: disc;
    padding-left: 20px;
    color: var(--text-secondary);
}

.blog-highlight-box li {
    margin-bottom: 8px;
}

.blog-inline-image {
    margin: 40px 0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.blog-inline-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.image-caption {
    text-align: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 15px;
    font-style: italic;
}

.blog-grid-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.check-list {
    margin-top: 15px;
}

.check-list li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: #10b981;
    /* Green check */
}

.warning-text {
    color: #f87171 !important;
    /* Warning red */
    font-style: italic;
    border-left: 3px solid #f87171;
    padding-left: 15px;
}

.blog-divider {
    border: 0;
    height: 1px;
    background: var(--card-border);
    margin: 40px 0;
}

.blog-quote {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 40px 0;
    font-style: italic;
    color: var(--accent-color);
}

.blog-footer-text {
    text-align: center;
    font-size: 18px !important;
    margin-top: 40px !important;
    color: var(--text-primary) !important;
}

@media (max-width: 768px) {
    .blog-content {
        padding: 25px;
    }

    .blog-header-image {
        height: 200px;
    }

    .blog-grid-text {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 40px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.contact-icon {
    color: var(--accent-color);
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 16px;
    transition: border-color 0.3s ease, background-color 0.4s ease;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

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

/* Footer */
footer a:hover {
    color: var(--accent-color);
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    color: var(--text-secondary);
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Animations */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(20px);
    transition: all 1s;
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

/* =========================================
   UI Animation Enhancements
   ========================================= */

/* 1. Typing Effect Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: var(--accent-color);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 2. Staggered Entrance Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

.delay-600 {
    transition-delay: 600ms;
}

/* 3. Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Confirmation Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.popup-title {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.popup-message {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 16px;
}


.floating-element {
    position: absolute;
    color: rgba(148, 163, 184, 0.05);
    font-size: 4rem;
    font-weight: bold;
    pointer-events: none;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

/* 4. Button Shine Effect */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.btn:hover::after {
    left: 100%;
}

/* 5. Nav Link Underline Hover */
.nav-links li a {
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* 6. Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
    color: var(--accent-color);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-10px) translateX(-50%);
    }

    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.theme-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: rotate(30deg);
}

@media (max-width: 768px) {
    .theme-toggle {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        background: var(--card-bg);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        width: 44px;
        height: 44px;
    }
}

/* Mobile Optimizations (< 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    nav {
        padding: 0 15px;
    }

    .hero-name {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-description {
        font-size: 15px;
    }

    .btn {
        width: 100%;
    }

    .heading {
        font-size: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .heading::after {
        margin-left: 0;
        width: 100px;
    }

    .skills-grid,
    .projects-grid,
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-item {
        font-size: 14px;
    }
}