/* ========================================
   DEV.FORGE - MAIN STYLESHEET
   ======================================== */

:root {
  --navy: #0d1b6e;
  --navy-dark: #081046;
  --coral: #e85d4a;
  --coral-light: #f07261;
  --orange: #f5a623;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --gray-text: #475569;
  --gray-light: #94a3b8;
  --text-muted-light: #aab0cc;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #1e293b;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  background: #161b35;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-brand span.dot {
  color: var(--coral);
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0 1rem !important;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--coral) !important;
}

.btn-talk {
  background: transparent;
  border: 2px solid var(--coral);
  color: var(--coral) !important;
  border-radius: 40px;
  padding: 0.4rem 1.2rem !important;
  font-weight: 600;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.btn-talk:hover {
  background: var(--coral);
  color: #fff !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(232,93,74,0.08);
  top: -100px;
  right: -100px;
}

#hero::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(13,27,110,0.6);
  bottom: -80px;
  left: -80px;
}

.hero-subtitle {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--text-muted-light);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero-title .highlight {
  color: var(--coral);
}

.hero-role {
  font-size: 1rem;
  color: var(--text-muted-light);
  margin-bottom: 1rem;
}

.hero-tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.tech-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 40px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 500;
}

.hero-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-right: 10px;
  transition: all 0.2s;
  text-decoration: none;
}

.hero-socials a:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary-custom {
  background: var(--coral);
  border: none;
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary-custom:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.65rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-outline-custom:hover {
  border-color: #fff;
  transform: translateY(-2px);
  color: #fff;
}

.stats-row {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item .stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral);
}

.stat-item .stat-text {
  font-size: 0.78rem;
  color: var(--text-muted-light);
  line-height: 1.3;
}

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

