/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a3a52;
  --secondary-color: #4a9eff;
  --light-blue: #e8f4ff;
  --light-green: #e8f5f0;
  --light-red: #ffe8e8;
  --green-accent: #2ecc71;
  --red-accent: #ff6b6b;
  --text-color: #2d3436;
  --light-bg: #f0f8ff;
  --white: #ffffff;
  --border-color: #d4e8ff;
  --shadow: 0 8px 32px rgba(74, 158, 255, 0.15);
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.08);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f5f0 50%, #ffe8e8 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(74, 158, 255, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d5f7f 100%);
  color: var(--white);
  padding: 1.2rem 0;
  box-shadow: 0 10px 30px rgba(26, 58, 82, 0.25);
  position: relative;
  overflow: hidden;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: slideInDown 0.6s ease;
}

.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.1) rotate(5deg);
}

.site-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Navigation Styles */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: slideInUp 0.6s ease;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: 4px;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4a9eff, #2ecc71);
  transition: width 0.3s ease;
}

nav a:hover::before,
nav a.active::before {
  width: 100%;
}

nav a:hover,
nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
  min-height: calc(100vh - 200px);
}

/* Page Title */
.page-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, #4a9eff, #2ecc71) 1;
  animation: fadeInDown 0.8s ease;
}

/* Welcome Section - Home Page */
.welcome-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,244,255,0.9) 100%);
  padding: 3.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(74, 158, 255, 0.15);
  margin-bottom: 2rem;
  text-align: center;
  border: 1px solid rgba(74, 158, 255, 0.2);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease;
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 158, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.welcome-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(46, 204, 113, 0.1) 0%, transparent 70%);
  animation: float 25s ease-in-out infinite reverse;
}

.welcome-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #1a3a52, #4a9eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #555;
  position: relative;
  z-index: 1;
}

/* Quick Links Section */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  animation: fadeIn 0.8s ease 0.2s both;
}

.link-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,244,255,0.8) 100%);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(74, 158, 255, 0.12);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid rgba(74, 158, 255, 0.15);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

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

.link-card:hover::before {
  left: 100%;
}

.link-card:nth-child(1) {
  border-left: 4px solid #4a9eff;
}

.link-card:nth-child(2) {
  border-left: 4px solid #2ecc71;
}

.link-card:nth-child(3) {
  border-left: 4px solid #ff6b6b;
}

.link-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(74, 158, 255, 0.25);
  border-color: rgba(74, 158, 255, 0.3);
}

.link-card h3 {
  margin-bottom: 1rem;
  font-size: 1.7rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #4a9eff, #2ecc71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.link-card:nth-child(3) h3 {
  background: linear-gradient(135deg, #ff6b6b, #ff8787);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.link-card p {
  color: #555;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* Cards Grid - Tech Docs */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  animation: fadeIn 0.8s ease 0.3s both;
}

.doc-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,244,255,0.8) 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(74, 158, 255, 0.12);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(74, 158, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.doc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #2ecc71, #ff6b6b);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

.doc-card:hover {
  transform: translateY(-12px) rotate(0deg);
  box-shadow: 0 25px 60px rgba(74, 158, 255, 0.25);
  border-color: rgba(74, 158, 255, 0.3);
}

.doc-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.doc-card p {
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.doc-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.2rem;
  border-top: 1px solid rgba(74, 158, 255, 0.2);
  padding-top: 1rem;
  line-height: 1.8;
}

.doc-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4a9eff, #3d7fd9);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.doc-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.3s;
}

.doc-btn:hover::before {
  left: 100%;
}

.doc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

/* Documents Section - Category Organization */
.documents-section {
  width: 100%;
}

.container {
  width: 100%;
}

.category-section {
  margin-bottom: 4rem;
  animation: fadeIn 0.8s ease;
}

.category-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.category-title {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #1a3a52, #4a9eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-description {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* New Card Styles */
.card {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,244,255,0.85) 100%);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #2ecc71);
  animation: shimmer 3s ease-in-out infinite;
}

.card:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: 0 25px 60px rgba(74, 158, 255, 0.25);
  border-color: rgba(74, 158, 255, 0.3);
}

