      :root {
        --primary-blue: #0d6efd;
        --dark-blue: #1e3a8a;
        --accent-yellow: #ffc107;
        --accent-gold: #f59e0b; /* Warm highlight */
        --surface-light: #f8fafc; /* Soft background */
        --surface-card: #ffffff;
        --text-dark: #0f172a;
        --text-muted: #475569;
      }

      /* 1. Prevent "Auto-Zoom" and fix base scale */
      html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        scroll-behavior: smooth;
      }

      body {
        background:
          linear-gradient(
            135deg,
            rgba(30, 64, 175, 0.05),
            rgba(245, 158, 11, 0.06)
          ),
          url("/images/hero-bg.jpg") center / cover no-repeat fixed;
        background-size: cover;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        overflow-x: hidden; /* Prevents horizontal 'jitter' which looks like zoom */
      }

      /* Fix for background zoom issues on mobile/tablets */
      @media (max-width: 992px) {
        body {
          background-attachment: scroll;
        }
      }

      @media (max-width: 768px) {
    .article-container {
        padding: 1.5rem !important; /* Smaller padding for mobile screens */
    }
}
      /* 2. Fluid Navbar Styling */
      .navbar-shadow {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
      }

      .brand-text {
        font-family: "Poppins", sans-serif;
        /* Scales font between 20px and 28px based on screen size */
        font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem);
        font-weight: 800;
        letter-spacing: -0.5px;
        background: linear-gradient(
          135deg,
          var(--dark-blue) 0%,
          var(--primary-blue) 50%,
          var(--accent-yellow) 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        transition: all 0.3s ease;
      }

      .nav-link {
        font-weight: 500;
        transition: all 0.3s ease;
        font-size: 0.95rem;
      }

      .nav-link:hover {
        color: var(--primary-blue) !important;
        transform: translateY(-1px);
      }

      /* 3. Responsive Hero Profile Image */
     .profile-img {
  /* Increased size: scales from 180px on mobile to 280px on large screens */
  width: clamp(180px, 25vw, 280px);
  height: clamp(180px, 25vw, 280px);
  
  object-fit: cover;
  border: 4px solid #fff; /* Slightly thicker border for the larger size */
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); /* Adds depth */
}