.avatar-placeholder {
  width: 380px;
  height: 420px;
  background: linear-gradient(160deg, #1a2f8a, #2a40a0);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.2);
}

.experience-badge {
  position: absolute;
  bottom: -15px;
  right: 20px;
  background: linear-gradient(135deg, var(--coral), var(--orange));
  color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(232,93,74,0.4);
}

.experience-badge .num {
  font-size: 2rem;
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.65rem;
  text-align: center;
  opacity: 0.9;
  line-height: 1.2;
}
/* ======================================== */
/* ABOUT PAGE SPECIFIC STYLES               */
/* ======================================== */

.about-hero {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
    background: var(--navy-dark);
}

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

.about-hero-content h3 {
    font-size: 1.2rem;
    color: var(--coral, #e85d4a);
    margin-bottom: 10px;
    font-weight: 500;
}

.about-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.about-hero-content h3:last-of-type {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.about-hero-content h3 span {
    color: var(--coral, #e85d4a);
    background: linear-gradient(135deg, #e85d4a, #f97316);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-description p {
    margin-bottom: 20px;
    color: #fff !important;
    line-height: 1.8;
}


.about-highlight {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.about-description strong {
    color: var(--coral, #e85d4a);
}

/* Social Media Icons */
.social-media {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-media a {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-media a:hover {
    background: var(--coral, #e85d4a);
    transform: translateY(-3px);
    border-color: var(--coral, #e85d4a);
}

/* Profile Image */
.about-hero-image {
    position: relative;
}

.image-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(145deg, #1a1f3a, #0a0e27);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    transition: all 0.5s ease;
    animation: morphing 10s ease-in-out infinite;
    border: 3px solid rgba(232, 93, 74, 0.3);
}

@keyframes morphing {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 43% 37% 63% 57%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.image-placeholder img {
    transition: transform 0.5s ease;
}

.image-placeholder:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .about-hero {
        padding: 80px 0 40px;
    }
    
    .image-placeholder {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about-hero-content h3:last-of-type {
        font-size: 1.1rem;
    }
    
    .social-media a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

/* ========================================
   PAGE HEADER (Portfolio/Blog/Contact)
   ======================================== */
.page-header {
 background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-header h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: var(--text-muted-light);
  text-decoration: none;
  font-size: 0.85rem;
}

.breadcrumb-item a:hover {
  color: var(--coral);
}

.breadcrumb-item.active {
  color: var(--coral);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.4);
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio-section {
  padding: 2rem 0 4rem;
}

.filter-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  background: #f1f5f9;
  border: none;
  color: #1e293b;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--coral);
  color: #fff;
}

.project-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #eaeef8;
  transition: all 0.3s;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.1);
  border-color: var(--coral);
}

.project-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
}

.thumb-blue { background: linear-gradient(135deg, #1a3a8a, #2d5bb5); }
.thumb-coral { background: linear-gradient(135deg, #8a1a1a, #c74040); }
.thumb-teal { background: linear-gradient(135deg, #0d5c4f, #1a8c7a); }
.thumb-purple { background: linear-gradient(135deg, #3d1a8a, #6040c7); }
.thumb-amber { background: linear-gradient(135deg, #7a4d0d, #c48020); }
.thumb-green { background: linear-gradient(135deg, #1a5c2a, #2a9c44); }

.project-info {
  padding: 1.25rem;
}

.project-tag {
  font-size: 0.7rem;
  color: var(--coral);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  background: rgba(232,93,74,0.1);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

.project-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-info p {
  color: var(--gray-text);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

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

.tech-badge-sm {
  background: #f1f5f9;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--navy);
}

.project-link {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.project-link:hover {
  gap: 10px;
  color: var(--coral-light);
}

/* ========================================
   BLOG SECTION - DEV.FORGE STYLE
   ======================================== */
.blog-section {
  padding: 0 0 4rem;
}

.blog-post {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eaeef8;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-color: var(--coral);
}

@media (min-width: 768px) {
  .blog-post {
    flex-direction: row;
  }
}

.blog-thumb {
  width: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
}

@media (min-width: 768px) {
  .blog-thumb {
    width: 250px;
    min-height: auto;
  }
}

.blog-content {
  flex: 1;
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: var(--gray-light);
  flex-wrap: wrap;
}

.blog-meta i {
  margin-right: 0.25rem;
  color: var(--coral);
}

.blog-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-content h2 a {
  color: inherit;
  text-decoration: none;
}

.blog-content h2 a:hover {
  color: var(--coral);
}

.blog-content p {
  color: var(--gray-text);
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.read-more {
  color: var(--coral);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s ease;
}

.read-more:hover {
  gap: 10px;
  color: var(--coral-light);
}

.blog-category {
  font-size: 0.7rem;
  color: var(--gray-light);
}

.blog-category i {
  margin-right: 4px;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaeef8;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.sidebar-widget:hover {
  border-color: var(--coral-light);
}

.sidebar-widget h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
}

/* Author Box */
.author-box {
  text-align: center;
}

.author-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2.5rem;
  color: #fff;
}

.author-box h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-box p {
  font-size: 0.8rem;
  color: var(--gray-text);
  line-height: 1.5;
}

.author-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 0.75rem;
}

.author-social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.2s;
  text-decoration: none;
}

.author-social a:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}

/* Search Box */
.search-box {
  display: flex;
  gap: 0.5rem;
}

.search-box input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 40px;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s;
}

.search-box input:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 2px rgba(232,93,74,0.2);
}

.search-box button {
  background: var(--coral);
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

.search-box button:hover {
  background: var(--coral-light);
  transform: scale(1.02);
}

/* Category & Recent Posts Lists */
.category-list,
.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li,
.recent-posts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eef2ff;
}

.category-list li:last-child,
.recent-posts li:last-child {
  border-bottom: none;
}

.category-list a,
.recent-posts a {
  color: var(--gray-text);
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  transition: all 0.2s;
}

.category-list a:hover,
.recent-posts a:hover {
  color: var(--coral);
  padding-left: 5px;
}

.recent-posts span {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-light);
  margin-top: 0.2rem;
}

/* Tags Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-cloud a {
  background: #f1f5f9;
  padding: 0.25rem 0.9rem;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}

.tag-cloud a:hover {
  background: var(--coral);
  color: #fff;
  transform: translateY(-2px);
}

/* Pagination */
.blog-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.pagination {
  gap: 0.25rem;
}

.pagination .page-link {
  color: var(--navy);
  border-radius: 8px;
  margin: 0 2px;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
}

.pagination .page-link:hover {
  background: var(--coral-light);
  border-color: var(--coral-light);
  color: #fff;
}

.pagination .page-item.active .page-link {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: #cbd5e1;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-content {
    padding: 1rem;
  }
  
  .blog-content h2 {
    font-size: 1.1rem;
  }
  
  .blog-meta {
    gap: 0.75rem;
    font-size: 0.65rem;
  }
  
  .blog-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .sidebar-widget {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .blog-thumb {
    min-height: 150px;
    font-size: 2.5rem;
  }
  
  .blog-content p {
    font-size: 0.8rem;
  }
  
  .pagination .page-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }
}


/* ========================================
   BLOG ARTICLE PAGE STYLES
   ======================================== */

/* Article Header */
.article-header {
  background: var(--navy);
  padding: 2rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.article-header .breadcrumb {
  margin-bottom: 1.5rem;
}

.article-category {
  display: inline-block;
  background: rgba(232,93,74,0.15);
  color: var(--coral);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.article-title {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--text-muted-light);
  font-size: 0.85rem;
}

.article-meta i {
  margin-right: 6px;
  color: var(--coral);
}

/* Article Content */
.article-content-section {
  padding: 3rem 0 4rem;
}

.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-text);
}

.article-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--coral);
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 1rem;
  padding-top: 0.5rem;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
  margin: 1.5rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body code {
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--coral);
  font-family: 'Courier New', monospace;
}

.article-body pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.article-body pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* Media Containers */
.article-featured-media,
.media-container {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
}

.article-featured-media img,
.media-container img {
  width: 100%;
  height: auto;
  display: block;
}

.media-caption {
  font-size: 0.75rem;
  color: var(--gray-light);
  text-align: center;
  margin-top: 0.5rem;
}

.video-container {
  background: #000;
  border-radius: 16px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Image Gallery */
.image-gallery {
  margin: 2rem 0;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.02);
}

/* Terminal Screenshot */
.terminal-screenshot {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  margin: 2rem 0;
}

.terminal-header {
  background: #1e293b;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  color: #10b981;
  line-height: 1.6;
  overflow-x: auto;
}

/* Alert Box */
.alert-info-box {
  background: #eef2ff;
  border-left: 4px solid var(--coral);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-info-box i {
  font-size: 1.2rem;
  color: var(--coral);
  margin-top: 2px;
}

.alert-info-box strong {
  color: var(--navy);
}

/* Article Divider */
.article-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  margin: 2rem 0;
}

/* Article Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 1.5rem 0;
}

.tag-label {
  font-weight: 600;
  color: #1e293b;
}

.article-tags .tag {
  background: #f1f5f9;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}

.article-tags .tag:hover {
  background: var(--coral);
  color: #fff;
}

/* Author Bio */
.author-bio {
  background: #f8fafc;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2rem 0;
  border: 1px solid #eaeef8;
}

.author-avatar-lg {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--navy), var(--coral));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-bottom: 0.75rem;
}

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

.author-links a {
  color: var(--coral);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.author-links a:hover {
  color: var(--coral-light);
}

/* Comments Section */
.comments-section {
  margin-top: 2rem;
}

.comments-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
}

.comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eef2ff;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--navy);
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.comment-header strong {
  font-size: 0.9rem;
}

.comment-date {
  font-size: 0.7rem;
  color: var(--gray-light);
}

.comment-content p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.comment-reply {
  font-size: 0.75rem;
  color: var(--coral);
  text-decoration: none;
  font-weight: 500;
}

.comment-reply:hover {
  text-decoration: underline;
}

/* Comment Form */
.comment-form {
  margin-top: 2rem;
  padding-top: 1rem;
}

.comment-form h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Table of Contents Widget */
.toc-widget {
  position: sticky;
  top: 100px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: var(--gray-text);
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
  display: block;
  padding: 0.25rem 0;
}

.toc-list a:hover {
  color: var(--coral);
  padding-left: 5px;
}

/* Newsletter Widget */
.newsletter-widget {
  text-align: center;
}

.newsletter-widget .input-group {
  display: flex;
  gap: 0;
}

.newsletter-widget .form-control-custom {
  border-radius: 40px 0 0 40px;
  border-right: none;
}

.newsletter-widget .btn-submit {
  border-radius: 0 40px 40px 0;
  width: auto;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  .article-meta {
    gap: 1rem;
    font-size: 0.75rem;
  }
  
  .article-body h2 {
    font-size: 1.3rem;
  }
  
  .article-body h3 {
    font-size: 1.1rem;
  }
  
  .author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-links {
    justify-content: center;
  }
  
  .comment {
    flex-direction: column;
  }
  
  .comment-avatar {
    align-self: center;
  }
  
  .toc-widget {
    position: static;
  }
}


/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  padding: 0 0 3rem;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eaeef8;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s;
}

.contact-card:hover {
  border-color: var(--coral);
  transform: translateX(5px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,93,74,0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--coral);
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info p {
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--gray-text);
}

.contact-info .small {
  font-size: 0.7rem;
  color: var(--gray-light);
}

.contact-socials {
  display: flex;
  gap: 8px;
  margin-top: 0.5rem;
}

.contact-socials a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: #f1f5f9;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  transition: all 0.2s;
}

.contact-socials a:hover {
  background: var(--coral);
  color: #fff;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eaeef8;
  padding: 1.75rem;
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.form-control-custom {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  transition: all 0.2s;
  width: 100%;
}

.form-control-custom:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(232,93,74,0.15);
  background: #fff;
  outline: none;
}

label {
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  color: #1e293b;
  display: block;
}

.btn-submit {
  background: var(--coral);
  border: none;
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  width: 100%;
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--coral-light);
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.alert-success-custom,
.alert-error-custom {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

.alert-success-custom {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error-custom {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.availability-card {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid #eaeef8;
}

.availability-icon {
  width: 50px;
  height: 50px;
  background: rgba(232,93,74,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.4rem;
  color: var(--coral);
}

.availability-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.availability-card p {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 0;
}


/*==========================================================================
 Project Details Specific Styles 
=============================================================================*/


    .project-hero {
      background: var(--navy);
      padding: 3rem 0;
      position: relative;
      overflow: hidden;
    }
    
    .project-hero::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 500px;
      height: 500px;
      background: rgba(232,93,74,0.1);
      border-radius: 50%;
    }
    
    .project-breadcrumb {
      margin-bottom: 1.5rem;
    }
    
    .project-breadcrumb a {
      color: var(--text-muted-light);
      text-decoration: none;
      font-size: 0.85rem;
    }
    
    .project-breadcrumb a:hover {
      color: var(--coral);
    }
    
    .project-category-badge {
      display: inline-block;
      background: rgba(232,93,74,0.15);
      color: var(--coral);
      padding: 0.3rem 1rem;
      border-radius: 30px;
      font-size: 0.75rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }
    
    .project-title {
      color: #fff;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      margin-bottom: 1rem;
    }
    
    .project-meta {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      color: var(--text-muted-light);
      font-size: 0.85rem;
    }
    
    .project-meta i {
      color: var(--coral);
      margin-right: 0.5rem;
    }
    
    .project-stats {
      display: flex;
      gap: 2rem;
      margin-top: 1.5rem;
      flex-wrap: wrap;
    }
    
    .project-stat {
      background: rgba(255,255,255,0.05);
      padding: 0.5rem 1rem;
      border-radius: 10px;
      text-align: center;
    }
    
    .project-stat .number {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--coral);
    }
    
    .project-stat .label {
      font-size: 0.7rem;
      color: var(--text-muted-light);
    }
    
    /* Project Gallery */
    .project-gallery {
      margin: 2rem 0;
    }
    
    .gallery-item {
      cursor: pointer;
      overflow: hidden;
      border-radius: 16px;
      transition: all 0.3s ease;
    }
    
    .gallery-item img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    
    .gallery-item:hover img {
      transform: scale(1.05);
    }
    
    .gallery-item video {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    
    /* Project Content Sections */
    .project-section {
      margin-bottom: 3rem;
    }
    
    .project-section h2 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 3px solid var(--coral);
      display: inline-block;
    }
    
    .project-section h3 {
      font-size: 1.2rem;
      font-weight: 600;
      margin: 1.5rem 0 1rem;
    }
    
    .tech-stack-detailed {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin: 1rem 0;
    }
    
    .tech-item {
      background: #f1f5f9;
      padding: 0.5rem 1rem;
      border-radius: 40px;
      font-size: 0.8rem;
      font-weight: 500;
      color: var(--navy);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    
    .tech-item i {
      color: var(--coral);
      font-size: 1rem;
    }
    
    /* Code Block */
    .code-block {
      background: #0f172a;
      border-radius: 12px;
      overflow: hidden;
      margin: 1.5rem 0;
    }
    
    .code-header {
      background: #1e293b;
      padding: 0.5rem 1rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #334155;
    }
    
    .code-header span {
      color: #94a3b8;
      font-size: 0.75rem;
      font-family: monospace;
    }
    
    .copy-btn {
      background: var(--coral);
      border: none;
      color: #fff;
      padding: 0.2rem 0.8rem;
      border-radius: 6px;
      font-size: 0.7rem;
      cursor: pointer;
      transition: all 0.2s;
    }
    
    .copy-btn:hover {
      background: var(--coral-light);
    }
    
    .code-block pre {
      padding: 1.25rem;
      margin: 0;
      overflow-x: auto;
      font-size: 0.8rem;
      line-height: 1.5;
      color: #e2e8f0;
    }
    
    /* Architecture Diagram */
    .architecture-diagram {
      background: #f8fafc;
      border-radius: 20px;
      padding: 1.5rem;
      text-align: center;
      margin: 1.5rem 0;
      border: 1px solid #eaeef8;
    }
    
    .architecture-diagram img {
      max-width: 100%;
      height: auto;
      border-radius: 12px;
    }
    
    /* Feature List */
    .feature-list {
      list-style: none;
      padding: 0;
    }
    
    .feature-list li {
      padding: 0.5rem 0;
      display: flex;
      align-items: center;
      gap: 10px;
      border-bottom: 1px solid #eef2ff;
    }
    
    .feature-list li i {
      color: var(--coral);
      font-size: 1.1rem;
    }
    
    /* Documentation Section */
    .doc-section {
      background: #f8fafc;
      border-radius: 16px;
      padding: 1.5rem;
      margin: 1.5rem 0;
    }
    
    .doc-section h4 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    
    .doc-section p {
      font-size: 0.85rem;
      margin-bottom: 0.5rem;
    }
    
    /* Action Buttons */
    .project-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      margin: 2rem 0 1rem;
      padding: 1.5rem 0;
      border-top: 1px solid #eaeef8;
      border-bottom: 1px solid #eaeef8;
    }
    
    .btn-github {
      background: #24292e;
      color: #fff;
      padding: 0.7rem 1.5rem;
      border-radius: 40px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }
    
    .btn-github:hover {
      background: #2c3136;
      transform: translateY(-2px);
      color: #fff;
    }
    
    .btn-demo {
      background: var(--coral);
      color: #fff;
      padding: 0.7rem 1.5rem;
      border-radius: 40px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s;
    }
    
    .btn-demo:hover {
      background: var(--coral-light);
      transform: translateY(-2px);
      color: #fff;
    }
    
    /* Navigation between projects */
    .project-navigation {
      display: flex;
      justify-content: space-between;
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid #eaeef8;
    }
    
    .nav-prev, .nav-next {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--gray-text);
      transition: all 0.2s;
    }
    
    .nav-prev:hover, .nav-next:hover {
      color: var(--coral);
      transform: translateX(-3px);
    }
    
    .nav-next:hover {
      transform: translateX(3px);
    }
    
    /* Lightbox Modal */
    .lightbox {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.9);
      z-index: 1000;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    
    .lightbox.active {
      display: flex;
    }
    
    .lightbox img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 8px;
    }
    
    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 30px;
      color: #fff;
      font-size: 2rem;
      cursor: pointer;
    }
    
    @media (max-width: 768px) {
      .project-stats {
        gap: 1rem;
      }
      
      .project-stat {
        flex: 1;
        min-width: 80px;
      }
      
      .project-actions {
        flex-direction: column;
      }
      
      .btn-github, .btn-demo {
        text-align: center;
        justify-content: center;
      }
    }

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: var(--navy-dark);
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 2rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
}

.footer-brand span {
  color: var(--coral);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: all 0.2s;
  text-decoration: none;
}

.footer-socials a:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

hr {
  border-color: rgba(255,255,255,0.07);
  margin: 1.25rem 0;
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 42px;
  height: 42px;
  background: var(--coral);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all 0.2s;
}

#scrollTop:hover {
  background: var(--coral-light);
  transform: translateY(-3px);
}

#scrollTop.show {
  display: flex;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .footer-links {
    justify-content: center;
    margin-bottom: 0.75rem;
  }
  
  .footer-socials {
    justify-content: center;
    margin-top: 0.75rem;
  }
  
  .footer-brand {
    text-align: center;
    margin-bottom: 0.75rem;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-socials {
    text-align: center;
  }
  
  .post-title {
    font-size: 1.3rem;
  }
  
  .post-content {
    padding: 1rem;
  }
  
  .filter-btns {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .stats-row {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
}