.card .tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, #4a9eff, #3d7fd9);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.card .tag.linux {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.card .tag.windows {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.card .tag.aws {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.card .tag.softwareapplication {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.card .tag.hardware {
  background: linear-gradient(135deg, #34495e, #2c3e50);
}

.card .tag.macos {
  background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

.card .title {
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #888;
}

.card .author img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card .description {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.view-doc {
  display: inline-block;
  background: linear-gradient(135deg, #4a9eff, #3d7fd9);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.view-doc::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.3s;
}

.view-doc:hover::before {
  left: 100%;
}

.view-doc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

/* Blog Entries */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeIn 0.8s ease 0.4s both;
}

.blog-entry {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,245,240,0.9) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.blog-entry::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2ecc71, transparent);
}

.blog-entry:hover {
  box-shadow: 0 20px 50px rgba(46, 204, 113, 0.2);
  transform: translateX(4px);
}

.blog-entry h3 {
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  margin-left: 1rem;
}

.blog-summary {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  margin-left: 1rem;
  padding: 1rem;
  background: rgba(46, 204, 113, 0.05);
  border-radius: 8px;
  border-left: 3px solid #2ecc71;
}

.blog-entry details {
  margin-top: 1.5rem;
  margin-left: 1rem;
}

.blog-entry summary {
  cursor: pointer;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  list-style: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
  position: relative;
  overflow: hidden;
}

.blog-entry summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.3s;
}

.blog-entry summary:hover::before {
  left: 100%;
}

.blog-entry summary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.blog-entry summary::-webkit-details-marker {
  display: none;
}

.resolution-content {
  margin-top: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(232, 245, 240, 0.8) 0%, rgba(200, 255, 230, 0.4) 100%);
  border-left: 5px solid #2ecc71;
  border-radius: 10px;
  animation: slideInDown 0.4s ease;
}

.resolution-content h4 {
  color: #1a3a52;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.resolution-content p,
.resolution-content ul {
  color: #444;
  line-height: 1.8;
}

.resolution-content ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.resolution-content li {
  margin-bottom: 0.7rem;
}

/* New Blog Post Styles */
.blog-posts-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  animation: fadeIn 0.8s ease 0.4s both;
}

.blog-post {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,244,255,0.85) 100%);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: none;
}

.blog-post.show {
  display: block;
}

.blog-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4a9eff, #2ecc71, #ff6b6b);
  animation: shimmer 3s ease-in-out infinite;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(74, 158, 255, 0.2);
  border-color: rgba(74, 158, 255, 0.3);
}

.post-category {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #4a9eff, #3d7fd9);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.post-title {
  color: var(--primary-color);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: #666;
  flex-wrap: wrap;
}

.author-avatar {
  display: inline-block;
}

.author-avatar img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-description {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.read-more-btn {
  background: linear-gradient(135deg, #4a9eff, #3d7fd9);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.read-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: left 0.3s;
}

.read-more-btn:hover::before {
  left: 100%;
}

.read-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.read-more-btn.expanded {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.read-more-btn.expanded:hover {
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.expandable-content {
  display: none;
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(232, 244, 255, 0.6) 0%, rgba(232, 245, 240, 0.4) 100%);
  border-left: 5px solid #4a9eff;
  border-radius: 10px;
  animation: slideInDown 0.4s ease;
}

.extended-text {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.extended-text strong {
  color: var(--primary-color);
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.extended-text strong:first-child {
  margin-top: 0;
}

/* Category Filter Section */
.category-filter-section {
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(232,244,255,0.6) 100%);
  padding: 2rem;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(74, 158, 255, 0.2);
  box-shadow: 0 5px 20px rgba(74, 158, 255, 0.1);
  animation: fadeInDown 0.6s ease;
}

.category-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-btn {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(232,244,255,0.8) 100%);
  border: 2px solid #4a9eff;
  color: #4a9eff;
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: capitalize;
}

.category-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(74, 158, 255, 0.3);
}

.category-btn.active {
  background: linear-gradient(135deg, #4a9eff, #3d7fd9);
  color: var(--white);
  border-color: #4a9eff;
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

/* About Me Section */
.about-container {
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(232,244,255,0.8) 100%);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 20px 60px rgba(74, 158, 255, 0.15);
  border: 1px solid rgba(74, 158, 255, 0.15);
  animation: fadeInUp 0.8s ease;
}

.about-header {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #4a9eff, #2ecc71) 1;
  flex-wrap: wrap;
}

.photo-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #4a9eff, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 5rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 15px 40px rgba(74, 158, 255, 0.3);
  position: relative;
  overflow: hidden;
  animation: pulse 3s ease-in-out infinite;
}

.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmerBg 3s infinite;
}

.about-intro h2 {
  color: var(--primary-color);
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1a3a52, #4a9eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-intro .role {
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, #4a9eff, #2ecc71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(232, 244, 255, 0.5);
  border-radius: 12px;
  border-left: 5px solid #4a9eff;
  transition: all 0.3s ease;
}

.about-section:nth-child(even) {
  border-left-color: #2ecc71;
  background: rgba(232, 245, 240, 0.5);
}

.about-section:hover {
  box-shadow: 0 10px 30px rgba(74, 158, 255, 0.1);
  transform: translateX(5px);
}

.about-section h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, #4a9eff, #2ecc71) 1;
  font-weight: 700;
}