/* Ensure the wrapper doesn't restrict the new larger size */
.profile-img-wrapper {
  padding: clamp(6px, 1.5vw, 12px);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  display: inline-block;
}

      /* 4. Glass Effect & Cards */
      .glass-card-home {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 15px;
      }

      .hover-lift {
        transition:
          transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
          box-shadow 0.3s ease;
      }

      .hover-lift:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
      }

      /* 5. Hero Section Utilities */
      .hero-custom-bg {
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        background: url("/images/hero-bg.jpg") center/cover;
      }

      .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
          to right,
          rgba(0, 0, 0, 0.85),
          rgba(0, 0, 0, 0.4)
        );
        z-index: 1;
      }

      /* Accessibility/Utility */
      .mt-4 {
        margin-top: clamp(1.5rem, 4vh, 3rem) !important;
      }

      .button-container {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap; /* Keeps it mobile-friendly */
      }

      .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px; /* Space between icon and text */
        text-decoration: none;
        padding: 12px 24px;
        border-radius: 8px;
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
        font-weight: 600;
        color: white;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      }

      /* Portfolio Button - Primary */
      .btn-portfolio {
        background-color: #ffc107;
      }

      /* GitHub Button - Dark */
      .btn-github {
        background-color: #333;
      }

      /* LinkedIn Button - Professional Blue */
      .btn-linkedin {
        background-color: #0077b5;
      }

      .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        filter: brightness(1.1);
      }

      .btn i {
        font-size: 1.1rem;
      }
      /* Glass Wrapper Enhancement */
      .glass-portfolio-wrapper {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.6);
      }

      /* Tech Category Styling */
      .tech-category-card {
        background: white;
        padding: 1.5rem;
        border-radius: 20px;
        height: 100%;
        border: 1px solid rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
      }

      .highlight-card {
        background: linear-gradient(145deg, #ffffff, #f0f7ff);
        border: 1px solid #0d6efd44;
      }

      .tech-category-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
      }

      .badge {
        font-weight: 600;
        border-radius: 50px;
      }

      .badge.bg-secondary {
        background-color: #e2e8f0 !important;
        color: var(--primary-blue);
      }

      .badge.bg-warning {
        background-color: var(--accent-gold) !important;
        color: #000;
      }

      .badge.bg-primary {
        background-color: var(--primary-blue) !important;
      }

      .tech-badge-container {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 15px;
      }

      .t-badge {
        background: #f1f5f9;
        color: #334155;
        padding: 6px 14px;
        border-radius: 50px;
        font-size: 0.85rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 6px;
        border: 1px solid transparent;
        transition: all 0.2s ease;
      }

      .t-badge:hover {
        background: #e2e8f0;
        border-color: #0d6efd;
        color: #0d6efd;
      }

      /* Pulse effect for "Available" */
      .pulse-dot {
        height: 8px;
        width: 8px;
        background-color: #10b981;
        border-radius: 50%;
        display: inline-block;
        margin-right: 5px;
        animation: pulse 2s infinite;
      }

      @keyframes pulse {
        0% {
          box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
        }
        70% {
          box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
        }
        100% {
          box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        }
      }

      .section {
  padding: 60px 20px;
}
      .section-title {
        font-weight: 800;
        /* color: var(--primary-blue); */
        letter-spacing: -0.5px;
      }

      .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(
          90deg,
          var(--primary-blue),
          var(--accent-gold)
        );
        border-radius: 2px;
      }

      /* .custom-project-card {
              background: #fff;
              border-radius: 20px;
              min-height: 300px;
              height: auto;
              position: relative;
              overflow: visible;
              display: flex;
              flex-direction: column;
              padding: 25px;
              border: 1px solid rgba(0,0,0,0.05);
              box-shadow: 0 10px 30px rgba(0,0,0,0.05);
              transition: all 0.4s ease;
            }
                    .custom-project-card::before {
                        content: "";
                        position: absolute;
                        top: 0; left: 0; width: 100%; height: 100%;
                        background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(13, 110, 253, 0.05) 100%);
                        z-index: -1;
                    }
                    .custom-project-card:hover {
                        transform: translateY(-10px);
                        background: #0d6efd;
                        color: white;
                    }
                    .custom-project-card:hover p, .custom-project-card:hover h4 { color: white; }
                    .custom-project-card:hover:not(.expanded) {
        background: #0d6efd;
        color: white;
      }
                    .project-badge {
                        position: absolute;
                        top: 20px;
                        right: 20px;
                        font-size: 0.7rem;
                        text-uppercase;
                        font-weight: 800;
                        background: #ffc107;
                        padding: 5px 12px;
                        border-radius: 50px;
                        color: #000;
                    }*/
      .project-tools span {
        font-size: 0.75rem;
        margin-right: 10px;
        opacity: 0.7;
        font-weight: 600;
      }

      /* Experience Timeline */
      .career-milestone {
        background: rgba(255, 255, 255, 0.6);
        border-radius: 25px;
        border: 1px solid white;
      }
      .company-logo-circle {
        width: 60px;
        height: 60px;
        background: #0d6efd;
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
      }
      .timeline-steps {
        border-left: 2px dashed #0d6efd;
        margin-left: 30px;
        padding-left: 30px;
      }
      .step {
        position: relative;
        padding-bottom: 25px;
      }
      .step::before {
        content: "";
        position: absolute;
        left: -37px;
        top: 5px;
        width: 12px;
        height: 12px;
        background: #0d6efd;
        border-radius: 50%;
      }

/* ===== Academic Section Upgrade ===== */

.edu-pro {
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.06),
    rgba(245, 158, 11, 0.05)
  );
  border-radius: 20px;
  border: 1px solid rgba(30, 64, 175, 0.25);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.edu-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.edu-pro .edu-icon {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-gold)
  );
  color: white;
  box-shadow: 0 10px 25px rgba(30, 64, 175, 0.35);
}

/* Degree Title */
.edu-pro h5 {
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: -0.3px;
}

/* Specialization Text */
.edu-pro p {
  color: var(--text-muted);
  font-size: 0.95rem;
}
      .bg-soft-primary {
        background-color: #e7f1ff;
      }
      .accordion-item {
        background: var(--surface-card);
        border-radius: 16px;
        margin-bottom: 15px;
        border: 1px solid rgba(30, 64, 175, 0.15);
        overflow: hidden;
      }

      .accordion-button {
        background: linear-gradient(
          135deg,
          rgba(30, 64, 175, 0.08),
          rgba(245, 158, 11, 0.08)
        );
        font-weight: 700;
        color: var(--text-dark);
      }

      .accordion-button:not(.collapsed) {
        background: linear-gradient(
          135deg,
          rgba(30, 64, 175, 0.15),
          rgba(245, 158, 11, 0.15)
        );
        color: var(--primary-blue);
      }

      .accordion-button::after {
        filter: brightness(0.4);
      }

      .accordion-body {
        background: var(--surface-light);
        color: var(--text-dark);
      }

      .accordion-body ul li {
  margin-bottom: 12px; /* Adjust this value for more or less space */
}

