/* ==========================================================================
   Technologent IT Multinational Company Ltd.
   Executive Landscape Design System (100% Device Friendly & Zero-Overlap)
   Theme: Executive Dark Blue & Sky Blue with Crimson Logo Accents
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-darkest: #050a17;
  --bg-deep: #070e22;
  --bg-surface: #0c1633;
  --bg-surface-elevated: rgba(13, 23, 52, 0.78);
  --bg-card: rgba(13, 23, 52, 0.68);
  
  /* Sky Blue & Cyan Accents */
  --sky-blue: #38bdf8;
  --sky-blue-hover: #7dd3fc;
  --sky-blue-glow: rgba(56, 189, 248, 0.35);
  --cyan-bright: #22d3ee;
  --blue-primary: #0284c7;

  /* Logo Matching Supporting Accents */
  --logo-red: #ff334b;
  --logo-red-glow: rgba(255, 51, 75, 0.3);
  --emerald-live: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.4);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #8494b2;
  --text-accent: #38bdf8;

  /* Borders & Glassmorphism */
  --border-subtle: rgba(56, 189, 248, 0.18);
  --border-bright: rgba(56, 189, 248, 0.5);
  --glass-blur: blur(20px);
  --glass-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Screen reader utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Background Particle Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Ambient Luxury Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.glow-top {
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(2, 132, 199, 0.1) 65%, transparent 100%);
}

.glow-bottom-left {
  bottom: 0%;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, rgba(12, 22, 51, 0.05) 70%, transparent 100%);
}

.glow-bottom-right {
  bottom: 0%;
  right: -100px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 51, 75, 0.08) 0%, rgba(56, 189, 248, 0.12) 60%, transparent 100%);
}

/* ==========================================================================
   Main Landscape Wrapper (Zero-Scroll on Desktop, Fully Adaptive)
   ========================================================================== */
.portal-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 1.15rem 2rem 0.65rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  box-sizing: border-box;
  min-height: 100vh;
}

/* Desktop 1920x1080 Zero-Scroll Condition */
@media (min-width: 1025px) and (min-height: 700px) {
  html, body {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
  }
  .portal-wrapper {
    height: 100vh;
    max-height: 1080px;
  }
}

/* ==========================================================================
   Top Centered Brand Header (Clean Fitted New Logo)
   ========================================================================== */
.portal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.logo-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.logo-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 380px;
  width: 100%;
  padding: 0.75rem 1.75rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.45),
    0 0 25px rgba(56, 189, 248, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(56, 189, 248, 0.4);
  transition: var(--transition-bounce);
  overflow: hidden;
}

.logo-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 15px 38px rgba(0, 0, 0, 0.55),
    0 0 35px rgba(56, 189, 248, 0.4);
  border-color: var(--sky-blue);
}

.company-logo {
  max-width: 340px;
  width: 100%;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.logo-ambient-shine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 125%;
  height: 125%;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================================================
   Landscape Main Grid (Balanced Two Wings)
   ========================================================================== */
.landscape-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.25rem;
  align-items: center;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* Left Wing: Portal Status & 67% Progress */
.portal-status-wing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.25rem 0.75rem;
}

.construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.85rem;
  background: rgba(255, 51, 75, 0.12);
  border: 1px solid rgba(255, 51, 75, 0.35);
  border-radius: 9999px;
  color: #ff6b7e;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: fit-content;
}

.construction-badge i {
  color: var(--logo-red);
  font-size: 0.82rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, var(--sky-blue) 60%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 550px;
}

/* System Deployment Status Module (67%) */
.progress-module {
  width: 100%;
  max-width: 560px;
  margin-top: 0.25rem;
  padding: 1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.55rem;
}

.progress-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.progress-label i {
  color: var(--sky-blue);
}

.progress-percentage {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--sky-blue);
  text-shadow: 0 0 10px var(--sky-blue-glow);
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #0284c7, var(--sky-blue), var(--cyan-bright));
  border-radius: 9999px;
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.6);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: shineProgress 2.2s infinite;
}

@keyframes shineProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.milestones-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.milestone-item {
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.milestone-item.active {
  color: var(--emerald-live);
}

.milestone-item.in-progress {
  color: var(--sky-blue);
}

.milestone-item.upcoming {
  color: var(--text-muted);
}

/* ==========================================================================
   Right Wing: Executive Leadership (Refined Portrait Frames)
   ========================================================================== */
.leadership-wing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.leadership-header-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  margin-bottom: 0.2rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tag-bar {
  width: 22px;
  height: 2px;
  background: var(--sky-blue);
  opacity: 0.75;
}

.tag-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--sky-blue);
  text-transform: uppercase;
}

