/* =====================================================
   GLOBAL
===================================================== */

.peb-overview {
    position: relative;
    background: linear-gradient(to bottom, #f4f6fa 0%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
  }
  
  /* subtle industrial grid pattern */
  .peb-overview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
  }
  
  .peb-overview .container {
    position: relative;
    z-index: 1;
  }
  
  .section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
  }
  
  /* industrial underline */
  .section-title::after {
    content: "";
    width: 60px;
    height: 4px;
    background: var(--primary);
    display: block;
    margin: 12px auto 0;
    border-radius: 2px;
  }

  .peb-hidden-content {
    display: none;
  }
  
  /* =====================================================
     CARD BASE
  ===================================================== */
  
  .peb-item {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    background: #000;
    transition: all 0.4s ease;
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
 }
  
  .peb-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  }
  
  /* =====================================================
     IMAGE
  ===================================================== */


  .peb-image {
    height: 100%;
    /* display: flex;
    align-items: center;
    justify-content: center; */
  }
  
  .peb-image img {
    /* max-width: 100%;
    max-height: 100%; */
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.6s ease;
  }
  
  .peb-item:hover img {
    transform: scale(1.08);
  }
  
  /* =====================================================
     OVERLAY TITLE
  ===================================================== */
  
  .peb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.7) 25%,
      rgba(0,0,0,0.5) 60%,
      rgba(0,0,0,0.2) 100%
    );
    color: #fff;
  }
  
  .peb-overlay h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
  }
  
  .peb-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    opacity: 0.85;
    transition: 0.3s;
  }
  
  .peb-item:hover .peb-link {
    opacity: 1;
    transform: translateX(6px);
  }


  /* =====================================================
     CONTENT PANEL
  ===================================================== */
  
  .peb-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 25px;
    transition: all 0.5s ease;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .peb-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #111;
  }
  
  .peb-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
  }
  
  /* DESKTOP HOVER */
  .peb-item:hover .peb-content {
    bottom: 0;
  }
  
  /* MOBILE AUTO REVEAL */
  .peb-item.active .peb-content {
    bottom: 0;
  }
  
  /* =====================================================
     ACCENT LINE
  ===================================================== */

  .peb-item {
    cursor: pointer;
  }
  
  .peb-item:active {
    transform: scale(0.98);
  }

  .peb-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      transparent 30%,
      rgba(255,255,255,0.15),
      transparent 70%
    );
    opacity: 0;
    transition: 0.5s;
  }
  
  .peb-item:hover::before {
    opacity: 1;
  }

  .peb-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--primary);
    transition: 0.4s;
  }
  
  .peb-item:hover::after {
    width: 100%;
  }
  
  /* =====================================================
     DETAIL SECTION (FOR LONG CONTENT)
  ===================================================== */
  
  .peb-detail {
    padding: 80px 0;
    border-top: 1px solid #eee;
  }
  
  .peb-detail h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .peb-detail p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
  }

  /* icon */
  .peb-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
  }
  
  /* =====================================================
     RESPONSIVE
  ===================================================== */
  
  /* Large screens */
  @media (min-width: 1200px) {
    .peb-item {
      height: 360px;
    }
  }
  
  /* Tablets */
  @media (max-width: 992px) {
    .section-title {
      font-size: 26px;
    }
  
    .peb-item {
      height: 300px;
    }
  }
  
  /* Mobile */
  @media (max-width: 768px) {
    .peb-item {
      height: 260px;
    }
  
    .peb-overlay h3 {
      font-size: 16px;
    }
  
    .peb-content {
      padding: 20px;
    }
  
    .peb-content p {
      font-size: 13px;
    }
  }
  
  /* Small mobile */
  @media (max-width: 480px) {
    .peb-item {
      height: 240px;
    }
  
    .section-title {
      font-size: 22px;
    }
  }

  /* =============================
  Modal CSS
  ============================= */

  .peb-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .peb-modal.active {
    display: flex;
  }
  
  /* MODAL BOX */
  .peb-modal-box {
    position: relative;
    background: #fff;
    max-height: 90vh;
    padding: 0; 
    max-width: 800px;
    width: 90%;
    border-radius: 14px;
    overflow: hidden; 
    animation: fadeUp 0.4s ease;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  }
  
  /* TITLE */
  .peb-modal-box h2 {
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  /* TEXT */
  .peb-modal-box p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
  }
  
  /* header */
  .peb-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    background: #fafafa;
  }

  /* CLOSE */
  .peb-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 38px;
    height: 38px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s ease;
  }
  
  /* hover */
  .peb-close:hover {
    background: var(--primary);
    transform: rotate(90deg);
  }
  
  /* TEXT */
  .peb-modal-box h2 {
    margin-bottom: 15px;
  }
  
  .peb-modal-box p {
    color: #555;
    line-height: 1.7;
  }
  
  /* ANIMATION */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

 /* NEW LAYOUT */
