@font-face {
    font-family: 'Helvetica Now Display';
    src: url('https://devs.pearl-developer.com/fonts/HelveticaNowDisplay-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

 :root {
      --primary:    #01388a;
      --primary-dark:#01388a;
      --dark:       #0f111a;
      --dark-900:   #0a0e17;
      --gray-800:   #1e293b;
      --gray-700:   #374151;
      --gray-600:   #4b5563;
      --gray-500:   #6b7280;
      --gray-300:   #d1d5db;
      --gray-200:   #e5e7eb;
      --light:      #f8f9ff;
      --gradient:   linear-gradient(135deg, #01388a 0%, #01388a 100%);
      /* Override Bootstrap's primary so .text-primary / .btn-primary / .bg-primary etc. match the brand */
      --bs-primary: #01388a;
      --bs-primary-rgb: 1, 56, 138;
      --bs-link-color: #01388a;
      --bs-link-color-rgb: 1, 56, 138;
      --bs-link-hover-color: #01285f;
      --bs-link-hover-color-rgb: 1, 40, 95;
    }


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

    body {
     font-family: 'Helvetica Now Display', sans-serif;
      background: white;
      color: #1e293b;
      line-height: 1.65;
      font-weight: 400;
    }
section {
  scroll-margin-top: 80px;
}
    h1, h2, h3, h4, h5, h6 {
      font-weight: 700;
      color: #0f172a;
    }

    a { transition: all 0.25s ease; }

    /* ─── Navbar ─────────────────────────────────────── */
    .navbar-main {
      background: rgba(255,255,255,0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(226,232,240,0.8);
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
  
      transition: all 0.3s;
    }


    .navbar-main.scrolled {
      box-shadow: 0 6px 25px rgba(0,0,0,0.08);
    }

    .nav-link-custom {
      font-weight: 500;
      color: #1e293b !important;
      padding: 0.7rem 1.2rem !important;
      border-radius: 8px;
      text-decoration: none !important;
    }

    .nav-link-custom:hover,
    .nav-link-custom.active {
      color: var(--primary) !important;
      background: rgba(59,91,239,0.08);
    }

    .btn-talk {
      background: var(--primary);
      color: white;
      font-weight: 600;
      border-radius: 50rem;
      padding: 0.65rem 1.6rem;
      transition: all 0.3s;
    }

    .btn-talk:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
    }

    /* ─── Hero ───────────────────────────────────────── */
    #home {
      padding: 180px 0 140px;
      background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    }

    .hero-title {
      font-size: 2.75rem;
      font-weight: 800;
      line-height: 1.08;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin-bottom: 1.6rem;
    }

    .hero-lead {
      font-size: clamp(1.2rem, 3vw, 1.25rem);
      color: var(--gray-600);
      max-width: 720px;
      margin: 0 auto 2.4rem;
    }

    .hero-image {
      border-radius: 20px;
      box-shadow: 0 30px 70px -20px rgba(59,91,239,0.25);
      transform: perspective(1400px) rotateY(5deg);
      transition: transform 0.7s ease;
    }

    .hero-image:hover {
      transform: perspective(1400px) rotateY(2deg) scale(1.015);
    }

    /* ─── Section Titles ─────────────────────────────── */
    .section-heading {
      font-size: 2.75rem;
      font-weight: 800;
      margin: 2rem 0px;
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* ─── Cards ──────────────────────────────────────── */
    .feature-card {
      border: none;
      border-radius: 16px;
      background: white;
      box-shadow: 0 12px 40px rgba(0,0,0,0.07);
      transition: all 0.4s ease;
      overflow: hidden;
      height: 100%;
    }

    .feature-card:hover {
      transform: translateY(-14px);
      box-shadow: 0 30px 70px rgba(59,91,239,0.18);
    }

    .card-img {
      height: 275px;
      object-fit: cover;
    }

    .tag-pill {
      font-size: 0.82rem;
      font-weight: 700;
      padding: 0.4rem 1.1rem;
      border-radius: 50rem;
      display: inline-block;
      margin-bottom: 1rem;
    }

    .tag-blue  { background:#e0e7ff; color:#01388a; }
    .tag-teal  { background:#ccfbf1; color:#0f766e; }

    /* ─── Footer ─────────────────────────────────────── */
    footer {
      background: var(--dark-900);
      color: #cbd5e1;
      padding: 6rem 0 3.5rem;
    }

    .social-icon {
      color: #94a3b8;
      font-size: 1.8rem;
      margin-right: 1.8rem;
      transition: color 0.3s;
    }

    .social-icon:hover {
      color: var(--primary);
    }

    /* ─── Cookie & Popup ─────────────────────────────── */
    .cookie-banner {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 92%;
      max-width: 1100px;
      background: rgba(15,17,26,0.94);
      backdrop-filter: blur(10px);
      color: white;
      padding: 1.4rem 2rem;
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.4);
      z-index: 9999;
      display: none;
      align-items: center;
      justify-content: space-between;
      border: 1px solid rgba(255,255,255,0.1);
    }

    .floating-info-btn {
      position: fixed;
      bottom: 30px;
      left: 30px;
      width: 60px;
      height: 60px;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 50%;
      font-size: 1.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 30px rgba(59,91,239,0.35);
      z-index: 9998;
      cursor: pointer;
      transition: all 0.3s;
    }

    .floating-info-btn:hover {
      transform: scale(1.1);
    }

    .info-popup {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(4px);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }

    .popup-content {
      background: white;
      max-width: 620px;
      width: 100%;
      border-radius: 16px;
      padding: 2.2rem;
      position: relative;
      box-shadow: 0 25px 60px rgba(0,0,0,0.3);
      max-height: 90vh;
      overflow-y: auto;
    }

    .close-popup {
      position: absolute;
      top: 16px;
      right: 20px;
      font-size: 1.8rem;
      color: #64748b;
      cursor: pointer;
    }

    /* Responsive */
    @media (max-width: 991px) {
      #home { padding: 140px 0 100px; }
      .navbar-brand img { height: 56px !important; width: auto !important; }
      .cookie-banner { flex-direction: column; text-align: center; bottom: 0; border-radius: 16px 16px 0 0; }
    }

    @media (max-width: 767px) {
      .hero-title { font-size: 2.75rem; }
      .hero-lead { font-size: 1.18rem; }
      .card-img { height: 190px; }
      .section-heading { font-size: 2rem; margin-bottom: 2.5rem; }
      .reverse{
             flex-direction: column-reverse !important;
      }
    }
    footer a{
      text-decoration: none;
    }
        .read-more-btn {
      display: inline-flex;
      align-items: center;
      background: transparent;
      border: 1px solid #01388a;           /* matches primary color */
      color: #01388a;
      font-weight: 500;
      font-size: 0.95rem;
      padding: 0.35rem 1rem;
      border-radius: 50px;                  /* pill shape */
      transition: all 0.25s ease;
      text-decoration: none;
    }
    .read-more-btn:hover {
      background: #01388a;
      color: white;
      border-color: #01388a;
      transform: translateY(-1px);
    }
    .badge-ai {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 700;
      padding: 6px 14px;
      border-radius: 50px;
      background: #eef2ff;
      color: var(--primary-color);
      display: inline-block;
      margin-bottom: 15px;
    }
    .main-section{
      margin-top: 10rem;
      margin-bottom: 3rem;
    }
    .read-more-btn:active {
      transform: translateY(0);
    }
    .short-desc { margin-bottom: 0.75rem !important; }
    .full-desc { transition: opacity 0.3s ease; }
    .btn-talk:hover{
      color: #fff !important;
    }

    /* company logo layout */
    :root {
  --slider-speed: 30s; /* Adjust speed here */
}

.logo-slider-container {
  padding: 60px 0;
  background: #f8f9fa; /* Match your site background */
  overflow: hidden;
}

.logo-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* The Faded Edge Effect */
.logo-slider::before,
.logo-slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}

/* The Track that moves */
.logo-track {
  display: flex;
  width: max-content; /* Critical: allows content to grow horizontally */
  animation: scroll var(--slider-speed) linear infinite;
}

/* Pause on hover */
.logo-track:hover {
  animation-play-state: paused;
}

.logo-item {
  padding: 0 40px; /* Space between logos */
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-height: 60px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* The Animation */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* We will calculate this precisely via JS or use -50% if we clone once */
    transform: translateX(-50%);
  }
}


  .ls-2 { letter-spacing: 2px; }

  .premium-member-wrap {
    position: relative;
    padding-bottom: 120px; /* Space for the overlapping card */
  }

  .member-img-area {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #f1f5fb 0%, #e2e8f0 100%);
  }

  .member-img-area img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    object-position: center top;
    display: block;
  }

  /* Overlay on hover */
  .member-img-area::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .premium-member-wrap:hover .member-img-area img {
    transform: scale(1.08);
  }

  .premium-member-wrap:hover .member-img-area::after {
    opacity: 1;
  }

  /* Social Icons Slide-in */
  .member-social-slide {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s ease;
  }

  .premium-member-wrap:hover .member-social-slide {
    opacity: 1;
    transform: translateX(0);
  }

  .member-social-slide a {
    width: 38px;
    height: 38px;
    background: white;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }

  .member-social-slide a:hover {
    background: #008080;
    color: white;
  }

  .member-social-slide a.tw-x {
    background: #01388a; /* Matches blue seen in your reference */
    color: white;
  }

  /* Floating Card Styling */
  .member-card-info {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    background: white;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    z-index: 5;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
  }

  .premium-member-wrap:hover .member-card-info {
    transform: translateY(-5px);
  }

  .role-badge {
    font-size: 0.75rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

 
  .edu-text {
    font-size: 0.90rem;
    color: #495057;
    font-weight: 500;
    
  }

  .exp-footer {
    border-top: 1px solid #f1f1f1;
    padding-top: 10px;
    margin-top: auto;
  }

  .exp-footer strong {
    color: #212529;
  }

  /* Mobile Adjustments */
  @media (max-width: 768px) {
    .premium-member-wrap { margin-bottom: 40px; }
    .member-card-info { position: relative; bottom: 0; left: 0; right: 0; margin-top: -30px; }
  }



  .ls-2 { letter-spacing: 2px; }
  .text-teal { color: #008080; }

  .sector-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
    border-top: 4px solid #28a745; /* Logic Color */
  }

  /* Different Top Border Colors per your image */
  .border-top-power { border-top-color: #20c997; }
  .border-top-photonics { border-top-color: #17a2b8; }
  .border-top-quantum { border-top-color: #6f42c1; }

  /* Background Image Styling */
  .sector-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0.7;
  }

  .sector-card:hover .sector-bg {
    transform: scale(1.1);
    opacity: 0.5;
  }

  /* Gradient Overlay */
  .sector-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.9) 100%); */
    z-index: 1;
  }

  /* Content Styling */
  .sector-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.4s ease;
  }

  .sector-icon {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    transform: translateY(0);
    transition: transform 0.4s ease;
  }

  .sector-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  /* Hidden Details (Slide from bottom) */
  .sector-details {
    max-height: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .sector-details p {
    color: #00d1d1; /* High contrast technical blue */
    font-weight: 600;
    font-style: italic;
    font-size: 1rem;
  }

  /* Hover States */
  .sector-card:hover .sector-details {
    max-height: 50px;
    opacity: 1;
    transform: translateY(0);
  }

  .sector-card:hover .sector-content {
    padding-bottom: 40px;
  }

  .sector-card:hover .sector-icon {
    transform: translateY(-10px);
    color: #00d1d1;
  }

  /* Technology cards: collapsible description (10-line preview + chevron toggle) */
  .tech-desc {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Fallback for any browser that doesn't honour line-clamp on this element */
    max-height: 16em;
  }
  .tech-desc.expanded {
    display: block;
    -webkit-line-clamp: unset;
    max-height: none;
    overflow: visible;
  }
  .tech-toggle {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .tech-toggle.expanded {
    transform: rotate(180deg);
  }
  .tech-toggle:focus {
    outline: none;
  }
