/* ==========================================================================
   TYYARI JOBS - 7-Slide Mobile Digital Brochure CSS
   Mobile-First 100dvh Fixed Viewport & Slide 07 Explore More Blinking CTA
   Theme Colors: Deep Indigo #00193E | Vivid Orange #FF6A00 | Crisp White #FFFFFF
   ========================================================================== */

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

:root {
  --indigo-theme: #00193E;
  --indigo-dark: #000F29;
  --indigo-light: #0D2C5E;
  --orange: #FF6A00;
  --orange-hover: #e05d00;
  --orange-light: #FFF5EE;
  --bg-slate: #00193E;
  --white: #FFFFFF;
  --text-dark: #00193E;
  --text-muted: #64748B;
  --border-color: rgba(255, 255, 255, 0.18);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  background-color: var(--indigo-theme);
  font-family: 'Inter', sans-serif;
  color: var(--white);
  overflow: hidden;
  position: fixed;
  inset: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
}

/* Master Viewport Container */
.app-viewport {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  height: 100dvh;
  position: fixed;
  inset: 0;
  background: var(--indigo-theme);
  padding: 0;
  overflow: hidden;
}

/* Top Control Header Bar - Matched Indigo Glass */
.app-header {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: rgba(0, 25, 62, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mini-img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.brand-mini-badge {
  background: var(--orange);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.icon-btn:hover, .icon-btn:active {
  background: var(--orange);
  color: #fff;
  transform: scale(1.08);
}

/* Main Slide Display Frame */
.phone-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: var(--indigo-theme);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Slide Deck Wrapper */
.slide-deck {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  background-color: var(--indigo-theme);
}

/* Single Slide Canvas Container */
.slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  background-color: var(--indigo-theme);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 55px 0 60px; /* Leave space for header and nav controls */
}

/* Full Uncropped Slide Image Frame */
.slide-image-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--indigo-theme);
}

.slide-image-frame img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  display: block;
}

/* Slide Badge at Bottom Right */
.slide-num-badge {
  position: absolute;
  bottom: 65px;
  right: 12px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: 'Montserrat', sans-serif;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   Slide 07 Responsive Mobile Native Layout & Ambient Visual Effects
   ========================================================================== */
.slide[data-slide="7"],
.slide-explore-bg {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #00193E !important;
  position: relative !important;
  overflow: hidden !important;
}

.slide[data-slide="7"] .slide-image-frame,
.slide-explore-content {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px 16px !important;
  text-align: center !important;
  z-index: 5 !important;
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box !important;
}

/* Ambient Glowing Background Orbs */
.explore-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.orb-indigo {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, #00193E 0%, rgba(0, 25, 62, 0) 70%);
  top: -30px;
  left: -30px;
  animation: orbFloat 8s infinite ease-in-out alternate;
}

.orb-orange {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #FF6A00 0%, rgba(255, 106, 0, 0) 70%);
  bottom: -40px;
  right: -40px;
  animation: orbFloat 10s infinite ease-in-out alternate-reverse;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 15px) scale(1.08); }
  100% { transform: translate(-15px, 25px) scale(0.95); }
}

/* Modern Geometric Tech Grid Backdrop */
.explore-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 25, 62, 0.08) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 2;
}

/* Frosted Glass Content Card Container - Responsive Mobile Flow */
.explore-glass-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 25, 62, 0.12);
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 92%;
  max-width: 350px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 25, 62, 0.08), 0 4px 12px rgba(255, 106, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Elegantly Sized Responsive Logo */
.explore-logo {
  width: 72%;
  max-width: 210px;
  height: auto;
  object-fit: contain !important;
  margin-bottom: 2px;
  filter: drop-shadow(0 2px 6px rgba(0, 25, 62, 0.06));
}

.explore-text-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.explore-headline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #00193E;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  letter-spacing: -0.2px;
}

.explore-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748B;
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

/* Blinking / Pulsing CTA Button in Flow */
.explore-blink-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF6A00 0%, #FF8C2A 100%);
  color: #FFFFFF !important;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  padding: 14px 32px;
  border-radius: 9999px;
  box-shadow: 0 6px 22px rgba(255, 106, 0, 0.45);
  animation: exploreBlink 1.4s infinite ease-in-out;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.explore-blink-btn:hover, .explore-blink-btn:active {
  background: linear-gradient(135deg, #e05d00 0%, #FF6A00 100%);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 106, 0, 0.65);
}

.explore-blink-btn:hover .btn-arrow {
  transform: translateX(4px);
}

@keyframes exploreBlink {
  0% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.6);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.035);
    box-shadow: 0 0 0 14px rgba(255, 106, 0, 0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
  }
}

/* Bottom Nav Bar - Matched Indigo Glass */
.app-nav {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 440px;
  height: 44px;
  background: rgba(0, 25, 62, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 100;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.nav-btn {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Montserrat', sans-serif;
}

.nav-btn:hover:not(:disabled), .nav-btn:active:not(:disabled) {
  background: var(--orange);
  color: #fff;
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slide-counter {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.slide-counter span {
  color: var(--orange);
}

/* Drawer Component */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 41, 0.88);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  background: var(--indigo-dark);
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px;
  overflow-y: auto;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: #fff;
}

.drawer-overlay.active .drawer-content {
  transform: translateX(-50%) translateY(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.drawer-title {
  font-size: 0.95rem;
  font-weight: 800;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.thumb-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.thumb-card:hover, .thumb-card.active {
  background: rgba(255, 106, 0, 0.2);
  border-color: var(--orange);
}

.thumb-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
}

.thumb-name {
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* Desktop Frame Viewport Alignment (Screen > 768px) */
@media (min-width: 769px) {
  .phone-container {
    max-width: 420px;
    height: calc(100vh - 100px);
    max-height: 740px;
    border-radius: var(--radius-lg);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 50px rgba(0, 25, 62, 0.7), 0 20px 50px rgba(0, 0, 0, 0.8);
  }

  .slide {
    padding: 0;
  }

  .slide-num-badge {
    bottom: 12px;
  }

  .app-header, .app-nav {
    max-width: 420px;
  }
}