.peb-modal-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height:100%;
  }
  
  /* IMAGE TOP */
  .peb-modal-image {
    background: #f4f6fa;
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    position: relative;
  }
  
  .peb-modal-image img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
  }
  
  /* CONTENT BELOW */
  .peb-modal-content {
    max-height: 50vh;
    overflow-y: auto;
    padding: 25px 30px;
    border-top: 1px solid #eee;
  
  }
  

  
  /* TYPOGRAPHY */
  .peb-modal-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
  }
  
  .peb-modal-content h3 {
    margin-top: 25px;
    font-size: 18px;
  }
  
  .peb-modal-content p {
    margin-bottom: 12px;
  }
  
  .peb-modal-content ul {
    padding-left: 18px;
  }
  
  .peb-modal-content li {
    margin-bottom: 6px;
  }
  
  /* SCROLLBAR (optional premium touch) */
  .peb-modal-content::-webkit-scrollbar {
    width: 5px;
  }
  
  .peb-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }

  @media (max-width: 768px) {
    .peb-modal-grid {
      grid-template-columns: 1fr;
    }
  
    .peb-modal-image img {
      max-height: 250px;
    }
  }

  /* =============================
  Zoom CSS
  ============================= */
  /* ZOOM CURSOR */
.zoomable {
    cursor: zoom-in;
    transition: 0.3s;
  }
  
  /* FULLSCREEN OVERLAY */
  .image-zoom-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
  }
  
  /* ACTIVE */
  .image-zoom-overlay.active {
    display: flex;
  }
  
  /* ZOOMED IMAGE */
  .image-zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: zoom-out;
    animation: zoomFade 0.3s ease;
  }
  
  /* ANIMATION */
  @keyframes zoomFade {
    from {
      transform: scale(0.8);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  .peb-modal-image::after {
    content: "Click to zoom";
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: #666;
    background: rgba(255,255,255,0.7);
    padding: 3px 8px;
    border-radius: 5px;
  }

  /* =============================
  Applications
  ============================= */
  /* ===== APPLICATION GRID ===== */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  /* ===== CARD ===== */
  .app-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border-left: 2px solid var(--primary);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 0.6px;
    color: var(--text-dark);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    overflow: hidden;
  }

  .app-card:nth-child(even) {
    background: #fafafa;
  }

  /* ICON */
.app-card i {
    font-size: 18px;
    color: #888;
    min-width: 22px;
    transition: 0.3s;
  }

  .app-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary);
  }
  
  /* TEXT */
  .app-card span {
    flex: 1;
  }
  
  
  /* HOVER */
  .app-card:hover {
    transform: translateY(-6px);
    background: #fff;
    color: var(--primary);
    border-left: 2px solid var(--primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }

  
  
  /* animated accent line */
  .app-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: 0.35s;
  }
  
  .app-card:hover::after {
    width: 100%;
  }
  
  /* subtle shine effect */
  .app-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: 0.6s;
  }
  
  .app-card:hover::before {
    left: 100%;
  }

  /* ===== SIDEBAR BASE ===== */

  .sidebar-nav {
    position: relative;
    border-left: var(--primary) 4px solid;
  }

  .sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  
  /* ===== TITLE ===== */
  .widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
  }
  
  .widget-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin-top: 8px;
  }
  
  /* ===== NAV LINKS ===== */
  .services-list {
    list-style: none;
    padding: 0;
    margin: 0;
   
  }
  
  .services-list li {
    margin-bottom: 10px;
  }
  
 .services-list a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  color: var(--text-dark);
  border: 1px solid #eee;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.services-list a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: var(--primary);
    opacity: 0.08;
    transition: 0.3s;
  }
  
  .services-list a:hover {
    color: var(--primary);
    transform: translateX(6px);
    border-color: #ddd;
  }

  .services-list a:hover::before {
    width: 100%;
  }
  
  
  /* ===== ICON ===== */
