/* ==========================================================================
   Universal Computers - Official Mother Website Stylesheet
   universalcomputers.com.bd
   ========================================================================== */

:root {
  --primary: #0056b3;
  --primary-dark: #003d80;
  --primary-light: #e6f0fa;
  --secondary: #00875a;
  --secondary-dark: #006644;
  --accent: #ff6b35;
  --dark: #0a192f;
  --dark-light: #172a45;
  --text-main: #334155;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.28s ease-in-out;
}

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

body {
  font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Top Header Bar & Ticker
   ========================================================================== */
.top-notice-ticker {
  background: linear-gradient(90deg, #b91c1c, #991b1b);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 6px 0;
}
.top-notice-ticker .container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.ticker-badge {
  background: #ffffff;
  color: #b91c1c;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}
.ticker-content a {
  color: #fff;
  font-weight: 500;
}
.ticker-content a:hover {
  text-decoration: underline;
}

.top-bar {
  background: var(--dark);
  color: #cbd5e1;
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.top-bar a {
  color: #cbd5e1;
}
.top-bar a:hover {
  color: #38bdf8;
}
.top-badge-contractor {
  background: rgba(0, 135, 90, 0.25);
  border: 1px solid #00875a;
  color: #4ade80;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 15px;
}
.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-menu li {
  white-space: nowrap;
  position: relative;
}
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  padding: 8px 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-badge {
  background: #ef4444;
  color: white;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 2px;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}
.nav-dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px 0;
  margin: 0;
  list-style: none;
  z-index: 1050;
  display: none;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease;
}
.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.btn-nav-consult {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.btn-nav-consult:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #0a192f;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s;
}
.lang-switcher-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* ==========================================================================
   Hero Slideshow Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: var(--dark);
  overflow: hidden;
  min-height: 540px;
}
.hero-slides-wrapper {
  position: relative;
  width: 100%;
  height: 540px;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 25, 47, 0.94) 0%, rgba(10, 25, 47, 0.82) 50%, rgba(10, 25, 47, 0.45) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  max-width: 680px;
}
.hero-badge-pill {
  display: inline-block;
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-slide-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.22;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero-slide-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  width: 32px;
  background: var(--primary);
}

/* ==========================================================================
   Notice Board Section
   ========================================================================== */
.notice-board-section {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}
.section-tag {
  display: inline-block;
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.notice-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.notice-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.notice-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.notice-card.pinned {
  border-left: 5px solid #dc2626;
}
.notice-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.notice-category-badge {
  background: #f1f5f9;
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.notice-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.notice-summary {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex: 1;
}
.notice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}
.notice-attachment-tag {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-view-notice {
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   About & Credentials Section
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: #f8fafc;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.credentials-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.credential-item:last-child {
  margin-bottom: 0;
}
.credential-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.credential-info h4 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 4px;
}
.credential-info p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ==========================================================================
   Services Section (Dynamic Cards)
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: #ffffff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.05);
}
.service-card-icon {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex: 1;
}
.service-card-features {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}
.service-card-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card-features li i {
  color: var(--secondary);
  font-size: 0.8rem;
}
.service-card-btn {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--primary);
}

/* ==========================================================================
   Projects Section (Running, On-Hand, Presentation)
   ========================================================================== */
