/* ============================================
   TECHNOLOGY PARTNERS — Papyrus Software
   Photo hero with overlay, light card design
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap");

:root {
  --tp-primary: #6bb8be;
  --tp-primary-dk: #5aa8ae;
  --tp-primary-lt: rgba(107, 184, 190, 0.08);
  --tp-primary-glow: rgba(107, 184, 190, 0.3);
  --tp-navy: #1e293b;
  --tp-navy-deep: #0f172a;
  --tp-text: #1e293b;
  --tp-text-2: #475569;
  --tp-text-3: #94a3b8;
  --tp-bg: #f8fafc;
  --tp-white: #ffffff;
  --tp-border: #e2e8f0;
  --tp-r: 14px;
  --tp-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
.contactus, .oh24btn, #go_up, .icon-chevron-up { display: none !important; }


/* ============================================
   HERO — photo background with overlay
   ============================================ */
.tp-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--tp-navy);
}
.tp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tp-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(30, 41, 59, 0.92) 0%,
    rgba(45, 55, 72, 0.82) 40%,
    rgba(55, 65, 81, 0.6) 70%,
    rgba(100, 116, 139, 0.35) 100%
  );
}
.tp-hero__inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 50px;
}
.tp-hero__content {
  max-width: 680px;
}
.tp-hero h1 {
  font-family: "Montserrat", sans-serif !important;
  font-size: 2.8rem !important;
  color: #fff !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2) !important;
}
.tp-hero__subtitle {
  font-size: 2rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 !important;
}


/* ============================================
   PARTNER CARDS SECTION
   ============================================ */
.tp-partners {
  background: var(--tp-bg);
  padding: 52px 0 72px;
}

/* Featured partners (IBM + AWS) — two equal cards side by side */
.tp-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

/* Partner grid — 3 columns */
.tp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


/* ============================================
   PARTNER CARD
   ============================================ */
.tp-card {
  background: var(--tp-white);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.35s var(--tp-ease),
    box-shadow 0.35s var(--tp-ease),
    border-color 0.35s var(--tp-ease);
}
.tp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
  border-color: rgba(107, 184, 190, 0.3);
}

/* Logo area */
.tp-card__logo-area {
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(107, 184, 190, 0.03) 0%, transparent 100%);
  border-bottom: 1px solid var(--tp-border);
  min-height: 120px;
}
.tp-card__logo {
  max-width: 170px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s var(--tp-ease);
}
.tp-card:hover .tp-card__logo {
  transform: scale(1.04);
}

/* Content */
.tp-card__content {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tp-card__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: var(--tp-text);
  line-height: 1.35;
  margin: 0 0 12px;
}
.tp-card__desc {
  color: var(--tp-text-2);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* Website link button */
.tp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--tp-primary-lt);
  color: var(--tp-primary-dk) !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.25s var(--tp-ease);
  align-self: flex-start;
  border: 1px solid rgba(107, 184, 190, 0.15);
}
.tp-card__link:hover {
  background: var(--tp-primary);
  color: #fff !important;
  border-color: var(--tp-primary);
  transform: translateX(3px);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .tp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .tp-hero__inner { padding: 44px 0 40px; }
  .tp-hero h1 { font-size: 2.3rem !important; }
  .tp-hero__subtitle { font-size: 1.3rem !important; }
  .tp-featured { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .tp-hero__inner { padding: 36px 0 32px; }
  .tp-hero h1 { font-size: 1.8rem !important; }
  .tp-hero__subtitle { font-size: 1.1rem !important; }
  .tp-partners { padding: 36px 0 48px; }
  .tp-grid { grid-template-columns: 1fr; gap: 16px; }
  .tp-card__logo-area { padding: 20px; min-height: 100px; }
  .tp-card__content { padding: 18px 20px 20px; }
}

@media (max-width: 480px) {
  .tp-hero__inner { padding: 28px 0 24px; }
  .tp-hero h1 { font-size: 1.55rem !important; }
  .tp-hero__subtitle { font-size: 1rem !important; }
  .tp-card__logo { max-width: 140px; max-height: 65px; }
}


/* ============================================
   ACCESSIBILITY & PRINT
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .tp-hero { display: none !important; }
  .tp-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
}