/* Modern Web Developer Portfolio Styles */

:root {
    /* Color Scheme - Dark Mode */
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --text-primary: #f0f6fc;
    --text-secondary: #c9d1d9;
    --text-muted: #8b949e;
    --accent-primary: #58a6ff;
    --accent-secondary: #7ee787;
    --accent-tertiary: #ff7b72;
    --gradient-primary: linear-gradient(135deg, #6e8efb, #a777e3);
    --gradient-secondary: linear-gradient(135deg, #58a6ff, #7ee787);
    --card-bg: rgba(13, 17, 23, 0.8);
    --card-border: rgba(240, 246, 252, 0.1);
    --glass-bg: rgba(22, 27, 34, 0.7);
    --glass-border: rgba(240, 246, 252, 0.1);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --code-bg: #1e1e1e;
}


/* Reset & Base Styles */

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

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

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.03) 2%, transparent 0%), radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.03) 2%, transparent 0%);
    background-size: 100px 100px;
}

.name {
    color: red;
}

.name2 {
    color: rgb(0, 253, 249);
}

.name1 {
    color: blue;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}


/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--accent-primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    background: var(--accent-primary);
    opacity: 0.2;
    z-index: -1;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}


/* Layout */

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
}


/* Header & Navigation */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: var(--shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-bracket {
    color: var(--accent-primary);
    font-weight: 700;
}

#nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

#nav-links li a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

#nav-links li a:hover {
    color: var(--text-primary);
}

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

.resume-btn {
    background: var(--gradient-primary);
    color: var(--text-primary) !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}


/* Hero Section */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.9)), url('https://images.unsplash.com/photo-1555066931-4365d14bab8c') center/cover no-repeat;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 1;
}


/* Terminal Window Styling */

