/* ============================================
   PORTFOLIO DETAILS PAGE STYLES
   Uses common.css for base styles, typography, and components
============================================ */

/* ============================================
   BANNER SECTION STYLES
============================================ */

.banner-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.banner-content {
  text-align: left;
  color: var(--text-white);
  position: relative;
  z-index: 2;
}

.banner-medium {
  min-height: 60vh;
}

.banner-small {
  min-height: 40vh;
}

/* ============================================
   BREADCRUMB NAVIGATION
============================================ */

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--font-size-14);
  font-weight: 500;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.breadcrumb-nav a:hover {
  color: var(--primary-color);
  opacity: 1;
}

.breadcrumb-nav .separator {
  color: var(--text-light);
  opacity: 0.6;
  font-size: var(--font-size-12);
}

.breadcrumb-nav .current {
  color: var(--text-white);
  font-size: var(--font-size-14);
  font-weight: 600;
}

/* ============================================
   BANNER TAG & CONTENT
============================================ */

.banner-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(21, 105, 253, 0.2);
  border-left: 3px solid var(--primary-color);
  color: var(--text-white);
  font-size: var(--font-size-16);
  font-weight: 600;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-54);
  font-weight: var(--heading-xl-weight);
  line-height: 62px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.3s backwards;
  letter-spacing: -0.5px;
  color: var(--text-white);
}

.banner-title .highlight {
  color: var(--primary-color);
}

.banner-description {
  font-family: var(--mulish);
  font-size: var(--text-lg);
  line-height: 28px;
  color: var(--text-light);
  opacity: 0.85;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.5s backwards;
}

/* ============================================
   GLASS EFFECT PILL BUTTONS
============================================ */

.blog-meta-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  animation: fadeInUp 0.8s ease 0.7s backwards;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--text-white);
  font-size: var(--font-size-14);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Glass Shine Effect */
.pill-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.pill-button:hover::before {
  left: 100%;
}

.pill-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.pill-button i {
  font-size: var(--font-size-14);
  opacity: 0.9;
}

.pill-button strong {
  font-weight: 600;
  color: var(--text-white);
}

/* Primary Pill Variant */
.pill-button.pill-primary {
  background: rgba(21, 105, 253, 0.3);
  border-color: rgba(21, 105, 253, 0.5);
}

.pill-button.pill-primary:hover {
  background: rgba(21, 105, 253, 0.5);
  border-color: rgba(21, 105, 253, 0.7);
}

/* Secondary Pill Variant */
.pill-button.pill-secondary {
  background: rgba(11, 60, 93, 0.3);
  border-color: rgba(11, 60, 93, 0.5);
}

.pill-button.pill-secondary:hover {
  background: rgba(11, 60, 93, 0.5);
  border-color: rgba(11, 60, 93, 0.7);
}

/* ============================================
   BLOG DETAILS LAYOUT (for sidebar support)
============================================ */

.blog-details-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}

.blog-details-main {
  width: 100%;
}

.blog-details-sidebar {
  position: sticky;
  top: 110px;
}

/* ============================================
   WIDGET STYLES
============================================ */

