
         /* Certification Section Styles */
        .modern-certificates {
            padding: 100px 0;
            background: linear-gradient(135deg, #66ea9b 0%, #4b94a2 100%);
            position: relative;
            overflow: hidden;
        }

        .modern-certificates::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cert-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cert-pattern)"/></svg>');
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            margin-bottom: 15px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            max-width: 600px;
            margin: 0 auto;
        }

        .cert-showcase {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        /* Certificate Display Area */
        .cert-display {
            position: relative;
        }

        .cert-frame {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            padding: 30px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.2);
            position: relative;
            overflow: hidden;
        }

        .cert-frame::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
        }

        .cert-slider-container {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            aspect-ratio: 0.707;
            background: white;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        .cert-slides {
            display: flex;
            height: 100%;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .cert-slide {
            min-width: 100%;
            position: relative;
            overflow: hidden;
        }

        .cert-slide img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: white;
            transition: transform 0.3s ease;
        }

        .cert-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: flex-start;
            justify-content: flex-end;
            padding: 20px;
        }

        .cert-slide:hover .cert-overlay {
            opacity: 1;
        }

        .cert-slide:hover img {
            transform: scale(1.02);
        }

        .cert-badge {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: 600;
            color: #667eea;
            font-size: 0.9rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Navigation */
        .cert-navigation {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 -15px;
            pointer-events: none;
        }

        .nav-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            color: #667eea;
            font-size: 18px;
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: all;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-btn:hover {
            background: white;
            transform: scale(1.1);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .prev-btn {
            transform: translateX(-25px);
        }

        .next-btn {
            transform: translateX(25px);
        }

        /* Progress Indicators */
        .cert-indicators {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-top: 25px;
        }

        .indicator {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }

        .indicator.active {
            background: white;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
        }

        .indicator:hover {
            background: rgba(255, 255, 255, 0.7);
            transform: scale(1.2);
        }

        /* Certificate Information Panel */
        .cert-info-panel {
            display: flex;
            align-items: center;
        }

        .cert-card {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            padding: 40px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
            width: 100%;
            position: relative;
            overflow: hidden;
        }

        .cert-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #667eea, #764ba2);
        }

        .cert-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .cert-icon {
            width: 50px;
            height: 50px;
            border-radius: 15px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }

        .cert-standard {
            background: linear-gradient(135deg, #667eea, #764ba2);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .cert-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: #2c3e50;
            margin-bottom: 10px;
        }

        .cert-issuer {
            color: #7f8c8d;
            font-size: 1rem;
            margin-bottom: 25px;
        }

        .cert-details-grid {
            display: grid;
            gap: 15px;
            margin-bottom: 25px;
        }

        .detail-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .detail-label {
            font-weight: 600;
            color: #5a6c7d;
        }

        .detail-value {
            font-weight: 500;
            color: #2c3e50;
        }

        .cert-description {
            margin-bottom: 30px;
        }

        .cert-description p {
            color: #5a6c7d;
            line-height: 1.6;
            font-size: 1rem;
        }

        .cert-actions {
            display: flex;
            gap: 15px;
        }    
        /* Responsive Design */
        @media (max-width: 1200px) {
            .cert-showcase {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .modern-certificates {
                padding: 60px 0;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .cert-frame {
                padding: 20px;
            }
            
            .cert-card {
                padding: 25px;
            }
            
            .cert-actions {
                flex-direction: column;
            }
            
            .nav-btn {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }
        }
        section {
            padding: 60px 10%;
        }
        h1, h2 {
            color: #004466;
            font-weight: 700;
            margin-bottom: 15px;
        }
        h1 span {
            color: #009688;
        }
        p {
            margin-bottom: 15px;
            font-size: 1.05rem;
        }
        .highlight {
            background: #e0f7fa;
            padding: 10px 15px;
            border-left: 4px solid #009688;
            margin: 25px 0;
            border-radius: 6px;
        }
        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 25px;
        }
        .card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
            padding: 20px;
            transition: 0.3s;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .industries {
            margin-top: 40px;
        }
        .industries ul {
            list-style: none;
            padding: 0;
            columns: 2;
        }
        .industries ul li {
            margin-bottom: 12px;
            padding-left: 25px;
            position: relative;
        }
        .industries ul li::before {
            content: "✔";
            position: absolute;
            left: 0;
            color: #009688;
            font-weight: bold;
        }


  /* ---- Scoped root for this section only ---- */
    .products-section {
      --products-bg: #f6f8fb;
      --products-accent: #00b4d8;
      --products-accent-dark: #0096c7;
      --card-radius: 16px;
      --card-height: 380px; /* change if you want taller cards */
      font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
      background: var(--products-bg);
      padding: 64px 20px;
      box-sizing: border-box;
    }

    .products-container {
      max-width: 1450px;
      margin: 0 auto;
      text-align: center;
    }

    .products-title {
      margin: 0 0 6px;
      font-size: 2.4rem;
      font-weight: 700;
      color: #111;
      letter-spacing: .2px;
    }

    .products-subtitle {
      margin: 0 auto 34px;
      max-width: 880px;
      color: #555;
      line-height: 1.55;
      font-size: 1rem;
    }

    /* grid */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 26px;
      align-items: stretch;
    }

    /* card */
    .products-card {
      position: relative;
      overflow: hidden;
      border-radius: var(--card-radius);
      background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
      box-shadow: 0 8px 28px rgba(16,24,40,0.06);
      cursor: pointer;
      transition: transform .36s cubic-bezier(.22,.9,.3,1), box-shadow .36s ease;
      height: var(--card-height);
      will-change: transform;
      outline: none; /* focus styled separately */
    }

    /* keyboard focus treated like hover */
    .products-card:focus {
      box-shadow: 0 18px 48px rgba(16,24,40,0.12);
      transform: translateY(-8px);
    }

    .products-card:hover,
    .products-card:focus {
      transform: translateY(-8px);
      box-shadow: 0 18px 48px rgba(16,24,40,0.12);
    }

    /* media (background image) */
    .products-card-media {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transform-origin: center;
      transition: transform .7s cubic-bezier(.2,.9,.3,1), filter .45s ease;
      will-change: transform;
      filter: saturate(0.98) contrast(0.95);
    }

    /* subtle dark pulse layer on top of image for contrast */
    .products-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.55) 100%);
      opacity: 0.45;
      pointer-events: none;
      transition: opacity .36s ease, transform .36s ease;
    }

    .products-card:hover::after,
    .products-card:focus::after {
      opacity: 0.6;
      transform: scale(1.02);
    }

    /* info area (title always visible) */
    .products-card-info {
      position: absolute;
      left: 0; right: 0;
      bottom: 0;
      padding: 18px 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
      /* start as small "strip" showing title; expand on hover via max-height */
      max-height: 110px;
      background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.28));
      transition: max-height .45s cubic-bezier(.2,.9,.3,1), background .36s ease, padding .36s ease;
      box-sizing: border-box;
    }

    /* expanded on hover/focus to reveal description & CTA */
    .products-card:hover .products-card-info,
    .products-card:focus .products-card-info {
      max-height: 100%;
      padding: 28px 24px;
      background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.55));
    }

    /* title (always visible) */
    .products-card-title {
      margin: 0;
      color: #fff;
      font-size: 1.25rem;
      font-weight: 700;
      text-shadow: 0 4px 18px rgba(0,0,0,0.4);
      line-height: 1.05;
      z-index: 2;
      /* ensure the title is readable before hover */
    }

    /* description + CTA are hidden initially (opacity/transform) */
    .products-card-desc,
    .products-card-cta {
      opacity: 0;
      transform: translateY(8px);
      transition: opacity .42s ease .06s, transform .42s cubic-bezier(.2,.9,.3,1) .06s;
      color: #e9f6fb;
    }

    /* reveal on hover */
    .products-card:hover .products-card-desc,
    .products-card:focus .products-card-desc,
    .products-card:hover .products-card-cta,
    .products-card:focus .products-card-cta {
      opacity: 1;
      transform: translateY(0);
    }

    .products-card-desc {
      font-size: .96rem;
      margin: 0;
      line-height: 1.45;
      max-width: 100%;
      text-shadow: 0 3px 10px rgba(0,0,0,0.35);
      color: rgba(255,255,255,0.95);
    }

    .products-card-cta {
      display: inline-block;
      margin-top: 6px;
      padding: 10px 18px;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 600;
      font-size: .95rem;
      background: linear-gradient(90deg, var(--products-accent), var(--products-accent-dark));
      color: #fff;
      box-shadow: 0 6px 18px rgba(0,180,216,0.18);
      transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
    }

    .products-card-cta:hover {
      transform: translateY(-3px);
      box-shadow: 0 12px 26px rgba(0,180,216,0.22);
      background: linear-gradient(90deg, var(--products-accent-dark), #007fae);
    }

    /* image scale on hover */
    .products-card:hover .products-card-media,
    .products-card:focus .products-card-media {
      transform: scale(1.18) rotate(.6deg);
      filter: saturate(1.05) contrast(1.02);
    }

    /* small focus ring for accessibility */
    .products-card:focus {
      box-shadow: 0 10px 36px rgba(0,120,180,0.12), 0 0 0 4px rgba(0,180,216,0.08);
    }

    /* subtle corner highlight */
    .products-card::before {
      content: "";
      position: absolute;
      right: -60%;
      top: -60%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle at 30% 20%, rgba(0,180,216,0.06), transparent 20%),
                  radial-gradient(circle at 80% 80%, rgba(0,180,216,0.03), transparent 30%);
      pointer-events: none;
      transition: opacity .4s ease;
    }

    /* mobile adjustments */
    @media (max-width: 720px) {
      .products-section { padding: 36px 14px; }
      .products-card { height: 320px; }
      .products-card-info { max-height: 120px; padding: 16px; }
      .products-card:hover .products-card-info,
      .products-card:focus .products-card-info { padding: 20px; }
      .products-card-title { font-size: 1.05rem; }
      .products-card-desc { font-size: .92rem; }
    }
       
/* Subcategory Slider */
.subcategory-slider-section {
  width: 100%;
  overflow: hidden;
  background: #f8f9fb; /* Light background */
  padding: 40px 0;
}

.subcategory-slider {
  overflow: hidden;
}

.subcategory-slide-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: slide-left 25s linear infinite;
}

.subcategory-slide {
  flex: 0 0 auto;
  width: 280px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  text-align: center;
  padding: 18px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.subcategory-slide img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: transform 0.5s ease;
}

.subcategory-slide h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.subcategory-slide p {
  font-size: 0.9rem;
  color: #555;
}

.subcategory-slide:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.subcategory-slide:hover img {
  transform: scale(1.1);
}

/* Infinite scroll animation */
@keyframes slide-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section title */
.slider-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}