.section-headline {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Executives Grid */
.executives-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  width: 100%;
}

/* Executive Card (Optimized Compact Luxury) */
.executive-card {
  position: relative;
  background: linear-gradient(160deg, rgba(14, 25, 58, 0.85) 0%, rgba(8, 15, 38, 0.92) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-top: 1.5px solid rgba(56, 189, 248, 0.55);
  border-radius: 18px;
  padding: 1.15rem 0.95rem 1rem 0.95rem;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-bounce);
  overflow: visible;
}

.executive-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65), 0 0 25px rgba(56, 189, 248, 0.25);
}

.card-glow-bg {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: var(--transition-smooth);
}

.executive-card:hover .card-glow-bg {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
}

/* Portrait Square / Vertical Frame */
.portrait-wrapper {
  position: relative;
  margin-bottom: 0.85rem;
  z-index: 1;
}

.portrait-frame {
  position: relative;
  width: 125px;
  height: 145px;
  border-radius: 14px;
  overflow: visible;
  background: #ffffff;
  border: 2px solid rgba(56, 189, 248, 0.38);
  box-shadow: 
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(56, 189, 248, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  transition: var(--transition-smooth);
}

.executive-card:hover .portrait-frame {
  border-color: var(--sky-blue);
  box-shadow: 
    0 14px 28px rgba(0, 0, 0, 0.55),
    0 0 24px rgba(56, 189, 248, 0.32);
}

.executive-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}

.executive-card:hover .executive-photo {
  transform: scale(1.04);
}

/* Role Badges */
.role-badge {
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.chairman-badge {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
}

.md-badge {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
}

/* Executive Text Details */
.executive-details {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
}

.executive-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.01em;
  margin-top: 0.15rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.executive-designation {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--sky-blue);
  letter-spacing: 0.02em;
}

.executive-bio {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-top: 0.2rem;
  max-width: 260px;
}

.executive-meta-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  flex-wrap: wrap;
  justify-content: center;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.28rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.meta-chip.action-link:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(56, 189, 248, 0.35));
  color: #ffffff;
  border-color: var(--sky-blue);
  transform: translateY(-1px);
}

.meta-chip.verified {
  color: var(--emerald-live);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

/* ==========================================================================
   Minimal Clean Bottom Strip (Copyright & Attractive IT Credit)
   ========================================================================== */
.minimal-bottom-bar {
  margin-top: auto;
  padding: 0.55rem 0 0.25rem 0;
  border-top: 1px solid rgba(56, 189, 248, 0.12);
  width: 100%;
  flex-shrink: 0;
}

.bottom-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: 100%;
}

.copyright-side {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.copyright-side strong {
  color: var(--text-secondary);
}

.credit-side {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.credit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sky-blue);
  text-decoration: none;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.credit-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, var(--sky-blue));
  border-color: var(--sky-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.credit-link i {
  font-size: 0.68rem;
}

/* ==========================================================================
   Comprehensive Device Responsiveness
   ========================================================================== */

/* Tablets & Small Landscape (max-width: 1024px) or Small Height (max-height: 699px) */
@media (max-width: 1024px) or (max-height: 699px) {
  html, body {
    height: auto !important;
    overflow-y: auto !important;
  }
  
  .portal-wrapper {
    height: auto !important;
    padding: 1.5rem 1.25rem 1rem 1.25rem;
    gap: 1.75rem;
  }

  .landscape-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portal-status-wing {
    text-align: center;
    align-items: center;
  }

  .desktop-br {
    display: none;
  }

  .construction-badge {
    margin: 0 auto;
  }

  .hero-description {
    max-width: 600px;
  }

  .progress-module {
    margin: 0 auto;
  }

  .leadership-header-mini {
    margin-bottom: 0.5rem;
  }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
  .portal-wrapper {
    padding: 1.25rem 1rem 1rem 1rem;
    gap: 1.5rem;
  }

  .logo-card {
    padding: 0.65rem 1.25rem;
    max-width: 300px;
  }

  .company-logo {
    max-width: 260px;
    max-height: 60px;
  }

  .hero-headline {
    font-size: 1.5rem;
  }

  .executives-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 440px;
    margin: 0 auto;
  }

  .portrait-frame {
    width: 130px;
    height: 150px;
  }

  .bottom-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