.terminal-window {
    background: var(--bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-header {
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) {
    background: #ff5f56;
}

.terminal-dot:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dot:nth-child(3) {
    background: #27c93f;
}

.terminal-title {
    margin-left: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.terminal-body {
    padding: 1rem;
}

.terminal-line {
    display: flex;
    margin-bottom: 0.75rem;
}

.terminal-prompt {
    color: var(--accent-tertiary);
    margin-right: 0.5rem;
}

.terminal-command {
    color: var(--text-primary);
}

.terminal-output {
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.small-terminal {
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--accent-primary);
    animation: typing 3.5s steps(40, end), step-end infinite;
}

@keyframes typing {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-btn {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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


/* About Section */

.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.profile-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.profile-img-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.profile-img-placeholder i {
    position: relative;
    z-index: 2;
}


/* Skills Section */

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    position: relative;
    display: inline-block;
}

.skill-category h3::before {
    content: '# ';
    color: var(--accent-tertiary);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-item {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-item i {
    color: var(--accent-primary);
}

.skill-item:hover {
    transform: translateY(-2px);
    background: var(--bg-secondary);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}


/* Projects Section */

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

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-primary);
}

.project-card:hover::before {
    transform: scaleX(1);
}

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

.project-icon {
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.project-links a:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.project-card h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--bg-tertiary);
    color: var(--accent-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: var(--accent-secondary);
    color: var(--bg-primary);
}


/* Code Sample Section */

.code-container {
    background: var(--code-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.code-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    z-index: 1;
}

.code-container::after {
    content: '• • •';
    position: absolute;
    top: 0;
    left: 15px;
    height: 30px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 2;
}

.code-container pre {
    margin-top: 30px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-container code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}


/* GitHub Section */

.github-calendar {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.github-placeholder {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.github-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.github-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.github-stat-item i {
    color: var(--accent-primary);
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.github-link:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}


/* Contact Section */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-social a {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--card-border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(88, 166, 255, 0.2);
}


/* Footer */

footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}


/* Animations */

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


/* Responsive Styles */

@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-image {
        order: -1;
    }
    .profile-img-placeholder {
        max-width: 300px;
        margin: 0 auto;
    }
    .github-stats {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    #nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
    }
    #nav-links.active {
        transform: translateY(0);
    }
    .hero-buttons {
        flex-direction: column;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    .section {
        padding: 4rem 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
}

/* myBlog page styles - improved */
.myblog-container {
  max-width: 100vw;
  width: 100vw;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}
.myblog-post {
  background: #181c22;
  margin: 2rem auto;
  padding: 0;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  max-width: 800px;
  width: 100vw;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  border: 1px solid #23272e;
}
.myblog-post:hover {
  box-shadow: 0 8px 48px rgba(0,0,0,0.28);
  transform: translateY(-2px) scale(1.01);
}
.myblog-post-media {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0 0 0 0;
  margin: 0;
}
.myblog-post-text {
  color: #fff;
  font-size: 1.15rem;
  padding: 1.2rem 2rem 1.5rem 2rem;
  margin: 0;
  border-top: 1px solid #23272e;
  background: #181c22;
  text-align: left;
}
.myblog-comments {
  margin: 0 2rem 1.5rem 2rem;
  background: #23272e;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.myblog-comment {
  border-bottom: 1px solid #333;
  padding: 0.5rem 0;
  color: #ccc;
}
.myblog-comment:last-child {
  border-bottom: none;
}
.myblog-comment-form textarea {
  width: 100%;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  border: 1px solid #444;
  background: #1a1d22;
  color: #fff;
  padding: 0.5rem;
}
.myblog-comment-form button {
  background: #4f8cff;
  color: #fff;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}
@media (max-width: 900px) {
  .myblog-post {
    max-width: 98vw;
  }
  .myblog-comments, .myblog-post-text {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.myblog-upload-form {
  background: #23272e;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 18px;
  margin: 2.5rem auto 2.5rem auto;
  max-width: 480px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #181c22;
  position: relative;
}
.myblog-upload-form h2 {
  text-align: center;
  color: #4f8cff;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.myblog-upload-form label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.3rem;
  margin-top: 0.7rem;
  letter-spacing: 0.5px;
}
.myblog-upload-form input[type="file"] {
  background: #181c22;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  margin-bottom: 0.7rem;
}
.myblog-upload-form textarea {
  width: 100%;
  min-height: 60px;
  margin-bottom: 0.7rem;
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #181c22;
  color: #fff;
  font-size: 1rem;
  resize: vertical;
}
.myblog-upload-form button[type="submit"] {
  background: linear-gradient(90deg, #4f8cff 60%, #58a6ff 100%);
  color: #fff;
  border: none;
  padding: 0.7rem 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 1.2rem;
  box-shadow: 0 2px 8px rgba(79,140,255,0.10);
  transition: background 0.2s, transform 0.2s;
}
.myblog-upload-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #58a6ff 60%, #4f8cff 100%);
  transform: translateY(-2px) scale(1.03);
}
.myblog-upload-form input[type="file"]::-webkit-file-upload-button {
  background: #4f8cff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 0.5rem;
}
.myblog-upload-form input[type="file"]::file-selector-button {
  background: #4f8cff;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-right: 0.5rem;
}

/* Owner Login Modal Styles */
.owner-modal {
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(20, 22, 30, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
.owner-modal-content {
  background: #23272e;
  padding: 2.2rem 2.5rem 1.5rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.22);
  min-width: 320px;
  max-width: 90vw;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.owner-modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.6rem;
  color: #aaa;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.owner-modal-close:hover {
  color: #ff6b6b;
}
#owner-modal-form label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
#owner-modal-form input[type="password"] {
  width: 100%;
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #181c22;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
#owner-modal-form button[type="submit"] {
  background: linear-gradient(90deg, #4f8cff 60%, #58a6ff 100%);
  color: #fff;
  border: none;
  padding: 0.7rem 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(79,140,255,0.10);
  transition: background 0.2s, transform 0.2s;
}
#owner-modal-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #58a6ff 60%, #4f8cff 100%);
  transform: translateY(-2px) scale(1.03);
}
.company-logo{
    width: 20%;
}
#change-password-form label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
  margin-top: 0.7rem;
}
#change-password-form input[type="password"] {
  width: 100%;
  padding: 0.7rem;
  border-radius: 6px;
  border: 1px solid #444;
  background: #181c22;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
#change-password-form button[type="submit"] {
  background: linear-gradient(90deg, #4f8cff 60%, #58a6ff 100%);
  color: #fff;
  border: none;
  padding: 0.7rem 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  box-shadow: 0 2px 8px rgba(79,140,255,0.10);
  transition: background 0.2s, transform 0.2s;
}
#change-password-form button[type="submit"]:hover {
  background: linear-gradient(90deg, #58a6ff 60%, #4f8cff 100%);
  transform: translateY(-2px) scale(1.03);
}

/* Animated beep for company duration */
.company-duration {
  animation: durationBeep 1.2s infinite;
  font-weight: bold;
  margin-left: 0.5em;
  color: var(--accent-primary);
  transition: color 0.3s;
}
@keyframes durationBeep {
  0% { opacity: 0.7; color: var(--accent-primary); }
  30% { opacity: 1; color: var(--accent-tertiary); }
  60% { opacity: 0.7; color: var(--accent-secondary); }
  100% { opacity: 0.7; color: var(--accent-primary); }
}

@media (max-width: 600px) {
  .myblog-container {
    max-width: 100vw;
    width: 100vw;
    padding: 0;
  }
  .myblog-upload-form {
    max-width: 98vw;
    padding: 1rem 0.5rem 1rem 0.5rem;
    border-radius: 10px;
  }
  .myblog-upload-form h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .myblog-upload-form label {
    font-size: 0.98rem;
  }
  .myblog-upload-form input[type="file"],
  .myblog-upload-form textarea {
    font-size: 1rem;
    padding: 0.5rem;
  }
  .myblog-upload-form button[type="submit"] {
    font-size: 1rem;
    padding: 0.6rem 0;
  }
  .myblog-post {
    max-width: 100vw;
    border-radius: 10px;
    margin: 1rem 0 1.5rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  }
  .myblog-post-media {
    max-height: 220px;
    border-radius: 0;
  }
  .myblog-post-text {
    padding: 0.8rem 0.7rem 1rem 0.7rem;
    font-size: 1rem;
  }
  .myblog-comments {
    margin: 0 0.7rem 1rem 0.7rem;
    padding: 0.7rem 0.5rem;
    border-radius: 8px;
  }
  .myblog-comment-form textarea {
    font-size: 1rem;
    padding: 0.5rem;
  }
  .myblog-comment-form button {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 400px) {
  .myblog-upload-form {
    padding: 0.5rem 0.2rem 0.5rem 0.2rem;
  }
  .myblog-post-text, .myblog-comments {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
}

.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 5px;
    background: rgba(0,0,0,0.08);
    z-index: 10000;
}
.scroll-progress-bar-inner {
    height: 100%;
    width: 0;
    background: #007bff;
    transition: width 0.2s;
}

/* --- Modern Animations --- */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- 3D Back-to-Front Animation for Cards --- */
@keyframes backToFront {
  0% {
    opacity: 0;
    transform: perspective(800px) translateZ(-120px) scale(0.92);
  }
  80% {
    opacity: 1;
    transform: perspective(800px) translateZ(24px) scale(1.03);
  }
  100% {
    opacity: 1;
    transform: perspective(800px) translateZ(0) scale(1);
  }
}

.project-card, .skill-item, .profile-img-placeholder {
  opacity: 0;
  transform: perspective(800px) translateZ(-120px) scale(0.92);
  transition: box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

.project-card.revealed, .skill-item.revealed, .profile-img-placeholder.revealed {
  opacity: 1;
  transform: perspective(800px) translateZ(0) scale(1);
  animation: backToFront 0.9s cubic-bezier(0.4,0,0.2,1);
}

/* Remove fadeInUp for these cards, but keep for sections */
.section, .hero-section, .about-content, .skills-container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
}

.section.revealed, .hero-section.revealed, .about-content.revealed, .skills-container.revealed {
  opacity: 1;
  transform: none;
  animation: fadeInUp 1s cubic-bezier(0.4,0,0.2,1);
}

/* Button and Link Hover Animations */
.btn, .resume-btn {
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s cubic-bezier(0.4,0,0.2,1), background 0.2s;
}

.btn:hover, .resume-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 24px rgba(88,166,255,0.15);
  background: var(--gradient-secondary);
  color: #fff;
}

/* Card Hover Animations */
.project-card, .skill-item, .profile-img-placeholder {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1);
}

.project-card:hover, .skill-item:hover, .profile-img-placeholder:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(88,166,255,0.12);
}

/* Social Icon Hover */
.social-links a {
  transition: transform 0.2s, color 0.2s;
}
.social-links a:hover {
  transform: scale(1.2) rotate(-6deg);
  color: var(--accent-tertiary);
}

/* Scroll Progress Bar Animation */
.scroll-progress-bar-inner {
  transition: width 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* --- Modern Animations for Work Experience --- */
@keyframes experienceFadeIn {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes dotPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(88,166,255,0.7);
    background: var(--accent-primary);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(88,166,255,0.15);
    background: var(--accent-secondary);
  }
}

.experience-timeline {
  position: relative;
  margin-left: 1.5rem;
}

.experience-item {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), transform 0.8s cubic-bezier(0.4,0,0.2,1);
  margin-bottom: 2.5rem;
  position: relative;
}

.experience-item.revealed {
  opacity: 1;
  transform: none;
  animation: experienceFadeIn 1s cubic-bezier(0.4,0,0.2,1);
}

.experience-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-primary);
  position: absolute;
  left: -32px;
  top: 18px;
  animation: dotPulse 1.6s infinite;
  box-shadow: 0 0 0 0 rgba(88,166,255,0.7);
  z-index: 2;
}

/* Timeline vertical line (optional) */
.experience-timeline::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 2px;
  opacity: 0.15;
  z-index: 1;
}

/* Animated Send Message Button */
#contact-form button[type="submit"]:not(:disabled).pulse {
  animation: sendPulse 1.2s infinite;
  box-shadow: 0 0 0 0 rgba(88,166,255,0.5);
}
@keyframes sendPulse {
  0% { box-shadow: 0 0 0 0 rgba(88,166,255,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(88,166,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(88,166,255,0); }
}
#contact-form button[type="submit"]:disabled {
  background: #444 !important;
  color: #aaa !important;
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
  animation: none !important;
}

/* Current DateTime beside Work Experience */
.current-datetime {
  font-size: 1.1rem;
  color: var(--accent-primary);
  font-family: 'JetBrains Mono', 'Inter', monospace;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-align: right;
  background: var(--bg-tertiary);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(88,166,255,0.07);
}
@media (max-width: 600px) {
  .current-datetime {
    font-size: 0.98rem;
    padding: 0.4rem 0.7rem;
    text-align: left;
  }
}

/* --- Get In Touch Section Animations --- */
@keyframes contactItemIn {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: none; }
}
@keyframes contactFormPop {
  0% { opacity: 0; transform: scale(0.92); }
  80% { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
.contact-item {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.contact-item.revealed {
  opacity: 1;
  transform: none;
  animation: contactItemIn 0.8s cubic-bezier(0.4,0,0.2,1);
}
.contact-form {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.contact-form.revealed {
  opacity: 1;
  transform: scale(1);
  animation: contactFormPop 0.9s cubic-bezier(0.4,0,0.2,1);
}
.contact-social a {
  transition: transform 0.2s, color 0.2s;
}
.contact-social a:hover {
  transform: scale(1.18) rotate(-8deg);
  color: var(--accent-tertiary);
}

/* Dancing animation for Developer @TCS in footer */
.dancing-text {
  display: inline-block;
  animation: dancingText 1.2s infinite cubic-bezier(0.4,0,0.2,1);
  font-weight: bold;
  color: var(--accent-tertiary);
}
@keyframes dancingText {
  0%   { transform: translateY(0) rotate(0deg) scale(1); color: var(--accent-tertiary); }
  10%  { transform: translateY(-6px) rotate(-6deg) scale(1.08); color: var(--accent-primary); }
  20%  { transform: translateY(2px) rotate(4deg) scale(0.98); color: var(--accent-secondary); }
  30%  { transform: translateY(-8px) rotate(-8deg) scale(1.12); color: #ff4f81; }
  40%  { transform: translateY(4px) rotate(6deg) scale(0.96); color: #7ee787; }
  50%  { transform: translateY(-10px) rotate(8deg) scale(1.15); color: #58a6ff; }
  60%  { transform: translateY(2px) rotate(-4deg) scale(1.02); color: var(--accent-primary); }
  70%  { transform: translateY(-6px) rotate(6deg) scale(1.08); color: var(--accent-tertiary); }
  80%  { transform: translateY(0) rotate(0deg) scale(1); color: var(--accent-secondary); }
  100% { transform: translateY(0) rotate(0deg) scale(1); color: var(--accent-tertiary); }
}