/* Optional: remove margin from the last item to keep padding even */
.accordion-body ul li:last-child {
  margin-bottom: 0;
}

      .brand-text-simple {
        background: linear-gradient(
          135deg,
          var(--primary-blue),
          var(--accent-gold)
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
/* ===== Professional Journey Upgrade ===== */

.pro-journey {
  background: linear-gradient(
    135deg,
    rgba(30, 64, 175, 0.08),
    rgba(245, 158, 11, 0.06)
  );
  border-radius: 28px;
  border: 1px solid rgba(30, 64, 175, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}

/* Company Header */
.pro-journey .company-logo-circle {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-gold)
  );
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
}

.pro-journey h3 {
  font-weight: 800;
  color: var(--primary-blue);
}

.pro-journey .badge {
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(30, 64, 175, 0.1);
  color: var(--primary-blue);
}

/* Timeline Enhancement */
.pro-journey .timeline-steps {
  border-left: 3px solid transparent;
  border-image: linear-gradient(
    to bottom,
    var(--primary-blue),
    var(--accent-gold)
  ) 1;
  margin-top: 25px;
}

/* Timeline Step Card */
.pro-journey .step {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
  position: relative;
  transition: all 0.3s ease;
}

.pro-journey .step:hover {
  transform: translateX(6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Timeline Dot */
.pro-journey .step::before {
  background: linear-gradient(
    135deg,
    var(--primary-blue),
    var(--accent-gold)
  );
  box-shadow: 0 0 0 6px rgba(30, 64, 175, 0.15);
}

/* Role Title */
.pro-journey .step strong {
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* Period Text */
.pro-journey .step p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.section-divider {
  width: 100%;
  max-width: 900px;
  height: 1px;
  margin: 30px auto;
  background: linear-gradient(
    to right,
    transparent,
    #6366f1,
    #22c55e,
    transparent
  );
  opacity: 0.8;
}

.section-divider.with-dot {
  position: relative;
}

.section-divider.with-dot::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #6366f1;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.8);
}

/* Typography & Color for Post Content */
.blog-content {
    color: #292929;
    letter-spacing: -0.003em;
    font-size: 1.15rem; 
    line-height: 1.8; 
    color: #2d3436;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.blog-content p {
    margin-bottom: 1.75rem; /* More space between paragraphs */
}
/* Make Links Pop */
.blog-content a {
    color: var(--primary-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.blog-content a:hover {
    color: var(--dark-blue);
}

/* Style Lists (often look boring by default) */
.blog-content ul, .blog-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
}

/* Image Styling - Make them responsive and pretty */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 2.5rem auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Horizontal Rule Styling */
.blog-content hr {
    margin: 3rem 0;
    border: 0;
    border-top: 1px solid #eaeaea;
}

/* Tables Styling (if you use them) */
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-family: sans-serif;
    font-size: 0.9rem;
}

.blog-content th {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    padding: 12px;
    text-align: left;
}

.blog-content td {
    padding: 12px;
    border-bottom: 1px solid #edf2f7;
}

.blog-content h2 {
    font-size: 2.25rem;
    margin-top: 3.5rem;
    color: var(--dark-blue);
}

.blog-content h3 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
}
.blog-content blockquote {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--primary-blue);
    background: rgba(13, 110, 253, 0.05);
    padding: 2rem;
    border-left: 5px solid var(--primary-blue);
    border-radius: 0 15px 15px 0;
    margin: 2.5rem 0;
}

.blog-content > p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 800;
    float: left;
    margin-right: 10px;
    line-height: 1;
    color: var(--primary-blue);
    font-family: "Poppins", sans-serif;
}
/* Style code that isn't in a block (inline code) */
.blog-content :not(pre) > code {
    background-color: #f1f5f9;
    color: #e83e8c;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}
.article-container {
    border: 1px solid rgba(0,0,0,0.05) !important;
    /*max-width: 800px;  Limits characters per line to the "Golden Range" (60-75 chars) */
    margin: 0 auto !important;
    padding: 3rem 4rem !important;
}

@keyframes glowPulse {
  0% { box-shadow: 0 0 5px rgba(255,110,196,0.4); }
  50% { box-shadow: 0 0 20px rgba(37,117,252,0.8); }
  100% { box-shadow: 0 0 5px rgba(255,110,196,0.4); }
}

.btn-kidstale {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;

  background: linear-gradient(270deg, #6a11cb, #2575fc, #ff6ec4);
  background-size: 200% 200%;

  /* Smooth animation */
  animation: glowPulse 2s infinite;

  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Gradient animation */
.btn-kidstale:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(37, 117, 252, 0.6),
              0 0 15px rgba(255, 110, 196, 0.6);
}

/* Icon animation */
.btn-kidstale i {
  transition: transform 0.3s ease;
}

.btn-kidstale:hover i {
  transform: rotate(10deg) scale(1.2);
}