.about-section p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  list-style: none;
}

.skills-list li {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.05), rgba(46, 204, 113, 0.05));
  border-left: 4px solid #4a9eff;
  color: #444;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.skills-list li:nth-child(even) {
  border-left-color: #2ecc71;
}

.skills-list li:nth-child(3n) {
  border-left-color: #ff6b6b;
}

.skills-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(74, 158, 255, 0.2);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d5f7f 100%);
  color: var(--white);
  text-align: center;
  padding: 2.5rem;
  margin-top: 4rem;
  box-shadow: 0 -5px 30px rgba(26, 58, 82, 0.2);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

footer p {
  position: relative;
  z-index: 1;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 15px 40px rgba(74, 158, 255, 0.3);
  }
  50% {
    box-shadow: 0 15px 60px rgba(74, 158, 255, 0.5);
  }
}

@keyframes shimmer {
  0%, 100% {
    background-position: -200% 0;
  }
  50% {
    background-position: 200% 0;
  }
}

@keyframes shimmerBg {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  nav ul {
    justify-content: center;
    gap: 1rem;
    font-size: 0.95rem;
  }

  .page-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .welcome-section {
    padding: 2.5rem 1.5rem;
  }

  .welcome-section h2 {
    font-size: 2rem;
  }

  .quick-links {
    gap: 1.5rem;
  }

  .about-header {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .photo-placeholder {
    width: 150px;
    height: 150px;
    font-size: 4rem;
  }

  .about-container {
    padding: 2rem 1.5rem;
  }

  .about-intro h2 {
    font-size: 1.8rem;
  }

  .about-intro .role {
    font-size: 1.1rem;
  }

  .docs-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .blog-entry {
    padding: 1.5rem;
  }

  .blog-entry h3 {
    font-size: 1.3rem;
    margin-left: 0;
  }

  .blog-post {
    padding: 1.5rem;
  }

  .post-title {
    font-size: 1.4rem;
  }

  .category-buttons {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .skills-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 1rem;
    margin: 1rem auto;
  }

  .site-title {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 0.5rem;
    font-size: 0.85rem;
  }

  .page-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .welcome-section {
    padding: 1.5rem 1rem;
    border-radius: 12px;
  }

  .link-card {
    padding: 1.5rem 1rem;
  }

  .link-card h3 {
    font-size: 1.3rem;
  }

  .doc-card {
    padding: 1.5rem 1rem;
  }

  .blog-entry {
    padding: 1.2rem;
  }

  .blog-entry summary {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .blog-post {
    padding: 1.2rem;
  }

  .post-title {
    font-size: 1.2rem;
  }

  .post-meta {
    font-size: 0.85rem;
  }

  .read-more-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .category-buttons {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .resolution-content {
    padding: 1.5rem 1rem;
  }

  .about-container {
    padding: 1.5rem 1rem;
  }

  .about-section {
    padding: 1.5rem 1rem;
  }

  .about-intro h2 {
    font-size: 1.5rem;
  }
}
