/* ============================================================
   OTHER.HTML - PROFESSIONAL SHOWCASE & LABS STYLING
   Mawantha Deeganu Portfolio - Creative Works & Experimental Labs
   ============================================================ */

:root {
  --other-bg: #030712;
  --other-card-bg: linear-gradient(145deg, rgba(13, 21, 38, 0.85) 0%, rgba(8, 12, 22, 0.95) 100%);
  --other-card-border: rgba(0, 229, 255, 0.16);
  --other-card-border-hover: rgba(0, 229, 255, 0.6);
  --other-cyan: #00e5ff;
  --other-blue: #0070f3;
  --other-purple: #7928ca;
  --other-pink: #f81ce5;
  --other-text-primary: #f8fafc;
  --other-text-secondary: #94a3b8;
  --other-text-muted: #64748b;
  --other-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body.other-page-body {
  background-color: var(--other-bg) !important;
  color: var(--other-text-primary);
  font-family: var(--other-font);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Ambient Glows */
.other-ambient-glow-1 {
  position: fixed;
  top: -120px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 112, 243, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.other-ambient-glow-2 {
  position: fixed;
  top: 40%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.12) 0%, rgba(248, 28, 229, 0.04) 50%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ------------------------------------------------------------
   1. Site Navigation Header
   ------------------------------------------------------------ */
.other-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.12);
  transition: all 0.3s ease;
}

.other-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.other-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.other-brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
  transition: transform 0.3s ease;
}

.other-brand-logo:hover img {
  transform: scale(1.05);
}

.other-brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.other-brand-text span {
  color: var(--other-cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.other-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.other-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.other-nav-link i {
  font-size: 0.95rem;
  transition: transform 0.2s ease;
}

.other-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.2);
}

.other-nav-link:hover i {
  transform: translateY(-1px);
  color: var(--other-cyan);
}

.other-nav-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 112, 243, 0.15));
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.other-nav-link.active i {
  color: var(--other-cyan);
}

.other-nav-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.other-nav-back-home:hover {
  background: rgba(0, 229, 255, 0.18);
  color: #ffffff;
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.35);
  transform: translateX(-2px);
}

/* ------------------------------------------------------------
   2. Hero Section
   ------------------------------------------------------------ */
.other-hero-section {
  position: relative;
  z-index: 2;
  padding: 70px 0 45px;
  text-align: center;
}

.other-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--other-cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.28);
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
  margin-bottom: 22px;
}

.other-hero-badge i {
  font-size: 0.85rem;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

.other-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 16px;
}

.other-hero-title .gradient-text {
  background: linear-gradient(135deg, #00e5ff 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 24px rgba(0, 229, 255, 0.3);
}

.other-hero-subtitle {
  font-size: 1.05rem;
  color: var(--other-text-secondary);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Breadcrumb bar */
.other-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 30px;
}

.other-breadcrumbs a {
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.other-breadcrumbs a:hover {
  color: var(--other-cyan);
}

.other-breadcrumbs .sep {
  color: #475569;
}

.other-breadcrumbs .current {
  color: #f1f5f9;
  font-weight: 600;
}

/* Lab stats strip */
.other-stats-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 10px;
}

.other-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(13, 21, 38, 0.6);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 12px;
  font-size: 0.86rem;
}

.other-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.1);
  color: var(--other-cyan);
  font-size: 0.85rem;
}

.other-stat-text strong {
  color: #ffffff;
  font-weight: 700;
}

.other-stat-text span {
  color: #94a3b8;
  margin-left: 4px;
}

/* ------------------------------------------------------------
   3. Works Grid & Cards
   ------------------------------------------------------------ */