.services-list a i {
    font-size: 12px;
    transition: 0.3s;
  }
  
  /* arrow animation */
  .services-list a:hover i {
    transform: translateX(6px);
    color: var(--primary);
  }
  
  /* ===== ACTIVE STATE (strong but clean) ===== */
  .services-list a.active {
 background: var(--primary);
     color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  }
  
  /* remove overlay effect on active */
  .services-list a.active::before {
    display: none;
  }
  
  /* active icon */
  .services-list a.active i {
    color: #fff;
  }
  
  /* ===== CONTACT BOX ===== */
  .contact-box {
    background: linear-gradient(135deg, #f5f5f5, #eeeeee);
    border-left: 4px solid var(--primary);
    border-radius: 8px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  
  /* icon */
  .contact-box .icon {
    font-size: 30px;
    margin-bottom: 15px;
    color: rgba(237,28,36,0.8);
    display: inline-block;
    position: relative;
    animation: phonePulse 2s infinite;
  }
  
  /* ring effect */
  .contact-box .icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: ring 2s infinite;
  }
  
  /* subtle shake */
  @keyframes phonePulse {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(10deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(6deg); }
    40% { transform: rotate(-6deg); }
    50% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
  }
  
  /* expanding ring */
  @keyframes ring {
    0% {
      transform: translate(-50%, -50%) scale(0.6);
      opacity: 0.6;
    }
    70% {
      transform: translate(-50%, -50%) scale(1.4);
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }

 
  .contact-box h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .contact-box p {
    font-size: 13px;
    opacity: 0.8;
  }
  
  .contact-btn {
    position: relative;
    display: inline-block;
    margin-top: 18px;
    padding: 12px 26px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  }
  
  /* hover lift */
  .contact-btn:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }
  
  /* shine effect */
  .contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.4),
      transparent
    );
    transition: 0.6s;
  }
  
  .contact-btn:hover::before {
    left: 100%;
  }
  
  /* ===== BROCHURE ===== */
  .brochure-box {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    border-left: 4px solid var(--primary);
    overflow: hidden;
  }
  
  /* subtle industrial line effect */
  .brochure-box::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to left, rgba(0,0,0,0.03), transparent);
  }

 .brochure-box p {
  font-size: 13px;
  margin-bottom: 18px;
  color: var(--text-light);
  line-height: 1.6;
}
.btn-group {
    display: flex;
    gap: 12px;
  }
  
  .btn-primary {
    position: relative;
    background: var(--primary);
    color: #fff;
    padding: 12px 18px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  }
  
  /* hover lift */
  .btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }
  
  /* shine effect */
  .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.4),
      transparent
    );
    transition: 0.6s;
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-outline {
    border: 1px solid #ddd;
    color: var(--text-dark);
    padding: 12px 18px;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    transition: all 0.3s ease;
  }
  
  /* hover */
  .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
  }

  .btn-primary i,
.btn-outline i {
  transition: 0.3s;
}

/* icon slide */
.btn-primary:hover i,
.btn-outline:hover i {
  transform: translateX(4px);
}

/* =====================================
Advantages
===================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  
  /* responsive */
  @media (max-width: 992px) {
    .benefits-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 576px) {
    .benefits-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* CARD */
  .benefit-card {
    background: #fff;
    padding: 22px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    border-left: 3px solid transparent;
  }
  
  /* HOVER */
  .benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    border-left: 3px solid var(--primary);
  }
  
  /* FEATURED CARD */
  .benefit-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #fff, #fff5f5);
    border: 1px solid rgba(237,28,36,0.2);
  }
  
  @media (max-width: 992px) {
    .benefit-card.featured {
      grid-column: span 1;
    }
  }
  
  /* HEADER */
  .benefit-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }
  
  /* ICON */
  .benefit-header i {
    width: 42px;
    height: 42px;
    background: rgba(237,28,36,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 16px;
    transition: 0.3s;
  }
  
  /* ICON HOVER */
  .benefit-card:hover .benefit-header i {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
  }
  
  /* TITLE */
  .benefit-header h3 {
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
    margin: 0;
  }
  
  /* TEXT */
  .benefit-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  /* HIGHLIGHT */
  .highlight-box {
    background: rgba(237,28,36,0.08);
    padding: 10px 12px;
    font-size: 12px;
    border-left: 3px solid var(--primary);
    margin-top: 10px;
  }