.projects-section {
  padding: 80px 0;
  background: #f8fafc;
}
.project-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.project-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.project-tab-btn:hover, .project-tab-btn.active {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}
.project-tab-btn .count-badge {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.project-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}
.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.project-card-img-wrap {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.project-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.status-running {
  background: #dcfce7;
  color: #15803d;
}
.status-on_hand {
  background: #e0f2fe;
  color: #0369a1;
}
.status-presentation {
  background: #fef3c7;
  color: #b45309;
}
.project-card-body {
  padding: 22px;
}
.project-category {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.project-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.project-client {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.progress-bar-wrap {
  background: #e2e8f0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-bar-fill {
  background: var(--secondary);
  height: 100%;
  border-radius: 4px;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Apps & SaaS Showcase Section
   ========================================================================== */
.apps-section {
  padding: 80px 0;
  background: #ffffff;
}
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}
.app-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.app-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #38bdf8;
  transform: translateY(-4px);
}
.app-header {
  display: flex;
  gap: 18px;
  margin-bottom: 20px;
  align-items: center;
}
.app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.app-title-area h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.app-type-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  background: var(--primary-light);
  color: var(--primary);
}
.app-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.app-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-stats .rating {
  color: #f59e0b;
  font-weight: 700;
}
.app-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex: 1;
}
.app-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  margin-top: auto;
}
.app-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.btn-app-download {
  background: var(--dark);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.btn-app-download:hover {
  background: var(--primary);
  color: #ffffff;
}
.btn-app-play {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.btn-app-play:hover {
  border-color: var(--dark);
}
.app-qr-box {
  width: 90px;
  height: 90px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 4px;
  text-align: center;
  transition: var(--transition);
}
.app-qr-box:hover {
  transform: scale(1.05);
  border-color: var(--primary);
}
.app-qr-box span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Ad Slots (Dynamic Banner Ads)
   ========================================================================== */
.ad-slot-wrapper {
  margin: 30px 0;
  text-align: center;
}
.ad-slot-wrapper .ad-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
.ad-slot-header_banner .ad-banner-inner {
  background: linear-gradient(90deg, #1e3a8a, #0369a1);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ad-badge {
  background: #fbbf24;
  color: #78350f;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.ad-slot-in_feed .ad-infeed-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ==========================================================================
   Blogs & Videos Section
   ========================================================================== */
.blog-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.blog-card-img-wrap {
  height: 180px;
}
.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
}
.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.blog-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

/* ==========================================================================
   Team Members Section
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.team-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  border: 4px solid var(--primary-light);
  object-fit: cover;
}
.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.team-designation {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}
.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.team-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}
.team-socials a:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp, Facebook, Pinterest, Back to Top)
   ========================================================================== */
.floating-social-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.btn-float {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.btn-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.btn-float-whatsapp {
  background: #25d366;
}
.btn-float-facebook {
  background: #1877f2;
}
.btn-float-pinterest {
  background: #e60023;
}
.btn-float-top {
  background: var(--dark);
  font-size: 1.1rem;
  display: none;
}
.btn-float .tooltip-text {
  visibility: hidden;
  position: absolute;
  right: 60px;
  background: rgba(10, 25, 47, 0.9);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.btn-float:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #061224;
  color: #94a3b8;
  padding: 70px 0 24px 0;
  border-top: 3px solid var(--primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--primary);
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}
.footer-cert-list {
  list-style: none;
  padding: 0;
}
.footer-cert-list li {
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-cert-list li i {
  color: #4ade80;
  margin-top: 3px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}

/* ==========================================================================
   QR Code Modal Dialog
   ========================================================================== */
.qr-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.qr-modal.show {
  display: flex;
}
.qr-modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.qr-close-btn {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
.qr-canvas-holder {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

/* ==========================================================================
   Responsive Utilities & Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 290px;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    overflow-y: auto;
    gap: 8px;
    z-index: 1001;
  }
  .nav-menu.open {
    left: 0;
  }
  .nav-menu li {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    padding: 10px 8px;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: 6px;
    margin: 4px 0 8px 12px;
    padding: 4px 0;
  }
  .dropdown-item {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-slide-title {
    font-size: 1.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-inner {
    justify-content: center;
  }
}
.service-gallery { position: relative; height: 100%; background: #eff6ff; }
.service-gallery-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.service-gallery-slide.active { opacity: 1; visibility: visible; }
.service-gallery-controls[hidden] { display: none; }
.service-gallery-prev, .service-gallery-next { position: absolute; top: 40%; z-index: 2; border: 0; border-radius: 50%; width: 32px; height: 32px; background: #0a192fbf; color: white; cursor: pointer; }
.service-gallery-prev { left: 10px; }
.service-gallery-next { right: 10px; }
.service-gallery-dots { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; max-width: 65%; flex-wrap: wrap; }
.service-gallery-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid white; border-radius: 50%; background: #0a192f80; cursor: pointer; }
.service-gallery-dots button[aria-pressed="true"] { background: white; }
@media (prefers-reduced-motion: reduce) { .service-gallery-slide { transition: none; } }
/* Mobile and embedded-app layout */
.container > *, [style*="display: grid"] > * { min-width: 0; }
img, video, canvas { max-width: 100%; }
.rich-text-content { overflow-wrap: anywhere; }
.rich-text-content img, .rich-text-content iframe { max-width: 100%; }
.rich-text-content table { display: block; max-width: 100%; overflow-x: auto; }
input, textarea, select { max-width: 100%; }
body.dialog-open { overflow: hidden; }
.community-wrap { max-width: 900px; margin: 40px auto; padding: 0 16px; }
.community-card { background: white; border: 1px solid #dbe3ef; border-radius: 12px; padding: 24px; margin: 18px 0; overflow-wrap: anywhere; }
.community-form label { display: block; margin: 16px 0 6px; font-weight: 600; }
.community-form input, .community-form select, .community-form textarea { width: 100%; padding: 12px; border: 1px solid #cbd5e1; border-radius: 6px; font: inherit; }
.community-form button { margin-top: 20px; }
.form-message { padding: 16px; background: #eff6ff; border-radius: 8px; margin: 16px 0; }
@media (max-width: 800px) {
  .notice-layout-grid, .blog-detail-grid, .contact-grid-wrapper, .service-detail-grid,
  .container [style*="grid-template-columns"] { grid-template-columns: minmax(0, 1fr) !important; gap: 20px !important; }
  .services-grid, .projects-grid, .apps-grid, .notice-board-grid, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-menu { top: var(--mobile-nav-top, 72px); width: min(320px, 100vw); height: calc(100dvh - var(--mobile-nav-top, 72px)); }
  .hero-slide-content { width: 100%; padding: 35px 8px; }
  .hero-slide-title { font-size: clamp(1.5rem, 6vw, 2.2rem); overflow-wrap: anywhere; }
  .hero-slide-subtitle { font-size: 1rem; }
  .hero-slide-btns, .app-actions-wrap, .top-bar-inner { flex-wrap: wrap; }
  .top-bar-inner { gap: 8px; }
  .top-bar-inner > * { max-width: 100%; overflow-wrap: anywhere; }
  .container h1 { font-size: clamp(1.5rem, 6vw, 2rem) !important; overflow-wrap: anywhere; }
  .container [style*="padding: 35px"] { padding: 18px !important; }
  .container form[style*="display: flex"] { flex-wrap: wrap; }
  .container form[style*="display: flex"] input { min-width: 0; flex: 1 1 160px; }
  button, .btn-nav-consult, .nav-link, .dropdown-item { min-height: 44px; }
  input, textarea, select { font-size: 16px !important; }
  .service-gallery-prev, .service-gallery-next { width: 44px; height: 44px; }
  .service-gallery-dots button { min-height: 20px; width: 20px; }
  .notice-image-preview { position: fixed; inset: 0; width: 100vw !important; max-width: 100vw !important; height: 100dvh; max-height: 100dvh !important; margin: 0 !important; border-radius: 0 !important; padding: 12px !important; padding-top: max(12px, env(safe-area-inset-top)) !important; padding-bottom: max(12px, env(safe-area-inset-bottom)) !important; }
  .notice-image-preview > img { max-height: calc(100dvh - 95px); }
}
@media (max-width: 480px) {
  .brand-logo img { max-width: 135px; height: auto !important; }
  .nav-actions { gap: 8px; }
  .nav-actions > .btn-nav-consult { padding: 8px; font-size: .75rem; }
  .notice-image-thumbnail { flex-basis: 76px !important; width: 76px !important; }
  .hero-slide-btns a { width: 100%; justify-content: center; }
}
@media (max-width: 1080px) {
  .top-bar-inner, .top-bar-left, .top-bar-right { flex-wrap: wrap; white-space: normal; min-width: 0; justify-content: center; }
  .top-bar-left > *, .top-bar-right > * { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
  .top-bar-right { text-align: center; }
}
@media (max-width: 600px) {
  .navbar-container { gap: 6px; }
  .top-notice-ticker .container { flex-wrap: wrap; gap: 6px; }
  .ticker-content { min-width: 100px; }
  .top-notice-ticker .container > span:last-child { width: 100%; text-align: center; }
  .top-bar-left, .top-bar-right { gap: 8px; }
}
@media (max-width: 360px) { .brand-logo img { max-width: 110px; } }
@media (max-width: 800px) {
  .community-form button, .container .btn-nav-consult, .community-wrap .btn-nav-consult { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
/* Compact directory cards; full details live on the individual profile. */
.team-card-compact { display: flex; flex-direction: column; align-items: center; }
.team-card-compact .team-name a { color: inherit; }
.team-card-compact .team-designation { max-width: 100%; overflow-wrap: anywhere; }
.team-card-specializations { width: 100%; margin: 6px 0 18px; color: var(--text-muted); font-size: .88rem; }
.team-card-specializations strong { display: block; color: var(--dark); margin-bottom: 6px; font-size: .78rem; }
.team-card-specializations p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; margin: 0; }
.team-profile-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--primary); font-weight: 700; margin-top: auto; }
.profile-breadcrumb { margin-bottom: 20px; font-size: .9rem; }
.profile-hero { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 28px; padding: 30px; border-radius: 14px; background: #eff6ff; border: 1px solid #dbeafe; margin-bottom: 24px; }
.profile-photo { width: 180px; height: 180px; object-fit: cover; border: 5px solid white; border-radius: 50%; }
.profile-hero h1 { font-size: 2rem; line-height: 1.3; margin: 8px 0; overflow-wrap: anywhere; }
.profile-designation { color: var(--primary); font-weight: 600; }
.profile-contact { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.profile-contact a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; overflow-wrap: anywhere; max-width: 100%; }
.profile-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.profile-section { border: 1px solid #dbe3ef; border-radius: 12px; padding: 24px; margin-bottom: 20px; background: white; min-width: 0; }
.profile-details-grid .profile-section { margin-bottom: 0; }
.profile-section h2 { font-size: 1.15rem; margin-bottom: 14px; color: var(--dark); }
.profile-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.85; color: #475569; }
@media (max-width: 800px) {
  .profile-hero, .profile-details-grid { grid-template-columns: minmax(0, 1fr); }
  .profile-hero { padding: 20px; gap: 16px; }
  .profile-photo { width: 140px; height: 140px; }
  .profile-section { padding: 18px; }
}
.account-wrap { max-width: 900px; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 16px 0; }
.account-actions .btn-nav-consult { white-space: normal; }
.account-wrap .community-card h2 { margin: 18px 0 10px; font-size: 1.2rem; }
.account-wrap .community-form input[type="checkbox"] { width: auto; }
.account-wrap summary { min-height: 44px; cursor: pointer; font-weight: 600; }
@media (max-width: 600px) { .account-wrap { margin: 24px auto; } .account-wrap .community-card { padding: 18px; } }
.account-wrap h1, .account-wrap h2, .account-wrap p, .account-wrap label, .account-wrap a { overflow-wrap: anywhere; }
.project-portal h3 { margin: 16px 0 10px; font-size: 1.05rem; }
.project-portal .project-item { border-top: 1px solid #dbe3ef; margin-top: 20px; padding-top: 16px; overflow-wrap: anywhere; }
.project-portal section { scroll-margin-top: 90px; }
.project-portal input[type="checkbox"] { width: auto; }
.project-portal nav a { min-height: 44px; display: inline-flex; align-items: center; }
.top-bar-inner, .top-bar-left, .top-bar-right { flex-wrap: wrap; white-space: normal; }
/* The employee ERP has its own operational layout. */
.corporate-app { background: #f3f6fa; min-height: 100vh; }
.corporate-header { background: white; border-bottom: 1px solid #dbe3ef; }
.corporate-header-inner { max-width: 1140px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; }
.corporate-header .brand-logo img { width: 150px; height: auto; }
.corporate-identity { display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; min-width: 0; }
.corporate-identity span { font-size: .8rem; color: #64748b; }
.corporate-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; background: #0a192f; color: white; padding: 8px max(16px, calc((100vw - 1100px)/2)); }
.corporate-nav a, .corporate-nav button { display: inline-flex; align-items: center; min-height: 44px; color: white; background: transparent; font: inherit; font-size: .9rem; border: 0; cursor: pointer; }
.corporate-nav form { margin: 0; }
.corporate-footer { text-align: center; padding: 24px 16px; font-size: .8rem; color: #64748b; }
.corporate-app .project-item { border-top: 1px solid #e2e8f0; padding-top: 16px; margin-top: 16px; }
.top-bar a.lang-switcher-btn { color: #0a192f; background: white; }
@media(max-width:600px) { .corporate-header-inner { flex-wrap: wrap; padding: 14px 16px; gap: 12px; } .corporate-identity { flex: 1 1 130px; } .corporate-nav { gap: 2px 14px; } }
/* Compact public contact bar; client access belongs in the footer. */
.top-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 20px; align-items: center; }
.top-bar-left { grid-column: 1; grid-row: 1; min-width: 0; justify-content: flex-start; gap: 8px 16px; }
.top-bar-right { display: contents; }
.top-office-hours { grid-column: 1; grid-row: 2; min-width: 0; white-space: normal; overflow-wrap: anywhere; font-size: .76rem; line-height: 1.5; text-align: left; color: #cbd5e1; }
.top-bar-right > .lang-switcher-btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; }
.footer-client-portal { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 24px 0; margin-top: 16px; border-top: 1px solid #26364d; }
.footer-client-portal h4 { color: #fff; font-size: 1.1rem; margin: 0 0 6px; }
.footer-client-portal p { color: #a9b9ce; font-size: .9rem; margin: 0; }
.footer-client-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-client-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 10px 18px; border: 1px solid #49617e; border-radius: 6px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.footer-client-actions .footer-client-login { background: #fff; border-color: #fff; color: #0a192f; }
.footer-client-actions .footer-client-register { background: transparent; color: #fff; }
.footer-client-actions a:hover { background: #dbeafe; color: #0a192f; border-color: #dbeafe; }
.footer-client-actions a:focus-visible { outline: 3px solid #38bdf8; outline-offset: 4px; }
@media (max-width: 600px) {
  .top-bar-inner { gap: 8px 12px; }
  .top-bar-left { gap: 6px; justify-content: flex-start; font-size: .75rem; }
  .top-bar-right > .lang-switcher-btn { grid-row: 1; font-size: .75rem; padding: 5px 8px; }
  .top-office-hours { grid-column: 1 / -1; grid-row: 2; font-size: .7rem; }
  .footer-client-portal { align-items: flex-start; }
  .footer-client-actions { width: 100%; }
  .footer-client-actions a { flex: 1 1 160px; white-space: normal; }
}
/* Client authentication: focused desktop and mobile flow. */
.client-auth-ui { min-height:100svh; background:radial-gradient(ellipse at top left,#e7f0ff,transparent 55%),#f4f7fb; color:#14243b; }
.auth-brandbar { max-width:1140px; margin:auto; padding:24px 24px 18px; display:flex; justify-content:space-between; align-items:center; gap:16px; }
.auth-brandbar img { width:170px; height:auto; display:block; }
.auth-back { color:#526780; font-size:.9rem; min-height:44px; display:inline-flex; align-items:center; }
.auth-shell { max-width:1100px; margin:12px auto 24px; display:grid; grid-template-columns:.95fr 1.05fr; background:white; border:1px solid #dfe7f0; border-radius:24px; box-shadow:0 22px 65px #15315a12; overflow:hidden; }
.auth-story { padding:48px 40px; background:radial-gradient(circle at 10% 0,#2076c8,transparent 65%),linear-gradient(145deg,#0753a8,#0b2446); color:white; display:flex; flex-direction:column; }
.auth-kicker { font-size:.68rem; font-weight:700; letter-spacing:.12em; color:#bddaff; line-height:1.7; }
.auth-story h1 { font-size:clamp(2rem,3vw,2.7rem); line-height:1.15; margin:30px 0 18px; color:white; }
.auth-story>p { color:#d7e6fb; line-height:1.8; font-size:.98rem; }
.auth-story ul { padding:0; margin:34px 0; list-style:none; display:flex; flex-direction:column; gap:24px; }
.auth-story li { display:flex; align-items:flex-start; gap:14px; }
.auth-story li>span { background:#ffffff14; border:1px solid #ffffff25; border-radius:10px; padding:9px; font-size:.74rem; color:#bad9ff; }
.auth-story strong { display:block; font-size:.96rem; margin:0 0 5px; }
.auth-story small { display:block; color:#bed3ee; font-size:.82rem; line-height:1.7; }
.auth-story-foot { margin-top:auto; padding-top:25px; border-top:1px solid #ffffff24; color:#bed3ee; font-size:.78rem; line-height:1.6; }
.auth-form-panel { padding:34px 42px 32px; min-width:0; }
.auth-tabs { display:flex; gap:4px; padding:4px; background:#f0f4f9; border-radius:10px; margin-bottom:30px; }
.auth-tabs a { flex:1; min-height:42px; display:flex; justify-content:center; align-items:center; padding:8px; font-size:.88rem; color:#60718a; border-radius:7px; }
.auth-tabs a[aria-current="page"] { background:white; color:#0959b3; box-shadow:0 2px 6px #18325312; font-weight:700; }
.auth-form-heading h2 { font-size:1.9rem; color:#122b49; margin:0 0 10px; letter-spacing:-.03em; }
.auth-form-heading p { color:#6b7d92; line-height:1.6; font-size:.92rem; margin:0 0 24px; }
.auth-mobile-kicker { display:none; }
.auth-field { margin-bottom:18px; }
.auth-field label { display:flex; align-items:center; gap:8px; font-weight:600; font-size:.87rem; color:#33475f; margin-bottom:8px; }
.auth-field input { width:100%; min-height:50px; padding:12px 14px; border:1px solid #d0dbe8; border-radius:9px; background:#fbfcfe; font-size:16px; color:#18314e; transition:border-color .2s,box-shadow .2s; }
.auth-field input::placeholder { color:#93a2b4; }
.auth-field input:focus { outline:none; border-color:#2877ce; box-shadow:0 0 0 4px #1b70cf13; background:white; }
.auth-password { position:relative; }
.auth-password input { padding-right:65px; }
.auth-password button { position:absolute; top:3px; right:4px; min-height:44px; padding:0 10px; font-size:.78rem; font-weight:700; border:0; color:#315e91; background:transparent; cursor:pointer; border-radius:6px; }
.auth-optional { font-size:.7rem; color:#8b98a9; font-weight:400; }
.auth-input-help,.auth-match,.auth-privacy,.auth-recovery { font-size:.78rem; line-height:1.6; color:#6b7d92; margin:-6px 0 18px; }
.auth-recovery { text-align:right; margin:4px 0 20px; }
.auth-match { min-height:18px; color:#b14343; }
.auth-match.is-match { color:#13805e; }
.auth-submit { width:100%; display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:52px; padding:12px 18px; border:0; border-radius:10px; background:#075bbd; color:white; font-size:.94rem; font-weight:700; cursor:pointer; box-shadow:0 5px 12px #075bbd20; }
.auth-submit:hover { background:#064d9f; }
.auth-submit:disabled { opacity:.7; cursor:wait; }
.auth-submit:focus-visible,.auth-tabs a:focus-visible,.auth-password button:focus-visible { outline:3px solid #74b5fc; outline-offset:3px; }
.auth-privacy { margin:15px 0 0; text-align:center; }
.auth-alternate { border-top:1px solid #e9eef5; padding-top:20px; margin:24px 0 0; text-align:center; color:#6b7d92; font-size:.84rem; line-height:1.7; }
.auth-form-panel a { font-weight:600; }
.auth-alert { padding:13px 15px; background:#fff1f1; border:1px solid #f3caca; border-radius:9px; color:#9d3434; line-height:1.6; font-size:.85rem; margin-bottom:20px; }
.auth-page-footer { max-width:1100px; margin:auto; padding:0 24px 28px; display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; color:#71829a; font-size:.75rem; }
.auth-page-footer a { color:#637b96; }
@media(max-width:760px) {
 .auth-brandbar { padding:16px 20px 8px; }
 .auth-brandbar img { width:150px; }
 .auth-shell { margin:8px 16px 20px; grid-template-columns:minmax(0,1fr); border-radius:18px; }
 .auth-story { display:none; }
 .auth-form-panel { padding:24px; }
 .auth-tabs { margin-bottom:26px; }
 .auth-mobile-kicker { display:block; font-size:.65rem; letter-spacing:.12em; color:#2870ba; font-weight:700; margin-bottom:10px; }
 .auth-form-heading h2 { font-size:1.75rem; }
 .auth-field { margin-bottom:18px; }
 .auth-page-footer { font-size:.7rem; padding-bottom:max(24px,env(safe-area-inset-bottom)); }
}
@media(max-width:360px) { .auth-form-panel { padding:22px 18px; } .auth-shell { margin-left:10px; margin-right:10px; } .auth-form-heading h2 { font-size:1.55rem; } .auth-recovery { text-align:left; } }
/* Workplace overview */
.workplace-main { max-width:1180px; margin:0 auto; padding:38px 24px 48px; }
.workplace-welcome { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:24px; }
.workplace-kicker { color:#6483a4; font-size:.63rem; letter-spacing:.12em; font-weight:700; display:block; margin-bottom:9px; }
.workplace-welcome h1 { margin:0 0 9px; font-size:2rem; line-height:1.2; letter-spacing:-.04em; color:#173554; overflow-wrap:anywhere; }
.workplace-welcome p { margin:0; font-size:.92rem; color:#74869c; line-height:1.6; }
.workplace-today { text-align:right; font-size:.83rem; white-space:nowrap; }
.workplace-today strong,.workplace-today span { display:block; }
.workplace-today span { color:#8293a7; margin-top:6px; font-size:.72rem; }
.workplace-shortcuts { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:28px; }
.workplace-shortcuts a { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:10px 16px; border:1px solid #dbe4ee; border-radius:8px; background:white; color:#496381; font-size:.82rem; font-weight:600; }
.workplace-shortcuts .workplace-primary { background:#075bbd; border-color:#075bbd; color:white; }
.workplace-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:28px; }
.workplace-stats article { display:flex; flex-direction:column; padding:22px; background:white; border:1px solid #e1e8f1; border-radius:12px; }
.workplace-stats span { color:#697f98; font-size:.8rem; }
.workplace-stats strong { font-size:2.1rem; font-weight:700; letter-spacing:-.05em; color:#163958; margin:9px 0 5px; }
.workplace-stats small { color:#96a4b5; font-size:.7rem; }
.workplace-columns { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); gap:24px; align-items:start; }
.workplace-panel { background:white; border:1px solid #e1e8f1; border-radius:14px; padding:24px; min-width:0; }
.workplace-panel>header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:24px; }
.workplace-panel h2 { font-size:1.12rem; color:#24405e; margin:0; }
.workplace-count { background:#f1f6fb; color:#7890a9; font-size:.7rem; padding:5px 8px; border-radius:6px; white-space:nowrap; }
.workplace-work-row { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid #edf1f6; padding:20px 0; }
.workplace-work-row:last-child { padding-bottom:0; }
.workplace-work-row>div:first-child { min-width:0; }
.workplace-work-row h3 { margin:8px 0 6px; font-size:.92rem; line-height:1.5; overflow-wrap:anywhere; }
.workplace-work-row h3 a { color:#23425f; }
.workplace-work-row p { font-size:.73rem; color:#8a9bb0; margin:0; }
.workplace-priority { color:#6e89a4; font-size:.6rem; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.priority-high,.priority-urgent { color:#c06b38; }
.workplace-work-progress { min-width:100px; max-width:130px; text-align:right; }
.workplace-work-progress span { font-size:.67rem; color:#5b7f9f; display:block; margin-bottom:7px; }
.workplace-work-progress progress { width:100%; height:6px; accent-color:#2675c6; }
.workplace-work-progress small { color:#90a2b7; font-size:.65rem; }
.workplace-empty { text-align:center; padding:36px 20px 50px; }
.workplace-empty>span { display:inline-flex; width:52px; height:52px; border-radius:50%; background:#eef7f3; color:#5b9f82; align-items:center; justify-content:center; font-size:1.3rem; }
.workplace-empty h3 { color:#526b86; font-size:1rem; margin:18px 0 8px; }
.workplace-empty p,.workplace-muted { color:#91a0b2; font-size:.82rem; line-height:1.7; }
.workplace-side { display:flex; flex-direction:column; gap:20px; }
.workplace-meeting { display:flex; gap:14px; align-items:center; border-top:1px solid #edf1f6; padding:16px 0; }
.workplace-meeting>span { background:#f0f5fc; border-radius:9px; padding:9px 12px; color:#4679af; font-size:1.15rem; text-align:center; }
.workplace-meeting small { display:block; font-size:.6rem; text-transform:uppercase; margin-top:3px; }
.workplace-meeting h3 { font-size:.85rem; margin:0 0 6px; line-height:1.4; overflow-wrap:anywhere; }
.workplace-meeting h3 a { color:#3d5876; }
.workplace-meeting p { color:#91a0b2; font-size:.72rem; margin:0; }
.workplace-panel-link { display:block; margin-top:20px; font-size:.77rem; font-weight:600; }
.workplace-access { background:#f8fbff; }
.workplace-access p { color:#8398b0; font-size:.81rem; line-height:1.7; }
.workplace-access a { display:block; padding:10px 0; font-size:.78rem; color:#446c96; font-weight:600; }
.corporate-nav a { border-bottom:2px solid transparent; }
.corporate-nav a:hover { border-color:#5ca4e9; }
@media(max-width:900px) { .workplace-columns { grid-template-columns:minmax(0,1fr); } .workplace-stats { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .workplace-main { padding:24px 16px; } .workplace-welcome { align-items:flex-start; flex-direction:column; gap:12px; } .workplace-welcome h1 { font-size:1.7rem; } .workplace-today { text-align:left; font-size:.74rem; } .workplace-today span { display:none; } .workplace-stats { gap:12px; } .workplace-stats article { padding:16px; } .workplace-stats strong { font-size:1.75rem; } .workplace-stats span { font-size:.73rem; } .workplace-stats small { line-height:1.5; } .workplace-panel { padding:20px; } .workplace-work-row { align-items:flex-start; gap:12px; } .workplace-work-progress { min-width:80px; max-width:90px; } .workplace-shortcuts a { font-size:.75rem; padding:10px 12px; } }

/* Keep contact details readable without competing with the language switch. */
@media (max-width: 600px) {
  .top-bar-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 4px 0;
  }
  .top-bar-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    line-height: 1.45;
    text-align: left;
  }
  .top-bar-left a {
    overflow-wrap: anywhere;
  }
  .top-office-hours {
    grid-column: 1 / -1;
    text-align: left;
    font-size: .75rem;
  }
  .top-bar-right > .lang-switcher-btn {
    align-self: start;
    white-space: nowrap;
  }
}

.public-account-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px;
  padding: 4px 12px;
  background: #edf4ff;
  border-bottom: 1px solid #d7e4f4;
}
.public-account-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: #075bbd;
  font-size: .875rem;
  font-weight: 600;
}
@media (min-width: 1081px) {
  .site-header .nav-menu { gap: clamp(4px, 1vw, 14px); }
}