.other-section {
  position: relative;
  z-index: 2;
  padding: 20px 0 90px;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 991px) {
  .other-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 680px) {
  .other-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.other-card {
  position: relative;
  background: var(--other-card-bg);
  border: 1px solid var(--other-card-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.other-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.4), transparent 50%, rgba(121, 40, 202, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.other-card:hover {
  transform: translateY(-8px);
  border-color: var(--other-card-border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 229, 255, 0.22);
}

.other-card:hover::before {
  opacity: 1;
}

/* Card Thumbnail */
.other-card-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 60%;
  background: #090e1a;
  overflow: hidden;
}

.other-card-thumb-wrap a {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.other-card-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.92) contrast(1.04);
}

.other-card:hover .other-card-thumb-wrap img {
  transform: scale(1.07);
  filter: brightness(1) contrast(1.08);
}

/* Category Badge pinned to thumbnail */
.other-card-category-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--other-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.other-card-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Quick launch icon button floating on image */
.other-card-quick-launch {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.other-card:hover .other-card-quick-launch {
  background: var(--other-cyan);
  color: #030712;
  border-color: var(--other-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.6);
  transform: rotate(45deg);
}

/* Card Content Area */
.other-card-content {
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.other-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--other-text-muted);
}

.other-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.other-card-title {
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.other-card-title a {
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.other-card-title a i {
  font-size: 1.1rem;
  color: var(--other-cyan);
  transition: transform 0.25s ease;
}

.other-card:hover .other-card-title a {
  color: var(--other-cyan);
}

.other-card:hover .other-card-title a i {
  transform: translate(2px, -2px);
}

.other-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--other-text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

/* Tech tag pills */
.other-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.other-card-tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.other-card:hover .other-card-tag {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.2);
  color: #e2e8f0;
}

/* Primary Launch CTA Button */
.other-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 11px 18px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12) 0%, rgba(0, 112, 243, 0.12) 100%);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.other-card-cta i {
  font-size: 0.95rem;
  color: var(--other-cyan);
  transition: transform 0.25s ease;
}

.other-card-cta:hover {
  background: linear-gradient(135deg, #00e5ff 0%, #0070f3 100%);
  border-color: #00e5ff;
  color: #030712;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.other-card-cta:hover i {
  color: #030712;
  transform: translateX(3px);
}

/* ------------------------------------------------------------
   4. Interactive Banner Section
   ------------------------------------------------------------ */
.other-banner-wrap {
  margin-top: 50px;
  position: relative;
  border-radius: 20px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(13, 21, 38, 0.9) 0%, rgba(10, 15, 30, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.other-banner-info {
  max-width: 640px;
}

.other-banner-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.other-banner-desc {
  font-size: 0.92rem;
  color: var(--other-text-secondary);
  line-height: 1.55;
  margin: 0;
}

.other-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.other-banner-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00e5ff, #0070f3);
  color: #030712;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
  transition: all 0.25s ease;
}

.other-banner-btn-primary:hover {
  color: #000;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6);
  transform: translateY(-2px);
}

.other-banner-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.other-banner-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--other-cyan);
}

/* ------------------------------------------------------------
   5. Responsive adjustments for Tablet & Mobile Views
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .other-nav-container {
    padding: 12px 20px;
  }
  .other-hero-section {
    padding: 55px 0 35px;
  }
}

@media (max-width: 991px) {
  .other-nav-container {
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .other-nav-links {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    order: 3;
    width: 100%;
    padding: 4px 2px;
    gap: 6px;
  }
  .other-nav-links::-webkit-scrollbar {
    display: none;
  }
  .other-nav-link {
    padding: 7px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .other-nav-back-home {
    order: 2;
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .other-hero-title {
    font-size: 2.35rem;
  }
  .other-stats-strip {
    gap: 14px;
  }
  .other-banner-wrap {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .other-hero-section {
    padding: 40px 0 25px;
  }
  .other-hero-badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
  }
  .other-hero-title {
    font-size: 1.95rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .other-hero-subtitle {
    font-size: 0.95rem;
    padding: 0 8px;
    margin-bottom: 20px;
  }
  .other-breadcrumbs {
    font-size: 0.78rem;
    padding: 5px 14px;
    margin-bottom: 22px;
  }
  .other-stats-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 340px;
    margin: 12px auto 0;
  }
  .other-stat-item {
    justify-content: flex-start;
    padding: 8px 14px;
  }
  .other-card-content {
    padding: 20px 16px;
  }
  .other-card-title {
    font-size: 1.18rem;
  }
  .other-banner-wrap {
    padding: 24px 18px;
    text-align: center;
    justify-content: center;
  }
  .other-banner-title {
    font-size: 1.35rem;
  }
  .other-banner-actions {
    justify-content: center;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .other-banner-btn-primary,
  .other-banner-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .other-brand-text {
    font-size: 1rem;
  }
  .other-nav-back-home span {
    display: none;
  }
  .other-nav-back-home {
    padding: 6px 10px;
  }
  .other-hero-title {
    font-size: 1.7rem;
  }
  .other-card-meta {
    font-size: 0.74rem;
  }
  .other-card-desc {
    font-size: 0.84rem;
  }
}