.widget {
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.widget .heading-sm {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: var(--font-size-20);
}

/* Category List Styles */
.category-list {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}

.category-item {
  margin-bottom: 8px;
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #f8f9fa;
  border-radius: 10px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.category-link:hover {
  background: #f0f7ff;
  box-shadow: 0 4px 12px rgba(21, 105, 253, 0.15);
  transform: translateX(4px);
}

.category-link.active {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  color: white;
  box-shadow: 0 6px 16px rgba(21, 105, 253, 0.3);
}

.category-count {
  background: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.category-link.active .category-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Tags Cloud Styles */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-item {
  padding: 8px 16px;
  background: #f8f9fa;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tag-item:hover {
  background: linear-gradient(135deg,
      var(--primary-color),
      var(--secondary-color));
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21, 105, 253, 0.3);
}

/* Share Button Specific Styles for Sidebar */
.widget .share-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.widget .share-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.widget .share-btn:hover {
  background: var(--primary-color) !important;
  color: var(--text-white) !important;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(21, 105, 253, 0.3) !important;
}

.widget .share-btn i {
  font-size: 16px;
}

/* Project Links Button Styles */
.widget .btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  width: 100%;
  margin-bottom: 12px;
}

.widget .btn:last-child {
  margin-bottom: 0;
}

.widget .btn i {
  font-size: var(--font-size-14);
}

/* ============================================
   PROJECT OVERVIEW SECTION
============================================ */

.overview-content .heading-md {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.overview-content .text-lg {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.overview-content .heading-sm {
  color: var(--secondary-color);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.feature-list li {
  font-size: var(--font-size-16);
  color: var(--text-secondary);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.feature-list i {
  color: var(--primary-color);
  font-size: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.challenge-solution {
  margin-top: 25px;
}

.challenge-item {
  padding: 25px;
  background: var(--text-white);
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.challenge-item:last-child {
  margin-bottom: 0;
}

/* ============================================
   PROJECT GALLERY SECTION
============================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(21, 105, 253, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  visibility: visible;
}

.gallery-overlay i {
  font-size: 40px;
  color: var(--text-white);
}

/* ============================================
   RESULTS SECTION
============================================ */

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.result-card {
  background: var(--text-white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
}

.result-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.result-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(21, 105, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.result-card:hover .result-icon {
  background: var(--primary-color);
}

.result-icon i {
  font-size: 36px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.result-card:hover .result-icon i {
  color: var(--text-white);
}

.result-card .heading-md {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: var(--font-size-44);
}

.result-card .text-lg {
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   RELATED PROJECTS SECTION
============================================ */

.related-projects .portfolio-card {
  margin-bottom: 0;
}

/* ============================================
   CTA SECTION
============================================ */

.cta-section {
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content .heading-lg {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.cta-content .text-xl {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background: var(--secondary-color);
  color: var(--text-white);
  border-color: var(--secondary-color);
}

.cta-buttons .btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* ============================================
   ANIMATIONS
============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE STYLES
============================================ */

@media (max-width: 991px) {
  .banner-section {
    min-height: 50vh;
  }

  .banner-title {
    font-size: var(--font-size-44);
    line-height: 52px;
  }

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

  .blog-details-sidebar {
    position: static;
  }

  .overview-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .gallery-grid {
    gap: 15px;
  }

  .gallery-item img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .banner-section {
    min-height: 45vh;
    padding: 6rem 0rem 4rem;
  }

  .banner-title {
    font-size: var(--font-size-36);
    line-height: 44px;
  }

  .banner-description {
    font-size: var(--font-size-16);
  }

  .blog-meta-pills {
    gap: 0.75rem;
  }

  .pill-button {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-13);
  }

  .pill-button i {
    font-size: var(--font-size-13);
  }

  .widget {
    padding: 20px;
  }

  .widget .share-buttons {
    justify-content: space-between;
  }

  .widget .share-btn {
    width: 50px;
    height: 50px;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .banner-section {
    min-height: 40vh;
  }

  .banner-title {
    font-size: var(--font-size-30);
    line-height: 38px;
  }

  .banner-tag {
    font-size: var(--font-size-14);
    padding: 0.4rem 1.2rem;
  }

  .breadcrumb-nav a,
  .breadcrumb-nav .current {
    font-size: var(--font-size-12);
  }

  .blog-meta-pills {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .pill-button {
    padding: 0.625rem 1.25rem;
    font-size: var(--font-size-12);
    width: 100%;
    justify-content: flex-start;
  }

  .pill-button i {
    font-size: var(--font-size-12);
  }

  .feature-list li {
    font-size: var(--font-size-14);
  }

  .challenge-item {
    padding: 20px;
  }

  .result-card {
    padding: 30px 20px;
  }

  .result-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  .result-icon i {
    font-size: 28px;
  }

  .result-card .heading-md {
    font-size: var(--font-size-36);
  }
}

/* Desktop Layout - 3 images first row, 2 centered second row */
.image-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

/* Desktop - First Row: 3 Images */
.grid-item:nth-child(1) {
  grid-column: 1 / 3;
}

.grid-item:nth-child(2) {
  grid-column: 3 / 5;
}

.grid-item:nth-child(3) {
  grid-column: 5 / 7;
}

/* Desktop - Second Row: 2 Images (Centered) */
.grid-item:nth-child(4) {
  grid-column: 2 / 4;
}

.grid-item:nth-child(5) {
  grid-column: 4 / 6;
}

/* Grid Item Styling */
.grid-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Image Container with Fixed Aspect Ratio */
.image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.grid-item:hover img {
  transform: scale(1.08);
}

/* Overlay Effect */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-item:hover .image-overlay {
  opacity: 1;
}

.overlay-icon {
  color: white;
  font-size: 40px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.grid-item:hover .overlay-icon {
  transform: scale(1);
}

/* Medium (md) Screen - Tablet 
           Row 1: 2 images
           Row 2: 1 image (centered)
           Row 3: 2 images
        */
@media (max-width: 992px) and (min-width: 577px) {
  .image-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }

  /* Row 1 - 2 Images */
  .grid-item:nth-child(1) {
    grid-column: 1 / 3;
  }

  .grid-item:nth-child(2) {
    grid-column: 3 / 5;
  }

  /* Row 2 - 1 Image (Centered) */
  .grid-item:nth-child(3) {
    grid-column: 2 / 4;
  }

  /* Row 3 - 2 Images */
  .grid-item:nth-child(4) {
    grid-column: 1 / 3;
  }

  .grid-item:nth-child(5) {
    grid-column: 3 / 5;
  }
}

/* Small (sm) Screen - Mobile
           Each row: 1 image
        */
@media (max-width: 576px) {
  .image-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* All images take full width - 1 per row */
  .grid-item:nth-child(1),
  .grid-item:nth-child(2),
  .grid-item:nth-child(3),
  .grid-item:nth-child(4),
  .grid-item:nth-child(5) {
    grid-column: 1;
  }

  .image-wrapper {
    padding-bottom: 66.67%;
    /* 3:2 Aspect Ratio for mobile */
  }

  .overlay-icon {
    font-size: 32px;
  }
}

/* Magnific Popup Customization */
.mfp-bg {
  background: rgba(0, 0, 0, 0.9);
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 1;
}

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: scale(1);
}

.mfp-close {
  color: #fff !important;
  font-size: 40px !important;
  opacity: 0.8 !important;
}

.mfp-close:hover {
  opacity: 1 !important;
}

.mfp-counter {
  color: #fff;
  font-size: 14px;
}

.mfp-arrow {
  opacity: 0.8 !important;
}

.mfp-arrow:hover {
  opacity: 1 !important;
}

/* Page Title */
.page-title {
  text-align: center;
  margin-bottom: 40px;
}

.page-title h1 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.page-title p {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
}

.layout-info {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.layout-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.layout-info ul {
  list-style: none;
  padding: 0;
}

.layout-info li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid #eee;
}

.layout-info li:last-child {
  border-bottom: none;
}

.layout-info strong {
  color: #333;
  font-weight: 600;
}

        .techs_used_sec {
            position: relative;
        }

        .techs_used_sec::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background:
                radial-gradient(circle at 20% 30%, rgba(21, 105, 253, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(21, 105, 253, 0.06) 0%, transparent 50%);
            pointer-events: none;
        }

        .col-sm-6.stick_top {
            position: sticky;
            top: 100px;
            align-self: flex-start;
        }

        .how_we_left {
            padding: 0 60px 0 20px;
        }

        .how_we_left p {
            font-size: var(--font-size-18);
            line-height: 1.7;
            color: var(--text-secondary);
            margin-bottom: 36px;
        }

        .btn_theme {
            background: linear-gradient(135deg, var(--primary-color) 15%, var(--secondary-color) 150%);
            color: var(--text-white) !important;
            padding: 16px 36px;
            font-size: var(--font-size-16);
            font-weight: 600;
            border: none;
            border-radius: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 4px 20px rgba(21, 105, 253, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .btn_theme:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 30px rgba(21, 105, 253, 0.4);
            background: linear-gradient(135deg, var(--secondary-color) 150%, var(--primary-color) 10%);
        }

        .btn_theme:active {
            transform: translateY(0);
        }

        .langs_wraper {
            position: relative;
        }

        .langs_wraper .row {
            display: flex;
            flex-wrap: wrap;
        }

        .langs_wraper .col-sm-6 {
            display: flex;
        }

        .card_lang {
            padding: 30px 20px;
            margin: 12px 0;
            box-shadow: 0 0 12px 2px rgba(21, 105, 253, 0.08);
            background: var(--text-white);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
            width: 100%;
            display: flex;
            flex-direction: column;
        }

        .card_lang::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--primary-color);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .card_lang:hover {
            transform: translateY(-6px);
            box-shadow:
                0 4px 16px rgba(9, 185, 255, 0.08),
                0 16px 48px rgba(181, 214, 230, 0.15);
            /* border-color: var(--primary-color); */
        }

        .card_lang:hover::before {
            transform: scaleX(1);
        }

        .icWrapTech {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 16px;
        }

        .card_lang img {
            width: 56px !important;
            height: 56px !important;
            object-fit: contain;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            padding: 12px !important;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .card_lang:hover img {
            transform: rotate(5deg) scale(1.05);
        }

        .card_lang h5 {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: var(--font-size-18);
            margin: 0;
            color: var(--text-dark);
            letter-spacing: -0.01em;
        }

        .card_lang p {
            color: var(--text-secondary);
            font-size: var(--font-size-15);
            line-height: 1.6;
            margin: 0;
        }

        /* Stagger animation on load */
        @keyframes cardFadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .card_lang {
            animation: cardFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
        }

        /* Stagger delays for cards */
        .col-sm-6:nth-child(1) .card_lang {
            animation-delay: 0.05s;
        }

        .col-sm-6:nth-child(2) .card_lang {
            animation-delay: 0.1s;
        }

        .col-sm-6:nth-child(3) .card_lang {
            animation-delay: 0.15s;
        }

        .col-sm-6:nth-child(4) .card_lang {
            animation-delay: 0.2s;
        }

        .col-sm-6:nth-child(5) .card_lang {
            animation-delay: 0.25s;
        }

        .col-sm-6:nth-child(6) .card_lang {
            animation-delay: 0.3s;
        }

        .col-sm-6:nth-child(7) .card_lang {
            animation-delay: 0.35s;
        }

        .col-sm-6:nth-child(8) .card_lang {
            animation-delay: 0.4s;
        }

        .col-sm-6:nth-child(9) .card_lang {
            animation-delay: 0.45s;
        }

        .col-sm-6:nth-child(10) .card_lang {
            animation-delay: 0.5s;
        }

        /* ============================================
           RESPONSIVE BREAKPOINTS
           ============================================ */

        /* Large Tablets & Small Desktops (992px - 1199px) */
        @media (max-width: 1199px) {
            .how_we_left {
                padding: 0 40px 0 20px;
            }

            .card_lang {
                padding: 26px 18px;
            }

            .card_lang h5 {
                font-size: 17px;
            }

            .card_lang p {
                font-size: 14px;
            }
        }

        /* Tablets (768px - 991px) */
        @media (max-width: 991px) {
            .portfolio-section-heading-left_wrapper {
                margin: 0 !important;
            }
            
       

            /* Keep sticky but adjust top position */
            .col-sm-6.stick_top {
                position: sticky;
                top: 80px;
                align-self: flex-start;
            }

            .how_we_left {
                padding: 0 30px 0 20px;
            }

            .how_we_left p {
                font-size: 16px;
                margin-bottom: 30px;
            }

            .col-md-6.tech_column.mt-5 {
                margin-top: 0 !important;
            }

            .card_lang {
                padding: 24px 20px;
                margin: 10px 0;
            }
        }

        /* Small Tablets (576px - 767px) */
        @media (max-width: 767px) {
           

            /* Keep sticky with adjusted top */
            .col-sm-6.stick_top {
                position: sticky;
                top: 60px;
                align-self: flex-start;
            }

            .how_we_left {
                padding: 0 20px 0 15px;
            }

            .how_we_left p {
                font-size: 15px;
                margin-bottom: 24px;
            }

            .btn_theme {
                padding: 14px 28px;
                font-size: 14px;
            }

            .card_lang {
                padding: 22px 18px;
                margin: 8px 0;
            }

            .card_lang img {
                width: 48px !important;
                height: 48px !important;
                padding: 10px !important;
            }

            .icWrapTech {
                gap: 14px;
                margin-bottom: 14px;
            }

            .card_lang h5 {
                font-size: 16px;
            }

            .card_lang p {
                font-size: 13px;
                line-height: 1.5;
            }

            .col-md-6.tech_column {
                margin-bottom: 0;
            }
        }

        /* Mobile Devices (576px and below) - REMOVE STICKY */
        @media (max-width: 576px) {
         
            /* Remove sticky positioning */
            .col-sm-6.stick_top {
                position: relative;
                top: 0;
                margin-bottom: 30px;
            }

            .how_we_left {
                padding: 0 15px 0 10px;
            }

            .how_we_left p {
                font-size: 14px;
                margin-bottom: 20px;
                line-height: 1.6;
            }

            .btn_theme {
                padding: 12px 24px;
                font-size: 13px;
                width: 100%;
                justify-content: center;
            }

            .card_lang {
                padding: 20px 16px;
                margin: 6px 0;
            }

            .card_lang img {
                width: 44px !important;
                height: 44px !important;
                padding: 9px !important;
                border-radius: 10px;
            }

            .icWrapTech {
                gap: 12px;
                margin-bottom: 12px;
            }

            .card_lang h5 {
                font-size: 15px;
            }

            .card_lang p {
                font-size: 12px;
                line-height: 1.5;
            }

            .card_lang:hover {
                transform: translateY(-4px);
            }
        }

        /* Extra Small Mobile (320px - 479px) */
        @media (max-width: 479px) {
         

            /* Ensure sticky is removed */
            .col-sm-6.stick_top {
                position: relative;
                top: 0;
                margin-bottom: 25px;
            }

            .how_we_left {
                padding: 0 12px 0 8px;
            }

            .how_we_left p {
                font-size: 13px;
                margin-bottom: 18px;
            }

            .btn_theme {
                padding: 11px 20px;
                font-size: 12px;
            }

            .card_lang {
                padding: 18px 14px;
                margin: 5px 0;
                border-radius: 10px;
            }

            .card_lang img {
                width: 40px !important;
                height: 40px !important;
                padding: 8px !important;
                border-radius: 8px;
            }

            .icWrapTech {
                gap: 10px;
                margin-bottom: 10px;
            }

            .card_lang h5 {
                font-size: 14px;
            }

            .card_lang p {
                font-size: 11px;
                line-height: 1.4;
            }
        }

        /* Very Small Devices (up to 360px) */
        @media (max-width: 360px) {
         
            /* Ensure sticky is removed */
            .col-sm-6.stick_top {
                position: relative;
                top: 0;
                margin-bottom: 20px;
            }

            .container {
                padding-left: 12px;
                padding-right: 12px;
            }

            .how_we_left {
                padding: 0 10px 0 5px;
            }

            .how_we_left p {
                font-size: 12px;
            }

            .card_lang {
                padding: 16px 12px;
            }

            .card_lang img {
                width: 36px !important;
                height: 36px !important;
            }

            .card_lang h5 {
                font-size: 13px;
            }

            .card_lang p {
                font-size: 10.5px;
            }
        }